Skip to content

Commit 3beeefc

Browse files
committed
Merge branch 'feature/alpha2-release' into develop-v2
2 parents bf5de1c + a091866 commit 3beeefc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

includes/class-wc-gateway-amazon-payments-advanced.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ protected function get_region_script() {
136136
$region = WC_Amazon_Payments_Advanced_API::get_region();
137137

138138
$url = false;
139-
switch ( $region ) {
139+
switch ( strtolower( $region ) ) {
140140
case 'us':
141141
$url = 'https://static-na.payments-amazon.com/checkout.js';
142142
break;

woocommerce-gateway-amazon-payments-advanced.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Plugin Name: WooCommerce Amazon Pay
1010
* Plugin URI: https://woocommerce.com/products/pay-with-amazon/
1111
* Description: Amazon Pay is embedded directly into your existing web site, and all the buyer interactions with Amazon Pay and Login with Amazon take place in embedded widgets so that the buyer never leaves your site. Buyers can log in using their Amazon account, select a shipping address and payment method, and then confirm their order. Requires an Amazon Pay seller account and supports USA, UK, Germany, France, Italy, Spain, Luxembourg, the Netherlands, Sweden, Portugal, Hungary, Denmark, and Japan.
12-
* Version: 2.0.0-alpha1
12+
* Version: 2.0.0-alpha2
1313
* Author: WooCommerce
1414
* Author URI: https://woocommerce.com
1515
*

0 commit comments

Comments
 (0)