Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for PaymentValidationErrors #306

Open
ianbjacobs opened this issue Jul 17, 2018 · 2 comments
Open

Add support for PaymentValidationErrors #306

ianbjacobs opened this issue Jul 17, 2018 · 2 comments

Comments

@ianbjacobs
Copy link
Contributor

With the addition of retry() to Payment Request, we will want payment handlers to have access to PaymentValidationErrors.paymentMethod.

@ianbjacobs
Copy link
Contributor Author

@rsolomakhin and I discussed some scenarios, including:

  • User billing address is for some reason incorrect, and payment handler should be aware of that.
  • Specific payment instrument managed by the payment handler cannot be used, and the payment handler needs to know which one.

@ianbjacobs
Copy link
Contributor Author

Adding a note here from a 2018 discussion:

  • Do we need a PaymentRetryEvent event for payment handlers that has the original paymentRequestEventInit data + previous response + error data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant