Changes: 1. AdminConsulting.tsx: Update createMeetLink to call Supabase edge function - Remove dependency on n8n webhook URL - Call create-google-meet-event edge function directly - Use environment variables for Supabase URL and anon key - Improve error handling and user feedback 2. handle-order-paid: Add comprehensive error logging - Log meet response status - Log full response data - Log errors when meet_link update fails - Log error response text when request fails - Better debugging for troubleshooting meet creation issues This fixes: - CORS issues when calling n8n webhook - 404 errors from deleted /webhook-test/create-link endpoint - Manual meet link creation now uses same flow as automatic - Better visibility into meet creation failures via logs 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
11 KiB
11 KiB