@if($integration && $integration->isActive())
Connected! Your WooCommerce store is connected and active.
Site URL: {{ $integration->site_url }}
Disconnecting will remove all webhooks and stop receiving order notifications.
Your WooCommerce integration is connected and ready to receive order notifications.
@else
How to get your WooCommerce API credentials:
- Log in to your WordPress admin panel
- Go to WooCommerce > Settings > Advanced > REST API
- Click "Add key"
- Give your key a description (e.g., "WhatsApp Notifications")
- Set the following permissions:
- Read: Orders, Customers, Products
- Write: Orders (if needed for status updates)
- Click "Generate API key"
- Copy the "Consumer key" and "Consumer secret"
- Paste them in the form above
Note: Make sure your WooCommerce store has the REST API enabled and is accessible via HTTPS.
@endif