Subversion Repositories wpShopGermany4

Rev

Rev 1321 | Rev 2715 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1250 daniel 1
<?php
2
 
3
	/*
4
	 * Template für das Zahlungsformular nach Bestellablauf
5
	 */
6
 
7
?>
1321 daniel 8
<form id="wpsg_skrill_payform" method="POST" action="<?php echo $this->view['wpsg_mod_skrill']['url']; ?>">
1250 daniel 9
 
10
	<input type="hidden" name="pay_to_email" value="<?php echo wpsg_hspc($this->get_option('wpsg_mod_skrill_email')); ?>" />
11
	<input type="hidden" name="recipient_description" value="<?php echo wpsg_hspc($this->get_option('wpsg_mod_skrill_recipient_description')); ?>" />
12
	<input type="hidden" name="transaction_id" value="<?php echo wpsg_hspc($this->view['wpsg_mod_skrill']['transaction_id']); ?>" />
13
 
14
	<input type="hidden" name="return_url" value="<?php echo wpsg_hspc($this->view['wpsg_mod_skrill']['return_url']); ?>" />
15
	<input type="hidden" name="return_url_text" value="<?php echo __('Zurück zum Shop', 'wpsg'); ?>" />
16
	<input type="hidden" name="return_url_target" value="_self" />
17
 
18
	<input type="hidden" name="cancel_url" value="<?php echo wpsg_hspc($this->view['wpsg_mod_skrill']['cancel_url']); ?>" />
19
	<input type="hidden" name="cancel_url_target" value="_self" />
20
 
1267 daniel 21
	<input type="hidden" name="status_url" value="<?php echo wpsg_hspc($this->view['wpsg_mod_skrill']['status_url']); ?>" />
22
	<input type="hidden" name="language" value="DE" />
23
	<input type="hidden" name="logo_url" value="<?php echo wpsg_hspc($this->get_option('wpsg_mod_skrill_logo_url')); ?>" />
24
 
25
	<!-- <input type="hidden" name="pay_from_email" value="<?php echo wpsg_hspc($this->view['kunde']['email']); ?>" />-->
26
	<input type="hidden" name="firstname" value="<?php echo wpsg_hspc($this->view['kunde']['vname']); ?>" />
27
	<input type="hidden" name="lastname" value="<?php echo wpsg_hspc($this->view['kunde']['name']); ?>" />
28
	<input type="hidden" name="date_of_birth" value="<?php echo wpsg_hspc(date('dmY', strtotime($this->view['kunde']['geb']))); ?>" />
29
	<input type="hidden" name="address" value="<?php echo wpsg_hspc($this->view['kunde']['strasse']); ?>" />
30
	<input type="hidden" name="phone_number" value="<?php echo wpsg_hspc($this->view['kunde']['tel']); ?>" />
31
	<input type="hidden" name="postal_code" value="<?php echo wpsg_hspc($this->view['kunde']['plz']); ?>" />
32
	<input type="hidden" name="city" value="<?php echo wpsg_hspc($this->view['kunde']['ort']); ?>" />
33
	<input type="hidden" name="country" value="<?php echo wpsg_hspc($this->view['kunde']['land']['kuerzel']); ?>" />
34
 
35
	<input type="hidden" name="amount" value="<?php echo number_format(wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto']), 2, '.', ''); ?>" />
36
	<input type="hidden" name="currency" value="<?php echo wpsg_hspc($this->get_option('wpsg_mod_skrill_currency')); ?>" />
37
 
1321 daniel 38
	<input type="hidden" name="platform" value="32888040" />
39
 
1267 daniel 40
	<!--  5 Felder -->
41
	<input type="hidden" name="detail1_description" value="<?php echo __('Bestellnummer', 'wpsg'); ?>:" />
42
	<input type="hidden" name="detail1_text" value="<?php echo wpsg_hspc($this->view['order']['onr']); ?>" />
43
 
1250 daniel 44
	<input type="image" src="<?php echo WPSG_URL_WP; ?>wp-content/plugins/wpshopgermany/views/mods/mod_skrill/skrill-moneybookers-payby-border_de_150x106.png" alt="<?php echo __('Bezahlen mit Skrill', 'wpsg'); ?>" />
45
 
1321 daniel 46
	<p>
1598 daniel 47
		<?php echo __('Klicken Sie auf das Logo, um die Zahlung mit Skrill (Moneybookers) zu starten.', 'wpsg'); ?>
1321 daniel 48
	</p>
49
 
50
</form>
51
 
52
<?php if ($this->get_option('wpsg_mod_skrill_autostart') == '1') { ?>
53
<script type="text/javascript">
54
 
55
	jQuery(document).ready(function() {
56
		jQuery('#wpsg_skrill_payform').submit();
57
	} );
58
 
59
</script>
60
<?php } ?>