#paul_error

1 messages ยท Page 1 of 1 (latest)

dawn orbitBOT
#

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

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

rocky hazel
#

Hi there - can you give me the failing request? (req_123)

And, if you're able, a succeeding request from before today would be helpful, but I should be able to find it on my own if you don't have it

primal spade
#

Sure. The offending requests this morning came in from stripe accounts I don't control, but I ran some checkouts in test mode while fixing it. Hopefully that helps.

For context, we calculate automatic tax when a Buy and Ship order is placed, otherwise we use a manual tax for Buy and Pickup in Store

Old working request ID: req_YHuH8ZdQyrn12j
Erroring request ID: req_bzNHYiXwavODwk
Post-fix working request ID: req_QQF8mFT6AfDh0L

rocky hazel
#

ok just give me a few minutes to compare these

#

okay, the failing request req_bzNHYiXwavODwk explicitly passes tax rates (txr_123) in its line items, but the other two do not, so these are not exactly apples and apples

dawn orbitBOT
primal spade
#

Let me take a look at my commit history. I am almost positive I have been passing manual tax rates for years

rocky hazel
#

The crux of the matter is passing manual tax rates while also passing automatic_tax.enabled=true

primal spade
#

Oop, found it. Rogue developer removed a null. Sorry for the confusion!

rocky hazel
#

Maybe it was Claude ๐Ÿ˜„

#

no problem!