# WooCommerce Tabapay Payment Gateway

**Version: 1.4.0**

This plugin allows you to easily integrate the Tabapay payment gateway into your WooCommerce store, offering a secure and fast payment experience for your customers.

---

## Features

- **Full WooCommerce Support**: Seamless integration with the WooCommerce payment system.
- **Secure Transactions**: Payments are processed via the official and secure Tabapay gateway.
- **Customizable**: Adjustable gateway title and description for the checkout page.
- **Multi-Currency Handling**: Supports Iranian Rial (IRR), Toman (IRT), and other variations (IRHT, IRHR).
- **Detailed Transaction Logs**: Logs payment details such as tracking code, card number, IP address, and transaction date.
- **Sandbox Mode**: Optional sandbox environment for testing payments without real transactions (configurable via gateway settings).
- **Automatic Tax Invoice**: Sends tax invoice data (including `invoiceProductId`, nationalCode, economicCode, mobile, address and buyerType) to the Tabapay API.

---

## Prerequisites

- **WordPress**: Version 5.0 or higher
- **WooCommerce**: Version 3.0 or higher
- **PHP**: Version 7.0 or higher
- A valid **Tabapay Merchant Key** from `https://tabapay.ir`

---

## Installation

1. Download the plugin ZIP file from:
   - `https://wordpress.org/plugins/tabapay-gateway/`
   - `https://github.com/tabapayco/woocommerce-tabapay-gateway/releases`
2. Go to your WordPress admin dashboard.
3. Navigate to **Plugins → Add New → Upload Plugin**.
4. Upload the downloaded ZIP file.
5. Install and activate the plugin.

---

## License

- License: GPLv2 or later  
- License URI: `https://www.gnu.org/licenses/gpl-2.0.html`