Google Pay Test
This fairly minimum reproduction of a bug in how errors returned from paymentDataCallback are handled.
Shipping Options errors not respected:
- Click Pay
- Click "Not allowed shipping"
- (While an error is displayed, the option is still selected)
- Click "Not allowed shipping" again
- (No error is displayed, the option is still selected, callback count is not incremented)
Shipping Address errors not respected when re-selected:
- Click Pay
- Setup and select an address with state: IL
- (An error is displayed, the address is not selected)
- Click the IL address again
- (No error is displayed, the IL address is selected, callback count is not incremented)
View source