*** Monek Checkout Changelog ***

2026-08-26 version 4.3.1
* Tested - Compatibility with WordPress 7.1.
* Fixed - Apple Pay (Express Checkout) payments from the Cart block showed "Payment Declined" even though the transaction succeeded, because the Cart block's payment configuration was missing the express verification URL and nonces.
* Fixed - Ensured the correct amount value in minor units is sent for 3DS card authentication when shipping options are updated on the legacy checkout page.

2026-07-30 version 4.3.0
* Added - Support for the classic (non-Blocks) shortcode checkout and the Order Pay page; the embedded Monek card form now renders and completes payments on both. Express Checkout / Apple Pay remains Blocks-only.
* Fixed - Expired or missing payment sessions now show a clear "The session has expired. Please refresh the page and try again.".

2026-07-08 version 4.2.1
* Fixed - Apple Pay orders showed a different payment method in order confirmations, emails, and the admin order screen.

2026-06-26 version 4.2.0
* Security - Enhanced the Express Checkout flow by introducing a verification token returned by the backend, allowing the plugin to validate and update the payment accordingly.
* Fixed - Standard checkout payment validation error when switching shipping options
* Added - The plugin detects which checkout solution is currently active and displays an error message if WooCommerce Blocks Checkout is not enabled.

2026-06-10 version 4.1.2
* Fixed - Block checkout payment surface no longer stays greyed out when switching away from Monek and back; the SDK now destroys and re-mounts into the fresh container.
* Fixed - Embedded card form no longer clipped/half-hidden on mobile; checkout surfaces now scale to the viewport width.
* Added - Teardown API (unmount/unmountExpress) on window.monekCheckout and onCheckoutFail handling so gateway errors surface in the checkout.
* Fixed - Embedded card form no longer clipped/half-hidden on mobile; checkout surfaces now scale to the viewport width.

2026-06-08 version 4.1.1
* Fixed - Deprecated dynamic property assignments for PHP 8.2+ compatibility.
* Fixed - Gateway ID resolution now uses proper PaymentContext getter methods instead of relying on magic property access.
* Security - Added nonce verification to the Apple Pay notice dismissal AJAX handler.
* Security - Payment description output now uses wp_kses_post to prevent stored XSS.
* Security - Webhook endpoint now rejects requests when no signing secret is configured.

2025-12-09 version 4.1.0
* Breaking - Requires WooCommerce Checkout Blocks and retires the legacy shortcode checkout.
* Added - Embedded checkout experience powered by the Monek Checkout SDK with server-side completion and the Payment Confirmed order status.
* Added - Configuration fields for Odin publishable and secret keys plus Apple Pay domain support.
* Added - Optional SVIX webhook endpoint at /wp-json/monek/v1/webhook, including signing secret verification for trusted notifications.

2025-12-09 version 4.0.4
* Fixed - Rollback to a previous version

2025-11-28 version 4.0.2
* Fixed - Update the stable version in Monek-Checkout.php

2025-11-28 version 4.0.2
* Fixed - Update the stable version in Monek-Checkout.php

2025-11-28 version 4.0.1
* Fixed - Monek Merchant Portal URL in readme.txt

2025-10-23 version 4.0.0
* Breaking - Requires WooCommerce Checkout Blocks and retires the legacy shortcode checkout.
* Added - Embedded checkout experience powered by the Monek Checkout SDK with server-side completion and the Payment Confirmed order status.
* Added - Configuration fields for Odin publishable and secret keys plus Apple Pay domain support.
* Added - Optional SVIX webhook endpoint at /wp-json/monek/v1/webhook, including signing secret verification for trusted notifications.

2025-09-12 version 3.3.6
* Added - Support for Checkout Blocks
* Fixed - Known Issue 1

2025-07-04 version 3.3.5
* Fixed - Strip apostrophes from the basket description to prevent issues with the checkout page

2025-06-23 version 3.3.4
* Added - New setting to disable the checkout page basket breakdown
* Added - New order note to show when the order is created

2025-05-27 version 3.3.3
* Fixed - Tax was showing incorrectly for inclusive
* Added - Tax exclusive support for the checkout page

2024-10-18 version 3.3.0
* Added - Consignment Feature to enable the user to add a monek id per product
* Tweak - Plugin settings page layout
* Added - Added new images for directory page
* Added - Hide payment option if monek id not set
* Tweak -  2024-10-23 3.3.1 Tweaked Consignment Feature to add more logging and attatch to different actions
* Update - 2024-11-25 3.3.2 Update the Consignment Feature to rely on tags to add the product MIDS

2024-09-12 version 3.2.2
* Tweak - Updated folder structure to match SVN Repo
* Updated - README.md
* Updated - Readme.txt
* Added - assets for directory
* Added - 3.2.2 tag

2024-09-12 version 3.2.1
* Added - Added some webhook logging to help with debugging
* Fixed - Removed webhook response method check to fix random method not allowed error

2024-09-09 version 3.2.0
* Added - Added a new feature to allow the user to enable GooglePay as a payment method
* Fixed - If no shipping options set, fixed trying to access empty array
* Added - Added FAQ to repo README.md
* Fixed - Made the GB Postcode validation case insensitive. 

2024-08-28 version 3.1.0
* Update - Updated text-domain to match slug. Updated text-domain in all files
* Added - Added additional sanitisations to input fields
* Update - Updated names to use a unique prefix to avoid conflicts with other plugins
* Update - Updated the callback identification check
* Fixed - Prevented direct access to plugin files

2024-08-23 version 3.0.3
* Fixed - MON-936/Fixed-Security-Flags, Sanitized input fields (#13)
* Fixed - MON-936/Fixed-Security-Flags, Changed to use wp_safe_redirect
* Fixed - Mon-936/Fixed-Security-Flags, Changed root folder to match slug monek-checkout
* Update - Updated to use new PHP 7.4 features and updated required PHP version
* Added - Added PHPDoc comments to classes and functions
* Tweak - Extracted some logic into new classes and created new folder structure to uncrowd the root folder
* Tweak - Cleaned up some of the naming conventions

2024-08-14 version 3.0.2
* Fixed - SAM-4678/Trim-Basket-Descriptions (#12)

2024-07-23 version 3.0.1
* Tweak - MON-708/Add-Nonce-Tokens (#11)

2024-07-16 version 3.0.0
* Feature - Mon 708/New-Checkout-Page (#9)
* Remove - Remove deprecated methods (#10)
* Update - Change plugin name
* Added - readme.txt file
* Added - reference to license

2024-06-18 version 2.0.1
* Update - Randomise integrity secret

2024-06-18 version 2.0.0
* Feature - New security protocol
* Removed - Removed transaction response echo
* Added - Validate integrity digest from webhook response

2024-02-14 version 1.1.0
* Added - Create country drop down
* Updated - Alter passed fields
* Updated - Basic code refactor

2024-02-05 v1.0.0
* Feature Initial release