Fix shortcode URLs to use actual application routes
🔧 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 <noreply@anthropic.com>
This commit is contained in:
@@ -406,8 +406,8 @@ export class ShortcodeProcessor {
|
|||||||
atas_nama: 'PT Access Hub Indonesia',
|
atas_nama: 'PT Access Hub Indonesia',
|
||||||
jumlah_pembayaran: 'Rp 1.500.000',
|
jumlah_pembayaran: 'Rp 1.500.000',
|
||||||
batas_pembayaran: '22 Desember 2025 23:59',
|
batas_pembayaran: '22 Desember 2025 23:59',
|
||||||
payment_link: 'https://accesshub.example.com/payment/ORD-123456',
|
payment_link: 'https://accesshub.example.com/checkout',
|
||||||
thank_you_page: 'https://accesshub.example.com/thank-you/ORD-123456'
|
thank_you_page: 'https://accesshub.example.com/access'
|
||||||
};
|
};
|
||||||
|
|
||||||
static process(content: string, customData: Record<string, string> = {}): string {
|
static process(content: string, customData: Record<string, string> = {}): string {
|
||||||
|
|||||||
Reference in New Issue
Block a user