Is your store run under SSL or not? I see the SSL option but i want to be know if it will be working or not before that i buy a SSL
Thank you
public static void RequireSSL()
{
if (CommonHelper.ServerVariables("SERVER_PORT_SECURE") != "1")
{
HttpContext.Current.Response.Redirect(CommonHelper.GetStoreHTTPLocation(true) +CommonHelper.GetThisPageName() + "?" + CommonLogic.ServerVariables("QUERY_STRING"));
}
}
public static void RequireNonSSL()
{
if (CommonHelper.ServerVariables("SERVER_PORT_SECURE") != "1")
{
HttpContext.Current.Response.Redirect(CommonHelper.GetStoreHTTPLocation(false) +CommonHelper.GetThisPageName() + "?" + CommonLogic.ServerVariables("QUERY_STRING"));
}
}