summaryrefslogtreecommitdiff
path: root/views/mods/mod_revocation/mail_row.phtml
diff options
context:
space:
mode:
authorRoger Rehnelt <noreply@maennchen1.de>2026-10-03 15:38:49 +0200
committerRoger Rehnelt <noreply@maennchen1.de>2026-10-03 15:38:49 +0200
commitf786f0c59d9a95d6829aaf58d99c882a609355ed (patch)
tree3b6e97793ed5c1eaffcc06dbecd94f62f55f8287 /views/mods/mod_revocation/mail_row.phtml
parent6b03b7e7a5b47b52ea5d5b6aae2efb945f4dd686 (diff)
Widerrufsformular: Bestätigung ohne Bestelldaten, Name und Schlüssel
Jeder Widerruf wird angenommen; die Eingangsbestätigung an die eingetragene Adresse enthält nur die eigenen Angaben, der Betreiber bekommt die Bestelldaten mit Vermerken. Neues Pflichtfeld Name; der Link aus der Bestellmail bestätigt den Widerruf. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'views/mods/mod_revocation/mail_row.phtml')
-rwxr-xr-xviews/mods/mod_revocation/mail_row.phtml3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/mods/mod_revocation/mail_row.phtml b/views/mods/mod_revocation/mail_row.phtml
index e9db4e4..183d68b 100755
--- a/views/mods/mod_revocation/mail_row.phtml
+++ b/views/mods/mod_revocation/mail_row.phtml
@@ -11,7 +11,8 @@
$amount = $this->view['wpsg_mod_revocation']['amount'];
$order_product_id = intval($this->view['wpsg_mod_revocation']['order_product_id']);
- $revo_url = home_url('/').'?wpsg_revo_order='.urlencode($order_nr).'&wpsg_revo_product='.urlencode($product_nr).'&wpsg_revo_amount='.urlencode($amount);
+ // Schlüssel der Bestellung (S18): bestätigt den Widerruf; keine Nonce, siehe Revocation::orderToken()
+ $revo_url = home_url('/').'?wpsg_revo_order='.urlencode($order_nr).'&wpsg_revo_product='.urlencode($product_nr).'&wpsg_revo_amount='.urlencode($amount).'&wpsg_revo_key='.urlencode((string)($this->view['wpsg_mod_revocation']['key'] ?? ''));
?><?php echo "\n"; ?>
<?php echo wpsg_pad_left(__('Vertrag widerrufen:', 'wpsg').' ', 15); ?> <?php echo $revo_url; ?>