How to test CCAvenue Payment Gateway in localhost? (Avoid Error Code: 10002 Merchant Authentication failed)
In this tutorial, I am going to discuss how to test a CCAvenue payment gateway on your local system.
Why this tutorial?
To test CCAvenue in localhost.
To avoid issues on the Live website.
CCAvenue is one of the leading payment gateway providers in India, though their documentation is not up to the industry standard. It is hard to understand. While googling I found many peoples are getting 1002 Authentication Failed.
Reason for CCAvenue 10002 Authentication Failure
Wrong/invalid merchant ID
Wrong/invalid Working Key
Wrong/invalid access Key
URL of the registered website
But, that CCAvenue error message 10002 does not provide much information on which part it is failing because of security reason. However, many of them think that they are using wrong merchant id or access key or working key. But actual reason for this issue is URL of the account.
If you are registered for www.aravin.net, your payment gateway will work only on www.aravin.net, you cannot use it for any other website.