When setting up a test site to use QBO for the first time, you will first need to modify the production code by editing the quickbooksproperties file.
1. Open WinSCP and log into the server that has the site you need to configure.
2. Open the following file path:
/home/opt/sites/sitename-online/webapps/ROOT/WEB-INF/classes/quickbooks.properties
3. Replace the highlighted code with the snippet found below. This replaces the productions QBO connections with our internal QBO sandbox.
Replacement code:
#OAuth2 App Configuration - TeamKeeper Production
#oauth2_client_id=ABkYw73839uKCxWPrVsdfU69iilocTB3047nRkxYxrr56lnQsn
oauth2_client_id=ABaF54PC5jsNb362uQpQxTnA59zJsYdipMIx9tqEhWHCDeUPyU
#oauth2_client_secret_id=rKxKILExaKBwTVNjBXv6vDAC0NbsRTZE9xajdlG0
oauth2_client_secret_id=v6kMdEhC65hpZarXx4i1qSov9dL5lTfDWuI9skk2
#QBO API endpoint
#intuit_accounting_api_host=https://quickbooks.api.intuit.com
intuit_accounting_api_host=https://sandbox-quickbooks.api.intuit.com
After changing the config file, you will need to go to the configuration page to enable the web connector link on the front end as well as change the default QBD to QBO.