#kasun_error

1 messages ยท Page 1 of 1 (latest)

robust shellBOT
#

๐Ÿ‘‹ 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/1217431527173128305

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

crisp egretBOT
digital ridge
#

Yep, not supported today I'm afraid

foggy oxide
#

any workarounds :/

#

if there is a site wide promo code it cannot be applied to this checkout

digital ridge
#

Well you can't stack coupons anyway so it would override the coupon applied via discounts hypothetically

foggy oxide
#

i see

#

thats bad :/

digital ridge
#

Being able to pass discounts and allow_promotion_codes is feedback we've heard before. In the meantime you'll just need to workaround the limtiation

foggy oxide
#

cool hope it will work soon, i dont think its hard to add
discounts are applied at the API level anyways when creating the checkout. promo codes can apply on top of that, or even add a param to support the behavior

digital ridge
#

Sounds good

foggy oxide
#

@digital ridge is it possible to create a discount code and send it with checkout url so in client side it will be applied automatically?

#

instead of adding it to the discounts array?

digital ridge
#

Not with Checkout Sessions, no

foggy oxide
#

๐Ÿ˜ฆ

#

what are our other options :/

digital ridge
#

None really with Checkout

foggy oxide
#

๐Ÿ˜ฆ this is a bad exp indeed

digital ridge
#
  1. You can't stack coupons/discounts today on any Stripe API or UI
  2. Checkout doesn't support both allow_promotion_codes ,discounts parameters in a single session
#

You need to work within those limitations