php - 商户信息无效 : 10002-You do not have permissions to make this API call

标签 php paypal

我在 Paypal 支付网关集成方面遇到了一些问题。

我的实时网站交易工作正常,付款已获批准,但测试模式付款返回以下错误消息

Invalid merchant information: 10002-You do not have permissions to make this API call

我正在使用跟随 URL 在测试或实时模式下发送请求

if ($this->test_mode == 1) {

     $this->submiturl = 'https://pilot-payflowpro.paypal.com';
}
else
{
    $this->submiturl = 'https://payflowpro.paypal.com';
}

我已按照以下步骤更新经理帐户详细信息

在“服务设置 --> 设置 --> PayPal 沙盒电子邮件地址”下您经理帐户中的 Business Pro 沙盒帐户。

最佳答案

可能的解决方案:

  1. 此错误消息是您无法进行 API 调用的结果,原因很可能是您的经理帐号中的帐号级别设置;账户偏好,交易设置:[信用最大值] [引用交易] [等] 伙计-你发送什么样的请求?销售、信用、引用信用或引用交易?

评论

  1. 沙箱帐户不需要在管理端,因为 仅用于测试 PayPal Express Checkout 付款

  2. 端点对于测试/实时网关是正确的

关于php - 商户信息无效 : 10002-You do not have permissions to make this API call,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33544332/

相关文章:

javascript - 动态更改 meta/title 标签,具体取决于页面是否带 js

php - 我如何检查我的 WordPress 代码是否正确?

php - WordPress wpdb 未从数据库获取结果

php - App内paypal的实现

angular - 如何将 PayPal 快速结帐集成到 angular2 typescript 项目中

PHP while 语句问题

php - 使用变量和文本在 PHP 中创建 SQL 表

curl - Paypal 沙箱异常 "Unable to communicate with the PayPal gateway"Magento

c# - 将价格传递给 Paypal 时出错

php - Magento 中的 Paypal 错误 #10602