POST /widerruf (host-agnostisch, throttled, Honeypot, eigener withdrawal-Error-Bag): persistiert nur Zuordnungsdaten (Name, E-Mail, optionale Bestellnummer - KEIN Grund, darf nicht verlangt werden) und versendet sofort die gesetzlich vorgeschriebene automatische Eingangsbestaetigung mit Zeitstempel an den Verbraucher plus eine interne Benachrichtigung an die Brand-Kontaktadresse des Hosts. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
36 lines
1.5 KiB
PHP
36 lines
1.5 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Neuer Online-Widerruf</title>
|
|
<style>
|
|
body { font-family: Arial, sans-serif; line-height: 1.6; color: #333; max-width: 600px; margin: 0 auto; padding: 20px; }
|
|
.meta { background: #fef2f2; border-left: 4px solid #dc2626; padding: 12px 16px; margin: 16px 0; }
|
|
.meta dt { font-weight: bold; color: #111; }
|
|
.meta dd { margin: 0 0 8px; }
|
|
.note { font-size: 13px; color: #666; border-top: 1px solid #eee; padding-top: 12px; margin-top: 24px; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Über den Widerrufsbutton auf <strong>{{ $withdrawalRequest->host }}</strong> ist ein neuer Widerruf eingegangen:</p>
|
|
|
|
<dl class="meta">
|
|
<dt>Vorgangsnummer</dt>
|
|
<dd>W-{{ $withdrawalRequest->id }}</dd>
|
|
<dt>Name</dt>
|
|
<dd>{{ $withdrawalRequest->name }}</dd>
|
|
<dt>E-Mail</dt>
|
|
<dd><a href="mailto:{{ $withdrawalRequest->email }}">{{ $withdrawalRequest->email }}</a></dd>
|
|
<dt>Bestell-/Rechnungsnummer</dt>
|
|
<dd>{{ $withdrawalRequest->order_reference ?: '— nicht angegeben —' }}</dd>
|
|
<dt>Eingegangen</dt>
|
|
<dd>{{ $withdrawalRequest->created_at->format('d.m.Y H:i') }} Uhr</dd>
|
|
</dl>
|
|
|
|
<p class="note">
|
|
Die Eingangsbestätigung an den Verbraucher wurde automatisch versendet.
|
|
Bitte den Vorgang dem Vertrag zuordnen und die Rückabwicklung anstoßen
|
|
(gesetzliche Frist beachten).
|
|
</p>
|
|
</body>
|
|
</html>
|