Skip to main content
The Monime WordPress plugin can also be extended by custom WordPress plugins through the Monime adapter interfaces. This lets you build your own payment flow while reusing Monime checkout, webhooks, and shared credentials. This path is for developers who do not want to use GiveWP or WooCommerce, or who need to integrate Monime into a custom workflow such as memberships, invoices, events, subscriptions, internal portals, or a bespoke eCommerce experience. Instead of building a payment gateway from scratch, you implement the Monime adapter contract. Your plugin prepares the data it already uses internally, and Monime Gateway translates that data into the payload Monime expects.

Key Features

  • Custom Payloads: Build the exact payment payload your workflow needs.
  • Webhook Support: Optionally process verified Monime webhook payloads inside your own plugin.
  • Adapter Registry: Register your adapter through the shared Monime adapter registry.
  • Shared Credentials: Reuse the Monime API token, Space ID, and webhook settings from the main plugin.
  • Flexible Workflows: Support donations, invoices, memberships, subscriptions, events, or bespoke checkout flows.
  • Hosted Checkout: Let Monime handle payment entry instead of collecting sensitive payment details directly in WordPress.

Why Use an Adapter

The adapter pattern gives you a clean boundary between your application logic and Monime’s checkout API. That means:
  • your app can keep its own domain model,
  • your plugin can decide exactly what should be paid for,
  • and Monime Gateway handles the payment session creation and webhook integration.

Requirements

  • WordPress: 6.2 or higher
  • PHP: 7.4 or higher
  • Monime Gateway: Installed and active
  • Monime Account: A business account with an API token, Space ID, and webhook secret
  • Custom Plugin or Theme: A plugin or theme that can load PHP classes before payment creation begins

How It Works

  1. Your plugin builds a payment request.
  2. The adapter converts that request into a Monime checkout payload.
  3. Monime processes the payment on the hosted checkout page.
  4. Your webhook handler receives the event and updates your custom records.
This is the same general flow used by GiveWP and WooCommerce, but you control the data model and the internal record updates yourself.

When To Use It

Use the custom integration when you need to:
  • keep your own order, invoice, or membership system,
  • send a custom payload to Monime,
  • update your own records after webhook confirmation,
  • or support a checkout flow that does not fit GiveWP or WooCommerce.