feat(emails): implement transactional email system with Resend
Some checks failed
Build and Deploy / build (push) Has been cancelled

- Add Resend email integration with @react-email/render
- Create email templates: OrderConfirmation, OrderShipped, OrderCancelled, OrderPaid
- Implement webhook handler for ORDER_CREATED and other events
- Add multi-language support for customer emails
- Admin emails in English with order details
- Update checkout page with auto-scroll on order completion
- Configure DASHBOARD_URL environment variable
This commit is contained in:
Unchained
2026-03-25 14:13:34 +02:00
parent ef83538d0b
commit 5576946829
12 changed files with 446 additions and 96 deletions

View File

@@ -345,6 +345,7 @@
"emailRequired": "Erforderlich für Bestellbestätigung",
"phoneRequired": "Erforderlich für Lieferkoordination",
"shippingAddress": "Lieferadresse",
"shippingMethod": "Versandart",
"country": "Land",
"firstName": "Vorname",
"lastName": "Nachname",

View File

@@ -391,6 +391,7 @@
"emailRequired": "Required for order confirmation",
"phoneRequired": "Required for delivery coordination",
"shippingAddress": "Shipping Address",
"shippingMethod": "Shipping Method",
"country": "Country",
"firstName": "First Name",
"lastName": "Last Name",
@@ -417,8 +418,11 @@
"errorNoCheckout": "No active checkout. Please try again.",
"errorEmailRequired": "Please enter a valid email address.",
"errorFieldsRequired": "Please fill in all required fields.",
"errorNoShippingMethods": "No shipping methods available for this address. Please check your address or contact support.",
"errorSelectShipping": "Please select a shipping method.",
"errorOccurred": "An error occurred during checkout.",
"errorCreatingOrder": "Failed to create order.",
"continueToShipping": "Continue to Shipping",
"orderConfirmed": "Order Confirmed!",
"thankYou": "Thank you for your purchase.",
"orderNumber": "Order Number",

View File

@@ -345,6 +345,7 @@
"emailRequired": "Requis pour la confirmation de commande",
"phoneRequired": "Requis pour la coordination de livraison",
"shippingAddress": "Adresse de Livraison",
"shippingMethod": "Méthode de livraison",
"country": "Pays",
"firstName": "Prénom",
"lastName": "Nom",

View File

@@ -391,6 +391,7 @@
"emailRequired": "Potrebno za potvrdu narudžbine",
"phoneRequired": "Potrebno za koordinaciju dostave",
"shippingAddress": "Adresa za dostavu",
"shippingMethod": "Način dostave",
"country": "Država",
"firstName": "Ime",
"lastName": "Prezime",