Why did I get result code 24?

The transaction request includes an invalid expiration date. Common expiration date errors include:

  • Expired date - Make sure that the credit card expiration date is today's date or a date in the future. PayPal rejects expiration dates that have passed.
  • Invalid format - Check that the expiration date is in the standard US format of MMYY (Payflow Pro and Payflow Link merchants). Using a four-digit year (YYYY) will cause invalid expiration dates to be submitted.
  • The transaction was approved with an incorrect expiration date.

Note: If you use XMLPay to process transactions, the correct expiration date format is YYYYMM.

Examples (where the month is December and the year is 2019):

  • Payflow Pro - EXPDATE=1219
  • Payflow Link - name="EXPDATE" value="1219"

Note: Some banks will approve transactions when an expiration date is invalid. We only verify that the credit card number is valid and hasn't expired. The card-issuing bank verifies all cardholder information, such as billing address or CSC code (CVV2). Some banks decline a transaction if the expiration date doesn't exactly match what is on file. Others approve transactions even with an incorrect expiration date. For example, if a card's expiration date is 05/19 but is entered as 01/19, the transaction may still be approved.

See also:
RESULT Values and RESPMSG Text

More ways we can help

Resolution Center

Fix transaction and account related issues

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