#ali_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/1227653099725000735
đ 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.
Hello! I don't think you can disable that. It's a convenience feature that lets the customer do that on the Checkout page instead of backing out to the Pricing Table and choosing a different option.
but in this case also the free trial moves from current product to switched product and i dont want this. if i implement this flow with code: https://docs.stripe.com/billing/subscriptions/overview can i remove this option?
Oh, hang on, do you have cross-sells configured for the Products you're using? https://docs.stripe.com/payments/checkout/cross-sells
no i dont have cross sell
this is my product link https://dashboard.stripe.com/test/products/prod_PtljzT7QnqpCI5
Hm, okay. I'm checking internally to see if there's anything I misssed, hang on...
ok
The trial period you mentioned, where is that being configured?
from pricing table settings
Okay, that's what I thought. Hang on...
Okay, so we've confirmed this is intentional behavior as documented here: https://docs.stripe.com/payments/checkout/upsells#trial-behavior
That said, this seems like an oversight. If you're not able to disable cross-sells between Pricing Table options and you only want a trial on some of those options that's not possible today. We're going to flag internally and see if we can improve this in the future, but for now there's no way to do what you want with a Pricing Table.
The workaround would be to build your own pricing table instead of using ours, and create the Checkout Sessions via the API: https://docs.stripe.com/api/checkout/sessions
ok thank you. i just need to call the checkout api? i dont need any other apis for create subscription in this case?
like creat invoice or somthing like this
No, if you create the Checkout Session in subscription mode it will create the Subscription for you. Pricing Table creates Checkout Sessions behind the scenes that do the same thing.
The end result will be very similar to the Pricing Table, just without the pricing table part being taken care of by Stripe.
thanks a lot. this was very very helpful
Always happy to help!