TechGigs WhatsApp Gateway
WooCommerce & Multi-App Hub
Checking WhatsApp...
Admin: 918780302089
๐Ÿ“ฑ WhatsApp Bot Connection
Baileys multi-file authenticated session
Generating QR code...

1. Open WhatsApp on your phone
2. Tap Linked Devices > Link a Device
3. Point your camera at this QR code to connect

๐Ÿ›๏ธ WooCommerce Store Integration
Connect Dhokla House or any WooCommerce site
WooCommerce Order Webhook Endpoint
https://whatsapp.techgigs.in/api/woocommerce?apiKey=tg_wa_sec_8780302089_techgigs
API Secret Key
tg_wa_sec_8780302089_techgigs

If using TG Dussehra WhatsApp Settings (in WP-Admin):

WhatsApp API URL: https://whatsapp.techgigs.in/api/send-message
Admin WhatsApp:   918780302089
API Secret Key:   tg_wa_sec_8780302089_techgigs
โœ… Enable Order Notifications: Checked
โœ… Send to Admin: Checked
โœ… Send to Customer: Checked

Add this PHP snippet in WPCode > + Add Snippet (Run Everywhere, PHP Snippet). This guarantees 100% automated delivery on every order:

add_action('woocommerce_order_status_processing', 'tg_send_order_whatsapp', 10, 1);
add_action('woocommerce_thankyou', 'tg_send_order_whatsapp', 10, 1);

function tg_send_order_whatsapp($order_id) {
    if (!$order_id) return;
    $order = wc_get_order($order_id);
    if (!$order || get_post_meta($order_id, '_tg_wa_sent', true)) return;

    $items = [];
    foreach ($order->get_items() as $item) {
        $items[] = ['name' => $item->get_name(), 'quantity' => $item->get_quantity(), 'total' => $item->get_total()];
    }

    $payload = [
        'id' => $order_id,
        'billing' => ['first_name' => $order->get_billing_first_name(), 'last_name' => $order->get_billing_last_name(), 'phone' => $order->get_billing_phone(), 'email' => $order->get_billing_email()],
        'total' => $order->get_total(),
        'payment_method_title' => $order->get_payment_method_title(),
        'store_name' => get_bloginfo('name'),
        'line_items' => $items,
        'apiKey' => 'tg_wa_sec_8780302089_techgigs'
    ];

    $response = wp_remote_post('https://whatsapp.techgigs.in/api/woocommerce?apiKey=tg_wa_sec_8780302089_techgigs', [
        'headers' => ['Content-Type' => 'application/json'],
        'body'    => json_encode($payload),
        'timeout' => 15,
    ]);

    if (!is_wp_error($response)) {
        update_post_meta($order_id, '_tg_wa_sent', 1);
    }
}

In WooCommerce > Settings > Advanced > Webhooks:

Name: WhatsApp Order Notification
Status: Active
Topic: Order created (or Order updated)
Delivery URL: https://whatsapp.techgigs.in/api/woocommerce?apiKey=tg_wa_sec_8780302089_techgigs
Secret: tg_wa_sec_8780302089_techgigs
API Version: WP REST API Integration v3
๐Ÿงช WooCommerce Order Simulator
Simulate a customer placing an order (Dhokla House)
๐Ÿ’ฌ Direct WhatsApp Message
Send custom text message to any phone number
๐Ÿ“œ Real-time Dispatch & Webhook Logs
Live trace of orders received from WooCommerce and sent over WhatsApp
Time (IST) Type Order / Ref Customer Admin Status Customer Status Summary
No dispatches recorded yet. Place an order or use the simulator above.
Message