=== Kiotapay Payment Gateway ===
Contributors: davidmacharia
Tags: woocommerce, kiotapay, mpesa, payment
Requires at least: 6.0
Tested up to: 6.9
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Kiotapay Payment Gateway allows your customers to pay securely using MPESA via Kiotapay.

== Description ==

Kiotapay Payment Gateway for WooCommerce enables seamless payments using **MPESA STK Push** through the Kiotapay platform.

This plugin integrates directly with Kiotapay’s API, providing a smooth checkout experience for your customers.

**Features:**
* Support for secure MPESA stk push
* Webhook support (ready for future updates)
* HPOS (High-Performance Order Storage) compatible
* Easy configuration from WooCommerce settings

== Installation ==

1. Upload the plugin folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to **WooCommerce → Settings → Payments**
4. Find **Kiotapay** and click "Manage"
5. Enter your Kiotapay credentials:
   - API Key
   - API Secret
6. Select Sandbox for testing. Otherwise select Live
7. Save changes and enable the gateway

== Configuration ==

You will need the following from your Kiotapay account:
* **API Key**
* **API Secret**

Default API endpoints are already provided (Sandbox). Update them if you are using the live environment.

== Frequently Asked Questions ==

= Does this plugin support HPOS? =
Yes, the plugin declares compatibility with WooCommerce High-Performance Order Storage (HPOS).

= Where do I get my API credentials? =
Contact your Kiotapay account manager.

= Does the plugin handle webhooks? =
Yes, the webhook endpoint is already set up

== Changelog ==

= 1.0.0 =
* Initial release
* Basic integration with Kiotapay Checkout Sessions
* Support for MPESA_STK
* Automatic token generation
* Redirect to payment page

== Upgrade Notice ==

= 1.0.0 =
Initial version - please test thoroughly in sandbox mode before going live.

== Screenshots ==

1. Kiotapay settings page in WooCommerce
2. Payment method displayed at checkout
