我在我的网站上使用Paypal立即购买按钮。出于测试目的,我使用的是paypal沙盒帐户。问题是,当我点击立即购买按钮时,当我还没有登录时,它会带我到沙箱登录页面。以下是我现在购买的按钮代码
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="skariz_1316503728_biz@gmail.com">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="item_name" value="PSYC">
<input type="hidden" name="amount" value="2.00">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="custom" value="test@test.com">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="button_subtype" value="services">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="bn" value="PP-BuyNowBF:btn_buynowCC_LG.gif:NonHostedGuest">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.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>
答案 0 :(得分:2)
我相信沙箱帐户按钮要求您登录沙盒帐户才能使用它。如果内存是我最后一次使用IPN,我必须这样做。可能还有一个部分用于创建测试客户沙箱帐户,但我无法回想起。