UAT Sandbox for eNACH


What is UAT Sandbox?
The UAT Sandbox allows you to simulate end to end payment flows and test your integration thoroughly. It uses templates that map APIs to predefined sample responses, enabling you to simulate various scenarios such as payment SuccessFailure, and Pending without real transactions.

Benefits of using the UAT Sandbox

  • Even if the PhonePe UAT server is unavailable, the UAT Sandbox ensures a smooth testing experience. You can continue validating payment flows without disruptions.
  • Simulate various payment outcomes such as success, failure, and pending states. This helps ensure your integration handles all real-world scenarios reliably.
  • Thoroughly test the entire payment lifecycle from initiation to response. This ensures a stable and seamless experience when you move to production.

To configure the required template,

  • Open the PhonePe UAT Test App- Select the “Test Case Templates” button.
  • Enter the “Merchant ID” and click “GET CONFIGURED TEMPLATES
  • Enter the “Merchant ID” and click “GET CONFIGURED TEMPLATES” to fetch the current templates if already set. Else, you will get “No Template Configured”
    • For eNACH Integration, use the “Flow: Subscription V2” and select eNACH Setup and Redemption and your template will be configured.

Make sure to set the right templates for the eNACH Integration.

Template for Subscription Setup
For Success - "Setup success via Enach"
For Failure - "Setup failure via Enach"
Template for Redemption and Redemption Cancellation
For Success - "Enach redemption Success"
For Pending Which can be cancelled - "Enach Redemption Pending"
Is this article helpful?