*** Paya Changelog *** 2024.01.18 - version 3.5.2 * Fix failing refunds 2023.12.11 - version 3.5.1 * Fix Undefined property: WC_Gateway_SagePaymentUSA_API_AddOns::$apiendpoint for subscription renewals 2023.11.20 - version 3.5.0 * Support PHP 8.3 * WC 8.3 2023.09.12 - version 3.4.1 * Clean up Authorised Order Action check 2023.09.05 - version 3.4.0 * Support for WooCommerce HPOS * WC 8 * Remove ping test 2023.01.17 - version 3.3.10 * WC 7.3 2022.07.30 - version 3.3.9 * Respect "Save Card" checkbox for Authorise transactions * Update default testing credentials * WC 6.8 2021.09.02 - version 3.3.8 * Remove Blocks reference * PHP 8 fix * Undefined variable fix 2021.07.13 - version 3.3.7 * WC 5.5.0 2021.02.08 - version 3.3.6 * Fix Warning: Illegal string offset 'reference' 2021.01.13 - version 3.3.5 * Improve expiry date cleaning * WC 4.9 2020.10.08 - version 3.3.4 * Remove time check 2020.09.08 - version 3.3.3 * Fix error message typo * 'sslverify' => false removed * WC 4.5 2020.06.01 - version 3.3.2 * Clean up expiry year. * 'sslverify' => false Temp fix while Paya renew an SSL certificate. 2020.05.25 - version 3.3.1 * Clean up card number for getting brand. * Fix Warning: Illegal string offset 'reference' 2020.04.21 - version 3.3.0 * Check Paya API status on checkout and subscription renewals. * Void for unsettled orders. * Fix PreAuth failing. * More order notes for failing subscription payments. * Paya not Sage in settings page. * WC 4.0 * PHP 7.4 fixes * Optionally pre-authorize instead of just creating a token * Better order notes for token payments * Security column, show AVS and CVS result. * Credit card form as a template file. 2019.12.05 - version 3.2.4 * Regex to clean up fields Paya only accepts '^[w'-s.,#/]{0,}$' * Remove legacy Subscription success and fail functions. 2019.10.02 - version 3.2.3 * Add check for timestamp issues in Paya settings * Don't empty the cart for failed payments 2019.09.20 - version 3.2.2 * add check for missing transaction_id when refunding 2019.09.14 - version 3.2.1 * Make sure "PreAuth" can be captured in WC admin * Tidy up CVC number field for token payments 2019.08.29 - version 3.2.0 * WooCommerce 3.7 * Log HMAC, Hash and post headers * Add option to adjust timestamp for HMAC errors (the time on the server is incorrect, this option allows for +/- adjustments to be made as Paya require a timestamp that is within 60 seconds of them receiving the order. * Remove legacy API * Separate refunds class * No refunds after 6 months (Paya rules) 2019.08.07 - version 3.1.8 * Remove methods for Subscriptions before 2.0 * Fix failed subscriptions using wrong order_id * Remove some methods for pre WooCommerce 3.0 2019.08.01 - version 3.1.7 * Force blank town for non-town countries * Empty cart for failed orders 2019.05.17 - version 3.1.6 * Force blank zip code for non-zipcode countries * Convert objects to array for logging 2019.03.13 - version 3.1.5 * Fix token check for renewals 2019.03.08 - version 3.1.4 * update logging 2019.03.08 - version 3.1.3 * Fix add new payment method when changing subscription payment method 2018.02.07 - version 3.1.2 * Fix refunds ($m_id) 2019.01.30 - version 3.1.1 * fix CVV not being sent 2018.12.03 - version 3.1.0 * Fix Change payment method. * Remove excess code. * Add option to fully PreAuth transactions. * Fix payment method display for subscriptions. * Fix PHP errors relating to displaying subscription payment method 2018.11.28 - version 3.0.8 * _sageresult_array to contain all transaction information * Update plugin name 2018.10.06 - version 3.0.7 * Fix missing check for isset($_GET['change_payment_method']) 2018.10.05 - version 3.0.6 * Fix missing zip. * Fix for pre-orders and authorisations 2018.10.02 - version 3.0.5 * Fix charging subscription immediately when payment method is changed. 2018.09.10 - version 3.0.4 * Fix missing logging 2018.08.06 - version 3.0.3 * Fix missing logging * token creation order note * additional check for forcing tokens. 2018.07.31 - version 3.0.2 * Formerly not formally * more logging * Add notice for Legacy API and make sure Version 1 is default. 2018.06.01 - version 3.0.1 * Fix HTTPS check for WC 3.4 * Reset Payment Method Name and Checkout Button Title to Paya 2018.05.30 - version 3.0.0 * Optionally remove token use for Paya * Rename to Paya * Improved decline message * Improve logging and order notes * Fix legacyordernotes check 2018.02.22 - version 2.1.9 * Fix PHP Notice: Array to string conversion 2018.02.19 - version 2.1.8 * Fix for subscription renewals PHP Fatal error: Uncaught Error: Call to private method WC_Gateway_SagePaymentUSA_API::get_order_variables() 2018.02.09 - version 2.1.7 * Version bump 2018.01.02 - version 2.1.6 * Option to force token use * Make sure card info is stored in order notes when using tokens. * Always use tokens for Authorizations * New function get_order_variables 2017.11.29 - version 2.1.5 * Add option for legacy notes for backwards compatibility 2017.11.20 - version 2.1.4 * Version bump 2017.11.15 - version 2.1.3 * Improve card type detection * Improve logging * Improve order notes, especially for failed transactions. * Clean up phone numbers * Make Sage transaction information available in admin email 2017.09.06 - version 2.1.2 * Add $order to filters to make it easier to filter data sent to Sage * use $order->get_order_number() instead on $order_id in data sent to Sage * version check headers * update link to test cards 2017.08.17 - version 2.1.1 * Update Woo Plugin Header * Add card type to order notes 2017.07.03 - version 2.1.0 * Capture Authorised Payments from WC admin 2017.06.19 - version 2.0.2 * Fix Auth/Sale 2017.06.05 - version 2.0.1 * Set Live/Testing URLS 2017.05.24 - version 2.0.0 * More Sage Direct API features * Support for Subscriptions * Support for Pre-Orders * Support for Tokens * Set Production and Testing API details as per Sage requirements * Make default API Version 1 (Direct API) 2017.03.27 - version 1.1.0 * WC version 3.0 compatibility * Basic Sage Direct API for payments and refunds (see docs for setup instructions) 2017.01.25 - version 1.0.12 * Force expiry year to 2 characters 2016.05.26 - version 1.0.11 * Fix - refund T_CODE * Enhancement - Add shipping address and other fields * Enhancement - Add filter for transaction fields - woocommerce_sagepaymentsapi_data * Enhancement - Add refund reference to order notes. 2016.05.09 - version 1.0.10 * Fix - Unencode other fields 2016.04.18 - version 1.0.9 * Fix - Unencode email addresses 2016.03.03 - version 1.0.8 * WC Updates * BIN List Check * Improve logging * Declare refunds support 2015.03.12 - version 1.0.7 * removes deprecated function 2015.02.15 - version 1.0.6 * updates for WooCommerce 2.3 * pay now button text * Fix HTTPS error 2014.02.13 - version 1.0.5 * Add debugging options * fix expiry date error in some cases 2014.02.09 - version 1.0.4 * Include payment form scripts 2014.01.27 - version 1.0.3 * translation updates 2014.01.18 - version 1.0.2 * WooCommerce 2.1 support 2013.05.14 - version 1.0.1 * Set the state as the city if no state supplied 2013.05.14 - version 1.0.0 * First Release