Help Center - Personal Account
  • Home
  • Payments and Transfers
  • Disputes and Limitations
  • My Account
  • My Wallet
  • Login & Security
  • Seller Tools

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

More ways we can help

We use cookies to improve your experience on our site. May we use marketing cookies to show you personalized ads? Manage all cookies