#daniele-capuano_best-practices
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/1377227759558066246
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ happy to help
you can set multiple prices on the same product
but how are you charging your customers? I mean what integration flow are you using?
For each purchase will be generated a payment link with a defaul amount of coins
The desired behaviour should be to allow the user to change the amount from the stripe checkout page.
I was hoping for the price automatically changing in the checkout page based on the amount chosen from the user
that's not really possible unless you apply a minimum and maximum to the adjustable quantity per price
so basically you would have to create a payment link with the 3 prices
no even that won't work
sorry I'm trying to figure a clean way of doing this, but I don't think there is
Thank you!
I guess that the only way is to let the user select in advance the amount of coins to purchase and than calculate the price using an inline price
Is that correct?
not necessarily inline price
you can have the prices already created in Stripe
that's not the issue
the issue is that the adjustable quantity doesn't use tier based prices
Perfect! Really appreciated!
what I suggested is that you can offer 3 tiered prices to your customers before sending them to checkout
and based on which tier they chose you can set the adjustable minimum and maximum quantities accordingly
I think another option is https://docs.stripe.com/payments/checkout/dynamically-update-line-items?payment-ui=embedded-components which is a private feature