Sandbox
Our service provides a sandbox environment for deposit testing, allowing you to simulate API responses and receive expected outcomes. To utilize the sandbox feature, follow these steps:
Contact Your Account Manager:
- Reach out to your organizational manager to obtain the necessary instructions for connecting to the test versions of the payment gateways. They will guide you through the setup process.
Use the
ExpectedResponse
Key in Order Creation Requests:- When creating an order, include the following key in the
additionalFields
array of your request:
{ "key": "ExpectedResponse", "value": "status=failed" }
The
value
field can be set to the following options to simulate different responses:status=failed
: Simulates a failed payment status.status=success
: Simulates a successful payment status.
- When creating an order, include the following key in the
These configurations allow you to thoroughly test your integration with PayStar and ensure that your system handles different scenarios appropriately.
Last modified: a month ago