Custom setup

For this integration you will need the MINDBODY Accelerate or Ultimate package, and a MINDBODY Developers license, which can be obtained here.

Setting up

To use the custom solution you need a MBPLUGINS account, which can be created here. If you already have an account you can login here.

If you go to your profile you will be guided through the setup process, which consists of the following steps:

  1. Connect MINDBODY
    Enter the credentials of your MINDBODY Developers account. You can find these at the Developers portal under Account > API credentials & Account > Site permissions.
  2. Connect Mollie
    In step 3 you will be asked your information to create a Mollie account. If you already have an account, you can login with your existing credentials.
  3. Activate iDEAL
    First you need to activate your Mollie account via the mail that has been sent to your email address. After you have activated your account, enable iDEAL as a payment method. You can enable it on the Mollie dashboard under Settings > Payment methods.
  4. Custom payment method
    Last of all you need to create a custom payment method named “Mollie” in your MINDBODY environment, so that payments can be processed correctly. To do this, log in to MINDBODY and go to Manager Tools > Settings > Retail Settings > Payment Methods. As name enter “Mollie” and make sure the checkboxes Active, CashEQ and Allow > $0 are checked! Then click on ADD.

Congratulations, you are now ready to use MBPLUGINS on your website! 🎉

Website integration

To add MBPLUGINS to your website include the following code before the closing body tag on your website.

<script>
    window.mb=window.mb||function(){(mb.q=mb.q||[]).push(arguments)};
    mb('load', {
apiKey: 'YOUR API KEY',
links: { schedule: 'https://YOURWEBSITE.com/schedule/', services: 'https://YOURWEBSITE.com/services/', enrollments: 'https://YOURWEBSITE.com/enrollments/', order: 'https://YOURWEBSITE.com/order/' } }); </script> <script async src="https://mbplugins.com/downloads/mbplugins.v1.1.8-beta.js"></script>

Make sure to change the links for the schedule, services, enrollments and order pages to the correct pages on your website. If you do not have a schedule, services or enrollments page, then that element should be left out or blank.

For payments to work correctly, the order link should be linking to the order page on your website. This link should be absolute, so including your website's domain.

Your API keys can be found on your profile.

Additional options

The plugin can also be configured using the following additional options:

  • poweredBy: false (default) | true
    Show MINDBODY logo

  • redirectScheduleToServices: false (default) | true
    Redirect from schedule to services page if a customer has no valid payment options. If false, shows a pricing overview in an overlay on the schedule page.

  • redirectAfterLogin: null (default) | String
    URL to redirect to after a customer logs in. Default: no redirect.

  • redirectAfterRegister: null (default) | String
    URL to redirect to after a customer registers an account. Default: no redirect.

  • redirectAfterBookClass: null (default) | String
    URL to redirect to after a customer books a class successfully. Default: no redirect.

© Copyright 2018 - Story of AMS B.V.

Privacy policy