#gaurav_api

1 messages ¡ Page 1 of 1 (latest)

wicked tartanBOT
#

👋 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/1250309934449557546

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

dusky flintBOT
merry imp
#

Onetime
Recurring monthly
Recurring yearly

Can customer subscribe to all and checkout using checkout api?

hoary skiff
#

No you can't create a subscription mode checkout session with prices of different recurring period.

#

But you can combine an one-time and monthly price in one checkout session.

merry imp
#

Right now I can only select monthly and One time. but not yearly

#

in that case I will need to change the yearly plan to one off and customer will need to renew again?

hoary skiff
#

You mean you want to cancel the subscription?

merry imp
#

no changing the yearly recurring to a onetime and keeping the validity for one year

#

that will work right?

hoary skiff
#

I still don't quite understand what you mean by changing "a recurring subscription to one-time", can you share with me an example?

merry imp
#

I have 3 services: Service a is just a one time payment. Service b is a monhtly recurring subscription. Service c is a yearly recurring subscription. Current I can checkout with Service a and b. If I add Service c I get an error

#

To be able to checkout with all the 3 service, I will need to change Service c from yearly recurring to a one time payment and keep the validity for one year and it will not automatically renew or charge the customer

hoary skiff
#

Ok, so you want to create an one-off invoice for service C ?

merry imp
#

I actually want it to be yearly recurring and be able to checkout at the same time, which currently is not happening

hoary skiff
#

I'm a bit confused.

merry imp
#

not the invoice I am not able to checkout with all the 3 services at one time

hoary skiff
#

You said "validity for one year and it will not automatically renew or charge the customer", and now you want " yearly recurring "

merry imp
#

Currently it is: Service a is just a one time payment. Service b is a monhtly recurring subscription. Service c is a yearly recurring subscription. I am not able to checout with all the 3 services together

hoary skiff
#

The alternatively is create another checkout session for service C itself.

#

So two checkout session

  1. for service A and B
  2. for service C
merry imp
#

That means customer will have to chechout 2 times?

hoary skiff
#

It would results in two subscriptions, one monthly and one yearly.

#

Yes you are right.

merry imp
#

I dont want that, hence I was thinking I will change the subscription type for Service c to one off

#

so it all happens in one checkout

hoary skiff
#

I have told you that's not possible.

#

You can't create a subscription that have prices with different recurring periods.