Versions Compared

Key

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

 Introducing to

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: 16/08/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

...

Woocommerce store to Xero in

...

automatic or manual mode.

4. Sync

...

invoices from

...

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 Added

 

-       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 completingFinished, you receive 3 files:

Image Added

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

woocommerce-xero-integration -> controllers -> certs

 

2. Create app private application in app.xero.com

...


Image Added

 

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

-       Fill

...

in name of application in the field: Application Name

-       Select which organisation your application can access

...

-       Public Key:

+     Choose: Upload

...

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

...

Create App.

You receive:

  1. Consumer Key
  2. Consumer Secret

Image 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

 

 

 

-       Consumer Key and Consumer secret in app xero.

-       Mode Sync Xero: you can select

...

Example

Automatic or Manual

3.1. Sync products manually

+ In manual mode,

Admin creates a product in Woocommerce with price and description. 

Image Added

Then, it is in queue in Table Sync Xero. 

Image Added

Admin clicks button SYNC to transfer product data to Xero.

Recheck the data in Xero.

Image Added

3.2.        Sync customers manually

Customer registers a new account in front-end. 

Image Added

The customer account is stored in Table Sync Xero

Image Added

Admin clicks button SYNC to transfer this information to Xero:

Image Added

3.3.        Add orders manually

After an order is created in Woo site

Image Added

in backend, Xero -> Order

...

in Xero -> Product table wait for sync tab:

Image Added

click button SYNC, after in xero:

...

Image Added

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