The request was aborted: Could not create SSL/TLS secure channel.System.Net.WebException

前端 未结 2 938
眼角桃花
眼角桃花 2021-02-10 02:31

I am using PayPalStandard plugin of NopCommerce. When I placed the order & make payment with paypalstandard plugin after successful payment on paypal, it redirects to mercha

相关标签:
2条回答
  • 2021-02-10 03:17

    The answer that worked for us was listed on the PayPal blog post, Upcoming Security Changes Notice. There are a number of things listed in the post, but the one thing which we did, and that worked, was PayPal SDK Updates. We updated using NuGet and everything started working again.

    0 讨论(0)
  • 2021-02-10 03:35

    I had the same issue connecting to sandbox(nvp), everything was fine then yesterday the message "The request was aborted: Could not create SSL/TLS secure channel." appeared.

    I believe PayPal updated their endpoints on 19/20 January 2016 to use TSL 1.2 and HTTP 1.1.

    To resolve this, for .NET 4.5 and above add the following line of code before calling WebRequest.Create().

    ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
    
    0 讨论(0)
提交回复
热议问题