My local Braintree PC displays the error "Request was aborted: Failed to create secure SSL / TLS channel" when executing:
var clientToken = gateway.ClientToken.generate();
I am using "Braintree-2.33.0.dll" and my target .net version is 4.5.1. I have included TLS 1.2.
It worked beautifully three days ago. But suddenly he began to show an error. Many people faced the same error, and most of them changed SecurityProtocol . I find no way to change this from braintree. Is there any way to change
ServicePointManager.SecurityProtocol
for braintree? or something else that I am missing or need to do? Thank you in advance.
source share