#jcrags_api
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/1230538983256227961
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there ๐ hm, offhand I'm a little surprised you'd see both Event types, but I'm not entirely certain that's unexpected. I'm happy to take a closer look.
The Checkout Session from the request you shared seems to have only emitted a checkout.session.expired Event. Can you share the ID of a checkout.session.completed Event that you received for an expired session?
Oh I think you are right, it actually never did send this event, but I was logging the event to the error_log() inside the case statement, but I now notice I forgot to add a break; to the one above it, which is causing the confused behaviour. It seems to be just a code error on my part. Thanks to you verifying it doesn't normally send both of them, I now know that this should work as intended. Thanks!
Any time! Glad to hear you were able to get to the bottom of it!