=== Verifone eCommerce for WooCommerce ===
Contributors: verifonefinland1
Donate link: https://www.verifonewebpay.fi/
Tags: verifone, webpay, bluecommerce, payments, payment gateway, woocommerce, maksutapa, maksutavat, verkkomaksu, verkkomaksut, verkkopankki, luottokortti, mobiilimaksu, mobilepay
Stable tag: 2.2.2
Tested up to: 7.0
License: GPLv2 or later

Verifone eCommerce offers secure, flexible, and easy-to-use payment methods for WooCommerce, supporting businesses in local and global markets.

== Description ==

[Verifone eCommerce](https://www.verifonewebpay.fi/) is a domestic online payment service built on Verifone’s strong expertise in payment solutions. Designed for businesses of all sizes from small online shops to large retail chains it allows you to manage both online and in-store payments within a single system.

With Verifone’s online payment service you can offer card payments, mobile wallets, and invoice & installment options to Finnish consumers and businesses under a single agreement. We continuously develop the service and ensure compatibility with the latest WordPress and WooCommerce versions.

### Wide Range of Payment Methods:

* **Bank Payments** – The most commonly used bank payment options, including Nordea, OP, Danske Bank, S-Pankki, Aktia, Oma Säästöpankki, and many others. A full list is available on our [website](https://www.verifonewebpay.fi/verifone-verkkomaksut/maksutavat/).
* **Card Payments** – Visa, MasterCard, Eurocard (AirPlus), American Express, Diners Club, and PayPal.
* **Mobile Payments** – MobilePay, Apple Pay and Siirto.
* **Invoice & Installment Options** – OP Invoice.

### Key Features:

* **Reliability & Performance** – Trusted by businesses that rely on high operational stability.
* **Fastest Settlement Time on the Market** – Funds are transferred quickly and transparently to your account.
* **Mobile-Optimized Payment Pages** – Fully functional on all mobile devices, helping improve conversions and reduce abandoned carts.
* **Local Customer Support** – Fast and professional assistance via phone and email.
* **Easy Setup** – Quick installation through the WooCommerce plugin for smooth onboarding.
* **Reporting & Monitoring** – Access a dedicated reporting tool that provides a clear overview of your payment flows across both online and physical sales channels.
* **Security** – Verifone is a financial institution supervised by the Financial Supervisory Authority, and all payment services comply with PCI requirements.
* **Unified Payment Management** – Seamless coordination of in-store and online payments from one platform.

To use the service, you’ll need an active Verifone eCommerce agreement. If you don’t have one yet, our website provides contact details and a request form to help you get started.

For the payment gateway to function, order and customer details are transmitted to Verifone’s servers when the Verifone eCommerce payment method is used at checkout. You can find more information about our data handling practices on our website.

== Installation ==

1. Go to Plugins → Add New in your WordPress dashboard.
2. Search for "Verifone eCommerce for WooCommerce" or click Upload Plugin to upload the ZIP file.
3. Click Install Now, then activate the plugin.
4. Go to WooCommerce → Settings → Payments.
5. Enable "Verifone eCommerce" and click Manage to configure the settings.

== Screenshots ==

1. Payment options at checkout. Appearance can be easily altered with custom CSS.
2. Enable "VVerifone eCommerce" in the Payments tab in WooCommerce.
3. Settings screen.

== Changelog ==

= 2.2.2 =

Release date: 2026-06-30

### Changed
- Updated Siirto logo to new brand

### Fixed
- When negative total amount excluding tax fix is applied, do not send products as that can cause validation errors

= 2.2.1 =

Release date: 2026-06-15

### Fixed
- Apply net amount fix for all orders if conditions are met

= 2.2.0 =

Release date: 2026-05-26

### Added
- Support for Multisite installations that have multiple WooCommerce stores. New databse table is introduced, and will be created on first dashboard visit. Class WC_Verifone_Multisite takes care of the support.
- Support for multilingual WooCommerce stores built with Polylang and WPML. New payment page language setting option "Automatic" is added and will be used as default for new installations. When language is set to automatic, shop's current language will be used.
- Order action to display and copy debug information about specific order, that can be sent to support

### Changed
- Shortened payment node availability check timeout and set each node to be checked twice
- Send WooCommerce version on software field and plugin version on software version -field for payment service

### Fixed
- If all payment nodes are unavailable, redirect customer back to checkout instead of getting stuck on a white page
- Error message when payment methods update fails on plugin settings
- PHP 8.2 compatibility

= 2.1.3 =

Release date: 2026-01-13

### Changed
- Order status check cron action event name
- Disabled payment node availability when using test environment

### Fixed
- Order status check logic for delayed payments where customer has not returned to the store

= 2.1.2 =

Release date: 2025-12-05

### Changed
- Replaced sanitization function with WordPress core native ones

### Fixed
- Customer email sanitization resulting in invalid emails when address has "-"

= 2.1.1 =

Release date: 2025-12-02

### Added
- Delayed success URL to site health info

### Changed
- New payment process page layouts! If you haven't overriden the default style code, new modern looking payment pages will be used.
	- If you wish to use old layouts, use `default` as the style code - but be aware that support for those will end at some point.

= 2.1.0 =

Release date: 2025-11-13

### Added
- Support for [WooCommerce Subscriptions](https://woocommerce.com/products/woocommerce-subscriptions/) -plugin
- Better onbording for new users

### Changed
- BlueCommerce is now Verifone eCommerce
- Improved payment page availability checks
- Improved Site Health information

### Fixed
- Declare HPOS support even if old version of the plugin is still active
- Improved payment request return validation
- Minor best practive -improvements

= 2.0.2 =

Release date: 2025-10-07

### Changed
* Check payment gateway availability based on payment methods available instead of server communications
* On dashboard warn only about enabled test mode, not server communications anymore
* Add cache to Health Check server communications test

= 2.0.1 =

Release date: 2025-09-30

#### Fixed
* On new installations there were no payment methods selected resulting in fatal errors
* Added demo merchant code back

= 2.0.0 =

Release date: 2025-09-02

Major release as plugin name, slug and delivery method are changed. From this version onwards, plugin will be distributed via WordPress.org plugin repository.

Functionalities of this new version will not be used if there's earlier versions of the plugin installed.

#### Added
- Debugging information to Site Health
- Visible notices to dashboard in case of configuration errors
- Automatic update of available payment methods daily
- Automatic communications key generation on plugin activation if keys don't exists already
- IP allowlist message to payment service redirect when using test environment
- Method to reset all plugin settings

#### Changed
- Plugin slug, affects also translations
- Complete overhaul of settings page, making it more clear and separating advanced settings
- Payment logos as an default method of presentation in new installations
- Updated list of payment methods

#### Fixed
- Edge cases where orders with gift cards are not accepted by payment service
- Payment method loading to be executed correctly in order to have full compatibility with translations and other gateway plugins
- Configuration summary modal styles on smaller viewports

#### Removed
- Unnecessary admin ajax endpoints

= 1.5.1 =

Release date: 2025-08-22

#### Added
- OP Lasku payment method

= 1.5.0 =

Release date: 2024-12-04

#### Added
- Payment method logo selector
- Apple Pay support
- Functionality to show plugin new version notice
- Filters to activate depracated payment methods

#### Changed
- Cleaner settings page
- Method of ensuring that payment methods are in order legislation requires
- Updated payment method names and logos to latest versions
- Separated payment methods to own lists and depracated old methods
- Way of storing notices, as the previous method caused issues with caches

#### Fixed
- Translatable strings loading too early causing issues on WP 6.7, see core #44937

= 1.4.0 =

Release date: 2024-08-06

#### Added
- Filter for demo server urls

#### Changed
- Verifone logo used on checkout to reflect the new brand

#### Fixed
- Support for decimal values in tax

= 1.3.16 =

Release date: 2024-03-05

#### Added
- Added Woocommerce cart and checkout blocks support

= 1.3.15 =

Release date: 2024-02-22

#### Changed
- Added Woocommerce HPOS compability declaration
- Payment methods are now saved in order of debit only, credit/debit, credit only per regulation
- For existing installations, 'Refresh Payment Methods' again from plugin settings to re-order

= 1.3.14 =

Release date: 2023-06-06

- Updated AfterPay payment method to use the new Riverty branding

= 1.3.13 =

Release date: 2023-04-20

#### Fixed
- Changed empty value '-' to use more API appropriate '?' to indicate anonymous/unavailable data

= 1.3.12 =

Release date: 2021-10-05

#### Changed
- Rename GuzzleHttp to GuzzleHttp6

#### Fixed
- Compatibility with modules using other versions of GuzzleHttp

= 1.3.11 =

Release date: 2021-08-20

#### Added
- Possibility for set payment note in the checkout

#### Changed
- Payment methods name
- Set '-' instead of empty value for customer data to avoid exception

#### Fixed
- Added missing translations
- Fixes related to PHP 8.0 support
- Issue when correctly paid order is mark first as paid and after some time as unpaid

= 1.3.10 =

Release date: 2021-05-24

#### Changed
- Tested versions for WordPress: 5.7.1, WooCommerce: 5.3.0, PHP: 7.4.16
- Add All in One payment method available always

#### Fixed
- Issue with the session_start() reported by Health Check tool
- Issue with dividing by zero when product has zero price
- Issue with Custom Order Numbers plugin

= 1.3.9 =

Release date: 2020-12-18

#### Changed
- JQuery: Changed deprecated way of registering handlers for "ready" event. (removed "on('ready') and changed to "$( handler )").

= 1.3.8 =

Release date: 2019-11-12

#### Changed
- Provider page url
- Supported version for WordPress (5.2.4) and WooCommerce (3.8.0)
- Translations in the configuration for Finnish language

= 1.3.7 =

Release date: 2019-11-01

#### Changed
- Updated vendor for Core library - compatibility with PSD/2 regulation
- Add billing address into payment request - PSD/2 regulation

#### Removed
- Possibility to pay with saved credit card by S2S request - PSD/2 regulation

#### Fixed
- Problem with reduce stock when order is cancelled
- Problem with recreate order product with variation

= 1.3.6 =

Release date: 2019-05-11

#### Changed
- Update author name

= 1.3.5 =

Release date: 2019-03-11

#### Changed
- Logic for load vendors - fix problem with conflict with other module(s)
- Update core library
- Translation update

#### Fixed
- Problem with js init in configuration panel, when not loaded fully

= 1.3.4 =

Release date: 2019-01-22

#### Added
- Hide select payment method when just AllInOne is available
- Hide "Remember payment method" when is selected other payment method than a card.
- Logic for prevent against process 2 payment responses at same time.

#### Changed
- Set payment request locale depends on customer language, and if not available then fetch from the configuration
- Hidden selector for payment method when just All In One available
- Small changes in configuration

#### Fixed
- Process payment response just for unpaid orders
- Order create at timestamp in request

= 1.3.3 =

Release date: 2018-11-29

#### Changed
- Move delayed url into summary

= 1.3.2 =

Release day: 2018-11-21

#### Added
- Possibility to configure simple and advanced mode for key handling
- New fields in configuration
- Possibility to generate new keys for test and live

#### Changed
- Summary information about keys
- Logic for fetch keys

= 1.3.1 =

Release date: 2018-10-09

#### Added
- Default payment service live key
- Possibility to display payment logo

#### Changed
- Updated vendor for Http Client wrapper - increase timeout into 20 seconds

#### Fixed
- Problem with rounding order item price and tax for WooCommerce 3.4.5
- Problem with combine basket items for invoice.

= 1.3.0 =

Release date: 2018-10-02

#### Added
- New payment methods: AfterPay (Invoice), MobilePay, MasterPass, Vipps
- New field to configuration: directory for stored keys
- Functionality for generate new security keys
- Possibility to display summary for configuration
- Possibility to display shop public key

#### Changed
- Updated vendor for Core library - functionality for add refund product and generate RSA key
- Add product into refund requests
- Update payment provider name into full name
- Update translations
- Configuration values for shop and payment service keys

#### Fixed
- Increase size of payment method select in admin panel
- Problem with template renderer for foreach function

= 1.2.2 =

Release date: 2018-09-03

#### Changed
- Updated vendor for Core library - change exception message when is problem with server response.

= 1.2.1 =

Release date: 2018-08-29

#### Fixed
- Apply fix for delayed success, earlier code for it was in unreachable if statement.

= 1.2.0 =

Release date: 2018-08-28

#### Added
- This change log file.

#### Changed
- Updated vendor for Core library - fix problem with parse response when flag skip confirmation page is set to false.
