Help Article

How do I test failed transactions in the PayPal Sandbox?

PayPal's Sandbox allows developers to return failed error codes for AVS, CVV, and other failure results.

For the negative testing to work for API response codes, developers need to set the API version in their code to greater than or equal to 2.4.

See Also:
Test your integration
Sandbox Testing Tips & Tricks
PayPal Sandbox Testing Guide

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.