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:
@@ -357,7 +357,7 @@ export class ShortcodeProcessor {
|
||||
total: 'Rp 1.500.000',
|
||||
metode_pembayaran: 'Transfer Bank',
|
||||
status_pesanan: 'Diproses',
|
||||
invoice_url: 'https://example.com/invoice/ORD-123456',
|
||||
invoice_url: 'https://with.dwindi.com/orders/ORD-123456',
|
||||
|
||||
// Product information
|
||||
produk: 'Digital Marketing Masterclass',
|
||||
@@ -366,7 +366,7 @@ export class ShortcodeProcessor {
|
||||
deskripsi_produk: 'Kelas lengkap digital marketing dari pemula hingga mahir',
|
||||
|
||||
// Access information
|
||||
link_akses: 'https://example.com/access',
|
||||
link_akses: 'https://with.dwindi.com/access',
|
||||
username_akses: 'john.doe',
|
||||
password_akses: 'Temp123!',
|
||||
kadaluarsa_akses: '22 Desember 2026',
|
||||
@@ -383,7 +383,7 @@ export class ShortcodeProcessor {
|
||||
judul_event: 'Workshop Digital Marketing',
|
||||
tanggal_event: '25 Desember 2025',
|
||||
jam_event: '19:00',
|
||||
link_event: 'https://event.example.com',
|
||||
link_event: 'https://with.dwindi.com/events',
|
||||
lokasi_event: 'Zoom Online',
|
||||
kapasitas_event: '100 peserta',
|
||||
|
||||
@@ -392,12 +392,12 @@ export class ShortcodeProcessor {
|
||||
progres_bootcamp: '75%',
|
||||
modul_selesai: '15 dari 20 modul',
|
||||
modul_selanjutnya: 'Final Assessment',
|
||||
link_progress: 'https://example.com/progress',
|
||||
link_progress: 'https://with.dwindi.com/bootcamp/progress',
|
||||
|
||||
// Company information
|
||||
nama_perusahaan: 'ACCESS HUB',
|
||||
website_perusahaan: 'https://accesshub.example.com',
|
||||
email_support: 'support@accesshub.example.com',
|
||||
website_perusahaan: 'https://with.dwindi.com',
|
||||
email_support: 'support@with.dwindi.com',
|
||||
telepon_support: '+62 812-3456-7890',
|
||||
|
||||
// Payment information
|
||||
@@ -406,8 +406,8 @@ export class ShortcodeProcessor {
|
||||
atas_nama: 'PT Access Hub Indonesia',
|
||||
jumlah_pembayaran: 'Rp 1.500.000',
|
||||
batas_pembayaran: '22 Desember 2025 23:59',
|
||||
payment_link: 'https://accesshub.example.com/checkout',
|
||||
thank_you_page: 'https://accesshub.example.com/orders/{order_id}'
|
||||
payment_link: 'https://with.dwindi.com/checkout',
|
||||
thank_you_page: 'https://with.dwindi.com/orders/{order_id}'
|
||||
};
|
||||
|
||||
static process(content: string, customData: Record<string, string> = {}): string {
|
||||
|
||||
Reference in New Issue
Block a user