Testing Guide
Before going live, merchants must first integrate and test on the EdfaPay Sandbox Environment.
Testing Guide
Before launching, merchants must integrate and thoroughly test their systems within the EdfaPay Sandbox Environment. This environment allows you to validate your integration, test payment flows, and handle callbacks without affecting real transactions.
Sandbox Base URL
https://apidev.edfapay.comAll test requests should be directed to this endpoint. When transitioning to a live environment, simply update the base URL to:
https://api.edfapay.comSandbox Credentials
Upon registration, you will receive a unique Sandbox Merchant Key and Merchant Password for authentication. These credentials are distinct from your Production credentials. If you have not yet received your sandbox details, please contact EdfaPay Support.
Email: [email protected]
Test Cards
To simulate various payment scenarios, we provide a comprehensive set of dummy Card Numbers.
Note: Apple Pay cannot be tested in the sandbox environment. A production environment with a valid Apple Merchant ID is required for Apple Pay testing.
Importing Postman Collection
To streamline your testing process:
- Download: Obtain the EdfaPay Postman Collection, which will be provided by our team.
- Import: Open Postman, navigate to "Import," and upload the downloaded collection JSON file.
- Configure: Update the Environment Variables within Postman with your sandbox merchant credentials.
- Switch Environments: Easily toggle between Sandbox and Production environments by simply updating the base URL.
What to Test
We recommend testing the following key functionalities:
- Sale (S2S) payments
- Refunds
- Webhook callbacks
- Invoice creation and payment
- Error handling (e.g., decline codes)
Go Live Checklist
To ensure a smooth transition to the production environment, complete the following steps:
- Update Base URL: Switch from the Sandbox base URL to the Production base URL.
- Replace Credentials: Update your system with production credentials, replacing the sandbox ones.
- Verify Callbacks & Redirections: Confirm that all callback URLs and success/failure redirection pages are functioning correctly.
- Live Transaction: Perform a small live transaction with a real card to ensure final confirmation of your integration.
This guide empowers merchants to thoroughly test their integration, ensuring confidence before going live with the EdfaPay platform.
Updated 13 days ago