summaryrefslogtreecommitdiff
path: root/views/mods/mod_skrill
diff options
context:
space:
mode:
Diffstat (limited to 'views/mods/mod_skrill')
-rw-r--r--views/mods/mod_skrill/gfx/logo_100x25.pngbin0 -> 1924 bytes
-rw-r--r--views/mods/mod_skrill/order_done.phtml60
-rw-r--r--views/mods/mod_skrill/settings_edit.phtml27
-rw-r--r--views/mods/mod_skrill/skrill-moneybookers-payby-border_de_150x106.pngbin0 -> 5262 bytes
4 files changed, 87 insertions, 0 deletions
diff --git a/views/mods/mod_skrill/gfx/logo_100x25.png b/views/mods/mod_skrill/gfx/logo_100x25.png
new file mode 100644
index 0000000..04f417f
--- /dev/null
+++ b/views/mods/mod_skrill/gfx/logo_100x25.png
Binary files differ
diff --git a/views/mods/mod_skrill/order_done.phtml b/views/mods/mod_skrill/order_done.phtml
new file mode 100644
index 0000000..d960073
--- /dev/null
+++ b/views/mods/mod_skrill/order_done.phtml
@@ -0,0 +1,60 @@
+<?php
+
+ /*
+ * Template für das Zahlungsformular nach Bestellablauf
+ */
+
+?>
+<form id="wpsg_skrill_payform" method="POST" action="<?php echo $this->view['wpsg_mod_skrill']['url']; ?>">
+
+ <input type="hidden" name="pay_to_email" value="<?php echo wpsg_hspc($this->get_option('wpsg_mod_skrill_email')); ?>" />
+ <input type="hidden" name="recipient_description" value="<?php echo wpsg_hspc($this->get_option('wpsg_mod_skrill_recipient_description')); ?>" />
+ <input type="hidden" name="transaction_id" value="<?php echo wpsg_hspc($this->view['wpsg_mod_skrill']['transaction_id']); ?>" />
+
+ <input type="hidden" name="return_url" value="<?php echo wpsg_hspc($this->view['wpsg_mod_skrill']['return_url']); ?>" />
+ <input type="hidden" name="return_url_text" value="<?php echo __('Zurück zum Shop', 'wpsg'); ?>" />
+ <input type="hidden" name="return_url_target" value="_self" />
+
+ <input type="hidden" name="cancel_url" value="<?php echo wpsg_hspc($this->view['wpsg_mod_skrill']['cancel_url']); ?>" />
+ <input type="hidden" name="cancel_url_target" value="_self" />
+
+ <input type="hidden" name="status_url" value="<?php echo wpsg_hspc($this->view['wpsg_mod_skrill']['status_url']); ?>" />
+ <input type="hidden" name="language" value="DE" />
+ <input type="hidden" name="logo_url" value="<?php echo wpsg_hspc($this->get_option('wpsg_mod_skrill_logo_url')); ?>" />
+
+ <!-- <input type="hidden" name="pay_from_email" value="<?php echo wpsg_hspc($this->view['kunde']['email']); ?>" />-->
+ <input type="hidden" name="firstname" value="<?php echo wpsg_hspc($this->view['kunde']['vname']); ?>" />
+ <input type="hidden" name="lastname" value="<?php echo wpsg_hspc($this->view['kunde']['name']); ?>" />
+ <input type="hidden" name="date_of_birth" value="<?php echo wpsg_hspc(date('dmY', strtotime($this->view['kunde']['geb']))); ?>" />
+ <input type="hidden" name="address" value="<?php echo wpsg_hspc($this->view['kunde']['strasse']); ?>" />
+ <input type="hidden" name="phone_number" value="<?php echo wpsg_hspc($this->view['kunde']['tel']); ?>" />
+ <input type="hidden" name="postal_code" value="<?php echo wpsg_hspc($this->view['kunde']['plz']); ?>" />
+ <input type="hidden" name="city" value="<?php echo wpsg_hspc($this->view['kunde']['ort']); ?>" />
+ <input type="hidden" name="country" value="<?php echo wpsg_hspc($this->view['kunde']['land']['kuerzel']); ?>" />
+
+ <input type="hidden" name="amount" value="<?php echo number_format(wpsg_tf($this->view['basket']['sum']['preis_gesamt_brutto']), 2, '.', ''); ?>" />
+ <input type="hidden" name="currency" value="<?php echo wpsg_hspc($this->get_option('wpsg_mod_skrill_currency')); ?>" />
+
+ <input type="hidden" name="platform" value="32888040" />
+
+ <!-- 5 Felder -->
+ <input type="hidden" name="detail1_description" value="<?php echo __('Bestellnummer', 'wpsg'); ?>:" />
+ <input type="hidden" name="detail1_text" value="<?php echo wpsg_hspc($this->view['order']['onr']); ?>" />
+
+ <input type="image" src="<?php echo WPSG_URL_CONTENT; ?>plugins/wpshopgermany/views/mods/mod_skrill/skrill-moneybookers-payby-border_de_150x106.png" alt="<?php echo __('Bezahlen mit Skrill', 'wpsg'); ?>" />
+
+ <p>
+ <?php echo __('Klicken Sie auf das Logo, um die Zahlung mit Skrill (Moneybookers) zu starten.', 'wpsg'); ?>
+ </p>
+
+</form>
+
+<?php if ($this->get_option('wpsg_mod_skrill_autostart') == '1') { ?>
+<script type="text/javascript">
+
+ jQuery(document).ready(function() {
+ jQuery('#wpsg_skrill_payform').submit();
+ } );
+
+</script>
+<?php } ?> \ No newline at end of file
diff --git a/views/mods/mod_skrill/settings_edit.phtml b/views/mods/mod_skrill/settings_edit.phtml
new file mode 100644
index 0000000..0db9ade
--- /dev/null
+++ b/views/mods/mod_skrill/settings_edit.phtml
@@ -0,0 +1,27 @@
+<?php
+
+ /**
+ * Template für die Einstellungen des Zahlungsmoduls "Skrill"
+ */
+
+?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_skrill_bezeichnung', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_skrill_bezeichnung'), array('help' => 'wpsg_mod_skrill_bezeichnung')); ?>
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_skrill_aktiv', __('Aktiv', 'wpsg'), $this->get_option('wpsg_mod_skrill_aktiv'), array('help' => 'wpsg_mod_skrill_aktiv')); ?>
+<?php echo wpsg_drawForm_Textarea('wpsg_mod_skrill_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_skrill_hint'), array('help' => 'wpsg_mod_skrill_hint')); ?>
+
+<br />
+<?php echo wpsg_drawForm_Input('wpsg_mod_skrill_gebuehr', __('Gebühr/Rabatt', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_skrill_gebuehr'), true), array('help' => 'wpsg_mod_skrill_gebuehr','unit' => $this->get_option('wpsg_currency'), ' / %')); ?>
+<?php echo wpsg_drawForm_Select('wpsg_mod_skrill_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_skrill_mwst'), array('help' => 'wpsg_mod_skrill_mwst')); ?>
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_skrill_mwstland', __('Keine MwSt. wenn Land steuerfrei', 'wpsg'), $this->get_option('wpsg_mod_skrill_mwstland'), array('help' => 'wpsg_mod_skrill_mwstland')); ?>
+
+<br />
+<?php echo wpsg_drawForm_Input('wpsg_mod_skrill_currency', __('Währungscode (Standard: EUR)', 'wpsg'), $this->get_option('wpsg_mod_skrill_currency'), array('help' => 'wpsg_mod_skrill_curreny')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_skrill_recipient_description', __('Händlerbeschreibung (Max. 30 Zeichen)', 'wpsg'), $this->get_option('wpsg_mod_skrill_recipient_description'), array('help' => 'wpsg_mod_skrill_recipient_description')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_skrill_code', __('Geheimwort', 'wpsg'), $this->get_option('wpsg_mod_skrill_code'), array('help' => 'wpsg_mod_skrill_code')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_skrill_email', __('E-Mail (Skrill Konto)', 'wpsg'), $this->get_option('wpsg_mod_skrill_email'), array('help' => 'wpsg_mod_skrill_email')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_skrill_id', __('Händler ID', 'wpsg'), $this->get_option('wpsg_mod_skrill_id'), array('help' => 'wpsg_mod_skrill_id')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_skrill_logo_url', __('Logo URL des Shops (200x50)', 'wpsg'), $this->get_option('wpsg_mod_skrill_logo_url'), array('help' => 'wpsg_mod_skrill_logo_url')); ?>
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_skrill_autostart', __('Zahlung sofort starten', 'wpsg'), $this->get_option('wpsg_mod_skrill_autostart'), array('help' => 'wpsg_mod_skrill_autostart')); ?>
+<?php echo wpsg_drawForm_Select('wpsg_page_mod_skrill_success', __('Erfolgsseite', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_page_mod_skrill_success'), array('help' => 'wpsg_mod_skrill_success')); ?>
+<?php echo wpsg_drawForm_Select('wpsg_page_mod_skrill_error', __('Fehlerseite', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_page_mod_skrill_error'), array('help' => 'wpsg_mod_skrill_error')); ?>
+
diff --git a/views/mods/mod_skrill/skrill-moneybookers-payby-border_de_150x106.png b/views/mods/mod_skrill/skrill-moneybookers-payby-border_de_150x106.png
new file mode 100644
index 0000000..908e241
--- /dev/null
+++ b/views/mods/mod_skrill/skrill-moneybookers-payby-border_de_150x106.png
Binary files differ