Complete WooSync Setup Guide — From Install to First Sync

Before You Start

You’ll need:

  • Perfex CRM 3.4.0 or later
  • At least one WooCommerce store with REST API enabled
  • Admin access to both systems

Total setup time: 10–15 minutes.

Step 1: Install the Module

    WooSync creates 16 database tables automatically on activation — no manual SQL needed.

    Step 2: Generate WooCommerce API Keys

      Step 3: Add Your Store in Perfex CRM

        Step 4: Configure Webhooks (Real-Time Sync)

        After saving your store, edit it to see the Webhook Delivery URL and Webhook Secret.

        In WooCommerce:

          • Go to Settings → Advanced → Webhooks
          • Create webhooks for these events:

        EventTopic
        Order createdorder.created
        Order updatedorder.updated
        Product createdproduct.created
        Product updatedproduct.updated
        Customer createdcustomer.created
        Customer updatedcustomer.updated

            Step 5: Configure Background Cron

            WooSync uses Perfex CRM’s built-in cron.php for delta sync. Ensure your server runs it regularly:

            cPanel/DirectAdmin:

            /5    * wget -q -O- https://your-perfex.com/cron.php
            

            For localhost/Windows development:

              • Go to WooSync → Settings
              • Enable Debug Mode
              • WooSync will trigger pseudo-cron automatically when you browse the admin panel

            Step 6: Run Your First Sync

              Step 7: Configure Tax Mapping (Optional)

              If you use auto-invoicing and your WooCommerce store has tax rates:

                Verify Everything Works

                After setup, check:

                • Stores: Connection status shows green
                • Products: Your WooCommerce products appear in WooSync → Products
                • Orders: Recent orders are synced with correct totals
                • Customers: Buyers are linked to Perfex Clients
                • Logs: WooSync → Logs shows success entries
                • Webhooks: Create a test order in WooCommerce — it should appear in WooSync within seconds

                Troubleshooting

                IssueSolution
                Connection test failsVerify API keys, check URL, ensure REST API is enabled in WooCommerce
                Webhooks not arrivingCheck WooCommerce webhook delivery logs, verify URL accessibility
                Orders not syncingEnsure cron is running, check WooSync Logs for errors
                Debug mode not workingClear browser cache, verify Debug Mode is enabled in Settings

                Setup complete. Your WooCommerce store is now connected to Perfex CRM.


                Comments

                Leave a Reply

                Your email address will not be published. Required fields are marked *