#john_zero-amount-checkout-potential-bug

1 messages ¡ Page 1 of 1 (latest)

mystic flareBOT
#

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

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

snow crest
#

We have begun encountering this error The Checkout Session's total amount due cannot be zero in 'payment' mode. when initiating Stripe checkout via API.

pearl glade
#

Hi there,
let me take a look real quick what I can find. Since this was just released, the doc's are still a bit sparsed.

snow crest
#

Howdy - soudns good.

#

Just seeing some coincidence that we started seeing this error for the first time today and it coincides with your API release.

The issue reported to us by our customers is that they are receiving errors when they checkout orders where the cost is fully covered by store credit, so they are starting a Stripe checkout for $0

pearl glade
#

Do you have a checkout session ID for me that I can look into?

snow crest
#

Will look

#

Request log ID if that helps: req_qreKMmSFG59vUB?

pearl glade
#

perfect. give me a sec to look into this

#

Ok just looked into it and as the error message in the request you shared states, we have a mininum amount for checkout sessions. For USD payments, this is $0.50. https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts
That has nothing to do with the recent API version change. Also, because it seems like your integration is using API version 2020-08-27 anyways and shouldn't be affected by any new API version.

snow crest
#

Ok interesting because AFAIK doing these $0 checkouts has always worked up until today (even though I know that they probably shouldn't based on what you said).

#

We thought perhaps this could be related to the release of Payment Records.

pearl glade
#

No, I don't believe so. Also because it seems like you are not using the newest API version anyways, so nothing should have changed for you.

snow crest
#

Ok appreciate your help!

pearl glade
#

No worries. Always happy to help.

snow crest
#

SOrry to bother you again, do you mind checking cs_live_a11Ybm5kvRbFcFztoi8ESAPsnmIaagljGSPHQq52vjWjN8LfAGdey8ztLc? This would have been a working scenario where we successfully initiated a $0 Stripe checkout.

pearl glade
#

No problem. Let me check.

#

I have a hunch but I gotta talk to my colleagues about this. So bear with me for a bit.

snow crest
#

Sure thing!

#

Apologies but I must step away but I shall respond to anything you share when I return later

#

Thank you.

pearl glade
#

My colleagues and I investigated this now for a while and didn't come to a conclusion. We already reached out to the product team. That's why we would like to move this to email if that is ok with you?
You will receive a direct message here on discord in a moment that will help you create a support ticket that goes directly to my team and we can move forward from there.
I will also close this thread in a few minutes, but you can always re-open a new thread. Whoever will be taking the thread, will see a reference to this conversation/thread too, so nothing gets lost.

mystic flareBOT
#

john_zero-amount-checkout-potential-bug