#chetan.orahi
1 messages · Page 1 of 1 (latest)
It's expected as a rule from our end, where the invoice is always for the "previous" period
Then how would a developer handle this?
There is no way to know on which date the current plan will expire.
Is there any documentation for this.
Also, I am not getting v1/subscriptions API or event from stripe.
There is no way in v1/payment_pages you can tell is user has completed transaction or not.
Due to that we are loosing our customers. Specially recurring customers. Sometimes, same is happening for new customers as well.
For the event question, you can listen to checkout.session.completed webhook event for every successful transaction
For the previous question, can you elaborate a bit more? Like what exactly Invoice Id are you looking at and what date you want to know?
After that do we get customer.subscription.created or customer.subscription.updated webhook.
We are mainly handling this via webhook events.
current_period_end what will be the value of this key in the new webhook received?
The main issue here is it looks like we are not getting proper webhooks for renewal as we are facing most issues in either renewal or only 1 time purchase of subscription plan.