Testing the CCAvenue payment method
Understand how to test the CCAvenue payment method.
Last updated
Understand how to test the CCAvenue payment method.
Last updated
You can test your payment integration in the CCAvenue sandbox. Always use your test API keys to prevent you from interacting directly with payment services when evaluating your integration. Ensure that the test data you enter does not create an actual charge or result in the funds transfer.
Use your confidential (secret) test API key when conducting testing in the Commerce API. Use your public test API key to create test payment sources in DigitalRiver.js.
Your testing approach depends on whether the payment method has an authentication flow of redirect. If you don't know the flow of the payment method you'd like to test, you can find it on the Supported payment methods page.
Use the following payment information when running a test.
Credit Card
4111111111111111 / 123
The expiration date must be at lease one day in the future.
Net Banking
AvenueTest
UPI
select BHIM (first button) / 123456@upi
Wait for the countdown. Unified Payment Interface (UPI) identifier can be any six-digit number and @upi—for example, 123456@upi and 458093@upi. You can use every UPI identifier multiple times per day. However, when testing, you should either (1) clear the cookies or (2) use an incognito window every time after placing the order.
Wallet
AvenueTest
Use any card number under Testing the CCAvenue payment method to test for successful or failed payment scenarios. Visit the Bank Response Page via the following URL to specify the card's behavior: https://test.ccavenue.com/bnk/servlet/processCCardReq?gtwID=AVN&requestType=PAYMENT. Before running the test scenario, complete the necessary fields and set the Transaction Status to Y for a success scenario and N for an error scenario.