简体   繁体   English

Android ccavenue付款网关集成

[英]Android ccavenue payment gateway integration

I am trying to integrate Android CCavenue payment gateway integration in my Android Recharge Application 我正在尝试在我的Android充值应用程序中集成Android CCavenue付款网关集成

I have followed this link followed steps in this link and also CCavenue Document 我已经按照此链接以及此 CCavenue文档中的步骤进行操作

When i try to click on pay button 当我尝试点击付款按钮时

在此处输入图片说明

I am getting html document as response from GetRSA.php which is deployed on server like below 我正在从GetRSA.php获取html文档作为响应,该文档部署在如下所示的服务器上

<!DOCTYPE html>
 <html>
     <head>
     <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <meta http-equiv="Cache-control" content="no-cache">
     <meta http-equiv="Pragma" content="no-cache">
     <meta http-equiv="Expires" content="0">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <title>404 Not Found</title>
    <style type="text/css">
        body {
             font-family: Arial, Helvetica, sans-serif;
             font-size: 14px;
             line-height: 1.428571429;
             background-co
    etc......................

Here is my Sample Code: 这是我的示例代码:

String vResponse = sh.makeServiceCall(mainIntent.getStringExtra(AvenuesParams.RSA_KEY_URL), ServiceHandler.POST, params);
        System.out.println("Response"+vResponse);//printing above mentioned html code

Can any one please assist on this 有人可以帮忙吗

只需从GetRSA.php文件中删除所有html标记即可。它将按预期工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM