Loading...
Loading...
  • All About PayPal
  • Disputes and Claims
  • Merchant
  • My Account
  • My Money
  • Payments
  • Products & Services
  • Tax Information

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?
How do I enable my Sandbox test account for PayPal Payments Pro?

More ways to get help

Resolution Center
Fix transaction and account related issues
Community Forum
Join the discussion with PayPal customers
Tax center
Get your 1099-K and other tax info here
Business Help
Get help with using any of our PayPal products
Technical Help
Find out how PayPal works for your business
Contact Us
Contact customer service
How are we doing?
Take our survey
Loading...