=== emerchantpay Gateway Module for WooCommerce ===
Contributors: empproduct
Tags: payment, card, payment gateway, apple pay, google pay
Requires at least: 4.0
Tested up to: 6.9
Stable tag: 1.17.13
License: GPL-2.0
License URI: http://opensource.org/licenses/gpl-2.0.php
WC requires at least: 3.0.0
WC tested up to: 10.4.3
WCS tested up to: 8.3.1
WCB tested up to: 11.7.0

This Plugin for WooCommerce gives you the ability to process payments through emerchantpay's Payment Gateway - Genesis.

== Description ==

*Requirements:*

1. WordPress 4.x, 5.x, 6.x (Tested up to 6.9)
2. WooCommerce 3.x, 4.x, 5.x, 6.x, 7.x, 8.x, 9.x, 10.x (Tested up to 10.4.3)
3. GenesisPHP 2.2.0

*Subscriptions:*
In order to process subscriptions, you need to purchase the [WooCommerce Subscription Extension](https://woocommerce.com/products/woocommerce-subscriptions/) (Tested up to 8.3.1).
Click [here](https://github.com/emerchantpay/woocommerce-emp-plugin#subscriptions) to learn more about setting up Subscription Module or
read our [Subscriptions Configuration wiki page](https://github.com/emerchantpay/woocommerce-emp-plugin/wiki/WooCommerce-Subscription-Configurations).

*GenesisPHP Requirements:*

1. PHP version 5.5.9 or newer
2. PHP Extensions:

        * BCMath
        * CURL (required, only if you use the curl network interface)
        * Filter
        * Hash
        * XMLReader
        * XMLWriter
        * JSON
        * OpenSSL

== Installation ==
1. Login into your **WordPress Admin Panel** with *Administrator privileges*
2. Navigate to **Plugins -> Add New**
3. Install through the Marketplace/ Select the downloaded **.zip** File
4. Activate the newly installed **WooCommerce emerchantpay Payment Gateway Client** plugin
5. Navigate to **WooCommerce -> Settings -> Checkout**
6. Select your preferred payment method **emerchantpay Checkout**
6. Check **Enable**, set the correct credentials and click **Save changes**

== Changelog ==
= 1.17.13 =
* Improved WordPress 6.9 compatibility
* Updated Card JS plugin used by the Direct Payment method

= 1.17.12 =
* Improved Client-Side Encryption classic checkout experience for the Direct Method with blurred Credit Card fields during payment processing

= 1.17.11 =
* Updated 3DS V2 browser parameters handling via Direct Method and FunnelKit plugin
* Tested up to WordPress 6.9

= 1.17.10 =
* Added support for the following recurring transaction types via checkout method: Google Pay, Apple Pay

= 1.17.9 =
* Added possibility to use Web Payment Form tokenization with guest users
* Updated Card.js library

= 1.17.8 =
* Updated Genesis PHP SDK to version 2.2.0
* Removed the following transaction types support via Web Payment Form: Banco do Brasil, Bradesco, Itau, PSE, Redpagos, Santander, Webpay

= 1.17.7 =
* Updated handling of the "Thank you" page to prevent multiple payments when IPN is delayed

= 1.17.6 =
* Updated Genesis PHP SDK to version 2.1.5
* Updated iFrame attributes for ApplePay through WPF

= 1.17.5 =
* Updated Genesis PHP SDK to version 2.1.3
* Updated Card.js
* Updated WordPress supported version to 6.8

= 1.17.4 =
* Updated Genesis PHP SDK to version 2.1.2

= 1.17.3 =
* Renamed Latipay bank code to PayID
* Improved compatibility with WordPress v6.7
* Updated Genesis PHP SDK to version 2.1.0
* Fixed minor warnings

= 1.17.2 =
* Added Client-Side Encryption support to the Direct payment method
* Updated the plugin's admin page screen handling
* Update Credit Card form styles on WooCommerce Blocks checkout
* Updated Genesis PHP SDK to version 2.0.4
* Updated Card.js to the latest version

= 1.17.1 =
* Fixed Recurring V2 payment handling
* Fix plugin autoloading

= 1.17.0 =
* Added Custom Thank You page functionality. A desired endpoint for the return success URL can be defined in the plugin configuration.
* Update Genesis PHP SDK to version 2.0.3
* Removed Klarna transaction type in the Checkout payment method
* Tested up to WordPress 6.7
* Fixed 3DSv2 Method Continue payment flow for a specific case in the Direct payment method

= 1.16.2 =
* Added Gateway Recurring V2 support through WooCommerce Subscriptions
* Improved compatibility with PHP > 8.1
* Fixed 3DSv2 parameters handling for specific cases

= 1.16.1 =
* Updated Genesis PHP SDK to version 2.0.2
* Updated transaction types list in the emerchantpay Checkout payment method
* Added LatiPay bank code support through Online Banking transaction type

= 1.16.0 =
* Added High-Performance Order Storage (HPOS) support provided by the WooCommerce plugin
* Updated Genesis PHP SDK version to 2.0.1
* Updated transaction type list in the emerchantpay Checkout payment method
* Removed GiroPay transaction type
* Fixed PHP 8+ version compatibility
* Fixed 3DSv2 Cascade Style Sheets affecting the themes
* Fixed subscription renewal payments
* Fixed Smart Router and terminal token handling logic in the emerchantpay Direct payment method
* Fixed Gateway error response handing

= 1.15.1 =
* Added SPEI Online Banking Bank code support
* Updated plugin compatibility with PHP 8+ versions
* Tested up to WordPress 6.6.x

= 1.15.0 =
* Added iFrame support for WooCommerce Blocks
* Added support for SDD init recurring sale via emerchantpay Checkout payment gateway
* Updated Genesis PHP SDK to version 1.24.6

= 1.14.9 =
* Added support for Smart Router via Direct Payment method
* Updated Genesis PHP SDK to version 1.24.4
* Updated Card.js with the latest Credit Card patterns
* Fixed transaction table visualization on WooCommerce Order type Subscription

= 1.14.8 =
* Added support for WooCommerce Blocks support via Direct Payment method
* Updated Genesis PHP SDK to version 1.24.2
* Updated Card.js with the latest Credit Card patterns

= 1.14.7 =
* Fixed security issue

= 1.14.6 =
* Added support for Blocks checkout via Web Payment Form
* Updated Genesis PHP SDK to version 1.24.0
* Updated support of PaySafeCard transaction type via Web Payment Form

= 1.14.5 =
* Updated Genesis PHP SDK to version 1.22.0
* Added support for Blik one Click (BLK) payment method for the Online Banking payment type
* Fixed Transaction table visualization on the admin order view
* Fixed plugin configuration page

= 1.14.4 =
* Updated Genesis PHP SDK to version 1.21.12
* Updated Direct Method loading screen text size
* Fixed Authorize and Sale transaction request parameters handling

= 1.14.3 =
* Updated Genesis PHP SDK to version 1.21.11
* Added option for controlling the emerchantpay Direct 3D Secure processing via iFrame, default value - enabled
* Updated Direct Method 3D Secure loading page visualization
* Added dynamic version to enqueued files on the FrontEnd based on the current plugin version
* Fixed warning caused by the plugin configuration

= 1.14.2 =
* Updated Direct Payment payment processing page
* Fixed a warning during the Web Payment Form creation

= 1.14.1 =
* Implemented emerchantpay Checkout payment method flow with an iFrame
* Added option for controlling the emerchantpay Checkout Web Payment Flow via iFrame - disabled, default value
* Added Web Payment Form strict list order of the selected Transaction Types that are being sent to the Gateway
* Added an option to select and use a specific Web Payment Form template defined on the Gateway
* Updated use of credit card form to be compatible with the newer WooCommerce versions
* Updated plugin's language translation files
* Fixed a warning during the Web Payment Form creation

= 1.14.0 =
* Updated Genesis PHP SDK to version 1.21.10
* Implemented emerchantpay Direct payment method flow with an iFrame

= 1.13.4 =
* Updated Genesis SDK to version 1.21.9
* Reimplemented emeprchantpay Direct payment method
* Added 3DSv2 payment flow support to the emerchantpay Direct payment method

= 1.13.3 =
* Updated Genesis SDK to version 1.21.6
* Added Belgium bank code for Online banking - Bancontact

= 1.13.2 =
* Removed emerchantpay Direct payment method
* Tested up to WordPress 6.1.1
* Tested up to WooCommerce 7.1.1

= 1.13.1 =
* Fixed 3DSV2 optional parameters value generation
* Fixed failure URL generation

= 1.13.0 =
* Added support for 3DSv2 params thru the emerchantpay Checkout method
* Added support for SCA Exemption settings thru the emerchantpay Checkout method
* Added 3DSv2 parameters handling via Web Payment Form
* Added SCA Exemption parameters handling via Web Payment Form
* Updated Genesis PHP SDK version to 1.21.3
* Updated WooCommerce tested up to 7.0.0
* Updated WooCommerce Subscriptions tested up to 4.6.0
* Updated WordPress tested up to 6.1.0

= 1.12.7 = 
* Added Pix Transaction Type via Web Payment Form
* Updated Genesis PHP lib to version 1.21.2
* Added Return Redirects config section in emerchantpay Checkout and emerchantpay Direct settings
* Updated failure URL generation

= 1.12.6 = 
* Added Bank Code option in the emerchantpay Checkout payment config used by Online Banking Transaction Type
* Tested up to Wordpress 6.0

= 1.12.5 =
* Updated Genesis PHP SDK library to version 1.20.1
* Added new transaction type Apple Pay via Web Payment Form with support of its methods:
  * Authorize
  * Sale

= 1.12.4 =
* Updated Genesis PHP SDK library to version 1.20.0
* Added new transaction type Pay Pal via Web Payment Form with support of its methods:
  * Authorize
  * Sale
  * Express
* Updated Google Pay transaction type via Web Payment Form with the latest requirements from the payment gateway

= 1.12.3 =
* Updated Genesis PHP SDK library to version 1.19.2
* Updated Card.js library used by Direct Method
* Executed successful tests via WordPress 5.9
* Executed successful tests via WooCommerce 6.1.1
* Executed successful tests via WooCommerce Subscriptions 4.0.1
* Added support for Google Pay transaction type via Checkout Method (Web Payment Form)

= 1.12.2 =
* Added **Mixed Checkout** functionality
    * Allowed Order with Subscription and Non-Subscription products
    * Allowed only one type of Subscription product
* Updated WordPress version 5.8 and WooCommerce version 5.6.0 tested up to meta data
* Updated Transction Type list
    * Added Post Finance
    * Removed: Zimpler, Instant Transfer, QIWI, Santander Cash 

= 1.12.1 =
* Added support for **Zero Amount** of Init Recurring Sale/3D Payment - affects WooCommerce Subscriptions and allows Order creation without any payment till the end of the Free Trial period
* Updated Genesis PHP LIbrary to version 1.19.1
* Improved Recurring Payment flow - the initial transaction now has the amount shown in the Order Total
* Confirmed compatibility with WordPress 5.8 and WooCommerce 5.5.1
* Fixed Transaction Tree inside the Order view
* Fixed and applied improvements of minor issues in the code

= 1.12.0 =
* Added support for PHP 8.0

= 1.11.9 =
* Added Business Attributes support to the gateway request
* Updated the Genesis PHP Library to version 1.18.9
* Added Refund Pending Asynchronous flow support
* Tested on WordPress 5.7 beta 1 with WooCommerce 5.1.0 and no issues were observed
* Fixed the transaction Id generation causing issues with some of the transaction requests

= 1.11.8 =
* Updated the way of generating transaction's ids used in the transactions
* Fixed the validation for SSL used by the Direct Method

= 1.11.7 =
* Added TIMEOUT & VOIDED Notification status handling for the Checkout
* Added support for WooCommerce integrated Refund functionality. The Refund button on the bottom of the items list is visible.
* Added Partial Refunds and Partial Refund E-mail support via the integrated WooCommerce Refund functionalities. The old refund functionalities from the transaction list table remains untouched (refund via the table DOESN'T create WooCommerce Refund events).
* Fixed the Web Payment Form cancellation handling. Order remains Cancelled instead of Failed
* Fixed REFUNDED notification status handling. If partial Refund is initiated the Order remains with Processing status.
* Fixed various issues with the Notification handling
* Fixed deprecated warnings for Checkout and Direct Transactions. No more WooCommerce plug-in below version 2.x is supported

= 1.11.6 =
* Updated supported WooCommerce version up to 4.3.x and WordPress version up to 5.4.x
* Fixed the rendering of the transactions table in the Order view

= 1.11.5 =
* Updated GenesisPHP v1.18.4
    * added new transaction type UPI
* Updated the transaction types support list for emerchantpay Checkout Payment Method

= 1.11.4 =
* Updated GenesisPHP v1.18.3

= 1.11.3 =
* Updated GenesisPHP v1.18.1
* Fixed the notice when the payment fails

= 1.11.2 =
* Updated Web Payment Form **Trustly** transaction type

= 1.11.1 =
Supported WooCommerce 3.8
Added description fields used by WooCommerce plug-in

= 1.11.0 =
* Added transaction types
  * Argencard
  * Aura
  * Baloto
  * Banamex
  * Banco de Occidente
  * Bancomer
  * Boleto
  * Bradesco
  * Cabal
  * Cencosud
  * Efecty
  * Elo
  * Itau
  * Naranja
  * Nativa
  * OXXO
  * Pago Facil
  * RapiPago
  * Redpagos
  * Santander
  * Santander Cash
  * Tarjeta Shopping
* Updated GenesisPHP lib to 1.17.0
* Upped supported versions to WordPress 5.2.2 and WooCommerce 3.7.0

= 1.10.0 =
* Added PPRO direct transaction types
  * Bancontact
  * eps
  * GiroPay
  * iDeal
  * MyBank
  * Qiwi
  * SafetyPay
  * TrustPay
* Updated GenesisPHP lib to 1.15.1
* Upped supported versions to WordPress 5.2 and WooCommerce 3.6.2

= 1.9.3 =
* Updated GenesisPHP lib to 1.14.0
* Improved support for WPF Tokenization
  * Better handling of consumers' IDs

= 1.9.2 =
* Added OnlineBanking transaction type
* Refactored code according to WordPress' code style guidelines

= 1.9.1 =
* Updated GenesisPHP lib to 1.12.0
* Added support for WPF Tokenization

= 1.9.0 =
* Updated GenesisPHP lib to 1.11.0
* Added new transaction types
  * Banco do Brasil
  * BitPay
  * Entercash
  * InstantTransfer
  * Multibanco
  * PayU
  * Zimpler
* Removed deprecated transaction types
  * Citadel
  * PaySec

= 1.8.4 =
* Refactored code to ease future upgrades and maintenance
* Upped supported versions to WordPress 5.0 and WooCommerce 3.5.0

= 1.8.3 =
* Fixed bug with refunds for Alternative Payment Methods
* Fixed bug with incorrectly displayed dates for transactions in admin panel
* Fixed bug when shipping address is not provided
* Fixed visual compatibility issues with WooCommerce 3.4 in admin panel

= 1.8.2 =
* Updated GenesisPHP to 1.10.1
* Add support for Klarna APM discount
* Fixed bug with shipping cost when Klarna APM is used

= 1.8.1 =
* Errors are now being logged with WooCommerce logger
* Fixed issue with refunds of Sale and Sale 3D transactions

= 1.8.0 =
* Rebranding
* Fixed bug with incorrectly displayed dates for transactions in admin panel
* Added missing support for taxes and shipping costs for Klarna payment method

= 1.7.0 =
* Updated GenesisPHP to 1.9.3
* Added Klarna payment method
* Fixed UX issue with order's actions modal

= 1.6.1 =
* Fixed compatibility issues with WooCommerce 2.6
* Improved UX for capture/refund/void in order admin panel

= 1.6.0 =
* Updated GenesisPHP lib to 1.9.0
* Added new Alternative Payment Methods
    * Alipay
    * PaySec
    * WeChat
* Added Gift Cards support
    * TCS
    * Fashioncheque
    * Intersolve
* Added panel in admin order view for transactions management

= 1.5.3 =
* Fixed bug with error messages on admin page when shopping cart is empty in the session

= 1.5.2 =
* Subscription Extensions & fixes
    * Check sign-up fee for Subscription Products (Sign-up Fee required)
    * Cart validations

= 1.5.1 =
* Fix incorrect Billing Address Population for Gateway Request
 
= 1.5.0 =
* Added Support for PHP 7.1 and Remove Support for PHP < 5.5.9
* Update Genesis Client Library to 1.7.0
* Added new Transaction Types
    * Citadel
    * eZeeWallet
    * iDebit
    * INPay
    * InstaDebit
    * P24
    * PayPal Express
    * Mr.Cash
    * MyBank
    * Sepa Direct Debit
    * Trustly
* Added Better Handling of Module Requirements on Admin Page

= 1.4.0 =
* Added Support for Subscriptions

= 1.2.3 =
* Updated APM List
* Updated GenesisPHP library to v1.4.0

= 1.2.2 =
* Initial release.

= 1.3.0 =
* Added Direct (Hosted) Payment Method - Requires SSL to be enabled on the checkout pages
* Additional Module Settings
* Updated GenesisPHP library to v1.4.3

= 1.3.1 =
* Minor Issues have been resolved regarding Admin Backend Transactions (Capture, Refund, Void)
* Fixed minor Issue regarding Direct (Hosted) Payment Method Views 

= 1.3.2 =
* Minor Issues have been resolved regarding Capture Transaction and PHP 5.3 Support
