summaryrefslogtreecommitdiff
path: root/views/mods/mod_micropayment
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_micropayment
- Testweise 4
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5261 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_micropayment')
-rw-r--r--views/mods/mod_micropayment/debugInfo.phtml33
-rw-r--r--views/mods/mod_micropayment/gfx/bank2pay.pngbin0 -> 7310 bytes
-rw-r--r--views/mods/mod_micropayment/gfx/call2pay.pngbin0 -> 7265 bytes
-rw-r--r--views/mods/mod_micropayment/gfx/chip.pngbin0 -> 5996 bytes
-rw-r--r--views/mods/mod_micropayment/gfx/creditcard.pngbin0 -> 8798 bytes
-rw-r--r--views/mods/mod_micropayment/gfx/directdebit.pngbin0 -> 7554 bytes
-rw-r--r--views/mods/mod_micropayment/gfx/handypay.pngbin0 -> 7874 bytes
-rw-r--r--views/mods/mod_micropayment/gfx/logo_100x25.pngbin0 -> 2888 bytes
-rw-r--r--views/mods/mod_micropayment/gfx/prepayment.pngbin0 -> 8602 bytes
-rw-r--r--views/mods/mod_micropayment/order_done.phtml122
-rw-r--r--views/mods/mod_micropayment/settings_edit.phtml213
11 files changed, 368 insertions, 0 deletions
diff --git a/views/mods/mod_micropayment/debugInfo.phtml b/views/mods/mod_micropayment/debugInfo.phtml
new file mode 100644
index 0000000..ce852df
--- /dev/null
+++ b/views/mods/mod_micropayment/debugInfo.phtml
@@ -0,0 +1,33 @@
+<?php
+
+ /**
+ * Template für die Ausgabe von Debug Informationen des Micropayment Moduls
+ */
+
+?>
+<h1>Modul "Micropayment"</h1>
+<pre class="wpsg_debug">
+Billing URL (cc): <?php echo ((array_key_exists('wpsg_mod_micropayment', $this->arModule))?$this->arModule['wpsg_mod_micropayment']->event_creditcard_url:''); ?>
+Billing URL (dbt): <?php echo ((array_key_exists('wpsg_mod_micropayment', $this->arModule))?$this->arModule['wpsg_mod_micropayment']->event_directdebit_url:''); ?>
+Billing URL (eb2p): <?php echo ((array_key_exists('wpsg_mod_micropayment', $this->arModule))?$this->arModule['wpsg_mod_micropayment']->event_ebank2pay_url:''); ?>
+Billing URL (pp): <?php echo ((array_key_exists('wpsg_mod_micropayment', $this->arModule))?$this->arModule['wpsg_mod_micropayment']->event_prepayment_url:''); ?>
+Billing URL (c2p): <?php echo ((array_key_exists('wpsg_mod_micropayment', $this->arModule))?$this->arModule['wpsg_mod_micropayment']->event_call2pay_url:''); ?>
+Billing URL (hp): <?php echo ((array_key_exists('wpsg_mod_micropayment', $this->arModule))?$this->arModule['wpsg_mod_micropayment']->event_handypay_url:''); ?>
+(Infoservice) Account-ID: <?php echo substr($this->get_option('wpsg_mod_micropayment_projectid'), 0, 1).'('.strlen($this->get_option('wpsg_mod_micropayment_handypay_activ')).')'; ?>
+Accesskey Länge: <?php echo strlen($this->get_option('wpsg_mod_micropayment_accesskey')); ?>
+Version: <?php echo WPSG_VERSION; ?>
+Aktivierte Bezahlmodule: <?php
+
+ $arPayment = array();
+ if ($this->get_option('wpsg_mod_micropayment_creditcard_activ') == '1') $arPayment[] = 'cc';
+ if ($this->get_option('wpsg_mod_micropayment_directdebit_activ') == '1') $arPayment[] = 'dbt';
+ if ($this->get_option('wpsg_mod_micropayment_ebank2pay_activ') == '1') $arPayment[] = 'eb2p';
+ if ($this->get_option('wpsg_mod_micropayment_prepayment_activ') == '1') $arPayment[] = 'pp';
+ if ($this->get_option('wpsg_mod_micropayment_call2pay_name') == '1') $arPayment[] = 'c2p';
+ if ($this->get_option('wpsg_mod_micropayment_handypay_activ') == '1') $arPayment[] = 'hp';
+
+ if (wpsg_isSizedArray($arPayment)) echo implode(',', $arPayment);
+ else echo 'Keine';
+
+?>
+</pre> \ No newline at end of file
diff --git a/views/mods/mod_micropayment/gfx/bank2pay.png b/views/mods/mod_micropayment/gfx/bank2pay.png
new file mode 100644
index 0000000..097f834
--- /dev/null
+++ b/views/mods/mod_micropayment/gfx/bank2pay.png
Binary files differ
diff --git a/views/mods/mod_micropayment/gfx/call2pay.png b/views/mods/mod_micropayment/gfx/call2pay.png
new file mode 100644
index 0000000..7e2ba85
--- /dev/null
+++ b/views/mods/mod_micropayment/gfx/call2pay.png
Binary files differ
diff --git a/views/mods/mod_micropayment/gfx/chip.png b/views/mods/mod_micropayment/gfx/chip.png
new file mode 100644
index 0000000..38e656f
--- /dev/null
+++ b/views/mods/mod_micropayment/gfx/chip.png
Binary files differ
diff --git a/views/mods/mod_micropayment/gfx/creditcard.png b/views/mods/mod_micropayment/gfx/creditcard.png
new file mode 100644
index 0000000..5ebac0c
--- /dev/null
+++ b/views/mods/mod_micropayment/gfx/creditcard.png
Binary files differ
diff --git a/views/mods/mod_micropayment/gfx/directdebit.png b/views/mods/mod_micropayment/gfx/directdebit.png
new file mode 100644
index 0000000..9951453
--- /dev/null
+++ b/views/mods/mod_micropayment/gfx/directdebit.png
Binary files differ
diff --git a/views/mods/mod_micropayment/gfx/handypay.png b/views/mods/mod_micropayment/gfx/handypay.png
new file mode 100644
index 0000000..8dcd83f
--- /dev/null
+++ b/views/mods/mod_micropayment/gfx/handypay.png
Binary files differ
diff --git a/views/mods/mod_micropayment/gfx/logo_100x25.png b/views/mods/mod_micropayment/gfx/logo_100x25.png
new file mode 100644
index 0000000..2e06ab9
--- /dev/null
+++ b/views/mods/mod_micropayment/gfx/logo_100x25.png
Binary files differ
diff --git a/views/mods/mod_micropayment/gfx/prepayment.png b/views/mods/mod_micropayment/gfx/prepayment.png
new file mode 100644
index 0000000..2668837
--- /dev/null
+++ b/views/mods/mod_micropayment/gfx/prepayment.png
Binary files differ
diff --git a/views/mods/mod_micropayment/order_done.phtml b/views/mods/mod_micropayment/order_done.phtml
new file mode 100644
index 0000000..33bc32b
--- /dev/null
+++ b/views/mods/mod_micropayment/order_done.phtml
@@ -0,0 +1,122 @@
+<?php
+
+ /**
+ * Template welches den Zahlungsdienstleister nach Bestellabschluß einbindet
+ */
+
+?>
+<?php if (wpsg_isSizedString($this->view['wpsg_mod_micropayment']['payLink'])) { ?>
+<?php echo __('Klicken Sie auf das folgende Logo um ihre Bestellung zu bezahlen.', 'wpsg'); ?>
+<br /><br />
+
+<a href="<?php echo $this->view['wpsg_mod_micropayment']['payLink']; ?>"><img src="<?php echo $this->view['wpsg_mod_micropayment']['logo']; ?>" alt="<?php echo $this->view['wpsg_mod_micropayment']['title']; ?>" /></a>
+
+ <?php if ($this->get_option('wpsg_mod_micropayment_paystart') == '1') { ?>
+ <script type="text/javascript">
+
+ jQuery(document).ready(function() {
+ window.setTimeout(function() {
+ location.href = "<?php echo $this->view['wpsg_mod_micropayment']['payLink']; ?>";
+ }, 1000);
+ } );
+
+ </script>
+ <?php } ?>
+
+<?php } else { ?>
+
+<p><?php echo __('Bitte geben Sie ihre Kreditkarteninformationen (Kartennummer, Gültigkeitsdatum und Prüfnummer) in folgende Felder ein. Die Daten werden an Micropayment übermittelt und nicht durch uns gespeichert oder ausgewertet.', 'wpsg'); ?></p>
+
+<form method="post" id="wpsg_mod_micropayment_creditcard">
+
+ <div class="micropayment_card">
+ <div class="front card">
+ <div class="chip"></div>
+ <div class="number"><input placeholder="<?php echo __('Kreditkartennummer', 'wpsg'); ?>" type="text" name="number" /></div>
+ <div class="bankname"><?php echo __('Kreditkarte - Vorderseite', 'wpsg'); ?></div>
+ <div class="name"><?php echo __('Max Mustermann', 'wpsg'); ?></div>
+ <div class="validthrough"><?php echo __('Gültig bis', 'wpsg'); ?>:</div>
+ <div class="valid">
+ <select name="expiryMonth">
+ <?php for ($i = 1; $i <= 12; $i ++) { ?>
+ <option value="<?php echo $i; ?>"><?php echo str_pad($i, 2, '0', STR_PAD_LEFT); ?>
+ <?php } ?>
+ </select>
+ <span>/</span>
+ <select name="expiryYear">
+ <?php for ($i = date('Y'); $i <= date('Y') + 10; $i ++) { ?>
+ <option value="<?php echo $i; ?>"><?php echo $i; ?></option>
+ <?php } ?>
+ </select>
+ </div>
+ </div>
+
+ <div class="back card">
+ <div class="bankname"><?php echo __('Kreditkarte - Rückseite', 'wpsg'); ?></div>
+ <div class="blackmagnetic"></div>
+ <div class="number"><?php echo __('HC600214C', 'wpsg'); ?></div>
+ <div class="signature"><?php echo __('Unterschrift Max Mustermann', 'wpsg'); ?></div>
+ <div class="sign"><input type="text" name="cvc2" value="" placeholder="<?php echo __('Prüfnummer', 'wpsg'); ?>" /></div>
+ </div>
+
+ <input type="button" id="wpsg_mod_micropayment_pay_button" class="wpsg_button" value="<?php echo __('Zahlung starten', 'wpsg'); ?>" />
+
+ </div>
+
+</form>
+
+<script type="text/javascript">/* <![CDATA[ */
+
+ jQuery(document).ready(function() {
+
+ jQuery('#wpsg_mod_micropayment_pay_button').bind('click', function() {
+
+ var form_data = jQuery('#wpsg_mod_micropayment_creditcard').serialize();
+
+ jQuery('.micropayment_card input, .micropayment_card select').prop('disabled', true);
+
+ jQuery.ajax( {
+ url: wpsg_ajax.ajaxurl,
+ data: {
+ action: 'ajax',
+ wpsg_plugin: 'wpsg_mod_micropayment',
+ module_action: 'pay',
+ form_data: form_data,
+ order_id: <?php echo $this->view['o_id']; ?>
+ },
+ success: function(data) {
+
+ if (data === "1")
+ {
+
+ alert('<?php echo __('Vielen Dank für Ihre Zahlungsreservierung.', 'wpsg'); ?>');
+ location.href = '<?php echo get_permalink($this->get_option('wpsg_mod_micropayment_successPage')); ?>';
+
+ }
+ else
+ {
+
+ alert(data);
+
+ }
+
+ jQuery('.micropayment_card input, .micropayment_card select').prop('disabled', false);
+
+ },
+ error: function(rdata, data)
+ {
+
+ alert("<?php echo __('Unerwarteter Serverfehler!', 'wpsg'); ?>");
+
+ }
+ } );
+
+ return false;
+
+ } );
+
+ } );
+
+/* ]]> */</script>
+
+<?php } ?> \ No newline at end of file
diff --git a/views/mods/mod_micropayment/settings_edit.phtml b/views/mods/mod_micropayment/settings_edit.phtml
new file mode 100644
index 0000000..c06c99d
--- /dev/null
+++ b/views/mods/mod_micropayment/settings_edit.phtml
@@ -0,0 +1,213 @@
+<?php
+
+ /**
+ * Template für die Einstellungen für das Micropayment Modul
+ */
+
+?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_accountid', __('Account ID', 'wpsg'), $this->get_option('wpsg_mod_micropayment_accountid')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_projectid', __('Projekt ID', 'wpsg'), $this->get_option('wpsg_mod_micropayment_projectid'), array('help' => 'wpsg_mod_micropayment_projectid')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_accesskey', __('AccessKey', 'wpsg'), $this->get_option('wpsg_mod_micropayment_accesskey'), array('help' => 'wpsg_mod_micropayment_accesskey')); ?>
+<?php echo wpsg_drawForm_Select('wpsg_mod_micropayment_successPage', __('Seite nach erfolgreicher Zahlung', 'wpsg'), $this->view['wpsg_mod_micropayment']['arPages'], $this->get_option('wpsg_mod_micropayment_successPage')); ?>
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_micropayment_paystart', __('Zahlungs sofort starten', 'wpsg'), $this->get_option('wpsg_mod_micropayment_paystart')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_apiURL', __('API URL', 'wpsg'), $this->view['wpsg_mod_micropayment']['apiURL'], array('readonly' => true, 'hint' => __('Muss im micropayment™ Interface hinterlegt werden.', 'wpsg'), 'help' => 'wpsg_mod_micropayment_apiURL')); ?>
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_micropayment_sandbox', __('Sandbox', 'wpsg'), $this->get_option('wpsg_mod_micropayment_sandbox')); ?>
+<br />
+<?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_account', __('Account (Für Webmasterbewerbung)', 'wpsg'), $this->get_option('wpsg_mod_micropayment_account'), array('help' => 'wpsg_mod_micropayment_account')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_layout', __('Layout', 'wpsg'), $this->get_option('wpsg_mod_micropayment_layout'), array('help' => 'wpsg_mod_micropayment_layout')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_bgcolor', __('Hintergrundfarbe', 'wpsg'), $this->get_option('wpsg_mod_micropayment_bgcolor'), array('help' => 'wpsg_mod_micropayment_bgcolor')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_campaign', __('Kampagne des Projektinhabers', 'wpsg'), $this->get_option('wpsg_mod_micropayment_campaign'), array('help' => 'wpsg_mod_micropayment_campaign')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_bggfx', __('Hintergrundgrafik für Zahlfenster', 'wpsg'), $this->get_option('wpsg_mod_micropayment_bggfx')); ?>
+<br />
+<div class="wpsg_admin_box" id="wpsg_mod_micropayment_creditcard">
+ <div id="mail_global" class="head" style="border-bottom: 0px none;">
+ <div class="title">
+ <div class="fulltab"><?php echo __('CreditCard - Abrechnung per Creditkarte', 'wpsg'); ?></div>
+ </div>
+ <div class="content wpsg_admin_box_content" style="display: block;">
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_micropayment_creditcard_activ', __('Zahlungsart "Kreditkarte" aktiv', 'wpsg'), $this->get_option('wpsg_mod_micropayment_creditcard_activ'), array(
+ /* 'hint' => wpsg_translate(__('Für Abrechnungsbeträge zwischen #1# und #2#', 'wpsg'), wpsg_ff(2.50, $this->get_option('wpsg_currency')), wpsg_ff(500, $this->get_option('wpsg_currency'))) */
+ )); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_creditcard_name', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_micropayment_creditcard_name')); ?>
+ <?php echo wpsg_drawForm_Textarea('wpsg_mod_micropayment_creditcard_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_micropayment_creditcard_hint')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_creditcard_logo', __('Alternative Logo URL', 'wpsg'), $this->get_option('wpsg_mod_micropayment_creditcard_logo')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_creditcard_gebuehr', __('Gebühr/Rabatt', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_micropayment_creditcard_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %')); ?>
+ <?php echo wpsg_drawForm_Select('wpsg_mod_micropayment_creditcard_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_micropayment_creditcard_mwst')); ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_micropayment_creditcard_mwstland', __('Keine MwSt. wenn Land steuerfrei', 'wpsg'), $this->get_option('wpsg_mod_micropayment_creditcard_mwstland')); ?>
+ </div>
+ </div>
+</div>
+<br />
+<div class="wpsg_admin_box" id="wpsg_mod_micropayment_creditcardreservation">
+ <div id="mail_global" class="head" style="border-bottom: 0px none;">
+ <div class="title">
+ <div class="fulltab"><?php echo __('CreditCard - Abrechnung per Creditkarte (Reservierung)', 'wpsg'); ?></div>
+ </div>
+ <div class="content wpsg_admin_box_content" style="display: block;">
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_micropayment_creditcardreservation_activ', __('Zahlungsart "Kreditkarte mit Reservierung" aktiv', 'wpsg'), $this->get_option('wpsg_mod_micropayment_creditcardreservation_activ'), array(
+ /* 'hint' => wpsg_translate(__('Für Abrechnungsbeträge zwischen #1# und #2#', 'wpsg'), wpsg_ff(2.50, $this->get_option('wpsg_currency')), wpsg_ff(500, $this->get_option('wpsg_currency'))) */
+ )); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_creditcardreservation_name', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_micropayment_creditcardreservation_name')); ?>
+ <?php echo wpsg_drawForm_Textarea('wpsg_mod_micropayment_creditcardreservation_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_micropayment_creditcardreservation_hint')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_creditcardreservation_logo', __('Alternative Logo URL', 'wpsg'), $this->get_option('wpsg_mod_micropayment_creditcardreservation_logo')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_creditcardreservation_gebuehr', __('Gebühr/Rabatt', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_micropayment_creditcardreservation_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %')); ?>
+ <?php echo wpsg_drawForm_Select('wpsg_mod_micropayment_creditcardreservation_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_micropayment_creditcardreservation_mwst')); ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_micropayment_creditcardreservation_mwstland', __('Keine MwSt. wenn Land steuerfrei', 'wpsg'), $this->get_option('wpsg_mod_micropayment_creditcardreservation_mwstland')); ?>
+ </div>
+ </div>
+</div>
+<br />
+<div class="wpsg_admin_box" id="wpsg_mod_micropayment_directdebit">
+ <div id="mail_global" class="head" style="border-bottom: 0px none;">
+ <div class="title">
+ <div class="fulltab"><?php echo __('Lastschrift - Abrechnung per Lastschrift', 'wpsg'); ?></div>
+ </div>
+ <div class="content wpsg_admin_box_content" style="display: block;">
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_micropayment_directdebit_activ', __('Zahlungsart "Lastschrift" aktiv', 'wpsg'), $this->get_option('wpsg_mod_micropayment_directdebit_activ')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_directdebit_name', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_micropayment_directdebit_name')); ?>
+ <?php echo wpsg_drawForm_Textarea('wpsg_mod_micropayment_directdebit_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_micropayment_directdebit_hint')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_directdebit_logo', __('Alternative Logo URL', 'wpsg'), $this->get_option('wpsg_mod_micropayment_directdebit_logo')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_directdebit_gebuehr', __('Gebühr/Rabatt', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_micropayment_directdebit_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %')); ?>
+ <?php echo wpsg_drawForm_Select('wpsg_mod_micropayment_directdebit_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_micropayment_directdebit_mwst')); ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_micropayment_directdebit_mwstland', __('Keine MwSt. wenn Land steuerfrei', 'wpsg'), $this->get_option('wpsg_mod_micropayment_directdebit_mwstland')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_directdebit_subject', __('Betreff der Zahlung', 'wpsg'), $this->get_option('wpsg_mod_micropayment_directdebit_subject')); ?>
+ </div>
+ </div>
+</div>
+<br />
+<div class="wpsg_admin_box" id="wpsg_mod_micropayment_ebank2pay">
+ <div id="mail_global" class="head" style="border-bottom: 0px none;">
+ <div class="title">
+ <div class="fulltab"><?php echo __('eBank2Pay - Abrechnung per Online Banking', 'wpsg'); ?></div>
+ </div>
+ <div class="content wpsg_admin_box_content" style="display: block;">
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_micropayment_ebank2pay_activ', __('Zahlungsart "eBank2Pay" aktiv', 'wpsg'), $this->get_option('wpsg_mod_micropayment_ebank2pay_activ'), array(
+ /* 'hint' => wpsg_translate(__('Für Abrechnungsbeträge zwischen #1# und #2#', 'wpsg'), wpsg_ff(0.50, $this->get_option('wpsg_currency')), wpsg_ff(500, $this->get_option('wpsg_currency'))) */
+ )); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_ebank2pay_name', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_micropayment_ebank2pay_name')); ?>
+ <?php echo wpsg_drawForm_Textarea('wpsg_mod_micropayment_ebank2pay_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_micropayment_ebank2pay_hint')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_ebank2pay_logo', __('Alternative Logo URL', 'wpsg'), $this->get_option('wpsg_mod_micropayment_ebank2pay_logo')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_ebank2pay_gebuehr', __('Gebühr/Rabatt', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_micropayment_ebank2pay_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %')); ?>
+ <?php echo wpsg_drawForm_Select('wpsg_mod_micropayment_ebank2pay_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_micropayment_ebank2pay_mwst')); ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_micropayment_ebank2pay_mwstland', __('Keine MwSt. wenn Land steuerfrei', 'wpsg'), $this->get_option('wpsg_mod_micropayment_ebank2pay_mwstland')); ?>
+ </div>
+ </div>
+</div>
+<br />
+<div class="wpsg_admin_box" id="wpsg_mod_micropayment_prepayment">
+ <div id="mail_global" class="head" style="border-bottom: 0px none;">
+ <div class="title">
+ <div class="fulltab"><?php echo __('Vorkasse - Abrechnung per Vorkasse', 'wpsg'); ?></div>
+ </div>
+ <div class="content wpsg_admin_box_content" style="display: block;">
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_micropayment_prepayment_activ', __('Zahlungsart "Vorkasse" aktiv', 'wpsg'), $this->get_option('wpsg_mod_micropayment_prepayment_activ')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_prepayment_name', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_micropayment_prepayment_name')); ?>
+ <?php echo wpsg_drawForm_Textarea('wpsg_mod_micropayment_prepayment_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_micropayment_prepayment_hint')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_prepayment_logo', __('Alternative Logo URL', 'wpsg'), $this->get_option('wpsg_mod_micropayment_prepayment_logo')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_prepayment_gebuehr', __('Gebühr/Rabatt', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_micropayment_prepayment_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %')); ?>
+ <?php echo wpsg_drawForm_Select('wpsg_mod_micropayment_prepayment_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_micropayment_prepayment_mwst')); ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_micropayment_prepayment_mwstland', __('Keine MwSt. wenn Land steuerfrei', 'wpsg'), $this->get_option('wpsg_mod_micropayment_prepayment_mwstland')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_prepayment_subject', __('Betreff der Zahlung', 'wpsg'), $this->get_option('wpsg_mod_micropayment_prepayment_subject')); ?>
+ </div>
+ </div>
+</div>
+<br />
+<div class="wpsg_admin_box" id="wpsg_mod_micropayment_call2pay">
+ <div id="mail_global" class="head" style="border-bottom: 0px none;">
+ <div class="title">
+ <div class="fulltab"><?php echo __('Call2Pay - Abrechnung per Anruf / Telefon', 'wpsg'); ?></div>
+ </div>
+ <div class="content wpsg_admin_box_content" style="display: block;">
+
+ <div id="wpsg_mod_micropayment_call2pay_layer" style="<?php echo (($this->get_option('wpsg_mod_micropayment_call2pay_activ') == '1')?'display:block;':'display:none;'); ?>">
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_micropayment_call2pay_activ', __('Zahlungsart "Call2Pay" aktiv', 'wpsg'), $this->get_option('wpsg_mod_micropayment_call2pay_activ'), array(
+ /* 'hint' => wpsg_translate(__('Für Abrechnungsbeträge zwischen #1# und #2#', 'wpsg'), wpsg_ff(0.05, $this->get_option('wpsg_currency')), wpsg_ff(50, $this->get_option('wpsg_currency'))) */
+ )); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_call2pay_name', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_micropayment_call2pay_name')); ?>
+ <?php echo wpsg_drawForm_Textarea('wpsg_mod_micropayment_call2pay_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_micropayment_call2pay_hint')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_call2pay_logo', __('Alternative Logo URL', 'wpsg'), $this->get_option('wpsg_mod_micropayment_call2pay_logo')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_call2pay_gebuehr', __('Gebühr/Rabatt', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_micropayment_call2pay_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %')); ?>
+ <?php echo wpsg_drawForm_Select('wpsg_mod_micropayment_call2pay_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_micropayment_call2pay_mwst')); ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_micropayment_call2pay_mwstland', __('Keine MwSt. wenn Land steuerfrei', 'wpsg'), $this->get_option('wpsg_mod_micropayment_call2pay_mwstland')); ?>
+ </div>
+
+ <?php if ($this->get_option('wpsg_mod_micropayment_call2pay_activ') != '1') { ?>
+ <div id="wpsg_mod_micropayment_call2pay_infolayer">
+ <span style="color:red; font-weigh:bold;"><?php echo __('Bitte beachten Sie, dass es bei der Nutzung von Call2Pay folgende Einschränkungen gibt', 'wpsg'); ?>:</span><br />
+ <ul>
+ <li><?php echo __('Nur Abrechnung von telekommunikationsbasierten Mehrwertdiensten möglich', 'wpsg'); ?></li>
+ <li><?php echo __('Preisobergrenze von 30 Euro pro Transaktion', 'wpsg'); ?></li>
+ <li><?php echo __('National und international KEINE einheitliche Gebührenstruktur', 'wpsg'); ?></li>
+ <li><?php echo __('Teilweise abweichende Preise aus dem Mobilfunknetz', 'wpsg'); ?></li>
+ </ul>
+ <br />
+ <span style="font-weight:bold;"><?php echo __('Sollten Sie sich unsicher sein, ob Sie diese Zahlarten nutzen können oder dürfen, melden Sie sich einfach bei uns!', 'wpsg'); ?></span>
+ <ul>
+ <li><?php echo __('Ansprechpartner', 'wpsg'); ?>: Martin Eliason</li>
+ <li><?php echo __('Telefon (Festnetz)', 'wpsg'); ?>: +49 – (0)30 – 64904255</li>
+ <li><?php echo __('eMail', 'wpsg'); ?>: <a href="mailto:meliason@micropayment.de">meliason@micropayment.de</a></li>
+ <li><?php echo __('Stichwort', 'wpsg'); ?>: WordPress-Shopmodul</li>
+ </ul>
+ <br />
+ <input type="button" class="button" onclick="jQuery('#wpsg_mod_micropayment_call2pay_infolayer').hide(); jQuery('#wpsg_mod_micropayment_call2pay_layer').show();" value="<?php echo __('Ich habe einen entsprechenden Account und kann die Zahlungsart nutzen.', 'wpsg'); ?>" />
+ </div>
+ <?php } ?>
+
+ </div>
+ </div>
+</div>
+<br />
+<div class="wpsg_admin_box" id="wpsg_mod_micropayment_handypay">
+ <div id="mail_global" class="head" style="border-bottom: 0px none;">
+ <div class="title">
+ <div class="fulltab"><?php echo __('HandyPay - Abrechnung per SMS / Tan', 'wpsg'); ?></div>
+ </div>
+ <div class="content wpsg_admin_box_content" style="display: block;">
+
+ <div id="wpsg_mod_micropayment_handypay_layer" style="<?php echo (($this->get_option('wpsg_mod_micropayment_handypay_activ') == '1')?'display:block;':'display:none;'); ?>">
+
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_micropayment_handypay_activ', __('Zahlungsart "Call2Pay" aktiv', 'wpsg'), $this->get_option('wpsg_mod_micropayment_handypay_activ'), array(
+ /* 'hint' => wpsg_translate(__('Für Abrechnungsbeträge zwischen #1# und #2#', 'wpsg'), wpsg_ff(0.50, $this->get_option('wpsg_currency')), wpsg_ff(5.00, $this->get_option('wpsg_currency'))) */
+ )); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_handypay_name', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_micropayment_handypay_name')); ?>
+ <?php echo wpsg_drawForm_Textarea('wpsg_mod_micropayment_handypay_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_micropayment_handypay_hint')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_handypay_logo', __('Alternative Logo URL', 'wpsg'), $this->get_option('wpsg_mod_micropayment_handypay_logo')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_handypay_gebuehr', __('Gebühr/Rabatt', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_micropayment_handypay_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %')); ?>
+ <?php echo wpsg_drawForm_Select('wpsg_mod_micropayment_handypay_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_micropayment_handypay_mwst')); ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_micropayment_handypay_mwstland', __('Keine MwSt. wenn Land steuerfrei', 'wpsg'), $this->get_option('wpsg_mod_micropayment_handypay_mwstland')); ?>
+ </div>
+
+ <?php if ($this->get_option('wpsg_mod_micropayment_handypay_activ') != '1') { ?>
+ <div id="wpsg_mod_micropayment_handypay_infolayer">
+ <span style="color:red; font-weigh:bold;"><?php echo __('Bitte beachten Sie, dass es bei der Nutzung von HandyPay folgende Einschränkungen gibt', 'wpsg'); ?>:</span><br />
+ <ul>
+ <li><?php echo __('Nur Abrechnung von telekommunikationsbasierten Mehrwertdiensten möglich', 'wpsg'); ?></li>
+ <li><?php echo __('Preise nicht frei tarifierbar, nur vorgegebene Tarifstruktur nutzbar', 'wpsg'); ?></li>
+ <li><?php echo __('National und international KEINE einheitliche Gebührenstruktur', 'wpsg'); ?></li>
+ </ul>
+ <br />
+ <span style="font-weight:bold;"><?php echo __('Sollten Sie sich unsicher sein, ob Sie diese Zahlarten nutzen können oder dürfen, melden Sie sich einfach bei uns!', 'wpsg'); ?></span>
+ <ul>
+ <li><?php echo __('Ansprechpartner', 'wpsg'); ?>: Martin Eliason</li>
+ <li><?php echo __('Telefon (Festnetz)', 'wpsg'); ?>: +49 – (0)30 – 64904255</li>
+ <li><?php echo __('eMail', 'wpsg'); ?>: <a href="mailto:meliason@micropayment.de">meliason@micropayment.de</a></li>
+ <li><?php echo __('Stichwort', 'wpsg'); ?>: WordPress-Shopmodul</li>
+ </ul>
+ <br />
+ <input type="button" class="button" onclick="jQuery('#wpsg_mod_micropayment_handypay_infolayer').hide(); jQuery('#wpsg_mod_micropayment_handypay_layer').show();" value="<?php echo __('Ich habe einen entsprechenden Account und kann die Zahlungsart nutzen.', 'wpsg'); ?>" />
+ </div>
+ <?php } ?>
+
+ </div>
+ </div>
+</div>
+
+<script type="text/javascript">/* <![CDATA[ */
+
+ jQuery(document).ready(function() {
+
+ jQuery('.wpsg_admin_box').wpsg_adminbox();
+
+ } );
+
+/* ]]> */</script> \ No newline at end of file