MemberMouse uses API v 2.1 for our ClickBank integration. We do not have plans to upgrade our integration to incorporate the newer API versions.


In this article we'll show you how to integrate MemberMouse with ClickBank. After integrating with ClickBank, MemberMouse will create accounts and grant the appropriate access when purchases are made through ClickBank. You'll also be able to initiate refund and cancellation requests right from MemberMouse. Once you've configured ClickBank, read this article to learn how to make test purchases.


This article is broken down into four sections:

  1. Configure Clerk and Developer API Keys
  2. Configure the Instant Notification URL
  3. Configure ClickBank Products
  4. Create a Fallback Confirmation Page


Configure Clerk and Developer API Keys

  1. From the MemberMouse menu, click on Payment Settings and then click on the Payment Methods tab.

  2. Scroll down to the Offsite Payment Methods section and check off the box next to ClickBank. The ClickBank configuration form will show up.





  3. Now we're going to retrieve the necessary credentials from ClickBank and copy them here. Open up a new browser window and log into your ClickBank account.

  4. Click on the Settings tab in the main menu.





  5. Click on the My Account tab in the secondary menu.





  6. Scroll down to the Clerk API Keys section and click the Edit link in the upper right corner.





    If you don't see the Edit link in the upper right corner and you see something like the image below this means that your site is linked to a master account and you'll need to create the Clerk API key within the master account. See our troubleshooting section for step-by-step instructions on creating the Clerk API key from the master account.





  7. On the following page, click the button.

  8. On the following page, give your API key a short description and check off the boxes next to Orders/Tickets Write and Products API. If you don't see the Orders/Tickets Write option, see our troubleshooting section for more information.






  9. Click the button.

  10. Go back to the My Account page.

  11. Scroll down to the Developer API Keys section and click the Edit link in the upper right corner.





  12. On the following page, click the button.

  13. On the following page, give your API key a short description.






  14. Click the button.

  15. Go back to the My Account page and scroll down to the Clerk API Keys section. Now you should see that both the Clerk and Developer API keys are set.





    Copy each key individually, go back to the ClickBank configuration form in MemberMouse and paste each key into its appropriate field.






  16. Now that the Clerk and Developer API keys are set, click the drop down underneath Site Name to retrieve the list of sites from ClickBank. If you need help with this, see our troubleshooting section for more information.






  17. Select the site you want to connect to from the list (in most cases there will only be one site in the list).


Configure the Instant Notification URL

  1. Click on the My Site tab in the secondary menu.





  2. Scroll down to the Advanced Tools section and click the Edit link in the upper right corner.






  3. On the following page in the Advanced Tools Editor, enter a secret key for instant notification URL. The secret key can be up to 16 letters or digits and must be in ALL CAPS.




  4. Copy the secret key you just entered, go back to the ClickBank configuration form in MemberMouse and paste it into the Secret Key field.





  5. While on the ClickBank configuration form in MemberMouse, copy the URL in the field labelled Notification URL.





  6. Scroll down to the bottom of the form and click the  button to save your ClickBank settings.

  7. Go back over to ClickBank and in the Advanced Tools Editor, paste the notification URL from MemberMouse into the field labelled Instant Notification URL.






  8. Make sure that the version drop down to the right of the Instant Notification URL field is set to 2.1.



  9. Click the  button.


Configure ClickBank Products


All purchases for ClickBank products will happen from a checkout form on ClickBank. Following a purchase, ClickBank will call the notification URL we configured in a previous step to inform MemberMouse of the purchase and then redirect the customer to the thank you page associated with the ClickBank product purchased. In order for MemberMouse to know what to do when it receives the notification, we must map ClickBank products to MemberMouse products. This lets MemberMouse know that when it's notified of a particular ClickBank product being purchased it should handle it as if the MemberMouse product it's mapped to was purchased. If a ClickBank product is purchased and it's not mapped to a product within MemberMouse, then it will be ignored.


Even though the pricing and subscription settings associated with the ClickBank product will be used to actually charge the customer, we need to ensure that the pricing and subscription settings of the MemberMouse product we map it to are the same because this information will be displayed to the member on their My Account page and will be used in any reports within MemberMouse. If the product configuration for the ClickBank product is different from the MemberMouse product it's mapped to it will likely cause confusion.


The following steps should be taken for each ClickBank product you want MemberMouse to be able to recognize:


  1. In ClickBank, click the My Products link in the secondary menu.





  2. On the following page you can either click on the Standard Products tab or the Recurring Billing Products tab. Following that you'll see a list of products you have defined in ClickBank





  3. In the Actions column, click the  icon on the row associated with the product you want to connect with MemberMouse.

  4. On the following page in the Standard Product Editor locate the Thank You Page field.

  5. In another browser window, go to the ClickBank configuration form in MemberMouse by going to  Payment Settings > Payment Methods and copy the URL in the field labelled Confirmation Page URL.





  6. Go back to the browser window with ClickBank loaded and paste the confirmation page URL into both the Thank You Page and Mobile Thank You Page fields.





  7. Click the button.

  8. Return to the ClickBank configuration form in MemberMouse and scroll down to the Product Mappings section.

  9. Click the  button.

  10. In the dialog that pops up, locate the ClickBank product we just configured in the column on the left. Then select the MemberMouse product from the drop down on the right that should be mapped to this ClickBank product. If you need help with this, see our troubleshooting section for more information.





  11. Click the  button.


Create a Fallback Confirmation Page


Read this article to learn more about creating a fallback confirmation page.