SlideShare a Scribd company logo
1 of 19
Download to read offline
QuickBooks Online Integration for Magento 2 © Meetanshi
QuickBooks Online Integration for Magento 2
User Guide
Table of Content
1. Extension Installation Guide 2. QuickBooks API Configuration
3. Configuration 4. Account Type Settings
5. Customer Synchronization Settings 6. Products Synchronization Settings
7. Orders Synchronization Settings 8. Invoices Synchronization Settings
9. Credit Memos Synchronization
Settings
10. Tax and Country Settings
11. Developer Settings 12. Payment Methods Mapping
13. Tax Mapping 14. Sync Queue
15. History Logs 16. Synchronized Products in
QuickBooks
17. Customers, Orders, Invoices, Credit
Memos Grid after Synchronization
QuickBooks Online Integration for Magento 2 © Meetanshi
1. Extension Installation
• For Magento Marketplace Customers
o Find the Composer name and version of the extension in the extension’s composer.json file.
o Login to your SSH and run:
▪ composer require meetanshi/magento-2-quickbooks-online-integration
▪ composer require quickbooks/v3-php-sdk
o Enter your authentication keys. Your public key is your username; your private key is your
password.
o Wait for Composer to finish updating your project dependencies and make sure there
aren’t any errors.
o To verify that the extension installed properly, run the command:
▪ php bin/magento module:status Meetanshi_QBOnline
o By default, the extension is probably disabled.
o Enable the extension and clear static view files:
▪ php bin/magento module:enable Meetanshi_QBOnline --clear-static-content
▪ php bin/magento setup:upgrade
▪ For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
▪ For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
▪ php bin/magento cache:flush
• For Meetanshi Customers
o Extract the zip folder and upload our extension to the root of your Magento 2 directory via
FTP.
o Login to your SSH and run below commands step by step:
▪ composer require quickbooks/v3-php-sdk
▪ php bin/magento setup:upgrade
▪ For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
▪ For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
▪ php bin/magento cache:flush
Note:
1. Make sure to configure the cron job to make the extension work smoothly.
2. Before configuring the extension, go to QuickBooks Online Settings > Sales > Sales Form
Content, and turn the checkbox ON for Shipping as shown here.
3. As PaymentMethod.php file is unavailable while installing the extension using composer
command, download the PaymentMethod.php file from Github and put it to
MAGENTO_ROOT/vendor/quickbooks/v3-php-sdk/src/Facades.
QuickBooks Online Integration for Magento 2 © Meetanshi
2. QuickBooks API Configuration
Prior to configuring the extension, you need to configure the payment gateway for the API
connection.
• First of all, go to https://accounts.intuit.com/index.html and login with your QuickBooks
Online Integration account credentials. Move to the dashboard and click on the Apps where
you can find apps if you have already added. Click “Create an App” to create a new app if you
haven’t created already. Click on the payment app you created to get the client ID, client
secret and add redirect URL.
• From here, click on “Keys and OAth” under the development/production mode. The values
under the client ID and client secret fields need to be copied and added to your Magento 2
extension configuration. Also, add the redirect URL as
https://yoursite.com/qbmspayment/connection/success and save the URL.
QuickBooks Online Integration for Magento 2 © Meetanshi
3. Configuration
For configuring the extension, login to Magento 2, move to Stores → Configuration →
Meetanshi → QuickBooks Online Integration, where you can find various settings to
configure the extension.
• QuickBooks Online Integration: Enable or disable QuickBooks Online Integration extension
from here.
• Sandbox Mode: Set YES to enable sandbox mode for the QuickBooks Online Integration.
• Client ID: Enter the client ID you have copied from the QuickBooks admin panel.
• Client Secret: Enter the client secret you have copied from the QuickBooks admin panel.
QuickBooks Online Integration for Magento 2 © Meetanshi
• After configuring the settings, save the configuration and click “Connect to QuickBooks” for
the API connectivity. You will get a new window to sign in with the QuickBooks credentials.
• Once you are signed in, the API will ask to select the company.
QuickBooks Online Integration for Magento 2 © Meetanshi
• After the company selection, you will get the API connection success message.
• After the API gets connected, close the window and refresh the Magento 2 configuration page
and you can see the “Connection Status” as connected.
QuickBooks Online Integration for Magento 2 © Meetanshi
4. Account Type Settings
Click “Fetch All Accounts” to fetch and set 3 account types i.e asset account, expense account
and income account. If accounts don’t get auto selected, you have to set them manually.
5. Customer Synchronization Settings
To synchronize the Magento 2 customers with the QuickBooks API, configure the settings below.
• Sync Mode: Select how you want to synchronize Magento 2 customers to QuickBooks.
o Immediately: Syncs customers immediately on account creation.
o Cron Job: Syncs customers on cron job run time and frequency.
▪ Frequency: Select cron job frequency to automate customer sync with QuickBooks.
▪ Start Time: Set start time of the cron job based on the set frequency.
QuickBooks Online Integration for Magento 2 © Meetanshi
6. Products Synchronization Settings
To synchronize the Magento 2 products with the QuickBooks API, configure the settings below.
• Sync Mode: Select how you want to synchronize Magento 2 products to QuickBooks.
o Immediately: Syncs products immediately on creation.
o Cron Job: Syncs products on cron job run time and frequency.
▪ Frequency: Select cron job frequency to automate products sync with QuickBooks.
▪ Start Time: Set start time of the cron job based on the set frequency.
• Sync Product Name: Select what you want to set as product name for QuickBooks products.
• Sync Product Description: Select what you want to set as product description for
QuickBooks products.
• Track Product Inventory: Select YES to track product inventory in QuickBooks.
• Strip HTML: Select YES to strip HTML tags from product description.
7. Orders Synchronization Settings
To synchronize the Magento 2 orders with the QuickBooks API, configure the settings below.
• Sync Mode: Select how you want to synchronize Magento 2 orders to QuickBooks.
o Immediately: Syncs orders immediately on placement.
o Cron Job: Syncs orders on cron job run time and frequency.
▪ Frequency: Select cron job frequency to automate orders sync with QuickBooks.
▪ Start Time: Set start time of the cron job based on the set frequency.
• Order Prefix: Enter order prefix for order reference in QuickBooks.
QuickBooks Online Integration for Magento 2 © Meetanshi
8. Invoices Synchronization Settings
To synchronize the Magento 2 invoices with the QuickBooks API, configure the settings below.
• Sync Mode: Select how you want to synchronize Magento 2 invoices to QuickBooks.
o Immediately: Syncs invoices immediately on generation.
o Cron Job: Syncs invoices on cron job run time and frequency.
▪ Frequency: Select cron job frequency to automate invoices sync with QuickBooks.
▪ Start Time: Set start time of the cron job based on the set frequency.
9. Credit Memos Synchronization Settings
To synchronize the Magento 2 credit memos with the QuickBooks API, configure the settings
below.
• Sync Mode: Select how you want to synchronize Magento 2 credit memos to QuickBooks.
o Immediately: Syncs credit memos immediately on generation.
o Cron Job: Syncs credit memos on cron job run time and frequency.
▪ Frequency: Select cron job frequency to automate credit memos sync with QuickBooks.
▪ Start Time: Set start time of the cron job based on the set frequency.
• Credit Memo Prefix: Enter credit memo prefix for credit memo reference in QuickBooks.
10.Tax and Country Settings
Set tax country to sync tax class with QuickBooks.
11.Developer Settings
Select YES to enable debug log.
QuickBooks Online Integration for Magento 2 © Meetanshi
12.Payment Methods Mapping
After the configuration settings, move to QuickBooks Online Integration → Payment
Methods Mapping to map Magento 2 payment methods with QuickBooks. First of all, click
“Add All Payment Methods” button to add all the Magento 2 payment methods to the list in
the grid and then, click “Synchronize” to sync each payment method with QuickBooks API.
• To see the mapped payment methods in QuickBooks, from the QuickBooks dashboard, click
on Settings → Lists → All Lists → Payment Methods where you can see all the mapped
payment methods.
QuickBooks Online Integration for Magento 2 © Meetanshi
13.Tax Mapping
Move to QuickBooks Online Integration → Tax Mapping to map Magento 2 tax classes with
QuickBooks. First of all, click “Add All Tax Code” button to add all the Magento 2 tax codes to
the list in the grid and then, click “Synchronize” to sync each tax code with QuickBooks API.
• To see the mapped tax codes in QuickBooks, from the QuickBooks dashboard, click on
Taxes from the sidebar where you can see all the mapped tax codes.
QuickBooks Online Integration for Magento 2 © Meetanshi
14. Sync Queue
If your store is already having customers, products, orders, invoices, credit memos and want all
of them to sync with QuickBooks after the extension installation, move to QuickBooks Online
Integration → Sync Queue. Click “Add Customers”, “Add Products”, “Add Orders”, “Add
Invoices”, “Add Credit Memos” one by one in the same order as mentioned to add all here in
the sync queue. Click on “Synchronization” button to sync them gradually with QuickBooks.
QuickBooks Online Integration for Magento 2 © Meetanshi
15.History Logs
After synchronization is done, the status of each entity is shown with the details on the separate
grid in backend at QuickBooks Online Integration → History Logs. If the data is
synchronized right, the status will be success else if there’s problem during data sync, it will
show error status.
QuickBooks Online Integration for Magento 2 © Meetanshi
16.Synchronized Products in QuickBooks
After successful synchronization of Magento 2 products, move to Sales → Products and
Services from the QuickBooks dashboard where you can see all the products listed.
QuickBooks Online Integration for Magento 2 © Meetanshi
17.Customers, Orders, Invoices, Credit Memos Grid after Synchronization
After synchronization of customers, orders, invoices and credit memos in QuickBooks, if you
check the backend grid of individual, you can see QBO ID for each entity.
• Customers Grid with QBO Customer ID
After the successful synchronization of customers to QuickBooks, move to Customers → All
Customers to see QBO customer ID. The admin can select multiple customers and use “Sync
to QuickBooks” mass action to sync them manually.
QuickBooks Online Integration for Magento 2 © Meetanshi
 To see the mapped customers in QuickBooks, from the QuickBooks dashboard, click on
