【发布时间】:2014-01-18 23:21:36
【问题描述】:
我正在使用 codeigniter 和 html,并希望将 PayPal 与我的 HTML 页面集成。我已经将按钮粘贴到我的页面上,但无法通过单击按钮重定向到通过信用卡/借记卡付款的页面。请帮助
我的代码是
<form action="https://www.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="">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynow_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
【问题讨论】:
-
点击按钮时页面是否重定向到任何地方?
-
您遗漏了代码开头的“
-
@CarbonBasedLifeform : 页面重定向到自身不会前进...
标签: php html codeigniter paypal