Android ccavenue支付网关集成

时间:2017-07-14 17:21:23

标签: java android android-studio payment-gateway ccavenue

我正在尝试将Android CCavenue支付网关集成集成到我的Android Recharge Application

我已关注此链接followed steps in this link以及CCavenue文档

当我尝试点击付款按钮时

enter image description here

我正在获取来自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......................

这是我的示例代码:

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

任何人都可以协助此

1 个答案:

答案 0 :(得分:0)

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