=== WooCommerce Windcave Payment Gateway ===
Contributors: Windcave
Tags: credit card, windcave, payment request, gateway, woocommerce
Requires at least: 5.8
Tested up to: 6.9.4
Stable tag: 1.1.14
MySQL: 5.6 or greater
WC requires at least: 7.0.1
WC tested up to:     10.6.1
Requires PHP:        7.2
Recommended PHP:     8.2+
PHP tested up to:    8.5
License: Windcave Public License
License URI: https://www.windcave.com/public-license


This is the official Windcave payment plugin for WooCommerce by Windcave. 

== Description ==

This is the official Windcave payment plugin for WooCommerce by Windcave.

The Windcave extension for WooCommerce provides a fully PCI-compliant payment solution that will redirect customers to a Windcave Hosted Payment Page that supports multiple payment types including Credit Cards, Debit Cards, Bank Payments (ACH, Interac, Account2Account) and Alternative payments (Alipay, WeChat Pay, Humm). The extension has full support for tokenization and rebilling of repeat customers to enhance your customer's shopping experience. It also supports the processing of Completions and Refunds via the WooCommerce order management screen.

= Key Features =

* Fully hosted payment page (PCI - SAQ-A compliant) 
* In-built SSL cert using the latest TLS 1.2 technology on fully hosted solution.
* All major card schemes supported - Visa/Mastercard/UnionPay/Amex/Diners/Discover/JCB
* Integrated completion and refunds via WooCommerce admin portal.
* Additional Payment methods supported include Account2Account, UnionPay, Visa Checkout, Interac, PayPal, Alipay, WeChat Pay, Humm, Apple Pay on the web and Google Pay.
* Optional security measures including 3DSecure, AVS, Risk Management velocity rules and Captcha for security of your payments.
* Token creation with seamless rebilling at checkout - requires cvc for authentication.
* Support of Subscriptions

== Installation ==

= Manual Installation = 
You can manually install or update the plugin by downloading the plugin file and uploading it to your webserver. Please check WordPress codex for [instructions](https://wordpress.org/support/article/managing-plugins/)   

== Support ==

For integration query’s and troubleshooting of pre-live account please contact devsupport@windcave.com
For support of an active gateway please contact support@windcave.com
Alternatively you can call us at one of our global offices on any of the local numbers listed on our website contact page at https://www.windcave.com/contact.

== Changelog ==
= 1.1.14 - 2026-09-09 =
* Fix: WooCommerce Subscriptions - update of subscription payment method displayed 'There has been a critical error on this website' 
* Fix: WooCommerce Subscriptions - checkout failed for a subscription with a free trial when Level 2/3 data is enabled
* Fix: Level 2/3 line item data - tax inclusive flag was incorrect for prices that do not divide exactly
* Fix: WooCommerce Subscriptions - a subscription with a free trial was left pending after a successful signup

= 1.1.13 - 2026-03-18 =
* Fix: Unable to retry payment after cancel
* Fix: Stale session reuse on failed orders
* Improvement: provide fallback for block checkout page without Store Notices block
* Improvement: minor code refactoring for compatibility
* Tested up to PHP 8.5

= 1.1.12 - 2025-05-16 =
* Fix: Update CSS to limit card logo image size in checkout.
* Fix: Change error message displayed if customer cancels submitting payment details.

= 1.1.11 - 2025-03-10 =
* Fix: In some cases, payment was applied to the wrong order.
* Fix: Customer not able to change subscription payment method.
* Fix: Truncated log message.
* Fix: L2/L3 line item data error: invalid amount.
* Improvement: Update enable saving cards logic.
* Tested up to PHP 8.3 

= 1.1.10 - 2024-07-04 =
* Fix: Orders are being mixed up when multiple orders are created in succession.
* Fix: Remove html character entities in debug log.
* Add Level 2 / Level 3 fields

= 1.1.9 - 2023-12-01 =
* Add WooCommerce Checkout Block and Cart Block compatibility
* Fix: Minor code improvements
 
= 1.1.8.1 - 2023-10-12 =
* Fix exception error if card update fails
* Improve debug logging messages
* Fix an 'ERROR: Too many orders retrieved' issue with Subscriptions renewal

= 1.1.8 - 2023-09-14 =
* Fix issue with Subscription renewals failing with "Billing Token not found"

= 1.1.7 - 2023-08-22 =
* Add WooCommerce HPOS compatibility
* Fix PHP 8.1 related warning messages
* Fix WooCommerce Subscriptions subscription change payment method
* Update links in wp-admin plugin list

= 1.1.6 - 2022-09-05 =
* Fix payment failure when some of billing/shipping fields are not provided

= 1.1.5 - 2022-03-15 =
* Fix issue with payment methods in the settings to allow empty list
* Allow to set default payment method to use.
* Allow merchant to retrieve order session in the case of abnormal termination of transaction.
* Truncate customer information based on internal API specification
* Replace country name to country code during create session request.

= 1.1.4 - 2021-08-16 =
* Add payment icons displayed next to the payment method
* Rename Oxipay into Humm
* Fix the subscription payment allowing single payment to go through.
* Fix the issue with payment method description being missing in some cases
* Fix the issue with saved cards not getting expiry date updated after updating it on rebilling
* Fix the issue with error "Payment has been finished already" being displayed in some cases without actually going through the payment process when attempting to renew the subscription.

= 1.1.3 - 2020-11-27 =
* Fix the exception on rebilling transactions

= 1.1.2 - 2020-10-28 =
* Fix the issue with subscriptions payment method change

= 1.1.1 - 2020-08-28 =
* Use order number instead of order ID as a merchant reference in request to Windcave

= 1.1.0 - 2020-07-17 =
* Add support of WooCommerce Subscriptions

= 1.0.3 - 2020-05-05 =
* Fix the bug that was causing problem in unrelated places (like adding Product Category)

= 1.0.2 - 2020-04-16 =
* Add Google Pay as a payment option

= 1.0.1 - 2020-02-27 =
* Fix issue with order failing when shipping address is not provided

= 1.0.0 - 2019-08-09 =
* First version of Windcave WooCommerce payment plugin  
