【发布时间】:2014-04-24 09:39:08
【问题描述】:
我正在尝试使用贝宝付款,但在付款完成后返回我的页面时出现问题。 我想动态地做(所以我不想在贝宝的帐户选项中设置它,因为我可能会将此帐户用于其他事情)。这是我发送给贝宝的表格:
<form id="paypalForm" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="POST">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="notify_url" value="http://zopomobile.es/pruebas/modules/rmaforsat/ipn_paypal.php">
<input type="hidden" name="item_name_1" value="Pago de su orden a Zopomobile.">
<input type="hidden" name="item_number_1" value="1">
<input type="hidden" name="amount_1" value="259.12">
<input type="hidden" name="currency_code" value="EUR">
<input type="hidden" name="custom" value="152">
<input type="hidden" name="business" value="admin-facilitator@zopomovil.es">
<input type="hidden" name="upload" value="1">
<input type="hidden" name="return" value="http://zopomobile.es/pruebas">
<input type="hidden" name="cancel" value="http://zopomobile.es/pruebas/NO">
<input type="hidden" name="rm" value="2">
</form>
我已尝试将“return”变量更改为“return_url”,但仍然无法正常工作。
【问题讨论】:
-
你读过paypal的文档吗?