Plugin Directory

Changeset 3491140


Ignore:
Timestamp:
03/25/2026 06:02:43 PM (9 days ago)
Author:
fezdelivery
Message:

Added update

Location:
fez-delivery/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • fez-delivery/trunk/app/admin/fez-core.php

    r3338923 r3491140  
    293293            //check if response status is Success
    294294            if ($response_body->status == 'Success') {
    295                 //check if $response_body->Cost is an array
    296                 if (isset($response_body->Cost) && is_array($response_body->Cost)) {
    297                     //get the first item
    298                     $response_body->Cost = $response_body->Cost[0];
    299                 }
    300 
    301                 //check if isset locker cost
    302                 if (isset($response_body->cost)) {
    303                     //add locker cost to response body
    304                     $response_body->Cost = (object) [
    305                         'cost' => $response_body->cost
    306                     ];
    307                 }
     295
     296                //add locker cost to response body
     297                $response_body->Cost = (object) [
     298                    'cost' => $response_body->totalCost
     299                ];
    308300
    309301                //return success
  • fez-delivery/trunk/fez-delivery.php

    r3338923 r3491140  
    88 * Author URI:      https://www.fezdelivery.co/
    99 * Text Domain:     fez-delivery
    10  * Version:         1.1.0
     10 * Version:         1.1.1
    1111 * License:         GPLv2 or later
    1212 * License URI:     https://www.gnu.org/licenses/gpl-2.0.html
     
    2727
    2828//define constants
    29 define('FEZ_DELIVERY_VERSION', '1.1.0');
     29define('FEZ_DELIVERY_VERSION', time());
    3030define('FEZ_DELIVERY_FILE', __FILE__);
    3131define('FEZ_DELIVERY_DIR', __DIR__);
  • fez-delivery/trunk/readme.md

    r3338923 r3491140  
    66**Tested up to:** 6.8 
    77**Requires PHP:** 7.4 
    8 **Stable tag:** 1.1.0 
     8**Stable tag:** 1.1.1 
    99**License:** GPLv2 or later 
    1010**License URI:** https://www.gnu.org/licenses/gpl-2.0.html 
     
    3131
    3232## Changelog ##
     33
     34### 1.1.1 ###
     35-   Fixed the issue with the delivery state not being updated.
    3336
    3437### 1.1.0 ###
  • fez-delivery/trunk/vendor/composer/installed.php

    r3338923 r3491140  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => '0eecc2236a2704990c46abc9dcfb29c351f51ad4',
     6        'reference' => 'e71ac27ffab8cd6d0819c39cc1c16793ad03006f',
    77        'type' => 'project',
    88        'install_path' => __DIR__ . '/../../',
     
    4141            'pretty_version' => 'dev-main',
    4242            'version' => 'dev-main',
    43             'reference' => '0eecc2236a2704990c46abc9dcfb29c351f51ad4',
     43            'reference' => 'e71ac27ffab8cd6d0819c39cc1c16793ad03006f',
    4444            'type' => 'project',
    4545            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.