#mohit_39749

1 messages · Page 1 of 1 (latest)

digital mothBOT
frigid moss
#

hi! I don't really understand. What are you trying to do overall?

The error message is quite clear I think.

errant lynx
#

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

frigid moss
errant lynx
#

not I do not want automatically

#

it should be done when some event occur or I want to do manually

frigid moss
#

what is "It" in that sentence, what is is that you want to happen manually? the capture, or the release of the excess funds?

errant lynx
#

"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

frigid moss
#

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.

errant lynx
#

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?

frigid moss
#

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?

errant lynx
#

How can i get the remaining amount

frigid moss
#

sorry, you never answered my last question before asking a new one.

errant lynx
#

Same Question which one i send you the screenshot of remaining amount

frigid moss
frigid moss
# errant lynx Yes in stripe

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.

errant lynx
#

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

frigid moss
#

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.

errant lynx
#

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 ??

frigid moss
#

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.

errant lynx
#

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 .

frigid moss
#

sorry that is a wall of text I can't understand.

#

you need to always use Elements or Checkout to collect card details, you never pass them directly to the API.