Home
  • Mobile App Help
  • All About PayPal
  • My Account
  • My Financials
  • My Money
  • Payments
  • Claims and Limitations
  • Products & Services
  • PayPal Merchant Services
  • Tax Information and Reporting
  • Non-Profits and Donations

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
PayPal Sandbox Testing Guide
Was this article helpful?

More ways we can help

How are we doing?
Take our survey

We'll use cookies to improve and customise your experience if you continue to browse. Is it OK if we also use cookies to show you personalised ads? Learn more and manage your cookies