guides docs
guides docs

Connect WooCommerce Store

Step-by-step guide to connect your WooCommerce store with WhatAPI for automated WhatsApp notifications.

Connect WooCommerce Store

This guide walks you through connecting your WooCommerce (WordPress) store to WhatAPI.

Prerequisites

  • A WordPress site with WooCommerce installed and activated
  • WhatAPI account with WhatsApp connected
  • Administrator access to your WordPress admin panel

Step 1: Generate API Keys

  1. Log in to your **WordPress Admin** dashboard.
  2. Go to **WooCommerce → Settings → Advanced → REST API**.
  3. Click **Add Key**.
  4. Enter a description (e.g., "WhatAPI Connection").
  5. Select **Read/Write** as the permissions.
  6. Select a user (preferably an administrator).
  7. Click **Generate API Key**.

Step 2: Copy Credentials

After generating, you'll see two important values:

  • Consumer Key — A long alphanumeric string
  • Consumer Secret — Another long alphanumeric string

Important: Copy these immediately. The Consumer Secret will not be shown again.

Step 3: Connect in WhatAPI

  1. Go to your WhatAPI dashboard → **Connect Store**.
  2. Select **WooCommerce** as your platform.
  3. Enter your site URL (e.g., `https://yourstore.com`).
  4. Paste the **Consumer Key** and **Consumer Secret**.
  5. Click **Connect**.

Step 4: Verify Connection

If successful, you'll see a success message and your store URL in the connection status panel. Orders placed in WooCommerce will now trigger WhatsApp notifications.

Troubleshooting

  • Connection refused: Ensure your site URL is correct and includes `https://`.
  • Invalid credentials: Regenerate the API keys in WooCommerce settings.
  • SSL required: Your site must have SSL (HTTPS) enabled.