mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 13:44:42 +08:00
Refactor GooglePay context handlers to use response currency and country.
This commit is contained in:
parent
2f6545aa57
commit
78d58f1a03
4 changed files with 22 additions and 8 deletions
|
@ -41,7 +41,7 @@ class SingleProductHandler extends BaseHandler {
|
|||
countryCode: data.country_code,
|
||||
currencyCode: data.currency_code,
|
||||
totalPriceStatus: 'FINAL',
|
||||
totalPrice: data.total_str // Your amount
|
||||
totalPrice: data.total_str
|
||||
});
|
||||
|
||||
}, products);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue