logomoneymotion
background
moneymotion Docs
moneymotion Docs
Invision Community

Accept global payments seamlessly with moneymotion on your Invision Community platform.

Requirements

Make sure your environment meets the following:

  • Invision Community 4.7+ with Commerce enabled
  • Full IPS License (not demo mode)
  • moneymotion Account with API key
  • HTTPS enabled for your community domain

Why HTTPS is required

moneymotion requires HTTPS for all callback and webhook URLs for security reasons.

Install the Plugin

  1. Download the latest moneymotion.tar from the Releases page.
  2. In your Invision Community Admin Control Panel (ACP), go to System → Site Features → Applications.
  3. Click Install.
  4. Upload the moneymotion.tar file.
  5. Wait for the installation to complete – the app will automatically create the required database table.

You should now see moneymotion listed as an installed application.

Configure in Invision

Once installed, add moneymotion as a payment method in Commerce.

  1. In the ACP, go to Commerce → Payment Methods → Add Method.
  2. Select moneymotion as the gateway.
  3. Enter your API Key from your moneymotion dashboard:
    • Live keys usually start with mk_live_
    • Test keys usually start with mk_test_
  4. Enter your Webhook Secret (you'll get this from the moneymotion dashboard when creating the webhook).
  5. Save your changes.

Tip

Use test keys in a staging environment first to make sure everything is working before switching to live credentials.

Configure Webhooks

Set up a webhook in your moneymotion dashboard so payments can be confirmed back to Invision Community.

  1. Go to Webhooks in the moneymotion dashboard.

  2. Create a new webhook with the URL:

    https://your-community.com/moneymotion/webhook/

    Replace your-community.com with your actual community domain.

  3. Subscribe to all available events so your community stays in sync with every checkout status change.

  4. Copy the signing secret shown after creating the webhook.

  5. Paste this Webhook Secret into your IPS moneymotion payment method settings and save.

For more on webhook payloads and signatures, see the Webhook Payloads docs.

Payment Flow

Here's how the payment flow works end-to-end:

  1. The customer selects moneymotion during checkout in Invision Community.
  2. A checkout session is created via the moneymotion API.
  3. The customer is redirected to the hosted moneymotion checkout page (https://moneymotion.io/checkout/{id}).
  4. The customer enters payment details and confirms the payment.
  5. moneymotion processes the payment.
  6. moneymotion sends a webhook to your community at https://your-community.com/moneymotion/webhook/.
  7. On a successful checkout_session:complete event, the transaction is marked as PAID in Invision Community.

Note

If the webhook is not received or fails verification, the transaction will not be marked as paid. Always ensure the webhook URL and secret are correct.

Webhook Events

The Invision Community plugin reacts to these key events:

  • checkout_session:complete – Marks the transaction as paid.
  • checkout_session:refunded – Marks the transaction as refunded.
  • checkout_session:expired – Marks the session/transaction as failed.
  • checkout_session:disputed – Marks the session/transaction as failed due to dispute.

Refer to Webhook Payloads for full example payloads and signature verification.

Troubleshooting