Metrepay
Contributors: feragome
Tags: metrepay, payment
Requires at least: 5.3
Tested up to: 6.9.1
Stable tag: 1.7.2
Requires PHP: 7.3.5
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.txt

Metrepay's plugin to make online payments through credit and debit cards in Paraguay.

== Frequently Asked Questions ==

= How can I sign up my account to use Metrepay? =

Please send us an email to info@metrepay.com.

== Changelog ==

= 1.0.0 =
* Initial release with support for unique and recurring payments.

= 1.1.0 =
* Added specific logic to the setting form field related to activating recurring payments. For this parameter to be effective, products must include the "cuotas" field to enable recurring payments.

= 1.1.1 =
* Fixed text issues related to the payment process.

= 1.1.2 =
* Improved text in setting form fields.

= 1.2.0 =
* Removed use of iframe for payment processing.
* Correctly updated the order status to "completed."

= 1.3.0 =
* Added a setting parameter to select the preferred MetrePay instance.
* Added a parameter to enable or disable the use of the configured site currency.
* Removed the "staging" setting parameter.
* Fixed URL generation to consider site permalinks for the "pago-metrepay" pos-checkout page.
* Fixed checkout box options to display "Single payment" or "Recurring payment."
* Optimized API request body generation.

= 1.4.0 =
* Added a setting form field to manage login requirements for generated payment links.
* Added a setting form field to set a constant value for the custom identifier (#1) in payment links.
* Added a setting form field to enable sending the Order ID as an additional custom identifier (#2) in payment links.
* Fixed logic to require the client document number at checkout when either login is not required or the custom identifier (#1) is empty.

= 1.4.1 =
* Improved "Thanks for your purchase" final page style and content.

= 1.5.0 =
* Added support for English and French languages.
* Optimized and simplified the management of Custom Identifiers.
* Simplified the checkout process by reducing steps on the MetrePay platform.

= 1.5.1 =
* Fixed the amount value formatting: it now includes decimal places when needed (e.g. 10.01), and uses integers when the value is whole (e.g. 10).
* Removed the "provider slug" setting field, as it's no longer required for commerce configuration.

= 1.6.0 =
* Updated automatic debit detection to use product tags instead of "cuotas" attribute.
* Improved subscription detection based on tags like "suscripción", "subscription", etc.
* Added configurable subscription installments setting (default: 12 payments).
* Automatic debits now support any product type, not just variable products.
* Enhanced logging system with WooCommerce logger.

= 1.6.1 =
* Added support for Portuguese (Brazil).
* Update English and French languages.

= 1.7.0 =
* Add custom redirect URL parameter

= 1.7.1 =
* Update release notes

= 1.7.2 =
* Enhance checkout security
* Fix error on redirect to complete properly every order