#clonx.eth
1 messages ยท Page 1 of 1 (latest)
Hi there, is it a one-time payment or recurring payments?
It would be a one time payemnt, so say for example, they pay 40 for the deposit and after 4-5 days we only charge them 26.50 and the next time they make a purchse same process
Ok, so you place a hold on the $40, and later capture $26.5 or other amount based on the usuage? will the capture amount > deposit?
exactly, capture shouldnt be more, were trying to figure out what to do in the case where capture would be more. but for now we assume capture is always less. for beta
Got it, if the capture amoutn is <= the deposit, and you capture it within 7 days. You can use this flow https://stripe.com/docs/payments/place-a-hold-on-a-payment-method
will this work with a payment link, even in the case we want to offer a 100% discount code?
Yes, https://stripe.com/docs/api/payment_links/payment_links/create?lang=php#create_payment_link-payment_intent_data-capture_method you can also set capture_method to manual in a payment link integration.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
seems like auth and capture is limited to 7 days. what if the rental extends to be longer?
Hi! I'm taking over this thread.
Yes it's 7 days by default. But you can try asking Stripe support if you are elligible for an extended capture period: https://support.stripe.com/contact
ok, thank you for the info, I'm sure ill be back ๐๐ผ
Actually one more question
Sure, how can I help?
Where does the payment-link on the client side fit into the flow. is there a success state or something?
Which flow? I'm not sure I follow your question.