PayPal Client Authentication Failed

前端 未结 1 895
滥情空心
滥情空心 2021-01-25 00:09

Since I switched from the sandbox mode to the real deal I get a client authentication failed error.

Config:

{
  \"port\": 5000,
  \"api\": {
            


        
相关标签:
1条回答
  • 2021-01-25 00:37

    After searching for a few hours i found out that i needed another property. Apparently you need to add the property mode with the value "live". The documentation isn't very clear on this part, neither are there any live example codes in the node sdk github repository.

    My config now looks like the following:

    {
        "port": 5000,
        "api": {
            "mode": "live",
            "host": "api.paypal.com",
            "port": "",
            "client_id": "-",
            "client_secret": "-"
        }
    }
    
    0 讨论(0)
提交回复
热议问题