Sandbox Connection
Overview
Follow this page to create a QuickBooks Online Sandbox company and connect it to your GoldFinch UAT org.
QuickBooks Developer Site
The QuickBooks Online sandbox can be connected to a GoldFinch sandbox for testing.
Data from the QuickBooks Online sandbox cannot be transferred to a live QuickBooks instance.
Use your QuickBooks Online Username and Password to sign into the developer site. https://www.developer.intuit.com/
Select "Sandbox" under "API Docs & Tools".
![](../__attachments/1295679808/image2020-5-11_14-59-45.png?inst-v=7859a023-5511-40be-b967-a1e2fed73946)
Click "Add a sandbox company".
![](../__attachments/1295679808/image2020-5-11_15-5-20.png?inst-v=7859a023-5511-40be-b967-a1e2fed73946)
Add QuickBooks Online Sandbox Users
Add any client users who will be using the sandbox.
To do so, click on the sandbox from the Developer site to connect to the sandbox instance.
Open the "Manage users" page from the Settings icon.
![](../__attachments/1295679808/image2020-5-11_15-21-50.png?inst-v=7859a023-5511-40be-b967-a1e2fed73946)
Proceed to Add users - it is recommended to grant admin rights for testing purposes.
![](../__attachments/1295679808/image2020-5-11_15-23-46.png?inst-v=7859a023-5511-40be-b967-a1e2fed73946)
QuickBooks Online Sandbox Login
https://sandbox.qbo.intuit.com/app/login
Create QuickBooks App
The QuickBooks app is an application that connects QuickBooks Online to GoldFinch.
Click on "My Apps" from the developer site and click "+ Create an app".
![](../__attachments/1295679808/image2020-5-11_15-59-48.png?inst-v=7859a023-5511-40be-b967-a1e2fed73946)
Select "QuickBooks Online and Payments".
![](../__attachments/1295679808/image2020-5-11_16-2-46.png?inst-v=7859a023-5511-40be-b967-a1e2fed73946)
Name your app and select "Accounting" as the scope.
![](../__attachments/1295679808/image2020-5-11_16-15-15.png?inst-v=7859a023-5511-40be-b967-a1e2fed73946)
The app name should be the client company's name. For instance, you may name it GoldFinch UAT.
Click "Create app".
To look for the App that was just created, click Dashboard in the top right corner.
![](../__attachments/1295679808/image2022-6-30_16-47-19.png?inst-v=7859a023-5511-40be-b967-a1e2fed73946)
Install the Latest GoldFinch QuickBooks Integration Package
Contact a GoldFinch consultant to install the latest package to the client's Salesforce UAT instance.
Custom Settings - Salesforce Sandbox Instance
After the package is installed, go to Custom Settings under Salesforce Setup.
Click Manage on the Connection custom setting.
![](../__attachments/1295679808/image2020-5-11_16-59-11.png?inst-v=7859a023-5511-40be-b967-a1e2fed73946)
Click New to enter new connection data for the first time or Edit the existing Connection. Name the Connection "QuickBooks."
![](../__attachments/1295679808/image2022-6-30_16-52-29.png?inst-v=7859a023-5511-40be-b967-a1e2fed73946)
![](../__attachments/1295679808/image2020-5-14_17-9-41.png?inst-v=7859a023-5511-40be-b967-a1e2fed73946)
Enter the connection information and Save.
Field | Description |
---|---|
Name | QuickBooks |
Access Token Endpoint | |
Authorization Code | This is populated by Salesforce after the connection is made. |
Authorization Endpoint | |
Client ID | *See below - copy from the QuickBooks App |
Client Secret | *See below - copy from the QuickBooks App |
Company Name | **See below - copy the Company ID for the sandbox from the QuickBooks Development site. |
Endpoint Base Url | |
Redirect URI | ***See below |
Refresh Token | This is populated by Salesforce after the connection is made. |
Scope | com.intuit.quickbooks.accounting |
*Client ID & Client Secret
Copy the Client ID and Client Secret from the QuickBooks App under the "Development" section in “Keys & OAuth”.
![](../__attachments/1295679808/image2020-7-30_14-34-47.png?inst-v=7859a023-5511-40be-b967-a1e2fed73946)
**Company Name
Copy the Company ID from the list of sandbox companies on the developer site.
Find the Sandbox page from the menu that drops down under your login name on the Intuit Developer site.
![](../__attachments/1295679808/image2020-7-30_15-57-28.png?inst-v=7859a023-5511-40be-b967-a1e2fed73946)
***Redirect URI
Under Salesforce Setup, go to Company Information to find your Salesforce instance.
![](../__attachments/1295679808/image2020-5-14_17-20-53.png?inst-v=7859a023-5511-40be-b967-a1e2fed73946)
Replace "salesforceinstance" with the name of your instance.
https://gfqbo.salesforceinstance.visual.force.com/apex/INT_RedirectURI
Example: https://gfqbo.na124.visual.force.com/apex/INT_RedirectURI
Copy the Redirect URI to both "GoldFinch QuickBooks Custom Settings" and the QuickBooks app.
In the QuickBooks app, Development section, click Add URI, then Save.
![](../__attachments/1295679808/image2020-5-14_17-30-27.png?inst-v=7859a023-5511-40be-b967-a1e2fed73946)
Remote Site Settings
Remote Site Settings grant permission for your org to connect to QuickBooks sites.
Under Salesforce Setup, go to Remote Site Settings.
Click New Remote Site to create a new custom setting or Edit the existing ones.
![](../__attachments/1295679808/image2020-5-14_16-31-55.png?inst-v=7859a023-5511-40be-b967-a1e2fed73946)
Remote Site Name: QBO
Remote Site Name = QBO
Remote Site URL = https://oauth.platform.intuit.com
Active = True
Remote SiteName: QBO2:
Remote Site Name = QBO2
Remote Site URL = https://sandbox-quickbooks.api.intuit.com
Active = True
Make Connection in GoldFinch
In the GoldFinch QuickBooks Integration app, QuickBooks Connection tab, click Connect to QuickBooks.
![](../__attachments/1295679808/image2020-5-14_16-46-40.png?inst-v=7859a023-5511-40be-b967-a1e2fed73946)
Select the company, and click Next. Confirm and Connect.
![](../__attachments/1295679808/image2020-5-14_16-48-41.png?inst-v=7859a023-5511-40be-b967-a1e2fed73946)
Close the connection pages when you are finished, return to GoldFinch, and refresh the page.
Verify the connection was successful by checking the Refresh Token and dates.
![](../__attachments/1295679808/image2020-5-14_16-51-49.png?inst-v=7859a023-5511-40be-b967-a1e2fed73946)
Configure QuickBooks Online in Sandbox
Login to QuickBooks Online to make these configurations.
Accounts and Settings → Sales → Custom transaction numbers = On
Prevents duplicate sales invoice numbers.
Accounts and Settings → Advanced → Warn if duplicate bill number is used = On
Prevents duplicate bill numbers.
Add the “Memo” column to the Expense Transactions list.
The GoldFinch Purchase Invoice Number is transferred here.
![](../__attachments/1295679808/image2020-5-15_11-21-45.png?inst-v=7859a023-5511-40be-b967-a1e2fed73946)
Configure GoldFinch in UAT Instance
Salesforce administrative permissions are required for this step and changes are made from the Object Manager.
Add Buttons
Add the Get QuickBooks Id button and "QuickBooks Id" field to the Payment Term "List View" search layout.
Add the Get Customer QuickBooks Id and "Get Vendor QuickBooks Id" to the Account "List View" search layout.