#thefron_code

1 messages ยท Page 1 of 1 (latest)

vale quiverBOT
#

๐Ÿ‘‹ 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/1237911846938345615

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

young birch
gaunt vortex
#

If I set default price of the product, then which price id should I use to create checkout session?

young birch
#

Hmmm I think we may be missing the point of upsells. The upsell is supposed to be the price you want to entice your customers to change to after they have been presented with a less desirable price

#

If you want your checkout session to default to Annual but allow switching the monthly, you would change the annual Price object to "upsell" to the Monthly price and then create the Session with the Annual price

gaunt vortex
#

It seems like I can only set price with longer billing period as upsell, meaning I can't use monthly price as upsell option to annual..

young birch
#

Okay, I thought that was what we meant but I wasn't sure if we would allow you to go the other way.

#

It's the intent of the upsell, offering a discount over time for a larger amount of money up front.

fair knotBOT
gaunt vortex
#

Yes, we want to offer a discount with the annual option, but at the same time, we wanted to make the annual option the default. Users might opt for monthly since showing the checkout page with the upsell checkbox unchecked mostly led users to choose monthly. Initially, we implemented a monthly/annual checkbox on our page with the annual option as the default. We later opted for the upsell feature since it seemed like the more official way to do it, but we wanted to make sure if we could set the annual (upsell option) as the default choice.

lunar sky
#

Hi @gaunt vortex I'm taking over this thread. Give me a sec to catch up with the previous conversations

gaunt vortex
#

Sure

lunar sky
#

So basically you want to present the annual plan to your customer first, and offer an option to upsell to the monthly plan?

gaunt vortex
#

That's right.

#

I mean annual price can be upsell option, but wanted to make this toggled on by default

lunar sky
#

Ah, so you want this toggle to be on by default

gaunt vortex
#

Yes

lunar sky
#

I'm afraid that there's no option to make the upsell toggle on by default.