summaryrefslogtreecommitdiff
path: root/views/mods/mod_paypalapi/overview_preauth_button.phtml
diff options
context:
space:
mode:
authordaniel <noreply@maennchen1.de>2026-09-24 11:24:12 +0200
committerdaniel <noreply@maennchen1.de>2026-09-24 11:24:12 +0200
commita95de0fa4cd3c617ef08a9679a6c32ae5f676fda (patch)
treeb78bd9fa23550e7dfd03cc693032cce5e9048236 /views/mods/mod_paypalapi/overview_preauth_button.phtml
parent19a8938fa3b41a6c6ed1e15c20586f860f4a637b (diff)
- Feature: PHP 8.3 Kompatibilität
- Feature: SmartCheckout - Ersatz für EinSeitenCheckout - Feature: Optik im Frontend an moderne Themes angepasst
Diffstat (limited to 'views/mods/mod_paypalapi/overview_preauth_button.phtml')
-rw-r--r--views/mods/mod_paypalapi/overview_preauth_button.phtml15
1 files changed, 15 insertions, 0 deletions
diff --git a/views/mods/mod_paypalapi/overview_preauth_button.phtml b/views/mods/mod_paypalapi/overview_preauth_button.phtml
new file mode 100644
index 0000000..9fd775a
--- /dev/null
+++ b/views/mods/mod_paypalapi/overview_preauth_button.phtml
@@ -0,0 +1,15 @@
+<?php
+
+ /**
+ * Ersetzt in der Bestellübersicht den Button "zahlungspflichtig bestellen", solange die Zahlung noch nicht bei PayPal autorisiert wurde
+ */
+
+?>
+
+<?php if (($this->view['wpsg_mod_paypalapi']['preauth_changed']??false) === true) { ?>
+<div class="wpsg_mod_paypalapi_preauth_hint">
+ <p><?php echo esc_html__('Ihre Bestellung hat sich seit der Autorisierung geändert. Bitte autorisieren Sie die Zahlung erneut bei PayPal.', 'wpsg'); ?></p>
+</div>
+<?php } ?>
+
+<input type="submit" class="wpsg_orderbutton wpsg_mod_paypalapi_preauth_button" value="<?php echo esc_attr__('Mit PayPal bezahlen', 'wpsg'); ?>" name="wpsg_order" />