#haroonzuberi

1 messages · Page 1 of 1 (latest)

heavy swallowBOT
outer wedge
#

Hi there!

#

How can I help?

#

@lusty elbow please type your question in this thread

#

@lusty elbow here

lusty elbow
#

Hello @outer wedge

#

How are you?

outer wedge
#

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.

lusty elbow
#

thank you, I was about to do the same

outer wedge
#

So what is your question?

lusty elbow
#

can you tell me what is the process to do it using stripe-php

outer wedge
#

To do which part exactly?

lusty elbow
#

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

outer wedge
lusty elbow
#

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?

outer wedge
#

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.

lusty elbow
#

I already have gone through it.
always_invoice is the parameter for immediate invoice

outer wedge
#

always_invoice is the parameter for immediate invoice
Correct