#ChibiDragoon
1 messages ยท Page 1 of 1 (latest)
Can you elaborate on what it happening vs what you expect? Can you share the specific payment intent ID?
And which "wiki" or docs are you referring to?
here's the payment intent
pi_3NDuZXJFegpNwECy0ZvdaYNJ
I ment the documentation
https://stripe.com/docs/payments/place-a-hold-on-a-payment-method
Basically, I want to create a payment intent that will be charged on the client's card but we will have to manually take the money if something goes wrong
if by the 7th day we didnt get the money, it would go back to the user's card
oh i just saw it mentioned at the end that i need to use the confirm field
ok that's what I was missing. Thank you for your help ๐
is there somewhere on a payment intent that mentions what is the maximum date that you cancapture the amount? i know it's 7 days but there doesn't seem to be anywhere
ok yep, i was going to say you didnt use confirm: true during creation: https://dashboard.stripe.com/test/logs/req_5gEiLrGdIU0TCX
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
indeed ๐
also is there a way to refresh that 7 days or do i need to make another one?
basically i am making a Air BnB clone and 2 says before someone rent's an appartement i want to charge the client 500$ as a deposit for safety
do if there's an issue i can just take that money for repairs
the issue is that because the maximum is 7 days, if someone rents for a full month, i would have to create multiple paymentIntent on the client's card.
You'd need to create a new payment to extend that hold, note that means you'd have the same amount held on the card twice until the first was refunded
the end date for the capture window is not available but you can calculate from the created date on the Charge:
https://stripe.com/docs/api/charges/object#charge_object-created
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
and i'ts 7 days by default so i don't need to change anything in my api call correct?
Correct
ok good, since we cannot see a deadline i wasn't sure if it worked like that and I dont really wanna wait 7 days to know if it works that way haha