-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memberful LearnDash integration - dripping functionality #221
Comments
@mrhead Could you point me in the direction of a webhook or something that fires in the WP plugin that I can access when a new signup happens, and add the user onto the access list of any according courses? |
@LiamBailey We process webhooks in Please check it and let me know if you need further explanation. |
OK @mrhead so for this I am thinking I trigger a background process (https://github.com/A5hleyRich/wp-background-processing) if a user has signed up or upgraded. The background process would take the posts they now have access to grab all the Learndash courses from that and then cycle through them adding the user into the Course Access List - a background process could be seen as extreme but on larger sites this could be quite an operation. If LD course_access_list was a single meta field we could have just done a mysql query to insert the user ids into the meta table but it is part of a metadata array so this option is off the table unless you are very very very good at REGEX :-) |
@LiamBailey We're going to hold off on this for right now. Will ping you when we want to pick it back up. |
@LiamBailey Hey there! We're looking to pick this up again and offer it directly to you via Codeable if you're interested. Do you still have access to a LearnDash license? |
We want to be able use the LearnDash drip functionality with our Memberful integration - without having to manually enrol paid members into the course through the WordPress site.
Ideally, when a user purchases access to a course built with LearnDash through Memberful, their user ID would be automatically added in to the Course access list field.
This would allow us to use the dripping functionality that LearnDash offers (i.e. Make Lesson visible x days after sign-up).
If/when the member's subscription expires, they would be automatically removed from the course access list.
The text was updated successfully, but these errors were encountered: