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,9 @@
Title: Merci pour votre commande
----
Text:
Votre commande a été confirmée ! Vous allez recevoir un email de confirmation sous peu.
Merci pour votre achat.

View file

@ -0,0 +1,9 @@
Title: Thank you for your order
----
Text:
Your order has been confirmed! You will receive a confirmation email shortly.
Thank you for your purchase.