IMPORTANT UPDATE
Wix has released an official solution for this problem, a Wix app called Paid Plans. You can check it out here: Wix Pricing Plans | Wix App Market | Wix.com. Since it is much better in terms of installation, usability and features, I can only recommend using that one over my project. I’m leaving my project up for educational purposes (or if anyone does not want to use the official solution for some reason).
ORIGINAL POST
Edit: the code and tutorial are now available at https://github.com/mollie/wix-paid-membership
Dear community,
I have developed a Wix Code solution to support paid membership on any Wix site. You can check out a bare-bones demo of this functionality on my demo-site. The site is in test-mode so purchasing a membership subscription won’t cost you any real money.
https://bierleehenk.wixsite.com/paid-membership-demo
In the following 1-2 weeks I will finish up a first version and publish it as an open-source project on GitHub. I will include a comprehensive tutorial with instructions on how to create the correct source files, database collections and front-end elements. If you get stuck somewhere, don’t hesitate to send me a message so I can help out. For a fee, I can also personally do the implementation on your site myself. I can also be contacted to implement further feature requests, or review and merge pull requests on the repo when it’s published.
I am supported in this project by the payment service provider Mollie. They have a developer-friendly API and a competitive pricing model. As developer of this solution, I receive a percentage of the transaction fee from any transaction that goes through this paid membership system. As user of the solution, you of course don’t pay extra for this in any way, and it’s an assurance on your part that I take this project seriously since I benefit as well from successful adoption.
Any questions, support tickets, feature requests or ideas you can post in this thread (or in the future, on the repo). Like or follow this post (top right settings button → follow post) to get updates and a final release date when I have one.
Regards,
Henk
3 Likes
Dear community,
A small update so you know I’m working on this project: I am implementing some final features to give users of this system more control over their subscribers - to give them more insight in subscriptions, add the ability to cancel them, etc… I’ll soon have a release date for the first version too.
A feature of the current demo I forgot to mention in my original post: as a member, you can view your subscription status by going to your profile and then clicking ‘Subscriptions’. Here you can also cancel your subscription. We may not want our members to unsubscribe, but we want members who complain about not being able to unsubscribe even less 
Let me know in this thread what kind of extra features you would like to see that are not included in the demo. I can’t promise that they will be implemented, but since it’s an open-source project anybody can contribute so anything can happen. Furthermore, if there’s much support for some feature I might be able to secure funds to build it some way or another (by crowdfunding, for instance).
Regards,
Henk
Following with a view to implementing on my site
Hi everybody,
First of all, thank you for your interest! More people than I expected already went through the demo.
I’m in the process of signing my contract with Mollie. This is out of my hands unfortunately, and I’m not enjoying this bureaucratic side of the work, but it shouldn’t take much longer. I’ll also be able to give you guys a release date before signing.
In the meantime, if you’re planning to implement this system, I suggest you have a look at all the payment methods that Mollie supports . Even though they’re listed, PayPal is not an option for us since they’re not available for the Recurring payments API . This is something Mollie has to implement on their side. Otherwise, in my opinion, Mollie is a reliable payment service provider with a very good pricing model (which is why I choose them over Stripe when I was making this feature for a single client of mine, which is how this whole thing started).
Lastly, in response to an email I got I made a list of the features in the first version. If you’ve seen the demo you’re probably already familiar, but expect the first version to include the following functionality:
- a single subscription package option which can be any amount, for any period (monthly, every 2 days, whatever you’d like).
- It is also possible to require a one-time activation cost of the subscription.
- support for the following payment methods: Take Payments Online | Ecommerce Payment Methods with Mollie
- a single premium page that is only accessible for subscribers. Non-subscribers are redirected to the subscribe page. In the future, I hope to support any number of premium pages.
- insight in your subscribers on the Wix admin side. Any subscriber will also be a regular member/contact on Wix. You have the ability to unsubscribe clients or give them unlimited free access.
- your clients can review their subscription status and unsubscribe themselves
- the user interface is in your hands entirely (so it doesn’t have to look like my demo site at all, fortunately)
Let me know if there are any other questions 
Regards,
Henk
Hey
Thanks for the update, will you release the code for this? I have beed asked to do a video and solution for payments / user roles and such and I don’t see any reason for me doing this is this superb solution does exist. But people need the code to run it on their sites and maybe to extend it for other payment gateways in their countries.
Hey Andreas,
The code will be released as an open-source project. Actually, there is no other way to share Wix Code solutions right now: you’ll have to manually copy over the code to your website. This gives you full control, but there are downsides (it’s not plug-and-play, you can’t automatically update…). I have inquired about this on the forum and had calls with Wix product managers about improving this situation.
Since it’s an open-source project, you can always make adjustments such as adding other payment gateways if your preferred one is not supported. You can also propose new code that can be included in the main project for others, or keep adjustments to yourself. Details on how this works will be in the license that Mollie will end up choosing.
Regards,
Henk
Thank you for open-sourcing this, Henk. I look forward to getting this customozed and implemented in the near future. Thanks again!
Dear Wix community,
I’m excited to announce that Mollie will have my contract ready tomorrow, and that I’ll be releasing the code by the end of the week. I’m looking forward to finally sharing this project with you so that everyone will be able to add the paid membership feature to their site.
I’m currently working on a tutorial document, so that implementing it with Wix Code will be as accessible as possible. Feedback on this tutorial is highly appreciated, so that I can keep improving it for everyone. If you get stuck, I can also spend some time to help you out, or just (for a fee) take over the whole installation for you.
Regards,
Henk
Hello Hbierlee!
Thank you so much! My site simply will not work if I don’t have paid memberships, so this could really save me a ton of work. I really appreciate it, and I hope that multiple pages will be supported soon.
Hi everybody,
I have a couple small bits of news.
- The legal stuff is finally handled (at least, good enough for me to release)
- I finished the whole tutorial. It is rather verbose (my usual style, honestly), but I hope that that helps so that everyone can follow along.
- Mollie’s API just had an huge update and added multi-currency (which means you can use other currencies than Euro, like Dollars, Swedish Krona, etc…). I really wanted to include this in the project from the start, but it takes a little extra development time. I’ll have to do some extra testing this weekend.
- Finally, I’ll be publishing the project on the Mollie GitHub account this Tuesday. And then I’ll make it public. So consider that the new, final release date!
Sorry for this delay, and I hope you can understand my reasons 
Have a great weekend,
Henk
HI - I have to have a membership section completed by tomorrow morning. I’m so glad I found this. Thank you! Will you have the code up to share today anytime soon? Would you please send a link as to where it will be?
thanks!
Brie
Hi Brie and the rest of the community,
I updated the Mollie API to v2 (so that it now includes multi-currency), but in testing I found a small but show-stopping bug on the Mollie API side. I’m in contact with them to find out when they will have it fixed, but they didn’t give a date for that yet. I don’t think it will take them long though, and I hope to find out more tomorrow.
Otherwise, we’re all set and have a GitHub page up that I’m going to publish when the bug is fixed! So the feature really should be available one of these coming days.
Again, sorry for the delay.
Regards,
Henk
No problem. A few days is better than waiting for wix to implement it. It’s taking them forever.
Thanks again!
awesome, i have no clue what I am doing on wix but I need this. Whilst I wait for this is there a way to build a members profile specific to them? I cant figure it out?
Dear community,
I’m proud to release my code and tutorial on how to implement Paid Membership for your Wix site with Wix Code. The project can be found on the following GitHub page:
I tried my best to make the tutorial as clear as I could. If you run into any problems, let me know: this just means the tutorial is lacking. You can post on this forum thread, create support issues on GitHub (Sign in to GitHub · GitHub) or email me at bierlee.henk+wix@gmail.com.
If you just want to have it done without touching any code, I could also take care of the installation for you for a fee. Just email me, I’m quite cheap 
Lastly, I will probably develop new features and fixes for the project based on your feedback. To get notified, you can subscribe to my mailing list (http://eepurl.com/du7r9L) or track the project on GitHub.
Good luck!
Henk
@mairsy07, you can auto-generate a whole members area via the Wix Editor by clicking ‘Add → Members → Add Members area’.
Yea i did that right off the bat but It seemed it what was in there was for all members to view rather than specific to a client. So say i logged in my account I would see things for me. If you logged in then you would see the things for you. The members area wix has is the same for every member right? Which is not what i need. By the way when i get this sorted I will get on what you just released. Thanks buddy!