Changeset 2630552
- Timestamp:
- 11/16/2021 08:58:13 AM (4 years ago)
- Location:
- redbox-pickup
- Files:
-
- 3 edited
- 8 copied
-
tags/1.25 (copied) (copied from redbox-pickup/trunk)
-
tags/1.25/admin/config.php (copied) (copied from redbox-pickup/trunk/admin/config.php)
-
tags/1.25/admin/new_method.php (copied) (copied from redbox-pickup/trunk/admin/new_method.php)
-
tags/1.25/css/front.css (copied) (copied from redbox-pickup/trunk/css/front.css)
-
tags/1.25/front/front.php (copied) (copied from redbox-pickup/trunk/front/front.php) (2 diffs)
-
tags/1.25/js/front.js (copied) (copied from redbox-pickup/trunk/js/front.js)
-
tags/1.25/readme.txt (copied) (copied from redbox-pickup/trunk/readme.txt) (1 diff)
-
tags/1.25/redbox.php (copied) (copied from redbox-pickup/trunk/redbox.php) (1 diff)
-
trunk/front/front.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/redbox.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
redbox-pickup/tags/1.25/front/front.php
r2630548 r2630552 157 157 $dataShipment['cod_currency'] = $priceData['curency']; 158 158 } 159 if ($this->redbox_validate_body_ update_shipment($dataShipment)) {159 if ($this->redbox_validate_body_create_shipment($dataShipment)) { 160 160 $urlQuery = REDBOX_URL_CREATE_SHIPMENT; 161 161 $options = array( … … 182 182 private function redbox_validate_body_update_shipment($dataShipment = []){ 183 183 if (isset($dataShipment["point_id"]) && !empty($dataShipment["point_id"]) && 184 isset($dataShipment["customer_phone"]) && !empty($dataShipment["customer_phone"]) && 185 isset($dataShipment["customer_name"]) && !empty($dataShipment["customer_name"]) && 186 isset($dataShipment["cod_amount"]) && is_numeric($dataShipment['cod_amount']) && floatval($dataShipment['cod_amount']) >= 0 && 187 isset($dataShipment["cod_currency"]) && !empty($dataShipment["cod_currency"]) 184 isset($dataShipment["customer_phone"]) && !empty($dataShipment["customer_phone"]) 188 185 ) { 189 186 return true; -
redbox-pickup/tags/1.25/readme.txt
r2630548 r2630552 5 5 Requires at least: 3.3 6 6 Tested up to: 5.5.1 7 Stable tag: 1.2 47 Stable tag: 1.25 8 8 License: GPLv2 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
redbox-pickup/tags/1.25/redbox.php
r2630548 r2630552 4 4 * Description: This plugin allows customers pickup package at RedBox Locker. 5 5 * Plugin URI: https://woocommerce.com/ 6 * Version: 1.2 46 * Version: 1.25 7 7 * Author: RedBox 8 8 * Author URI: https://redboxsa.com -
redbox-pickup/trunk/front/front.php
r2630548 r2630552 157 157 $dataShipment['cod_currency'] = $priceData['curency']; 158 158 } 159 if ($this->redbox_validate_body_ update_shipment($dataShipment)) {159 if ($this->redbox_validate_body_create_shipment($dataShipment)) { 160 160 $urlQuery = REDBOX_URL_CREATE_SHIPMENT; 161 161 $options = array( … … 182 182 private function redbox_validate_body_update_shipment($dataShipment = []){ 183 183 if (isset($dataShipment["point_id"]) && !empty($dataShipment["point_id"]) && 184 isset($dataShipment["customer_phone"]) && !empty($dataShipment["customer_phone"]) && 185 isset($dataShipment["customer_name"]) && !empty($dataShipment["customer_name"]) && 186 isset($dataShipment["cod_amount"]) && is_numeric($dataShipment['cod_amount']) && floatval($dataShipment['cod_amount']) >= 0 && 187 isset($dataShipment["cod_currency"]) && !empty($dataShipment["cod_currency"]) 184 isset($dataShipment["customer_phone"]) && !empty($dataShipment["customer_phone"]) 188 185 ) { 189 186 return true; -
redbox-pickup/trunk/readme.txt
r2630548 r2630552 5 5 Requires at least: 3.3 6 6 Tested up to: 5.5.1 7 Stable tag: 1.2 47 Stable tag: 1.25 8 8 License: GPLv2 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
redbox-pickup/trunk/redbox.php
r2630548 r2630552 4 4 * Description: This plugin allows customers pickup package at RedBox Locker. 5 5 * Plugin URI: https://woocommerce.com/ 6 * Version: 1.2 46 * Version: 1.25 7 7 * Author: RedBox 8 8 * Author URI: https://redboxsa.com
Note: See TracChangeset
for help on using the changeset viewer.