Hi @demirmusa,
Thanks for getting back so promptly.
That's perfect for what I need to investigate, at least I now know where to look.
Where does the system trigger SubscriptionExpireEmailNotifierWorker.DoWork()
, I can see the variable CheckPeriodAsMilliseconds
is set to every day at the top of SubscriptionExpireEmailNotifierWorker
. I haven't been able to find documentation on how these background jobs are invoked.
We are trying to work out how the subscription system works with Zero. On the page - TenantRegistration/SelectEdition the page has editions and features. The user selects an edition, if the option is to buy now the logic is straightforward. If the option is for a free trial we are having difficulty testing how the system works. Could someone help me with what Zero is doing in the back end given the folllowing scenario.
At some time in the past I remember setting this up on a test machine and letting it run. Somehere there is a background job which fires off emails warning that the trial period is about to end and then sends an email telling the user the grace period has started. Where is the code for these background emails and does it send an email to tell the user the trial is ended - does it give a final option to pay at this stage?
Zero places a reminder on header bar reminding the tenant that the trial is about to end and then states that the trial ended -NN days ago, how is it possible to see a message telling me that the trial is ended and the grace period is finished but I can still continue to work with the system if I really want to? At some stage Zero flicks a switch to make the tenant inactive after which the sub-domain is no longer reachable, when does this happen and what code carries out this task?
Can someone tell me exactly what is happening during trial periods and what is meant to happen when it has finished. Moreover, can someone tell me how to test it without having to wait for 10 days or whatever trial period the system is set to? I can't find the code anywhere and have looked through this in great depth this afteroon with a colleague.
My scenario is such that, At the end of the test trial and grace period, I want the system to notify the user that the trial and grace period has ended and invoke the Stripe payment system. Can someone help in pointing me in the right direction to get this done?
It wouldn't be a problem for me, I seed my tenants with a store procedure, that way the5re's no requirement for a release when seed data changes.
Nope, I don't use separate tenant databases. Why, is this method a problem for separate databases?
This is an-going issue discussed elsewhere on the forum and occassionally in github. Closing for this reason.
See above, first answer!!!!
Not a problem, check your module declarations in your other project, it's obviously an import issue. Glad to help if I can but I think with a little more perserverance you'll find the issue here.
@optixdev, I feel for you, you are obviously at the bottom of a steep learning curve! Your problem is not Zero related but angular related, google "angular can't bind to 'formgroup' since it isn't a known property of 'form'" and you will find your answer amongst 3,000 choices: Can't bind to 'formGroup' since it isn't a known property of 'form' Good luck!!
HI @optixdev, Follow the instructions for angular reactive forms, in your case I don't think you have imported the ReactiveFormsModule to your module:
imports: [
FormsModule,
ReactiveFormsModule,
Hope that helps.