I integrate CCAvenue into my Android app and perform non-integrative integration.
My trading server is php and I make my httppost in the GetRSA.php file stored on my trading server.
The code I'm using is below
List<NameValuePair> httpParams = new ArrayList<NameValuePair>(); httpParams.add(new BasicNameValuePair("access_code", intent.getStringExtra("access_code"))); httpParams.add(new BasicNameValuePair("order_id", intent.getStringExtra("order_id"))); String vResponse = sh.makeServiceCall(intent.getStringExtra(RSA_KEY_URL), ServiceHandler.POST, httpParams);
The access code, order ID, and RSA URL are passed from the previous step, and the ACESS_CODE I use is the one provided by CCAvenue, and RSA_KEY_URL is the path where I saved GetRSA.php on the trading server.
But the answer I get is "! ERROR! Caller IP not registered / Merchant Not found."
What could be wrong?
source share