Changeset 2547021
- Timestamp:
- 06/13/2021 10:03:35 AM (5 years ago)
- Location:
- bosta-woocommerce
- Files:
-
- 14 added
- 3 edited
-
tags/2.5.8 (added)
-
tags/2.5.8/Css (added)
-
tags/2.5.8/Css/main.css (added)
-
tags/2.5.8/assets (added)
-
tags/2.5.8/assets/images (added)
-
tags/2.5.8/assets/images/bosta.svg (added)
-
tags/2.5.8/assets/images/refreshIcon.png (added)
-
tags/2.5.8/bosta-woocommerce.php (added)
-
tags/2.5.8/components (added)
-
tags/2.5.8/components/pickups (added)
-
tags/2.5.8/components/pickups/pickups.css (added)
-
tags/2.5.8/components/pickups/pickups.php (added)
-
tags/2.5.8/readme.txt (added)
-
tags/2.5.8/uninstall.php (added)
-
trunk/bosta-woocommerce.php (modified) (1 diff)
-
trunk/components/pickups/pickups.php (modified) (7 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
bosta-woocommerce/trunk/bosta-woocommerce.php
r2545628 r2547021 5 5 * Author: Bosta 6 6 * Author URI: https://www.bosta.co/ 7 * Version: 2.5. 77 * Version: 2.5.8 8 8 * Requires at least: 5.0 9 9 * Tested up to: 5.7 -
bosta-woocommerce/trunk/components/pickups/pickups.php
r2545253 r2547021 8 8 } 9 9 10 $url = 'https:// stg-app.bosta.co/api/v0/pickup-locations ';10 $url = 'https://app.bosta.co/api/v0/pickup-locations '; 11 11 $result = wp_remote_get($url, array( 12 12 'timeout' => 30, … … 27 27 } 28 28 if ($_GET['pickupId'] && !empty($_GET['pickupId'])) { 29 $url = 'https:// stg-app.bosta.co/api/v0/pickups/' . $_GET['pickupId'];29 $url = 'https://app.bosta.co/api/v0/pickups/' . $_GET['pickupId']; 30 30 $pickupEditData = wp_remote_get($url, array( 31 31 'timeout' => 30, … … 201 201 $pickupData->businessLocationId = $businessLocationId; 202 202 if ($_GET['pickupId']) { 203 $result = wp_remote_request('https:// stg-app.bosta.co/api/v0/pickups/' . $_GET['pickupId'], array(203 $result = wp_remote_request('https://app.bosta.co/api/v0/pickups/' . $_GET['pickupId'], array( 204 204 'timeout' => 30, 205 205 'method' => 'PUT', … … 220 220 } else { 221 221 222 $result = wp_remote_post('https:// stg-app.bosta.co/api/v0/pickups', array(222 $result = wp_remote_post('https://app.bosta.co/api/v0/pickups', array( 223 223 'timeout' => 30, 224 224 'method' => 'POST', … … 260 260 261 261 </p>"; 262 $url = 'https:// stg-app.bosta.co/api/v0/pickups/' . $_GET['pickupId'];262 $url = 'https://app.bosta.co/api/v0/pickups/' . $_GET['pickupId']; 263 263 $result = wp_remote_post($url, array( 264 264 'timeout' => 30, … … 341 341 342 342 if (count($pickupInfo->deliveryTrackingNumbers) > 0) { 343 $url = 'https:// stg-app.bosta.co/api/v0/deliveries/search?trackingNumbers=' . join(',', $pickupInfo->deliveryTrackingNumbers);343 $url = 'https://app.bosta.co/api/v0/deliveries/search?trackingNumbers=' . join(',', $pickupInfo->deliveryTrackingNumbers); 344 344 $result = wp_remote_post($url, array( 345 345 'timeout' => 30, … … 402 402 } 403 403 if ($_GET['state'] != 'history-pickups' || !isset($_GET['state'])) { 404 $url = 'https:// stg-app.bosta.co/api/v0/pickups/search?state=Requested,Arrived at business,Route Assigned,Picking up,Receiving&pageId=-1';405 } else { 406 $url = 'https:// stg-app.bosta.co/api/v0/pickups/search?state=Canceled,Picked up&pageId=-1';404 $url = 'https://app.bosta.co/api/v0/pickups/search?state=Requested,Arrived at business,Route Assigned,Picking up,Receiving&pageId=-1'; 405 } else { 406 $url = 'https://app.bosta.co/api/v0/pickups/search?state=Canceled,Picked up&pageId=-1'; 407 407 } 408 408 $result = wp_remote_post($url, array( -
bosta-woocommerce/trunk/readme.txt
r2545628 r2547021 7 7 Requires PHP: 7.0 8 8 Tested up to: 5.7 9 Stable tag: 2.5. 79 Stable tag: 2.5.8 10 10 WC requires at least: 2.6 11 11 WC tested up to: 4.4.1
Note: See TracChangeset
for help on using the changeset viewer.