A simple rails app running spree commerce 3 that connects with Xero to generate a paid invoice after a successful order.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
storage
test
tmp
vendor
.gitignore
.ruby-version
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
package.json

README.md

Spree Commerce With Xero

Credits are due to the mentioned owners of all gems used. See links below. Created and inspired by Daveyon Mayne @ MayneWeb. Copyright 2018. License: MIT.

Introduction

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.

Private application

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 .gitignore file.

How to

We have written how to use this application in greater detail here.

Dependencies