#haroonzuberi
1 messages · Page 1 of 1 (latest)
Hi there!
How can I help?
@lusty elbow please type your question in this thread
@lusty elbow here
Pasting your message here:
I am using stripe subscriptions in my website, I am trying to make up a process for upgrade and downgrade the subscription, when the user upgrade its subscription then the subscription will be upgraded immediately, and the user will be redirected to the stripe payment link to pay the remaining amount for the new package.
thank you, I was about to do the same
So what is your question?
can you tell me what is the process to do it using stripe-php
To do which part exactly?
like how can I upgrade the subsccription and then generate the payment link for it?
I upgrade the subscription by changing one of its items but it didn't put any effect on it
This is how you upgrade/downgrade a subscription: https://stripe.com/docs/billing/subscriptions/upgrade-downgrade
No need for a payment link, if the customer already has a payment method saved, it will be charged automatically
so you are saying that we simply need to update the new plan id, and then it will automatically be charged
and when will the next invoice will be generated after that?
so you are saying that we simply need to update the new plan id, and then it will automatically be charged
Yes, assuming the customer has a default payment method
and when will the next invoice will be generated after that?
It depends. The invoice can happen immediately, or for the next billing period.
I recommend reading the link I shared in details, since it explains all of this.
I already have gone through it.
always_invoice is the parameter for immediate invoice
always_invoice is the parameter for immediate invoice
Correct