付款完成后,我不会被重定向到我的网站使用付费支付网关。我收到了以下错误。任何帮助都将不胜感激。
网址:https://test.payumoney.com/payment/postBackParam.do
内容
HTTP Status 404 -/移民点/WEB/jsp/.jsp
类型状态报告
信息/解决/WEB/jsp/.jsp
说明请求的资源不可用。Apache Tomcat/7.0.54
发布于 2015-01-29 06:19:09
在向PayUMoney提交购买信息时,有一个名为Productinfo的字段,它接受JSON数据,其中包含如下所示的购买信息。
Productinfo = {“paymentParts”:[{ "name":"abc", "description":"abcd", "value":"500", "isRequired":"true", “settlementEvent” : “EmailConfirmation” }, { "name":"xyz", "description":"wxyz", "value":"1500", "isRequired":"false", “settlementEvent”: “EmailConfirmation” }], {“paymentIdentifiers”:[{ "field":"CompletionDate", "value":"31/10/2012” }, { "field":"TxnId", "value":"abced" }]}
当这个JSON数据太长时,它无法正确地处理请求,并且无法完成该过程。
发布于 2015-08-20 06:36:14
在将PayU与我们的应用程序集成时,我遇到了同样的问题。关于这个问题,我和PayU技术团队谈过了。桑托什的回答是正确的。
此外,根据PayU的技术团队,JSON数据的长度限制为100。
发布于 2015-10-02 19:00:51
如果您正在使用PHP,那么将JSON格式存储为字符串
$productinfo1 = '{"paymentParts":[{"name":"Designs","description":"Qty : 33","value":null,"isRequired":"true"}],"paymentIdentifiers":[{"field":"CompletionDate","value":"31/10/2012"},{"field":"txnid","value":"21827f29b9e7c4a3b211"}]}';注意:不需要发送所有产品信息,因为长串导致支付网关错误。
$productinfo = json_decode(json_encode($productinfo1));
$hash_string = $merchant_key . '|' . $txn_id . '|' . number_format($total, 2, '.', '') . '|' . $productinfo . '|' . $name . '|' . $email . '|' . $id . '||||||||||' . $salt;
$hash = hash('sha512', $hash_string);发布$hash值以支付款项。
https://stackoverflow.com/questions/28071788
复制相似问题