简体   繁体   English

Braintree授权错误

[英]Braintree authorization error

I'm trying to setup the braintree method on a PHP web app and I have read most of given documentation on Braintree's website. 我正在尝试在PHP Web应用程序上设置Braintree方法,并且已经阅读了Braintree网站上的大部分给定文档。

I ended up with a sandbox running perfectly so I decided switch it to production. 我最终得到了一个运行良好的沙箱,因此决定将其转换为生产环境。 I created a prod account and duplicated all the settings one by one. 我创建了一个产品帐户,并一一复制了所有设置。 I then tried to make a payment on the production server and everytime I get the following error: 然后,我尝试在生产服务器上付款,每次出现以下错误:

Screenshot of the error 错误的屏幕截图

Did anyone encounter this issue? 有人遇到这个问题吗? If so, did you find a way to fix it? 如果是这样,您是否找到一种解决方法?

Have you checked braintrees website for developers for this exception? 您是否检查过braintrees网站上的开发人员是否有此例外情况?

Authorization Error Braintree_Exception_Authorization 授权错误Braintree_Exception_Authorization

Raised when the API key that you're using is not authorized to perform the attempted action according to the role assigned to the user who owns the API key. 根据所分配给拥有API密钥的用户的角色,未授权您使用的API密钥执行尝试的操作时引发。

This error can also occur if the data you submitted was malformed – either a parameter isn't in the allowed list, or it is at the wrong location in the nested parameters. 如果您提交的数据格式错误,也可能发生此错误-参数不在允许列表中,或者参数在嵌套参数中的位置错误。

Authorization Exception on developers.braintreepayments.com developers.braintreepayments.com上的授权例外

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM