summaryrefslogtreecommitdiff
path: root/views/mods/mod_revocation/mail_row.phtml
diff options
context:
space:
mode:
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; ?>