Add thank you page and fix webhook stock update
All checks were successful
Deploy / Deploy to Production (push) Successful in 7s

- Create thank you page template with bilingual content (FR/EN)
- Add automatic redirect to /thanks after successful payment
- Fix webhook: move kirby()->impersonate() before product update
- Add error handling in webhook with try-catch
- Pass order token to thank you page for future enhancements
- Update thank you page styling for better UX

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
isUnknown 2025-12-19 17:37:34 +01:00
parent f7a69482fc
commit 1aa64a7396
9 changed files with 137 additions and 42 deletions

View file

@ -0,0 +1,16 @@
title:
en: Thank you
fr: Merci
icon: check
tabs:
content:
label:
en: Content
fr: Contenu
fields:
text:
label:
en: Message
fr: Message
type: writer