=== NogorPay for WooCommerce ===
Contributors: nogorpay
Tags: woocommerce, payment gateway, bkash, nagad, bangladesh
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Accept NogorPay payments in WooCommerce using hosted checkout.

== Description ==

NogorPay for WooCommerce adds a WooCommerce payment gateway for NogorPay merchants.

The plugin redirects customers to the secure NogorPay hosted checkout page.

The plugin communicates with the NogorPay API from your WordPress server. Your secret API key is never exposed to customer browsers.

External service disclosure:

This plugin connects to the NogorPay API to create and verify payment charges. Payment requests may include order amount, customer name, customer email, customer phone, WooCommerce order ID, redirect URL, cancel URL, webhook URL, and metadata required to process the payment.

Service URL: https://api.nogorpay.com
Terms: https://nogorpay.com/terms
Privacy: https://nogorpay.com/privacy

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/` or install it from the WordPress plugin screen.
2. Activate the plugin.
3. Go to WooCommerce > Settings > Payments > NogorPay.
4. Enable the gateway.
5. Add your NogorPay secret API key.
6. Save changes.

== Frequently Asked Questions ==

= Is the API key exposed to customers? =

No. All NogorPay API calls are made server-side using the WordPress HTTP API.

= How are webhook requests verified? =

NogorPay signs webhook payloads using HMAC SHA256. The plugin verifies the `NOGORPAY-SIGNATURE` header against the raw JSON request body using your configured API key.

= Should I fulfill orders after redirect? =

No. Redirects are for customer navigation only. Orders are marked paid after a verified API response or a signed NogorPay webhook.

= Does this support WooCommerce HPOS? =

Yes. The plugin declares compatibility with WooCommerce High-Performance Order Storage.

== Changelog ==

= 1.0.0 =
* Initial release with hosted redirect and signed webhook handling.
