#mohit_39749
1 messages · Page 1 of 1 (latest)
hi! I don't really understand. What are you trying to do overall?
The error message is quite clear I think.
let me explain , because I am alrready with someone
therefore I have to tell whole story again
w8
StripeInvalidRequestError: 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.
I am facing above error while using paymentIntent capture
this is the first error I jave faced
then when I capture the some amunt of payment like 20%
then I need after some event succesfull I want to release that 80 % after
after first capure the success become succeed, there fore not able to cancel or recapture the paymentintent
how should I relase the remaining one
hmm, that happens automatically.
https://stripe.com/docs/payments/place-a-hold-on-a-payment-method#capture-funds:~:text=A partial capture automatically releases the remaining amount.
A partial capture automatically releases the remaining amount.
if you authorise a payment for $100, and then you capture $20, the remaining $80 is automatically released back to the customer. That's what you want, right?
not I do not want automatically
it should be done when some event occur or I want to do manually
what is "It" in that sentence, what is is that you want to happen manually? the capture, or the release of the excess funds?
"paymentInfo": {
"id": "pi_3OFEQRKUlkWJEm6X1p22Ab41",
"object": "payment_intent",
"amount": 2000,
"amount_capturable": 2000,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret":
this is like response object while we create the pi
so iwant that when first capture done then amount_caputrable becomes 1400 and amount received becomes 600 then I want after this next capture should be of amount_caputrable becomes 0 and amount received becomes 2000
then that is not supported by default.
what you want is called "multi-capture" and is not part of the public API but I believe we have some betas or private features to enable it, if you ask https://support.stripe.com/?contact=true or your account manager if you have one.
then what shuld I do instead
if I want this then how much time it willl take
if you authorise a payment for $100, and then you capture $20, the remaining $80 is automatically released back to the customer. That's what you want, right?
not sure what you mean by "how much time".
are you asking how long it will take for the customer to see the funds released on their bank statement?
How can i get the remaining amount
sorry, you never answered my last question before asking a new one.
Yes in stripe
Same Question which one i send you the screenshot of remaining amount
can you elaborate? but like it's simply "amount - amount_received"
as far as I know the answer to that question is "it depends on the customer's bank", we don't know or control that. We'd process the return immediately on our side.
You see my screenshot there is some remaining amount i need to when i run some query then it will be release
Which method i can use for this
I don't understand sorry. In your screnshot that money is already released.
if you're asking when the customer will see it, I answered that above as best as I can.
ok So what is the Use of Captured Amount
If Stripe account get the full amount then why we captured 30% Payment
So you mean 70% payment will automatic release i am right ??
that is the meaning of
A partial capture automatically releases the remaining amount.
yes.
unfortuantely I'm not sure I'm understand you, it's extremely difficult to understand through the language barrier, sorry.
ok Please let me know this
the paymentIntent is automatically generated in test mode but how it is possible that without taking card number or any form filling it is creating the entry so I want that it should I have the ui for filling the form before payment Intent has been created or is there any field for card number or anythingwhile creating the payment intent .