Sales → Customers.
QuickBooks Online Integration for Magento 2 © Meetanshi
• Orders Grid with QBO Order ID
After the successful synchronization of orders to QuickBooks, move to Sales → Orders to see
QBO order ID. The admin can select multiple orders and use “Sync to QuickBooks” mass
action to sync them manually.
• Invoices Grid with QBO Invoice ID
After the successful synchronization of invoices to QuickBooks, move to Sales → Invoices to
see QBO invoice ID. The admin can select multiple invoices and use “Sync to QuickBooks”
mass action to sync them manually.
QuickBooks Online Integration for Magento 2 © Meetanshi
 To see the mapped orders and invoices in QuickBooks, from the QuickBooks dashboard,
click on Sales → All Sales → Invoices.
QuickBooks Online Integration for Magento 2 © Meetanshi
• Credit Memos Grid with QBO Credit Memo ID
After the successful synchronization of credit memos to QuickBooks, move to Sales → Credit
Memos to see QBO credit memo ID. The admin can select multiple credit memos and use
“Sync to QuickBooks” mass action to sync them manually.

More Related Content

Similar to Magento 2 QuickBooks Online Integration

What's New in Financials 2.x
What's New in Financials 2.xWhat's New in Financials 2.x
What's New in Financials 2.x
Yulia Drygybka
 

