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
- Your plugin builds a payment request.
- The adapter converts that request into a Monime checkout payload.
- Monime processes the payment on the hosted checkout page.
- Your webhook handler receives the event and updates your custom records.
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.