CCAvenue Android集成 [英] CCAvenue Android Integration
问题描述
我正在将CCAvenue集成到我的android应用程序中,并且正在执行非无缝集成。
I am integrating CCAvenue to my android app and I am doing Non-seamless integration.
我的商家服务器是php,并且正在将我的httppost传递到GetRSA。 php文件保存在我的商家服务器中。
My merchant server is php and I am making my httppost to the GetRSA.php file kept in my merchant server.
我使用的代码如下
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);
访问代码,订单ID和RSA URL是从上一个活动传递的,而我是ACESS_CODE使用是由CCAvenue提供的,而RSA_KEY_URL是我将GetRSA.php保留在商家服务器中的路径。
The access code, order id and the RSA url is passed from the previous activity and the ACESS_CODE I am using is the one provided by the CCAvenue and the RSA_KEY_URL is the path where I kept the GetRSA.php in the merchant server.
但是我得到的响应是!错误!未注册呼叫者IP /找不到商家。
But the response I am getting is "!ERROR!Caller IP not registered/Merchant Not found."
有什么问题吗?
推荐答案
请确保您的公共/外发IP已在CCAvenue的末端列入白名单。还要确保您使用的是正确的CCAvenue提供的访问代码,商户ID和工作密钥。请参阅链接
Kindly make sure that your Public/Outgoing IP has been whitelisted on CCAvenue's end.Also Make sure you are using the proper Access Code,Merchant ID and working key provided by CCAvenue.See the Link
这篇关于CCAvenue Android集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!