Similar to Magento 2 QuickBooks Online Integration (20)

shopify to magento 2 migration.pdf
shopify to magento 2 migration.pdfshopify to magento 2 migration.pdf
shopify to magento 2 migration.pdf
 
What's New in Deltek Vision 7.1, Invoice Approvals, Overhead Allocation and 5...
What's New in Deltek Vision 7.1, Invoice Approvals, Overhead Allocation and 5...What's New in Deltek Vision 7.1, Invoice Approvals, Overhead Allocation and 5...
What's New in Deltek Vision 7.1, Invoice Approvals, Overhead Allocation and 5...
 
Training 1
Training 1Training 1
Training 1
 
Magento 2 BTSWholesaler Dropshipping
Magento 2 BTSWholesaler DropshippingMagento 2 BTSWholesaler Dropshipping
Magento 2 BTSWholesaler Dropshipping
 
Magento Integration with NetSuite
Magento Integration with NetSuiteMagento Integration with NetSuite
Magento Integration with NetSuite
 
Improve Billing Process and Performance with Deltek Vision
Improve Billing Process and Performance with Deltek VisionImprove Billing Process and Performance with Deltek Vision
Improve Billing Process and Performance with Deltek Vision
 
Different architecture topology for dynamics 365 retail
Different architecture topology for dynamics 365 retailDifferent architecture topology for dynamics 365 retail
Different architecture topology for dynamics 365 retail
 
