MemberMouse is an easy to use WordPress membership plugin that allows you to sell products, subscriptions and memberships, setup a password protected member’s area, offer 1-click upsells and downsells, manage customers, automate customer service, track critical retention metrics and more.
No matter where you’re starting from, MemberMouse has the power you need to maximize revenue and get your business running like a well-oiled machine.
The integration plugin can create an affiliate automatically, decline or approve them. It registers orders and supports order ID, per product tracking with SKU, Lifetime Commissions and coupons.
Navigate to your WP MemberMouse> Checkout settings and create a new Custom Field. When creating it, you can name it the way you want, the checkbox for ‘Show on My Account Page‘ should stay unchecked. The type of the field has to be set to ShortText.
When you are done, save your new custom field and then click the ‘Checkout SmartTag‘ to find out the custom field ID – you will need it later.
Copy the SmartTag code and place it to your checkout page. The final change is to hide the field – add type=’custom-hidden’ attribute to it. This is an example of the result code:
[MM_Form_Field type='custom' id='4' isRequired='false' class='' type='custom-hidden']
As you can see, the field ID is 4 in our example.
Order form modification
After you placed the new custom field code to your order form, we need to make sure the hidden field is loaded with an affiliate tracking value automatically. The following code will do it:
First of all, make sure the code:
is set to your custom field number – following our example with ID 4, the code would be:
Place the script to your checkout page, somewhere below the custom field code.
Push notification setup
Navigate to your WP MemberMouse> Developer tools and create a new push notification – the plugin processes member notifications and payment notifications, so you can create a notification for each of these:
Member Added, Member Account Updated, Member Deleted, Payment Received, Rebill Payment Received, Refund Issued.
In case of the action, choose ‘Call a custom script‘ and use this URL for it:
That’s it. Save your work.
Activate the plugin
The last step is to login to your merchant panel and activate the plugin. When activated, make sure you configure it and set at least the correct custom field ID. Otherwise the plugin won’t work.
Do not forget to integrate your WordPress with the click tracking code.