.NET API的PayPal异常:流不可读 [英] PayPal exception with .NET API: Stream was not readable

查看:68
本文介绍了.NET API的PayPal异常:流不可读的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试处理付款,但是我的客户遇到了例外.当我逐步进行支付过程时,尝试使用OAuthTokenCredential方法获取访问令牌时会看到此异常:

Trying to process payments, but my customers are getting an exception. When I step through the payment process, I see this exception when I attempt to obtain an Access Token using the OAuthTokenCredential method:

HttpConnection执行中的异常:流不可读.

Exception in HttpConnection Execute: Stream was not readable.

这只是几天前的工作.我确实更新了网站上的某些内容,但没有涉及PayPal代码,也没有更改ClientId和ClientSecret凭据.对可能发生的事情有任何想法吗?谢谢.

This was working just a few days ago. I did update some things on my site, but have not touched the PayPal code, nor have I changed the ClientId and ClientSecret credentials. Any thoughts on what might be happening? Thanks.

推荐答案

PayPal崩溃了,他们不得不发布PayPal REST API的更新.使用NuGet下载更新的API参考,它可以解决此问题.

Something broke on PayPal's end and they had to release an update to their PayPal REST API. Use NuGet to download the updated API references and it fixes the issue.

这篇关于.NET API的PayPal异常:流不可读的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