Commerce QuickBooks Integration
This module connects Drupal Commerce to QuickBooks Online. When a Drupal Commerce order is fully paid, it automatically creates a corresponding invoice in QuickBooks, reusing existing customers or creating new ones as needed. The synchronization happens in the background to avoid impacting checkout performance.
Commerce QuickBooks Integration connects Drupal Commerce with QuickBooks Online.
It automatically creates a QuickBooks invoice when a Drupal Commerce order becomes fully paid.
Features
* Connects Drupal with QuickBooks Online using OAuth 2.0.
* Automatically creates a QuickBooks invoice when a Drupal Commerce order becomes fully paid.
* Reuses an existing QuickBooks customer by email, or creates a new customer if one doesn't already exist.
* Builds the QuickBooks invoice from the paid Commerce order's details (line items, quantities, prices, totals).
* Processes synchronization asynchronously through Drupal's Queue API, so checkout performance isn't affected.
Post-Installation
After enabling the module:
1. Go to the Commerce QuickBooks configuration page at /admin/config/services/commerce-qb.
2. Enter the QuickBooks environment, Client ID, Client Secret, OAuth redirect information, and Default QuickBooks Item ID.
3. Authorize the Drupal site with QuickBooks Online.
4. Go to /admin/config/services/commerce-qb/test to use the connection test and verify the QuickBooks API connection.
5. Ensure Drupal cron is configured so the `commerce_qb_sync` queue is processed automatically.
Once configured, fully paid Commerce orders are automatically queued for QuickBooks synchronization.
Additional Requirements
This module requires:
* Drupal Commerce.
* Drupal Commerce Order.
* Drupal Commerce Payment.
* A QuickBooks Online account.
* An Intuit Developer application with QuickBooks Online API access.
A valid QuickBooks Product or Service Item ID must also be configured for invoice line items.
Recommended modules/libraries
No additional modules or libraries are required beyond the listed dependencies.
See the included README for complete installation, configuration, security, privacy, and troubleshooting documentation.