Changeset 2544695
- Timestamp:
- 06/09/2021 12:56:56 AM (5 years ago)
- Location:
- delyvax/trunk
- Files:
-
- 1 added
- 4 edited
-
changelog.txt (added)
-
delyvax.php (modified) (2 diffs)
-
functions.php (modified) (1 diff)
-
includes/delyvax-webhook.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
delyvax/trunk/delyvax.php
r2539713 r2544695 4 4 Plugin URI: https://delyva.com/solutions 5 5 description: The official DelyvaX plugin helps store owners to integrate WooCommerce with [DelyvaX](https://delyva.com/solutions) for seamless service comparison and order processing. 6 Version: 1.1. 86 Version: 1.1.9 7 7 Author: DelyvaX 8 8 Author URI: https://delyva.com/solutions … … 13 13 defined( 'ABSPATH' ) or die( 'No script kiddies please!' ); 14 14 define('DELYVAX_API_ENDPOINT', 'https://api.delyva.app/'); 15 define('DELYVAX_PLUGIN_VERSION', '1.1. 8');15 define('DELYVAX_PLUGIN_VERSION', '1.1.9'); 16 16 17 17 require_once plugin_dir_path(__FILE__) . 'functions.php'; -
delyvax/trunk/functions.php
r2539396 r2544695 725 725 "inventory" => $inventories, 726 726 "contact" => array( 727 "name" => $order->get_shipping_first_name() .' '.$order->get_shipping_last_name(),727 "name" => $order->get_shipping_first_name() ? $order->get_shipping_first_name().' '.$order->get_shipping_last_name() : $order->get_billing_first_name().' '.$order->get_billing_last_name(), 728 728 "email" => $order->get_billing_email(), 729 729 "phone" => $order->get_billing_phone(), 730 730 "mobile" => $order->get_billing_phone(), 731 "address1" => $order->get_shipping_address_1() ,732 "address2" => $order->get_shipping_address_2() ,733 "city" => $order->get_shipping_city() ,734 "state" => $order->get_shipping_state() ,735 "postcode" => $order->get_shipping_postcode() ,736 "country" => $order->get_shipping_country() ,731 "address1" => $order->get_shipping_address_1() ? $order->get_shipping_address_1() : $order->get_billing_address_1(), 732 "address2" => $order->get_shipping_address_2() ? $order->get_shipping_address_2() : $order->get_billing_address_2(), 733 "city" => $order->get_shipping_city() ? $order->get_shipping_city() : $order->get_billing_city(), 734 "state" => $order->get_shipping_state() ? $order->get_shipping_state() : $order->get_billing_state(), 735 "postcode" => $order->get_shipping_postcode() ? $order->get_shipping_postcode() : $order->get_billing_postcode(), 736 "country" => $order->get_shipping_country() ? $order->get_shipping_country() : $order->get_billing_country(), 737 737 // "coord" => array( 738 738 // "lat" => "", -
delyvax/trunk/includes/delyvax-webhook.php
r2539713 r2544695 64 64 65 65 $valid_url = get_site_url()."/?delyvax=webhook"; 66 $needed_event = ['order .created', 'order.failed', 'order.updated', 'order_tracking.update'];66 $needed_event = ['order_tracking.update']; 67 67 68 68 try { … … 325 325 } 326 326 } 327 328 // TODO: Move up in next version. Leaving it here for backward compatibility with older version. 329 if ($_GET['delyvax'] === 'webhook') { 330 header('Content-Type: application/json'); 331 die(json_encode([ 332 'status' => 'AWE=' . $settings['api_webhook_enable'], 333 'version' => DELYVAX_PLUGIN_VERSION, 334 ], JSON_UNESCAPED_SLASHES)); 335 } 327 336 } 328 337 } -
delyvax/trunk/readme.txt
r2539713 r2544695 4 4 Requires at least: 5.4 5 5 Tested up to: 5.7 6 Stable tag: 1.1. 86 Stable tag: 1.1.9 7 7 Requires PHP: 7.2 8 8 License: GPLv3 … … 34 34 == Changelog == 35 35 36 = 1.1.8 - May 30 2021 = Important Update! Fix webhook failed to verify customerId. 37 = 1.1.7 - May 28 2021 = Bug fixes. Refactor webhook function. 38 = 1.1.6 - May 9 2021 = Adjustments for international delivery. Supports multi-vendor with Dokan and WCFM Marketplace. 39 = 1.1.5 - May 3 2021 = Allow push draft delivery orders. 40 = 1.1.4 - May 3 2021 = Added 'source' and updated description. 41 = 1.1.3 - April 30 2021 = Add custom shop contact name, mobile no and email. 42 = 1.1.2 - April 30 2021 = Bug-fixes. 43 = 1.1.1 - April 26 2021 = Added support for volumetric or actual weight consideration. 44 = 1.1.0 - April 19 2021 = Bug fixes, and improvements to comply with Wordpress standards. 45 = 1.0.0 - August 13 2020 = Initial Release. 36 = 1.1.9 = 37 *Release Date - 9 June 2021* 38 39 * Update to handle empty shipping address 40 * Change list of required webhook event and, update webhook response 41 * Moved older changelog entries to a separate file to keep the size of this readme reasonable 42 43 For older changelog entries, please see the [additional changelog.txt file](https://plugins.svn.wordpress.org/delyvax/trunk/changelog.txt) delivered with the plugin.
Note: See TracChangeset
for help on using the changeset viewer.