diff options
Diffstat (limited to 'views/mods/mod_giropay')
| -rw-r--r-- | views/mods/mod_giropay/gfx/gc_creditcard.png | bin | 0 -> 8505 bytes | |||
| -rw-r--r-- | views/mods/mod_giropay/gfx/gc_directdebit.png | bin | 0 -> 7898 bytes | |||
| -rwxr-xr-x | views/mods/mod_giropay/gfx/gc_giropay.png | bin | 0 -> 7262 bytes | |||
| -rw-r--r-- | views/mods/mod_giropay/gfx/logo_100x25.png | bin | 0 -> 1838 bytes | |||
| -rw-r--r-- | views/mods/mod_giropay/order_done.phtml | 21 | ||||
| -rwxr-xr-x | views/mods/mod_giropay/settings_edit.phtml | 81 |
6 files changed, 102 insertions, 0 deletions
diff --git a/views/mods/mod_giropay/gfx/gc_creditcard.png b/views/mods/mod_giropay/gfx/gc_creditcard.png Binary files differnew file mode 100644 index 0000000..f4e96b8 --- /dev/null +++ b/views/mods/mod_giropay/gfx/gc_creditcard.png diff --git a/views/mods/mod_giropay/gfx/gc_directdebit.png b/views/mods/mod_giropay/gfx/gc_directdebit.png Binary files differnew file mode 100644 index 0000000..5d10a71 --- /dev/null +++ b/views/mods/mod_giropay/gfx/gc_directdebit.png diff --git a/views/mods/mod_giropay/gfx/gc_giropay.png b/views/mods/mod_giropay/gfx/gc_giropay.png Binary files differnew file mode 100755 index 0000000..c10e889 --- /dev/null +++ b/views/mods/mod_giropay/gfx/gc_giropay.png diff --git a/views/mods/mod_giropay/gfx/logo_100x25.png b/views/mods/mod_giropay/gfx/logo_100x25.png Binary files differnew file mode 100644 index 0000000..54d26ee --- /dev/null +++ b/views/mods/mod_giropay/gfx/logo_100x25.png diff --git a/views/mods/mod_giropay/order_done.phtml b/views/mods/mod_giropay/order_done.phtml new file mode 100644 index 0000000..c3a144e --- /dev/null +++ b/views/mods/mod_giropay/order_done.phtml @@ -0,0 +1,21 @@ +<?php
+
+ /**
+ * Template für die Anzeige nach der Bestellung bei Auswahl einer Giropay Zahlungsart
+ */
+
+?>
+<?php echo __('Klicken Sie auf das folgende Logo um ihre Bestellung zu bezahlen.', 'wpsg'); ?>
+<br /><br />
+<a href="<?php echo $this->view['wpsg_mod_giropay']['payLink']; ?>"><img src="<?php echo $this->view['wpsg_mod_giropay']['logo']; ?>" alt="<?php echo $this->view['wpsg_mod_giropay']['title']; ?>" /></a>
+<?php if ($this->get_option('wpsg_mod_giropay_paystart') == '1') { ?>
+<script type="text/javascript">
+
+ jQuery(document).ready(function() {
+ window.setTimeout(function() {
+ location.href = "<?php echo $this->view['wpsg_mod_giropay']['payLink']; ?>";
+ }, 1000);
+ } );
+
+</script>
+<?php } ?>
\ No newline at end of file diff --git a/views/mods/mod_giropay/settings_edit.phtml b/views/mods/mod_giropay/settings_edit.phtml new file mode 100755 index 0000000..3d526ca --- /dev/null +++ b/views/mods/mod_giropay/settings_edit.phtml @@ -0,0 +1,81 @@ +<?php
+
+ /**
+ * Template für die Einstellungen des Moduls "giropay"
+ */
+
+?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_giropay_merchantId', __('Verkäufer-ID', 'wpsg'), $this->get_option('wpsg_mod_giropay_merchantId'), array('help' => 'wpsg_mod_giropay_merchantId')); ?>
+<?php /* echo wpsg_drawForm_Input('wpsg_mod_giropay_currency', __('Währungscode (Standard: EUR)', 'wpsg'), $this->get_option('wpsg_mod_giropay_currency'), array('help' => 'wpsg_mod_giropay_currency')); */ ?>
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_giropay_paystart', __('Zahlung sofort starten', 'wpsg'), $this->get_option('wpsg_mod_giropay_paystart'), array('help' => 'wpsg_shippay_paystart')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_giropay_subject', __('Verwendungszweck für Zahlungen', 'wpsg'), $this->get_option('wpsg_mod_giropay_subject'), array('help' => 'wpsg_mod_giropay_subject')); ?>
+<?php echo wpsg_drawForm_Select('wpsg_mod_giropay_successPage', __('Seite nach erfolgreicher Zahlung', 'wpsg'), $this->view['wpsg_mod_giropay']['arPages'], $this->get_option('wpsg_mod_giropay_successPage'), array('help' => 'wpsg_mod_giropay_successPage')); ?>
+<?php echo wpsg_drawForm_Select('wpsg_mod_giropay_errorPage', __('Seite nach fehlgeschlagener Zahlung', 'wpsg'), $this->view['wpsg_mod_giropay']['arPages'], $this->get_option('wpsg_mod_giropay_errorPage'), array('help' => 'wpsg_mod_giropay_errorPage')); ?>
+<br />
+<div class="wpsg_admin_box" id="wpsg_mod_giropay_giropay">
+ <div class="head" style="border-bottom: 0px none;">
+ <div class="title">
+ <div class="fulltab"><?php echo __('GiroCheckout - giropay', 'wpsg'); ?></div>
+ </div>
+ <div class="content wpsg_admin_box_content" style="display: block;">
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_giropay_giropay_activ', __('Zahlungsart "giropay" aktiv', 'wpsg'), $this->get_option('wpsg_mod_giropay_giropay_activ'), array('help' => 'wpsg_shippay_activ')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_giropay_giropay_projectid', __('Projekt-ID für giropay', 'wpsg'), $this->get_option('wpsg_mod_giropay_giropay_projectid'), array('help' => 'wpsg_mod_giropay_giropay_projectid')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_giropay_giropay_projectpw', __('Projekt-Passwort', 'wpsg'), $this->get_option('wpsg_mod_giropay_giropay_projectpw'), array('help' => 'wpsg_mod_giropay_giropay_projectpw')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_giropay_giropay_name', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_giropay_giropay_name'), array('help' => 'wpsg_shippay_name')); ?>
+ <?php echo wpsg_drawForm_Textarea('wpsg_mod_giropay_giropay_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_giropay_giropay_hint'), array('help' => 'wpsg_shippay_hint')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_giropay_giropay_logo', __('Alternative Logo URL', 'wpsg'), $this->get_option('wpsg_giropay_giropay_logo'), array('help' => 'wpsg_shippay_logo')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_giropay_giropay_gebuehr', __('Gebühr/Rabatt', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_giropay_giropay_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %', 'help' => 'wpsg_shippay_gebuehr')); ?>
+ <?php echo wpsg_drawForm_Select('wpsg_mod_giropay_giropay_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_giropay_giropay_mwst')); ?>
+
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_giropay_giropay_mwstland', __('Keine MwSt. wenn Land steuerfrei', 'wpsg'), $this->get_option('wpsg_mod_giropay_giropay_mwstland'), array('help' => 'wpsg_shippay_mwstland')); ?>
+ </div>
+ </div>
+</div>
+<br />
+<div class="wpsg_admin_box" id="wpsg_mod_giropay_creditcard">
+ <div class="head" style="border-bottom: 0px none;">
+ <div class="title">
+ <div class="fulltab"><?php echo __('GiroCheckout - Kreditkarte', 'wpsg'); ?></div>
+ </div>
+ <div class="content wpsg_admin_box_content" style="display: block;">
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_giropay_creditcard_activ', __('Zahlungsart "Kreditkarte" aktiv', 'wpsg'), $this->get_option('wpsg_mod_giropay_creditcard_activ'), array('help' => 'wpsg_shippay_activ')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_giropay_creditcard_projectid', __('Projekt-ID für Kreditkarte', 'wpsg'), $this->get_option('wpsg_mod_giropay_creditcard_projectid'), array('help' => 'wpsg_mod_giropay_creditcard_projectid')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_giropay_creditcard_projectpw', __('Projekt-Passwort', 'wpsg'), $this->get_option('wpsg_mod_giropay_creditcard_projectpw'), array('help' => 'wpsg_mod_giropay_creditcard_projectpw')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_giropay_creditcard_name', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_giropay_creditcard_name'), array('help' => 'wpsg_shippay_name')); ?>
+ <?php echo wpsg_drawForm_Textarea('wpsg_mod_giropay_creditcard_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_giropay_creditcard_hint'), array('help' => 'wpsg_shippay_hint')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_giropay_creditcard_logo', __('Alternative Logo URL', 'wpsg'), $this->get_option('wpsg_mod_giropay_creditcard_logo'), array('help' => 'wpsg_shippay_logo')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_giropay_creditcard_gebuehr', __('Gebühr/Rabatt', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_giropay_creditcard_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %', 'help' => 'wpsg_shippay_gebuehr')); ?>
+ <?php echo wpsg_drawForm_Select('wpsg_mod_giropay_creditcard_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_giropay_creditcard_mwst')); ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_giropay_creditcard_mwstland', __('Keine MwSt. wenn Land steuerfrei', 'wpsg'), $this->get_option('wpsg_mod_giropay_creditcard_mwstland'), array('help' => 'wpsg_shippay_mwstland')); ?>
+ </div>
+ </div>
+</div>
+<br />
+<div class="wpsg_admin_box" id="wpsg_mod_giropay_directdebit">
+ <div class="head" style="border-bottom: 0px none;">
+ <div class="title">
+ <div class="fulltab"><?php echo __('GiroCheckout - Lastschrift', 'wpsg'); ?></div>
+ </div>
+ <div class="content wpsg_admin_box_content" style="display: block;">
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_giropay_directdebit_activ', __('Zahlungsart "Lastschrift" aktiv', 'wpsg'), $this->get_option('wpsg_mod_giropay_directdebit_activ'), array('help' => 'wpsg_shippay_activ')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_giropay_directdebit_projectid', __('Projekt-ID für Lastschrift', 'wpsg'), $this->get_option('wpsg_mod_giropay_directdebit_projectid'), array('help' => 'wpsg_mod_giropay_directdebit_projectid')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_giropay_directdebit_projectpw', __('Projekt-Passwort', 'wpsg'), $this->get_option('wpsg_mod_giropay_directdebit_projectpw'), array('help' => 'wpsg_mod_giropay_directdebit_projectpw')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_giropay_directdebit_name', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_giropay_directdebit_name'), array('help' => 'wpsg_shippay_name')); ?>
+ <?php echo wpsg_drawForm_Textarea('wpsg_mod_giropay_directdebit_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_giropay_directdebit_hint'), array('help' => 'wpsg_shippay_hint')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_giropay_directdebit_logo', __('Alternative Logo URL', 'wpsg'), $this->get_option('wpsg_mod_giropay_directdebit_logo'), array('help' => 'wpsg_shippay_logo')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_giropay_directdebit_gebuehr', __('Gebühr/Rabatt', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_giropay_directdebit_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %', 'help' => 'wpsg_shippay_gebuehr')); ?>
+ <?php echo wpsg_drawForm_Select('wpsg_mod_giropay_directdebit_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_giropay_directdebit_mwst')); ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_giropay_directdebit_mwstland', __('Keine MwSt. wenn Land steuerfrei', 'wpsg'), $this->get_option('wpsg_mod_giropay_directdebit_mwstland'), array('help' => 'wpsg_shippay_mwstland')); ?>
+ </div>
+ </div>
+</div>
+
+<script type="text/javascript">/* <![CDATA[ */
+
+ jQuery(document).ready(function() {
+
+ jQuery('.wpsg_admin_box').wpsg_adminbox();
+
+ } );
+
+/* ]]> */</script>
|
