Help Article

Ask the Community

Find answers or join the conversation in the Community Help Forum.

Why did I get API error code 10620?

Issue
PayPal returned API error code 10620 - Order has already been voided, expired, or completed.

Cause
The order has already been voided, expired, or completed. The DoAuthorization, DoCapture, and DoVoid API calls can produce this error.

Solution
Don't retry the same API call against the same transaction after receiving a 10618 error code, because the result won't change.

Note: You can use the GetTransactionDetails API to determine the current payment status of an order. For example, if GetTransactionDetails returns a payment status of "Voided," then you don't need to use DoVoid because the order is already void.
We’re sorry, the page you’re looking for is no longer available. Please try your search again in our Help Centre if you have a question or want to contact us.