=== Sendi API - Livraison ===
Contributors: sendiapi, emmanuel1407
Donate link: https://sendi-api.com
Tags: delivery, woocommerce, shipping, cash-on-delivery, api
Requires at least: 5.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.2.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

SendiAPI delivery platform integration for WooCommerce - Cash on delivery


== Description ==

SendiAPI is a unified delivery API for Africa. This plugin integrates SendiAPI with WooCommerce, allowing you to offer delivery with cash on delivery payment.

**Official integration** for SendiAPI delivery platform.

= Features =

* Automatic order submission to SendiAPI
* Cash on delivery payment
* Custom checkout fields for delivery information
* Real-time delivery price calculation
* Order tracking via shortcode
* Admin dashboard with statistics
* Detailed logs for debugging
* HPOS compatible
* Multi-commune support

= How it works =

1. Customer places an order with delivery option
2. Order is automatically sent to SendiAPI
3. A delivery agency is assigned
4. Customer pays upon delivery

== External Services ==

This plugin connects to the SendiAPI delivery platform to provide delivery services with cash on delivery.

**Service:** SendiAPI Delivery Platform (https://sendi-api.com)
**Usage:** The plugin sends order information to SendiAPI to create delivery orders, track deliveries, and manage delivery agencies.

**Data sent to SendiAPI:**
- Order details (order ID, items total)
- Customer information (name, phone, address, delivery commune)
- Merchant information (store name, phone, email, pickup address)
- Delivery price and agency selection

**When data is sent:**
- When an order is placed with cash on delivery and the customer selects the SendiAPI delivery method
- When checking delivery status (periodic updates)
- When calculating delivery prices in real-time

**Terms of Service:** https://sendi-api.com/terms
**Privacy Policy:** https://sendi-api.com/privacy

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/livraison-api/`
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Go to Sendi API > Settings and configure your API key
4. Fill in your merchant information
5. Save settings and test the connection

== Frequently Asked Questions ==

= Do I need a SendiAPI account? =

Yes, you need to create a free account on SendiAPI to get your API key.

= How does cash on delivery work? =

The customer pays the delivery driver directly upon delivery.

= Which payment methods are supported? =

Cash and mobile money (Orange Money, MTN Mobile Money, Wave).

== Screenshots ==

1. Plugin settings page
2. Checkout delivery fields
3. Admin orders list
4. Admin dashboard

== Changelog ==

= 1.2.0 =
* Added merchant information fields
* Added agency information in orders list
* Improved error handling
* Added HPOS compatibility
* Fixed checkout commune select height

= 1.1.0 =
* Added real-time price calculation
* Added admin dashboard
* Added shortcode support

= 1.0.0 =
* Initial release
* WooCommerce integration
* Cash on delivery support

== Privacy ==

This plugin does not store personal data outside your WordPress installation. Data is transmitted to SendiAPI only for delivery purposes as described in the External Services section.

== Support ==

For support, please visit: https://sendi-api.com/contact

== Credits ==

Developed by SendiAPI - https://sendi-api.com