Prisync & Magento - Installation Guide
Prisync & Magento - Installation GuidePrisync & Magento - Installation Guide
Prisync & Magento - Installation Guide
 
Deltek Vision User Group | October 2016
Deltek Vision User Group | October 2016Deltek Vision User Group | October 2016
Deltek Vision User Group | October 2016
 
What's New in Financials 2.x
What's New in Financials 2.xWhat's New in Financials 2.x
What's New in Financials 2.x
 
Sage 100 User Group – Nov 2017
Sage 100 User Group – Nov 2017Sage 100 User Group – Nov 2017
Sage 100 User Group – Nov 2017
 
Convergent Invoicing: Scheduling
Convergent Invoicing: SchedulingConvergent Invoicing: Scheduling
Convergent Invoicing: Scheduling
 
54.docx
54.docx54.docx
54.docx
 
Upgraded magento migration services and tools
Upgraded magento migration services and toolsUpgraded magento migration services and tools
Upgraded magento migration services and tools
 
Year-End Processing with Deltek Vision | Q4 2014 Vision User Group
Year-End Processing with Deltek Vision | Q4 2014 Vision User GroupYear-End Processing with Deltek Vision | Q4 2014 Vision User Group
Year-End Processing with Deltek Vision | Q4 2014 Vision User Group
 
Year-End Processing with Deltek Vision | Q4 2014 Vision User Group
Year-End Processing with Deltek Vision | Q4 2014 Vision User GroupYear-End Processing with Deltek Vision | Q4 2014 Vision User Group
Year-End Processing with Deltek Vision | Q4 2014 Vision User Group
 
How to Rectify QuickBooks Payroll Update Error 15102.pptx
How to Rectify QuickBooks Payroll Update Error 15102.pptxHow to Rectify QuickBooks Payroll Update Error 15102.pptx
How to Rectify QuickBooks Payroll Update Error 15102.pptx
 
Web Store with Catalog and Product Management
Web Store with Catalog and Product ManagementWeb Store with Catalog and Product Management
Web Store with Catalog and Product Management
 
Cafeteria Automation System
Cafeteria Automation SystemCafeteria Automation System
Cafeteria Automation System
 
CS-Cart Addon : Stripe Connect Custom Account
CS-Cart Addon : Stripe Connect Custom AccountCS-Cart Addon : Stripe Connect Custom Account
CS-Cart Addon : Stripe Connect Custom Account
 

More from Meetanshi

cupdf.com_magento-2-mobile-login.pdf
cupdf.com_magento-2-mobile-login.pdfcupdf.com_magento-2-mobile-login.pdf
cupdf.com_magento-2-mobile-login.pdf
Meetanshi
 
Magento 2 Cloud Backup
Magento 2 Cloud BackupMagento 2 Cloud Backup
Magento 2 Cloud Backup
Meetanshi
 
Magento 2 Size Chart
Magento 2 Size ChartMagento 2 Size Chart
Magento 2 Size Chart
Meetanshi
 

More from Meetanshi (20)

cupdf.com_magento-2-mobile-login.pdf
cupdf.com_magento-2-mobile-login.pdfcupdf.com_magento-2-mobile-login.pdf
cupdf.com_magento-2-mobile-login.pdf
 
Magento 2 Cloud Backup
Magento 2 Cloud BackupMagento 2 Cloud Backup
Magento 2 Cloud Backup
 
Magento 2 Admin Action Log
Magento 2 Admin Action LogMagento 2 Admin Action Log
Magento 2 Admin Action Log
 
Magento 2 Infinite Scroll
Magento 2 Infinite Scroll Magento 2 Infinite Scroll
Magento 2 Infinite Scroll
 
Magento 2 Sequel Logistics
Magento 2 Sequel LogisticsMagento 2 Sequel Logistics
Magento 2 Sequel Logistics
 
Magento 2 CBK T-Pay
Magento 2 CBK T-PayMagento 2 CBK T-Pay
Magento 2 CBK T-Pay
 
Magento 2 Size Chart
Magento 2 Size ChartMagento 2 Size Chart
Magento 2 Size Chart
 
Magento 2 Inventory Report
Magento 2 Inventory ReportMagento 2 Inventory Report
Magento 2 Inventory Report
 
Magento 2 facebook Store Integration
Magento 2 facebook Store IntegrationMagento 2 facebook Store Integration
Magento 2 facebook Store Integration
 
