Testing

 

Testing ensures that your API implementation towards Netaxept works as intended and can handle properly both OK responses and transactions with errors. You can use Netaxept’s test environment for the testing purposes. It is available 24/7 with the exception of service interruptions that are not communicated in advance.

 

Test amounts and response codes

In the test environment, you can test using any sums you like. However, please note that if you test card payments with sums of 0.01–0.99 or 1.01–1.99, the transaction will not go through and you will receive an error after sending transaction to authorization. The response code is generated in accordance with the decimals in the input sum. For example, the sum of 1.00 will return a response code of "00" and 1.52 will return "52". Addition to this, you may occasionally receive an error “Refused by issuer $TSTE” when testing in test environment and using amounts less than 500 (for example 5 euros) with decimals. In this case, we recommend you to use amounts more than 500 to continue the regular testing. Read more about response codes >

 

Credentials

In the test environment, you need to use test merchant credentials received from Nets and the payment method details available below or received directly from your chosen payment service provider.

Most of the card payments don’t require any additional activation. If you wish to test other payment methods, please activate these by adding the corresponding credentials in the test environment's Netaxept Admin on the "Options" => "Agreements" page.

Payment cards

Below you can find test cards that you can use when testing card payments via Netaxept in the test environment.

Please note that in the test environment you cannot test 3D Secure authentication. Instead, all card payments are processed as unauthenticated. Also, card payments made in the test environment won't be transferred or settled to your company's bank account. 

Use the different cards to validate your solution's error handling during the different Netaxept operations.

Card number Expiry date Verification code Type of transaction Error or other notes Response

VISA

4925000000000004

> today

Any 3 digits

All None OK

VISA

4925000000000087

> today Any 3 digits Register + Auth or Sale

REGISTER will go ok, but PROCESS (Auth) or PROCESS (Sale) will fail.

OK/99

VISA

4925000000000061

> today Any 3 digits Register + Auth + Capture REGISTER + PROCESS (Auth) + PROCESS (Capture) will go OK.

OK/OK/OK

VISA

4925000000000061

> today Any 3 digits Register + Sale

REGISTER will go ok, but PROCESS (Sale) will fail.

Use this card to verify error handling of cards that have previously been stored successfully for Easy / Recurring payments, but now fails. Note that although PROCESS (Sale) is a combination of of AUTH and CAPTURE, the former will fail, while the two latter, and the other Process operations will succeed.

OK/99

VISA

4925000000000079

> today Any 3 digits Register + Auth + Capture

REGISTER and PROCESS (Auth) will go ok, but the PROCESS (Capture) will fail.

OK/OK/99

VISA

4925000000000079

> today Any 3 digits Register + Sale

REGISTER and PROCESS (Sale) will go OK.

OK/99

MasterCard

5413000000000000

> today Any 3 digits All None OK

Maestro

6761638084569584

> today Any 3 digits All None OK

Diners Club

36000000000222

> today Any 3 digits All None OK

American Express

375700000000002

> today Any 3 digits All None OK

Bring

5566530000000001

> today Any 3 digits All None OK

Dankort

5019994001300153

05/21 603 All None OK

PBS gift card 

6075725999900798288

N/A 794 All

This card has a balance of 1,00 in a given currency, e.g. 1 DKK. If the transaction amount is bigger than this, the payment window will request the amount is split, and the rest of the amount is paid with another payment method. 

To test without split payment, adjust the test amount to 1 (e.g. 1 DKK) or less.

OK

Nets gift card / Gavekort 

9578351001074700013

> today 803 SALE only

 

OK

Nets gift card / Gavekort 

9578351001074700021

> today 745 SALE only   Refused by Issuer

 

BankAxess

Name Social security number Security code Password Response

Test user (cnppn50324095255)

22128011111

otp

qwer1234 OK

 

Direct banks

Below you can find both merchant and end-user credentials that you can use when testing direct bank payments via Netaxept in test environment. Please note that these are general credentials provided by each bank and are subject to change over time. Also, functionalities available for testing can vary per bank.

