#ilyeselb_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1226791253547552859
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- ilyeselb_subscriptions-duplicate, 4 days ago, 15 messages
Ok, so you want to end the trial before upgrading?
yes end the trial upgrade the plan and put another trial , is it possible ?
Hmm, why another trial? you said you want to charge the customer, no?
ah yes , so how should i end the trial ?
https://docs.stripe.com/api/subscriptions/update#update_subscription-trial_end set trial_end to now
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
thanks
should i do them in the same time
the endTrial and the update o the plan in the subscirption
so the user get billed the new one
?
You need to end the trial before upgrading the subscription.
Yes it would, if you end the trial.
I'm a bit confused. In the beginning you said you want to charge the customer and that's why I suggested you to end the trial.
But now you said you don't want to charge.
Please tell me exactly what you want to achieve, you can walk me through an example if it helps.
the flow that was made in our app, is to let the user buy 2 subscriptions in the same checkout for that we created a one-time payment invoice in which the user pay for both subscription first month in the same chekcout.
after he paid we created two subscription for each plan selected with trials ( the first month ) ; we have an edge case where the user wants to upgrade one of the plans bought
so what i need is to remove the trial period from the subscription and update the plan price id to upgrade it
sounds good
so when i do that in the same time , should that work without billing the user the first plan ?
by first plan i mean the plan before upgradin