=== ListoPays Payment Gateway for WooCommerce ===
Contributors: listopays
Tags: woocommerce, payment gateway, payments, checkout, listopays
Requires at least: 6.0
Tested up to: 7.1
Stable tag: 1.1.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Accept online payments in your WooCommerce store via the ListoPays payment gateway.

== Description ==

ListoPays Payment Gateway for WooCommerce adds ListoPays as a payment method on your checkout page. Customers are redirected to a secure hosted ListoPays payment page and your store is notified about the payment result automatically via webhook.

Features:

* Redirect-based payment flow (hosted payment page)
* Test and Live modes with separate API keys
* Optional currency and payment page header configuration
* Automatic order status updates via webhook
* WooCommerce Blocks (Cart & Checkout blocks) support
* HPOS (High-Performance Order Storage) compatible

= Requirements =

* WooCommerce installed and activated
* A ListoPays merchant account with Website Public and Private keys

== Installation ==

1. Upload the plugin folder to the `/wp-content/plugins/` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Go to WooCommerce → Settings → Payments → ListoPays.
4. Enter your Public and Private keys for Test or Production mode.
5. Copy the webhook URL shown on the settings screen and add it in your ListoPays dashboard.

== Frequently Asked Questions ==

= Where do I get my API keys? =

In your ListoPays merchant dashboard, in the website settings section.

= How are order statuses updated? =

ListoPays sends a webhook request to your store after the transaction. The plugin verifies the request using your private key and updates the order status automatically.

== Changelog ==

= 1.1.0 =
* Add currency and payment page header settings, payment descriptor display, webhook metadata.descriptor support. Remove legacy boilerplate.

= 1.0.0 =
* Initial release.
