#krishna-awate_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/1231847239719059578
đ 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.
- krishna_subscription-setupfee, 3 days ago, 63 messages
- krishna-awate_api, 3 days ago, 29 messages
Hi there, here's my suggestion
- Create a new price with same unit amount, set its
intervaltomonthandinterval_countto 3 - Update the subscription with the new price https://docs.stripe.com/billing/subscriptions/upgrade-downgrade?lang=node#changing
const recurringPrice = await stripe.prices.create(
{
unit_amount: planAmount,
currency: currency.toLowerCase(),
recurring: { interval: "month", interval_count: 3 },
product: recurringProduct.id,
},
{
stripeAccount: stripeAcId,
}
);
is it like this?
Yes
Okay sir. Let me check one transaction
Still it is showing next Invoice for next month not after 3 months
sub_1P8G3DDBfYojrB0WuAB9fttg
That's because you specify a trial, which ends on 22 May
If you check the next billing cycle (22 May - 22 Aug), it's indeed 3 months
Okay let me charge 300 next invoice
By run sumulation
simulation
Yeah right after that it will charge on 22nd Aug
Thank you so much for your help sir.
Happy to help!