#bkj2002

1 messages · Page 1 of 1 (latest)

crimson belfryBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

sonic monolith
#

👋 happy to help

#

in all cases the Payment Intent needs to have a Payment Method

ember arch
sonic monolith
#

the error you're getting is because you're not collecting a Payment Method before capturing a PaymentIntent

#

which even if you did the capture would fail because the PaymentIntent would have been confirmed

#

since you're not passing capture_method: 'manual' in your create PaymentIntent options

ember arch
#

okay, thanks for reply

#

after modified code, same error return:
This PaymentIntent could not be captured because it has a status of requires_payment_method. Only a PaymentIntent with one of the following statuses may be captured: requires_capture.

sonic monolith
#

did you collect a Payment Method?

ember arch
sonic monolith
crimson belfryBOT
ember arch
#

req_gtEnrlIYI4ifzh

this is my request id

marsh knoll
#

you have to actually process the payment before you can capture it.

#

meaning, confirm it(for example by using stripe.js with Elements on the frontend, per the gudies linked above).

ember arch
#

okay, I'm very confused please help me and tell me full procedure for this:

when a customer add items to its cart, at this time I want to capture this amount of time when finally order placed this amount is deducted but if the amount is not sufficient when I checked when user add items to cart this time I tell user he/she not have sufficient amount, how I do it if possible

ember arch