# Smatpay WooCommerce Custom Payment Gateway

A WooCommerce payment gateway plugin that enables smatpay integration for seamless online transactions.

## Features

- Easy integration with WooCommerce.
- Supports smatpay] for secure transactions.
- Customizable settings through the WooCommerce admin panel.
- Compatibility with major WooCommerce versions.
- Multi-currency support.

## Installation

1. **Download the Plugin:**
   Download the latest version of the plugin from the [releases](https://github.com/Smatpay-Org/smatpay-woocommerce-plugin/tree/master) page.

2. **Install the Plugin:**
   - Go to your WordPress admin panel.
   - Navigate to **Plugins > Add New**.
   - Click on **Upload Plugin**.
   - Choose the downloaded ZIP file and click **Install Now**.
   - Once installed, click **Activate**.

3. **Configure the Plugin:**
   - Go to **WooCommerce > Settings > Payments**.
   - Find **[smatpay]** and click on it.
   - Enter your API credentials and configure the settings as needed.
   - Save changes.

## Usage

Once the plugin is activated and configured, customers will see smatpay as a payment option during checkout.

## Requirements

- WordPress 5.0 or higher
- WooCommerce 4.0 or higher
- PHP 7.0 or higher

## Troubleshooting

- If you encounter issues, ensure that your API credentials are correct.
- Check your server error logs for any related errors.
- Refer to the [WooCommerce documentation](https://docs.woocommerce.com/documentation/plugins/woocommerce/) for general troubleshooting.

## Contributing

Contributions are welcome! If you'd like to contribute, please fork the repository and submit a pull request.

1. Fork the repo
2. Create a new branch (`git checkout -b feature/YourFeature`)
3. Commit your changes (`git commit -m 'Add some feature'`)
4. Push to the branch (`git push origin feature/YourFeature`)
5. Open a pull request

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

## Contact

For support or inquiries, please reach out to Anesu Paul Ngirande at anesu@smatechgroup.com.

---

Thank you for using the WooCommerce Custom Smatpay Payment Gateway!
