Search Overlay

Testing Instructions

The Paysafe Test environment can be used to test websites or applications without running transactions through the Production (live) processing platform. Payment transactions in the Test environment (e.g. credit card payments) are processed through a simulator, not sent to the banking network. Depending on the information provided with the transaction request, the simulator returns either a successful (approved) or failed (declined) response.

With the Payment Scheduler API you can test the following:

  • Verify support for all the operation types that you require.
  • Review all common errors as well as errors that may occur for each operation, and ensure your application can handle them.
  • Verify the lengths and format for all attributes you send.

You can simulate particular responses by using specific amount values in the request.

NOTES

  • All batch cut-off times in the Paysafe Test environment are executed on the hour every hour. Using these cut-off times will help you test features and capabilities that require the execution of a scheduled payment.
  • You cannot replicate a successful payment retry in the Test environment. A payment retry that results in a failed/ declined payment can be replicated, but not one that results in a successful/ completed payment.

Applying for a Test Account

You can apply for a Test account by clicking on the user icon and selecting Sign up here.

Your Test account will provide you with access to a Test version of the Paysafe Merchant Back Office, where you can view the status of your Test transactions. Once logged in to the Back Office you should also retrieve your Account Number (choose Accounts and copy it from the Account column) and your API Key User name and Password (choose Settings > API Key); the password is also available as Base64 encoded.

Test API Endpoint

The API endpoint to use for Test transactions is:

https://api.test.paysafe.com

For example:

https://api.test.paysafe.com/subscriptionsplans/v1/plans

Test and Production Accounts

Test accounts enable you to process API transactions that mirror the functionality on the Production environment. Once you are satisfied with your integration to the Test environment, you will need to repeat any configuration changes made to your Test account on the Production account. Keep a record of any changes requested and carried out.

You will need to use different API endpoints and authentication credentials to connect to the Paysafe Production environment.

For details see Going Live.

Test Card Details

For test card details, select one of the following links: