I use C# examples and use the source code for CreateCustomerProfile: http://developer.authorize.net/api/reference/#customer-profiles
I use only code from this example and I have the exception "System.Net.WebException" in string
controller.Execute();
Can anyone help me?
07-17-2017 07:10 AM
What version of the .Net framework are you using? If you are using .Net framework 4.5, try adding the following at the beginning of the function where you make a webrequest:
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;
07-17-2017 07:38 AM
Thank you very much!))) Your additional code has helped me. I use .NET framework 4.5.2
07-17-2017 07:55 AM
07-18-2017 02:00 AM