Hi all,
I am currently building a custom membership functionality for a client. Here are the procedure:
User fills in a membership registration form. Based on the form data, it is supposed to do the following
create user, add roles (guest, subscriber OR free-trial)
if free-trial, remove/disable user after X number of days
if free-trial, add user to mailchimp list in the free-trial segment
if subscriber, add user to mailchimp list in the subscriber segment
if subscriber, create a new invoice via Freshbooks API and get Freshbooks to charge to user's credit card via Stripe
My questions:
What is the best approach on this? all in one module? or separate tasks into its own module?
Are there any existing module(s) that already do these things?
Thanks
Rudy