summaryrefslogtreecommitdiff
path: root/views/mods/mod_billsafe
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2016-01-14 14:55:36 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2016-01-14 14:55:36 +0000
commitad405c7045c6e242080ec9d3ce4c9e586b517c4f (patch)
treeb41905f4d27f3eaaabd5bad3a39f8d3873540b46 /views/mods/mod_billsafe
- Testweise 4
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5261 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_billsafe')
-rw-r--r--views/mods/mod_billsafe/gfx/logo_100x25.pngbin0 -> 3052 bytes
-rw-r--r--views/mods/mod_billsafe/order_done.phtml24
-rw-r--r--views/mods/mod_billsafe/order_view_sidebar.phtml30
-rw-r--r--views/mods/mod_billsafe/settings_edit.phtml30
-rw-r--r--views/mods/mod_billsafe/zahlung_ablehnung.phtml11
-rw-r--r--views/mods/mod_billsafe/zahlung_erfolg.phtml11
6 files changed, 106 insertions, 0 deletions
diff --git a/views/mods/mod_billsafe/gfx/logo_100x25.png b/views/mods/mod_billsafe/gfx/logo_100x25.png
new file mode 100644
index 0000000..6bf1d3a
--- /dev/null
+++ b/views/mods/mod_billsafe/gfx/logo_100x25.png
Binary files differ
diff --git a/views/mods/mod_billsafe/order_done.phtml b/views/mods/mod_billsafe/order_done.phtml
new file mode 100644
index 0000000..cc40dd5
--- /dev/null
+++ b/views/mods/mod_billsafe/order_done.phtml
@@ -0,0 +1,24 @@
+<?php
+
+ /**
+ * Dieses Template wird bei der Bezahlart "Billsafe" nach der Bestellung eingebunden um auf den Billsafe Gateway zu leiten
+ */
+
+?>
+<p><?php echo __('Um den Betrag mit Billsafe zu bezahlen klicken Sie bitte auf folgendes Logo.', 'wpsg'); ?></p>
+<p>
+ <a href="<?php echo $this->view['wpsg_mod_billsafe']['url']; ?>">
+ <img src="https://images.billsafe.de/image/image/id/22227102a95c"/>
+ </a>
+</p>
+<?php if ($this->get_option('wpsg_mod_billsafe_autostart') == '1') { ?>
+<script type="text/javascript">
+
+ jQuery(document).ready(function() {
+ window.setTimeout(function() {
+ location.href = "<?php echo $this->view['wpsg_mod_billsafe']['url']; ?>";
+ }, 1000);
+ } );
+
+</script>
+<?php } ?>
diff --git a/views/mods/mod_billsafe/order_view_sidebar.phtml b/views/mods/mod_billsafe/order_view_sidebar.phtml
new file mode 100644
index 0000000..5de0042
--- /dev/null
+++ b/views/mods/mod_billsafe/order_view_sidebar.phtml
@@ -0,0 +1,30 @@
+<?php
+
+ /**
+ * Template für die erweiterten Angaben der Billsafe Zahlungsart in der Rechnungsansicht
+ * sollten normalerweise nicht verändert werden
+ */
+
+?>
+<div id="wpsg_billsafe" class="postbox">
+ <h3 class="wpsg_handlediv">
+ <span class="handlediv" title="<?php echo __('Zum Ein/Ausklappen hier klicken', 'wpsg'); ?>"><br></span>
+ <span><?php echo __('Billsafe', 'wpsg'); ?></span>
+ </h3>
+ <div class="inside">
+ <?php echo wpsg_drawForm_Input('', __('Transaction ID', 'wpsg'), $this->view['wpsg_mod_billsafe']['data']['mod_billsafe_transaction_id'], array('text' => true)); ?>
+ <?php if (wpsg_isSizedString($this->view['wpsg_mod_billsafe']['rechnung_url'])) { ?>
+ <div class="wpsg_form_field">
+ <div class="wpsg_form_left">
+ <label for=""><?php echo __('Rechnung', 'wpsg'); ?>:</label>
+ </div>
+ <div class="wpsg_form_right">
+ <p class="" id="">
+ <a href="<?php echo $this->view['wpsg_mod_billsafe']['rechnung_url']; ?>"><?php echo __('Download', 'wpsg'); ?></a>
+ </p>
+ </div>
+ <div class="wpsg_clear"></div>
+ </div>
+ <?php } ?>
+ </div>
+</div>
diff --git a/views/mods/mod_billsafe/settings_edit.phtml b/views/mods/mod_billsafe/settings_edit.phtml
new file mode 100644
index 0000000..64c1f87
--- /dev/null
+++ b/views/mods/mod_billsafe/settings_edit.phtml
@@ -0,0 +1,30 @@
+<?php
+
+ /**
+ * Template für die Einstellungen des Billsafe Moduls
+ */
+
+?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_billsafe_bezeichnung', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_billsafe_bezeichnung'), array ('help' => 'wpsg_mod_billsafe_bezeichnung')); ?>
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_billsafe_aktiv', __('Aktiv', 'wpsg'), $this->get_option('wpsg_mod_billsafe_aktiv'), array ('help' => 'wpsg_mod_billsafe_aktiv')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_billsafe_aktiv_from', __('Aktiv ab Betrag', 'wpsg'), $this->get_option('wpsg_mod_billsafe_aktiv_from'), array ('help' => 'wpsg_mod_billsafe_aktiv_from')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_billsafe_aktiv_to', __('Aktiv bis Betrag', 'wpsg'), $this->get_option('wpsg_mod_billsafe_aktiv_to'), array ('help' => 'wpsg_mod_billsafe_aktiv_to')); ?>
+<?php echo wpsg_drawForm_Textarea('wpsg_mod_billsafe_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_billsafe_hint'), array ('help' => 'wpsg_mod_billsafe_hint')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_billsafe_logo', __('Logo URL', 'wpsg'), $this->get_option('wpsg_mod_billsafe_logo'), array ('help' => 'wpsg_mod_billsafe_logo')); ?>
+<br />
+<?php echo wpsg_drawForm_Input('wpsg_mod_billsafe_vendorID', __('Händler ID (Vendor/Merchant ID)', 'wpsg'), $this->get_option('wpsg_mod_billsafe_vendorID'), array ('help' => 'wpsg_mod_billsafe_vendorId')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_billsafe_licence', __('Lizenz', 'wpsg'), $this->get_option('wpsg_mod_billsafe_licence'), array ('help' => 'wpsg_mod_billsafe_licence')); ?>
+<br />
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_billsafe_sandbox', __('Sandboxmodus', 'wpsg'), $this->get_option('wpsg_mod_billsafe_sandbox'), array ('help' => 'wpsg_mod_billsafe_sandbox')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_billsafe_licencesandbox', __('Lizenz (Sandbox)', 'wpsg'), $this->get_option('wpsg_mod_billsafe_licencesandbox'), array ('help' => 'wpsg_mod_billsafe_licencesandbox')); ?>
+<br />
+<?php echo wpsg_drawForm_Input('wpsg_mod_billsafe_gebuehr', __('Gebühr', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_billsafe_gebuehr'), true), array('help' => 'wpsg_mod_billsafe_gebuehr','unit' => $this->get_option('wpsg_currency').' / %', 'hint' => __('Müssen mit dem Billsafe Support abgestimmt werden.', 'wpsg'))); ?>
+<?php echo wpsg_drawForm_Select('wpsg_mod_billsafe_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_billsafe_mwst'), array ('help' => 'wpsg_mod_billsafe_mwst')); ?>
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_billsafe_mwstland', __('Keine MwSt. wenn Land steuerfrei', 'wpsg'), $this->get_option('wpsg_mod_billsafe_mwstland'), array ('help' => 'wpsg_mod_billsafe_mwstland')); ?>
+<br />
+<?php echo wpsg_drawForm_Select('wpsg_mod_billsafe_currency', __('Währung', 'wpsg'), array('EUR' => __('EUR', 'wpsg')), $this->get_option('wpsg_mod_billsafe_currency'), array('help' => 'wpsg_mod_billsafe_currency','hint' => __('Derzeit nur EUR.', 'wpsg'))); ?>
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_billsafe_autorun', __('Zahlung sofort starten', 'wpsg'), $this->get_option('wpsg_mod_billsafe_autorun'), array ('help' => 'wpsg_mod_billsafe_autorun')); ?>
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_billsafe_precheck', __('Vorabprüfung', 'wpsg'), $this->get_option('wpsg_mod_billsafe_precheck'), array ('help' => 'wpsg_mod_billsafe_precheck')); ?>
+<?php echo wpsg_drawForm_Select('wpsg_mod_billsafe_success', __('Erfolgsseite', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_mod_billsafe_success'), array('help' => 'wpsg_mod_billsafe_success','hint' => __('Diese Seite wird nach erfolgreicher Abwicklung innerhalb des Billsafe Gateways aufgerufen und zeigt dem Nutzer das Ergebnis an.', 'wpsg'))); ?>
+<?php echo wpsg_drawForm_Select('wpsg_mod_billsafe_error', __('Fehlerseite', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_mod_billsafe_error'), array('help' => 'wpsg_mod_billsafe_error','hint' => __('Diese Seite wird angezeigt wenn es technische Probleme gibt oder der Kunde die Billsafe Zahlung abbricht.', 'wpsg'))); ?>
+ \ No newline at end of file
diff --git a/views/mods/mod_billsafe/zahlung_ablehnung.phtml b/views/mods/mod_billsafe/zahlung_ablehnung.phtml
new file mode 100644
index 0000000..d241110
--- /dev/null
+++ b/views/mods/mod_billsafe/zahlung_ablehnung.phtml
@@ -0,0 +1,11 @@
+<?php
+
+ /**
+ * Template welches verwendet wird, wenn die Zahlung durch Billsafe nicht verifiziert werden konnte
+ * wird auf der Erfolgsseite eingebaut
+ */
+
+?>
+<p>
+ <?php echo __('Ihre Zahlung konnte leider nicht mittels Billsafe abgewickelt werden, bitte wenden Sie sich an den Shop Betreiber um eine alternative Zahlungsart zu vereinbaren.', 'wpsg'); ?>
+</p> \ No newline at end of file
diff --git a/views/mods/mod_billsafe/zahlung_erfolg.phtml b/views/mods/mod_billsafe/zahlung_erfolg.phtml
new file mode 100644
index 0000000..9849024
--- /dev/null
+++ b/views/mods/mod_billsafe/zahlung_erfolg.phtml
@@ -0,0 +1,11 @@
+<?php
+
+ /**
+ * Template welches verwendet wird, wenn die Zahlung durch Billsafe verifiziert werden konnte
+ * wird auf der Erfolgsseite eingebaut
+ */
+
+?>
+<p>
+ <?php echo __('Ihre Zahlung wurde erfolgreich angenommen und sie werden ihre Bestellung in den nächsten Tagen erhalten.', 'wpsg'); ?>
+</p> \ No newline at end of file