*** Westpac API Gateway Change Log ***

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 