#whited-swang_code

1 messages · Page 1 of 1 (latest)

mild vortexBOT
#

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

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

burnt night
#

I also created a payment link in Stripe dashboard and it was able to successfully apply the discount code there. But the same code does not work in the checkout session.

small rock
burnt night
#

Sure, i think this is the relevant ID req_Dh3ipl7rzWIxNW

small rock
#

Based on req_Dh3ipl7rzWIxNW, the Checkout Session (Stripe hosted payment page) was created successfully.

What is the promo code you attempted to apply, so that I can reproduce the error?

burnt night
#

The promo code I tried to apply was "VIP555" ( Without the quotation marks )

small rock
#

The error was due to "This promotion code cannot be applied because it reduces the total below the minimum charge amount. https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts"

Charge customers in over 135 currencies with automatic conversion to your settlement currency including zero-decimal and three-decimal currency support. Stripe enforces a minimum payment amount for all charges to ensure Stripe fees don't exceed your charge.

#

The final amount after the discount is below the minimum charge amount that Stripe accepts

burnt night
#

Okay - it was my understanding that Stripe allowed you to do $0 transactions in checkout sessions. Is this not correct?

small rock
#

What is the discount amount / percentage of this promo code? Is this 100% off?

burnt night
#

Yes, it's 100% off.

#

On a one-time payment.

small rock
burnt night
#

Aha okay. Could you direct me to how I can update my API?

small rock
burnt night
#

Ok I see. I thought it was updated to a recent version but I guess it isn't. Thanks for your help!

small rock
#

No problem! Happy to help 😄