#chunkyboi_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/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.
- chunkyboi_webhooks, 2 days ago, 8 messages
- chunkyboi_api, 2 days ago, 78 messages
Hello, yes Checkout has a setting for invoice generation on one-off payments! https://docs.stripe.com/api/checkout/sessions/object?api-version=2025-08-27.basil#checkout_session_object-invoice_creation
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:
- $10 = 10 credits
- $20 = 30 credits
And I'd like to only allow customers to purchase productes with these set prices
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.
gotcha, that's awesome
and what's the verdict on products + pricing configurations
for example, for the recurring subscription, I currently just have a singular product: https://dashboard.stripe.com/acct_1S8u28EsEIWx7LWK/test/products/prod_T6QxKuFCipCuu9
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
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
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.
AHHH i see ok that makes sense
thank you very much
so prices is more fore multi-currency support?
That's definitely one of the most common use-cases. Another one is different period subscriptions, ex: $10/month or $100/year