我有我的计算机上的网页,现在有一个简单的购买按钮用下面的代码:贝宝沙箱错误使用立即购买按钮
<script src="paypal-button-minicart.min.js"></script>
<script src="paypal-button.min.js?merchant=8TYNWA5KGBSPE"
data-button="buynow"
data-name="My product"
data-amount="15.00"
></script>
<form action="https://www.sandbox.paypal.com/cgibin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="8TYNWA5KGBSPE">
<input type="hidden" name="lc" value="GB">
<input type="hidden" name="item_name" value="Football lessons">
<input type="hidden" name="amount" value="15.00">
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="button_subtype" value="services">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="cn" value="Add special instructions to the seller:">
<input type="hidden" name="no_shipping" value="2">
<input type="hidden" name="bn" value="PP-BuyNowBF:btn_buynowCC_LG.gif:NonHosted">
<input type="image" src="https://www.paypalobjects.com/en_US/GB/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_GB/i/scr/pixel.gif" width="1" height="1">
</form>
但我得到的错误:
PayPal cannot process this transaction because of a problem with the seller's website
当我点击它,我作为沙箱上的测试用户登录,我不知道还有什么要尝试。为什么我得到'无法处理此事务'的错误?
您可以尝试创建一个非托管的明文按钮,以便我们可以看到正在传递的内容以及可能导致问题的原因。 – 2013-04-10 13:58:12