【发布时间】:2016-05-27 13:44:08
【问题描述】:
我已经在我的应用程序中集成了 PayU SDK,这在测试环境中运行良好,但在生产环境中无法运行。
我收到了这个错误,它破坏了流程
价值
我也从服务器调试了哈希值,但没有帮助。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Error</title>
<link rel="shortcut icon" type="image/ico" href="https://static.payu.in/images/favicon.png" />
<link href="https://static.payu.in/css/main.css" rel="stylesheet" type="text/css" />
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="css/ie6.css" />
<![endif]-->
<style type="text/css"></style></head>
<div id="header" class="clearfix">
<div
class="logo" >
</div>
</div>
<div id="container">
<div class="paymentDetailsDiv">
<div class="paymentDetailsHeading">An Error Occurred</div>
<div class="paymentDetails">
<div class="payby"></div>
<div class="card-bg-top"></div>
<div class="card-bg-mid">
<div id="visamaster-container"></div>
<div
style="font-size: 22px; font-weight: normal; margin-top: 15px; clear: both">
<h4 align="center">
<strong> <span style="color: #FF6600">Sorry, Some Problem
Occurred.</span>
</strong>
</h4>
</div>
</div>
<div class="card-bg-bottom"></div>
<div>
<span style="font-size: 15px;"> </span>
</div>
</div>
</div>
</div>
感谢任何帮助。
【问题讨论】:
-
这是因为 Payu 正在返回 HTML,可能是错误消息。例如,当您使用 symfony 给出错误时,它会返回带有错误的 html。尝试阅读 HTML。
-
嗯,“支付网关”不会以 JSON 格式返回错误响应。我有时想知道,这么蹩脚的支付网关怎么这么受欢迎。
-
Payu是最差的。
标签: android payment-gateway payu