#paige_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/1447502145040547894
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ Happy to help
Thanks :)
It's not mandatory but recommended depending on your use cases. If your website is down, Stripe has a retry mechanisme
when a user gets redirected to pay, once they come back to my site, can't I just use stripe api for whether the subscription I sent them to has been paid for or not?
It's possible to do sync calls for Stripe APIs for sure without using Webhooks
There is nothing blocks you from accepting payment with Stripe without using webhooks
Webhooks becomes necessary for async payments
could you elaborate what you mean exactly by sync vs async payments? (or link something that explains it?) I'm not sure
Well - more so to reword, which cases (e.g. payment types or product types) would be sync and which would be async payments?
Card Payments are sync for example, Bank transfers and Debits are async
It depends on the type of the payment methods.
So essentially, once I accept bank transfer and debit (for example) as payment options I should in fact start using webhooks and not just rely on setting it to pending in my own db for a while and then checking a couple of days later?
Yes exactly
You set a webhook endpoint and simply get notified when you receive the Payment, or you pull periodically/daily the PaymentIntent status untill it becomes succeeded.
Welcome!