#nicolas_code

1 messages ¡ Page 1 of 1 (latest)

cloud lagoonBOT
#

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

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

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

autumn sentinel
#

hey there, can you share an example request ID where you encounter this error please?

misty prawn
#

I was browsing the logs, but I couldn't see the request in the logs

#

The reqeust are made from the checkout session created with the API.

autumn sentinel
#

Can you share an example checkout session ID then?

misty prawn
#

Is-it one valid ID ? cs_live_b1ImOypmBzDsKL7d5jZ3qeXTHTdjj8YYD6fvpMd8oJ1rC5LPtBigg72dni

#

Some product can use a 100% coupon, some not.
This product prod_Nf1rXSrbC7BNH8 can
This product prod_TY04ppfz0En6Bc can not

autumn sentinel
misty prawn
#

But why do some products can ? using the same API ?

autumn sentinel
#

Can you share an example session with that product that was able to use the coupon?

misty prawn
#

sure let me find one

#

Here is one session ID req_Ope4eZpyejzoyT

#

I've used product prod_Nf1rXSrbC7BNH8

#

And this coupon promo_1NAwmeEJmTgeBswZxjqXCQU0

autumn sentinel
#

Ah, its because that's a subscription/recurring price

#

those work with 100% off already

#

the limitation for no-cost orders by API version is related to payment mode only (one time payments)

#

The working session is mode=subscription while the not working one is mode=payment

#

That's the difference here

#

So for the payment mode ones, you need to use the newer API version in order for the 100% off promo code to be allowed

misty prawn
#

Thanks @autumn sentinel