Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Thank you for purchasing our extension. If you have any questions that are beyond the scope of this document, do not hesitate to leave us an email via our email address below.

Created: 1416/0708/2017 | By: Magenest | Support Portal: http://servicedesk.izysync.com/servicedesk/customer/portal/127

...

Introduction 

Introduction of Woocommerce Xero Integration

Woocommerce Xero Integration is a great tool which allows you to synchronize accounting data automatically from Wordpress store to Xero Website.

The main features

1. Sync customers from Woocommerce to Xero in automatic or manual mode.

2. Sync products from Woocommerce to Xero in automatic or manual mode.

3. Sync orders from wordpress Woocommerce store to Xero in automatic or manual mode.

4. Sync invoices from wordpress store Woocommerce store to Xero in automatic or manual mode.

5. Report data sync from Woocommerce to Xero.

6. On/Off sync customer/product/invoice from Woocomerce store to Xero.

Configuration

1. You need private key and public key: Visit this link and follow the instructions - Create a public/private key pair

Image Modified

 

-       Step 1: openssl genrsa -out privatekey.pem 1024

-       Step 2: openssl req -new -x509 -key privatekey.pem -out publickey.cer -days 1825

-       Step 3: openssl pkcs12 -export -out public_privatekey.pfx -inkey privatekey.pem -in publickey.cer

NOTE:  When you creates a public key and private key, press "Enter" and do not enter a password or any information during key generation.

After completing, you receive 3 files:

Image Modified

Use ftp to upload files to the folder following the directory:

woocommerce-xero-integration -> controllers -> certs

2. Create private application in app.xero.com


Image Added

Image Removed 

-       Choose: Private - just for use with my own organisation

...

-       Select which organisation your application can access

-       X509 Public Key Certificate       Public Key:

+     Choose: Upload X509 certificate file (.cer)

+     Upload the file publickey.cer has just initialized

+     Click the checkbox: I have read and agree to the Xero Developer Platform.

-       Click button SaveCreate App.

You receive:

  1. Consumer Key
  2. Consumer Secret

Image RemovedImage Added

Copy and store 2 keys received.

 

3. Setting in wordpress website

Before installing the plugin in your wordpress site, you have to upload two file public key and private key to the server  "wp-content/plugins/woocommerce-xero-integration/controllers/certs".

Image Added

Following this directory:

Woocommerce -> Settings -> Xero Integration and Fill in the box with the data you just obtained.

Image Added

 

 

 Image Removed

-       Consumer Key and Consumer secret in app xero.

-       Mode Sync Xero: you can select Automatic or Manual

3.1. Sync products manually

+ In manual mode,

Admin creates a product in Woocommerce with price and description. 

Image Modified

Then, it is in queue in Table Sync Xero. 

Image Modified

Admin clicks button SYNC to transfer product data to Xero.

Recheck the data in Xero.

Image Modified

3.2.        Sync customers manually

Customer registers a new account in front-end. 

Image Modified

The customer account is stored in Table Sync Xero

Image Modified

Admin clicks button SYNC to transfer this information to Xero:

Image Modified

3.

...

3.        Add orders manually

After an order is created in Woo site

Image Modified

in backend, Xero -> Order table wait for sync tab:

Image Modified

click button SYNC, after in xero:

Image Modifiedd

3.4. Add invoices

in backend, Xero -> Invoices table wait for sync tab:

Image Added

click button SYNC, after in xero:

Image Added

3.5 Mode Auto sync Xero

    1. Add product

Image Added


In Xero:

Image Added

b.  Add Customer

Image Added

in Xero:

Image Added

c. Add Order

Image Added

in Xero:

Image Added

d. Add Invoices

Image Added



5. Report data sync from woocommerce to xero

Image Added