Google Pay: Fix issuse with data.paymentSource being undefined and the shipping allowed boolean being hardcoded

This commit is contained in:
Daniel Dudzic 2024-07-03 12:29:29 +02:00
parent 167c2c6883
commit e1bdc64248
No known key found for this signature in database
GPG key ID: 31B40D33E3465483
7 changed files with 15 additions and 23 deletions

View file

@ -18,7 +18,8 @@ class BaseHandler {
}
shippingAllowed() {
return true;
// Status of the shipping settings in WooCommerce.
return this.buttonConfig.shipping.configured;
}
transactionInfo() {