What errors can be produced when using PayPal APIs?
For a complete list of API error codes, see the API Error and Warning Codes page on the PayPal Developer Portal.
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.
Why did I get the error "Class 'PayPal\Rest\ApiContext' not found" when using the PayPal SDK?Issue The PayPal SDK returned a class not found error. Cause The file path in the PHP SDK couldnt be found. Solution Use Composer to update the vendor folder; for example: require(vendor/autoload.php); $api = new \PayPal\Rest\ApiContext( new \PayPal\Auth\OAuthTokenCredential( $client_ID, $client_Secret ) ); $api-setConfig([ mode=sandbox, http.ConnectionTimeOut=30, log.LogEnabled=false, log.FileName=, log.LogLevel=FINE, What tips can I use when purchasing online? We have lots of information to help ensure that your online shopping experience is secure. Go to the PayPal website and click Security and Protections at the top of the page for online safety tips and resources. Why did I get a fatal error when using the Call API button in the PHP SDK Web Console?Issue You got a fatal error message - Call to undefined function: getapiusername(). Cause The path for profile certificates is incorrectly specified. Solution Using the Web Console, change the path to the WebTester folder (this is a folder you have control over) and create a folder called tmp; Why did I get the error "Unable to deserialize object" when using the Java SDK to issue an API call?Issue PayPal returned an unable to deserialize object error, with a message something like this: ERROR: Unable to deserialize object for Could not call com.paypal.soap.api.PaymentTransactionClassCodeType.readResolve() : null ---- Debugging information ---- required-type : com.paypal.soap.api.PaymentTransactionClassCodeType cause-message : Could not call com.paypal.soap.api.PaymentTransactionClass CodeType.readResolve() : null class : com.paypal.soap.api.TransactionSearchRequestType message : What are my payment and funding options when I use my PayPal account?When you pay for something, the first thing well do is check your PayPal balance to see if you have enough to cover the payment. If you have enough money in your balance, well use your balance to make the payment. If you dont have enough money in Why did I get an exception error when retrieving user certificates with PayPal's Microsoft SDKs?Issue While working with the Microsoft SDKs from PayPal, you got the following error: com.paypal.sdk.exceptions.FatalException: Unable to retrieve certificate from user or system keystores for: XXXXX. Cause The SDK throws an exception when the Certificate for your API account hasnt been registered properly on your system through the Why did I get error 4002 when using PDT?Issue While you were using Payment Data Transfer, PayPal returned general error code 4002. Causes This error may have several different causes, such as: An invalid tax token. Cookies. Cache. Internet congestion. The email address isnt confirmed on the PayPal account receiving the payment. With regard to Payment What credit or debit cards can I use with PayPal?You can use a Visa, MasterCard or American Express credit card to pay with PayPal. You can also use a debit card that displays the Visa or MasterCard logo. Heres how to add a credit or debit card: Log in to your PayPal account. Click Wallet at the What credit cards can I use with PayPal?You can use Visa, MasterCard, Discover, or American Express to make PayPal payments. Another fast and easy option is paying with your bank account. Many PayPal members choose to pay with their bank accounts because it’s a convenient way to keep their spending under control. However you choose Why did I get the error "Sorry, but you cannot view your existing API Signature while your account is unconfirmed" when accessing my API credentials?Issue An error message reported that your existing API Signature isnt viewable. Cause Your PayPal email address isnt appropriately marked as confirmed in our system. Solution If you try to confirm the email address and youre told that its already confirmed, try adding a second email address and Do I need to use PayPal SDKs to call PayPal APIs?No, you dont need to use PayPal SDKs to call PayPal APIs. However, the PayPal SDKs ease the task of calling PayPal Web Service APIs. They contain libraries that shield the user from the intricacies of the SOAP protocol, and offer a number of other useful features. You Why did I get API error code 10002 with PayPal's Classic APIs?Issue Youre using one of PayPals Classic APIs, and PayPal returned error code 10002. Cause PayPal has an issue with the API credentials that a shopping cart is trying to use. Solution Access the API credentials from your PayPal account and manually repaste them into the setup section What is the “Correlation ID” field in the API used for?This field contains an alphanumeric stringthat allows PayPal to track every API call attempt. Every PayPal APIresponse includes a Correlation ID field. If you contact PayPal with any questions regarding a specific API call, provide this value either in your support request or by attaching the log file Why did I get API error code 10602?Issue PayPal returned API error code 10602 - Authorization completed. Cause The authorization has already been completed. The following API calls can produce this error: DoAuthorization, DoCapture, DoReauthorization, and DoVoid. Solution Use the GetTransactionDetails API call to check the status of the transaction. If your authorization is pending, 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 Dont retry the same API call against the same transaction What can I do with an API certificate?With a PayPal certificate you can establish a secure SSL connection to PayPals API server in order to use the various APIs. If you have technical queries about APIs and integration with your website we recommend visiting our tech support website at https://www.paypal-techsupport.com/.How will PayPal let me know when a payment is under Payment Review?You'll receive an email letting you know that a payment is under Payment Review and another email when the review is complete. You'll also find this information on the Transaction Details page.If you use PayPal Instant Payment Notification (IPN) or an API, the payment appears as Pending with Why did I get the error “Incorrect API credentials” when I tried to make an API call?Issue PayPal notified you that your REST API credentials are incorrect. Cause This error is related to the REST API credentials you use to make API calls. Solution If you previously had your application set up for testing in the Sandbox environment, you may need to switch your What types of mail service can I use with PayPal Shipping? For domestic shipments, you may select the following services: Express Mail, Priority Mail, First-Class Mail Parcel, Parcel Post service, and Media Mail. For shipping internationally, you can select Express Mail International or Priority Mail International .
Related Articles are currently unavailable
Video is not available
You were logged out to help protect your account.