#denis_api

1 messages · Page 1 of 1 (latest)

silent spindleBOT
#

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

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

jovial cairn
#

It would also be enough if you could modify a discount code to say: There must be 5x this product in the “shopping cart” for the code to be applied

swift barnBOT
hollow sail
#

Hi 👋 can you tell me more about what you mean when you say you want to provide a quantity discount?

#

Promotion codes don't offer that kind of restriction currently, but I can file feedback that that's something you'd be interested in seeing added in the future.

jovial cairn
#

We offer a product that allows you to purchase the same item multiple times, such as buying it five times. When you do, you should automatically receive a discount.

hollow sail
jovial cairn
#

Yes, thats right

#

But this is only for subscriptions

hollow sail
#

It's not, it will work with one-time payments, as long as you don't create a recurring Price. You can provide the ID of the Price you create when creating your Payment Link:
https://docs.stripe.com/api/payment-link/create#create_payment_link-line_items-price

Can you help me understand what gave you that impression so I can review our documentation and determine if they need to be revised?

jovial cairn
#

do you maybe have a javascript snippet or something like this?

hollow sail
#

For what?

jovial cairn
#

For the creating of the tiered Price

#

oh nvm. my bad

#

"Can you help me understand what gave you that impression so I can review our documentation and determine if they need to be revised?"

Because on top of the site its "billing / subscriptions" and the title of the side is Recurring price models

#

And as a user, can you see in the checkout that you have received a tiered Price ?

hollow sail
#

Ah, good point! I agree that is a bit confusing and will flag that to see if we can help make that more clear.

Yup, the amount should adjust dynamically in the UI we show to the customer.

silent spindleBOT
jovial cairn
#

Okay, but would the user recognize that he has received a discount? That would be important to us

#

For example, once the original price and once the price with discount, similar to a coupon

hollow sail
#

I'm not sure exactly what you're looking for, so I would suggest testing this in testmode and see if it shows what you're hoping.