Sandbox.payex-checkout-v1.Testdata - Testing

Page of - pēdējo reizi mainījis Asbjørn Ulsberg laiks 2018/07/05 12:48

Testing

Asbjørn Ulsberg

2018/07/05 12:48

Satura rādītājs

Testdata

Credit card

Invoice

Troubleshooting

Authentication

Checkout Init

General

Credentials

Useful URLs

Testdata

In order to test the implementation before you go live, you need to use the following testdata.

Credit card

Card number	4925000000000004
Expiry date	12/18
CVC	123
Card number	4761739001010416
Expiry date	12/22
CVC	268

Invoice

Norway

Social security number	26026708248
Name	Olivia Nyhuus
Street address	Saltnestoppen 43
Zip	1642
City	Saltnes

Sweden

Social security number	600307-1161
Name	Azra Oliveira
Street address	Helgestavägen 9
Zip	19792
City	Bro

Troubleshooting

Authentication

To authenticate with PayEx Checkout, you need an Access Token created in the PayEx Admin interface. Remember that the Access Token is a secret, so treat it like a password. Do do not check it in to source code or save it anywhere someone unauthorized might obtain it.

Checkout Init

A successful request requires that the Referer HTTP header matches the host URL configured on your account. The validation is taken care of by the checkout-script.

General

Credentials

If you don't have a merchant account with PayEx, don't know your credentials or otherwise need credentials created to implement PayEx Checkout, please contact:

For a Norwegian: salg@payex.com

For a Swedish: sales@payex.com

Useful URLs

Test Environment

The URLs required for integration against PayEx' test environment (called "external integration") are:

Type	Url
Frontend JavaScript	https://checkout.externalintegration.payex.com/js/payex-checkout.min.js
Backend API	https://api.externalintegration.payex.com/psp/checkout

Production Environment

The URLs required for integration against PayEx' production environment are:

Type	Url
Frontend JavaScript	https://checkout.payex.com/js/payex-checkout.min.js
Backend API	https://api.payex.com/psp/checkout