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
- 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.