Google Pay Test

This fairly minimum reproduction of a bug in how errors returned from paymentDataCallback are handled.

Shipping Options errors not respected:

  1. Click Pay
  2. Click "Not allowed shipping"
  3. (While an error is displayed, the option is still selected)
  4. Click "Not allowed shipping" again
  5. (No error is displayed, the option is still selected, callback count is not incremented)

Shipping Address errors not respected when re-selected:

  1. Click Pay
  2. Setup and select an address with state: IL
  3. (An error is displayed, the address is not selected)
  4. Click the IL address again
  5. (No error is displayed, the IL address is selected, callback count is not incremented)

View source