=== Ssentezo Payments for WordPress ===
Contributors: thinkxsoftware
Tags: payments, mobile money, uganda, shortcode
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.1
Stable tag: 0.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Collect MTN and Airtel mobile money on WordPress with a shortcode. Payments are confirmed only after the Ssentezo Wallet status API succeeds.

== Description ==

This beta plugin adds `[ssentezo_pay]` for sites that are not running WooCommerce. It starts a Ssentezo Wallet mobile-money collection and marks the payment paid only when `POST /api/get_status/{externalReference}` returns SUCCEEDED for the same amount and UGX.

It does not trust the browser or the unsigned callback by itself. Card checkout and bank transfer are not part of this version. For WooCommerce stores, use Ssentezo Wallet for WooCommerce instead.

== Installation ==

1. Upload `integrations/wordpress-ssentezo/dist/ssentezo-payments.zip` and activate it. WooCommerce is not required.
2. Open Ssentezo → Settings. Sandbox is selected by default.
3. Enter the API base URL, API user, and API key. Save, then use Test connection.
4. Sandbox mode does not start a payment on `https://wallet.ssentezo.com`. On any other URL it still does not start a payment until you confirm the host was verified independently. After that, only the documented test numbers are accepted.
5. Live payments stay off until Live is selected and confirmed.
6. Add `[ssentezo_pay]` or `[ssentezo_pay amount="10000" purpose="Donation"]` to a page.

== Changelog ==

= 0.1.0 =
* First beta. Shortcode collection form, status verification, callback re-check, admin payment list, and a ten-minute pending poll.
