Why did I get API error code 10618?
PayPal returned API error code 10618 - Transaction already voided or expired.
Cause
If one or more of the following API calls — DoAuthorization, DoCapture, DoReauthorization, or DoVoid — returns this error, the transaction has already been voided or has expired.
Solution
Don't retry the same API call against the same transaction after receiving the 10618 error code, as the result won't change.
Note: You can use the GetTransactionDetails API to determine the current status of a transaction. For example, if GetTransactionDetails returns a payment status of "Voided," then you don't need to use DoVoid because the transaction is already void
Note: See the Developer Portal for a complete list of NVP/SOAP API error codes.