The latest version is WooCommerce Xero Gateway 1.9.1, Released on November 4, 2024
Changelog for WooCommerce Xero Gateway
*** Xero Integration ***
2024-10-14 - version 1.9.0
* Fix - Use a separate country list for the report tax type when creating a tax rate in Xero.
* Dev - Update secret key encryption to use the Sodium library for token encryption.
* Dev - Upgrade the `xeroapi/xero-php-oauth2` SDK from version 2.20.0 to version 7.2.0.
* Dev - Bump WooCommerce "tested up to" version 9.4.
* Dev - Bump WooCommerce minimum supported version to 9.2.
* Dev - Bump WordPress minimum supported version to 6.5.
* Dev - Remove Xero OAuth 1.0 Authentication as it is fully deprecated.
2024-08-19 - version 1.8.9
* Fix - PHPCompatibility errors reported by the QIT test.
* Dev - Bump WooCommerce "tested up to" version 9.2.
* Dev - Bump WooCommerce minimum supported version to 9.0.
* Dev - Fix QIT E2E tests and add support for a few new test types.
2024-07-22 - version 1.8.8
* Dev - Bump WooCommerce "tested up to" version 9.1.
* Dev - Bump WooCommerce minimum supported version to 8.9.
* Dev - Bump WordPress "tested up to" version 6.6.
* Dev - Exclude the Woo Comment Hook `@since` sniff.
2024-07-01 - version 1.8.7
* Dev - Bump WooCommerce "tested up to" version 9.0.
* Dev - Bump WooCommerce minimum supported version to 8.8.
* Dev - Bump WordPress minimum supported version to 6.4.
* Dev - Update NPM packages and node version to v20 to modernize developer experience.
2024-05-20 - version 1.8.6
* Dev - Bump WooCommerce "tested up to" version 8.9.
* Dev - Bump WooCommerce minimum supported version to 8.7.
* Update - Link to the WooCommerce log section instead of to the local file path.
2024-03-25 - version 1.8.5
* Add - Filters to adjust supported countries for Report Tax Type.
* Add - Support for US, South Africa, and Malta as Report Tax Type.
* Add - Declare Product Editor compatibility.
* Dev - Bump WooCommerce "tested up to" version 8.7.
* Dev - Bump WooCommerce minimum supported version to 8.5
* Dev - Bump WordPress "tested up to" version 6.5.
2024-01-22 - version 1.8.4
* Add - Masked the client ID and client secret fields to add an extra layer of confidentiality and protection.
* Dev - Bump WooCommerce "tested up to" version 8.5.
* Dev - Bump WooCommerce minimum supported version to 8.3.
* Dev - Bump WordPress minimum supported version to 6.3.
2024-01-08 - version 1.8.3
* Add - Indicate compatibility with WooPayments extension.
* Add - Indicate compatibility with WooCommerce Blocks.
* Dev - Update PHPCS and PHPCompatibility GitHub Actions.
* Dev - Bump WooCommerce "tested up to" version 8.4.
* Dev - Bump WooCommerce minimum supported version to 8.2.
* Dev - Bump PHP minimum supported version to 7.4.
* Fix - Resolved PHP deprecation warnings on `strpos` and `preg_replace`.
* Tweak - Bump PHP "tested up to" version 8.3.
2023-12-11 - version 1.8.2
* Dev - Added critical flows end-to-end tests.
* Dev - Bump Woocommerce Requires at least 8.1.
* Dev - Bump Woocommerce Tested up to version 8.3.
* Dev - Bump WordPress "tested up to" version 6.4.
* Dev - Bump WordPress minimum supported version to 6.2.
* Fix - Ensure that the invoice is sent to Xero "on order creation" when an order is placed through the block-based checkout.
* Fix - Salt rotation issue affecting encrypted keys.
2023-09-18 - version 1.8.1
* Dev - Add Playwright end-to-end tests.
2023-08-28 - version 1.8.0
* Add - Ensure order ID is included in the reference field.
* Dev - Bump PHP minimum supported version from 7.2 to 7.3.
* Dev - Bump WooCommerce "tested up to" version 8.0.
* Dev - Bump WooCommerce minimum supported version from 7.2 to 7.8.
* Dev - Bump WordPress "tested up to" version from 6.2 to 6.3.
* Fix - Tax matches for the same tax rate and the same tax name.
2023-07-18 - version 1.7.58
* Dev - Bump WooCommerce "tested up to" version 7.8.
* Dev - Bump WooCommerce minimum supported version from 6.8 to 7.2.
* Dev - Bump WordPress minimum supported version from 5.8 to 6.1.
* Dev - Resolve coding standards issues.
* Dev - Added new GitHub Workflow to run Quality Insights Toolkit tests.
2023-05-12 - version 1.7.57
* Dev - Bump WooCommerce "tested up to" version 7.6.
* Dev - Bump WordPress "tested up to" version 6.2.
* Dev - Bump WordPress minimum supported version from 5.7 to 5.8.
2023-03-13 - version 1.7.56
* Add - Support for Xero's Ultimate plan.
* Add - Support for caching API requests for 60 seconds.
* Add - Support for queuing API requests to avoid Rate Limit errors.
* Dev - Bump PHP minimum supported version from 7.0 to 7.2.
* Dev - Bump WooCommerce "tested up to" version 7.4.
* Dev - Bump WooCommerce minimum supported version from 6.0 to 6.8.
* Dev - Bump `xeroapi/xero-php-oauth2` from 1.0 to 2.20.
* Dev - Implement `brianhenryie/strauss` v0.13.0 to prefix namespace in `xeroapi/xero-php-oauth2` package.
* Fix - Filter accumulation for sequential Invoice requests.
* Fix - PHP Warnings when sending an invoice to Xero.
2023-01-27 - version 1.7.55
* Dev - Bump `clean-css-cli` from 5.6.1 to 5.6.2.
* Tweak - Bump WooCommerce tested up to 7.3.
* Tweak - Bump tested up to WordPress version 6.1.
* Tweak - Improve SSL certificate verification.
2023-01-17 - version 1.7.54
* Bump tj-actions/changed-files from 34 to 35.
* Dev - Bump `codedungeon/phpunit-result-printer` from 0.5.0 to 0.9.3.
* Dev - Bump `node-sass` from 7.0.3 to 8.0.0.
* Dev - Bump `node-wp-i18n` from 1.2.6 to 1.2.7.
* Dev - Bump `phpunit/phpunit` from 6.5.9 to 6.5.14.
* Tweak - Add links to extension requirements on the settings page.
2022-12-20 - version 1.7.52
* Bump actions/checkout from 2 to 3.
* Bump actions/upload-artifact from 2 to 3.
* Bump tj-actions/changed-files from 19 to 34.
* Fix - Validate store supports SSL before loading plugin features.
* Tweak - WC 7.2.1 compatibility.
* Update - Plugin minimum WordPress dependency update to `5.7`.
2022-11-23 - version 1.7.51
* Add - Declare compatibility for High-performance Order Systems ("HPOS").
* Add - Option to enable/disable use of customer email in the contact name.
* Change - Ensure tokens are encrypted before we store them.
2022-11-01 - version 1.7.50
* Add - Support for Subscriptions with WooCommerce Payments.
2022-10-11 - version 1.7.49
* Fix - Ensure prices and discounts use the same precision value, to avoid Xero errors where the discount is more than the total price.
* Tweak - For variable products, remove item meta from the item description when sending to Xero.
2022-09-20 - version 1.7.48
* Fix - Switched direct postmeta calls to CRUD calls to prepare for COT.
2022-09-13 - version 1.7.47
* Fix - Authentication failed notice when fetching Branding Themes.
* Fix - Ensure shipping tax rates are assigned correctly in the Xero invoice.
2022-08-24 - version 1.7.46
* Add - A new setting to select a Xero Branded Theme template to attach with invoices is introduced.
* Fix - Localization to use 'woocommerce-xero'.
* Fix - Zero tax rate labels not matching issue.
* Tweak - Bump WC tested up to version to 6.7.
* Tweak - Bump minimum PHP version to 7.0.
* Tweak - Bump minimum WC version to 6.0.
* Tweak - Bump minimum WP version to 5.6.
* Tweak - WC 6.8.0 compatibility.
2022-08-23 - version 1.7.45
* Create generate-zip.yml.
* Notice added for **Sales**, **Shipping**, **Fees**, **Payment** and **Rounding** account number input if saved as empty.
* Tweak - WC 6.8.0 compatibility.
2022-08-12 - version 1.7.44
* Added - Support for sending invoice prices inclusive of tax.
* Enter a summary of all changes on this Pull Request. This will appear in the changelog if accepted.
* Fixed: Compatibility issues of Subscription renewal order with Sequential Order Numbers Pro.
* Tweak - Improved error detection for response code 401, 403 and 429.
2022-07-06 - version 1.7.43
* Add - Setting to allow control how fees tax types are handled.
* Fix - Australia tax rates for GST Free Expences matching zero-tax-rate fees.
* Fix - Contact information is overwritten issue by adding an email address in the contact name.
* Fix - Payments not created automatically when orders are paid with Check.
* Fix - Tweak: Removed Unneeded GDPR item.
* Tweak - Bump tested up to WordPress version 6.0.
2022-05-05 - version 1.7.42
* Fix - Tweak: Clarified fees account code and added link to the docs.
* Tweak - Send payment method title as Reference to Xero instead of payment method ID.
2022-02-17 - version 1.7.41
* Fix - Enable translations for Xero.
* Fix - Typo on Xero settings page. .
* Tweak - WC 6.2 compatibility.
* Tweak - WP 5.9 compatibility.
2021-10-20 - version 1.7.40
* Tweak - WC 5.8 compatibility.
* Tweak - WP 5.8 compatibility.
2021-10-04 - version 1.7.39
* Fix - Allow spaces in paths when prefixing vendor namespaces.
* Fix - Ensure the MOSS Sales tax type is matched correctly for shops that use it.
* Fix - Fix: Xero line item discount amount.
* Fix - Set discount amount instead of discount rate to prevent order total mismatch between WooCommerce and Xero.
* Fix - add unique namespace to the Guzzle library to avoid conflicts.
* Tweak - WC 5.7 compatibility.
2021-07-27 - version 1.7.38
* Fix - Add unique namespace to the Guzzle library to avoid conflicts.
2021-02-26 - version 1.7.37
* Fix - Fix the check for the presence of new navigation.
* Tweak - WC 5.0 compatibility.
* Tweak - WP 5.6 compatibility.
2021-02-24 - version 1.7.36
* Add - Menu item to the new WC Navigation.
* Tweak - WC 5.0 compatibility.
* Tweak - WP 5.6 compatibility.
2021-01-20 - version 1.7.35
* Fix - Outdated Settings Link.
* Fix - Skip sending automated invoice updates unless there are really changes in the invoice.
* Tweak - WC 4.9 compatibility.
* Tweak - WP 5.6 compatibility.
2020-11-17 - version 1.7.34
* Fix - Dev - Fix incompatibilities with PHP 8.
* Fix - Dev - Fix unit testing infrastructure.
* Tweak - WC 4.7 compatibility.
2020-08-19 - version 1.7.33
* Tweak - WordPress 5.5 compatibility.
2020-06-23 - version 1.7.32
* Add - Filter order line items with the filter `woocommerce_xero_line_item_product`.
* Tweak - Match closest name when finding tax rates.
2020-06-10 - version 1.7.31
* Tweak - WC 4.2 compatibility.
2020-05-12 - version 1.7.30
* Fix - Matching non-shipping line items with INPUT tax types.
* Tweak - WC 4.1 compatibility.
2020-04-21 - version 1.7.29
* Fix - Shipping line item tax rate returning empty.
* Tweak - Add warning to Debug checkbox regarding personal data.
2020-04-08 - version 1.7.28
* Add - Apply the VAT/Tax Number from order to the linked Xero contact.
* Add - Filter woocommerce_xero_contact_tax_number for VAT/Tax Number assigned to contact.
* Add - Filter woocommerce_xero_vat_number_meta_key for VAT/Tax Number meta lookup.
* Fix - Error sending payment when order contained discounts due to a rounding error.
* Fix - Use billing address to calculate tax for orders with virtual items.
* Tweak - Send 'NONE' as Tax Type if WooCommerce taxes are disabled.
2020-03-30 - version 1.7.27
* Tweak - Remove legacy code.
2020-03-04 - version 1.7.26
* Add - Filter woocommerce_xero_disable_auto_void_invoices to disable voiding of invoices.
* Tweak - WC 4.0 compatibility.
2020-02-13 - version 1.7.25
* Tweak - Do not use php session for OAuth 2.0 authorization setup.
2020-01-22 - version 1.7.24
* New - OAuth2.0 authorization.
* Tweak - WC 3.9 compatibility.
2019-11-05 - version 1.7.23
* Tweak - WC 3.7 compatibility.
2019-10-30 - version 1.7.22
* Fix - Unable to upload public and private key files in WP multisite.
2019-10-08 - version 1.7.21
* Fix - Prevent fatal errors if line item product has been deleted.
2019-09-03 - version 1.7.20
* New - Automatically void Xero invoices if order is refunded.
* New - Add "woocommerce_xero_use_company_name" filter to override the invoice name.
* Tweak - Allow float line item quantity values.
* Tweak - Avoid sending a payment request if order amount is zero.
2019-08-08 - version 1.7.19
* Tweak - WC 3.7 compatibility.
2019-08-01 - version 1.7.18
* Fix - Fatal errors caused by debug logging.
2019-06-11 - version 1.7.17
* Tweak - WC 3.6 compatibility.
* Fix - Orders with no VAT keep appearing as Zero Rated EC Services on Xero.
2018-11-26 - version 1.7.16
* Fix - Shiping taxes are going into their own Tax class instead of the Main tax class.
* Fix - Base shop location was always being used when tax-inclusive pricing set.
2018-10-29 - version 1.7.15
* Fix - Use better precision for rounding calculation.
* Update - Add invoice resend functionality.
* Update - WC 3.5 compatibility.
2018-08-27 - version 1.7.14
* Fix - Payment ID not being saved in db.
2018-07-31 - version 1.7.13
* Fix - Improved key security.
2018-05-29 - version 1.7.12
* Fix - Check for digital goods in order context and not cart context.
2018-05-22 - version 1.7.11
* Fix - Support for Zero Rated EC Services.
* Update - WC 3.4 compatibility.
* Update - Privacy policy notification.
* Update - Export/erasure hooks added.
2017-12-15 - version 1.7.10
* Fix - Fixed fatal error is thrown when marking an order paid via COD as complete.
* Update - WC tested up to version.
2017-05-19 - version 1.7.9
* Fix - Compatbility with Subscriptions where invoice not sending on renewal orders.
* Fix - Send invoice on order payment completion not working.
* Add - Filter to allow manipulation of the tax label name creation. "woocommerce_xero_create_unique_tax_label"
2017-04-04 - version 1.7.8
* Fix - Additional updates for WooCommerce 3.0 compatibility
2017-03-08 - version 1.7.7
* Fix - Do not include order URLs in invoices sent to Xero when the WordPress site URL includes a custom port
* Fix - Properly handle send invoice and send payment errors when settings are missing
* Fix - Allow shipping line items to reference expense (default) or income account types
2017-02-20 - version 1.7.6
* Fix - Calculate last day of month correctly when sending invoice to Xero
* Fix - Ensure sending invoices on order creation works for order statuses besides processing
* Fix - Fix bug where same due date for new invoices was being reused for 1 month
* New - Cache invoice default payment terms for 1 hour
* New - Calculate due date for each invoice individually using cached payment terms
* Fix - PHP7.1 exception when sending invoices to Xero
* Fix - WooCommerce 3.0 compatibility
* Fix - Retrieve tax rates properly from Xero
* Fix - Instead of overwriting tax rates on Xero with the same name but different rate, create separate rates
* Fix - Use tax type EXEMPTEXPENSES when shipping is tax exempt for an Australian store
* Fix - Instead of generating a discount line item, apply discounts on the line items themselves to avoid tax adjustments
* Fix - Remove the discount account setting since we are applying discounts on the line items themselves
* New - Add payment method to invoice reference field
* Fix - Filter special characters out of description before sending invoice
* New - Add link from Xero invoice view back to order on merchant host
* Fix - Uniquely name new tax rates as rates change (Xero does not allow multiple active rates with the same name)
2016-11-10 - version 1.7.5
* Fix - Australian Dollar based currency stores now send GST Free Income as default tax type
2016-11-02 - version 1.7.4
* Fix - Shop manager role were not able to save the Xero settings.
* New - filter the xml in WC_XR_Invoice::to_xml before it is returned.
* New - Option to send invoice on payment completion.
* Fix - Sending null value when order total is not set.
* Fix - Html special characters not being preserved.
2016-02-09 - version 1.7.3
* Feature - Allow sending invoice upon order creation
* Feature - Add filters to fine-tune xero settings on invoice and payment sending
* Improvement - Store and use latest invoice ID when multiple are sent
2016-02-01 - version 1.7.2
* Feature - New settings option: Send 4 decimal places on unit prices
* Feature - Support for allowing Xero to assign invoice number
* Fix - Rounding error between Xero and WooCommerce's tax calculation
2015-11-12 - version 1.7.1
* Fix - Use order's currency instead of the default store currency (when sending invoice)
2015-11-12 - version 1.7.0
* Feature - Tax Rates/Tax Codes are now created via the API and passed with line items
* Tweak - Xero organisation wide "due date" settings are now respected when creating invoices
* Fix - If email is blank for manual orders, create a new contact instead of using the same entry
* Fix - Use the current date when issuing payments for COD orders
* Fix - Remove sslverify=false now that WordPress bundles certificates
2015-08-16 - version 1.6.10
* Fix - Error in invoice manager.
2015-08-16 - version 1.6.9
* Fix - Error in contact manager.
2015-08-10 - version 1.6.8
* Tweak - If a contact is found in the Xero database with a matching email, its info is updated instead of creating a new contact
* Fix - Only auto send payments when an order is marked as "completed" (per the settings description)
2015-06-01 - version 1.6.7
* Round the order total in cents before parsing from float to int to prevent unexpected int values.
2015-03-04 - version 1.6.6
* Always setting the unit amount with 4DP to fix validation errors on line items.
* Always include unit amount and tax amount to allow creation of non matching tax line items.
2015-02-18 - version 1.6.5
* Only set the unit price if we send inventory and the product is on sale
* Fixed a bug that prevented correct passing of discount.
* Use line_subtotal instead of line_total in line items so discounts can be passed individually.
2015-02-17 - version 1.6.4
* Always set unit price to avoid validation errors when discounts are applied.
* Don't send order with a total of 0 when "Orders with zero total" isn't checked.
* Improved OAuth error detection, improving errors like "String could not be parsed as XML".
* Only send payment if the order total is bigger than 0.
2015-02-16 - version 1.6.3
* Fixed a bug where order with free products caused a ValidationException.
* Fixed a bug where shipping & handling were missing in rounding correction sum.
2015-02-12 - version 1.6.2
* Made the OAuth check less strict resolving the "Request failed due OAuth error: < | <" error.
* Added possibility to prefix invoices.
2015-02-03 - version 1.6.1
* Fixed an OAuth class autoload bug on some case-sensitive servers.
2015-01-28 - version 1.6.0
* Complete rewrite of the plugin which includes:
* Improved request architecture for API calls.
* Added filters for a lot of data that is send to Xero.
* Fixes a bug when products are on sale.
* Fixes rounding errors.
* Fixes for tax errors.
2014-09-17 - version 1.5.0
* WC 2.2 compatibility
* Branding change to WooThemes
2014-06-02 - version 1.4.6
* Fix for sending payments to Xero
2014-05-22 - version 1.4.5
* Fix for ampersands in the Description field
2014-04-04 - version 1.4.4
* Changed <Date> to be the date of the order, not date order is transmitted to Xero
2014-04-03 - version 1.4.3
* Moved <Phones> element to be child of <Contact> element.
2014-02-13 - version 1.4.2
* Fixed XML error 'Input string was not in a correct format.' when Tax is $0
* Moved invoice and payment sending to 'woocommerce_order_status_completed' so that the order is complete before
creating the invoice in Xero. This is so that redirect gateways like PayPal Standard won't create invoices on
orders that are never paid for.
2014-01-27 - version 1.4.1
* Verified compatibility with WooCommerce 2.1
* Updated tax calculation with inclusive tax. <TaxAmount> element is now sent with the <LineAmount>
2014-01-15 - version 1.4.0
* Branding change
* Fixed localization to use 'wc-xero'
* Fixed private/public key indicators turning green when path exists, but no file given.
2013-05-21 - version 1.3.3
* Fix for inclusive tax
* Removed Cart Discounts from being sent with invoice to Xero
2013-05-21 - version 1.3.2
* Fix for "Cannot redeclare wc_ups_plugin_links()"
* Fix for compatibility with Dynamic Pricing
* Fix for rounding amounts to two digits
2013-03-22 - version 1.3.1
* Add check for key files in Xero admin page. Green - file found. Red - file not found.
* Removed unused "Sales Tax Account" from settings.
* Fix for "PHP Warning: Illegal string offset" in Order Edit page in the admin.
* Fix for "A validation exception occurred Detail: One or more line items must be specified" in WC 2.x
* Fix for inclusive tax line amount
* Fix for ampersand (&) in billing and shipping information fields
2013-02-12 - version 1.3.0
* Verified compatibility with WooCommerce 2.0
* Added setting to be able to turn off SKU (Inventory Items) from being sent in invoices
* Added ability to manually send invoices and payments from Edit Order page
* Fixed <Date> and <DueDate> fields to use current H:M:S to prevent OAuth error
* Fixed issue with VAT
2013-01-07 - version 1.2.1
* Added support for Sequential Order Numbers Pro
2012-12-10 - version 1.2
* Fix for qty calculation for tax included and tax excluded. Also, fix for validation errors.
* Added SKU field to be used as <ItemCode> for reduction of inventory in Xero.
* Added <CurrencyRate> to Payment XML to support WC stores using different currency from Xero account currency.
2012-12-04 - version 1.1.1
* New updater
2012-09-28 - version 1.1
* Added checkbox to enable/disable sending payments to Xero. Payments may need to be turned of if they are synced via a separate integration such as PayPal.
2012-07-26 - version 1.0
* Initial Release
Get WooCommerce Xero Gateway Version 1.9.0 with 12 months of updates for just $10!
Already a WPspring Club Member?
WooCommerce Xero Gateway Version 1.9.0 Released on October 14, 2024, is available from your account downloads page. Sign up at wpspri.ng/club