#BruceWayne
1 messages · Page 1 of 1 (latest)
Hello, can you clarify where you are seeing each of those codes? Where are you getting 400 and where are you getting 404?
ID
req_sGKAvvM3eMi9j0
When we set the checkout session to expire, it prompts 400
So the error message that we are returning is correct:
Only Checkout Sessions with a status in [\"open\"] can be expired. This Checkout Session has a status of `complete
The Checkout Session that you are trying to expire has already succeeded, so you can't expire it
After a successful session, if we cancel, can our developers see a 400?
They should be able to
400 is for logical errors like trying to cancel something that was already cancelled
If a dev is getting 404, that means the object can't be found. So they are either trying to retrieve the object in the wrong mode or on the wrong account
OK,thanks
But our developer said he couldn't see 404, what he got was a packaged object
this
We checked the log and found no 400 or 404
Not sure what they mean by that unfortunately. Those terms do not make sense in the context of what that request returned