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

Stripe::InvalidRequestError in api/payments/payment_intents#failed #7062

Open
iHiD opened this issue Sep 6, 2024 · 0 comments
Open

Stripe::InvalidRequestError in api/payments/payment_intents#failed #7062

iHiD opened this issue Sep 6, 2024 · 0 comments

Comments

@iHiD
Copy link
Member

iHiD commented Sep 6, 2024

Error in v3

Stripe::InvalidRequestError in api/payments/payment_intents#failed
You cannot cancel this PaymentIntent because it has a status of succeeded. Only a PaymentIntent with one of the following statuses may be canceled: requires_payment_method, requires_capture, requires_confirmation, requires_action, processing.

View on Bugsnag

Stacktrace

app/commands/payments/stripe/payment_intent/cancel.rb:10 - call
app/controllers/api/payments/payment_intents_controller.rb:32 - failed
app/controllers/application_controller.rb:19 - process_action

View full stacktrace

Created automatically via Bugsnag

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

No branches or pull requests

1 participant