Changeset 2708442
- Timestamp:
- 04/12/2022 09:13:19 AM (4 years ago)
- Location:
- bykea-cash-online-payments
- Files:
-
- 12 added
- 4 edited
-
tags/2.9.1 (added)
-
tags/2.9.1/LICENSE (added)
-
tags/2.9.1/README.md (added)
-
tags/2.9.1/admin_scripts.js (added)
-
tags/2.9.1/admin_style.css (added)
-
tags/2.9.1/app-store-icon.png (added)
-
tags/2.9.1/bykea-cash-logo.png (added)
-
tags/2.9.1/bykea-full-payment-option.png (added)
-
tags/2.9.1/google-play-icon.png (added)
-
tags/2.9.1/online-payments-bykeacash.php (added)
-
tags/2.9.1/readme.txt (added)
-
tags/2.9.1/woocommerce-bykeacash.php (added)
-
trunk/README.md (modified) (2 diffs)
-
trunk/online-payments-bykeacash.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/woocommerce-bykeacash.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bykea-cash-online-payments/trunk/README.md
r2706943 r2708442 5 5 Requires at least: 4.0 6 6 Tested up to: 5.9 7 Stable tag: 2.9 7 Stable tag: 2.9.1 8 8 Requires PHP: 7.4 9 9 License: GPLv3 … … 118 118 == Changelog == 119 119 120 = 2.9 = 121 * Added more input formatting to reduce failed orders 122 * Added order cancellation functionality 120 = 2.9.1 = 121 * Added some more input formatting to reduce failed API calls 123 122 124 123 == Upgrade Notice == -
bykea-cash-online-payments/trunk/online-payments-bykeacash.php
r2706943 r2708442 5 5 * Plugin URI: https://wordpress.org/plugins/bykea-cash-online-payments 6 6 * Description: This plugin helps WooCommerce (WordPress) customers pay via Debit / Credit Cards or Cash Pickups using Bykea Cash payment service. 7 * Version: 2.9 7 * Version: 2.9.1 8 8 * Requires at least: 5.2 9 9 * Requires PHP: 7.4 -
bykea-cash-online-payments/trunk/readme.txt
r2706943 r2708442 5 5 Requires at least: 4.0 6 6 Tested up to: 5.9 7 Stable tag: 2.9 7 Stable tag: 2.9.1 8 8 Requires PHP: 7.4 9 9 License: GPLv3 … … 118 118 == Changelog == 119 119 120 = 2.9 = 121 * Added more input formatting to reduce failed orders 122 * Added order cancellation functionality 120 = 2.9.1 = 121 * Added some more input formatting to reduce failed API calls 123 122 124 123 == Upgrade Notice == -
bykea-cash-online-payments/trunk/woocommerce-bykeacash.php
r2706943 r2708442 211 211 $shippingAddress = esc_html(sanitize_text_field($order_data['billing']['address_1'])); 212 212 }else{ 213 $shippingAddress = 'N /A';213 $shippingAddress = 'Not Available'; 214 214 } 215 215 if(strlen($order_data['billing']['city']) > 3){ … … 243 243 } 244 244 $billingPhone = str_replace("-","",str_replace(" ","",$billingPhone)); 245 if(substr($billingPhone,0,1) != '0'){ 245 $billingPhone = str_replace("(","",str_replace(")","",$billingPhone)); 246 $billingPhone = str_replace("+","",$billingPhone); 247 if(strlen($billingPhone) == 10 && substr($billingPhone,0,1) == '3'){ 246 248 $billingPhone = '0'.$billingPhone; 247 249 }
Note: See TracChangeset
for help on using the changeset viewer.