#harry89pl_docs

1 messages ¡ Page 1 of 1 (latest)

fleet sierraBOT
#

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

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

sly jewelBOT
dark sail
#

No you can't add one-time line items to a subscription

#

What is it you're trying to do exactly?

merry flume
#

I want to to be able to buy multiple pcs of one time price in single order/checkout.

For now I'm able to create price as one time by simply not providing recurring property in data send to stripe create price endpoint. But in documentation of quantities it's described that field recurring with nested property named usage_type is required and I wonder how to do it in my case.

dark sail
#

OK, but you're using the Subscriptions API yes?

#

I want to to be able to buy multiple pcs of one time price in single order/checkout.
What is 'checkout' in the context of Stripe? Which APIs/UIs are you using?

merry flume
#

Not sure. I use stripe.prices.create() method from your js sdk. Dunno if that is part of subscriptions API or not

#

I'm talking about adding new prices to existing products.

light niche
#

Hi! I'm taking over from my colleague. Please, give me a moment to catch up.

#

Not sure what you're trying to achieve exactly. What kind of payment integration do you have? Do you use Stripe Checkout?

merry flume
light niche
#

Are you using Stripe Payment Element on your checkout?

light niche
merry flume
#

Let me write an example of what I want to achive. Maybe it will make us on the same page.

I have a product with different price option available.

-some options are subscriptions (recurring monthly,yearly or whatever) - not case which I want to implements with quantity

  • other options are one time payments (you pay once and get access for some period of time or indefinitely)

Now client come to my checkout and buy single pcs of product in price option of choosing. - So far everything is working just fine.

Another bigger client let say some firm want to buy product for it's employees but they want to pay for multiple access for product but one time payment to not make it too complex for tax reasons or whatever.

And my question is. Is it possible to add such option to my price or not?

light niche