Magento Cookie Notice
Magento Cookie NoticeMagento Cookie Notice
Magento Cookie Notice
 
Magento Order Verification
Magento Order VerificationMagento Order Verification
Magento Order Verification
 
Magento Facebook Chat
Magento Facebook ChatMagento Facebook Chat
Magento Facebook Chat
 
Magento WhatsApp Notifications
Magento WhatsApp NotificationsMagento WhatsApp Notifications
Magento WhatsApp Notifications
 
Magento 2 Saved Credit Card
Magento 2 Saved Credit CardMagento 2 Saved Credit Card
Magento 2 Saved Credit Card
 
Magento 2 Rave Payment Gateway
Magento 2 Rave Payment GatewayMagento 2 Rave Payment Gateway
Magento 2 Rave Payment Gateway
 
Magento 2 Email Attachments
Magento 2 Email AttachmentsMagento 2 Email Attachments
Magento 2 Email Attachments
 
Magento 2 Maintenance Page
Magento 2 Maintenance PageMagento 2 Maintenance Page
Magento 2 Maintenance Page
 
Magento 2 Call for Price
Magento 2 Call for PriceMagento 2 Call for Price
Magento 2 Call for Price
 
Magento 2 SMS Notification
Magento 2 SMS NotificationMagento 2 SMS Notification
Magento 2 SMS Notification
 
Instagram Extension for Magento
Instagram Extension for MagentoInstagram Extension for Magento
Instagram Extension for Magento
 

Recently uploaded

Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
FIDO Alliance
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
panagenda
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
UXDXConf
 

Recently uploaded (20)

The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties ReimaginedEasier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 

