#chunkyboi_api

1 messages ¡ Page 1 of 1 (latest)

tranquil merlinBOT
#

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

📝 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.

urban zenith
long tendon
#

Gotcha and how do I specify for one-off payments on checkout sessions?

#

and can I attach product/prices to these one off payments?

#

for example, I have the following:

  1. $10 = 10 credits
  2. $20 = 30 credits

And I'd like to only allow customers to purchase productes with these set prices

urban zenith
#

mode: 'payment' and only use one-off prices. And yep, products and prices support that, you can just create prices and don't set any of the recurring settings

#

So you can create a 10 credits product, create a one time $10 price on it, same thing with the other credit amounts, and then just add the appropriate price to your checkout sessions.

long tendon
#

gotcha, that's awesome

#

and what's the verdict on products + pricing configurations

#

and I attached 2 different prices to it

#

is it recommended to go with this setup or creating 1 product : 1 price

#

the main goal here is we want to enable users to be able to upgrade/downgrade between different price levesl for a singular product

urban zenith
#

You can have however many prices make sense for your usecase. The recommended way to model this is that a product is a specific thing you sell and prices are the different amounts you charge for that specific thing. So like Silver tier vs Gold tier would be two separate products, and then if you charge 10 USD or 20 CAD for Silver tier those would be two prices on it.

long tendon
#

AHHH i see ok that makes sense

#

thank you very much

#

so prices is more fore multi-currency support?

urban zenith
#

That's definitely one of the most common use-cases. Another one is different period subscriptions, ex: $10/month or $100/year

long tendon
#

Ahhh I see, that makes sense

#

thank you very much!