Test environment
JSON RPC target: https://test.trustly.com/api/1
Back Office: https://test.trustly.com/backoffice
Before you use test environment
You need to request a test account that has a different password than the production account. Learn more about getting a test account in Sign up.
Use test environment
The test environment allows you to develop and test the integration with Trustly. The test environment works the same way as the live environment, except no real money or banks are used when performing payments.
In the test environment, all payments are done using a simplified bank that will be the same regardless of the bank selected in the payment flow. As the same bank backend is used for all payments, the customer experience when paying will be the same for all banks. This is different from the production system where the flow for the end user will vary slightly depending on the bank.
During the payment process, you will be prompted to log in to the bank. This is typically either a national person identifier or a bank username and will vary per bank and country. When prompted, any login identifier (that conforms with the asked-for criteria) can be used in the test environment. The first time any log-in details are used in a bank a new randomised person identity will be created. Any national ID provided does not have to be valid, but it has to be in the correct format.
Trigger test cases
For Deposits, Withdrawals, and SelectAccount with mandate registration (Trustly Direct Debit), it is possible to trigger various test cases in the Trustly checkout after selecting the bank. This step will only be displayed in the test environment, not in live environment. You can trigger the test cases by selecting Set order options.
Learn more about test cases in Acceptance testing.
View notifications
Use Notification tool to view the notifications that Trustly has sent for a particular order in the test environment by entering your processing account username (username used in the API calls) and an OrderID.
Learn more about Notification tool.