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