Testing
This page includes test card numbers and other information to make sure your integration works as planned.
Test card numbers
Genuine card information can not be used in test mode. Instead, use any of the following test card numbers with any random CVC number to create a successful payment.
Number
Brand
CVC
Type
4242 4242 4242 4242
Visa
Any 3 digits
Success
4000 0566 5566 5556
Visa (Debit)
Any 3 digits
Success
4298 8999 9999 9996
Visa
Any 3 digits
Success with surcharge_allowed = Y
5555 5555 5555 4444
Mastercard
Any 3 digits
Success
2223 0031 2200 3222
Mastercard
Any 3 digits
Success
5200 8282 8282 8210
Mastercard
Any 3 digits
Success
5105 1051 0510 5100
Mastercard
Any 3 digits
Success
5239 0711 1111 1111
Mastercard
Any 3 digits
Success with surcharge_allowed = Y
3782 8224 6310 005
American Express
Any 4 digits
Success
37144 9635 3984 31
American Express
Any 4 digits
Success
3412 3444 4444 445
American Express
Any 4 digits
Success with surcharge_allowed = Y
6011 1111 1111 1117
Discover
Any 3 digits
Success
6011 0009 9013 9424
Discover
Any 3 digits
Success
6011 3083 5555 5559
Discover
Any 3 digits
Success with surcharge_allowed = Y
3056 9300 09020 004
Dinners Club
Any 3 digits
Success
3622 7206 2716 67
(Invalid Card Test)
Dinners Club
Any 3 digits
Failure - Invalid Card
3566 0020 2036 0505 (Invalid Card Test)
JCB
Any 3 digits
Failure - Invalid Card
4000 0046 5062 9995 Exp: 04/28 CVV: 402
Visa
Any 3 digits
Failure - Insufficient Funds
4111 2356 5373 9995 Exp: 09/28 CVV: 342
American Express
Any 3 digits
Failure - Insufficient Funds
5111 2359 1137 9995 Exp: 03/28 CVV: 794
Mastercard
Any 3 digits
Failure - Insufficient Funds
4222 2310 3434 0005
Visa
Any 3 digits
Failure - Refer to Issuer
5222 2309 3434 0005
Mastercard
Any 3 digits
Failure - Refer to Issuer
3782 8224 6310 005
American Express
Any 3 digits
Failure - Refer to Issuer
6222 2323 3434 0005
Discover
Any 3 digits
Failure - Refer to Issuer
Note:
To test a refund failure, use a refund amount of less than $1, as this will trigger a failure.
To test a dispute, process a transaction for $13.13. A dispute will be triggered 30 minutes after the transaction is processed.
Test routing numbers
The routing number is used to fill in SecureFields Bank Account JS, which will be used when making an ACH transaction.
083908420
Any
Any
Any
417710899
Any
Any
Any
Plaid Testing
For Plaid sandbox testing please use the following credentials
user_good
pass_good
Webhooks
To test your integration, perform actions using the API to send legitimate events to your endpoint.
3DS Testing
Use the specified amounts listed below with the test cards provided in the test card numbers section
3DS Method Timeout
$37.02
Test timeout
Frictionless 3DS method
$37.03
Frictionless authentication with 3DS method
Frictionless no 3DS method
$37.04
Frictionless authentication with no 3DS method
Manual Challenge
$37.05
Challenge authentication with 3DS method. Can check Pass or Fail challenge
Automatic Challenge Success
$37.06
Automatic challenge success after challenge is presented.
Automatic Challenge Failure
$37.07
Automatic challenge failure after challenge is presented.
Device Testing
For testing physical devices (terminals) , upon request PayEngine will setup a test account where you can use real credit cards without incurring any charges. Please contact PayEngine support team for further information
Run transaction amount $1.00 or above
Success
Run transaction amount less than $1.00
Failure
Address Verification Service (AVS) Testing
For testing different outcomes for the address verification service, use the following test cards to simulate different AVS response codes.
AVS Response Code - A Address matches but ZIP code does not match.
4000 0000 0000 4905
AVS Response Code - E
AVS Error
4000 0000 0000 4913
AVS Response Code - N No Match on Address or ZIP code
4000 0000 0000 4921
AVS Response Code - O No AVS Response
4000 0000 0000 4939
AVS Response Code - R Retry, System unavailable or Timed out
4000 0000 0000 4947
AVS Response Code - U Address information is unavailable
4000 0000 0000 4954
AVS Response Code - X Exact AVS match - Address and ZIP code
4000 0000 0000 4962
AVS Response Code - Z 5 Digit ZIP code matches but Address (Street) doesn't match
4000 0000 0000 4970
Cardholder Verification (CVV) Testing
For testing different outcomes for the CVV verification service, use the following test cards to simulate different CVV response codes
CVV Code - M CVV2 verification successful
4000 0000 0000 4988
CVV Code - P
CVV2 verification not performed
4000 0000 0000 4996
CVV Code - U CVV2 verification not available
4000 0000 0000 5001
CVV Code - N CVV2 verification fail/mismatch
4000 0000 0000 5019
CVV Code - S CVV2 code not present on card
4000 0000 0000 5027
Last updated