#DOWNTOWN - JS Error

1 messages · Page 1 of 1 (latest)

languid moth
#

HI 👋

old dirge
#

Hey

#

I noticed that in my test/settings/tax dashboard, the test mode has the following (see screenshot) while the production mode does not

#

Is this a new addition? because I swore my tax feature was working properly just a few days ago on test mode

languid moth
#

Stripe Tax is a separate product

old dirge
#

So.. any idea what I can do here?

languid moth
#

What is it you are trying to do?

#

Where is the error showing up?

old dirge
#

The error shows up when I pass to checkout after having added items to cart. Could you please first tell me if anything seems out of order on my dashboard in the first set of screenshots I sent you?

old dirge
languid moth
#

Can you share the request ID for the API request you used to create the checkout session?

old dirge
#

I'm not sure how I would retrieve that

#

here's the code for the checkout session tho

languid moth
old dirge
#

oh i see

languid moth
#

A photo of code is not super useful in this context. The request ID will help

old dirge
#

req_lgMwXQqVJ22uLE

#

try this maybe?

#

That's from 30 minutes ago though

#

I just tried to checkout again right now, and there has been no new log

languid moth
#

Sometimes you have to clear the filters that are automaticall applied

old dirge
#

there are none applied

languid moth
#

NVM. I found one

old dirge
#

yeah, that's 30 mins ago, not now

#

i tried one 5 minutes ago

#

it's not appearing on here

languid moth
#

Most recent one in your logs

old dirge
#

yes but that doesn't matter because when I can reach checkout, I know the tax collection works

#

the issue is I can't reach checkout anymore

#

for whatever reason

#

I haven't touched the code lol

#

ok hang on, I just tried on my local server and I can check out

#

so when i deploy my code, I can't collect tax in test mode?

#

so in localhost I can hit checkout, but on my Vercel test url I can't

pliant bear
#

Hi, snufkin had to step out but I can help. What is the error that you are getting when you try this in test mode?

#

And what error are you getting when you try to navigate to Checkout?

old dirge
#

We can skip that for now, the question I have is the following:

Does test mode only work in localhost? For some reason I'm able to check out in localhost but not when I deploy to Vercel

pliant bear
#

None of our test mode functionality should only work on localhost. What is the error that you are seeing there again?

old dirge
#

the following:

#

however on localhost it checks out just fine

pliant bear
#

That error is being forwarded from your server, correct?

#

Can you see what function is returning that error on your server and get the request ID from the call that it is making? I am having trouble seeing where that error is coming from at the moment