mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-10 01:15:45 +08:00
Google Pay: Fix issuse with data.paymentSource being undefined and the shipping allowed boolean being hardcoded
This commit is contained in:
parent
167c2c6883
commit
e1bdc64248
7 changed files with 15 additions and 23 deletions
|
@ -18,7 +18,8 @@ class BaseHandler {
|
|||
}
|
||||
|
||||
shippingAllowed() {
|
||||
return true;
|
||||
// Status of the shipping settings in WooCommerce.
|
||||
return this.buttonConfig.shipping.configured;
|
||||
}
|
||||
|
||||
transactionInfo() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue