Add n8n test mode toggle and edge function improvements

- Add test/production toggle for n8n webhook URLs in IntegrasiTab
- Update create-meet-link function to use database test_mode setting
- Add send-email-v2 edge function for Mailketing API integration
- Update daily-reminders and send-consultation-reminder to use send-email-v2
- Remove deprecated branding field from BrandingTab
- Update domain references from hub.dwindi.com to with.dwindi.com
- Add environment variables for Coolify deployment
- Add comprehensive edge function test script
- Update payment flow redirect to order detail page

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
dwindown
2025-12-23 00:24:40 +07:00
parent f1cc2ba3f7
commit dfda71053c
11 changed files with 385 additions and 49 deletions

View File

@@ -32,9 +32,10 @@ deploy_function() {
# Deploy all functions
deploy_function "pakasir-webhook"
deploy_function "send-test-email"
deploy_function "create-meet-link"
deploy_function "create-meet-link" # Includes n8n test mode toggle
deploy_function "send-consultation-reminder"
deploy_function "send-notification"
deploy_function "send-email-v2"
deploy_function "daily-reminders"
echo "Deployment complete!"