MemberMouse has built in features which allow you to create and manage notifications to your members and/or employees on your site. Push Notifications are powerful tools that allow you to perform actions, based on real time events in MemberMouse. For example you can have an email notification sent to a member of your team when new members join, send an email receipt to members when payments are made, or even call a custom PHP script when the status of a member's account changes, giving you an opportunity to update any proprietary databases that you may want to synchronize with your membership site. The possibilities are endless. There is a list of some helpful push notification setups at the bottom of this article.



Creating a Push Notification:

  1. From the WordPress Dashboard, go to MemberMouse > Developer Tools and then click on the Push Notifications tab.

  2. Click the  button and a dialog will pop up where you'll configure your Push Notification.

  3. Make sure that Status is set to Active.

  4. Under the When the following event occurs... heading, select the desired trigger from the drop down.




  5. Once you've done this, depending on your choice, another section will show up underneath, that will have further options in a drop down selection. For instance, if you chose "Membership Status Changed" as your main trigger, a drop down would appear underneath that allows you to choose 'Any Status' or a specific status you would like to act as a trigger.



  6. Under the Perform the following action... heading, you can select Send an Email, Notify Zapier, or Call a Custom Script from the drop down menu.




  7. Finish filling out options and click the  button to save your Push Notification.

  8. You will be taken to the overview Push Notifications screen where you can view all of your configured Push Notifications. From here, you can choose to Edit, Delete, or Send a Test Notification for the desired push notification. Note: Triggering an event by manually testing the steps, tends to yield quicker/more accurate results of functionality.)



Understanding the Triggers for Events


The table below maps events to their different triggers, in order to help you understand each event in more depth:

EventWhat Triggers the Event
Member Added
When a user signs up on your site, or if you Manually Create a New Member.

Member Account Updated
When a member's account has been updated. (ex. if they update the First Name, their Last Name, their Billing Address etc.)

Member Status Changed
When a user's Membership status changes from the current status, to the selected status.

Membership Level Changed
When the user changes from one Membership Level to another, such as an upgrade or downgrade.

Member Deleted
When a member is Manually Deleted from MemberMouse.

Bundle Added
When a bundle has been added to the members account, that was not previously associated.

Bundle Status Changed
When the status of a bundle changes.

Product Purchased
When someone buys Any product, or a specific product. You can choose the option the best fits your needs.

Payment Received
When MemberMouse receives confirmation of Initial Payment. (ex. one time purchase or first payment of a subscription)

Rebill Payment Received
When MemberMouse receives confirmation of any Subscription or Recurring Payment. (ex. from the second payment of a subscription until the last payment of that subscription.)

Rebill Payment Failed
When MemberMouse receives a notice that any Subscription or Recurring Payment Failed. (ex. any recurring payment that fails for a subscription.)

Refund Issued
When you have Submitted a Refund.

Affiliate Commission (Initial)
When MemberMouse initiates a commission for an Initial Payment your site received.

Affiliate Commission (Rebill)
When MemberMouse initiates a commission for any Recurring or Rebill Payment your site received. (second payment of a subscription and beyond)

Cancel Affiliate Commission
When MemberMouse has been instructed to cancel a commission. (ex. if a refund had been issued for a product, and the admin cancels the commission for that refunded product.)


Action Options Explained


As stated above, MemberMouse allows you to select Send an Email, Notify Zapier, or Call a Custom Script from the drop down. The table below maps the different choices to their different outcomes for setup:

OptionSetup Outcome
Send an EmailSending an email allows you to send an email to the current member, or to an employee that you have configured in MemberMouse. You choose your desired recipient next to the To label:


You also get to choose who the email is sent from by selecting an employee from the drop down next to the From label. This drop down contains all of the employee accounts currently created in the MemberMouse system:


If you would like additional recipients to be notified, you can add them next to the CC label by adding the email addresses using commas to separate multiple email addresses:



Finally, it allows you to fill out the Subject and Body of the notification email as desired. You can use the templates such as the Account Overdue Notice as a starting point. To use a template, click the link next to Insert Template that fits your needs. The below example shows the Order Receipt template:


Notifying ZapierNotifying Zapier allows you to integrate with potentially 100's of other apps. This selection allows you to insert the link to your Zapier Email Parser, and include the employee email address desired as the From selection. If you have not setup an email parser with Zapier yet, you can do so by clicking the link "create mailbox".


MemberMouse will automatically send all data specifically related to the different events to Zapier. If you'd like to append additional information on top of what is already sent to Zapier, you can enter that in the Additional Information field.


You can learn more about creating notifications for Zapier here: Connecting MemberMouse to Other Apps Using Zapier.
Call a Custom Script
 
Calling a custom script allows you to perform a custom action when certain events occur. If this option is chosen, you will be presented with an area to enter the link to where your custom script is located:


When the selected event occurs, MemberMouse will call the script linked here, passing an event type and any relevant data. There is also an option for you to download sample scripts, to see how to respond to different events and access the data passed:


You can learn all about this process here: Calling a Custom Script With Push Notifications.