Aller au contenu principal

Intégration WooCommerce

WooCommerce Integration with CODRocket

If you run a WordPress website with WooCommerce for your online store, CODRocket's WooCommerce integration allows you to automatically sync COD orders, manage inventory, and streamline your fulfillment workflow. This guide covers the complete setup process, features, and troubleshooting tips.

Guide du centre d'aide CODRocket - Intégration WooCommerce

Prerequisites

Before setting up the integration, ensure you have:

  • A WordPress website with WooCommerce 7.0 or higher installed and activated
  • An active CODRocket account on the Starter plan or higher
  • Admin access to both your WordPress dashboard and CODRocket
  • WooCommerce REST API enabled (it is enabled by default in recent versions)

Step 1: Generate WooCommerce 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: "CODRocket Integration"
  5. Set the user to your admin account
  6. Set permissions to "Read/Write"
  7. Click "Generate API Key"
  8. Copy both the Consumer Key and Consumer Secret — you will not be able to see the secret again

Step 2: Connect in CODRocket

  1. In CODRocket, go to Settings > Integrations
  2. Click "Connect" next to WooCommerce
  3. Enter your store URL (e.g., https://yourdomain.com)
  4. Paste the Consumer Key and Consumer Secret
  5. Click "Test Connection" to verify everything works
  6. Click "Save" to activate the integration

Sync Settings

Configure how orders are synced between WooCommerce and CODRocket:

  • Auto-Import New Orders: When enabled, new WooCommerce COD orders are automatically imported into CODRocket within minutes of being placed
  • Order Status Sync: Status changes in CODRocket (confirmed, shipped, delivered) are pushed back to WooCommerce to keep both platforms in sync
  • Product Sync: Optionally sync your WooCommerce product catalog to CODRocket for consistent product references
  • Inventory Sync: Keep stock levels synchronized between WooCommerce and CODRocket to prevent overselling

Order Flow with WooCommerce

Once integrated, the typical order flow is:

  1. Customer places a COD order on your WooCommerce store
  2. Order automatically appears in CODRocket with status "New"
  3. Your team confirms the order in CODRocket
  4. Order is processed, shipped, and tracked in CODRocket
  5. Delivery status updates are pushed back to WooCommerce
  6. Customer sees order status updates on your WooCommerce order tracking page

Filtering Imported Orders

You can configure which WooCommerce orders are imported:

  • Payment Method Filter: Import only COD orders (default) or include all payment methods
  • Status Filter: Import orders in specific WooCommerce statuses (e.g., "Processing" only)
  • Date Range: During initial setup, choose whether to import historical orders or start from the connection date

Troubleshooting

  • "Connection Failed": Verify your API keys are correct and have Read/Write permissions. Ensure your site uses HTTPS
  • Orders not syncing: Check that the WooCommerce REST API is accessible. Some security plugins block API access — add CODRocket's IP to your allowlist
  • Duplicate orders: CODRocket uses WooCommerce order IDs to prevent duplicates. If you see duplicates, check your sync settings

For other platform integrations, see Shopify Integration or YouCan Integration. For custom integrations, check the API Documentation.

Support CODRocket

Répond généralement en quelques minutes

Démarrer le chat