=== HesabPay Gateway for WooCommerce - Official Plugin ===
Tags: woocommerce, payment gateway, hesabpay, afghanistan, ecommerce, integrate hesabpay, secure checkout, vendor payouts, mobile payments, international payments, webhook, official plugin
Contributors: sediqpir
Requires at least: 5.6
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.2
License: GPLv2
License URI: https://www.gnu.org/licenses/gpl-2.0.html

**Power WooCommerce with HesabPay** – the official Afghan payment gateway plugin with multi-vendor support & verified webhooks.

== Description ==
**Official HesabPay Gateway for WooCommerce** – The #1 plugin to integrate HesabPay with WooCommerce. Seamlessly accept payments, manage vendors, and automate payouts for Afghan and international eCommerce. **Officially partnered with HesabPay** for maximum reliability.

**Integrate HesabPay** effortlessly with your WooCommerce store using our official plugin. This HesabPay plugin provides secure, fast, and reliable payment processing tailored for Afghanistan and beyond. Effortlessly manage multi-vendor payouts, real-time exchange rates, and smart translation support. Trusted by businesses and officially partnered with HesabPay, this plugin is your all-in-one solution for modern eCommerce.

**Key Features:**
– **Official HesabPay partnership** for trust and reliability  
– **Easy integration** with WooCommerce  
– Multi-vendor and automatic payouts  
– Real-time exchange rates  
– Smart translation and multilingual support  
– Secure, seamless checkout for local and international cards  
– User-friendly dashboard and settings  
– **Webhook verification** for secure transactions  

== Why Choose Our HesabPay Plugin? ==
✓ **Official Partnership** - Directly partnered with HesabPay
✓ **Easy Integration** - Simple setup process
✓ **Multi-Vendor Support** - Full WC Vendor compatibility
✓ **Secure Webhooks** - Verified transaction processing
✓ **24/7 Support** - Professional support team
✓ **Regular Updates** - Latest features and security patches

== Perfect for ==
• E-commerce stores in Afghanistan
• International businesses accepting Afghan payments
• Multi-vendor marketplaces
• Businesses needing secure payment processing
• Anyone looking to integrate HesabPay with WooCommerce

== Features: Free vs Pro ==

**Free Features:**
- Enable/Disable HesabPay
- Title & Description
- Sandbox/Live Mode
- API Key Management
- Merchant PIN
- Order Status After Payment
- Basic Debug Mode
- API Exchange Rate (Automatic)
- WC Vendor Plugin Compatible
- Multi-Vendor Support
- Automatic Payouts Only
- Webhook URL

**Pro Features (includes all Free features, plus):**
- Payment Success/Failure Page (Custom)
- Manual Exchange Rate
- Manual Payouts
- Vendor Commission Settings
- Advanced Debug Tools
- Priority Support
- Hands-on Setup
- WooCommerce Setup
- Multi-Vendor Setup
- Multi-Currency Setup
- Smart Translation

**Unlock all Pro features and get priority support:** [Get the Full Power of HesabPay](https://hesabpaygateway.com/pricing)

== Installation ==
1. Download the plugin zip file from the WordPress plugin directory or [hesabpaygateway.com](https://hesabpaygateway.com).
2. In your WordPress dashboard, go to Plugins > Add New > Upload Plugin.
3. Select the downloaded zip file and click Install Now.
4. Activate the plugin through the 'Plugins' menu in WordPress.
5. Go to WooCommerce > Settings > Payments > HesabPay to configure your API keys and settings.
6. Save changes and start accepting payments with HesabPay!

**Developer-ready:** Deploy via WP Dashboard or Git/SVN with clean, namespace-prefixed code and full compatibility with WooCommerce Blocks.

== Frequently Asked Questions ==

= How do I integrate HesabPay with WooCommerce? =  
Simply install and activate our plugin, then configure your API keys in WooCommerce settings.

= Is this the official HesabPay plugin? =  
Yes! We are officially partnered with HesabPay for maximum reliability and support.

= Does this plugin support webhook verification? =  
Yes, our plugin includes secure webhook verification for all transactions.

= Does it support multi-vendor stores? =  
Yes, full support for WC Vendor and multi-vendor setups is included in both Free and Pro versions.

= Can I use this plugin outside Afghanistan? =  
Yes, you can accept both local and international cards.

= How do I upgrade to Pro? =  
Visit [hesabpaygateway.com/pricing](https://hesabpaygateway.com/pricing) to unlock advanced features and priority support.

= Where can I get support? =  
For support, contact sales@hesabpaygateway.com or visit our [support page](https://hesabpaygateway.com/support).

== Screenshots ==
1. Dashboard – Plugin Overview Dashboard  
2. Translation – Smart Multilingual Support Settings  
3. Settings – Configure HesabPay options  
4. Payouts – Automatic & Manual Vendor Payouts  
5. Checkout – Smooth Checkout with Live Rates  
6. Checkout – Streamline Your Payments Process  
7. Pay as Guest – Local & International Cards  
8. Transaction Page – Real-Time Transactions Logs  

== Changelog ==
= 1.0.2 =
* Added setup instructions for easier onboarding.
* Added compatibility with WooCommerce HPOS (High-Performance Order Storage).
* Added support for WooCommerce Block-based Checkout.
* Fixed minor bugs and improved overall stability.

= 1.0.1 =
* Improved payout system for better vendor support.
* Fixed minor issues for enhanced performance and reliability.

= 1.0.0 =
* Initial release.
* Official HesabPay partnership.
* Enable/Disable HesabPay.
* Title & Description.
* Sandbox/Live Mode.
* API Key Management.
* Merchant PIN.
* Order Status After Payment.
* Basic Debug Mode.
* API Exchange Rate (Automatic).
* WC Vendor Plugin Compatible.
* Multi-Vendor Support.
* Automatic Payouts Only.
* Webhook URL.


**Pro features available!** [Upgrade to Pro](https://hesabpaygateway.com/pricing) for advanced tools, manual payouts, custom pages, priority support, and more.



== Official Partnership ==
This plugin is officially partnered with HesabPay. For more information, visit [hesabpaygateway.com/docs](https://hesabpaygateway.com/docs).

== Technical Reference ==
This plugin follows WordPress secure coding best practices with sanitized inputs, nonce verification, and unique prefixes. Webhook verification ensures every payment is validated for fraud protection.

== External services ==

This plugin connects to the following external services:

1. HesabPay API  
   - Purpose: To process payments and verify transactions.  
   - Data sent: Order details (including product, amount, and customer information) are sent when a payment is initiated.  
   - Data received: Payment status and transaction details.  
   - Service provider: HesabPay  
   - Terms of Service: https://hesabpaygateway.com/terms  
   - Privacy Policy: https://hesabpaygateway.com/privacy  

2. ExchangeRate API (https://api.exchangerate-api.com)  
   - Purpose: To fetch live currency exchange rates (USD to AFN).  
   - Data sent: No personal or order data is sent; only a request for the latest rates.  
   - Data received: Current exchange rates.  
   - Service provider: ExchangeRate API  
   - Terms of Service: https://www.exchangerate-api.com/terms  
   - Privacy Policy: https://www.exchangerate-api.com/privacy  