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.
Test your integration
Sandbox Testing Tips & Tricks
PayPal Sandbox Testing Guide
You were logged out to help protect your account.