private static BuySafeWebReference.StoreInformation GetStoreInformation(Store store) { var newstore = new BuySafeWebReference.StoreInformation(); newstore.Name = store.ProductionURI; newstore.Url = GetFullURL(store.ProductionURI); var buysafeGMS = AppLogic.GlobalConfig("BuySafe.GMS"); newstore.StoreMonthlyGMS = Localization.ParseNativeDouble(buysafeGMS); return(newstore); }
private static BuySafeWebReference.StoreInformation GetStoreInformation(Store s) { Random r = new Random(); int randomint = r.Next(0, 10000); BuySafeWebReference.StoreInformation newstore; newstore = new BuySafeWebReference.StoreInformation(); newstore.Name = s.ProductionURI; if (AppLogic.GlobalConfigBool("BuySafe.AppendRandomNumberToStoreNames")) { newstore.Name += randomint.ToString(); } newstore.Url = GetFullURL(s.ProductionURI); String bsgms = AppLogic.GlobalConfig("BuySafe.GMS"); newstore.StoreMonthlyGMS = Localization.ParseNativeDouble(bsgms); return(newstore); //store1.CheckOutUrl = "http://store2/aspdotnetstorefrontmultistore9/checkout.aspx"; //optional //store1.TermsOfSale = "terms"; //optional //store1.Email = "*****@*****.**"; //optional }