Open jrick1229 opened 4 years ago
I worked @jrick1229 and can add a bit more information.
The error we were receiving was Billing Phone is not a valid phone number
.
The customer reported that her Amazon account had no phone number, but either way it seems that Amazon was sending something that did not validate as a phone number.
I think it's unusual that WooCommerce validates phone numbers when the field is not required, but they seem to not be interested in evaluating that: https://github.com/woocommerce/woocommerce/issues/26895
So I think the answer here is probably to disable both validation and requirement on the phone fields when using Amazon Pay.
@dpanta94 We might need to check this one also on V2.
Describe the bug If a customer's Amazon account does not have a phone number, they're unable to submit their order during checkout. Even when the phone number is used on the checkout page, this is not passed over to Amazon during checkout. The customer is unable to correct this during checkout, so they are left with no way to submit the order.
To Reproduce Since this involves having an Amazon account with no phone number, I'm not really sure how to duplicate. If there is an account with no phone number, this can be duplicated by attempting to go through the normal checkout process.
Expected behavior I would assume the customer could either update their phone number when signing into their Amazon account during checkout, or the phone number is pulled from the checkout page.
WordPress Environment
Ticket: 3112081-zen Chat: 21685371-hc