#Shefin
1 messages · Page 1 of 1 (latest)
Hi
The subscription start date is it's creation date. If you want to start the Subscription later you should probably start the subscription in future date.
If I have subscription which renews on 4th and because of the wait time of 26 hours the actual payment succeeds on 5th , but the start date in the invoice.payment_succeeded event is 4th and not 5th
Yes that's normal because the billing cycle start on 4th... otherwise you'll have gapes in the billing cycle of your Subscription.
Since I rely on the invoice.payment_succeeded event for registering the subscriptions in our DB, the subscriber always gets 1 day less
Don't rely on when you receive the date of the event but you need to rely on the start date of the invoice's items. It's normal to have 1 day less, you simply backdate the susbcription.
Yes, thats what I use - "period" : {
"end": ,
"start":
},
So it's normal to have "1 day less"... that's the billing cycle of your subscription.
ok. since its 26 hours now and not 72 as before, i think it shouldn't be big problem now . Thanks for the help
Can I add one more question in the same thread?
yes of course.
Possible to allow upgrade of plans with in of the Stripe checkout ? The plans available for upgrade will be dynamic, so is there a way to pass the plans/prices to the checkout at the time of session creation?
Nope, you need to use customer portal for that:
https://stripe.com/docs/customer-management
Can I decide the plans/prices available for upgrade based on a customer, or is it fixed?
Yes you can specify this in the portal configuration per customer:
https://stripe.com/docs/customer-management/configure-portal
I can see only Billing information, Payment methods and Promotion codes as configurable. What am I missing?
👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
No thats all, thanks