Payflow_dotNET.dll & TLS level
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have Payflow_dotNET.dll (version 4.3.3.0) installed in the Global Assembly Cache on a Windows Server 2008 R2 machine. This library is somehow determining the TLS level to use when connecting with the PayPal URL (either payflowpro.paypal.com or pilot-payflowpro.paypal.com). How does this .dll determine the TLS level it will use? Is there something in the environment that can be set to force the TLS level it uses?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is the updated dotNET Payflow SDK:
https://github.com/paypal/sdk-packages/tree/gh-pages/payflow-gateway/dotnet
The minimum dotNET framework needs to be 4.5 to be TLS 1.2 Compliant. If you use dotNET Framework 4.6 TLS 1.2 is automatically available.
You may need to add the below according to a dotNET Microsoft Blog
<httpRuntime targetFramework="4.5" />
Here is the Payflow Developer Guide just in case you need it.
Thank you,
Jennifer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You do not need to switch .NET versions in order to comply with tls 1.2. The following code will set the environment to TLS 1.2 in < 4.5 .NET
System.Net.ServicePointManager.Expect100Continue = True System.Net.ServicePointManager.SecurityProtocol = CType(3072, System.Net.SecurityProtocolType) System.Net.ServicePointManager.DefaultConnectionLimit = 9999
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Hosted Buttons have changed. How can I now edit the item ID and stock? in PayPal Payments Standard
- problem to link paypal account with prestashop checkout module in PayPal Payments Standard
- Is PayFlow Out Dated as a payment platform? Getting a lot of failed transactions on WooCommerce in Payflow
- Hermes with token and mfid query in PayPal Payments Standard
- How to get AVS response in WooCommerce in REST APIs