#linqisnice_unexpected

1 messages ¡ Page 1 of 1 (latest)

placid frostBOT
#

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

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

coarse swallow
#

everything else went well, no exceptions

ornate peak
coarse swallow
#

yes wait

#

req_myce9oEgJhVDE8

could it be this one?

#

or is it the one for POST /v1/checkout/sessions?
if so its this one req_BzBT1XA4HbbCXL

ornate peak
#

No, the one where you call SessionService().GetAsync(sessionId)

#

It'll be GET /v1/checkout/sessions/:id

coarse swallow
#

POST /v1/checkout/sessions

shows
req_BzBT1XA4HbbCXL

#

it says post, not sure why

#

all of them do

#

well almost

#

ok so i see now whats happening, i think

#

the call is not being done in test mode

ornate peak
#

Yes that's creating the session. Your code that is erroring is to retrieve the session

coarse swallow
#

i assume its this?

ornate peak
coarse swallow
#

so how can the session be created with test keys but the call to fetch teh session is made with a different key?

#

theres just one env variable

#

ah nvm i understand whats going on, my bad.

#

the redirect of the checkout session is to the prod base uri

#

that explains it, sorry