issues
search
woocommerce
/
woocommerce-paypal-payments
https://wordpress.org/plugins/woocommerce-paypal-payments/
GNU General Public License v2.0
61
stars
47
forks
source link
Google Pay: Fix issuse with data.paymentSource being undefined (3313)
#2390
Open
danieldudzic
opened
2 days ago
danieldudzic
commented
2 days ago
Description
This PR fixes:
Issue with
data.paymentSource
being undefined for Google Pay and throwing an error.
Issue with
shippingAllowed()
boolean being hardcoded resulting in incorrect shipping data being sent to Google Pay.
Steps to Test
Activate Google Pay.
Test the following scenarios for Classic Cart/Checkout and Block Cart/Checkout pages:
Shipping callback disabled / shipping not configured
Shipping callback enabled / shipping not configured
Shipping callback disabled / shipping configured
Shipping callback enabled / shipping not configured
Confirm Google Pay orders go through for each scenario.
Screenshots
N/A
Description
This PR fixes:
data.paymentSource
being undefined for Google Pay and throwing an error.shippingAllowed()
boolean being hardcoded resulting in incorrect shipping data being sent to Google Pay.Steps to Test
Screenshots
N/A