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

我們可以透過更多方式提供協助

如你繼續瀏覽,我們將使用 Cookie 來改善和提供為你而設的體驗。可否讓我們同時使用 Cookie 向你展示個人化廣告?了解更多並管理你的 Cookie