Versions Compared

Key

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

...

1. You need have private key and public key: Visit the 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

Finished, you receive:

Image Added

Use ftp to upload files to the directory: woocommerce-xero-integration -> controllers -> certs

 

2. Create app private in app.xero.com

 

Image Added

 

  • Click check box: Private - just for use with my own organisation
  • Fill name app
  • Select which organisation your application can access
  • X509 Public Key Certificate:
    • click Click Upload X509 certificate file (.cer)
    • click Click Browser: Upload the file publickey.cer has just initialized
    • click Click check box: I have read and agree to the Xero Developer Platform.
  • Click button Save.

You receive:

 

Image Added

 

3. Setting in wordpress website

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 Admin add to Xero or Auto sync Xero

...

  • Mode Admin add to Xero
  • Add Product with information

...

  • information in Xero -> Product table wait for sync tab

    Image Added


Click button SYNC, after in Xero:

Image Added

 

Image Added

 

  • Add customer in Xero -> Contact table wait for sync tab:


    Image Added

...



  • Click button SYNC, after in

...

  • Xero:

  • Add customer
  • Image Addedc, Add Order: 

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

     


    Image Added

     

    Image Added

    Click button SYNC, after in Xero:

    Image Added

     

    d. Add invoices

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

    Image Added

    Click click button SYNC, after in xero: Xero:


    Image Added

  • Mode Auto sync Xero
  • Add product in Xero:

    Image Added

Image Added


  • Add Customer:

    Image Added