lomi.
E‑commerce

WooCommerce

Download the lomi. WooCommerce plugin and connect your store in a few steps , no GitHub account required.

WooCommerce

Connect your WordPress / WooCommerce store to lomi. hosted checkout. Customers pay on a secure lomi. page; orders update automatically when payment succeeds.

Who this guide is for

Store owners and admins: you only need WordPress, a lomi. account, and this page. You do not need GitHub or command-line tools.

Related products

Before you start

RequirementDetails
WordPress6.2+
WooCommerce9.6+ (install from Plugins → Add New if needed)
Store currencyXOF, USD, or EUR
lomi. accountCreate one free
HTTPSRequired in production (for webhooks and checkout return URLs)

Step 1, Get your lomi. API keys

  1. Sign in to dashboard.lomi.africa.
  2. Open Settings → Access tokens (or Developers → API keys).
  3. Copy your Test secret key (lomi_sk_test_…), you will paste it in WooCommerce in step 4.
Test and live API keys in the lomi. dashboard

Keep Test mode on in the dashboard while setting up. See API keys for details.


Step 2, Download the plugin

The file is woo-lomi.zip. Save it on your computer (Downloads folder is fine). You will upload it in the next step.

Download not working?

If the button returns an error, contact lomi. support or your account manager, we will send you the current zip. Maintainers also publish the same file on GitHub Releases (woo-v* tags).


Step 3, Install in WordPress

Open the upload screen

In WordPress admin: Plugins → Add New → Upload Plugin.

WordPress Plugins screen with Upload Plugin selected

Upload the zip

  1. Click Choose File and select woo-lomi.zip.
  2. Click Install Now, then Activate Plugin.

You should see lomi. for WooCommerce in your plugins list as Active.


Step 4, Enable lomi. in WooCommerce

Open payment settings

Go to WooCommerce → Settings → Payments → lomi. (click Manage or Set up).

WooCommerce lomi. payment settings with Setup health panel

Configure test mode

  1. Turn Enable lomi. on.
  2. Turn Test mode on while testing.
  3. Paste your Test secret key from step 1.
  4. Click Save changes.

Check Setup health

The Setup health panel should show:

  • API secret key: Configured
  • API connection: GET /me succeeded
  • Store currency: XOF, USD, or EUR

Fix any row marked Action required before continuing.


Step 5, Connect webhooks

Webhooks tell WooCommerce when a customer has paid (even if they close the browser before returning to your shop).

Copy the webhook URL from WooCommerce

At the top of WooCommerce → Settings → Payments → lomi., copy the Webhook URL (use the Copy URL button).

lomi. WooCommerce settings showing webhook URL and copy button

Create the endpoint in lomi.

  1. Open dashboard.lomi.africaDevelopers → Webhooks (or Settings → Webhooks).
  2. Add endpoint: paste the URL from WooCommerce.
  3. Enable events PAYMENT_SUCCEEDED and REFUND_COMPLETED.
  4. Copy the signing secret (whsec_…).
lomi. dashboard webhook endpoint with PAYMENT_SUCCEEDED enabled

Paste the webhook secret in WooCommerce

Back in WooCommerce → Payments → lomi., paste the signing secret into Test webhook secret, then Save changes.

The Webhook signing secret row in Setup health should show Configured.


Step 6, Run a test payment

  1. Add a product to your store and go to Checkout.
  2. Select lomi. as the payment method, you should see the lomi. branding card (pay-with image and payment icons).
WooCommerce checkout with lomi. branding card selected
  1. Place the order, you are redirected to lomi. Checkout (sandbox while test mode is on).
  2. Pay with test card 4242 4242 4242 4242 (any future expiry, any CVC). See Sandbox payments.
  3. Confirm the WooCommerce order status is Processing or Completed.

If the order stays Pending payment, check the webhook secret and that PAYMENT_SUCCEEDED is enabled on your dashboard endpoint.


Go live

When you are ready for real payments:

  1. In WooCommerce, turn Test mode off.
  2. Paste your Live secret key and Live webhook secret (create a live webhook endpoint in the dashboard with the same WooCommerce URL).
  3. Run one small real payment and confirm the order completes.

See also Verify payments.


Refunds, subscriptions, and webhooks (reference)

Refunds: From the WooCommerce order screen when the payment is linked; otherwise from the dashboard.

WooCommerce Subscriptions: Map each subscription product to a lomi price ID in the product editor lomi. tab. Renewals are billed by lomi., not WooCommerce.

Webhook headers: X-Lomi-Event, X-Lomi-Signature (HMAC-SHA256 hex of the raw body). Details: Handling webhooks.


Theme and checkout compatibility

The lomi. branding card (pay-with image, payment icons, secure-checkout hint) is rendered by the plugin. The payment option row around it (radio button, border, spacing) is controlled by WooCommerce and your WordPress theme.

Recommended setup

Use the WooCommerce Checkout block (not the legacy [woocommerce_checkout] shortcode). Block checkout is more consistent across themes and is what we test most often.

What we support

Checkout typeSupport levelNotes
WooCommerce Blocks checkoutRecommendedWC 9.6–10.x; plugin ships layout fixes for the payment radio row
Classic WooCommerce checkoutSupportedUses .payment_method_lomi styles in the plugin CSS

Themes tested before release

We smoke-test the branding card on:

ThemeCheckoutStatus
Storefront (WooCommerce default)Blocks + classicTested
Twenty Twenty-FourBlocksTested
Block themes (FSE)BlocksGenerally compatible

Popular builder themes (Astra, Divi, Elementor, etc.) may add checkout CSS that shifts spacing. The plugin uses namespaced classes (.wc-lomi-checkout-branding) and targeted overrides so the card stays readable in most cases.

If the payment row looks wrong

  1. Hard-refresh checkout (or clear cache) after updating the plugin, styles are versioned (checkout-branding.css?ver=…).
  2. Confirm you are on block checkout (Pages → Checkout should use the Checkout block).
  3. Temporarily switch to Storefront or Twenty Twenty-Four: if lomi. looks correct there, the issue is theme-specific CSS.
  4. Check Appearance → Customize → Additional CSS for rules targeting .wc-block-checkout or .payment_method_*.
  5. Contact lomi. support with your theme name, WooCommerce version, and a screenshot, include whether you use Blocks or classic checkout.

Theme changes

Switching themes can change payment-option layout. That is expected in the WordPress ecosystem; not a sign that lomi. is misconfigured. Re-test checkout after any theme or WooCommerce major update.


For developers

GitHub, source builds, and API internals are documented separately:

On this page