1. Home
  2. /
  3. Developers
  4. /
  5. Test cards

Test cards

Using the Paystation test credit cards

Paystation allow for either cent or card-based testing to determine if your website is handling transaction responses correctly. With cent-based testing, please be aware that if a response is not mapped to a cent value, it will simply state ‘unknown error’ and does not necessarily indicate a transaction error.

Testing based on cent value

Mastercard

Card number: 5123456789012346

Expiry date: 0534 (MMYY)

CSC/CVV: 100

Visa

Card number: 4987654321098769
Expiry date: 0534 (MMYY)
CSC/CVV: 100

To return the appropriately mapped response, you must append each purchase amount with a cents amount that correlates as below. The dollar amount is not relevant.

.00 – approved (response code 0)
.51 – insufficient funds (response code 5)
.57 – invalid transaction (response code 8)
.54 – expired card (response code 4)
.91 – error communicating with bank (response code 6)

So to test an approved Mastercard you would enter details as below;
Card number: 5123456789012346
Expiry date: 0534 (MMYY)
Purchase amount: $1.00

And to test an ‘insufficient funds’ Mastercard response, you would enter the below details:
Card number: 5123456789012346
Expiry date: 0534 (MMYY)
Purchase amount: $1.51

Testing based on card number

Mastercard – approved

Card number: 5555555555554444
Expiry date: 0534 (MMYY)
CSC/CVV: 100

Mastercard – insufficient funds

Card number: 5105105105105100
Expiry date: 0534 (MMYY) (or a future date)
CSC/CVV: 100

American Express – approved

Card number: 378282246310005
Expiry date: 0534 (MMYY)
CSC/CVV: 100

American Express – insufficient funds

Card number: 371449635398431
Expiry date: 0534 (MMYY)
CSC/CVV: 100

Q Card - Approved

Card number: 6015310100000002
Expiry date: 0534 (MMYY)
CSC/CVV: 100

New Mastercard testing

Cent values 2221000000000009, 05/24, 100
Success 2221000000000017, future date, 100
Failure 2221000000000025, future date, 100