Plugin Directory

Changeset 3109277


Ignore:
Timestamp:
06/28/2024 01:24:53 PM (21 months ago)
Author:
extendago
Message:

Version 1.5.5

Location:
extendago-wp-connection/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extendago-wp-connection/trunk/extendago-wp-connection.php

    r3107478 r3109277  
    44Plugin URI:  http://www.arture.nl/extendago
    55Description: 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.4
     6Version:     1.5.5
    77Author:      Arture B.V.
    88Author URI:  https://arture.nl/
  • extendago-wp-connection/trunk/includes/api/class-extendago-web-api.php

    r3107478 r3109277  
    4545            $Headers = array(
    4646                'Authorization: Bearer ' . $access_token,
     47                'Wm-Api-Version: latest'
    4748            );
    4849        }
     
    5051            $Headers = array(
    5152                'Authorization: Basic ' . base64_encode($this->extendago_api_username . ":" . $this->extendago_api_password),
     53                'Wm-Api-Version: latest'
    5254            );
    5355        }
    54 
    55         //$Headers[] = 'Wm-Api-Version: 2';
    5656
    5757        if ($AsMultipart) $Headers[] = 'Content-Type: multipart/form-data';
     
    259259        while ($HasMore) {
    260260            $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())))));
    262262            foreach ($Results as $Result) {
    263263                if (isset($Result['id'])) {
  • extendago-wp-connection/trunk/readme.txt

    r3107478 r3109277  
    55Requires at least: 6.0
    66Tested up to: 6.5.4
    7 Stable tag: 1.5.4
     7Stable tag: 1.5.5
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    3131== Changelog ==
    3232
     33= 1.5.5 =
     34* Added API version to header
     35
    3336= 1.5.4 =
    3437* Skip expired promotion_campaigns from processing
Note: See TracChangeset for help on using the changeset viewer.