Test cards and environments
Here we provide information specific to making test payments that have different outcomes. Once you are ready to launch on production, visit Go live steps.
On this page:
When testing our Smart Checkout or any of our plugins in the sandbox/demo environment, enter any of the below in place of real card details. Use any future date for expiry mm/yy.
|Card number||Card type||CVV||3DS response||Supports instalments 1||Can trigger a decline 3|
|4147 4630 1111 0133||Visa||Any 3 digits||Yes||✓|
|4147 4630 1111 0141||Visa||Any 3 digits||No|
|5188 3400 0000 0060||Mastercard||Any 3 digits||Yes, No, Attempt, Rejected, Unavailable||✓||✓|
|5239 2907 0000 0168||Mastercard||Any 3 digits||Yes, No, Attempt, Rejected, Unavailable||✓|
|5239 2907 0000 0101||Mastercard||Any 3 digits||Yes||✓||✓|
|5239 2907 0000 0119||Mastercard||Any 3 digits||No||✓||✓|
|3762 060000 00009||American Express||Any 4 digits||Yes|
|3762 0600 0000 025||American Express||Any 4 digits||No|
|6759 6498 2643 8453
||Maestro||Any 3 digits||Yes|
|5868 2416 0825 5333
||Maestro||Any 3 digits||No|
|6703 0000 0000 00003||Bancontact||N/A||Yes|
|4871 0499 9999 9910||Bancontact||N/A||No|
|3569 9900 1229 9011||JCB||Any 3 digits||Yes1|
|3528 1111 1111 11119||JCB||Any 3 digits||No|
|3607 050010 0103
||Diners Club International||Any 3 digits||Yes1, 2|
|3670 010200 0000
||Diners Club International||Any 3 digits||No|
1Applies to Greek merchants only.
2With the exception of the below merchant categories, where, due to account restrictions, the result will be an error if attempting to use this card:
- 5967: Direct Marketing – Inbound Teleservices Merchant
- 6051: Non-Financial Institutions – Foreign Currency, Money Orders (not wire transfer) and Travellers’ Checques
- 7995: Betting (including Lottery Tickets, Casino Gaming Chips, Off-track Betting and Wagers at Race Tracks)
3To simulate an issuer decline with an applicable card, request the amount €99.05 in the Smart Checkout payment form. Attempting a payment will return error code 10005 (Do not honour) in the failure URL along with the error message: “Your card was declined. In order to resolve the issue, you will need to contact your bank.”
3DS challenge flow
If you want to simulate the 3DS challenge that a customer will see for higher value payments, use the first of these card numbers, 5188340000000060. A popup will be displayed:
Click on Yes, No, Attempt, Rejected or Unavailable depending on the outcome you wish to simulate.
Apple Pay testing
|Long card number||Card type||Expiration date||CVV|
|4761 1200 1000 0492||Visa||11/2022||533|
|5204 2477 5000 1471||Mastercard||11/2022||111|
|3499 5695 9041 362||American Express||12/2022||1111|
See Apple Pay Sandbox for further card numbers and how to add to your test device.
Google Pay™ testing
There are two options to test Google Pay:
- Log in to a Google account and create a Google Pay wallet with valid card details.
- Use a sample card from Google’s test card suite .
Testing the local payment methods
If you wish to test acceptance of payments online for the local payment methods, contact your Viva Wallet sales representative to get them added to your demo Viva Wallet account. Alternatively, you can contact us directly via our live chat facility. Simply click on the live chat icon in the bottom right-hand corner of this page.
Once you have the required payment method in your checkout or plugin, you will be able to select it via our payment page. The below screenshot shows the iDeal option in our WooCommerce native checkout:
To perform a test payment, do the following:
- Select the required local payment option via the relevant radio button and click on the Place order button.
Step 1 of the Local Payment Methods Simulator is displayed:
- Leave the Bank name or BIC field blank and click on the Next button.
Step 2 of the Local Payment Methods Simulator is displayed:
- Leave the Account Number and PIN fields blank and click on the Login button.
Step 3 of the Local Payment Methods Simulator is displayed:
- Leave the TAN field blank and click on the Make Payment button.
Step 4 of the Local Payment Methods Simulator is displayed:
- Click on the Back to where you came from button.
A confirmation page will be displayed showing a successful order against the local payment method selected.