Help Article

Ask our Business Community

Get started and join the conversation to use PayPal for business in the Headstart Community.

Why did I get API error code 10621?

Issue
PayPal returned API error code 10621 - Order has expired.

Cause
The order you're trying to authorize, capture, or void has already expired. Orders remain open for 30 days, and after that period you can't capture funds for the transaction.

Solution
If you use the GetTransactionDetails API on your PayPal Order ID before performing an authorization, capture, or void, the value of the status variable can tell you whether the order has expired. If it has, take no further action with the order; close it out of your system.


See also:
PayPal NVP PHP code examples
We’re sorry, the page you’re looking for is no longer available. Please try your search again in our Help Center if you have a question or want to contact us.