Authorize.Net Test Cards

February 07, 2025

Approved Transactions - in Test/Dev Mode

Card Type Card Number
Visa 4111 1111 1111 1111
MasterCard 5424 0000 0000 0015
Discover 6011 0000 0000 0004
American Express 3700 0000 0000 002
JCB 3566 0020 2036 0505

Declined Transactions

Card Number Reason
4111 1111 1111 1111 Declined when used with $5.00 or $10.00
4628 3214 8750 1321 Always declines due to NSF
4242 4242 4242 4242 Always declines with "errorCode":"4"

Response Codes & Errors

Amount Error Code Error Message
$2.00 2 Transaction declined
$5.00 4 Card declined (Fraud)
$6.00 250 Processor decline
$8.00 27 AVS mismatch
$10.00 4 Declined (General)

Possible Causes & Solutions for Error Code 4

  1. Fraud Detection Suite (FDS) Rules Triggered

    • The transaction may be flagged due to velocity filters, IP restrictions, or country blocking.
    • Solution: Check your Fraud Detection Suite settings in the Authorize.Net Merchant Interface and adjust them if needed.
  2. AVS (Address Verification System) or CVV Mismatch

    • The billing address or CVV code provided does not match the card issuer’s records.
    • Solution: Ensure that the billing details are correct and match what the bank has on file.
  3. Transaction Declined by the Issuing Bank

    • The cardholder’s bank may have declined the transaction due to insufficient funds, security concerns, or expired card details.
    • Solution: Ask the customer to contact their bank or try another card.
  4. Merchant Account Limitations

    • Your merchant account may have restrictions on certain types of transactions (e.g., international payments).
    • Solution: Contact Authorize.Net support or your merchant provider to verify account settings.
  5. Duplicate Transaction Filtering

    • If a transaction with the same amount and card details was submitted in a short time, it might be blocked as a duplicate.
    • Solution: Wait a few minutes and retry the transaction.