WCC MS Dynamic For WooCommerce

This extension 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 extension, 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).

Installation

โ†‘ Back to top

To start using a product from WooCommerce.com, you can use the โ€œAdd to storeโ€ functionality on the order confirmation page or the My subscriptions section in your account.

  1. Navigate to My subscriptions.
  2. Find the Add to store button next to the product youโ€™re planning to install.
  3. 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.

Adding a WooCommerce.com subscription to your store

Step 2: Dynamics BC Authentication Process

โ†‘ Back to top

To 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
  • 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 extension settings

โ†‘ Back to top
  • From your store’s WP Admin dashboard, navigate toย Configuration > Add New Account.

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 site, and the extension will display a success message.

Step 4: Map WooCommerce Fields to Dynamics BC

โ†‘ Back to top
  • Navigate toย Integration.
  • 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 via 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 extensionโ€™s logs for error messages.

Related Products

Offer add-ons like gift wrapping, special messages or other special options for your products.

Offer personalized product bundles, bulk discount packages, and assembledย products.