#aravind_api

1 messages ¡ Page 1 of 1 (latest)

lapis moonBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1248220826688557117

📝 Have more to share? Add details, code, screenshots, videos, etc. below.

peak cave
#

Please Help on this

hard linden
#

hi! not really sure what you're asking, sorry.

peak cave
#

ok Actually I create a product which has two prices contains monthly and Yearly interval.
I want to know is if one price in subscribed and running. If I subscribe another price in same product.
that should start after current subscription ends. does it work

hard linden
#

you can't pass a monthly and a yearly Price to the same CheckoutSession, that returns an error.

peak cave
#

No seperate session I talking about

#

My thing is to achieve in One product has two recurring prices are created with monthly and Yearly interval.
1st time I have subscibed with monthly plan using checkout.
2nd time I am subscribing with Yearly plan in same product. My expection is to 2nd plan should start after 1st plan ends.

hard linden
#

that won't happen, you would just end up with two separate Subscriptions that are happening at the same time.

#

if you want that to happen, you'd need a much more bespoke integration where instead of using Checkout, you edit a SubscriptionSchedule on the existing Subscription to configure the yearly plan to start later.