For UPI intent flows in SANDBOX env, you can simulate payment success/failure scenarios with our simulator app. Download & Install the app from the given link in your real device or Android emulator.

UPI Intent Simulator App

When you run your app and go to the payment page, it will show our UPI intent simulator app.

Select the Cashfree test UPI app and it will open the page where you can simulate success/failure.