Introduction
↑ Back to topThis plugin integrates WooCommerce with Dynamics BC, allowing users to automatically send form entries to Dynamics BC as new Contacts and Orders records. This document provides a comprehensive guide for setting up and using the plugin, including how to configure Dynamics BC API authentication.
Prerequisites
↑ Back to top- A WordPress website with WooCommerce installed and activated.
- Access to the Dynamics BC platform.
- Administrator access to your WordPress site.
- API credentials from Azure (Tenant , Client ID , Client Secret and Authorization Code).
Step 1: Installation
↑ Back to topThe easiest way to start using a product from WooCommerce.com is to use the “Add to store” functionality in the order confirmation page or the My Subscriptions section in your account.
- Navigate to My Subscriptions
- Find the “Add to store” button next to the product you’re planning to install
- Follow the instructions on the screen, and the product will be automatically added to your store.
Alternative options and more information at:
Managing WooCommerce.com subscriptions.
Step 2: Dynamics BC Authentication Process
↑ Back to topTo use the Dynamics BC API, you need to create a Azure Developer App and obtain the Tenant , Client ID , Client Secret and Authorization Code.
Creating a Dynamics BC Developer App
↑ Back to top- Log in to your Azure account.
- Navigate to Developer Apps.

- Click Create New App.
- Fill out the following fields:
- App Name: Enter a name for your application (e.g., “WooCommerce Integration”).
- App Description: Provide a brief description (e.g., “Integrates WooCommerce with Dynamics BC”).
- Redirect URL: Enter the redirect URL provided by the plugin (found in the plugin settings page in WordPress).
- Scope: Select Scope Read And Write Both ( Contacts , General , Custom actions , Grants ).

- Click Save.
- Copy the Tenant , Client ID and Client Secret displayed after saving the app.

Step 3: Configure the Plugin Settings
↑ Back to top- Go to Configuration > Add New Account in your Plugin At Admin Side.

Enter the Tenant , Client ID and Client Secret obtained from Dynamics BC And Press Add Button.

Click Genarate Authorization Code. This will redirect you to Dynamics BC’s login page.

Log in and grant access to the application.

Once authorized, you will be redirected back to your WordPress site, and the plugin will display a success message.
Step 4: Map WooCommerce Fields to Dynamics BC
↑ Back to top- Navigate to Integration in Our Plugin.
- Click on Add New Integration.

Map the WooCommerce fields to the corresponding Dynamics BC fields (e.g., First Name, Last Name, Email, etc.).

Save the mapping.
Step 5: Test the Integration
↑ Back to top- Submit a test entry in your WooCommerce.
- Log in to Dynamics BC and verify that the entry has been added correctly.

Troubleshooting
↑ Back to top- Authorization Error: Ensure the Tenant , Client ID , Client Secret, Authorization Code, and Redirect URL are correct.
- Data Not Syncing: Verify that field mappings are correctly set up.
- Debug Logs: Check the plugin’s logs for error messages.
