Spree Commerce With Xero
This is a simple demonstration using Spree Commerce 3 tied with Xero to generate an invoice after a successful order from your storefront.
How it works
This application acts as a "mini bookeeper". Once you've made an order from your Spree storefront, it creates an invoice for that customer then marks that invoice paid in your online Xero account.
Before creating an invoice, it checks your Xero account to see whether or not that customer is already in your Xero account then uses their details for the generated invoice. If not, it creates a new contact/customer for you.
This application is configured for a private application only. Therefore you will need your
privatekey.pem to be in the root of your application. See the
We have written how to use this application in greater detail here.