Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/email/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Mobile Paypal按钮在移动网站上不起作用_Mobile_Paypal_Standards_Payment - Fatal编程技术网

Mobile Paypal按钮在移动网站上不起作用

Mobile Paypal按钮在移动网站上不起作用,mobile,paypal,standards,payment,Mobile,Paypal,Standards,Payment,我使用贝宝在网站上接受付款。它在全尺寸网站上运行良好,但当我在运行jQuery mobile的网站的移动版本上实现相同的代码时,“添加到购物车”按钮不起作用 我使用的是网站支付标准,所以它不像在这篇文章中添加“移动”这样简单: Paypal说该页面应该自动重新定向,但事实并非如此 我的按钮也没有正确显示,这很奇怪。在我的笔记本电脑(在移动网站上)上,按钮被奇怪地拉伸,在我的手机(在移动网站上)上,按钮看起来也很奇怪 以下是我的Paypal按钮代码: <form target="paypal

我使用贝宝在网站上接受付款。它在全尺寸网站上运行良好,但当我在运行jQuery mobile的网站的移动版本上实现相同的代码时,“添加到购物车”按钮不起作用

我使用的是网站支付标准,所以它不像在这篇文章中添加“移动”这样简单:

Paypal说该页面应该自动重新定向,但事实并非如此

我的按钮也没有正确显示,这很奇怪。在我的笔记本电脑(在移动网站上)上,按钮被奇怪地拉伸,在我的手机(在移动网站上)上,按钮看起来也很奇怪

以下是我的Paypal按钮代码:

<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="ZQK9WXTYG3SDN">
<table>
<tr><td><input type="hidden" name="on0" value="Weekend Ticket Type">Weekend Ticket Type</td></tr><tr><td><select name="os0">
<option value="Full Price Weekend Ticket">Full Price Weekend Ticket £42.00 GBP</option>
<option value="Weekend Concession Ticket">Weekend Concession Ticket £40.00 GBP</option>
<option value="Under 12 Weekend Ticket">Under 12 Weekend Ticket £0.00 GBP</option>
</select> </td></tr>
</table>
<input type="hidden" name="currency_code" value="GBP">
<input style="padding:20px 0px 0px 0px;" width="120" type="image" src="http://www.website-domain.com/images/PayPal-button.jpg" border="0" name="submit" alt="PayPal — The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>

周末票类型
周末全价票42.00英镑
周末优惠票40.00英镑
12岁以下周末门票0.00英镑
(我已经更改了网站域名,以防止其在搜索引擎中被发现;-)


非常感谢您的帮助

我建议jQuery Mobile正在劫持您的表单提交(就像

或通过将此代码段添加到代码中来全局禁用它:

$(document).bind("mobileinit", function(){
  $.mobile.ajaxEnabled = false;
});