Saferpay Test Login
Test Saferpay with no commitment for as long as you want.Register now!
Saferpay offers the possibility to test all interfaces in a specially for you created test account.
The Saferpay test account allows you to implement Saferpay into your system and make test transactions over several payment simulators before going live.
Your are looking for the entry to the Saferpay test Backoffice?
To ensure that the requests are sent to the test account, you are required to adjust the base URL for requests.
Base URL: https://test.saferpay.com/api
All other URL are derived from this base URL. For example:
Credentials for HTTP Basic Authentication can be created in the test Backoffice under "Administration > JSON API"
Do you require help during the integration?
You can now also view the Saferpay specification online. This includes a number of examples which you can use as well as a full parameter description for all interfaces from and to Saferpay.
If desired, older Saferpay interfaces can be tested either with the Saferpay Client Libraries for JAVA and .NET or the https Interface.
The general test account features all necessary functions.
The Saferpay Clients are available in the Saferpay Backoffice download center. In order to ensure that all of the functions described in the documentation are available, you should always use the latest version.
The recent version of the Saferpay Java Client Library is 2.1.1.
The version can be retrieved by a command line call:
java -jar Saferpay.jar -h
The recent version of the Saferpay .NET Library is 2.2.
Find out your version of the .NET Library by right-clicking on com.saferpay.Client.dll, choosing "Properties" and "Version".
Information about the Client Libraries can be found in the Payment Page Specification and in the Authorization Interface Documentation, in each case in chapter 2.
The following command line call will configure the Java LIB for the test account:
java -jar Saferpay.jar -conf -p . -r https://test.saferpay.com/user/setup.asp -u <BACKOFFICE USER> -w <BACKOFFICE PASSWORD>
The .NET Client can be configured by a command line call as well:
saferpay -conf -p . -r https://test.saferpay.com/user/setup.asp -u <BACKOFFICE USER> -w <BACKOFFICE PASSWORD>
Call the command line help to show all options:
If you prefer to configure the .NET Client in a GUI, you can download a .NET Client that is already modified for the Saferpay test account from the download center.
First of all you have to change your existing AccountId with the one for you testaccount.
You can derive it from your test-data using the following format:
If you want to switch between test and production at will, then you have to change your program code to be able to switch between the two configurations.
First it is important to create a configuration for test AND production (see above).
In order for them to be crated in different folders, so they not interfere with each other, you can use the attribute -p. This accepts the corresponding path for the new configuration.
Once you have created both configurations, you need to pass the new paths to your application.
For that you have to search for a code-line similar to this:
You have to make sure, that the correct path is passed to this method, when you are switching between test and production.