Refactor GooglePay context handlers to use response currency and country.

This commit is contained in:
Pedro Silva 2023-08-30 08:39:31 +01:00
parent 2f6545aa57
commit 78d58f1a03
No known key found for this signature in database
GPG key ID: E2EE20C0669D24B3
4 changed files with 22 additions and 8 deletions

View file

@ -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);