更新PayPal Core SDK后出现未知错误

时间:2013-06-26 18:15:59

标签: paypal

我今天将PayPalCoreSDK更新为最新版本,因为我收到了OAuth错误。在我更新了所有内容后,我继续收到错误,但这是一个不合规定的错误。以下是记录的错误:

ERROR PayPal.Exception.PayPalException [(null)] Exception in HttpConnection Execute:      The request was aborted: The request was canceled.
PayPal.Exception.PayPalException: Exception in HttpConnection Execute: The request was     aborted: The request was canceled. ---> System.Net.WebException: The request was aborted:     The request was canceled. ---> System.IO.IOException: Cannot close stream until all bytes     are written.
at System.Net.ConnectStream.CloseInternal(Boolean internalCall, Boolean aborting)
--- End of inner exception stack trace ---
at System.Net.ConnectStream.CloseInternal(Boolean internalCall, Boolean aborting)
at System.Net.ConnectStream.System.Net.ICloseEx.CloseEx(CloseExState closeState)
at System.Net.ConnectStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at System.IO.StreamWriter.Dispose(Boolean disposing)
at System.IO.TextWriter.Dispose()
at PayPal.HttpConnection.Execute(String payLoad, HttpWebRequest httpRequest)

请求返回承载响应。任何人都有任何想法如何解决这个问题?我目前正在使用Sandbox信息。

1 个答案:

答案 0 :(得分:0)

事实证明,paypal SDK中存在一个错误,我正在尝试使用地址数组。在报告问题几个月后,PayPal终于通过电子邮件向我发送了关于我的机票的信息。