簡體   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