Download the PHP package mediabeastnz/craft-commerce-xero without Composer

On this page you can find all versions of the php package mediabeastnz/craft-commerce-xero. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package craft-commerce-xero

Xero plugin for Craft Commerce 2

ALERT: This plugin has been deprecated in favour of Xero for Craft Commerce 2 & 3 that supports OAuth 2.0.

This plugin is no longer maintained and is for those still using the deprecated OAuth1.0a method of connecting to Xero.

All new issues and pull requests should be created on the new repository.

Overview

NOTE: πŸ‘¨β€πŸ’»This plugin is stable and fine to use in production however it's in active development so expect frequent updates while new features are added until v1.0.0.

This plugin allows you to automatically send Commerce invoices into Xero including contacts, payments and even inventory updates.

You'll need to create a private application within Xero and then connect via OAuth using a consumer key, consumer secret and private (self signed) certificate.

You'll also need a Certificate store which can be downloaded from this repo for ease of use. It's generated from Firefox's own Cert store and updated often. see here

Once connected the plugin allows you to map your Chart of Accounts (Account Codes) including:

By default all fully paid orders will be pushed into the queue (you'll need to ensure you're processing the queue freqeuently) with a delay of 30 seconds (this is reduce the time customers spend waiting for their order to process) and then once the queue has dispatched the job, the invoice will be sent to Xero.

If you need to send existing orders to Cero you can do so by viewing an order and you'll see a "Send to Xero" button which will instantly send the order off to Xero. This button also currently acts as a way to see if an order is already in Xero.

What fields are sent to Xero

Below is a list of fields that is sent to Xero. In future versions hooks/events will be avaialbe if you require more information to be sent.

Contact

Order

Line Items

Shipping adjustments

Payment

Rounding

Due to how different systems calculate rounding if for whatever reason the order total is different to what Xero calculates, an additional line item to account for rounding is added in Xero. Please ensure you have this account code selected under settings.

Multi environment settings

If you require different settings per environment the plugin ships with an example config file xero-config.php which should be copied into your config folder and renamed to xero.php. Once this is in place you r can define all the plugins settings for each environment. Note if this file exists all settings will then be read from this file instead of whats in Craft.

More detailed documentation to coming soon.

Feature requests πŸ™

As this plugin is still in active development now is a good time to suggest new features. Feel free to contact me via email or create a GitHub issue.

Roadmap πŸš€

Installation

Either by the plugin store (search "Xero") or via composer.

"thejoshsmith/craft-commerce-xero": "^0.9.3"

Requirements

This plugin requires Craft CMS 3.1.0 or later and Craft Commerce 2.0 or later.


All versions of craft-commerce-xero with dependencies

PHP Build Version
Package Version
Requires craftcms/cms Version ^3.1.0
calcinai/xero-php Version ^v1.8.6
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mediabeastnz/craft-commerce-xero contains the following files

Loading the files please wait ....