Versions Compared

Key

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

...

Click on "Show" button to show the Consumer Key & Consumer Secret.


...

Configuration

...

Set up Xero

...

Account Informations 

For this integration you will need to have an account in Xero Website. 
First, go to https://www.xero.com/ and register an Xero accounts (click on "Try xero for free" or "Free Trial"). If you already have an account, you can skip this step.

...

When your account is activated, go to https://login.xero.com/ and login with your account. 

 

 

If your account is new, Xero will ask you to create a new organization. Enter the name of your organization and choose other information. Press on Start Trial, or Buy Now to continue.

 

 

Copy and paste Consumer Key & Consumer Secret from above into Magento 2 backend configuration like in the picture. 

Choose the Sync Mode (Cron Job or Immediately), you may want to consider the cron job mode 

  • Immediately mode: the data will be synced as soon as they're created or updated. 
  • Cron Job: the data will be queued and will be synced together every 30 minutes. 

The immediately mode seems better than We recommend that you should use Immediately mode instead of cron job mode, but some . Some application mode ( like private ) only allowed allows 1000 requests a day. So choosing Cron Job will guarantee all data will be synced. Unless you're a partner to Xero and have an a special Application, we suggest you choose Cron Job mode.

Press Save Config after you've done (refresh the cache if needed).

Click on Test ConnectionConnect Now button.

 

Image RemovedImage Added

 

If everything is right, a window will show up and inform you like this.

 

Image RemovedImage Added

 

Else it will display the error.

 

Image Removed

 

Sync All Data

Synchronization Settings 

We placed the "Sync All Data Now" button in the configuration so if you wish to Sync All Data right away, you can press this button. (Notice that this will take some time, a few minutes depends on how large your data is)the length of time depends on the size of database) 

 

Image RemovedImage Added

When the process is done, you can check what is synced in the Reports/Xero Integration/View logs.

...