public bool ProducstWereLoadedVerified(CommerceServiceEvents.ProductsLoaded pl) { if (pl.Success) { if (Service.Get <MixLoginCreateService>().RegistrationAgeBand != null) { membershipPlans = new MembershipPlans(Service.Get <MixLoginCreateService>().RegistrationAgeBand.CountryCode); } Service.Get <MixLoginCreateService>().OnRegistrationConfigUpdated += onRegistrationConfigUpdated; } productsLoaded = pl.Success; productsLoading = false; return(false); }
private void onRegistrationConfigUpdated(IRegistrationConfiguration registrationConfig) { membershipPlans = new MembershipPlans(Service.Get <MixLoginCreateService>().RegistrationAgeBand.CountryCode); }