Changeset 3109277
- Timestamp:
- 06/28/2024 01:24:53 PM (21 months ago)
- Location:
- extendago-wp-connection/trunk
- Files:
-
- 3 edited
-
extendago-wp-connection.php (modified) (1 diff)
-
includes/api/class-extendago-web-api.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
extendago-wp-connection/trunk/extendago-wp-connection.php
r3107478 r3109277 4 4 Plugin URI: http://www.arture.nl/extendago 5 5 Description: The Wordpress plugin for connecting Woocommerce with Extenda GO / Wallmob. You can manage your products inside Extenda GO or make your webshop as leading foor product manangement. You Stock changes will be two-way binding. 6 Version: 1.5. 46 Version: 1.5.5 7 7 Author: Arture B.V. 8 8 Author URI: https://arture.nl/ -
extendago-wp-connection/trunk/includes/api/class-extendago-web-api.php
r3107478 r3109277 45 45 $Headers = array( 46 46 'Authorization: Bearer ' . $access_token, 47 'Wm-Api-Version: latest' 47 48 ); 48 49 } … … 50 51 $Headers = array( 51 52 'Authorization: Basic ' . base64_encode($this->extendago_api_username . ":" . $this->extendago_api_password), 53 'Wm-Api-Version: latest' 52 54 ); 53 55 } 54 55 //$Headers[] = 'Wm-Api-Version: 2';56 56 57 57 if ($AsMultipart) $Headers[] = 'Content-Type: multipart/form-data'; … … 259 259 while ($HasMore) { 260 260 $HasMore = false; 261 $Results = $this-> Request("/promotion_campaigns", "GET", array("limit" => $Limit, "offset" => $Offset, "filters" => json_encode(array(array('property' =>'date_to', 'comparator' => '>', 'value' => time())))));261 $Results = $this->CurlRequest("/promotion_campaigns", "GET", array("limit" => $Limit, "offset" => $Offset, "filters" => json_encode(array(array('property' =>'date_to', 'comparator' => '>', 'value' => time()))))); 262 262 foreach ($Results as $Result) { 263 263 if (isset($Result['id'])) { -
extendago-wp-connection/trunk/readme.txt
r3107478 r3109277 5 5 Requires at least: 6.0 6 6 Tested up to: 6.5.4 7 Stable tag: 1.5. 47 Stable tag: 1.5.5 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 31 31 == Changelog == 32 32 33 = 1.5.5 = 34 * Added API version to header 35 33 36 = 1.5.4 = 34 37 * Skip expired promotion_campaigns from processing
Note: See TracChangeset
for help on using the changeset viewer.