Changeset 2461837
- Timestamp:
- 01/24/2021 04:45:33 PM (5 years ago)
- Location:
- quadpay-gateway-for-woocommerce
- Files:
-
- 15 added
- 2 edited
-
tags/1.3.10 (added)
-
tags/1.3.10/LICENSE (added)
-
tags/1.3.10/README.md (added)
-
tags/1.3.10/assets (added)
-
tags/1.3.10/assets/css (added)
-
tags/1.3.10/assets/css/widget.css (added)
-
tags/1.3.10/assets/images (added)
-
tags/1.3.10/assets/images/quadpay-logo-color.svg (added)
-
tags/1.3.10/assets/js (added)
-
tags/1.3.10/assets/js/frontend.js (added)
-
tags/1.3.10/assets/js/webcomponents-loader.js (added)
-
tags/1.3.10/config (added)
-
tags/1.3.10/config/config.php (added)
-
tags/1.3.10/quadpay.php (added)
-
tags/1.3.10/readme.txt (added)
-
trunk/quadpay.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
quadpay-gateway-for-woocommerce/trunk/quadpay.php
r2456223 r2461837 5 5 Author: QuadPay, Inc. 6 6 Author URI: https://www.quadpay.com 7 Version: 1.3.1 07 Version: 1.3.11 8 8 WC requires at least: 3.1.0 9 WC tested up to: 4.9.09 WC tested up to: 5.0.0 10 10 */ 11 11 … … 393 393 </table><!--/.form-table--> 394 394 <?php 395 396 397 398 399 400 395 } // End admin_options() 401 396 … … 855 850 $billing_country = $woocommerce->customer->country; 856 851 } else { 857 $billing_country = WC()->customer->get_billing_country(); 858 } 859 860 if ( ! $pbi || $billing_country != null && $billing_country != 'US' && $billing_country != 'CA' ) { 852 // make sure to call the member function only if not null 853 // @since 1.3.11 854 if ( null !== WC()->customer && null !== WC()->customer->get_billing_country() ) 855 $billing_country = WC()->customer->get_billing_country(); 856 } 857 858 if ( ! $pbi || ( null != $billing_country || empty( $billing_country ) ) && 'US' != $billing_country && 'CA' != $billing_country ) { 861 859 unset( $gateways['quadpay'] ); 862 860 } -
quadpay-gateway-for-woocommerce/trunk/readme.txt
r2456223 r2461837 4 4 * Requires at least: 4.7 5 5 * Tested up to: 5.6.0 6 * Stable tag: 1.3.1 06 * Stable tag: 1.3.11 7 7 * Requires PHP: 7.0 8 8 * License: GPLv3 … … 53 53 * none 54 54 55 = 1.3.11 = 56 * Fix - fixed an error when trying to get the billing country 57 * Compatibility - tested up to WooCommerce 5.0.0-beta 58 55 59 = 1.3.10 = 56 60 * Tweak - added new QuadPay branding
Note: See TracChangeset
for help on using the changeset viewer.