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.