#paul_error
1 messages ยท Page 1 of 1 (latest)
๐ 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.
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
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
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
Let me take a look at my commit history. I am almost positive I have been passing manual tax rates for years
The crux of the matter is passing manual tax rates while also passing automatic_tax.enabled=true
Oop, found it. Rogue developer removed a null. Sorry for the confusion!