Subversion Repositories wpShopGermany4

Rev

Rev 7247 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
5517 thomas 1
<?php
2
 
3
	/**
4
	 * Integration in die Bestellzusammenfassung
5
	 */
6
 
7
	$bic = wpsg_getStr($this->view['basket']['checkout']['mod_autodebit_bic'], '');
8
 
9
	$arParam = array(
10
		'user_id' => $this->get_option('wpsg_mod_si_user_id'), // Ihre Kundennummer bei SOFORT, z.B. "12345"
11
		'project_id' => $this->get_option('wpsg_mod_si_project_id'), // Ihre Projektnummer des SOFORT Ident Projekts, z.B. "54321"
12
		'firstname' => $this->view['basket']['checkout']['vname'], // Vorname des Kunden, z.B. "Max"
13
		'lastname' => $this->view['basket']['checkout']['name'], // Nachname des Kunden, z.B. "Mustermann"
14
		'street' => $this->view['basket']['checkout']['strasse'], // Straße und Hausnummer des Kunden, z.B. "Unter den Linden 77"
15
		'city' => $this->view['basket']['checkout']['ort'], // Wohnort des Kunden, z.B. "Berlin"
16
		'zipcode' => $this->view['basket']['checkout']['plz'], // PLZ des Kunden, z.B. "10117"
17
		'birthday' => date('Y-m-d', strtotime($this->view['basket']['checkout']['plz'])), // Geburtsdatum des Kunden im Format YYYY-MM-DD, z.B. "1978-09-24"
18
		'address_country_id' => $this->view['basket']['land']['kuerzel'], // 2-stellige Abkürzung des Landes des Kunden im ISO-3166-1 Format, z.B. "DE"
19
		'bank_code' => $bic, // BIC (DEPRECATED: oder Bankleitzahl) der Bankfiliale des Kunden
20
		'account_country_id' => $this->view['basket']['land']['kuerzel'], // 2-stellige Abkürzung des Landes der Bankfiliale des Kunden im ISO-3166-1 Format, z.B. "DE"
21
		'user_variable_0' => $this->view['temp_order_id'], // Kundenvariable (optional), z.B. "123456"
22
		'user_variable_1' => '', // Kundenvariable (optional)
23
		'user_variable_2' => '', //	Kundenvariable (optional)
24
		'user_variable_3' => '', //	Kundenvariable (optional)
25
		'user_variable_4' => '', //	Kundenvariable (optional)
26
		'user_variable_5' => '' //	Kundenvariable (optional)
27
	);
28
 
29
	$arParam['hash'] = $this->view['wpsg_mod_si']['modul']->getSendHash($arParam);
30
 
31
?>
32
 
33
</form>
34
 
35
<form method="post" id="wpsg_mod_si_form" action="https://www.sofort.com/payment/agecheck">
36
 
37
    <?php foreach ($arParam as $key => $value) { ?>
38
    <input type="hidden" name="<?php echo $key; ?>" value="<?php echo $value; ?>" />
39
    <?php } ?>
40
 
41
   	<input type="submit" value="<?php echo __('Altersverifizierung', 'wpsg'); ?>" />
42
 
43
</form>
44
 
45
<form method="post" action="<?php echo $this->getURL(wpsg_ShopController::URL_BASKET); ?>">