贝宝沙箱工作,生产不工作。任何人都可以提供解决方案吗?

Posted

技术标签:

【中文标题】贝宝沙箱工作,生产不工作。任何人都可以提供解决方案吗?【英文标题】:PayPal sandbox works, production does not work. Can anybody provide a solution? 【发布时间】:2020-09-19 14:21:11 【问题描述】:

我已在我的在线商店中集成了 paypal 付款。

当处于沙盒模式并使用沙盒 paypal 帐户进行付款时,一切正常。

当处于生产模式并使用真实的贝宝帐户进行付款时,用户在贝宝结帐页面上收到此错误:

当我尝试在另一个使用相同的 paypal 接收付款方式的在线商店上使用相同的真实 paypal 帐户付款时,一切正常。

我使用此代码将用户重定向到贝宝结帐:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="business" value="here I insert our business email" />
<input type="hidden" name="amount" value="0.1" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="item_name" value="test" />
<input type="hidden" name="invoice" value="8514" />
<input type="hidden" name="email" value="here I insert customer email" />
<input type="hidden" name="no_shipping" value="1" />
<input type="hidden" name="charset" value="utf-8" />
<input type="hidden" name="return" value="https://www.ourdomain.com/success.php?orderid=210141&h=03e2f8258d" />
<input type="hidden" name="cancel_return" value="https://www.ourdomain.com/cancel.php?orderid=210141&h=03e2f8258d" />
<input type="hidden" name="notify_url" value="https://www.ourdomain.com/update_paypal.php?orderid=210141&h=03e2f8258d" />
<button class="btn rightSignBig black" type="submit"><span><em>Pay with paypal</em></span></button>
</form>

我应该怎么做才能在生产中接收我的企业帐户的付款?

【问题讨论】:

【参考方案1】:

出于商业原因,PayPal 拒绝了实时交易。对于某些企业类型,信用卡公司需要存档某些协议才能处理交易。

因此,LIVE PayPal 企业账户的所有者需要通过https://www.paypal.com/smarthelp/contact-us 联系 PayPal 的一般业务支持,并说明所有客户信用卡交易都因业务类型而被拒绝,并且询问他们可以做些什么来解决问题。

【讨论】:

以上是关于贝宝沙箱工作,生产不工作。任何人都可以提供解决方案吗?的主要内容,如果未能解决你的问题,请参考以下文章

贝宝沙箱 IPN 通知 url 没有响应

贝宝沙箱不工作[重复]

10609 交易 ID 在贝宝沙箱中无效

贝宝沙箱无法处理请求

贝宝沙箱中的 TransactionId 问题

贝宝沙箱IPN php