#boris_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1316473967891972137
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, with pre-ordering, it might be more helpful to use SetupIntents, https://docs.stripe.com/payments/save-and-reuse where you collect the payment method details in advance and then charge the payment method after the sms-auction. Alternatively, you can place a temporary hold on the payment method, https://docs.stripe.com/payments/place-a-hold-on-a-payment-method and then charge after the sms-auction.
Ok. Thank you, i will check on the SetupIntent. But speaking about temporary hold. Isn't it required to know exact amount when i create one? Can i change amount after i hold on the method?
And if you were me, what would you use for implementing auction-like functionality from the backend side? Maybe PaymentIntent just not a proper tool for this?
You can place a hold for certain amount but can capture less than the amount you place the hold for.
For example,
You can place a hold for $10 and capture just $5.
You can't place a hold for $10 and try to capture $20
Yeah. The problem is when my customer autorize the $150, later he will receive notification about new bid at $170 (for example), so he can increase the amount to $180 and confirm it without need to open the website.
In this case, i can't use a hold, because in my scenario, price always increases. And customer aware of it. And customer give me a consent to do it for him.
So it turns out, the SetupIntents is the only way to do it? Can they be embedded on the website?
I prefer React Elements lib, so it looks nicely on the website. Would it work for SetupIntents as well? Or it has limited customization?
Correct. In that case, you'd need to cancel the previous hold and place a new one but that'd look bad on customer's bank statement.
A better approach would be to use SetupIntents, yes.
Yup, you can use SetupIntents API with Stripe Elements
Any chance, you have a demo page for SetupIntent?
We have a doc here that has step by step instructions on how you can integrate SetupIntents with Elements- https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements