Changeset 3026812
- Timestamp:
- 01/25/2024 01:38:46 PM (2 years ago)
- Location:
- hfd-epost-integration/trunk
- Files:
-
- 3 edited
-
class/App.php (modified) (1 diff)
-
hfd-woocommerce-epost.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
hfd-epost-integration/trunk/class/App.php
r3014281 r3026812 103 103 update_option( 'hfd_order_auto_sync', 'no' ); 104 104 } 105 106 //replace old urls to new 107 if( strpos( $hfd_epost_service_url, "uniscripts/MGrqispi.dll" ) !== false && filter_var( $hfd_epost_service_url, FILTER_VALIDATE_URL ) == true ){ 108 $hfd_epost_service_url = str_replace( 'uniscripts/MGrqispi.dll', 'RunCom.Server/Request.aspx', $hfd_epost_service_url ); 109 110 update_option( 'betanet_epost_service_url', $hfd_epost_service_url ); 111 } 112 113 $betanet_epost_hfd_service_url = get_option( 'betanet_epost_hfd_service_url' ); 114 if( strpos( $betanet_epost_hfd_service_url, "uniscripts/MGrqispi.dll" ) !== false && filter_var( $betanet_epost_hfd_service_url, FILTER_VALIDATE_URL ) == true ){ 115 $betanet_epost_hfd_service_url = str_replace( 'uniscripts/MGrqispi.dll', 'RunCom.Server/Request.aspx', $betanet_epost_hfd_service_url ); 116 117 update_option( 'betanet_epost_hfd_service_url', $betanet_epost_hfd_service_url ); 118 } 119 120 if( strpos( $track_shipment_url, "uniscripts/MGrqispi.dll" ) !== false && filter_var( $track_shipment_url, FILTER_VALIDATE_URL ) == true ){ 121 $track_shipment_url = str_replace( 'uniscripts/MGrqispi.dll', 'RunCom.Server/Request.aspx', $track_shipment_url ); 122 123 update_option( 'betanet_epost_hfd_track_shipment_url', $track_shipment_url ); 124 } 125 126 if( strpos( $cancel_shipment_url, "uniscripts/MGrqispi.dll" ) !== false && filter_var( $cancel_shipment_url, FILTER_VALIDATE_URL ) == true ){ 127 $cancel_shipment_url = str_replace( 'uniscripts/MGrqispi.dll', 'RunCom.Server/Request.aspx', $cancel_shipment_url ); 128 129 update_option( 'betanet_epost_hfd_cancel_shipment_url', $cancel_shipment_url ); 130 } 131 132 if( strpos( $print_label_url, "uniscripts/MGrqispi.dll" ) !== false && filter_var( $print_label_url, FILTER_VALIDATE_URL ) == true ){ 133 $print_label_url = str_replace( 'uniscripts/MGrqispi.dll', 'RunCom.Server/Request.aspx', $print_label_url ); 134 135 update_option( 'betanet_epost_hfd_print_label_url', $print_label_url ); 136 } 105 137 } 106 138 -
hfd-epost-integration/trunk/hfd-woocommerce-epost.php
r3021501 r3026812 4 4 Plugin URI: 5 5 Description: Add shipping method of ePost, allowing the user on the checkout, to select the pickup location point from a google map popup. Also allows to synch the order to HFD API after the order is created. 6 Version: 1. 76 Version: 1.8 7 7 Author: HFD 8 8 Author URI: https://www.hfd.co.il -
hfd-epost-integration/trunk/readme.txt
r3021501 r3026812 5 5 Requires at least: 4.0 6 6 Tested up to: 6.4 7 Stable tag: 1. 77 Stable tag: 1.8 8 8 Requires PHP: 5.4 9 9 License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.