#jussch_best-practices
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/1268176896710148218
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, no, the service is not online yet, i just think that this will be the average time!
in that case https://docs.stripe.com/payments/incremental-authorization is your best option
so you can start with a minimum of 2h and each hour your increase the authorization
with a cron job
ok, but isn't the limit of incrementing 10 times? what if the user stays long enough to reach that time? just create another payment intent?
yeah i would say so, you can increment each 2h or each x-h depending on your use case
ok, thanks that helped! One more thing about it! Would you say it is then better to add the hourly rate after each full hour or calculate how much of the hour the user rented and get the portion of the hourly_rate?
bbnb