woocommerce / woocommerce-gateway-amazon-pay

Amazon Pay Gateway
20 stars 23 forks source link

When the #billing_address_2 and #shipping_address_2 fields are hidden on the checkout form, they are undefined when using Amazon Pay #258

Closed ChristianAF closed 1 year ago

ChristianAF commented 1 year ago

Describe the bug When the #billing_address_2 and #shipping_address_2 fields are hidden on the checkout form, they are undefined when using Amazon Pay if the user has no info on those fields.

Screenshots image

Expected behavior fields should be ignored if they don't have information.

Isolating the problem (mark completed items with an [x]):

ChristianAF commented 1 year ago

Something related to WooCommerce v7.5 fixed on v7.6

ChristianAF commented 1 year ago

Some users still say that Woo version 7.6 did not fix the issue.

ChristianAF commented 1 year ago

https://github.com/woocommerce/woocommerce/issues/37736

thisissandip commented 1 year ago

Hey,

I tested with WooCommerce 7.6 and hid all checkout fields from Appearances > Customize > WooCommerce > Checkout and confirm this is reproducible.

4cVcmF.png

This issue has been logged here: https://github.com/woocommerce/woocommerce/issues/37627#issuecomment-1515809125 and devs already have a fix which will be out in the next release

ChristianAF commented 1 year ago

Seems to be fixed