Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PayPal exception with .NET API: Stream was not readable

Tags:

paypal

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:

Exception in HttpConnection Execute: Stream was not readable.

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.

like image 981
Tim Avatar asked Nov 25 '25 04:11

Tim


1 Answers

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.

like image 196
JasonH Avatar answered Nov 27 '25 17:11

JasonH



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!