*** ChatSell Payment Gateway with Moneris for WooCommerce Changelog ***

2026-10-18 - version 1.1.1
* Tweak - Clearer wording about who can use the plugin: Moneris accounts are for Canadian businesses, shoppers' cards can come from anywhere. New FAQ entry.

2026-10-13 - version 1.1.0
* Update - Renamed to ChatSell Payment Gateway with Moneris for WooCommerce; settings, credentials, order data and the payment method id are unchanged.
* Update - Apple Pay, Google Pay, 3-D Secure 2 and saved cards moved to the ChatSell Moneris Gateway Pro add-on (30-day free trial); this plugin ships card payments only.
* Add - Hook points for add-ons: settings fields and sections, checkout script dependencies and parameters, Blocks data, capturable payment methods, pinnable credential fields.
* Tweak - Plugin Check clean-up: translations loaded by WordPress, core sanitizers on inputs, readme limited to five tags and a 150-character summary.

2026-09-11 - version 1.0.0
* Add - Apple Pay at checkout on both classic and Cart/Checkout Blocks, using Moneris Simple Setup (no Apple developer account or certificates). The domain association file is served by the plugin, with a "Check domain file" button and a paste-in replacement setting.
* Add - Google Pay at checkout on both classic and Cart/Checkout Blocks. Google encrypts the card for Moneris as a participating gateway, identified by the Merchant Resource Center store ID; nothing is uploaded to your server.
* Add - Wallet payments are checked against the amount the shopper approved: the issued figure, the amount the sheet displayed and the order total must agree to the cent, and each issued figure can only be spent once.
* Add - Apple Pay merchant validation presents the preload ticket Moneris requires, minted on your server with the per-environment Merchant Resource Center API Token setting (pinnable via wp-config constants).
* Add - Card brand icons (Visa, Mastercard, American Express, Discover, Diners Club, JCB, UnionPay) beside the payment method, with a Card Icons setting to choose which appear.
* Add - Settings screen split into cards (Connection, Card payments, Apple Pay, Google Pay, Advanced) with a status console showing what will appear at checkout and what is still missing.
* Add - Settings that do not apply are hidden; credentials use a monospaced face, secrets can be revealed, and the Apple Pay verification URL has a copy button.
* Add - Google Pay declares the payment as authenticated only for device-bound cards that return an issuer cryptogram.
* Tweak - Checkout shows a spinner and caption while tokenizing, running 3-D Secure and placing the order, independent of the theme's overlay.
* Tweak - The 3-D Secure challenge window shows progress text while the issuer's page loads and after the shopper submits their code.
* Tweak - Classic checkout keeps the Apple Pay and Google Pay buttons behind field and total gates until the server confirms the order total.
* Fix - Apple Pay completes its session with the real WooCommerce charge result instead of reporting success as soon as Apple returns a token.
* Fix - Apple Pay opens on the current order total after a shipping or coupon change on classic checkout.
* Fix - Apple Pay is no longer offered on the unsupported pay-for-order form.
* Fix - A late reply from the Moneris merchant-validation SDK after the shopper closed the sheet no longer logs a console error.
* Update - Tested with WooCommerce 11.1 and WordPress 7.1. Declares HPOS and Cart/Checkout Blocks compatibility.

2026-07-27 - version 0.4.0
* Add - 3-D Secure 2 (EMV 3DS) authentication at checkout with frictionless and challenge flows on both classic and Blocks checkout.
* Add - "If 3-D Secure fails" policy setting: block the payment (default) or proceed without 3-D Secure protection.
* Add - Authenticated payments carry the 3DS cryptogram to Moneris and record the authentication ID and indicator on the order.

2026-07-22 - version 0.3.2
* Fix - The card form could stay hidden on checkouts with a pre-filled address (logged-in customers); it is now re-checked after load and AJAX refreshes.

2026-07-22 - version 0.3.1
* Fix - The card form could stay hidden on some classic checkouts; it now shows by default and only hides while required fields are incomplete.

2026-07-22 - version 0.3.0
* Add - Defer the card form on classic checkout until the required contact, billing and shipping fields are complete.
* Tweak - Card UI polish: card-style container, clearer field styling, a secure-payment note and friendlier error styling.

2026-07-22 - version 0.2.3
* Tweak - Log the hosted-tokenization response code to the browser console when a card fails to tokenize (no card data is logged).

2026-07-22 - version 0.2.2
* Tweak - Settings show only the credential fields for the selected environment and authentication method.

2026-07-22 - version 0.2.1
* Add - Shoppers see a specific decline reason mapped from the Moneris response code; the raw reason stays on the order note for staff.

2026-07-22 - version 0.2.0
* Add - WooCommerce Cart/Checkout Blocks support (hosted iframe, saved cards, save-card option).
* Add - OAuth2 client-credentials authentication as an alternative to the static API key.
* Add - Credentials can be pinned via wp-config.php constants; setting fields lock when defined.
* Add - Translation template (.pot) and readme.

2026-07-22 - version 0.1.1
* Fix - A silent tokenization stall when the checkout refreshed mid-tokenize.

2026-07-21 - version 0.1.0
* Add - Initial release: hosted tokenization, purchase/authorize, capture/void, refunds, saved cards, classic checkout.
