#BruceWayne

1 messages · Page 1 of 1 (latest)

frank pilotBOT
magic wyvern
#

Hi

#

What I got was an encapsulated object. I don’t know where this 400 is.

frozen sinew
#

Hello, can you clarify where you are seeing each of those codes? Where are you getting 400 and where are you getting 404?

magic wyvern
#

ID
req_sGKAvvM3eMi9j0

#

When we set the checkout session to expire, it prompts 400

frozen sinew
#

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

magic wyvern
#

After a successful session, if we cancel, can our developers see a 400?

frozen sinew
#

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

magic wyvern
#

OK,thanks

#

But our developer said he couldn't see 404, what he got was a packaged object

magic wyvern
magic wyvern
frozen sinew
#

Not sure what they mean by that unfortunately. Those terms do not make sense in the context of what that request returned