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

[ADMIN] Order cancel doen't work with Payment Intents captured payments #56

Closed
spaghetticode opened this issue May 15, 2020 · 0 comments · Fixed by #57
Closed

[ADMIN] Order cancel doen't work with Payment Intents captured payments #56

spaghetticode opened this issue May 15, 2020 · 0 comments · Fixed by #57
Assignees
Labels
bug Something isn't working

Comments

@spaghetticode
Copy link
Member

When trying to cancel an order with an already captured payment made using the Payment Intents API, the application raises an error with the following message from Stripe:

A PaymentIntent object can be canceled when it is in one of these statuses: 
requires_payment_method, requires_capture, requires_confirmation, requires_action

This error can be avoided by refunding the payment (instead of canceling it) during the order canceling process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant