=== AcidPay WooCommerce Gateway ===
Contributors: acidpay
Tags: woocommerce, payment gateway, acidpay, checkout, ecommerce
Requires at least: 5.8
Tested up to: 6.8
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 AcidPay payments in WooCommerce with a lightweight redirect gateway.

== Description ==

AcidPay WooCommerce Gateway lets you accept payments through AcidPay on your WooCommerce store.

Features:

* Redirect customers to AcidPay secure checkout.
* Configure AcidPay ID, Secret, and Website ID from WooCommerce settings.
* Includes Payment Notify URL field for webhook setup.
* Handles AcidPay payment return and webhook callbacks.
* Adds a Settings link in the WordPress Plugins list.
* Partial payment protection: if received amount is below 95% of order total, order is set to on-hold for support follow-up.

You can get AcidPay credentials from:
AcidPay.com -> My Sites -> Code

== Installation ==

1. Upload the `AcidPay_Woocommerce` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the `Plugins` menu in WordPress.
3. Ensure WooCommerce is installed and active.
4. Go to `WooCommerce -> Settings -> Payments -> AcidPay`.
5. Enable AcidPay and enter:
   * AcidPay ID
   * AcidPay Secret
   * Website ID
6. Copy the `Web Hook (Payment Notify URL)` and set it in your AcidPay dashboard.

== Frequently Asked Questions ==

= Where do I get AcidPay credentials? =

From AcidPay.com -> My Sites -> Code

= What happens if customer pays less than required amount? =

If paid amount is below 95% of order total, order is placed on-hold with this note:
"Please contact support as your payment is partially done, pay the remaining by contacting support. AcidPay does not accept multiple payment to a single wallet id."

= Does this plugin support refunds from WooCommerce? =

No. Refunds are not handled by this gateway.

== Changelog ==

= 1.0.0 =

* Initial release.
* Added AcidPay WooCommerce gateway integration.
* Added callback handling for payment status updates.
* Added partial payment threshold rule.
* Added plugin action Settings link.
