#momovsky_error

1 messages ¡ Page 1 of 1 (latest)

noble raptorBOT
#

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

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

clever marsh
clever marsh
#

@deep pumice

deep pumice
#

Yeah sorry i was looking for it

#

req_8LrpXPHVHUFGJG

clever marsh
#

I think it's because the cus_xxx is locked to EUR so the session has to be EUR (as a customer can't by multi-currency). The issue is then the localisation part, and I think because Stripe Tax is on there's no tax behavior set on the coupon/promotion code: mhttps://docs.stripe.com/payments/checkout/manual-currency-prices#add-multiple-currencies-to-a-price:~:text=For%20a%20Checkout%20Session%20using%20Stripe%20Tax%2C%20the%20tax_behavior%20on%20the%20Checkout%20Session%20is%20specified%20for%20the%20relevant%20currency%20for%20all%20of%20the%20Checkout%20Session%E2%80%99s%20prices%2C%20shipping%20rates%2C%20and%20discounts.

Present local currencies to customers with manual currency prices.

#

Annoying you can't see tax behavior for coupons/discounts, so it inherits the account default from here. Can you try updating yours there to 'exclusive'?

#

That matcches the value you have on the prices

deep pumice
#

sure, one moment, we will try this

noble raptorBOT
deep pumice
#

This did not help sadly, same error

ivory granite
#

hi! I'm taking over this thread.

#

can you share the new request ID?

deep pumice
#

req_eMo5XmuIKeJzkC

#

can it be that 'automatic_tax': {'enabled': True}
in params break something?

I tried without it, and it still fails

ivory granite
#

can you share the newest request ID?

deep pumice
#

req_BV9fBDLEAD9WvF

ivory granite
#

could you try the same with a brand new customer, to see if that changes anything?

deep pumice
#

This is one of the few customers that appear "broken" . We had 7 of those in the last week, the last this morning (UTC).
When I try my own customers, they work fine.

#

For those 7 customers this reproduces consistently

ivory granite
#

this has probabbly something to do with the default currency on the customer then. on the failed request you shared, the customer already has EUR as a default currency.

#

could you try to void all the customer's invoice, and try again?

deep pumice
#

Yep, will do.

But also, can we do something to bypass it automatically if it happens in the future?
Customer's currency is set to EUR, true, but we have EUR set both for a promo code and a price, why does this result in an error?

ivory granite
#

Customer's currency is set to EUR, true, but we have EUR set both for a promo code and a price, why does this result in an error?
not sure to be honest. but voiding all invoice should allow the customer to change its default currency.

deep pumice
#

Oh wait nevermind my last message I was looking at the wrong instance

#

Ok, thank you for your help, that will be all, we can close this ticket.

ivory granite
#

so did voiding the invoices work?

deep pumice
#

A person that handles invoices say that they are void already, apparently. So no.

noble raptorBOT
ivory granite
#

cus_RnNX0Z4wMB7fUL has one open invoice

#

this one: in_1QtmmBCrLGqcCDLGLSU2Ci8I

deep pumice
#

yes, sorry, we see it now. Can't void it because of an active checkout session.
Is there a way to find a checkout session id this is referring to so I can expire it?

round lynx
#

Hey! Taking over for my colleague. Let me catch up.

#

Is there a way to find a checkout session id this is referring to so I can expire it?
Can you share the Invoice Id ?

deep pumice
#

in_1QtmmBCrLGqcCDLGLSU2Ci8I

round lynx
#

Try checking the events in the bottom of the invoice details page

#

and check the creation request of that invoice

#

you should see the related Checkout Session

deep pumice
#

OK yeah voiding invoices helped

#

Thank you very much

round lynx
#

Great! happy to help!