weixin_33681778 2016-12-20 10:22 采纳率: 0%
浏览 50

Paypal URL发布问题

I am trying to use Paypal on my web-application, This the code of the Paypal form :

<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="XXXXXXXXXX"><input type="image" src="https://www.paypalobjects.com/he_IL/IL/i/btn/btn_paynowCC_LG.gif" border="0" name="submit" alt="PayPal - הדרך הקלה והבטוחה יותר לשלם באינטרנט!"><img alt="" border="0" src="https://www.paypalobjects.com/he_IL/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="full_name" value="Full name62249"><input type="hidden" name="rm" value="2">
<input type="hidden" name="no_note" value="1"><input type="hidden" name="custom" value="110"><input type="hidden" name="payer_email" value="xxxxxxxx@xxxxxxx.com"><input type="hidden" name="return" value="http://www.adv.nmc-medical.co.il/paypal-thanks">
</form>

It works correctly in the desktop browsers. but in mobile it returns an empty array from the POST. I have printed the POST Array that returned from Paypal: in desktop

array ( 'txn_id' => 'XXXXXXXXXXXX', 'mc_currency' => 'ILS', 'mc_fee' => '4.60', 'mc_gross' => '100.00', 'protection_eligibility' => 'ELIGIBLE', 'payment_date' => '2016-12-20T09:06:06Z', 'payment_fee' => '4.60', 'payment_gross' => '100.00', 'payment_status' => 'Completed', 'payment_type' => 'INSTANT_TRANSFER', 'business' => 'XXXXXXXXXX', 'receiver_id' => 'XXXXXXXXXX', 'payer_email' => 'XXXXXXXXX', 'payer_id' => 'XXXXXXXX', 'payer_status' => 'VERIFIED', 'first_name' => 'XXXXXX', 'last_name' => 'XXXXX', 'address_name' => 'loai Shi', 'address_street' => 'יXXXXXXXXX 5 XXXXXXX 4', 'address_city' => 'XXXXX', 'address_country_code' => 'IL', 'address_zip' => 'XXXXX', 'residence_country' => 'IL', 'item_name' => 'nmc test', 'quantity' => '1', 'custom' => '99', 'charset' => 'windows-1255', )

in mobile :

array()

I have i done wrong?

  • 写回答

0条回答 默认 最新

      报告相同问题?

      悬赏问题

      • ¥15 为什么我的虚拟机运行配置apache的脚本都会错误,重装也没用
      • ¥15 霍利韦尔软件web station N4的安装密码忘记了能找回吗
      • ¥20 帮电子新生画个仿真图吧🥰
      • ¥20 基于STM32F407设计一个贪食蛇游戏,要求:1有开始 、结束界面,能进行游戏设置,如:界面颜色,蛇移动速度。2蛇体能上下左右移动且在界面能随机生成食物,蛇吃后会变长;3小蛇碰壁死亡,显示游戏结束。
      • ¥15 摁摁钮(接P3.4口)无法实现点阵管播放速度调节,大家能帮我看看是什么问题吗?TAT
      • ¥30 小型网络防火墙mstp.vrrp.ospf配置
      • ¥15 grafna发送告警信息
      • ¥15 51单片机,LCD屏幕内容修改
      • ¥20 Ida Pro动态调试
      • ¥15 TensorFlow深度学习拓展项目