使用“立即购买”按钮时出现PayPal沙盒错误
我的电脑上有一个页面,上面有一个简单的“立即购买”按钮,上面有以下代码:使用“立即购买”按钮时出现PayPal沙盒错误,paypal,paypal-sandbox,Paypal,Paypal Sandbox,我的电脑上有一个页面,上面有一个简单的“立即购买”按钮,上面有以下代码: <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" ></s
<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>
但我得到了一个错误:
由于卖家网站出现问题,贝宝无法处理此交易
当我点击它时,我作为一个测试用户登录到沙盒上,我不知道还能尝试什么。为什么出现“无法处理此事务”错误?要生成非托管/明文按钮,请执行以下步骤:
您还可以找到一个有用的视频。您是否可以尝试创建一个非托管的明文按钮,以便我们可以查看传递的内容以及可能导致问题的原因。您正在将“8tynwa5kgbsp”设置为业务id的值。我不会在沙盒中显示此帐户是否有效。你从哪里得到这个身份证的?这是你的live帐户吗?如果这是来自您的live帐户或live按钮,则您需要使用指向live站点的URL,或者设置一个沙箱帐户并使用该帐户的电子邮件地址或商户id。