Magento 2 QuickBooks Online Integration

  • 1. QuickBooks Online Integration for Magento 2 © Meetanshi QuickBooks Online Integration for Magento 2 User Guide Table of Content 1. Extension Installation Guide 2. QuickBooks API Configuration 3. Configuration 4. Account Type Settings 5. Customer Synchronization Settings 6. Products Synchronization Settings 7. Orders Synchronization Settings 8. Invoices Synchronization Settings 9. Credit Memos Synchronization Settings 10. Tax and Country Settings 11. Developer Settings 12. Payment Methods Mapping 13. Tax Mapping 14. Sync Queue 15. History Logs 16. Synchronized Products in QuickBooks 17. Customers, Orders, Invoices, Credit Memos Grid after Synchronization
  • 2. QuickBooks Online Integration for Magento 2 © Meetanshi 1. Extension Installation • For Magento Marketplace Customers o Find the Composer name and version of the extension in the extension’s composer.json file. o Login to your SSH and run: ▪ composer require meetanshi/magento-2-quickbooks-online-integration ▪ composer require quickbooks/v3-php-sdk o Enter your authentication keys. Your public key is your username; your private key is your password. o Wait for Composer to finish updating your project dependencies and make sure there aren’t any errors. o To verify that the extension installed properly, run the command: ▪ php bin/magento module:status Meetanshi_QBOnline o By default, the extension is probably disabled. o Enable the extension and clear static view files: ▪ php bin/magento module:enable Meetanshi_QBOnline --clear-static-content ▪ php bin/magento setup:upgrade ▪ For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy ▪ For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f ▪ php bin/magento cache:flush • For Meetanshi Customers o Extract the zip folder and upload our extension to the root of your Magento 2 directory via FTP. o Login to your SSH and run below commands step by step: ▪ composer require quickbooks/v3-php-sdk ▪ php bin/magento setup:upgrade ▪ For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy ▪ For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f ▪ php bin/magento cache:flush Note: 1. Make sure to configure the cron job to make the extension work smoothly. 2. Before configuring the extension, go to QuickBooks Online Settings > Sales > Sales Form Content, and turn the checkbox ON for Shipping as shown here. 3. As PaymentMethod.php file is unavailable while installing the extension using composer command, download the PaymentMethod.php file from Github and put it to MAGENTO_ROOT/vendor/quickbooks/v3-php-sdk/src/Facades.
  • 3. QuickBooks Online Integration for Magento 2 © Meetanshi 2. QuickBooks API Configuration Prior to configuring the extension, you need to configure the payment gateway for the API connection. • First of all, go to https://accounts.intuit.com/index.html and login with your QuickBooks Online Integration account credentials. Move to the dashboard and click on the Apps where you can find apps if you have already added. Click “Create an App” to create a new app if you haven’t created already. Click on the payment app you created to get the client ID, client secret and add redirect URL. • From here, click on “Keys and OAth” under the development/production mode. The values under the client ID and client secret fields need to be copied and added to your Magento 2 extension configuration. Also, add the redirect URL as https://yoursite.com/qbmspayment/connection/success and save the URL.
  • 4. QuickBooks Online Integration for Magento 2 © Meetanshi 3. Configuration For configuring the extension, login to Magento 2, move to Stores → Configuration → Meetanshi → QuickBooks Online Integration, where you can find various settings to configure the extension. • QuickBooks Online Integration: Enable or disable QuickBooks Online Integration extension from here. • Sandbox Mode: Set YES to enable sandbox mode for the QuickBooks Online Integration. • Client ID: Enter the client ID you have copied from the QuickBooks admin panel. • Client Secret: Enter the client secret you have copied from the QuickBooks admin panel.
  • 5. QuickBooks Online Integration for Magento 2 © Meetanshi • After configuring the settings, save the configuration and click “Connect to QuickBooks” for the API connectivity. You will get a new window to sign in with the QuickBooks credentials. • Once you are signed in, the API will ask to select the company.
  • 6. QuickBooks Online Integration for Magento 2 © Meetanshi • After the company selection, you will get the API connection success message. • After the API gets connected, close the window and refresh the Magento 2 configuration page and you can see the “Connection Status” as connected.
  • 7. QuickBooks Online Integration for Magento 2 © Meetanshi 4. Account Type Settings Click “Fetch All Accounts” to fetch and set 3 account types i.e asset account, expense account and income account. If accounts don’t get auto selected, you have to set them manually. 5. Customer Synchronization Settings To synchronize the Magento 2 customers with the QuickBooks API, configure the settings below. • Sync Mode: Select how you want to synchronize Magento 2 customers to QuickBooks. o Immediately: Syncs customers immediately on account creation. o Cron Job: Syncs customers on cron job run time and frequency. ▪ Frequency: Select cron job frequency to automate customer sync with QuickBooks. ▪ Start Time: Set start time of the cron job based on the set frequency.
  • 8. QuickBooks Online Integration for Magento 2 © Meetanshi 6. Products Synchronization Settings To synchronize the Magento 2 products with the QuickBooks API, configure the settings below. • Sync Mode: Select how you want to synchronize Magento 2 products to QuickBooks. o Immediately: Syncs products immediately on creation. o Cron Job: Syncs products on cron job run time and frequency. ▪ Frequency: Select cron job frequency to automate products sync with QuickBooks. ▪ Start Time: Set start time of the cron job based on the set frequency. • Sync Product Name: Select what you want to set as product name for QuickBooks products. • Sync Product Description: Select what you want to set as product description for QuickBooks products. • Track Product Inventory: Select YES to track product inventory in QuickBooks. • Strip HTML: Select YES to strip HTML tags from product description. 7. Orders Synchronization Settings To synchronize the Magento 2 orders with the QuickBooks API, configure the settings below. • Sync Mode: Select how you want to synchronize Magento 2 orders to QuickBooks. o Immediately: Syncs orders immediately on placement. o Cron Job: Syncs orders on cron job run time and frequency. ▪ Frequency: Select cron job frequency to automate orders sync with QuickBooks. ▪ Start Time: Set start time of the cron job based on the set frequency. • Order Prefix: Enter order prefix for order reference in QuickBooks.
  • 9. QuickBooks Online Integration for Magento 2 © Meetanshi 8. Invoices Synchronization Settings To synchronize the Magento 2 invoices with the QuickBooks API, configure the settings below. • Sync Mode: Select how you want to synchronize Magento 2 invoices to QuickBooks. o Immediately: Syncs invoices immediately on generation. o Cron Job: Syncs invoices on cron job run time and frequency. ▪ Frequency: Select cron job frequency to automate invoices sync with QuickBooks. ▪ Start Time: Set start time of the cron job based on the set frequency. 9. Credit Memos Synchronization Settings To synchronize the Magento 2 credit memos with the QuickBooks API, configure the settings below. • Sync Mode: Select how you want to synchronize Magento 2 credit memos to QuickBooks. o Immediately: Syncs credit memos immediately on generation. o Cron Job: Syncs credit memos on cron job run time and frequency. ▪ Frequency: Select cron job frequency to automate credit memos sync with QuickBooks. ▪ Start Time: Set start time of the cron job based on the set frequency. • Credit Memo Prefix: Enter credit memo prefix for credit memo reference in QuickBooks. 10.Tax and Country Settings Set tax country to sync tax class with QuickBooks. 11.Developer Settings Select YES to enable debug log.
  • 10. QuickBooks Online Integration for Magento 2 © Meetanshi 12.Payment Methods Mapping After the configuration settings, move to QuickBooks Online Integration → Payment Methods Mapping to map Magento 2 payment methods with QuickBooks. First of all, click “Add All Payment Methods” button to add all the Magento 2 payment methods to the list in the grid and then, click “Synchronize” to sync each payment method with QuickBooks API. • To see the mapped payment methods in QuickBooks, from the QuickBooks dashboard, click on Settings → Lists → All Lists → Payment Methods where you can see all the mapped payment methods.
  • 11. QuickBooks Online Integration for Magento 2 © Meetanshi 13.Tax Mapping Move to QuickBooks Online Integration → Tax Mapping to map Magento 2 tax classes with QuickBooks. First of all, click “Add All Tax Code” button to add all the Magento 2 tax codes to the list in the grid and then, click “Synchronize” to sync each tax code with QuickBooks API. • To see the mapped tax codes in QuickBooks, from the QuickBooks dashboard, click on Taxes from the sidebar where you can see all the mapped tax codes.
  • 12. QuickBooks Online Integration for Magento 2 © Meetanshi 14. Sync Queue If your store is already having customers, products, orders, invoices, credit memos and want all of them to sync with QuickBooks after the extension installation, move to QuickBooks Online Integration → Sync Queue. Click “Add Customers”, “Add Products”, “Add Orders”, “Add Invoices”, “Add Credit Memos” one by one in the same order as mentioned to add all here in the sync queue. Click on “Synchronization” button to sync them gradually with QuickBooks.
  • 13. QuickBooks Online Integration for Magento 2 © Meetanshi 15.History Logs After synchronization is done, the status of each entity is shown with the details on the separate grid in backend at QuickBooks Online Integration → History Logs. If the data is synchronized right, the status will be success else if there’s problem during data sync, it will show error status.
  • 14. QuickBooks Online Integration for Magento 2 © Meetanshi 16.Synchronized Products in QuickBooks After successful synchronization of Magento 2 products, move to Sales → Products and Services from the QuickBooks dashboard where you can see all the products listed.
  • 15. QuickBooks Online Integration for Magento 2 © Meetanshi 17.Customers, Orders, Invoices, Credit Memos Grid after Synchronization After synchronization of customers, orders, invoices and credit memos in QuickBooks, if you check the backend grid of individual, you can see QBO ID for each entity. • Customers Grid with QBO Customer ID After the successful synchronization of customers to QuickBooks, move to Customers → All Customers to see QBO customer ID. The admin can select multiple customers and use “Sync to QuickBooks” mass action to sync them manually.
  • 16. QuickBooks Online Integration for Magento 2 © Meetanshi  To see the mapped customers in QuickBooks, from the QuickBooks dashboard, click on Sales → Customers.
  • 17. QuickBooks Online Integration for Magento 2 © Meetanshi • Orders Grid with QBO Order ID After the successful synchronization of orders to QuickBooks, move to Sales → Orders to see QBO order ID. The admin can select multiple orders and use “Sync to QuickBooks” mass action to sync them manually. • Invoices Grid with QBO Invoice ID After the successful synchronization of invoices to QuickBooks, move to Sales → Invoices to see QBO invoice ID. The admin can select multiple invoices and use “Sync to QuickBooks” mass action to sync them manually.
  • 18. QuickBooks Online Integration for Magento 2 © Meetanshi  To see the mapped orders and invoices in QuickBooks, from the QuickBooks dashboard, click on Sales → All Sales → Invoices.
  • 19. QuickBooks Online Integration for Magento 2 © Meetanshi • Credit Memos Grid with QBO Credit Memo ID After the successful synchronization of credit memos to QuickBooks, move to Sales → Credit Memos to see QBO credit memo ID. The admin can select multiple credit memos and use “Sync to QuickBooks” mass action to sync them manually.