如何调用 Paypal rest API 通过 rest in java 获取访问令牌
How to call Paypal rest API to the get access token through rest in java
我正在使用 postmaster 工具对此进行测试,但没有结果。来自 PayPal,url 是 https://api.sandbox.paypal.com/v1/oauth2/token。任何人都可以给出解决方案。对我来说这个错误:{
"error": "invalid_client",
"error_description": "Invalid client credentials"
}
确保您的客户端和密码在授权 header 中得到传递,本质上与基本身份验证中的 user/password 相同。
此页面详细介绍了该过程。
https://developer.paypal.com/webapps/developer/docs/integration/direct/make-your-first-call/
我正在使用 postmaster 工具对此进行测试,但没有结果。来自 PayPal,url 是 https://api.sandbox.paypal.com/v1/oauth2/token。任何人都可以给出解决方案。对我来说这个错误:{ "error": "invalid_client", "error_description": "Invalid client credentials" }
确保您的客户端和密码在授权 header 中得到传递,本质上与基本身份验证中的 user/password 相同。
此页面详细介绍了该过程。 https://developer.paypal.com/webapps/developer/docs/integration/direct/make-your-first-call/