From 6df566a9d50af64b0b9f3bfde4ef81a5d3ab823b Mon Sep 17 00:00:00 2001 From: thomas Date: Tue, 24 May 2016 14:09:58 +0000 Subject: - Sofort Ident git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5517 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_si/cannotorder.phtml | 45 ++++++++++++++++++++++++++ views/mods/mod_si/produkt_edit_allgemein.phtml | 27 ++++++++++++++++ views/mods/mod_si/settings_edit.phtml | 28 ++++++++++++++++ 3 files changed, 100 insertions(+) create mode 100644 views/mods/mod_si/cannotorder.phtml create mode 100644 views/mods/mod_si/produkt_edit_allgemein.phtml create mode 100644 views/mods/mod_si/settings_edit.phtml (limited to 'views') diff --git a/views/mods/mod_si/cannotorder.phtml b/views/mods/mod_si/cannotorder.phtml new file mode 100644 index 0000000..a3ff5d5 --- /dev/null +++ b/views/mods/mod_si/cannotorder.phtml @@ -0,0 +1,45 @@ +view['basket']['checkout']['mod_autodebit_bic'], ''); + + $arParam = array( + 'user_id' => $this->get_option('wpsg_mod_si_user_id'), // Ihre Kundennummer bei SOFORT, z.B. "12345" + 'project_id' => $this->get_option('wpsg_mod_si_project_id'), // Ihre Projektnummer des SOFORT Ident Projekts, z.B. "54321" + 'firstname' => $this->view['basket']['checkout']['vname'], // Vorname des Kunden, z.B. "Max" + 'lastname' => $this->view['basket']['checkout']['name'], // Nachname des Kunden, z.B. "Mustermann" + 'street' => $this->view['basket']['checkout']['strasse'], // Straße und Hausnummer des Kunden, z.B. "Unter den Linden 77" + 'city' => $this->view['basket']['checkout']['ort'], // Wohnort des Kunden, z.B. "Berlin" + 'zipcode' => $this->view['basket']['checkout']['plz'], // PLZ des Kunden, z.B. "10117" + 'birthday' => date('Y-m-d', strtotime($this->view['basket']['checkout']['plz'])), // Geburtsdatum des Kunden im Format YYYY-MM-DD, z.B. "1978-09-24" + 'address_country_id' => $this->view['basket']['land']['kuerzel'], // 2-stellige Abkürzung des Landes des Kunden im ISO-3166-1 Format, z.B. "DE" + 'bank_code' => $bic, // BIC (DEPRECATED: oder Bankleitzahl) der Bankfiliale des Kunden + '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" + 'user_variable_0' => $this->view['temp_order_id'], // Kundenvariable (optional), z.B. "123456" + 'user_variable_1' => '', // Kundenvariable (optional) + 'user_variable_2' => '', // Kundenvariable (optional) + 'user_variable_3' => '', // Kundenvariable (optional) + 'user_variable_4' => '', // Kundenvariable (optional) + 'user_variable_5' => '' // Kundenvariable (optional) + ); + + $arParam['hash'] = $this->view['wpsg_mod_si']['modul']->getSendHash($arParam); + +?> + + + +
+ + $value) { ?> + + + + + +
+ +
\ No newline at end of file diff --git a/views/mods/mod_si/produkt_edit_allgemein.phtml b/views/mods/mod_si/produkt_edit_allgemein.phtml new file mode 100644 index 0000000..d602179 --- /dev/null +++ b/views/mods/mod_si/produkt_edit_allgemein.phtml @@ -0,0 +1,27 @@ + +view['wpsg_mod_si']['check'], array('id' => 'wpsg_mod_si_checkbox')); ?> + + + + \ No newline at end of file diff --git a/views/mods/mod_si/settings_edit.phtml b/views/mods/mod_si/settings_edit.phtml new file mode 100644 index 0000000..ff09287 --- /dev/null +++ b/views/mods/mod_si/settings_edit.phtml @@ -0,0 +1,28 @@ + + +get_option('wpsg_mod_si_user_id'), array('help' => 'wpsg_mod_si_user_id')); ?> +get_option('wpsg_mod_si_project_id'), array('help' => 'wpsg_mod_si_project_id')); ?> + +
+ +get_option('wpsg_mod_si_project_pwd'), array('help' => 'wpsg_mod_si_project_pwd')); ?> + __('MD5', 'wpsg'), + wpsg_mod_si::HASH_SHA1 => __('SHA1', 'wpsg'), + wpsg_mod_si::HASH_SHA256 => __('SHA256', 'wpsg'), + wpsg_mod_si::HASH_SHA512 => __('SHA512', 'wpsg'), +), $this->get_option('wpsg_mod_si_hashalgo'), array('help' => 'wpsg_mod_si_hashalgo')); ?> + +
+ +get_option('wpsg_mod_si_minAge'), array('help' => 'wpsg_mod_si_minAge')); ?> + +
+ +view['wpsg_mod_si']['returnURL'], array('readonly' => true, 'help' => 'wpsg_mod_si_returnURL')); ?> \ No newline at end of file -- cgit v1.2.3