我在Paypal支付网关集成方面遇到了一些问题。
我的现场交易运行良好,付款已批准,但测试模式付款返回错误消息
无效的商家信息:10002您没有权限使这个API调用
我正在使用以下URL在测试或实时模式上发送请求
if ($this->test_mode == 1) {
$this->submiturl = 'https://pilot-payflowpro.paypal.com';
}
else
{
$this->submiturl = 'https://payflowpro.paypal.com';
}
我已通过以下步骤更新经理帐户详细信息
Business Pro沙盒帐户位于经理帐户的"服务设置-->设置-->PayPal沙盒电子邮件地址"下。
可能的解决方案:
- 此错误消息是由于您的经理帐户中的帐户级别设置导致您无法进行API调用的结果;账户偏好,交易设置:[credit max][reference transaction][etc.]man-你发送的是什么样的请求?销售、信贷、参考信贷还是参考交易
评论
-
沙箱帐户不需要在管理器端仅用于测试PayPal Express Checkout支付
-
端点对于测试/实时网关是正确的