Question: eg. JBB Inc. Headquarters 20 West RiverCenter Blvd Covington KY 41011 USA

Answer: 
**The Error code 10002 means that Access code or URL not valid so request you to confirm that you are posting the Access code value to CCAvenue and also confirm that the request URL posting to CCAvenue has to be the same as the registered URL with us, as we are having the URL Validation at our end.** 

The post action URL must be <https://secure.ccavenue.com/transaction/transaction.do?command=initiateTransaction> 

Kindly confirm that you're passing the correct API keys in the integration kit.  

We would like to inform you that the API keys that are generated in your account, are for the live website URL and live server (i.e. secure.ccavenue.com). Thus, if we receive any request other that the website URL, (e.g. Local host / sub-domain), or for the test server (i.e. <https://test.ccavenue.com/transaction/transaction.do?command=initiateTransaction>), you will get the merchant authentication failed error. 

We request you to kindly check at your end.
Error Code: 10002 Merchant Authentication failed.
=================================================

Don't worry... It happens to the best of us.
============================================

This might be due to incorrect MERCHANT ID, WORKING KEY or ACCESS CODE. The most likely it is possible due to incorrect URL so to make sure this is implemented on the Registered Domain for Testing URL/Live url for which the API keys are issued.

Please check the registered ccavenue Testing/Live URL for the same.