Testing
To facilitate testing a set of predefined users and Test accounts are provided. These users and accounts have a predefined test scenario. A developer needs to Signup and Subscribe to a Product before accessing any of the APIs.
The Sandbox URL can be reached here and you can download the testcases here.
OAuth Token
OAuth Token is generated from the merchants’ API Key and Secret. The API Key
and API Secret
can be obtained through the provisioning API in Sandbox, as described in the API User and API Key Management section.
Target Environment
The Target Environment used in Testing is “sandbox”
Test Currency
The currency used in Sandbox is EUR
Test Numbers
The following Numbers are predefined with respective response for all Testcases.
Number | Response |
---|---|
46733123450 | failed |
46733123451 | rejected |
46733123452 | timeout |
46733123453 | ongoing (will answer pending first and if requested again after 30 seconds it will respond success) |
46733123454 | pending |
Any other Number results in Success
Common Error Codes
Common error codes can be seen in the next section.