*** SagePay USA Changelog ***

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