=== Payment Gateway for MyAmeriaPay ===
Author: Ameriabank
Author URI: https://ameriabank.am/
Contributors: ameria
Tags: woocommerce, payment gateway, ameria, armenia
Requires at least: 5.8
Requires PHP: 7.4
Tested up to: 6.8
Stable tag: 1.5.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Secure payment gateway for MyAmeria Pay in WooCommerce.

== Description ==

This plugin adds MyAmeria Pay as a payment option in WooCommerce stores.

== Installation ==

1. Upload the plugin to your WordPress site
2. Activate the plugin
3. Configure the settings in WooCommerce → Settings → Payments → MyAmeria Pay

== Frequently Asked Questions ==

= How do I get API credentials? =
Contact AmeriaBank to get your merchant credentials.

== Screenshots ==

1. MyAmeria Pay option in WooCommerce checkout
2. Plugin configuration settings first screenshoot
3. Plugin configuration settings second screenshoot

== Compatibility ==

* Compatible with WooCommerce High-Performance Order Storage (HPOS) feature
* Requires WooCommerce 6.0+
* Tested up to WooCommerce 8.0

== Changelog ==
= 1.5.1 =
* Changed block class prefixes.

= 1.5 =
* Changed textdomain to "payment-gateway-for-myameriapay".
* Prefixed all function, class, and option names with `paymgafo_myameria_` to avoid naming collisions.
* Fixed all warnings from plugin checks.

= 1.4 =
* Added Test and Production mode environment option for users.
* Improved UI/UX design and layout fixes.
* Added eye icon to toggle password visibility.
* Updated Plugin Info section data.
  
= 1.3 =
* Renamed plugin to avoid trademark confusion and follow WordPress.org guidelines.
* Changed plugin slug to `payment-gateway-for-myameriapay`.
* Prefixed all function, class, and option names with `paymgafo_myameria_` to avoid naming collisions.
* Removed `load_plugin_textdomain()` as it is no longer needed (WordPress 4.6+).
* Updated `readme.txt` with external service details and improved formatting. 

= 1.2 =
* Escaped all admin output and translatable strings using WordPress escaping functions (`esc_html__`, `wp_kses_post`, etc.)
* Escaped output of `$this->generate_settings_html()` and `$this->get_author_info_html()` using `wp_kses_post()` to prevent XSS
* Resolved PHPCS warnings related to output escaping for `$this` method calls
* Ensured better compliance with WordPress security best practices in admin screens

= 1.1 =
* Improved security: Added nonce verification for redirect handlers
* Escaped all translatable strings and outputs using proper WordPress escaping functions (`esc_html__`, `wp_kses_post`, etc.)
* Sanitized and validated usage of `$_SERVER`, `$_GET`, and other superglobals
* Properly encoded query parameters in API requests using `urlencode()`
* Minor code cleanup and improved developer feedback

= 1.0 =
* Initial release