简体   繁体   English

PayPal返回页面/成功页面问题

[英]PayPal Return Page / Success Page issue

I am using PayPal minicart on a BuyNow Page.But Problem is that User doesn't redirects back to the return page after completing the traction on PayPal Website. 我在BuyNow页面上使用PayPal微型购物车。但是问题是,在完成PayPal网站上的牵引力后,用户不会重定向回返回页面。 Although transaction has been successfully completed but there was no redirect to the return page ( http://XXX.org/BuyerInfo.aspx ) 虽然事务已成功完成,但没有重定向到返回页面( http://XXX.org/BuyerInfo.aspx

Here is the code 这是代码

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
            <fieldset style="float:none">
                <input type="hidden" name="cmd" value="_cart" />
                <input type="hidden" name="add" value="1" />
                <input type="hidden" name="business" value="X@gmail.com" />
                <input type="hidden" name="item_name" value="Product 1" />
                <input type="hidden" name="amount" value="6.00" />

                <input type="hidden" name="currency_code" value="USD" />




<input type="hidden" name="return" value="http://XXX.org/BuyerInfo.aspx" />



                <input type="hidden" name="cancel_return" value="http://XXX.org" />

                <ul id="centerFix" style="text-align:justify"  >
                    <li class="centerf"><strong>Price</strong>: $6.00</li>

                </ul>

                <input type="submit" name="submit" value="Add to cart" class="button" />
            </fieldset>

        </form>


        <form action="https://www.paypal.com/cgi-bin/webscr" method="post" class="last"> 
            <fieldset>
                <input type="hidden" name="business" value="X@gmail.com"> 
                <input type="hidden" name="cmd" value="_cart"> 
                <input type="hidden" name="display" value="1"> 
                <input type="submit" name="submit" value="View your cart" class="button">
            </fieldset>
        </form>

Thanks 谢谢

Website Payments Standard only redirects automatically if: 网站付款标准仅在以下情况下自动重定向:

  1. 'Auto Return' has been enabled on the PayPal account (via Profile > My selling tools) PayPal帐户已启用“自动退货”(通过个人资料>我的销售工具)
  2. The buyer is a registered PayPal buyer 买方是注册的PayPal买家

If the buyer is not a registered PayPal buyer, they'll have to click the orange "Return to merchant" button. 如果买家不是注册的PayPal买家,则必须点击橙色的“返回商家”按钮。

If you set 'return', this will override whatever value you specify as the return URL in the 'Auto Return' settings. 如果您设置“返回”,它将覆盖您在“自动返回”设置中指定为返回URL的任何值。

Can you clarify why you need the buyer to be returned back? 您能否澄清一下为什么需要买家退回? There are better, more secure ways to provide you with information when the transaction has been completed, if that's what you need it for. 在交易完成后,有更好,更安全的方式为您提供信息,如果您需要的话。

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

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