@extends('layouts.app') @section('title', 'WooCommerce Settings') @section('content') WooCommerce Integration Configure WooCommerce API connection and coupon sync settings.
Configure WooCommerce API connection and coupon sync settings.
Connect to your WooCommerce store using REST API credentials.
Your WooCommerce store URL (without trailing slash)
{{ $message }}
How to get API credentials:
Configure webhook secret for receiving orders from WooCommerce.
Must match the secret configured in WooCommerce webhooks
Webhook URLs for WooCommerce:
{{ url('/api/webhooks/woocommerce/order') }}
{{ url('/api/webhooks/woocommerce/order-updated') }}
Default settings applied when syncing agent coupons to WooCommerce.
For percentage, enter value (e.g., 5 for 5%)
Cannot be combined with other coupons
Coupon won't apply to items on sale
Automatically sync agent coupons to WooCommerce when agents are created or updated.
When enabled, agent coupons will be automatically created/updated in WooCommerce.
Note: Auto-sync requires valid API credentials. Sync errors are logged to storage/logs/webhook-*.log
storage/logs/webhook-*.log