Quickbooks plugin.

1. You have to create your APP in:
 https://developer.intuit.com/app/developer/sandbox
 https://developer.intuit.com/app/developer/dashboard

2. Open your created APP

3. Development Settings:
   Keys & credentials: copy your Client ID and Client Secret to config on your site if you wish used the test playground.
   Add Redirect URIs:
    https://developer.intuit.com/v2/OAuth2Playground/RedirectUrl
    Your domain/plugin/quickbooks/run/successOk (exmaple: https://www.seosamba.com/plugin/quickbooks/run/successOk)
   Don't forget to enable "Use Development Mode" checkbox on your site for it.

4. Production Settings:
   https://developer.intuit.com/app/developer/qbo/docs/go-live/publish-app
   Keys & credentials: Do the same instructions, but first add details about your app.
   Your site should have SSL (https://)

5. Generate token:
First open "General config" provide Client ID: and Client Secret:, click "Save", you will see the "Generate token" button.
Click on this buttin and generate your account token.

6. Account config:
https://app.qbo.intuit.com/app/customers

7. Refresh token Cron script
Your server administrator must schedule the associated cron script to refresh QBO token.
/home/developer/www/Your domain/plugins/quickbooks/system/cronscript/quickbooksRefreshToken.php
Recommended schedule period is 1 week.

Shipping costs activation in invoice:
1. Click on the Gear icon.
2. Select Accounts and Settings.
3. Select Sales.
4. Refer to the Sales form content and make sure that the Shipping box is checked.

Discount costs activation in invoice:
1. Click on the Gear icon.
2. Select Accounts and Settings.
3. Select Sales.
4. Refer to the Sales form content and make sure that the Discount box is checked.

Email Lexem:
{quickbooks:refreshTokenExpiresAt} - Refresh token exires at date
