Skip to main content
Monime Gateway 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 payment payloads through an adapter class.
  • Optional webhook handling for your own records.
  • Registration through the Monime adapter registry.
  • Support for custom donation, invoice, membership, or checkout workflows.
  • Shared Monime credentials and webhook handling from the main plugin settings.

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.
  • A Monime account with an API token, Space ID, and webhook secret.
  • A custom 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.