- Adds a LigdiCash payment method to the WooCommerce checkout page
- Redirects the customer to the LigdiCash payment page during checkout
- Receives the confirmation callback and automatically updates the order status
- Adds CFA franc (XOF) currency support to WooCommerce
Requirements
- WordPress ≥ 4.x
- WooCommerce installed and enabled
- A LigdiCash API project with an
api_keyandauth_token— see Create an API project - Store currency set to XOF or FCFA
Installation
The plugin is installed by downloading the folder as a ZIP file and importing it into WordPress.1
Download the plugin
Download the ZIP file via the link at the top of this page or directly: plugin-wordpress.zip.
2
Import into WordPress
From your WordPress dashboard, go to Plugins → Add New → Upload Plugin, select the
.zip file, then click Install Now.3
Activate the plugin
Once installation is complete, click Activate Plugin.
4
Open the settings
Go to WooCommerce → Settings → Payments, then click LigdiCash to open the configuration page.
Configuration
From WooCommerce → Settings → Payments → LigdiCash:Payment flow
Once the plugin is configured, here’s what happens on each order:1
The customer places an order
On the WooCommerce checkout page, the customer picks LigdiCash as the payment method and confirms.
2
Redirect to LigdiCash
The plugin creates an invoice via
POST /pay/v01/redirect/checkout-invoice/create and redirects the customer to the LigdiCash payment page.3
Customer pays
The customer picks their mobile money operator and completes the payment on the LigdiCash page.
4
Return to the store
After payment, the customer is redirected to the WooCommerce confirmation page. The plugin checks the status via
GET /pay/v01/redirect/checkout-invoice/confirm/ and updates the order.5
Callback confirmation
LigdiCash also sends a POST callback to
{your-site}/wc-api/wc_ligdicash/. The plugin handles this callback and marks the order as Completed if the status is completed.The callback URL is generated automatically by the plugin:
{your-site}/wc-api/wc_ligdicash/. You don’t need to configure it manually — it’s registered in WooCommerce when the plugin is activated.