#pro-pooja_webhooks
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/1262698806588342292
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ happy to help
what do you mean by triggered by Stripe? as in for subscriptions?
Yes, charging for the subscription cycle. We have setting to charge user after some interval of failure
ok so there's a lot of thing that we need to address here
in all cases we normally don't recommend using the charge.* events when other events are available
so for example if you're creating a PaymentIntent we recommend using the payment_intent.* events
for subscriptions we recommend using invoice.* events
and if you have both recurring and one-off payments when you receive payment_intent.* events you check the invoice property on the PaymentIntent and if it's not null then you ignore the event
and you deal with it on the invoice side of things