0
我有一个购物车窗体。当我使用FF,IE或Safari提交表格时,一切正常(它重定向到PayPal账户并显示产品描述,价格和登录付费选项)PayPal表格无法在Chrome中工作
但是在Chrome中提交时,它会打开PayPal主页。
这是形式:
<form id="paypalForm" name="paypalForm" action="http://www.paypal.com/cgi-bin/webscr" method="post">
<input type="text" name="business" value="[email protected]">
<input type="text" name="cmd" value="_cart">
<input type="text" name="notify_url" value="http://www.mywebsite.com/ipnlib/ipn.php" />
<input type="text" name="return" value="http://www.mywebsite.com" />
<input type="text" name="currency_code" value="MXN" />
<input type="text" name="upload" value="1">
<input type="text" name="item_number_1" value="02603">
<input type="text" name="item_name_1" value="02603 HOVER PRO 450">
<input type="text" name="quantity_1" value="1">
<input type="text" name="amount_1" value="14239.4">
<input type="submit" value="submit" />
</form>
如果我检查发送了头,似乎罚款,这是标头选项萤火虫和Chrome开发人员工具显示:
铬
business:[email protected]
cmd:_cart
notify_url:http://www.mywebsite.com/ipnlib/ipn.php
return:http://www.mywebsite.com
currency_code:MXN
upload:1
item_number_1:02603
item_name_1:02603 HOVER PRO 450
quantity_1:1
amount_1:14239.4
FireFox
amount_1 14239.4
business [email protected]
cmd _cart
currency_code MXN
item_name_1 02603 HOVER PRO 450
item_number_1 02603
notify_url http://www.mywebsite.com/ipnlib/ipn.php
quantity_1 1
return http://www.mywebsite.com
upload 1
只是想澄清的是,两者之间的区别是' https'代替'http',注意添加'' – TheZ 2012-10-22 21:21:38
你是对的,谢谢@TheZ – 2012-10-22 21:49:05