贝宝不在移动浏览器上的返回URL上发布数据 [英] Paypal not posting data on Return url on mobile browsers

查看:76
本文介绍了贝宝不在移动浏览器上的返回URL上发布数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用html表单来集成Paypal,而我的表单是

I am using html form to integrate Paypal and my form is as

<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="POST">
<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="hosted_button_id" value="XXXXXXXXXX">
<input type="hidden" name="business" value="admin@domain.com" />
<input type="hidden" name="item_name" value="Item Name" />
<input type="hidden" name="quantity" value="1" />
<input type="hidden" name="amount" value="100.00" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="return" value="http://domain.com/success" />
<input type="hidden" name="cancel_return" value="http://domain.com/fail/" />
<input type="hidden" name="cbt" value="Please Click here to Complete Your Order" />
</form>

当我在台式机浏览器上测试此网站代码时,这是将Paypal数据完美地返回到返回URL上.但是,当我在移动浏览器上测试相同的网站代码时,payapl不会在返回URL上回发任何数据.它只是返回没有任何数据的返回URL.

When I am testing this Website code on desktop browsers this is posting paypal data back on return url perfectly. But when I am testing same website code on my Mobile browser payapl is not posting back any data on return url. It just get back on return url without any data.

请帮助我.

推荐答案

您在移动设备上的回调中收到任何类型的请求吗?您应该在回调页面上记录每个POST请求并对其进行审查

do you get ANY kind of request on callback on mobile? You should log every POST request on callback page and review them

也尝试使用notify_url,应该在此处发送IPN

also try with notify_url as well, IPN should be sent here

这篇关于贝宝不在移动浏览器上的返回URL上发布数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