-
-
Notifications
You must be signed in to change notification settings - Fork 523
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
Invalid argument(s): requires_capture
is not one of the supported values: requires_payment_method, requires_confirmation, requires_action, processing, succeeded, canceled
#1421
Comments
Hey @reginojohnrobert . I think i may know the solution to this! I was using flutter_stripe package on web to handle 3D Secure. We created the paymentintent on our server but handle the 3d Secure flow in app with the flutter_stripe package. I encountered this issue when we passed this property when creating the payment intent:
When I removed the above line of code, it started working! |
@victorkennedys unfortunately, this also means we can't manually capture the payment though - removing |
The docs for PaymentIntent flutter_stripe/packages/stripe_js/lib/src/api/payment_intents/payment_intent.dart Line 258 in 644cea0
However, in the definition of flutter_stripe/packages/stripe_js/lib/src/api/payment_intents/payment_intent_status.dart Line 7 in 644cea0
|
Working on a fix #1431 |
@jonasbark @BakerSmithA |
I am getting this error on web
Invalid argument(s):
requires_captureis not one of the supported values: requires_payment_method, requires_confirmation, requires_action, processing, succeeded, canceled
after calling the WebStripe.instance.confirmPaymentElement() function
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should'n throw a parsing error.
Additional context
Our BE uses the status requires_capture instead of succeed
The text was updated successfully, but these errors were encountered: