Changeset 2856307
- Timestamp:
- 01/28/2023 05:35:21 PM (3 years ago)
- Location:
- avify
- Files:
-
- 26 added
- 16 deleted
- 22 edited
- 1 copied
-
tags/1.0.7 (copied) (copied from avify/trunk)
-
tags/1.0.7/.git/FETCH_HEAD (modified) (1 diff)
-
tags/1.0.7/.git/HEAD (modified) (1 diff)
-
tags/1.0.7/.git/config (modified) (1 diff)
-
tags/1.0.7/.git/index (modified) (previous)
-
tags/1.0.7/.git/logs/HEAD (modified) (1 diff)
-
tags/1.0.7/.git/objects/01 (added)
-
tags/1.0.7/.git/objects/01/06104dae520ddcf8cf125fcc370388123c4898 (added)
-
tags/1.0.7/.git/objects/38 (added)
-
tags/1.0.7/.git/objects/38/296bd971f69d15786833e11f336b4adae3b653 (added)
-
tags/1.0.7/.git/objects/3b (deleted)
-
tags/1.0.7/.git/objects/60 (added)
-
tags/1.0.7/.git/objects/60/9a0595aadc50aee99fa99029a415fc92880873 (added)
-
tags/1.0.7/.git/objects/6d/aab0346bac83606d870dd1539246329cf9328e (added)
-
tags/1.0.7/.git/objects/74/890c356e1fef893acb8968f988cbfb906dcdf5 (added)
-
tags/1.0.7/.git/objects/9c (deleted)
-
tags/1.0.7/.git/objects/9d (added)
-
tags/1.0.7/.git/objects/9d/c827fba531e13e758be01fd1a25c3c92a0ef7d (added)
-
tags/1.0.7/.git/objects/ae (deleted)
-
tags/1.0.7/.git/objects/b5 (deleted)
-
tags/1.0.7/.git/objects/bb (added)
-
tags/1.0.7/.git/objects/bb/251c5ce224c53805f4fa793f4ee8a3a88232aa (added)
-
tags/1.0.7/.git/objects/d7 (deleted)
-
tags/1.0.7/.git/objects/da (deleted)
-
tags/1.0.7/.git/objects/f4 (deleted)
-
tags/1.0.7/.git/refs/tags/1.0.6 (deleted)
-
tags/1.0.7/.git/refs/tags/1.0.7 (added)
-
tags/1.0.7/.git/shallow (modified) (1 diff)
-
tags/1.0.7/README.md (modified) (2 diffs)
-
tags/1.0.7/avify-payments-initializer.php (modified) (1 diff)
-
tags/1.0.7/avify-payments-shipping.php (modified) (5 diffs)
-
tags/1.0.7/composer.json (modified) (1 diff)
-
tags/1.0.7/readme.txt (modified) (2 diffs)
-
trunk/.git/FETCH_HEAD (modified) (1 diff)
-
trunk/.git/HEAD (modified) (1 diff)
-
trunk/.git/config (modified) (1 diff)
-
trunk/.git/index (modified) (previous)
-
trunk/.git/logs/HEAD (modified) (1 diff)
-
trunk/.git/objects/01 (added)
-
trunk/.git/objects/01/06104dae520ddcf8cf125fcc370388123c4898 (added)
-
trunk/.git/objects/38 (added)
-
trunk/.git/objects/38/296bd971f69d15786833e11f336b4adae3b653 (added)
-
trunk/.git/objects/3b (deleted)
-
trunk/.git/objects/60 (added)
-
trunk/.git/objects/60/9a0595aadc50aee99fa99029a415fc92880873 (added)
-
trunk/.git/objects/6d/aab0346bac83606d870dd1539246329cf9328e (added)
-
trunk/.git/objects/74/890c356e1fef893acb8968f988cbfb906dcdf5 (added)
-
trunk/.git/objects/9c (deleted)
-
trunk/.git/objects/9d (added)
-
trunk/.git/objects/9d/c827fba531e13e758be01fd1a25c3c92a0ef7d (added)
-
trunk/.git/objects/ae (deleted)
-
trunk/.git/objects/b5 (deleted)
-
trunk/.git/objects/bb (added)
-
trunk/.git/objects/bb/251c5ce224c53805f4fa793f4ee8a3a88232aa (added)
-
trunk/.git/objects/d7 (deleted)
-
trunk/.git/objects/da (deleted)
-
trunk/.git/objects/f4 (deleted)
-
trunk/.git/refs/tags/1.0.6 (deleted)
-
trunk/.git/refs/tags/1.0.7 (added)
-
trunk/.git/shallow (modified) (1 diff)
-
trunk/README.md (modified) (2 diffs)
-
trunk/avify-payments-initializer.php (modified) (1 diff)
-
trunk/avify-payments-shipping.php (modified) (5 diffs)
-
trunk/composer.json (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
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-plugin1 6daab0346bac83606d870dd1539246329cf9328e '6daab0346bac83606d870dd1539246329cf9328e' of https://github.com/avify-com/avify-wordpress-plugin -
avify/tags/1.0.7/.git/HEAD
r2855509 r2856307 1 9c9749c13ad7311b88ff9c7a33a47e3e8cac1250 1 6daab0346bac83606d870dd1539246329cf9328e -
avify/tags/1.0.7/.git/config
r2855509 r2856307 10 10 auto = 0 11 11 [http "https://github.com/"] 12 extraheader = AUTHORIZATION: basic eC1hY2Nlc3MtdG9rZW46Z2hzX 3BNRXNFZloxOHpnQjlCc1FubXR4andtVGZUTmo2OTFEQ1lReQ==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.61 0000000000000000000000000000000000000000 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 1 6daab0346bac83606d870dd1539246329cf9328e -
avify/tags/1.0.7/README.md
r2855509 r2856307 4 4 Requires at least: 5.6 5 5 Tested up to: 6.1.1 6 Stable tag: 1.0. 66 Stable tag: 1.0.7 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 58 58 ## Changelog 59 59 60 ### 1.0.7 61 62 * Fix locked bug. 63 60 64 ### 1.0.6 61 65 -
avify/tags/1.0.7/avify-payments-initializer.php
r2855509 r2856307 7 7 * Plugin URI: 8 8 * Description: Connect your WooCommerce account to Avify and send all your orders to one centralized inventory. 9 * Version: 1.0. 69 * Version: 1.0.7 10 10 * Author: Avify 11 11 * Author URI: https://avify.com/ -
avify/tags/1.0.7/avify-payments-shipping.php
r2855509 r2856307 67 67 { 68 68 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. 71 70 $this->instance_id = absint($instance_id); 72 71 $this->title = __('Avify Deliveries'); // Title shown in admin … … 108 107 public function calculate_shipping($package = array()) 109 108 { 110 //WC()->session->set('avify_lock', false);111 112 109 $isCheckout = (is_checkout() || is_cart()); 113 114 if ($isCheckout && !WC()->session->get('avify_lock')) { 115 WC()->session->set('avify_lock', true); 110 if ($isCheckout) { 116 111 avify_log('---------------------------------------------------'); 117 118 112 $AVIFY_URL = $this->get_option('avify_url'); 119 113 $AVIFY_SHOP_ID = $this->get_option('avify_shop_id'); … … 127 121 128 122 if (!isset($package['destination'])) { 129 WC()->session->set('avify_lock', false);130 123 return; 131 124 } … … 171 164 avify_log('no rates found on avify.'); 172 165 avify_log($avifyRates); 173 WC()->session->set('avify_lock', false);174 166 return; 175 167 } … … 199 191 $this->add_rate($rate); 200 192 } 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);209 193 } 210 194 } -
avify/tags/1.0.7/composer.json
r2717763 r2856307 1 1 { 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" 5 10 }, 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 ] 12 20 } -
avify/tags/1.0.7/readme.txt
r2855509 r2856307 4 4 Requires at least: 5.6 5 5 Tested up to: 6.1.1 6 Stable tag: 1.0. 66 Stable tag: 1.0.7 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 58 58 == Changelog == 59 59 60 ### 1.0.6 60 ### 1.0.7 61 62 * Fix locked bug. 63 64 = 1.0.6 = 61 65 62 66 * Upgrade tested up to. -
avify/trunk/.git/FETCH_HEAD
r2855509 r2856307 1 9c9749c13ad7311b88ff9c7a33a47e3e8cac1250 '9c9749c13ad7311b88ff9c7a33a47e3e8cac1250' of https://github.com/avify-com/avify-wordpress-plugin1 6daab0346bac83606d870dd1539246329cf9328e '6daab0346bac83606d870dd1539246329cf9328e' of https://github.com/avify-com/avify-wordpress-plugin -
avify/trunk/.git/HEAD
r2855509 r2856307 1 9c9749c13ad7311b88ff9c7a33a47e3e8cac1250 1 6daab0346bac83606d870dd1539246329cf9328e -
avify/trunk/.git/config
r2855509 r2856307 10 10 auto = 0 11 11 [http "https://github.com/"] 12 extraheader = AUTHORIZATION: basic eC1hY2Nlc3MtdG9rZW46Z2hzX 3BNRXNFZloxOHpnQjlCc1FubXR4andtVGZUTmo2OTFEQ1lReQ==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.61 0000000000000000000000000000000000000000 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 1 6daab0346bac83606d870dd1539246329cf9328e -
avify/trunk/README.md
r2855509 r2856307 4 4 Requires at least: 5.6 5 5 Tested up to: 6.1.1 6 Stable tag: 1.0. 66 Stable tag: 1.0.7 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 58 58 ## Changelog 59 59 60 ### 1.0.7 61 62 * Fix locked bug. 63 60 64 ### 1.0.6 61 65 -
avify/trunk/avify-payments-initializer.php
r2855509 r2856307 7 7 * Plugin URI: 8 8 * Description: Connect your WooCommerce account to Avify and send all your orders to one centralized inventory. 9 * Version: 1.0. 69 * Version: 1.0.7 10 10 * Author: Avify 11 11 * Author URI: https://avify.com/ -
avify/trunk/avify-payments-shipping.php
r2855509 r2856307 67 67 { 68 68 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. 71 70 $this->instance_id = absint($instance_id); 72 71 $this->title = __('Avify Deliveries'); // Title shown in admin … … 108 107 public function calculate_shipping($package = array()) 109 108 { 110 //WC()->session->set('avify_lock', false);111 112 109 $isCheckout = (is_checkout() || is_cart()); 113 114 if ($isCheckout && !WC()->session->get('avify_lock')) { 115 WC()->session->set('avify_lock', true); 110 if ($isCheckout) { 116 111 avify_log('---------------------------------------------------'); 117 118 112 $AVIFY_URL = $this->get_option('avify_url'); 119 113 $AVIFY_SHOP_ID = $this->get_option('avify_shop_id'); … … 127 121 128 122 if (!isset($package['destination'])) { 129 WC()->session->set('avify_lock', false);130 123 return; 131 124 } … … 171 164 avify_log('no rates found on avify.'); 172 165 avify_log($avifyRates); 173 WC()->session->set('avify_lock', false);174 166 return; 175 167 } … … 199 191 $this->add_rate($rate); 200 192 } 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);209 193 } 210 194 } -
avify/trunk/composer.json
r2717763 r2856307 1 1 { 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" 5 10 }, 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 ] 12 20 } -
avify/trunk/readme.txt
r2855509 r2856307 4 4 Requires at least: 5.6 5 5 Tested up to: 6.1.1 6 Stable tag: 1.0. 66 Stable tag: 1.0.7 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 58 58 == Changelog == 59 59 60 ### 1.0.6 60 ### 1.0.7 61 62 * Fix locked bug. 63 64 = 1.0.6 = 61 65 62 66 * Upgrade tested up to.
Note: See TracChangeset
for help on using the changeset viewer.