Paypal not posting data on Return url on mobile br

2019-07-24 03:02发布

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>

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.

Please help me.

标签: php post paypal
3条回答
叼着烟拽天下
2楼-- · 2019-07-24 03:37

I'm pretty sure your problem is that you need to add this line to your code:

<input type="hidden" name="no_note" value="1">

Hope this helps.

查看更多
我欲成王,谁敢阻挡
3楼-- · 2019-07-24 03:52

Please set "no_note" Please see following links Link: http://www.paypalobjects.com/en_US/ebook/subscriptions/html.html

查看更多
手持菜刀,她持情操
4楼-- · 2019-07-24 04:01

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

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

查看更多
登录 后发表回答