Loading...
Loading...
  • Payments and Transfers
  • Disputes and Limitations
  • My Account
  • My Wallet
  • Login & Security
  • Seller Tools

Why did I get API error code 15004?

Issue
PayPal returned API error code 15004 - Gateway Decline - This transaction cannot be processed. Please enter a valid Credit Card Verification Number.

Cause
The Credit Card Verification Number (or CVV, Card Verification Value) entered is different from the one on the credit card. This error also occurs when the card's expiration date is incorrect.

Solution
Here's how to resolve this issue:
  • Check that the credit card's CVV number was entered correctly. The length of the CVV number depends on the credit card type:
  • Visa, MasterCard, and Discover - three digits
  • American Express - four digits
  • Make sure the credit card's expiration date was entered correctly.
  • The expiration month must contain two digits (MM) between 1 and 12. Include a leading zero, if necessary (for example, 05 for May).
  • The expiration year must contain four digits (YYYY) and be equal to or greater than the current year.

See also:
Payflow Gateway Developer Guide and Reference

See the Developer Portal for a complete list of NVP/SOAP API error codes.
Was this article helpful?

More ways we can 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
Message Center
Send, receive, and view your PayPal messages
How are we doing?
Take our survey
Loading...