Hello! Newbie Discourse user here. Really loving it so far.
I currently run a subscription service using WooCommerce Subscriptions, linked to a learning management platform via Zapier.
I would love for my members to automatically get access to a restricted forum. I’ve looked at the SSO plugin but it doesn’t seem immediately obvious it will do that.
Can anyone please suggest a way of achieving this, either via Zapier (I know there’s no direct integration but I saw some things can work via web hooks) or a plugin? Or will it need custom hackery?
You’ll likely need to add some hooks to connect your WooCommerce subscriptions to Discourse groups. There are some topics with examples. If sticking code in a functions.php file isn’t in your wheelhouse you can post in marketplace with a budget.
Thanks. I can do sticking code in functions.php, and a bit of tinkering but I can’t necessarily do the writing fresh code. Have searched for woocommerce subscriptions but nothing’s coming up
I’ve not seen anyone do WooCommerce subscriptions. Look in wordpress - Discourse Meta and you’ll find examples for things like MemberMouse and Paid memberships pro. It sounds like you should be able to find examples that will give you enough to go on.
The plugin’s README explains what it’s doing. Instead of installing the wp-discourse-woocommerce-support plugin, you can copy the code from the README’s ‘Alternatives to installing the plugin’ section into your theme’s functions.php file.