#bkj2002
1 messages · Page 1 of 1 (latest)
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.
- bkj2002, 2 hours ago, 2 messages
👋 happy to help
the Capture method is used in the case where you're placing a hold on a payment method https://stripe.com/docs/payments/place-a-hold-on-a-payment-method
in all cases the Payment Intent needs to have a Payment Method
thanks for reply, I also follow this docs but i not used this:
payment_method_types: ['card', 'giropay'],
payment_method_options: {
card: {
capture_method: 'manual',
},
can you tell me, i am fetching this error because of this
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
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.
did you collect a Payment Method?
https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements#web-collect-payment-details
this step that I linked earlier
yes
would you mind sharing the request ID that failed? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
req_gtEnrlIYI4ifzh
this is my request id
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).
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
if it is possible using this, so please give me an example