Changeset 2629629
- Timestamp:
- 11/15/2021 08:35:31 AM (4 years ago)
- Location:
- redbox-pickup
- Files:
-
- 3 edited
- 8 copied
-
tags/1.21 (copied) (copied from redbox-pickup/trunk)
-
tags/1.21/admin/config.php (copied) (copied from redbox-pickup/trunk/admin/config.php)
-
tags/1.21/admin/new_method.php (copied) (copied from redbox-pickup/trunk/admin/new_method.php)
-
tags/1.21/css/front.css (copied) (copied from redbox-pickup/trunk/css/front.css)
-
tags/1.21/front/front.php (copied) (copied from redbox-pickup/trunk/front/front.php) (2 diffs)
-
tags/1.21/js/front.js (copied) (copied from redbox-pickup/trunk/js/front.js)
-
tags/1.21/readme.txt (copied) (copied from redbox-pickup/trunk/readme.txt) (1 diff)
-
tags/1.21/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.21/front/front.php
r2622679 r2629629 126 126 127 127 function redbox_create_shipment( $order_id, $posted_data, $order ) { 128 if (!$order) return; 128 $note = 'Creating redbox shipments'; 129 $order->add_order_note( $note ); 130 if (!$order) { 131 $note = 'RedBox error: Order not found'; 132 $order->add_order_note( $note ); 133 } 129 134 $orderKey = $order->get_order_key(); 130 135 $orderNumber = $order->get_order_number(); … … 173 178 $order->add_order_note( $note ); 174 179 } 180 } else { 181 $note = 'RedBox error: validate error'; 182 $order->add_order_note( $note ); 175 183 } 176 184 -
redbox-pickup/tags/1.21/readme.txt
r2625884 r2629629 5 5 Requires at least: 3.3 6 6 Tested up to: 5.5.1 7 Stable tag: 1.2 07 Stable tag: 1.21 8 8 License: GPLv2 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
redbox-pickup/tags/1.21/redbox.php
r2625884 r2629629 4 4 * Description: This plugin allows customers pickup package at RedBox Locker. 5 5 * Plugin URI: https://woocommerce.com/ 6 * Version: 1.2 06 * Version: 1.21 7 7 * Author: RedBox 8 8 * Author URI: https://redboxsa.com -
redbox-pickup/trunk/front/front.php
r2622679 r2629629 126 126 127 127 function redbox_create_shipment( $order_id, $posted_data, $order ) { 128 if (!$order) return; 128 $note = 'Creating redbox shipments'; 129 $order->add_order_note( $note ); 130 if (!$order) { 131 $note = 'RedBox error: Order not found'; 132 $order->add_order_note( $note ); 133 } 129 134 $orderKey = $order->get_order_key(); 130 135 $orderNumber = $order->get_order_number(); … … 173 178 $order->add_order_note( $note ); 174 179 } 180 } else { 181 $note = 'RedBox error: validate error'; 182 $order->add_order_note( $note ); 175 183 } 176 184 -
redbox-pickup/trunk/readme.txt
r2625884 r2629629 5 5 Requires at least: 3.3 6 6 Tested up to: 5.5.1 7 Stable tag: 1.2 07 Stable tag: 1.21 8 8 License: GPLv2 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
redbox-pickup/trunk/redbox.php
r2625884 r2629629 4 4 * Description: This plugin allows customers pickup package at RedBox Locker. 5 5 * Plugin URI: https://woocommerce.com/ 6 * Version: 1.2 06 * Version: 1.21 7 7 * Author: RedBox 8 8 * Author URI: https://redboxsa.com
Note: See TracChangeset
for help on using the changeset viewer.