Do V2 Orders created for capture expire after they've been *approved*?

riscarrott
Contributor
Contributor

Do V2 Orders created for capture expire after they've been *approved*, i.e. Will the order status go from `APPROVED` -> `VOIDED` automatically after a period of time?

 

The reason I ask is we're concerned with storing orderIDs in our database which are in an 'active' state and, in the event of a service being down, may never become CAPTURED and therefore could potentially still be used to capture payment?

Login to Me Too
1 REPLY 1

riscarrott
Contributor
Contributor

PayPal's technical support got back to be re: this issue:

 

"Yes Orders do expire within 72 hours. In fact, you should create an authorization (or an immediate sale/capture) within the shortest timeframe possible."

"After that time you will receive HTTP 404 "not found" error on the Order ID - it's a temporary / session-like token only."

 

Thanks.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.