Plugin Directory

Changeset 2856307


Ignore:
Timestamp:
01/28/2023 05:35:21 PM (3 years ago)
Author:
avify
Message:

Update to version 1.0.7 from GitHub

Location:
avify
Files:
26 added
16 deleted
22 edited
1 copied

Legend:

Unmodified
Added
Removed
  • avify/tags/1.0.7/.git/FETCH_HEAD

    r2855509 r2856307  
    1 9c9749c13ad7311b88ff9c7a33a47e3e8cac1250        '9c9749c13ad7311b88ff9c7a33a47e3e8cac1250' of https://github.com/avify-com/avify-wordpress-plugin
     16daab0346bac83606d870dd1539246329cf9328e        '6daab0346bac83606d870dd1539246329cf9328e' of https://github.com/avify-com/avify-wordpress-plugin
  • avify/tags/1.0.7/.git/HEAD

    r2855509 r2856307  
    1 9c9749c13ad7311b88ff9c7a33a47e3e8cac1250
     16daab0346bac83606d870dd1539246329cf9328e
  • avify/tags/1.0.7/.git/config

    r2855509 r2856307  
    1010    auto = 0
    1111[http "https://github.com/"]
    12     extraheader = AUTHORIZATION: basic eC1hY2Nlc3MtdG9rZW46Z2hzX3BNRXNFZloxOHpnQjlCc1FubXR4andtVGZUTmo2OTFEQ1lReQ==
     12    extraheader = AUTHORIZATION: basic eC1hY2Nlc3MtdG9rZW46Z2hzX29wUjJiUDcwQjJjOUMyNXIwdUxqR1haUmEzNXdSMTBYbGViag==
  • avify/tags/1.0.7/.git/logs/HEAD

    r2855509 r2856307  
    1 0000000000000000000000000000000000000000 9c9749c13ad7311b88ff9c7a33a47e3e8cac1250 runner <runner@fv-az178-906.ou4bps3zwvpehennzi3rrspmbh.dx.internal.cloudapp.net> 1674770899 +0000 checkout: moving from master to refs/tags/1.0.6
     10000000000000000000000000000000000000000 6daab0346bac83606d870dd1539246329cf9328e runner <runner@fv-az471-213.4fngvl3g3twezghy3dubkofrre.dx.internal.cloudapp.net> 1674927286 +0000 checkout: moving from master to refs/tags/1.0.7
  • avify/tags/1.0.7/.git/shallow

    r2855509 r2856307  
    1 9c9749c13ad7311b88ff9c7a33a47e3e8cac1250
     16daab0346bac83606d870dd1539246329cf9328e
  • avify/tags/1.0.7/README.md

    r2855509 r2856307  
    44Requires at least: 5.6
    55Tested up to: 6.1.1
    6 Stable tag: 1.0.6
     6Stable tag: 1.0.7
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    5858## Changelog
    5959
     60### 1.0.7
     61
     62* Fix locked bug.
     63
    6064### 1.0.6
    6165
  • avify/tags/1.0.7/avify-payments-initializer.php

    r2855509 r2856307  
    77 * Plugin URI:
    88 * Description: Connect your WooCommerce account to Avify and send all your orders to one centralized inventory.
    9  * Version: 1.0.6
     9 * Version: 1.0.7
    1010 * Author: Avify
    1111 * Author URI: https://avify.com/
  • avify/tags/1.0.7/avify-payments-shipping.php

    r2855509 r2856307  
    6767                {
    6868                    parent::__construct($instance_id);
    69 
    70                     $this->id = 'avfdeliveries'; // Id for your shipping method. Should be unique.
     69                    $this->id = 'avfdeliveries'; // ID for your shipping method. Should be unique.
    7170                    $this->instance_id = absint($instance_id);
    7271                    $this->title = __('Avify Deliveries');  // Title shown in admin
     
    108107                public function calculate_shipping($package = array())
    109108                {
    110                     //WC()->session->set('avify_lock', false);
    111 
    112109                    $isCheckout = (is_checkout() || is_cart());
    113 
    114                     if ($isCheckout && !WC()->session->get('avify_lock')) {
    115                         WC()->session->set('avify_lock', true);
     110                    if ($isCheckout) {
    116111                        avify_log('---------------------------------------------------');
    117 
    118112                        $AVIFY_URL = $this->get_option('avify_url');
    119113                        $AVIFY_SHOP_ID = $this->get_option('avify_shop_id');
     
    127121
    128122                        if (!isset($package['destination'])) {
    129                             WC()->session->set('avify_lock', false);
    130123                            return;
    131124                        }
     
    171164                            avify_log('no rates found on avify.');
    172165                            avify_log($avifyRates);
    173                             WC()->session->set('avify_lock', false);
    174166                            return;
    175167                        }
     
    199191                            $this->add_rate($rate);
    200192                        }
    201 
    202                         WC()->session->set('avify_lock', false);
    203                     } else {
    204                         avify_log(WC()->session->get('avify_lock') ? 'locked.' : 'no-locked.');
    205                     }
    206 
    207                     if (!$isCheckout) {
    208                         WC()->session->set('avify_lock', false);
    209193                    }
    210194                }
  • avify/tags/1.0.7/composer.json

    r2717763 r2856307  
    11{
    2     "name": "avify/avify-payments",
    3     "require": {
    4         "avify/avify-php-client": "^1.0"
     2  "name": "avify/avify-wordpress",
     3  "require": {
     4    "avify/avify-php-client": "^1.0"
     5  },
     6  "authors": [
     7    {
     8      "name": "Juan Escobar",
     9      "email": "juan@avify.com"
    510    },
    6     "authors": [
    7         {
    8             "name": "Juan Escobar",
    9             "email": "juan@avify.com"
    10         }
    11     ]
     11    {
     12      "name": "Pablo Gutiérrez",
     13      "email": "pablo@avify.com"
     14    },
     15    {
     16      "name": "Alexis Valenciano",
     17      "email": "alexis@avify.com"
     18    }
     19  ]
    1220}
  • avify/tags/1.0.7/readme.txt

    r2855509 r2856307  
    44Requires at least: 5.6
    55Tested up to: 6.1.1
    6 Stable tag: 1.0.6
     6Stable tag: 1.0.7
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    5858== Changelog ==
    5959
    60 ### 1.0.6
     60### 1.0.7
     61
     62* Fix locked bug.
     63
     64= 1.0.6 =
    6165
    6266* Upgrade tested up to.
  • avify/trunk/.git/FETCH_HEAD

    r2855509 r2856307  
    1 9c9749c13ad7311b88ff9c7a33a47e3e8cac1250        '9c9749c13ad7311b88ff9c7a33a47e3e8cac1250' of https://github.com/avify-com/avify-wordpress-plugin
     16daab0346bac83606d870dd1539246329cf9328e        '6daab0346bac83606d870dd1539246329cf9328e' of https://github.com/avify-com/avify-wordpress-plugin
  • avify/trunk/.git/HEAD

    r2855509 r2856307  
    1 9c9749c13ad7311b88ff9c7a33a47e3e8cac1250
     16daab0346bac83606d870dd1539246329cf9328e
  • avify/trunk/.git/config

    r2855509 r2856307  
    1010    auto = 0
    1111[http "https://github.com/"]
    12     extraheader = AUTHORIZATION: basic eC1hY2Nlc3MtdG9rZW46Z2hzX3BNRXNFZloxOHpnQjlCc1FubXR4andtVGZUTmo2OTFEQ1lReQ==
     12    extraheader = AUTHORIZATION: basic eC1hY2Nlc3MtdG9rZW46Z2hzX29wUjJiUDcwQjJjOUMyNXIwdUxqR1haUmEzNXdSMTBYbGViag==
  • avify/trunk/.git/logs/HEAD

    r2855509 r2856307  
    1 0000000000000000000000000000000000000000 9c9749c13ad7311b88ff9c7a33a47e3e8cac1250 runner <runner@fv-az178-906.ou4bps3zwvpehennzi3rrspmbh.dx.internal.cloudapp.net> 1674770899 +0000 checkout: moving from master to refs/tags/1.0.6
     10000000000000000000000000000000000000000 6daab0346bac83606d870dd1539246329cf9328e runner <runner@fv-az471-213.4fngvl3g3twezghy3dubkofrre.dx.internal.cloudapp.net> 1674927286 +0000 checkout: moving from master to refs/tags/1.0.7
  • avify/trunk/.git/shallow

    r2855509 r2856307  
    1 9c9749c13ad7311b88ff9c7a33a47e3e8cac1250
     16daab0346bac83606d870dd1539246329cf9328e
  • avify/trunk/README.md

    r2855509 r2856307  
    44Requires at least: 5.6
    55Tested up to: 6.1.1
    6 Stable tag: 1.0.6
     6Stable tag: 1.0.7
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    5858## Changelog
    5959
     60### 1.0.7
     61
     62* Fix locked bug.
     63
    6064### 1.0.6
    6165
  • avify/trunk/avify-payments-initializer.php

    r2855509 r2856307  
    77 * Plugin URI:
    88 * Description: Connect your WooCommerce account to Avify and send all your orders to one centralized inventory.
    9  * Version: 1.0.6
     9 * Version: 1.0.7
    1010 * Author: Avify
    1111 * Author URI: https://avify.com/
  • avify/trunk/avify-payments-shipping.php

    r2855509 r2856307  
    6767                {
    6868                    parent::__construct($instance_id);
    69 
    70                     $this->id = 'avfdeliveries'; // Id for your shipping method. Should be unique.
     69                    $this->id = 'avfdeliveries'; // ID for your shipping method. Should be unique.
    7170                    $this->instance_id = absint($instance_id);
    7271                    $this->title = __('Avify Deliveries');  // Title shown in admin
     
    108107                public function calculate_shipping($package = array())
    109108                {
    110                     //WC()->session->set('avify_lock', false);
    111 
    112109                    $isCheckout = (is_checkout() || is_cart());
    113 
    114                     if ($isCheckout && !WC()->session->get('avify_lock')) {
    115                         WC()->session->set('avify_lock', true);
     110                    if ($isCheckout) {
    116111                        avify_log('---------------------------------------------------');
    117 
    118112                        $AVIFY_URL = $this->get_option('avify_url');
    119113                        $AVIFY_SHOP_ID = $this->get_option('avify_shop_id');
     
    127121
    128122                        if (!isset($package['destination'])) {
    129                             WC()->session->set('avify_lock', false);
    130123                            return;
    131124                        }
     
    171164                            avify_log('no rates found on avify.');
    172165                            avify_log($avifyRates);
    173                             WC()->session->set('avify_lock', false);
    174166                            return;
    175167                        }
     
    199191                            $this->add_rate($rate);
    200192                        }
    201 
    202                         WC()->session->set('avify_lock', false);
    203                     } else {
    204                         avify_log(WC()->session->get('avify_lock') ? 'locked.' : 'no-locked.');
    205                     }
    206 
    207                     if (!$isCheckout) {
    208                         WC()->session->set('avify_lock', false);
    209193                    }
    210194                }
  • avify/trunk/composer.json

    r2717763 r2856307  
    11{
    2     "name": "avify/avify-payments",
    3     "require": {
    4         "avify/avify-php-client": "^1.0"
     2  "name": "avify/avify-wordpress",
     3  "require": {
     4    "avify/avify-php-client": "^1.0"
     5  },
     6  "authors": [
     7    {
     8      "name": "Juan Escobar",
     9      "email": "juan@avify.com"
    510    },
    6     "authors": [
    7         {
    8             "name": "Juan Escobar",
    9             "email": "juan@avify.com"
    10         }
    11     ]
     11    {
     12      "name": "Pablo Gutiérrez",
     13      "email": "pablo@avify.com"
     14    },
     15    {
     16      "name": "Alexis Valenciano",
     17      "email": "alexis@avify.com"
     18    }
     19  ]
    1220}
  • avify/trunk/readme.txt

    r2855509 r2856307  
    44Requires at least: 5.6
    55Tested up to: 6.1.1
    6 Stable tag: 1.0.6
     6Stable tag: 1.0.7
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    5858== Changelog ==
    5959
    60 ### 1.0.6
     60### 1.0.7
     61
     62* Fix locked bug.
     63
     64= 1.0.6 =
    6165
    6266* Upgrade tested up to.
Note: See TracChangeset for help on using the changeset viewer.