#FSOCIETY
1 messages · Page 1 of 1 (latest)
👋 happy to help
Hey! Thanks 🙂
do you mean the subscription getting close to expiry date?
you can listen to invoice.upcoming event
I mean handling subscription expires.. Because im giving things that i need to take away in situation as subscription expire
in that case you can look at this section https://stripe.com/docs/billing/subscriptions/webhooks#state-changes
depending on the status of the subscription that you get from customer.subscription.updated
and event customer.subscription.deleted can be used when the subscription is canceled
perfect, thanks!
Another question for you mate
Im facing a bit of inconsistency with the latency of creating stripe customers using the nodejs module
could you please elaborate more?
Im using Next.js with next-auth (Using the Discord provider and MongoDB as the db adapter)
When creating a user im basically attaching a customer id created by stripe.. and sometimes that takes longer then expected:(
how long are we talking about?
About 5-10s delay
Maybe because im using got as my http request module? Maybe its too slow?
if you give me a request id I could take a look how much it took from our end
maybe the delay is coming from your end as you described
Where can i view thise requests ids?
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.