html.surf
Sign in
Docs /WooCommerce Integration Dashboard →

WooCommerce Integration

Seamlessly deliver digital products through Continuata when customers purchase from your WordPress/WooCommerce store.

Integration Methods

Choose the integration method that best fits your WordPress setup:

WordPress Plugin (Recommended)

Official plugin that integrates directly with WooCommerce.

  • Easy setup and configuration
  • Automatic SKU mapping
  • Built-in email templates
  • WordPress admin integration

Webhook Integration

Direct webhook setup for custom implementations.

  • More technical setup
  • Greater customisation
  • Custom order processing
  • Advanced filtering options

Webhook Setup

For advanced users who prefer direct webhook integration:

Step 1: Configure Webhook Endpoint

Add this to your theme's functions.php or a custom plugin:

add_action('woocommerce_order_status_completed', function($order_id) {
    $order = wc_get_order($order_id);

    // Only process orders with digital products
    if (!$order->has_downloadable_item()) return;

    $webhook_data = [
        'order_id' => $order_id,
        'customer_email' => $order->get_billing_email(),
        'customer_name' => $order->get_billing_first_name() . ' ' . $order->get_billing_last_name(),
        'items' => []
    ];

    foreach ($order->get_items() as $item) {
        $product = $item->get_product();
        if ($product && $product->is_downloadable()) {
            $webhook_data['items'][] = [
                'sku' => $product->get_sku(),
                'name' => $product->get_name(),
                'quantity' => $item->get_quantity()
            ];
        }
    }

    // Send to Continuata webhook
    wp_remote_post('https://continuata.io/webhooks/YOUR_ORG_ID/woocommerce', [
        'body' => json_encode($webhook_data),
        'headers' => [
            'Content-Type' => 'application/json',
            'X-WooCommerce-Signature' => hash_hmac('sha256', json_encode($webhook_data), 'your_webhook_secret')
        ]
    ]);
});

Step 2: Configure SKU Mapping

Map WooCommerce product SKUs to Continuata products from each product's detail page — open a product in your Continuata dashboard and add a mapping in the External Mappings panel using vendor WooCommerce and the WooCommerce SKU as the external key.

Email Templates

Customise how download links are delivered to customers:

Plugin Email Template

Branded emails sent directly from WordPress.

  • Matches your site branding
  • Integrates with WooCommerce emails
  • Customisable via WordPress admin

Continuata Email Service

Professional transactional emails from Continuata.

  • High deliverability rates
  • Professional templates
  • Automatic retry logic

Testing Your Integration

Test Checklist

  • Create a test digital product in WooCommerce
  • Map it to a Continuata product
  • Place a test order and complete payment
  • Verify download token is generated
  • Test the download link functionality
  • Check that email delivery works (if configured)

Need Help? Configure your webhook endpoint in Settings → Integrations or contact support@continuata.com for assistance.