From 7fbc7c1302478e4193e6990aa0c75a78861c534a Mon Sep 17 00:00:00 2001 From: dwindown Date: Mon, 22 Dec 2025 22:32:53 +0700 Subject: [PATCH] Fix shortcode URLs to use actual application routes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🔧 Fixed URLs: - {thank_you_page} now points to actual /access route (Member Access page) - {payment_link} now points to /checkout route instead of dummy URL ✅ Based on real app flow analysis: - After successful payment, users are redirected to /access (MemberAccess.tsx) - Payment initiation happens through /checkout page - These routes are verified in App.tsx routing configuration This ensures email templates use real, functional URLs that match the actual application flow. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- src/lib/email-templates/master-template.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/email-templates/master-template.ts b/src/lib/email-templates/master-template.ts index aca05bc..5706ff6 100644 --- a/src/lib/email-templates/master-template.ts +++ b/src/lib/email-templates/master-template.ts @@ -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/payment/ORD-123456', - thank_you_page: 'https://accesshub.example.com/thank-you/ORD-123456' + payment_link: 'https://accesshub.example.com/checkout', + thank_you_page: 'https://accesshub.example.com/access' }; static process(content: string, customData: Record = {}): string {