简体   繁体   English

坚持获取信用卡(贝宝)的访问令牌

[英]Stuck on getting access token for Credit Card (paypal)

I am working on an application which uses Paypal REST API for payments. 我正在使用Paypal REST API进行付款的应用程序。 I have a client ID & secret but when I try to fetch the access token I get the following error message- 我有一个客户端ID和机密信息,但是当我尝试获取访问令牌时,出现以下错误消息:

Invalid HTTP response The underlying connection was closed: An unexpected error occurred on a send 无效的HTTP响应基础连接已关闭:发送中发生意外错误

What could be the problem? 可能是什么问题呢? please suggest. 请提出建议。 Thanks in advance 提前致谢

Fixed this. 解决此问题。 The version of Newtonsoft.JSON was not compatible with paypal rest API & the webconfig on server was not updated with the package includes. Newtonsoft.JSON的版本与paypal rest API不兼容,并且服务器上的webconfig没有使用包中的包进行更新。

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

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