=== JEKO for WordPress ===
Contributors: jeko
Tags: payment, mobile money, donation, africa, xof
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Accept JEKO Mobile Money payments on any WordPress site — donations, bookings, and fixed-amount payments. No WooCommerce required.

== Description ==

**JEKO for WordPress** collects payments via JEKO Mobile Money **redirect** — the same technology as JEKO for WooCommerce checkout, without needing a shop.

**Features**

* `[jeko_donate]` — variable-amount donation or booking form
* `[jeko_pay id="123"]` — fixed-amount pay button from admin payment templates
* Mobile Money provider selection (Wave, Orange, MTN, Moov, DJAMO)
* Webhook and return URL payment confirmation
* Payment history in admin

**Pay-in only.** This plugin does not support transfers (pay-out) or WooCommerce checkout.

**Requirements**

* JEKO Partner API credentials from Jeko Cockpit
* XOF currency
* Public HTTPS site URL for redirect return URLs and webhooks (production)

== Installation ==

1. Upload the plugin ZIP via **Plugins → Add New → Upload**, or copy the folder to `wp-content/plugins/jeko-payment-links/`.
2. Activate **JEKO for WordPress**.
3. Open **Settings → JEKO for WordPress** and enter your API credentials, store, and webhook secret.
4. Register the webhook URL shown in settings in Jeko Cockpit.
5. Add `[jeko_donate]` to a page, or create a payment template under **Payments** and use `[jeko_pay id="POST_ID"]`.

== Frequently Asked Questions ==

= Do I need WooCommerce? =

No. Use **JEKO for WooCommerce** for online stores. Use this plugin for donations, invoices, bookings, and other non-commerce sites.

= Can I use this alongside JEKO for WooCommerce? =

Yes. Both plugins can be active. Each stores its own settings; configure the same JEKO credentials in both if you use both.

= Why do I need a public HTTPS URL? =

JEKO redirect payments require HTTPS success and error return URLs. On localhost, enter your ngrok (or similar) URL under **Public HTTPS URL** in settings.

== Screenshots ==

1. JEKO settings — API credentials, store, webhook URL
2. Donation form shortcode on a page
3. Payments admin — templates and completed payments
4. Fixed-amount pay button shortcode

== Changelog ==

= 1.1.0 =
* Initial public release with Mobile Money redirect payments.
* `[jeko_donate]` variable-amount form and `[jeko_pay]` fixed-amount templates.
* Webhook and return URL payment confirmation.
* Distribution docs, translation template, and WordPress.org release checklist.

== Upgrade Notice ==

= 1.1.0 =
First release of JEKO for WordPress (redirect payments for non-commerce sites).
