#kevinsp_error

1 messages · Page 1 of 1 (latest)

astral thistleBOT
#

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

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

olive ruin
#

here are some logs for more context: 2025-04-20 07:07:06.430 BRT
GET 302 389 B1.5 sChrome 135 https://ardanlabs.training/checkout-success?session_id=cs_test_a1jB0CRdiw9qgiSDb9PQKwe63evttehLH0I83sWQARIJEtnV6xrUE4pSYv

2025-04-21 11:41:24.642 BRT
GET 302 389 B2.3 sChrome 135 https://ardanlabs.training/checkout-success?session_id=cs_test_a14x2pORRAgdqFwUJO7w4VLn0zaZbYAuMbPwOvAV69DS4R9TQQ5IFX9ao8

2025-04-29 15:29:52.586 BRT
GET 303 377 B2.9 sChrome 135 https://ardanlabs.training/checkout-success?session_id=cs_live_b1kpNgTBfHfb0KTz8DYQex86JUsnIIzkGT0rpTCKEqLDQ8JrocHl5TPrPx

2025-04-29 15:46:00.030 BRT
GET 303 377 B2.4 sChrome 135 https://ardanlabs.training/checkout-success?session_id=cs_live_b14ZhVziI9f6SQJjPWC5ZWeA4HhHIZbz1wYFLrzljgDtZqFo23qJUV04Qh

2025-05-01 01:53:18.290 BRT
GET 302 389 B1.2 sChrome 135 https://ardanlabs.training/checkout-success

2025-05-01 01:53:18.491 BRT
GET 302 389 B779 msChrome 135 https://ardanlabs.training/checkout-success

2025-05-02 15:01:44.007 BRT
GET 302 389 B942 msChrome 135 https://ardanlabs.training/checkout-success

#

This shows logs where we get a 302 and sometimes we have the session id and sometimes we don't

tulip fable
#

Not immediately aware of something that can cause this. Do you consistently see that ID as missing whenever you complete a checkout session for your site?

#

Do you have a way of consistently reproducing this when going through your checkout flow? And if so can you send me a checkout link so I can try to debug a bit?

tulip fable
#

Gotcha, still trying to think of what might be helpful for debugging this. The thing is that even if the template variable wasn't replaced, I would still expect us to respect the ?session_id= part of your return URL. We don't do anything too smart with the URL we are given, we just replace the template variable with the actual ID. No checking that the params are specified in a valid way and no modifying the URL otherwise

#

Is it possible that some people are just navigating to that success URL themselves directly?

astral thistleBOT
olive ruin
#

i dont believe so, i just had the error happen again. Investigating some more

lament swift
#

Hi hi! I’m going to be taking over for my colleague here. Give me a minute to read back and understand things.

#

That Checkout Session was created with a test mode API Key, but you're trying to retrieve it with a live mode API key.

olive ruin
#

Interesting, here are some request ids from this list if it helps identify the cause: Post 11:07: req_D7HTxmqDpw08rt , 404 GET 11:08: req_A9ZKF8xjlwQk6O, 404 GET 11:09: req_nB2IFnhDdD7z4D , 200 GET req_qjgvtvpkefzbws