Changeset 2913806
- Timestamp:
- 05/17/2023 04:52:26 PM (3 years ago)
- Location:
- eshipper-commerce
- Files:
-
- 3 edited
- 21 copied
-
tags/2.14.3 (copied) (copied from eshipper-commerce/trunk)
-
tags/2.14.3/.editorconfig (copied) (copied from eshipper-commerce/trunk/.editorconfig)
-
tags/2.14.3/.gitignore (copied) (copied from eshipper-commerce/trunk/.gitignore)
-
tags/2.14.3/README.md (copied) (copied from eshipper-commerce/trunk/README.md)
-
tags/2.14.3/assets (copied) (copied from eshipper-commerce/trunk/assets)
-
tags/2.14.3/composer.json (copied) (copied from eshipper-commerce/trunk/composer.json)
-
tags/2.14.3/composer.lock (copied) (copied from eshipper-commerce/trunk/composer.lock)
-
tags/2.14.3/docs (copied) (copied from eshipper-commerce/trunk/docs)
-
tags/2.14.3/framework (copied) (copied from eshipper-commerce/trunk/framework)
-
tags/2.14.3/framework/shippingmethod.php (copied) (copied from eshipper-commerce/trunk/framework/shippingmethod.php)
-
tags/2.14.3/img (copied) (copied from eshipper-commerce/trunk/img)
-
tags/2.14.3/languages (copied) (copied from eshipper-commerce/trunk/languages)
-
tags/2.14.3/lib (copied) (copied from eshipper-commerce/trunk/lib)
-
tags/2.14.3/license.txt (copied) (copied from eshipper-commerce/trunk/license.txt)
-
tags/2.14.3/models (copied) (copied from eshipper-commerce/trunk/models)
-
tags/2.14.3/plugin (copied) (copied from eshipper-commerce/trunk/plugin)
-
tags/2.14.3/plugin/curlHandler.php (copied) (copied from eshipper-commerce/trunk/plugin/curlHandler.php)
-
tags/2.14.3/plugin/eshipperCalls.php (copied) (copied from eshipper-commerce/trunk/plugin/eshipperCalls.php) (2 diffs)
-
tags/2.14.3/readme.txt (copied) (copied from eshipper-commerce/trunk/readme.txt) (3 diffs)
-
tags/2.14.3/views (copied) (copied from eshipper-commerce/trunk/views)
-
tags/2.14.3/woocommerce-eshipper.php (copied) (copied from eshipper-commerce/trunk/woocommerce-eshipper.php) (1 diff)
-
trunk/plugin/eshipperCalls.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/woocommerce-eshipper.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
eshipper-commerce/tags/2.14.3/plugin/eshipperCalls.php
r2912671 r2913806 8 8 public function fetchRateList($requestData) 9 9 { 10 // TODO: send failure standard response 11 // $rateResponse = ['statusCode' => 412, "msg" => 'Something went wrong while fetching shipping options. There might be issues with your order. Please contact support!']; 10 12 $eshipperUser = $this->getLoggedInUser(); 11 13 if (!empty($eshipperUser)) { … … 24 26 $response = $curlHandler->sendCurlRequest($requestData, $uri, $method, $headerArray); 25 27 26 $httpResponseCode = $response['httpResponseCode']; 27 28 if ($httpResponseCode == 200) { 29 return $response; 30 } else { 31 $responseArray = ['statusCode' => $httpResponseCode, "msg" => $response['response']->errors]; 32 33 return $responseArray; 28 if (!empty($response['response']) && !empty($response['httpResponseCode'])) { 29 $httpResponseCode = $response['httpResponseCode']; 30 31 if ($httpResponseCode == 200) { 32 return $response; 33 } elseif (isset($response['response']->errors)) { 34 return ['statusCode' => $httpResponseCode, "msg" => $response['response']->errors]; 35 } else { 36 return false; 37 } 34 38 } 35 39 } -
eshipper-commerce/tags/2.14.3/readme.txt
r2912672 r2913806 5 5 Tested up to: 6.1 6 6 Requires PHP: 7.1 7 Stable tag: 2.14. 27 Stable tag: 2.14.3 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 28 28 29 29 == Changelog == 30 = 2.14.3 = 31 * * Fixed warning message on shipping rate list due to incorrect shipping address. 30 32 = 2.14.2 = 31 33 * Minor Fix for warning message - Undefined property: stdClass::$errors in eshipperCalls.php on line 27 … … 36 38 37 39 == Upgrade Notice == 40 = 2.14.3 = 41 * Fixed warning message on shipping rate list due to incorrect shipping address. 38 42 = 2.14.2 = 39 43 * Minor Fixes for Warning Messages. -
eshipper-commerce/tags/2.14.3/woocommerce-eshipper.php
r2912671 r2913806 4 4 Plugin URI: https://ww2.eshipper.com/ecommerce/ 5 5 Description: Extends WooCommerce with Shipping Rates from eShipper 6 Version: 2.14. 26 Version: 2.14.3 7 7 Author: eShipper 8 8 Author URI: https://ww2.eshipper.com/ -
eshipper-commerce/trunk/plugin/eshipperCalls.php
r2912671 r2913806 8 8 public function fetchRateList($requestData) 9 9 { 10 // TODO: send failure standard response 11 // $rateResponse = ['statusCode' => 412, "msg" => 'Something went wrong while fetching shipping options. There might be issues with your order. Please contact support!']; 10 12 $eshipperUser = $this->getLoggedInUser(); 11 13 if (!empty($eshipperUser)) { … … 24 26 $response = $curlHandler->sendCurlRequest($requestData, $uri, $method, $headerArray); 25 27 26 $httpResponseCode = $response['httpResponseCode']; 27 28 if ($httpResponseCode == 200) { 29 return $response; 30 } else { 31 $responseArray = ['statusCode' => $httpResponseCode, "msg" => $response['response']->errors]; 32 33 return $responseArray; 28 if (!empty($response['response']) && !empty($response['httpResponseCode'])) { 29 $httpResponseCode = $response['httpResponseCode']; 30 31 if ($httpResponseCode == 200) { 32 return $response; 33 } elseif (isset($response['response']->errors)) { 34 return ['statusCode' => $httpResponseCode, "msg" => $response['response']->errors]; 35 } else { 36 return false; 37 } 34 38 } 35 39 } -
eshipper-commerce/trunk/readme.txt
r2912672 r2913806 5 5 Tested up to: 6.1 6 6 Requires PHP: 7.1 7 Stable tag: 2.14. 27 Stable tag: 2.14.3 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 28 28 29 29 == Changelog == 30 = 2.14.3 = 31 * Fixed warning message on shipping rate list due to incorrect shipping address. 30 32 = 2.14.2 = 31 33 * Minor Fix for warning message - Undefined property: stdClass::$errors in eshipperCalls.php on line 27 … … 36 38 37 39 == Upgrade Notice == 40 = 2.14.3 = 41 * Fixed warning message on shipping rate list due to incorrect shipping address. 38 42 = 2.14.2 = 39 43 * Minor Fixes for Warning Messages. -
eshipper-commerce/trunk/woocommerce-eshipper.php
r2912671 r2913806 4 4 Plugin URI: https://ww2.eshipper.com/ecommerce/ 5 5 Description: Extends WooCommerce with Shipping Rates from eShipper 6 Version: 2.14. 26 Version: 2.14.3 7 7 Author: eShipper 8 8 Author URI: https://ww2.eshipper.com/
Note: See TracChangeset
for help on using the changeset viewer.