Accept WooCommerce payments with lomi. hosted checkout in XOF, USD, and EUR. Merchant revenue is credited in XOF.
lomi. for WooCommerce connects your WooCommerce store to lomi. hosted checkout.
The plugin lets merchants accept customer payments in XOF, USD, and EUR while merchant revenue is credited in XOF. Customers are sent to a secure lomi. checkout session to complete payment, and WooCommerce order status is updated when the payment is confirmed.
- Supported customer payment currencies: XOF, USD, EUR
- Merchant revenue credited in XOF
- Secure lomi. hosted checkout
- Test and live API key configuration
- Webhook-based payment confirmation
- WooCommerce refunds via
POST /refundswhen the order is linked to a lomi transaction - WooCommerce Subscriptions: map products to lomi recurring
price_idvalues for first payment - Payouts and balance: lomi. dashboard only
- This plugin does not support stores configured with currencies outside XOF, USD, and EUR unless the supported-currency filter is customized.
- Refunds from WooCommerce require
_lomi_transaction_idon the order (set after payment). Otherwise process refunds from the lomi. dashboard. - Saved cards and automatic subscription renewals are not charged in WooCommerce, recurring billing is handled by the lomi. subscription engine.
- WooCommerce Subscriptions can manage subscription products; link each subscription product to a lomi recurring price in the product editor.
- WordPress 6.2 or later
- WooCommerce 9.6 or later
- PHP 7.4 or later
Download the latest release zip:
https://github.com/lomiafrica/lomi./releases/latest/download/woo-lomi.zip
- In WordPress admin go to Plugins → Add New → Upload Plugin and upload
woo-lomi.zip. - Activate the plugin.
- Go to
WooCommerce > Settings > Payments. - Select
lomi.. - Enable the gateway and review the Setup health panel.
- Add your lomi. test or live API keys and webhook signing secret.
- Configure the webhook URL shown in the settings screen from your lomi. dashboard (
PAYMENT_SUCCEEDEDandREFUND_COMPLETEDrecommended). - Save changes.
From apps/plugins/woo:
npm run releaseProduces dist/woo-lomi-{version}.zip. GitHub Actions publishes woo-lomi.zip on woo-v* tags.
Docker Compose bind-mounts this repo into WordPress (same pattern as PrestaShop and Magento dev stacks):
cd dev
docker compose up -d- Open http://localhost:8080 and finish WordPress setup.
- Install and activate WooCommerce (9.6+).
- Activate lomi. for WooCommerce.
- Expose HTTPS with Cloudflare Tunnel (
cloudflared tunnel --url http://localhost:8080) so webhooks reach your machine. - Set Settings → General → Site Address to the tunnel URL when testing checkout returns.
- Configure sandbox keys in WooCommerce → Settings → Payments → lomi. and register the webhook URL in dashboard.lomi.africa.
Merchant setup guide: docs.lomi.africa — WooCommerce.
- Enable or disable lomi. on checkout.
- Set the checkout title customers see during payment.
- Set the checkout description customers see during payment.
- Enable test mode while testing.
- Add live and test API credentials.
- Add live and test webhook signing secrets.
Configure the webhook URL shown in the lomi. settings screen from your lomi. dashboard.
The webhook signing secret in WooCommerce must match the secret configured for the webhook endpoint in lomi. Recommended events: PAYMENT_SUCCEEDED, REFUND_COMPLETED.
On each subscription product (or variation), set lomi price ID in the lomi. product data tab. Checkout is blocked until subscription products are linked. The first payment creates a lomi subscription; renewals are billed by lomi., not WooCommerce cron.
The default supported store currencies are:
- XOF
- USD
- EUR
Stores using another currency will see the gateway disabled by default.
Developers can customize the supported currency list with the woocommerce_lomi_supported_currencies filter.
From GitHub Releases: https://github.com/lomiafrica/lomi./releases/latest/download/woo-lomi.zip
The plugin supports XOF, USD, and EUR by default.
Merchant revenue is credited in XOF.
Yes. Customers complete payment through lomi. hosted checkout.
Yes, when the order stores a lomi transaction ID after payment. Otherwise refund from the lomi. dashboard.
No. Saved card payments are not available with lomi. hosted checkout in this plugin.
No. Link subscription products to lomi recurring prices for the first payment. Recurring billing is handled by lomi.; WooCommerce renewal orders are placed on hold with an explanatory note.
Enable test mode, enter your test API credentials and test webhook signing secret, then run checkout using a test order.
- GitHub Releases distribution (
woo-lomi.zip, tagwoo-v*) - Setup health panel and
GET /meconnection test - WooCommerce refunds via lomi.
POST /refunds - Persist lomi transaction, subscription, and price IDs on orders
- WooCommerce Subscriptions: lomi price ID product fields and checkout gating
REFUND_COMPLETEDwebhook order notes
- Hosted checkout integration for XOF, USD, and EUR
- Webhook-based order confirmation
- WooCommerce Blocks checkout support