Upgrade PaypalDirect plugin to support TLS1.2

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
8 years ago
Update:

For those using Authorize, Capture and Void workflow, it's better to move the bold code into GetService() method. This way, it'll use the protocol TLS1.2 for all the methods.
8 years ago
Fixed. Please see two changesets: this and this. Please note that it's enough (and much easier) to update used PayPal SDK to the latest version in some cases
8 years ago
I need a solution that doesn't require compiling code.  Is that possible?  I installed the "no source" version, so I don't even see the .cs files.

Is there a fix on the horizon?  Should I expect real-money transactions to go through?

Would anyone out there be willing to provide updated DLL files?
8 years ago
Hi, you can download the upgraded dll from this link. Note that, it still contains the previous version of SDK (though it works perfectly with the changes made to the dll). Do restart your application once you replace the DLL.
8 years ago
Thanks.  I still got the error until I stopped the site in IIS (vs just clicking restart).  

Now I am getting "This transaction cannot be processed due to an unsupported currency. ShortMessage: Unsupported Currency. ErrorCode: 10755 " no matter what currency I use.  USD with a US sandbox account.  Pounds with a UK sandbox account.  If anybody has any ideas, please help!
8 years ago
To reply to my own problem, I had to change my primary store currency to match the primary of the paypal account.  Apparently, even if you picked "convert to USD" it would still try to send it over as whatever the primary was.
8 years ago
Please find upgraded plugins for version 3.70 below:

PayPal Direct 3.70
PayPal Standard 3.70
8 years ago
I am running version 3.4 and getting this error.  The code of the plugin looks very different that the updates listed here.

Can I just add  
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

and recompile?  My first test with doing that still gave me the error.  

Is there an update that will work with version 3.4?

Thanks
8 years ago
Ok I ended up getting it to work.  I basically put

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

in front of every request in the code.  I am sure it was over kill but it does seem to work now.
8 years ago
a.m. wrote:
Please find upgraded plugins for version 3.70 below:

PayPal Direct 3.70
PayPal Standard 3.70


Hello Andrei,

where can I find upgraded plugins for 3.60? Tnx
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.