*** Westpac API Gateway Change Log *** 2026-10-25 - version 1.7.1 * Added License header and readme.txt * Fix PHP 8.4 and 8.5 deprecation notices * Tested up to WooCommerce 11.2 2026-10-25 - version 1.7.0 * Added support for the WooCommerce Cart & Checkout blocks * Declared compatibility with HPOS (High-Performance Order Storage) * Show the bank's error message when a payment fails in the Checkout block * Improved logging - PayWay API library logs now appear in WooCommerce > Status > Logs * Improved security of PayWay certificate storage * Added an admin notice to delete old PayWay API log files from the uploads folder * Fix the PayWay customer reference number and order number sometimes not matching * Fix PHP 8.2 deprecation notices and PHP 8 warnings * Tested up to WordPress 7.1 and WooCommerce 11.1 2026-03-28 - version 1.6.5 * HPOS compatibility - use order meta methods instead of post meta * Fix IP address detection to use WC_Geolocation * Fix external IP lookup to use HTTPS * Fix missing break in payment error handling (case 2 fall-through) * Replace deprecated woocommerce_clean() with wc_clean() 2025-09-25 - version 1.6.4 * Add filters for customer username, password and merchant to allow multiple merchant accounts * Updated gateway API script version * Automatically disable payment gateway if missing required fields, certificate file or SSL * Added sanitization 2023-07-14 - version 1.6.3 * Save transaction ID to standard WC meta when payment complete 2023-02-20 - version 1.6.2 * Add filter for certificate file location 2022-12-08 - version 1.6.1 * Set order to failed status after failure to save card details 2022-09-28 - version 1.6.0 * Added support for Subscriptions Change Payment Method * Set order to failed status after payment failure 2020-05-09 - version 1.5.3 * Bypass saving of customer for test mode 2020-05-07 - version 1.5.2 * Fix for non-subscription payments to save customer reference 2020-04-30 - version 1.5.1 * Fix for non-subscription refunds 2020-04-28 - version 1.5.0 * Added support for refunds * Switch to using the last IP in HTTP_X_FORWARDED_FOR instead of first value 2020-03-31 - version 1.4.1 * Fix for HTTP_X_FORWARDED_FOR containing multiple comma separated IPs 2020-03-09 - version 1.4.0 * Added support for Subscriptions * Added support for IPv6 for order.ipAddress * Fix for Qvalent API class notice due to method name the same as class 2017-08-22 - version 1.3.3 * Fix for file version number 2017-08-16 - version 1.3.2 * Fix for user IP validation 2017-03-13 - version 1.3.1 * Updated cacerts.crt provided by Westpac 2015-09-22 - version 1.3 * Adds support for Mastercards starting with 2 * Errored payments now log to WC logs * Updated from deprecated CC form call * Fix for when visitor IP address is IPv6 (sends blank) 2015-07-29 - version 1.2 * Switched to the WooCommerce Credit Card form * Rewrote validation * API fix for CURLOPT_SSL_VERIFYHOST 2015-02-15 - version 1.1.1 * Fix to use wc_add_notice() rather than $woocommerce->add_error() * Increased the likelihood of the OrderNumber being unique 2014-01-18 - version 1.1 * Added WooCommerce 2.1 compatibility * Fix to crop long orderNumber values * Fix to certificate upload file option * Improved external IP detection 2013-04-25 - version 1.0 * First Release