Test Data

Testing, are we? Good! Here’s some data you can use to test and verify your integration!

Swedbank Pay Checkout Test Data

During a Swedbank Pay Checkout implementation you can use the test data related to the different payment instruments listed below. To see Swedbank Pay Checkout in action, please visit our demoshop

To test a logged in user in the Demo Shop, please use the following test data:

Checkout test data for Norway

Type Data Description
Email olivia.nyhuus@payex.com The e-mail address of the payer.
Mobile number +47 98765432 The mobile phone number of the payer. Format Norway: +47 99999999.
SSN 26026708248 The social security number of the payer. Format Norway: DDMMYYXXXXX
ZipCode 1642 The city zip code. Format Norway: XXXX

Checkout test data for Sweden

Type Data Description
Email leia.ahlstrom@payex.com The e-mail address of the payer.
Mobile number +46 739000001 The mobile phone number of the payer. Format Sweden: +46 707777777.
SSN 199710202392 The social security number of the payer. Format Sweden: YYYYMMDDXXXX.
ZipCode 17674 The city zip code. Format Sweden: XXXXX

Checkout test data for Denmark

Type Data Description
Mobile number +4522222222 The mobile phone number of the payer. Format Denmark: +45 22222222

Credit Card Test Data

Visa

Card number Expiry CVC Type of test data
4925000000000004 After the current month Any Loopback only
4581097032723517 After the current month Any Loopback only
4581099940323133 After the current month Any Loopback only

MasterCard

Card number Expiry CVC Type of test data
5226600159865967 After the current month Any Loopback only
5226603115488031 After the current month Any Loopback only
5226604266737382 After the current month Any Loopback only
5226600156995650 After the current month Any Loopback only

American Express

Card number Expiry CVC Type of test data
377601000000000 After the current month 5252 Amex & loopback

JCB

Card number Expiry CVC
3569990010082211 After the current month 123

Diners

Card number Expiry CVC
6148201829798 After the current month 832

Maestro

Card number Expiry CVC Type of test data
6764429999947470 03/17 066 Evry & loopback

Dankort

Card number Expiry CVC Type of test data
5019994016316467 10/23 375 NETS & loopback
5019994001307083 05/21 615 NETS & loopback

Visa/DanKort

Card number Expiry CVC Type of test data
4571994016401817 10/17 212 NETS & loopback
4571994016471869 01/19 829 NETS & loopback

Forbrugsforeningen

Card number Expiry CVC Type of test data
6007220000000004 12/22 123 Loopback only

Failure Testing

For testing errors in transactions there are two different methods. The first method is performed through 3-D Secure, and the second method is for testing errors thorugh spesific amounts.

3-D Secure Method

First, create a Card Payment (operation Purchase) and visit the URL of the returned redirect-authorization operation in a web browser. Fill the data for either the Visa or MasterCard as shown below.

Card type Card number Expiry CVC Type of test data
Visa 4761739001010416 12/22 268 3-D Secure enrolled, ECI 5, Evry & loopback
MasterCard 5226612199533406 09/28 602 3-D Secure enrolled, ECI 6, Evry & loopback

After pressing the purchase button you will then be taken to a menu where you can select Authentication status.

In this menu there is a few different options to choose from, choose the status you want to test. When selected, simply press the Continue button and the status you selected will be sent with the payment.

Amount Error Testing Method

We have some preset amounts that can be used to produce error codes. When making a payment (operation purchase) enter one of these numbers from the list below, in the prices object ("amount": <number>) before submitting a transaction. Then the error message displayed behind the numbers will be sent with your payment in the test environment.

The amounts that can be used and produce error codes (transactionThirdPartyError):

Number Error Code Description
900313 REJECTED_BY_ACQUIRER_INVALID_AMOUNT Invalid amount, response-code: 13
900330 REJECTED_BY_ACQUIRER_FORMAT_ERROR Format error, response-code: 30
900334 REJECTED_BY_ACQUIRER_POSSIBLE_FRAUD Possible fraud, response-code: 34
900343 REJECTED_BY_ACQUIRER_CARD_STOLEN Card stolen, response-code: 43
900354 REJECTED_BY_ACQUIRER_CARD_EXPIRED Card expired, response-code: 54
900351 REJECTED_BY_ACQUIRER Unknown error, response-code: 51
900359 REJECTED_BY_ACQUIRER_POSSIBLE_FRAUD Possible fraud, response-code: 59
900361 REJECTED_BY_ACQUIRER_INSUFFICIENT_FUNDS Insufficient funds, response-code: 61
900362 REJECTED_BY_ACQUIRER Unknown error, response-code: 62
900391 ACQUIRER_HOST_OFFLINE Acquirer host offline, response-code: 91

Invoice Test Data

Invoice test data for Norway

Type Data
SSN 26026708248
Name Olivia Nyhuus
Address Saltnestoppen 43
City 1642 Saltnes

Invoice test data for Sweden

Type Data Alternative data
SSN 600307-1161 971020-2392
Name Azra Oliveira Leia Ahlström
Address Helgestavägen 9 Hökvägen 5
City 19792 Bro 17674 Järfälla
MSISDN   +46739000001
email   leia.ahlstrom@payex.com

Invoice test data for Finland

Type Data
SSN 100584-451P
Name Järvilehto Kimmo
Address Kiannonkatu 88
City 90500 Oulu

Invoice Service Test Data

Use any name, address etc.

Vipps Test Data

For testing a positive purchase (in our external integration test environment), please use any mobile number, except within the range: 99999991-99999999, as these will trigger error messages. The error messages are documented in the table below. There will be no user dialog at the mobile phone when testing Vipps.

Mobile number Error message
99999991 Vipps internal error
99999992 Request Validation error message on paticular request parameter
99999993 Transaction Id already exists in vipps
99999994 PSPID not enrolled in vipps
99999995 Invalid payment model type
99999996 User Vipps App version not supported
99999997 User not Registered with Vipps
99999998 Merchant not available or active

Since there is no user dialog when testing Vipps in external integration, the following mobile numbers can be used to simulate consumer action/behaviour in Vipps application.

Mobile number Simulation
99999990 Timeout, i.e. the consumer does not confirm the payment in the Vipps app in time.
99999989 Cancellation by consumer in app.

Swish Test Data

For testing a positive purchase (in our external integration test environment), please use any mobile number. E.g: +46 739000001

To simulate an error message, set description in POST Create Payment or Create Payment Order to one of the following values:

Description Simulates
RF07 Transaction declined
TM01 Swish timed out before the payment was started
BANKIDCL Payer cancelled BankId signing