We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4cb6d17 + b4094a6 commit 2e69585Copy full SHA for 2e69585
1 file changed
App_Code/SSLCommerz.cs
@@ -30,7 +30,10 @@ public class SSLCommerz
30
31
public SSLCommerz(string Store_ID, string Store_Pass, bool Store_Test_Mode = false)
32
{
33
- if (Store_ID != "" && Store_Pass != "")
+
34
+ System.Net.ServicePointManager.SecurityProtocol = (SecurityProtocolType)0x00000C00;
35
36
+ if (Store_ID != "" && Store_Pass != "")
37
38
this.Store_ID = Store_ID;
39
this.Store_Pass = Store_Pass;
@@ -315,4 +318,4 @@ public class SSLCommerzValidatorResponse
315
318
public string gw_version { get; set; }
316
319
public string token_key { get; set; }
317
320
}
-}
321
+}
0 commit comments