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.
Are you using it on localhost?

If you need to test your code from your local machine, you should write to CCAvenue service desk at service@ccavenue.com with your merchant ID and localhost URL to white-list. Else CCAvenue will throw error "Merchant Authentication Failed". 

Otherwise this error can be caused by an incorrect access code or if the order originates from an unregistered URL. Make sure that all three of these values are correct.

After your web address gets approved then recheck the new access key and working key

Also use <https://secure.ccavenue.com/transaction/transaction.do?command=initiateTransaction> this URL for payments