Android中的CCAvenue集成 [英] CCAvenue Integration in Android

查看:63
本文介绍了Android中的CCAvenue集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

很高兴认识你.

我正在使用parse.com作为后端开发购物应用程序. 我将与印度支付网关(CCAVenue)集成. 我正在将CCAvenue集成到我的android应用程序中,并且正在执行非无缝集成. 我的商家服务器是php,我正在将我的httppost写入保存在商家服务器中的GetRSA.php文件. 我正在使用的代码如下

 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保留在商家服务器中的路径.

但是我得到的响应是!ERROR!未注册呼叫者IP/找不到商户."

有什么问题吗?

我将等待您的答复.

谢谢.

解决方案

由于您的服务器请求被大道服务器列出了阻止,因此将发生此错误. 首先,您必须将ccavenue服务器的商户服务器的IP地址白名单列出. 请按照以下步骤进行相同操作.

在命令提示符下

ping您的商家服务器url,以获取IP地址.或选择要求您的商家服务器托管团队的客户支持来获取您的商家服务器的IP.

发送电子邮件至salessupport@ccavenue.com,说出白名单列出了ip地址.要立即回复您的邮件,请在将邮件发送给大道团队后立即致电他们.

有关更多详细信息,请致电avenue客户技术支持团队,电话+91 22 67425555 然后按2到达技术团队.

他们将在几分钟内解决您的问题,不要在堆栈溢出中浪费时间.在与付款网关相关的堆栈溢出esp中,您获得的支持将更少,而您更依赖于技术支持团队.

集成愉快.

Nice to meet you.

I am developing shopping app using parse.com as backend. I am going to integrate with Indian Payment Gateway(CCAVenue). I am integrating CCAvenue to my android app and I am doing Non-seamless integration. My merchant server is php and I am making my httppost to the GetRSA.php file kept in my merchant server. The code I am using is as 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 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.

But the response I am getting is "!ERROR!Caller IP not registered/Merchant Not found."

What can be wrong?

I will wait your reply.

Thanks.

解决方案

This error will come because your server requests are block listed by avenues server. First you have to white list your merchant server out going ip address with ccavenue server. follow below steps to do the same.

ping your merchant server url from command prompt, to get out going ip address. Or optionally ask your merchant server hosting team customer support to get your out going ip for your merchant server.

send a mail to salessupport@ccavenue.com, saying white list that out going ip. To get immediate reply to your mail, after send mail to avenues team call them immediately.

for more details call avenues customer technical support team at +91 22 67425555 and press 2 to reach technical team.

They will solve your issue in minutes, don't waste time in stack overflow. You will get very less support in stack overflow esp related to payment gateways, better you depend on technical support team.

Happy integration.

这篇关于Android中的CCAvenue集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