cancel
Showing results for 
Search instead for 
Did you mean: 

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

riscarrott
Contributor

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

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?

1 REPLY 1
riscarrott
Contributor

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

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.