当前位置: 首页 > 知识库问答 >
问题:

卡支付错误508-Realex支付错误号: 61,754

赵高韵
2023-03-14

我使用realex支付与iframe我可以加载支付页面正确,但一旦我点击立即支付它返回错误: 508消息:处理您的请求发生了错误。请联系您购买的商品或服务引用以下错误代码的商家: 61,754(大多数时候它返回正确的响应字符串成功或拒绝),但有时它返回以上错误代码)任何想法是什么意思以及如何解决这个问题?

    <script type='text/javascript'>       
        
        function iRedirect(redirectUrl, arg, value) {
           
            console.log(redirectUrl);
            try {
                var form = $('<form action="' + redirectUrl + '" method="post">' +
                    '<input type="hidden" name="' + arg + '" value="' + value + '"></input>' + '</form>');
                $('body').append(form);
                console.log(form);
                $(form).submit();
            }
            catch (e) {
                alert(e.message);
            }
         }

         function displayMessage(evt)
         {
               
             var message;
              
             try {
                 var iOrigin = '<%=ConfigurationManager.AppSettings["RealexResponseDomain"] %>';
                 if (evt.origin == iOrigin) {

                     message = evt.data.toString();
                     console.log(message);
                     if (message.indexOf("Error") == 0) {
                         var ErrorJsonStr = message.toString().split(":");
                         var ErrorJsonStr1 = ErrorJsonStr[1].split("<BR>");
                         var reDirectPath = "{\"" + ErrorJsonStr[0] + "\"" + ":" + "\"" + ErrorJsonStr1[0] + "\"" + "," + "\"" + ErrorJsonStr1[1] + "\"" + ":" + "\"" + ErrorJsonStr[2] + "\"" + "}";
                        
                         iRedirect("Response.aspx", "JsonStr", encodeURIComponent(reDirectPath));
                     }
                     else {
                         if (isJson(message) == true) {

                             var message1 = JSON.parse(message);
                             //alert(message1);
                              console.log(message1);
                             if (message1.hasOwnProperty('pas_uuid')) {
                                 iRedirect("Response.aspx", "JsonStr", encodeURIComponent(message.toString()));
                             }
                             else {
                                 //check if this transaction is already exist
                                 //do redirect
                                 //alert("not pas_uuid" + message1);
                                 console.log("not pas_uuid" + message1);
                             }
                         }
                     }
                     //get message and check result
                 }
                 else {
                     console.log("not data");
                 }
             }
            
             catch (err) {
                  console.log(err.message);
                
             }
         }

         function isJson(str) {
             try {
                 JSON.parse(str);
             }
             catch (e)
             {
                 console.log(e.message);
                 return false;
             }
             return true;
         }
            
          if (window.addEventListener) {
             // For standards-compliant web browsers
             window.addEventListener("message", displayMessage, false);
         }
         else {
             window.attachEvent("onmessage", displayMessage);
         }

         
    </script>

共有1个答案

岳嘉悦
2023-03-14

有两种主要情况下,此消息可能会显示在HPP上。

>

您使用的商户ID和帐户已启用3D安全1,但您使用的是未启用3D安全的测试卡。

如果您认为这不是这些问题中的任何一个,请向我们的支持团队提供发生这种情况的交易的示例订单ID,他们将能够更详细地查看日志

 类似资料:
  • 在您重定向到Realex输入详细信息之前,引用网址应该是您网站上的最后一页吗?如果是这样,那么如果你有动态网址呢?

  • 说明 微信刷卡支付SDK。 官方文档:https://pay.weixin.qq.com/wiki/doc/api/micropay.php?chapter=9_10&index=1 类 请求参数类 支付参数 类名:\Yurun\PaySDK\Weixin\Micropay\Params\Pay\Request 属性 名称 类型 说明 $_apiMethod string 接口名称 $auth_c

  • 我试图在我的网站上与Onmipay Mollie和Barryvdh Laravel Omnipay建立一个支付系统 当我想付款时,提交用于付款的表格。我得到一个错误: 我的路由文件: 和我的PurchaseController: Paymenturl视图: 有什么东西不见了吗?我整个周末都在忙这个,但没有成功。有人能告诉我出了什么事吗? 仅供参考:我正在本地主机上执行此操作。不知道这是否有问题(不

  • 说明 用于门店扫客人的付款码进行支付结账,支持微信支付、支付宝支付 请求地址 http://api.dc78.cn/Api/cash_code_pay 请求方式 POST 请求参数 参数 参数名称 必填 描述 范例 table 桌台 否 桌台号 2288 bzid 结算业务单号 否 建议提供,请确保本门店内唯一 201805180018 amt 结账金额 是 208.80 auth_code 付款

  • 用于门店扫客人的付款码进行支付结账,支持微信支付、支付宝支付 此协议的返回有两种情况:一是扫码后无需密码直接完成交易,则协议马上返回。二是需要用户输入密码,返回status=0,请根据state的内容分别进行后续处理。 如果为WAIT表示用户正在输入密码,请调用协议2.7继续查询支付状态。 如果state为RETRY为服务器未能返回结果,也请继续调用2.7继续查询支付状态。 建议5秒一次重试,直到

  • wx.BaaS.pay(OBJECT) OBJECT 参数说明 参数 类型 必填 参数描述 totalCost Number Y 支付总额 merchandiseDescription String Y 微信支付凭证-商品详情的内容 merchandiseSchemaID Integer N 商品表 ID,可用于定位用户购买的物品 merchandiseRecordID String N 商品记录