繁体   English   中英

贝宝动态返回网址不起作用

[英]Paypal dynamic return url not working

我正在尝试进行贝宝付款,付款完成后返回页面时遇到问题。 我想动态地进行操作(因此,我不想在贝宝的帐户选项中进行设置,因为我可能将此帐户用于其他用途)。 这是我发送给贝宝的表格:

<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”,但仍然无法正常工作。

如果您想自动重定向到“ http://www.zopomobile.es/pruebas/ ”,则需要在PayPal个人资料上打开“自动返回”。 现在,您的个人资料中的“自动返回”处于“关闭”状态。

返回参数是return

https://www.sandbox.paypal.com/us/cgi-bin/webscr?cmd=_profile-website-payments

检查上面的链接以打开“自动返回”功能。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM