Add thank you page and fix webhook stock update
All checks were successful
Deploy / Deploy to Production (push) Successful in 7s
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:
parent
f7a69482fc
commit
1aa64a7396
9 changed files with 137 additions and 42 deletions
9
content/thanks/thanks.fr.txt
Normal file
9
content/thanks/thanks.fr.txt
Normal 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.
|
||||
9
content/thanks/thanks.txt
Normal file
9
content/thanks/thanks.txt
Normal 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue