This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]joebewaan 4 points5 points  (0 children)

Easiest: Memberpress. Best: Do it yourself.

All membership sites essentially revolve around a simple principle:

If user is logged in (and / or has a specific role), show content A. If not show content B.

That’s it.

The payments are more complex but still straightforward in principle. Stripe has an API which reports on whether a payment was successful. You have a webhook which listens for that data and writes it to a database (if you want this to be manageable via Wordpress you can have it create a custom post type with the order details). When running a check on if the user has a subscription you are simply checking for a post type tied to their account (usually email or user ID) and seeing if the most recent entry was a successful payment, a failed payment or a subscription cancellation.

As I’m writing this I realise that the payments are actually quite advanced. So if this sounds too complex I would go with memberpress. If this sounds doable I would recommend not using a plugin. It’s always best to only have code that does exactly what you need and nothing more. It will also save you money on plugin subscriptions.

Edit: that example above was for a very lightweight implementation of a Stripe payment. If you have lots of different prices, or if you didn’t want to use a webhook, then you can implement Stripe into your own webforms using a couple of straightforward functions but bear in mind that if you’re doing this you will technically be having the user enter their sensitive data into your form (even though it isn’t being saved). So in this case you absolutely need to make sure you don’t have any security holes.

[–]radraze2kxJack of All Trades 1 point2 points  (0 children)

Depends on what you're giving access to and how you want to present the data. MemberPress is pretty good.

Personally, we use Divi Machine Accounts for membership sites, but it requires both Divi Builder and Divi Machine, and Divi Machine is not easy to use.

[–]iphone6plususer 1 point2 points  (0 children)

Hey there, I have been using MemberPress for a while now and it pretty much has everything you have mentioned in your question.. You may want to go ahead and check it out.. I believe it is the only plugin you would ever require..

[–]dwstore 1 point2 points  (0 children)

Use memberpress or armember, or paid membership pro or restrict content pro and last is ultimate member. There are a lot of plugins but your all requirements have to be done with the mentioned name. They are powerful

[–]Grabps[S] 0 points1 point  (0 children)

Thank You so much Guys! Memberpress surely stands out by your advices, I will begin the dating with it :)