Add the merchant credentials in the test environment’s Netaxept Admin on the "Options" => "Agreements" page. End-user credentials should be used in the web bank site.

Bank name Merchant credentials End-user credentials

Finnish direct banks via Paytrail

Currency: EUR
Merchant ID: 13466
Authentication hash: 6pKF4jkv97zmqBJ3ZL8gUw5DfT2NMQ

Use the same credentials as mentioned below for each Finnish bank.

Aktia

Currency: EUR
Seller Id: 1111111111111
MAC Key: 1234567890123456789012345678901234567890123456789012345678901234
Key Version: 0001

Username: 12345678
Password 1: 123456
Password 2: 1234
Password 3: 1234

Danske Bank FI

Currency: EUR
Service Provider Id: 000000000000
MAC Key: jumCLB4T2ceZWGJ9ztjuhn5FaeZnTm5HpfDXWU2APRqfDcsrBs8mqkFARzm7uXKd
Business Online Agreement number: 788817

User needs to use their own Danske Bank credentials. Amounts are not captured from the user's account.

Handelsbanken FI

Currency: EUR
Seller Id: 0000000000
Seller Account: 448710-126
MAC Key: 11111111111111111111

Username: 11111111 / 22222222
Password 1: 123456
Password 2: 123456
Password 3: 123456

Nordea FI

Currency: EUR
Merchant ID: 12345678
MAC Key: LEHTI
Key version: 0001

Credentials are prefilled in "Code card" section.

Password 2: 1234

Oma Säästöpankki

Currency: EUR
Seller Id: 0000000000
MAC Key: 11111111111111111111

Username: 11111111 / 22222222
Password 1: 123456
Password 2: 123456
Password 3: 123456

OP

Currency: EUR
Invoicer Id: Esittelymyyja
MAC Key: Esittelykauppiaansalainentunnus

Username: 123456
Password: 7890
Password 2: 1234

POP Pankki

Currency: EUR
Seller Id: 0000000000
MAC Key: 11111111111111111111

Username: 11111111 / 22222222
Password 1: 123456
Password 2: 123456
Password 3: 123456

S-Pankki

Currency: EUR
Service Provider Id: SPANKKIESHOPID
Account No.: FI4139390001002369
MAC Key: SPANKKI
Algorithm version (01,03): 03

Username: 12345678
Password: 123456
Password 2: 1234
Password 3: 1234

Säästöpankki

Currency: EUR
Seller Id: 0000000000
MAC Key: 11111111111111111111

Username: 11111111 / 22222222
Password 1: 123456
Password 2: 123456
Password 3: 123456

Ålandsbanken

Currency: EUR
Receiver id: AABESHOPID
Account No: FI7766010001130855
MAC: PAPEGOJA
Algorithm version (01,03): 03

Go to "Kirjaudu taulukolla" section.
Username: 12345678
Password 1: 123456
Password 2: 1234
Change the account.
Password 3: 1234

 

Invoice and instalments

Below you can find end-user credentials that you can use when testing invoice and instalment payments via Netaxept in test environment. Please note that these are general credentials provided by each invoice/instalment service provider and are subject to change over time.

Most of the invoice/instalment service providers provide only merchant-specific credentials instead of generic test credentials for all merchants. Due to this, to be able to test invoice and instalment payments in test environment, please apply for merchant credentials from your chosen invoice/instalment service provider. After that add the merchant credentials in the test environment's Netaxept Admin on the "Options" => "Agreements" page.

Name End-user credentials

AfterPay

 

Collector

https://merchant.collectorbank.se/integration/b2c/general-information/test-persons/

Klarna

https://developers.klarna.com/en/se/kpm/test-credentials

(Switch country on top right corner)

Lindorff

https://support.lowell.io/display/LIN/Testing

Enterpay B-to-B

No generic test credentials. Please ask merchant specific test credentials from Enterpay.