#idmtr_api

1 messages ยท Page 1 of 1 (latest)

haughty cedarBOT
#

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

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

crude sequoia
#

Hi, let me help you with this.

#

What's not working for you exactly?

frigid peak
#

100% disount codes on Stripe Checkout page.

We generate a job ad payment on our website, with cupon codes allowed.

We want customers to apply codes on the Stripe Check out page. But codes appear invalid.

Do we have to include them while creating the Stripe Object on our client side code?

100% discount codes work fine on payment link, but not on Checkput page.

crude sequoia
#

Could you plase share the code?

#

What's the exact message you see?

frigid peak
#

This is not code relater its about does 100% code disocunts work with Stripe Checkout pages, or we need to pass the 100% discount ourselves.

Scenario:
Customer on our website makes a Job ad, goest to Stripe Checkout page, aplies 100% discount code - code is invalid. 99% discount code works.

Question: Is this intended behaviour or an error?

crude sequoia
#

Checkout should support 100% discounts. What Stripe API version are you using?

frigid peak
#

\Stripe\Stripe::setApiVersion("2022-11-15");

crude sequoia
#

It's only supported from version 2023-08-16

frigid peak
#

cool, ill update it on our siode, thank you so much for this! Save us a bunch of time coding a client side solution ๐Ÿ™‚

crude sequoia
#

Happy to help.