- From: Marcos Cáceres <notifications@github.com>
- Date: Wed, 02 May 2018 15:28:46 -0700
- To: w3c/payment-request <payment-request@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 2 May 2018 22:29:10 UTC
Today, the merchant receives `response` after the user clicks “Pay” - so access to `.updateWith()`, which is only available via `PaymentRequestUpdateEvent`, is no longer accessible to them. So now they only have one option: call `response.complete(validationResult)`. Remember also that at this point, the payment sheet is showing only a spinner, waiting for the payment to `complete()`. So, there is fundamentally no way to for the merchant to signal “something is wrong with their email, but the user can fix it!”. That’s what `.retry()` does: it removes the spinner, and brings back the form where the user can fix, for instance, their email. Hopefully that makes sense. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/payment-request/issues/705#issuecomment-386141154
Received on Wednesday, 2 May 2018 22:29:10 UTC