summaryrefslogtreecommitdiff
path: root/views/mods/mod_micropayment
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2020-07-03 07:44:43 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2020-07-03 07:44:43 +0000
commite29fe25d8aa6ec7239f7771775cafdfd49cb1707 (patch)
treedac59c1290daad5ef6850b85931ef7408e161b89 /views/mods/mod_micropayment
parentfdfe75e0f8777b4c2bb81af19fd0e31fe59bf29b (diff)
- Bugfix: Problem beim Import von Varianten behoben
- Bugfix: Deinstallation von Produkten löscht abhängigkeiten (Produktartikelwerte, Varianten) git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7754 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.pngbin7310 -> 0 bytes
-rw-r--r--views/mods/mod_micropayment/gfx/call2pay.pngbin7265 -> 0 bytes
-rw-r--r--views/mods/mod_micropayment/gfx/chip.pngbin5996 -> 0 bytes
-rw-r--r--views/mods/mod_micropayment/gfx/creditcard.pngbin8798 -> 0 bytes
-rw-r--r--views/mods/mod_micropayment/gfx/directdebit.pngbin7554 -> 0 bytes
-rw-r--r--views/mods/mod_micropayment/gfx/handypay.pngbin7874 -> 0 bytes
-rw-r--r--views/mods/mod_micropayment/gfx/logo_100x25.pngbin2888 -> 0 bytes
-rw-r--r--views/mods/mod_micropayment/gfx/prepayment.pngbin8602 -> 0 bytes
-rw-r--r--views/mods/mod_micropayment/order_done.phtml122
-rw-r--r--views/mods/mod_micropayment/settings_edit.phtml213
11 files changed, 0 insertions, 368 deletions
diff --git a/views/mods/mod_micropayment/debugInfo.phtml b/views/mods/mod_micropayment/debugInfo.phtml
deleted file mode 100644
index ce852df..0000000
--- a/views/mods/mod_micropayment/debugInfo.phtml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?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
deleted file mode 100644
index 097f834..0000000
--- a/views/mods/mod_micropayment/gfx/bank2pay.png
+++ /dev/null
Binary files differ
diff --git a/views/mods/mod_micropayment/gfx/call2pay.png b/views/mods/mod_micropayment/gfx/call2pay.png
deleted file mode 100644
index 7e2ba85..0000000
--- a/views/mods/mod_micropayment/gfx/call2pay.png
+++ /dev/null
Binary files differ
diff --git a/views/mods/mod_micropayment/gfx/chip.png b/views/mods/mod_micropayment/gfx/chip.png
deleted file mode 100644
index 38e656f..0000000
--- a/views/mods/mod_micropayment/gfx/chip.png
+++ /dev/null
Binary files differ
diff --git a/views/mods/mod_micropayment/gfx/creditcard.png b/views/mods/mod_micropayment/gfx/creditcard.png
deleted file mode 100644
index 5ebac0c..0000000
--- a/views/mods/mod_micropayment/gfx/creditcard.png
+++ /dev/null
Binary files differ
diff --git a/views/mods/mod_micropayment/gfx/directdebit.png b/views/mods/mod_micropayment/gfx/directdebit.png
deleted file mode 100644
index 9951453..0000000
--- a/views/mods/mod_micropayment/gfx/directdebit.png
+++ /dev/null
Binary files differ
diff --git a/views/mods/mod_micropayment/gfx/handypay.png b/views/mods/mod_micropayment/gfx/handypay.png
deleted file mode 100644
index 8dcd83f..0000000
--- a/views/mods/mod_micropayment/gfx/handypay.png
+++ /dev/null
Binary files differ
diff --git a/views/mods/mod_micropayment/gfx/logo_100x25.png b/views/mods/mod_micropayment/gfx/logo_100x25.png
deleted file mode 100644
index 2e06ab9..0000000
--- a/views/mods/mod_micropayment/gfx/logo_100x25.png
+++ /dev/null
Binary files differ
diff --git a/views/mods/mod_micropayment/gfx/prepayment.png b/views/mods/mod_micropayment/gfx/prepayment.png
deleted file mode 100644
index 2668837..0000000
--- a/views/mods/mod_micropayment/gfx/prepayment.png
+++ /dev/null
Binary files differ
diff --git a/views/mods/mod_micropayment/order_done.phtml b/views/mods/mod_micropayment/order_done.phtml
deleted file mode 100644
index 2b6ccfd..0000000
--- a/views/mods/mod_micropayment/order_done.phtml
+++ /dev/null
@@ -1,122 +0,0 @@
-<?php
-
- /**
- * Template welches den Zahlungsdienstleister nach Bestellabschluss 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
deleted file mode 100644
index 5335fd6..0000000
--- a/views/mods/mod_micropayment/settings_edit.phtml
+++ /dev/null
@@ -1,213 +0,0 @@
-<?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'), array('help' => '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'), array('help' => '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'), array ('help' => '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'), array('help' => 'wpsg_mod_micropayment_name')); ?>
- <?php echo wpsg_drawForm_Textarea('wpsg_mod_micropayment_creditcard_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_micropayment_creditcard_hint'), array('help' => 'wpsg_mod_micropayment_hint')); ?>
- <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_creditcard_logo', __('Alternative Logo URL', 'wpsg'), $this->get_option('wpsg_mod_micropayment_creditcard_logo'), array('help' => 'wpsg_mod_micropayment_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').' / %', 'help' => 'wpsg_mod_micropayment_gebuehr')); ?>
- <?php echo wpsg_drawForm_Select('wpsg_mod_micropayment_creditcard_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_micropayment_creditcard_mwst'), array('help' => 'wpsg_mod_micropayment_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'), array('help' => 'wpsg_mod_micropayment_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'), array('help' => 'wpsg_mod_micropayment_name')); ?>
- <?php echo wpsg_drawForm_Textarea('wpsg_mod_micropayment_creditcardreservation_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_micropayment_creditcardreservation_hint'), array('help' => 'wpsg_mod_micropayment_hint')); ?>
- <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_creditcardreservation_logo', __('Alternative Logo URL', 'wpsg'), $this->get_option('wpsg_mod_micropayment_creditcardreservation_logo'), array('help' => 'wpsg_mod_micropayment_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').' / %', 'help' => 'wpsg_mod_micropayment_gebuehr')); ?>
- <?php echo wpsg_drawForm_Select('wpsg_mod_micropayment_creditcardreservation_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_micropayment_creditcardreservation_mwst'), array('help' => 'wpsg_mod_micropayment_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'), array('help' => 'wpsg_mod_micropayment_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_activ')); ?>
- <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_directdebit_name', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_micropayment_directdebit_name'), array('help' => 'wpsg_mod_micropayment_name')); ?>
- <?php echo wpsg_drawForm_Textarea('wpsg_mod_micropayment_directdebit_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_micropayment_directdebit_hint'), array('help' => 'wpsg_mod_micropayment_hint')); ?>
- <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_directdebit_logo', __('Alternative Logo URL', 'wpsg'), $this->get_option('wpsg_mod_micropayment_directdebit_logo'), array('help' => 'wpsg_mod_micropayment_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').' / %', 'help' => 'wpsg_mod_micropayment_gebuehr')); ?>
- <?php echo wpsg_drawForm_Select('wpsg_mod_micropayment_directdebit_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_micropayment_directdebit_mwst'), array('help' => 'wpsg_mod_micropayment_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'), array('help' => 'wpsg_mod_micropayment_mwstland')); ?>
- <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_directdebit_subject', __('Betreff der Zahlung', 'wpsg'), $this->get_option('wpsg_mod_micropayment_directdebit_subject'), array('help' => 'wpsg_mod_micropayment_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'), array('help' => 'wpsg_mod_micropayment_name')); ?>
- <?php echo wpsg_drawForm_Textarea('wpsg_mod_micropayment_ebank2pay_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_micropayment_ebank2pay_hint'), array('help' => 'wpsg_mod_micropayment_hint')); ?>
- <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_ebank2pay_logo', __('Alternative Logo URL', 'wpsg'), $this->get_option('wpsg_mod_micropayment_ebank2pay_logo'), array('help' => 'wpsg_mod_micropayment_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').' / %', 'help' => 'wpsg_mod_micropayment_gebuehr')); ?>
- <?php echo wpsg_drawForm_Select('wpsg_mod_micropayment_ebank2pay_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_micropayment_ebank2pay_mwst'), array('help' => 'wpsg_mod_micropayment_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'), array('help' => 'wpsg_mod_micropayment_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'), array('help' => 'wpsg_mod_micropayment_name')); ?>
- <?php echo wpsg_drawForm_Textarea('wpsg_mod_micropayment_prepayment_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_micropayment_prepayment_hint'), array('help' => 'wpsg_mod_micropayment_hint')); ?>
- <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_prepayment_logo', __('Alternative Logo URL', 'wpsg'), $this->get_option('wpsg_mod_micropayment_prepayment_logo'), array('help' => 'wpsg_mod_micropayment_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').' / %', 'help' => 'wpsg_mod_micropayment_gebuehr')); ?>
- <?php echo wpsg_drawForm_Select('wpsg_mod_micropayment_prepayment_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_micropayment_prepayment_mwst'), array('help' => 'wpsg_mod_micropayment_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'), array('help' => 'wpsg_mod_micropayment_mwstland')); ?>
- <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_prepayment_subject', __('Betreff der Zahlung', 'wpsg'), $this->get_option('wpsg_mod_micropayment_prepayment_subject'), array('help' => 'wpsg_mod_micropayment_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'), array('help' => 'wpsg_mod_micropayment_name')); ?>
- <?php echo wpsg_drawForm_Textarea('wpsg_mod_micropayment_call2pay_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_micropayment_call2pay_hint'), array('help' => 'wpsg_mod_micropayment_hint')); ?>
- <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_call2pay_logo', __('Alternative Logo URL', 'wpsg'), $this->get_option('wpsg_mod_micropayment_call2pay_logo'), array('help' => 'wpsg_mod_micropayment_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').' / %', 'help' => 'wpsg_mod_micropayment_gebuehr')); ?>
- <?php echo wpsg_drawForm_Select('wpsg_mod_micropayment_call2pay_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_micropayment_call2pay_mwst'), array('help' => 'wpsg_mod_micropayment_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'), array('help' => 'wpsg_mod_micropayment_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'), array('help' => 'wpsg_mod_micropayment_name')); ?>
- <?php echo wpsg_drawForm_Textarea('wpsg_mod_micropayment_handypay_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_micropayment_handypay_hint'), array('help' => 'wpsg_mod_micropayment_hint')); ?>
- <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_handypay_logo', __('Alternative Logo URL', 'wpsg'), $this->get_option('wpsg_mod_micropayment_handypay_logo'), array('help' => 'wpsg_mod_micropayment_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').' / %', 'help' => 'wpsg_mod_micropayment_gebuehr')); ?>
- <?php echo wpsg_drawForm_Select('wpsg_mod_micropayment_handypay_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_micropayment_handypay_mwst'), array('help' => 'wpsg_mod_micropayment_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'), array('help' => 'wpsg_mod_micropayment_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