WooCommerce it is a great plugin to turn a WordPress website into into a fully-functional e-commerce website.
But a WordPress website with WooCommerce installed, and with the right tools, can also turn into a membership website.
Recently, one of our customers needed a solution for his membership website and he wanted to use CCBill as a payment gateway.
CCBill is a credit card processing company that specializes in high-risk industries.
While it’s known for supporting adult entertainment businesses, it isn’t limited to that industry.
We have come up with the solution of using WooCommerce in conjunction with a few other plugins.
Table of Contents
Here are the plugins which you can use in order to create a membership website which uses CCBill as a payment gateway:
- WooCommerce Memberships – this plugin will help with restricting site’s content. The WooCommerce product will be connected to a membership plan which is created. When user buys the product he will have access to content controlled by the membership plan.
- WooCommerce Subscriptions – this plugin will help with the recurring payments. If you need a membership website with only one time payments, then you do not need this plugin.
- CCBill Payment Gateway – WooCommerce Subscriptions – this plugin integrates WooCommerce with CCBill recurring payments. The above plugin, WooCommerce Subscriptions, offers integration with over 25 payment gateways for automatic recurring payments. But CCBill it is not among those payment gateways and that is why “CCBill Payment Gateway – WooCommerce Subscriptions” is needed.
Install the plugins
On your WordPress website you will need to install all the listed plugins.
1 – Go to WordPress Dashboard > Plugins > Upload Plugin.
2 – Locate the .zip file for each plugin and Install, then activate each one.
Create a WooCommerce product
Go to Products > Add New, add the name of the product and then select “Simple subscription” and “Virtual” for “Product data“.
After that you can add the price and the desired length of time.
Create a membership plan
Go to WooCommerce > Memberships and click on Membership Plans.
Next, click on “Add Membership Plan“.
Add the membership name, add a slug and select “product(s) purchase” for “Grant access upon“. Then we need to tie this membership to the created product which it is very important.
Once the user buys the product he will be added to the membership.
To add the content for this membership, you just need to add the desired rules under “Restrict Content”.
Click on “Add New Rule” and select the content type ( page, post, categories etc ), type the first letters of post title or page title and then select from the drop down.
This way you can add the content to which only users under this membership will have access.
Add CCBill settings
Go to WooCommerce > Settings > Payments and next to CCBill (Credit Card) and click on Manage.
On the next page you will need to add the details sent to you by CCBill. All these will be sent to you by CCBill after you inform them about the chosen solution for your website.
Now that we have everything ready, we need to talk about the checkout page.
Actually this is the page which you have already added when you set up WooCommerce.
The whole process it is exactly as on any WooCommerce website.
User goes to your shop page or on the page where you add the product we have set up above.
Then it lands on cart page and when the user clicks on “Proceed to Checkout” will land on the checkout page.
It will add all the info, then add all info on CCBill page and that is all!
An email with all details will be sent and user will be able to login to your website.
I hope you will find this useful and I’m waiting for your comments.
What do you think of this article?
Article Title: How to create a membership website with WooCommerce and CCBill
Short Description: Learn how to create a membership website with WooCommerce and CCBill.