Table of Contents

Magento 2 QuickBooks Connector – User Guide

Extension Overview

The Toweringmedia QuickBooks Connector for Magento 2 connects your Magento 2 store with QuickBooks Online and automates the synchronization of customers, products, inventory, orders, invoices, payments, refunds, and credit memos.

The extension uses secure Intuit OAuth 2.0 authentication and provides bidirectional synchronization between Magento and QuickBooks Online. It also includes queue-based background processing, automatic retries, synchronization logs, admin retry tools, cron scheduling, bulk synchronization, and CLI commands.

Product Information

Key Features

Installation

Please refer to the installation guide in the following article Installation Guide.

Admin Tools

The Admin Tools section provides administrators with tools to manage and monitor the QuickBooks synchronization process from the Magento 2 Admin Panel.

The available tools allow administrators to:

Validation Checklist

Setup Instructions

After installing the QuickBooks Connector, configure the extension from the Magento 2 Admin Panel.

Log in to the Magento 2 Admin Panel and navigate to:

Stores → Configuration → Towering Media → QuickBooks Connector

The configuration page contains several sections that allow administrators to connect Magento with QuickBooks Online and configure synchronization behavior.

1. General Configuration

Under the General section, configure the basic connector settings:

2. QuickBooks Online Configuration

The QuickBooks Online section contains the credentials and connection settings required to connect Magento with QuickBooks Online.

Configure the following:

After entering the required QuickBooks credentials, click Connect to QuickBooks to authorize the Magento store with your QuickBooks Online account.

3. Field Mapping

The Field Mapping section allows Magento fields to be mapped to QuickBooks fields.

The available mappings include:

Use valid JSON format when entering custom field mappings.

4. Tax Mapping

The Tax Mapping section allows Magento tax information to be mapped to QuickBooks.

Configure:

5. QuickBooks Desktop

The QuickBooks Desktop section provides configuration options for QuickBooks Desktop/QBWC integration.

Where applicable, configure:

QuickBooks Desktop/QBWC functionality should only be configured when the corresponding QuickBooks Desktop integration is being used.

6. Sync Schedule

The Sync Schedule section controls the background synchronization process.

Configure:

Ensure that Magento Cron is configured and running correctly on the server for scheduled synchronization to work.

7. Inbound Import

The Inbound Import section controls importing data from QuickBooks into Magento.

Available settings include:

8. Entity Sync

The Entity Sync section controls which Magento entities are exported to QuickBooks.

Configure the following options as required:

9. Automatic Synchronization

The Auto-Sync settings allow synchronization to occur automatically when Magento entities are created or updated.

Available options include:

10. Save Configuration

After completing the required settings, click Save Config in the upper-right corner of the configuration page.

The connector is now configured according to the selected synchronization settings.

A typical initial setup sequence is:

  1. Enable the connector.
  2. Select QuickBooks Online as the connector type.
  3. Configure the QuickBooks Online Client ID and Client Secret.
  4. Select the appropriate QuickBooks environment.
  5. Connect the Magento store to QuickBooks using Connect to QuickBooks.
  6. Configure the default income, expense, shipping, payment, and tax mappings.
  7. Configure the required field mappings.
  8. Configure the synchronization schedule and Magento Cron.
  9. Enable the required inbound imports and outbound entity synchronization.
  10. Configure automatic synchronization according to the store's requirements.
  11. Save the configuration.
  12. Perform an initial synchronization and verify the synchronization logs.

User Experience

The QuickBooks Connector is designed to provide a simple and efficient experience for managing synchronization between Magento 2 and QuickBooks Online.

QuickBooks Connector Dashboard

The extension provides administrators with tools to manage the QuickBooks integration directly from the Magento Admin Panel. Administrators can configure the connection, control synchronization, review synchronization activity, and troubleshoot failed operations.

QuickBooks Connection

Administrators can connect the Magento store to QuickBooks Online using the Connect to QuickBooks option. The OAuth-based connection securely authorizes the Magento store to communicate with the selected QuickBooks company.

Once connected, the configuration displays the connection status and QuickBooks company information.

Synchronization Management

Administrators can control which Magento entities are synchronized with QuickBooks, including:

Synchronization can be configured to run automatically through Magento Cron or triggered according to the configured synchronization settings.

Automatic Synchronization

When automatic synchronization is enabled, supported Magento entities can be added to the synchronization queue when they are created or updated.

For example:

This reduces the need for administrators to manually synchronize individual records.

Synchronization Monitoring

Administrators can monitor synchronization operations and review logs from the Magento Admin Panel.

The synchronization information can help identify:

Failed operations can be retried after the underlying issue has been resolved.

Import and Export

The extension provides separate controls for importing data from QuickBooks and exporting Magento data to QuickBooks.

Administrators can configure inbound imports for customers and products and outbound synchronization for supported Magento entities.

Error Handling

When a synchronization operation fails, the administrator can review the available error information and take corrective action.

The queue-based processing and retry functionality helps ensure that temporary synchronization failures do not require the entire synchronization process to be restarted.

A typical administrator workflow is:

  1. Configure the QuickBooks Connector.
  2. Connect the Magento store to QuickBooks Online.
  3. Configure account, tax, and field mappings.
  4. Select the entities that should be synchronized.
  5. Configure automatic synchronization and Magento Cron.
  6. Perform an initial synchronization.
  7. Review synchronization logs.
  8. Resolve and retry any failed operations.
  9. Monitor synchronization activity regularly.

Troubleshooting

The Troubleshooting section provides guidance for identifying and resolving common issues that may occur while using the QuickBooks Connector for Magento 2.

QuickBooks Connection Issues

If the connector cannot connect to QuickBooks Online:

Synchronization Not Processing

If synchronization operations remain pending:

Customer or Product Import Issues

If customers or products are not being imported from QuickBooks:

Magento to QuickBooks Export Issues

If Magento entities are not being exported:

Mapping Errors

If synchronization fails because of field, tax, or account mappings:

Failed Synchronization Operations

If an operation is marked as failed:

  1. Open the synchronization logs in the Magento Admin Panel.
  2. Identify the failed operation.
  3. Review the error message and operation details.
  4. Correct the underlying configuration or data issue.
  5. Retry the failed operation.
  6. Verify that the operation is processed successfully.

Automatic Synchronization Not Working

If automatic synchronization is not triggering:

Cron and Queue Issues

If the synchronization queue is not being processed:

QuickBooks API or Authentication Errors

If QuickBooks returns an API or authentication error:

Logs and Error Investigation

When troubleshooting an issue, always review the synchronization logs before making configuration changes.

The logs can help identify:

After resolving the issue, retry the failed operation and confirm that the synchronization completes successfully.

Use the following process when investigating a synchronization problem:

  1. Check the QuickBooks connection status.
  2. Verify Magento Cron is running.
  3. Check the synchronization configuration.
  4. Review the synchronization logs.
  5. Identify the affected entity and operation.
  6. Check mappings and required QuickBooks accounts or tax codes.
  7. Correct the underlying issue.
  8. Retry the failed operation.
  9. Verify the result in both Magento and QuickBooks.