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 房号如何排序,sql或算法
      • ¥15 macOS使用IDEA 2022.2.4打包JDK6项目报错
      • ¥20 OpenCV-Python简单轮廓寻找
      • ¥20 使用matlab进行含参数的最优化求解及数值模拟
      • ¥20 MATLAB找出一维变量中的局部极大值和局部极小值,并进行运算
      • ¥15 有Chang求三维杆单元几何非线性分析matlab代码
      • ¥50 使用unity easyar录屏功能。录屏视频整体色调很暗
      • ¥50 pyinstaller 打包问题
      • ¥15 无法使用cnssc调取网页数据
      • ¥15 Pycharm安装en_core_web_sm失败出现Could not find a version that satisfies the requirement spacy报错