=== Payment Gateway for Victoriabank MIA for WooCommerce ===
Contributors: alexminza
Tags: Moldova, Victoriabank, MIA, QR, payment gateway
Requires at least: 4.8
Tested up to: 6.9
Stable tag: 1.1.0
Requires PHP: 8.0
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Accept MIA Instant Payments directly on your store with the Victoriabank MIA payment gateway for WooCommerce.

== Description ==

Accept MIA Instant Payments directly on your store with the Payment Gateway for Victoriabank MIA for WooCommerce.

= Features =

* Online payments with [MIA Instant Payments](https://mia.bnm.md/en)
* Reverse transactions – complete refunds[^1]
* Admin order actions – check order payment status
* Supports WooCommerce [block-based checkout experience](https://woocommerce.com/checkout-blocks/)
* Free to use – [Open-source GPL-3.0 license on GitHub](https://github.com/alexminza/payment-gateway-wc-victoriabank-mia)

[^1]: Partial refunds are not currently supported by Victoriabank MIA.

= Getting Started =

* [Installation Instructions](./installation/)
* [Frequently Asked Questions](./faq/)

== Installation ==

1. Configure the plugin Connection Settings by entering the connection credentials received from the bank
2. Provide the *Callback URL* to the bank to enable online payment notifications
3. Enable *Test* and *Debug* modes in the plugin settings
4. Perform the following test cases and provide the requested details to the bank:
    * **Test case #1**: Create a new order and pay
    * **Test case #2**: Create a new order and pay, afterwards perform a full order refund
5. Disable *Test* and *Debug* modes when ready to accept live payments

== Frequently Asked Questions ==

= How can I configure the plugin settings? =

Use the *WooCommerce > Settings > Payments > Victoriabank MIA* screen to configure the plugin.

= Where can I get the Connection Settings? =

The connection settings are provided by Victoriabank. This data is used by the plugin to connect to the Victoriabank MIA payment gateway and process the transactions. Please see [https://www.victoriabank.md/en/operatiuni-curente/mia-business](https://www.victoriabank.md/en/operatiuni-curente/mia-business) and contact [mia@vb.md](mailto:mia@vb.md) for details.

= What store settings are supported? =

Victoriabank MIA currently supports transactions in MDL (Moldovan Leu).

= How can I contribute to the plugin? =

If you're a developer and you have some ideas to improve the plugin or to solve a bug, feel free to raise an issue or submit a pull request in the [Github repository for the plugin](https://github.com/alexminza/payment-gateway-wc-victoriabank-mia).

You can also contribute to the plugin by translating it. Simply visit [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/payment-gateway-wc-victoriabank-mia) to get started.

== Screenshots ==

1. Plugin settings
2. Connection settings
3. Refunds

== Changelog ==

See [payment-gateway-wc-victoriabank-mia project releases on GitHub](https://github.com/alexminza/payment-gateway-wc-victoriabank-mia/releases) for details.

= 1.1.0 =
* New order confirmation page with embedded QR code and automatic payment status polling
* Mobile-friendly: customers on phones see a deep-link button to open their banking app directly
* New "Payment redirect" setting — keep the new in-store flow (default) or restore the previous redirect to the MIA QR URL

= 1.0.6 =
* Improved payment confirmation logging
* Enhanced order actions logic
* Added WooCommerce Product Object Caching compatibility

= 1.0.5 =
* Improved [Composer packages versions compatibility](https://vanrossum.dev/37-wordpress-and-composer) by using [Jetpack Autoloader by Automattic](https://github.com/Automattic/jetpack-autoloader)
* Code reorganization and refactoring for better maintainability

= 1.0.4 =
Added manual check payment status order action.

= 1.0.3 =
Fixed vendor packages deployment.

= 1.0.2 =
Improved QR code generation logic and settings validation.

= 1.0.1 =
Minor improvements.

= 1.0.0 =
Initial version release.

== Upgrade Notice ==

= 1.1.0 =
Improved QR payment UI/UX.

= 1.0.6 =
Improved payment confirmation logging and enhanced order actions logic.

= 1.0.5 =
Code reorganization and refactoring for better maintainability.

= 1.0.4 =
Added manual check payment status order action.

= 1.0.3 =
Fixed vendor packages deployment.

= 1.0.2 =
Improved QR code generation logic and settings validation.

= 1.0.1 =
Minor improvements.

= 1.0.0 =
Initial version release.
