Paypal支付 PayPal API: Exception: 401 when accessing https://api.sandbox.paypal.com/v1/oauth2/token
super
2022-02-10 19:51
1934
paypal报错
PayPal API: Exception: 401 when accessing https://api.sandbox.paypal.com/v1/oauth2/token
1)看下是不是sandbox账户,与live账户配置混用了
2)确认下你复制粘贴过来的clientid 与secret是否正确
有时候复制过来的都能出错??
live
array(
'mode' => 'live',
'log.LogEnabled' => true,
'log.FileName' => './PayPal.log',
'log.LogLevel' => 'FINE',
'cache.enabled' => true
)
sandbox
array(
'mode' => 'sandbox',
'log.LogEnabled' => true,
'log.FileName' => './PayPal.log',
'log.LogLevel' => 'DEBUG',
'cache.enabled' => true
)
有需要可以联系我排错儿:v: feimao7210
0 条讨论