Version Notes
- bugfix: stock problem
Download this release
Release Info
Developer | Heidelberger Payment GmbH |
Extension | Heidelpay |
Version | 13.12.17 |
Comparing to | |
See all releases |
Code changes from version 1.2.1 to 13.12.17
- app/code/local/Mage/Heidelpay/Block/Form/Barpay.php +20 -0
- app/code/local/Mage/Heidelpay/Block/Form/Billsafe.php +20 -0
- app/code/local/Mage/Heidelpay/Block/Form/Mangirkart.php +20 -0
- app/code/local/Mage/Heidelpay/Block/Form/Xcard.php +20 -0
- app/code/local/Mage/Heidelpay/Block/Info.php +1 -0
- app/code/local/Mage/Heidelpay/Model/Entity/Setup.php +38 -0
- app/code/local/Mage/Heidelpay/Model/Method/Hpbp.php +95 -0
- app/code/local/Mage/Heidelpay/Model/Method/Hpbs.php +119 -0
- app/code/local/Mage/Heidelpay/Model/Method/Hpcc.php +53 -8
- app/code/local/Mage/Heidelpay/Model/Method/Hpdc.php +53 -8
- app/code/local/Mage/Heidelpay/Model/Method/Hpdd.php +100 -37
- app/code/local/Mage/Heidelpay/Model/Method/Hpeps.php +0 -6
- app/code/local/Mage/Heidelpay/Model/Method/Hpgp.php +40 -7
- app/code/local/Mage/Heidelpay/Model/Method/Hpidl.php +0 -6
- app/code/local/Mage/Heidelpay/Model/Method/Hpiv.php +0 -6
- app/code/local/Mage/Heidelpay/Model/Method/Hpmk.php +88 -0
- app/code/local/Mage/Heidelpay/Model/Method/Hppp.php +0 -6
- app/code/local/Mage/Heidelpay/Model/Method/Hpppal.php +0 -6
- app/code/local/Mage/Heidelpay/Model/Method/Hpsu.php +40 -7
- app/code/local/Mage/Heidelpay/Model/Method/Hpxc.php +115 -0
- app/code/local/Mage/Heidelpay/Model/Method/Payment.php +343 -74
- app/code/local/Mage/Heidelpay/Model/Order/Pdf/Invoice.php +99 -0
- app/code/local/Mage/Heidelpay/Model/System/Config/Source/Bookingmode.php +2 -2
- app/code/local/Mage/Heidelpay/Model/System/Config/Source/Ddmodulemode.php +11 -0
- app/code/local/Mage/Heidelpay/Model/System/Config/Source/Modulemode.php +12 -0
- app/code/local/Mage/Heidelpay/Model/System/Config/Source/Sepamode.php +13 -0
- app/code/local/Mage/Heidelpay/controllers/PaymentController.php +156 -67
- app/code/local/Mage/Heidelpay/etc/config.xml +107 -17
- app/code/local/Mage/Heidelpay/etc/system.xml +767 -144
- app/code/local/Mage/Heidelpay/sql/heidelpay_setup/mysql4-install-1.0.0.php +55 -0
- app/design/frontend/base/default/template/heidelpay/form/barpay.phtml +17 -0
- app/design/frontend/base/default/template/heidelpay/form/billsafe.phtml +17 -0
- app/design/frontend/base/default/template/heidelpay/form/ccard.phtml +79 -1
- app/design/frontend/base/default/template/heidelpay/form/debitcard.phtml +79 -1
- app/design/frontend/base/default/template/heidelpay/form/directdebit.phtml +9 -1
- app/design/frontend/base/default/template/heidelpay/form/eps.phtml +9 -1
- app/design/frontend/base/default/template/heidelpay/form/giropay.phtml +9 -1
- app/design/frontend/base/default/template/heidelpay/form/ideal.phtml +9 -1
- app/design/frontend/base/default/template/heidelpay/form/invoice.phtml +9 -1
- app/design/frontend/base/default/template/heidelpay/form/mangirkart.phtml +17 -0
- app/design/frontend/base/default/template/heidelpay/form/paypal.phtml +9 -1
- app/design/frontend/base/default/template/heidelpay/form/prepaid.phtml +9 -1
- app/design/frontend/base/default/template/heidelpay/form/sofortueberweisung.phtml +9 -1
- app/design/frontend/base/default/template/heidelpay/form/xcard.phtml +87 -0
- app/design/frontend/base/default/template/heidelpay/iframe.phtml +1 -1
- app/design/frontend/base/default/template/heidelpay/lightbox.phtml +1 -1
- app/design/frontend/base/default/template/heidelpay/redirect.phtml +1 -1
- app/design/frontend/base/default/template/heidelpay/secure.phtml +1 -1
- app/locale/de_DE/Mage_Heidelpay.csv +71 -1
- app/locale/en_US/Mage_Heidelpay.csv +70 -1
- package.xml +40 -39
- skin/frontend/base/default/images/heidelpay/BarPay.jpg +0 -0
- skin/frontend/base/default/images/heidelpay/Thumbs.db +0 -0
- skin/frontend/base/default/images/heidelpay/back.png +0 -0
- skin/frontend/base/default/images/heidelpay/back_de.png +0 -0
- skin/frontend/base/default/images/heidelpay/forward.jpg +0 -0
- skin/frontend/base/default/images/heidelpay/forward.png +0 -0
- skin/frontend/base/default/images/heidelpay/forward_de.jpg +0 -0
- skin/frontend/base/default/images/heidelpay/forward_de.png +0 -0
- skin/frontend/base/default/images/heidelpay/heidelpay_small.png +0 -0
app/code/local/Mage/Heidelpay/Block/Form/Barpay.php
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Mage_Heidelpay_Block_Form_Barpay extends Mage_Heidelpay_Block_Form
|
3 |
+
{
|
4 |
+
protected function _construct()
|
5 |
+
{
|
6 |
+
parent::_construct();
|
7 |
+
$this->setTemplate('heidelpay/form/barpay.phtml');
|
8 |
+
}
|
9 |
+
|
10 |
+
/**
|
11 |
+
* Retrieve payment configuration object
|
12 |
+
*
|
13 |
+
* @return Mage_Payment_Model_Config
|
14 |
+
*/
|
15 |
+
protected function _getConfig()
|
16 |
+
{
|
17 |
+
return Mage::getSingleton('payment/config');
|
18 |
+
}
|
19 |
+
|
20 |
+
}
|
app/code/local/Mage/Heidelpay/Block/Form/Billsafe.php
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Mage_Heidelpay_Block_Form_Billsafe extends Mage_Heidelpay_Block_Form
|
3 |
+
{
|
4 |
+
protected function _construct()
|
5 |
+
{
|
6 |
+
parent::_construct();
|
7 |
+
$this->setTemplate('heidelpay/form/billsafe.phtml');
|
8 |
+
}
|
9 |
+
|
10 |
+
/**
|
11 |
+
* Retrieve payment configuration object
|
12 |
+
*
|
13 |
+
* @return Mage_Payment_Model_Config
|
14 |
+
*/
|
15 |
+
protected function _getConfig()
|
16 |
+
{
|
17 |
+
return Mage::getSingleton('payment/config');
|
18 |
+
}
|
19 |
+
|
20 |
+
}
|
app/code/local/Mage/Heidelpay/Block/Form/Mangirkart.php
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Mage_Heidelpay_Block_Form_Mangirkart extends Mage_Heidelpay_Block_Form
|
3 |
+
{
|
4 |
+
protected function _construct()
|
5 |
+
{
|
6 |
+
parent::_construct();
|
7 |
+
$this->setTemplate('heidelpay/form/mangirkart.phtml');
|
8 |
+
}
|
9 |
+
|
10 |
+
/**
|
11 |
+
* Retrieve payment configuration object
|
12 |
+
*
|
13 |
+
* @return Mage_Payment_Model_Config
|
14 |
+
*/
|
15 |
+
protected function _getConfig()
|
16 |
+
{
|
17 |
+
return Mage::getSingleton('payment/config');
|
18 |
+
}
|
19 |
+
|
20 |
+
}
|
app/code/local/Mage/Heidelpay/Block/Form/Xcard.php
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Mage_Heidelpay_Block_Form_Xcard extends Mage_Heidelpay_Block_Form
|
3 |
+
{
|
4 |
+
protected function _construct()
|
5 |
+
{
|
6 |
+
parent::_construct();
|
7 |
+
$this->setTemplate('heidelpay/form/xcard.phtml');
|
8 |
+
}
|
9 |
+
|
10 |
+
/**
|
11 |
+
* Retrieve payment configuration object
|
12 |
+
*
|
13 |
+
* @return Mage_Payment_Model_Config
|
14 |
+
*/
|
15 |
+
protected function _getConfig()
|
16 |
+
{
|
17 |
+
return Mage::getSingleton('payment/config');
|
18 |
+
}
|
19 |
+
|
20 |
+
}
|
app/code/local/Mage/Heidelpay/Block/Info.php
CHANGED
@@ -17,6 +17,7 @@ class Mage_Heidelpay_Block_Info extends Mage_Payment_Block_Info
|
|
17 |
if (!($info instanceof Mage_Payment_Model_Info)) {
|
18 |
Mage::throwException($this->__('Can not retrieve payment info model object.'));
|
19 |
}
|
|
|
20 |
return $info;
|
21 |
}
|
22 |
|
17 |
if (!($info instanceof Mage_Payment_Model_Info)) {
|
18 |
Mage::throwException($this->__('Can not retrieve payment info model object.'));
|
19 |
}
|
20 |
+
#echo '<pre>'.print_r($info,1).'</pre>';
|
21 |
return $info;
|
22 |
}
|
23 |
|
app/code/local/Mage/Heidelpay/Model/Entity/Setup.php
CHANGED
@@ -51,6 +51,44 @@ class Mage_Heidelpay_Model_Entity_Setup extends Mage_Customer_Model_Entity_Setup
|
|
51 |
'required' => FALSE,
|
52 |
'sort_order' => 350,
|
53 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
'heidelpay_dcard_unique_id' => array(
|
55 |
'type' => 'varchar',
|
56 |
'label' => 'Heidelpay DebitCard Unique ID',
|
51 |
'required' => FALSE,
|
52 |
'sort_order' => 350,
|
53 |
),
|
54 |
+
|
55 |
+
'heidelpay_xcard_unique_id' => array(
|
56 |
+
'type' => 'varchar',
|
57 |
+
'label' => 'Heidelpay Creditcard X Unique ID',
|
58 |
+
'required' => FALSE,
|
59 |
+
'sort_order' => 300,
|
60 |
+
),
|
61 |
+
'heidelpay_xcard_payment_type' => array(
|
62 |
+
'type' => 'varchar',
|
63 |
+
'label' => 'Heidelpay Creditcard X Payment Type',
|
64 |
+
'required' => FALSE,
|
65 |
+
'sort_order' => 310,
|
66 |
+
),
|
67 |
+
'heidelpay_xcard' => array(
|
68 |
+
'type' => 'varchar',
|
69 |
+
'label' => 'Heidelpay Creditcard X',
|
70 |
+
'required' => FALSE,
|
71 |
+
'sort_order' => 320,
|
72 |
+
),
|
73 |
+
'heidelpay_xcard_valid_until' => array(
|
74 |
+
'type' => 'varchar',
|
75 |
+
'label' => 'Heidelpay Creditcard X valid until',
|
76 |
+
'required' => FALSE,
|
77 |
+
'sort_order' => 330,
|
78 |
+
),
|
79 |
+
'heidelpay_xcard_brand' => array(
|
80 |
+
'type' => 'varchar',
|
81 |
+
'label' => 'Heidelpay Creditcard X Brand',
|
82 |
+
'required' => FALSE,
|
83 |
+
'sort_order' => 340,
|
84 |
+
),
|
85 |
+
'heidelpay_xcard_holder' => array(
|
86 |
+
'type' => 'varchar',
|
87 |
+
'label' => 'Heidelpay Creditcard X Holder',
|
88 |
+
'required' => FALSE,
|
89 |
+
'sort_order' => 350,
|
90 |
+
),
|
91 |
+
|
92 |
'heidelpay_dcard_unique_id' => array(
|
93 |
'type' => 'varchar',
|
94 |
'label' => 'Heidelpay DebitCard Unique ID',
|
app/code/local/Mage/Heidelpay/Model/Method/Hpbp.php
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Mage_Heidelpay_Model_Method_Hpbp extends Mage_Heidelpay_Model_Method_Payment
|
3 |
+
{
|
4 |
+
/**
|
5 |
+
* unique internal payment method identifier
|
6 |
+
*
|
7 |
+
* @var string [a-z0-9_]
|
8 |
+
**/
|
9 |
+
protected $_code = 'hpbp';
|
10 |
+
protected $_formBlockType = 'payment/form';
|
11 |
+
protected $_infoBlockType = 'heidelpay/info_payment';
|
12 |
+
|
13 |
+
public function getLightbox($descArea = false)
|
14 |
+
{
|
15 |
+
$info = '';
|
16 |
+
if ($descArea){
|
17 |
+
/*
|
18 |
+
$info.= '<table>';
|
19 |
+
$info.= '<tr><td>'.$this->_getHelper('heidelpay')->__('Account No').':</td><td><input type="text" name="heidelpay[su_kto]" value=""></td></tr>';
|
20 |
+
$info.= '<tr><td>'.$this->_getHelper('heidelpay')->__('Bankcode').':</td><td><input type="text" name="heidelpay[su_blz]" value=""></td></tr>';
|
21 |
+
$info.= '<tr><td>'.$this->_getHelper('heidelpay')->__('Owner').':</td><td><input type="text" name="heidelpay[su_holder]" value=""></td></tr>';
|
22 |
+
$info.= '</table>';
|
23 |
+
*/
|
24 |
+
$logopath = Mage::getDesign()->getSkinUrl('images/heidelpay/').'BarPay.jpg';
|
25 |
+
#$info.= preg_replace('/{URL}/', $logopath, $this->_getHelper('heidelpay')->__('HP_BARPAY_INFO'));
|
26 |
+
$infoLink = '<a href="http://www.barpay.de/info/" onclick="window.open(this.href,\'Popup\',\'width=580,height=550,scrollbars=no\');return false;" rel="nofollow"><img src="'.$logopath.'" style="border:0"></a>';
|
27 |
+
$info.= $this->_getHelper('heidelpay')->__('HP_BARPAY_INFO').$infoLink;
|
28 |
+
#error_log($this->_getHelper('heidelpay')->__('HP_BARPAY_INFO'), 3, 'd:\LOGS\magento.log');
|
29 |
+
#$info.= ($this->_getHelper('heidelpay')->__('HP_BARPAY_INFO'));
|
30 |
+
#$info.= 'Wurstblinker'.$this->_getHelper('heidelpay')->__('DescBarpay');
|
31 |
+
}
|
32 |
+
return $info;
|
33 |
+
}
|
34 |
+
|
35 |
+
public function getHeidelpayIFrameUrl()
|
36 |
+
{
|
37 |
+
$this->actualPaymethod = 'BP';
|
38 |
+
$src = $this->handleDebit();
|
39 |
+
return $src;
|
40 |
+
}
|
41 |
+
|
42 |
+
public function getFormBlockType()
|
43 |
+
{
|
44 |
+
$this->_formBlockType = 'heidelpay/form_barpay';
|
45 |
+
return $this->_formBlockType;
|
46 |
+
}
|
47 |
+
|
48 |
+
public function validate()
|
49 |
+
{
|
50 |
+
parent::validate();
|
51 |
+
/*
|
52 |
+
$post = Mage::app()->getRequest()->getParams();
|
53 |
+
if ($post['payment']['method'] == $this->_code) {
|
54 |
+
if (empty($post['heidelpay']['su_kto']) || !is_numeric($post['heidelpay']['su_kto'])){
|
55 |
+
Mage::throwException($this->_getHelper('heidelpay')->__('Please enter account no.'));
|
56 |
+
}
|
57 |
+
if (empty($post['heidelpay']['su_blz']) || !is_numeric($post['heidelpay']['su_blz'])){
|
58 |
+
Mage::throwException($this->_getHelper('heidelpay')->__('Please enter bankcode.'));
|
59 |
+
}
|
60 |
+
if (empty($post['heidelpay']['su_holder'])){
|
61 |
+
Mage::throwException($this->_getHelper('heidelpay')->__('Please enter owner.'));
|
62 |
+
}
|
63 |
+
$this->getCheckout()->setHeidelpaySUAccountNumber($post['heidelpay']['su_kto']);
|
64 |
+
$this->getCheckout()->setHeidelpaySUBankCode($post['heidelpay']['su_blz']);
|
65 |
+
$this->getCheckout()->setHeidelpaySUHolder($post['heidelpay']['su_holder']);
|
66 |
+
|
67 |
+
$onlyGP = $this->getConfigDataPayment('hpdd', 'modulemode') == 'ONLYGP';
|
68 |
+
$onlySU = $this->getConfigDataPayment('hpdd', 'modulemode') == 'ONLYSU';
|
69 |
+
$onlyGPORSU = $this->getConfigDataPayment('hpdd', 'modulemode') == 'ONLYGPORSU';
|
70 |
+
|
71 |
+
if ($onlySU || $onlyGPORSU){
|
72 |
+
// Kontodaten merken
|
73 |
+
$customer = $this->getQuote()->getCustomer();
|
74 |
+
$customer->setHeidelpayLastBlz($post['heidelpay']['su_blz']);
|
75 |
+
$customer->setHeidelpayLastKto($post['heidelpay']['su_kto']);
|
76 |
+
$customer->setHeidelpayLastHolder($post['heidelpay']['su_holder']);
|
77 |
+
$customer->save();
|
78 |
+
}
|
79 |
+
}
|
80 |
+
*/
|
81 |
+
return $this;
|
82 |
+
}
|
83 |
+
|
84 |
+
public function getTitle()
|
85 |
+
{
|
86 |
+
return $this->_getHelper('heidelpay')->__($this->getConfigData('title'));
|
87 |
+
}
|
88 |
+
|
89 |
+
public function getAdminTitle()
|
90 |
+
{
|
91 |
+
return $this->_getHelper('heidelpay')->__($this->getConfigData('title'));
|
92 |
+
}
|
93 |
+
|
94 |
+
}
|
95 |
+
|
app/code/local/Mage/Heidelpay/Model/Method/Hpbs.php
ADDED
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Mage_Heidelpay_Model_Method_Hpbs extends Mage_Heidelpay_Model_Method_Payment
|
3 |
+
{
|
4 |
+
/**
|
5 |
+
* unique internal payment method identifier
|
6 |
+
*
|
7 |
+
* @var string [a-z0-9_]
|
8 |
+
**/
|
9 |
+
protected $_code = 'hpbs';
|
10 |
+
protected $_formBlockType = 'payment/form';
|
11 |
+
protected $_infoBlockType = 'heidelpay/info_payment';
|
12 |
+
|
13 |
+
public function getLightbox($descArea = false)
|
14 |
+
{
|
15 |
+
$info = '';
|
16 |
+
$info.= '<!--BillSAFE start-->
|
17 |
+
<noscript> <a title="Ihre Vorteile" href="http://www.billsafe.de/special/payment-info" target="_blank"> <img src="https://images.billsafe.de/image/image/id/191997712fbe" style="border:0"/>
|
18 |
+
</a></noscript><a id="billsafeAdvantagesImageLink" title="Ihre Vorteile" href="#" style="display: none;" onclick="openPopup();"><img src="https://images.billsafe.de/image/image/id/191997712fbe" style="border:0"/></a><script type="text/javascript"> var link = document.getElementById(\'billsafeAdvantagesImageLink\');
|
19 |
+
link.style.display = \'inline\'; var openPopup = function(){ var myWindow = window.open(\'http://www.billsafe.de/special/payment-info\', \'BillSAFE\', \'width=520,height=600,left=300,top=100,scrollbars=yes\'); myWindow.focus(); };</script><!--BillSAFE end-->';
|
20 |
+
if ($descArea){
|
21 |
+
/*
|
22 |
+
$info.= '<table>';
|
23 |
+
$info.= '<tr><td>'.$this->_getHelper('heidelpay')->__('Account No').':</td><td><input type="text" name="heidelpay[su_kto]" value=""></td></tr>';
|
24 |
+
$info.= '<tr><td>'.$this->_getHelper('heidelpay')->__('Bankcode').':</td><td><input type="text" name="heidelpay[su_blz]" value=""></td></tr>';
|
25 |
+
$info.= '<tr><td>'.$this->_getHelper('heidelpay')->__('Owner').':</td><td><input type="text" name="heidelpay[su_holder]" value=""></td></tr>';
|
26 |
+
$info.= '</table>';
|
27 |
+
*/
|
28 |
+
}
|
29 |
+
return $info;
|
30 |
+
}
|
31 |
+
|
32 |
+
public function getHeidelpayIFrameUrl()
|
33 |
+
{
|
34 |
+
$this->actualPaymethod = 'BS';
|
35 |
+
$src = $this->handleDebit();
|
36 |
+
return $src;
|
37 |
+
}
|
38 |
+
|
39 |
+
public function getFormBlockType()
|
40 |
+
{
|
41 |
+
$this->_formBlockType = 'heidelpay/form_billsafe';
|
42 |
+
return $this->_formBlockType;
|
43 |
+
}
|
44 |
+
|
45 |
+
public function validate()
|
46 |
+
{
|
47 |
+
parent::validate();
|
48 |
+
/*
|
49 |
+
$post = Mage::app()->getRequest()->getParams();
|
50 |
+
if ($post['payment']['method'] == $this->_code) {
|
51 |
+
if (empty($post['heidelpay']['su_kto']) || !is_numeric($post['heidelpay']['su_kto'])){
|
52 |
+
Mage::throwException($this->_getHelper('heidelpay')->__('Please enter account no.'));
|
53 |
+
}
|
54 |
+
if (empty($post['heidelpay']['su_blz']) || !is_numeric($post['heidelpay']['su_blz'])){
|
55 |
+
Mage::throwException($this->_getHelper('heidelpay')->__('Please enter bankcode.'));
|
56 |
+
}
|
57 |
+
if (empty($post['heidelpay']['su_holder'])){
|
58 |
+
Mage::throwException($this->_getHelper('heidelpay')->__('Please enter owner.'));
|
59 |
+
}
|
60 |
+
$this->getCheckout()->setHeidelpaySUAccountNumber($post['heidelpay']['su_kto']);
|
61 |
+
$this->getCheckout()->setHeidelpaySUBankCode($post['heidelpay']['su_blz']);
|
62 |
+
$this->getCheckout()->setHeidelpaySUHolder($post['heidelpay']['su_holder']);
|
63 |
+
|
64 |
+
$onlyGP = $this->getConfigDataPayment('hpdd', 'modulemode') == 'ONLYGP';
|
65 |
+
$onlySU = $this->getConfigDataPayment('hpdd', 'modulemode') == 'ONLYSU';
|
66 |
+
$onlyGPORSU = $this->getConfigDataPayment('hpdd', 'modulemode') == 'ONLYGPORSU';
|
67 |
+
|
68 |
+
if ($onlySU || $onlyGPORSU){
|
69 |
+
// Kontodaten merken
|
70 |
+
$customer = $this->getQuote()->getCustomer();
|
71 |
+
$customer->setHeidelpayLastBlz($post['heidelpay']['su_blz']);
|
72 |
+
$customer->setHeidelpayLastKto($post['heidelpay']['su_kto']);
|
73 |
+
$customer->setHeidelpayLastHolder($post['heidelpay']['su_holder']);
|
74 |
+
$customer->save();
|
75 |
+
}
|
76 |
+
}
|
77 |
+
*/
|
78 |
+
return $this;
|
79 |
+
}
|
80 |
+
|
81 |
+
public function getTitle()
|
82 |
+
{
|
83 |
+
$params = Mage::app()->getRequest()->getParams();
|
84 |
+
#echo '<pre>'.print_r($params,1).'</pre>';
|
85 |
+
if (!empty($params['invoice_id'])){
|
86 |
+
#echo $params['invoice_id'];
|
87 |
+
$invoice = Mage::getModel('sales/order_invoice')
|
88 |
+
->load($params['invoice_id']);
|
89 |
+
#echo '<pre>'.print_r($invoice,1).'</pre>';
|
90 |
+
#echo '<pre>'.print_r($invoice->getData(),1).'</pre>';
|
91 |
+
#echo '<br>'.$invoice->getOrderIncrementId($params['invoice_id']).'<br>';
|
92 |
+
$order = $invoice->getOrder();
|
93 |
+
//$order->getInvoiceCollection();
|
94 |
+
#echo '<pre>'.print_r($order,1).'</pre>';
|
95 |
+
#echo '<pre>'.print_r($order->getData('customer_note'),1).'</pre>';
|
96 |
+
#exit();
|
97 |
+
#$order = Mage::getModel('sales/order');
|
98 |
+
#$orderId = $invoice->getOrderId();
|
99 |
+
#echo $orderId; exit();
|
100 |
+
#if (!empty($orderId)){
|
101 |
+
# $order->loadByIncrementId($orderId);
|
102 |
+
#}
|
103 |
+
$note = $order->getCustomerNote();
|
104 |
+
//$note = preg_replace('/[\r\n]*/', "\n", $note);
|
105 |
+
if ($params['come_from'] == 'invoice' || !empty($params['order_id'])){
|
106 |
+
//$note = nl2br($note);
|
107 |
+
}
|
108 |
+
//return $this->_getHelper('heidelpay')->__($this->getConfigData('title').' '.$note);
|
109 |
+
}
|
110 |
+
return $this->_getHelper('heidelpay')->__($this->getConfigData('title'));
|
111 |
+
}
|
112 |
+
|
113 |
+
public function getAdminTitle()
|
114 |
+
{
|
115 |
+
return $this->_getHelper('heidelpay')->__($this->getConfigData('title'));
|
116 |
+
}
|
117 |
+
|
118 |
+
}
|
119 |
+
|
app/code/local/Mage/Heidelpay/Model/Method/Hpcc.php
CHANGED
@@ -10,16 +10,51 @@ class Mage_Heidelpay_Model_Method_Hpcc extends Mage_Heidelpay_Model_Method_Payme
|
|
10 |
protected $_formBlockType = 'payment/form';
|
11 |
protected $_infoBlockType = 'heidelpay/info_payment';
|
12 |
|
13 |
-
public function getJScript()
|
14 |
-
{
|
15 |
-
$script = '<script>'.parent::getJScript().'';
|
16 |
-
$script.= '</script>';
|
17 |
-
return $script;
|
18 |
-
}
|
19 |
-
|
20 |
public function getLightbox($descArea = false)
|
21 |
{
|
22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
}
|
24 |
|
25 |
public function getHeidelpayIFrameUrl()
|
@@ -43,6 +78,16 @@ class Mage_Heidelpay_Model_Method_Hpcc extends Mage_Heidelpay_Model_Method_Payme
|
|
43 |
public function validate()
|
44 |
{
|
45 |
parent::validate();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
return $this;
|
47 |
}
|
48 |
|
10 |
protected $_formBlockType = 'payment/form';
|
11 |
protected $_infoBlockType = 'heidelpay/info_payment';
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
public function getLightbox($descArea = false)
|
14 |
{
|
15 |
+
$this->getSession()->setHpUniqueId('');
|
16 |
+
if ($this->getConfigData('modulemode') == 'AFTER') return '';
|
17 |
+
if ($descArea){
|
18 |
+
$info = '';
|
19 |
+
$customer = $this->getQuote()->getCustomer();
|
20 |
+
$brand = $customer->getHeidelpay_ccard_brand();
|
21 |
+
$ccard = $customer->getHeidelpay_ccard();
|
22 |
+
$valid = $customer->getHeidelpay_ccard_valid_until();
|
23 |
+
if (empty($brand) || empty($ccard) || empty($valid)){
|
24 |
+
$info.= '';
|
25 |
+
$this->actualPaymethod = 'CC';
|
26 |
+
$src = $this->handleRegister();
|
27 |
+
$info.= '<iframe src="'.$src.'" allowtransparency="true" frameborder="0" width="500" height="210"></iframe>';
|
28 |
+
} else {
|
29 |
+
$this->actualPaymethod = 'CC';
|
30 |
+
$src = $this->handleRegister();
|
31 |
+
$info.= '<div id="heidelpay_reuse_'.$this->_code.'">'
|
32 |
+
. preg_replace('/{NAME}/', $customer->getLastname(), $this->_getHelper('heidelpay')->__('Dear {NAME}, you used the following creditcard on your last visit. Do you want to re-use it?'))
|
33 |
+
. '<br><br>'.$this->_getHelper('heidelpay')->__('Cardtype:').' '
|
34 |
+
. $brand
|
35 |
+
. '<br>'.$this->_getHelper('heidelpay')->__('No.').' '
|
36 |
+
. $ccard
|
37 |
+
. '<br>'.$this->_getHelper('heidelpay')->__('Valid until:').' '
|
38 |
+
. $valid
|
39 |
+
. '</div>'
|
40 |
+
. '<div id="heidelpay_new_'.$this->_code.'" style="display: none">'
|
41 |
+
. '<iframe src="'.$src.'" allowtransparency="true" frameborder="0" width="500" height="210"></iframe>'
|
42 |
+
. '</div>'
|
43 |
+
. '<br><br><input type="checkbox" name="heidelpay_use_ccard" id="heidelpay_use_ccard" value="1" checked
|
44 |
+
onClick="
|
45 |
+
var reuseObj = document.getElementById(\'heidelpay_reuse_'.$this->_code.'\');
|
46 |
+
var newObj = document.getElementById(\'heidelpay_new_'.$this->_code.'\');
|
47 |
+
if (this.checked){
|
48 |
+
reuseObj.style.display = \'block\';
|
49 |
+
newObj.style.display = \'none\';
|
50 |
+
} else {
|
51 |
+
reuseObj.style.display = \'none\';
|
52 |
+
newObj.style.display = \'block\';
|
53 |
+
}
|
54 |
+
"> '.$this->_getHelper('heidelpay')->__('Yes, I want to re-use my creditcard.').' ';
|
55 |
+
}
|
56 |
+
return $info;
|
57 |
+
}
|
58 |
}
|
59 |
|
60 |
public function getHeidelpayIFrameUrl()
|
78 |
public function validate()
|
79 |
{
|
80 |
parent::validate();
|
81 |
+
$post = Mage::app()->getRequest()->getParams();
|
82 |
+
if ($post['payment']['method'] == $this->_code) {
|
83 |
+
if (isset($post['heidelpay_use_ccard']) && $post['heidelpay_use_ccard'] == 1){
|
84 |
+
$this->getCheckout()->setHeidelpayUseCcard(1);
|
85 |
+
$customer = $this->getQuote()->getCustomer();
|
86 |
+
$this->getSession()->setHpUniqueId($customer->getHeidelpay_ccard_unique_id());
|
87 |
+
} else {
|
88 |
+
$this->getCheckout()->setHeidelpayUseCcard(0);
|
89 |
+
}
|
90 |
+
}
|
91 |
return $this;
|
92 |
}
|
93 |
|
app/code/local/Mage/Heidelpay/Model/Method/Hpdc.php
CHANGED
@@ -10,16 +10,51 @@ class Mage_Heidelpay_Model_Method_Hpdc extends Mage_Heidelpay_Model_Method_Payme
|
|
10 |
protected $_formBlockType = 'payment/form';
|
11 |
protected $_infoBlockType = 'heidelpay/info_payment';
|
12 |
|
13 |
-
public function getJScript()
|
14 |
-
{
|
15 |
-
$script = '<script>'.parent::getJScript().'';
|
16 |
-
$script.= '</script>';
|
17 |
-
return $script;
|
18 |
-
}
|
19 |
-
|
20 |
public function getLightbox($descArea = false)
|
21 |
{
|
22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
}
|
24 |
|
25 |
public function getHeidelpayIFrameUrl()
|
@@ -43,6 +78,16 @@ class Mage_Heidelpay_Model_Method_Hpdc extends Mage_Heidelpay_Model_Method_Payme
|
|
43 |
public function validate()
|
44 |
{
|
45 |
parent::validate();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
return $this;
|
47 |
}
|
48 |
|
10 |
protected $_formBlockType = 'payment/form';
|
11 |
protected $_infoBlockType = 'heidelpay/info_payment';
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
public function getLightbox($descArea = false)
|
14 |
{
|
15 |
+
$this->getSession()->setHpUniqueId('');
|
16 |
+
if ($this->getConfigData('modulemode') == 'AFTER') return '';
|
17 |
+
if ($descArea){
|
18 |
+
$info = '';
|
19 |
+
$customer = $this->getQuote()->getCustomer();
|
20 |
+
$brand = $customer->getHeidelpay_dcard_brand();
|
21 |
+
$ccard = $customer->getHeidelpay_dcard();
|
22 |
+
$valid = $customer->getHeidelpay_dcard_valid_until();
|
23 |
+
if (empty($brand) || empty($ccard) || empty($valid)){
|
24 |
+
$info.= '';
|
25 |
+
$this->actualPaymethod = 'DC';
|
26 |
+
$src = $this->handleRegister();
|
27 |
+
$info.= '<iframe src="'.$src.'" allowtransparency="true" frameborder="0" width="400" height="200"></iframe>';
|
28 |
+
} else {
|
29 |
+
$this->actualPaymethod = 'DC';
|
30 |
+
$src = $this->handleRegister();
|
31 |
+
$info.= '<div id="heidelpay_reuse_'.$this->_code.'">'
|
32 |
+
. preg_replace('/{NAME}/', $customer->getLastname(), $this->_getHelper('heidelpay')->__('Dear {NAME}, you used the following debitcard on your last visit. Do you want to re-use it?'))
|
33 |
+
. '<br><br>'.$this->_getHelper('heidelpay')->__('Cardtype:').' '
|
34 |
+
. $brand
|
35 |
+
. '<br>'.$this->_getHelper('heidelpay')->__('No.').' '
|
36 |
+
. $ccard
|
37 |
+
. '<br>'.$this->_getHelper('heidelpay')->__('Valid until:').' '
|
38 |
+
. $valid
|
39 |
+
. '</div>'
|
40 |
+
. '<div id="heidelpay_new_'.$this->_code.'" style="display: none">'
|
41 |
+
. '<iframe src="'.$src.'" allowtransparency="true" frameborder="0" width="500" height="200"></iframe>'
|
42 |
+
. '</div>'
|
43 |
+
. '<br><br><input type="checkbox" name="heidelpay_use_dcard" id="heidelpay_use_dcard" value="1" checked
|
44 |
+
onClick="
|
45 |
+
var reuseObj = document.getElementById(\'heidelpay_reuse_'.$this->_code.'\');
|
46 |
+
var newObj = document.getElementById(\'heidelpay_new_'.$this->_code.'\');
|
47 |
+
if (this.checked){
|
48 |
+
reuseObj.style.display = \'block\';
|
49 |
+
newObj.style.display = \'none\';
|
50 |
+
} else {
|
51 |
+
reuseObj.style.display = \'none\';
|
52 |
+
newObj.style.display = \'block\';
|
53 |
+
}
|
54 |
+
"> '.$this->_getHelper('heidelpay')->__('Yes, I want to re-use my debitcard.').' ';
|
55 |
+
}
|
56 |
+
return $info;
|
57 |
+
}
|
58 |
}
|
59 |
|
60 |
public function getHeidelpayIFrameUrl()
|
78 |
public function validate()
|
79 |
{
|
80 |
parent::validate();
|
81 |
+
$post = Mage::app()->getRequest()->getParams();
|
82 |
+
if ($post['payment']['method'] == $this->_code) {
|
83 |
+
if (isset($post['heidelpay_use_dcard']) && $post['heidelpay_use_dcard'] == 1){
|
84 |
+
$this->getCheckout()->setHeidelpayUseDcard(1);
|
85 |
+
$customer = $this->getQuote()->getCustomer();
|
86 |
+
$this->getSession()->setHpUniqueId($customer->getHeidelpay_dcard_unique_id());
|
87 |
+
} else {
|
88 |
+
$this->getCheckout()->setHeidelpayUseDcard(0);
|
89 |
+
}
|
90 |
+
}
|
91 |
return $this;
|
92 |
}
|
93 |
|
app/code/local/Mage/Heidelpay/Model/Method/Hpdd.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
class Mage_Heidelpay_Model_Method_Hpdd extends Mage_Heidelpay_Model_Method_Payment
|
3 |
-
{
|
4 |
/**
|
5 |
* unique internal payment method identifier
|
6 |
*
|
@@ -8,52 +8,117 @@ class Mage_Heidelpay_Model_Method_Hpdd extends Mage_Heidelpay_Model_Method_Payme
|
|
8 |
**/
|
9 |
protected $_code = 'hpdd';
|
10 |
protected $_formBlockType = 'payment/form';
|
11 |
-
|
12 |
-
|
13 |
-
public function getJScript()
|
14 |
-
{
|
15 |
-
return;
|
16 |
-
$script = '<script>'.parent::getJScript().'</script>';
|
17 |
-
return $script;
|
18 |
-
}
|
19 |
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
/**
|
34 |
* Retrieve block type for method form generation
|
35 |
*
|
36 |
* @return string
|
37 |
*/
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
|
44 |
-
public function validate()
|
45 |
-
{
|
46 |
-
parent::validate();
|
47 |
-
return $this;
|
48 |
-
}
|
49 |
-
|
50 |
/**
|
51 |
* Retrieve payment method title
|
52 |
*
|
53 |
* @return string
|
54 |
*/
|
55 |
-
public function getTitle()
|
56 |
-
{
|
57 |
return $this->_getHelper('heidelpay')->__($this->getConfigData('title'));
|
58 |
}
|
59 |
|
@@ -62,9 +127,7 @@ class Mage_Heidelpay_Model_Method_Hpdd extends Mage_Heidelpay_Model_Method_Payme
|
|
62 |
*
|
63 |
* @return string
|
64 |
*/
|
65 |
-
public function getAdminTitle()
|
66 |
-
{
|
67 |
return $this->_getHelper('heidelpay')->__($this->getConfigData('title'));
|
68 |
}
|
69 |
-
|
70 |
-
}
|
1 |
<?php
|
2 |
class Mage_Heidelpay_Model_Method_Hpdd extends Mage_Heidelpay_Model_Method_Payment
|
3 |
+
{
|
4 |
/**
|
5 |
* unique internal payment method identifier
|
6 |
*
|
8 |
**/
|
9 |
protected $_code = 'hpdd';
|
10 |
protected $_formBlockType = 'payment/form';
|
11 |
+
protected $_infoBlockType = 'heidelpay/info_payment';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |
+
public function getLightbox($descArea = false){
|
14 |
+
$info = '';
|
15 |
+
$sepamode = $this->getConfigData('sepamode');
|
16 |
+
|
17 |
+
if ($descArea){
|
18 |
+
$info.= '<table>';
|
19 |
+
if(is_int(strpos($sepamode, 'both'))){
|
20 |
+
$info .= "<script type='text/javascript'>
|
21 |
+
var iban_switch = document.getElementById('iban_switch');
|
22 |
+
|
23 |
+
var accNr = document.getElementsByName('heidelpay[dd_kto]')[0];
|
24 |
+
var accBank = document.getElementsByName('heidelpay[dd_blz]')[0];
|
25 |
+
var accIban = document.getElementsByName('heidelpay[dd_iban]')[0];
|
26 |
+
var accBic = document.getElementsByName('heidelpay[dd_bic]')[0];
|
27 |
+
|
28 |
+
if(iban_switch.value == 'iban'){ iban(); }
|
29 |
+
if(iban_switch.value == 'noiban'){ noiban(); }
|
30 |
|
31 |
+
iban_switch.onchange = function(){
|
32 |
+
if(this.value == 'iban'){ iban(); }
|
33 |
+
if(this.value == 'noiban'){ noiban(); }
|
34 |
+
}
|
35 |
+
|
36 |
+
function iban(){
|
37 |
+
accNr.parentNode.parentNode.style.display = 'none';
|
38 |
+
accBank.parentNode.parentNode.style.display = 'none';
|
39 |
+
accIban.parentNode.parentNode.style.display = 'table-row';
|
40 |
+
accBic.parentNode.parentNode.style.display = 'table-row';
|
41 |
+
}
|
42 |
+
function noiban(){
|
43 |
+
accNr.parentNode.parentNode.style.display = 'table-row';
|
44 |
+
accBank.parentNode.parentNode.style.display = 'table-row';
|
45 |
+
accIban.parentNode.parentNode.style.display = 'none';
|
46 |
+
accBic.parentNode.parentNode.style.display = 'none';
|
47 |
+
}
|
48 |
+
</script>";
|
49 |
+
|
50 |
+
$info.= '<tr><td>'.$this->_getHelper('heidelpay')->__('Account information').':</td><td>
|
51 |
+
<select name="heidelpay[dd_sepaSwitch]" id="iban_switch">
|
52 |
+
<option value="iban">'.$this->_getHelper('heidelpay')->__('IBAN & BIC').'</option>
|
53 |
+
<option value="noiban">'.$this->_getHelper('heidelpay')->__('Account no. & Bank no.').'</option>
|
54 |
+
</select>
|
55 |
+
</td></tr>';
|
56 |
+
}
|
57 |
+
if(is_int(strpos($sepamode, 'classic')) || is_int(strpos($sepamode, 'both')) ){
|
58 |
+
$info.= '<tr><td>'.$this->_getHelper('heidelpay')->__('Account No').':</td><td><input type="text" name="heidelpay[dd_kto]" value=""></td></tr>';
|
59 |
+
$info.= '<tr><td>'.$this->_getHelper('heidelpay')->__('Bankcode').':</td><td><input type="text" name="heidelpay[dd_blz]" value=""></td></tr>';
|
60 |
+
}
|
61 |
+
if(is_int(strpos($sepamode, 'iban')) || is_int(strpos($sepamode, 'both')) ){
|
62 |
+
$info.= '<tr><td>'.$this->_getHelper('heidelpay')->__('IBAN').':</td><td><input type="text" name="heidelpay[dd_iban]" value=""></td></tr>';
|
63 |
+
$info.= '<tr><td>'.$this->_getHelper('heidelpay')->__('BIC').':</td><td><input type="text" name="heidelpay[dd_bic]" value=""></td></tr>';
|
64 |
+
}
|
65 |
+
|
66 |
+
$info.= '<tr><td>'.$this->_getHelper('heidelpay')->__('Owner').':</td><td><input type="text" name="heidelpay[dd_holder]" value="'.$this->getQuote()->getBillingAddress()->getFirstname().' '.$this->getQuote()->getBillingAddress()->getLastname().'"></td></tr>';
|
67 |
+
$info.= '</table>';
|
68 |
+
}
|
69 |
+
return $info;
|
70 |
+
}
|
71 |
+
|
72 |
+
public function getHeidelpayIFrameUrl(){
|
73 |
+
$this->actualPaymethod = 'DD';
|
74 |
+
#$src = $this->handleRegister();
|
75 |
+
$src = $this->handleDebit();
|
76 |
+
return $src;
|
77 |
+
}
|
78 |
|
79 |
/**
|
80 |
* Retrieve block type for method form generation
|
81 |
*
|
82 |
* @return string
|
83 |
*/
|
84 |
+
public function getFormBlockType(){
|
85 |
+
$this->_formBlockType = 'heidelpay/form_directdebit';
|
86 |
+
return $this->_formBlockType;
|
87 |
+
}
|
88 |
+
|
89 |
+
public function validate(){
|
90 |
+
parent::validate();
|
91 |
+
$post = Mage::app()->getRequest()->getParams();
|
92 |
+
|
93 |
+
if($post['payment']['method'] == $this->_code){
|
94 |
+
if(count($post['heidelpay']) > 3){
|
95 |
+
if( ($post['heidelpay']['dd_sepaSwitch'] == 'iban' && (($post['heidelpay']['dd_iban'] == '') || ($post['heidelpay']['dd_bic'] == ''))) ||
|
96 |
+
($post['heidelpay']['dd_sepaSwitch'] == 'noiban' && (($post['heidelpay']['dd_kto'] == '') || ($post['heidelpay']['dd_blz'] == ''))) ||
|
97 |
+
($post['heidelpay']['dd_holder'] == '') ){
|
98 |
+
Mage::throwException($this->_getHelper('heidelpay')->__('Direct Debit data not correct or incomplete'));
|
99 |
+
}
|
100 |
+
}else{
|
101 |
+
foreach($post['heidelpay'] as $key => $value){
|
102 |
+
if($value == ''){
|
103 |
+
Mage::throwException($this->_getHelper('heidelpay')->__('Direct Debit data not correct or incomplete'));
|
104 |
+
}
|
105 |
+
}
|
106 |
+
}
|
107 |
+
$this->getCheckout()->setHeidelpayDDAccountNumber($post['heidelpay']['dd_kto']);
|
108 |
+
$this->getCheckout()->setHeidelpayDDBankCode($post['heidelpay']['dd_blz']);
|
109 |
+
$this->getCheckout()->setHeidelpayDDIban($post['heidelpay']['dd_iban']);
|
110 |
+
$this->getCheckout()->setHeidelpayDDBic($post['heidelpay']['dd_bic']);
|
111 |
+
$this->getCheckout()->setHeidelpayDDHolder($post['heidelpay']['dd_holder']);
|
112 |
+
}
|
113 |
+
return $this;
|
114 |
+
}
|
115 |
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
/**
|
117 |
* Retrieve payment method title
|
118 |
*
|
119 |
* @return string
|
120 |
*/
|
121 |
+
public function getTitle(){
|
|
|
122 |
return $this->_getHelper('heidelpay')->__($this->getConfigData('title'));
|
123 |
}
|
124 |
|
127 |
*
|
128 |
* @return string
|
129 |
*/
|
130 |
+
public function getAdminTitle(){
|
|
|
131 |
return $this->_getHelper('heidelpay')->__($this->getConfigData('title'));
|
132 |
}
|
133 |
+
}
|
|
app/code/local/Mage/Heidelpay/Model/Method/Hpeps.php
CHANGED
@@ -10,12 +10,6 @@ class Mage_Heidelpay_Model_Method_Hpeps extends Mage_Heidelpay_Model_Method_Paym
|
|
10 |
protected $_formBlockType = 'payment/form';
|
11 |
protected $_infoBlockType = 'heidelpay/info_payment';
|
12 |
|
13 |
-
public function getJScript()
|
14 |
-
{
|
15 |
-
$script = '<script>'.parent::getJScript().'</script>';
|
16 |
-
return $script;
|
17 |
-
}
|
18 |
-
|
19 |
public function getLightbox($descArea = false)
|
20 |
{
|
21 |
$info = '';
|
10 |
protected $_formBlockType = 'payment/form';
|
11 |
protected $_infoBlockType = 'heidelpay/info_payment';
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
public function getLightbox($descArea = false)
|
14 |
{
|
15 |
$info = '';
|
app/code/local/Mage/Heidelpay/Model/Method/Hpgp.php
CHANGED
@@ -10,15 +10,19 @@ class Mage_Heidelpay_Model_Method_Hpgp extends Mage_Heidelpay_Model_Method_Payme
|
|
10 |
protected $_formBlockType = 'payment/form';
|
11 |
protected $_infoBlockType = 'heidelpay/info_payment';
|
12 |
|
13 |
-
public function getJScript()
|
14 |
-
{
|
15 |
-
$script = '<script>'.parent::getJScript().'</script>';
|
16 |
-
return $script;
|
17 |
-
}
|
18 |
-
|
19 |
public function getLightbox($descArea = false)
|
20 |
{
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
}
|
23 |
|
24 |
public function getHeidelpayIFrameUrl()
|
@@ -37,6 +41,35 @@ class Mage_Heidelpay_Model_Method_Hpgp extends Mage_Heidelpay_Model_Method_Payme
|
|
37 |
public function validate()
|
38 |
{
|
39 |
parent::validate();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
return $this;
|
41 |
}
|
42 |
|
10 |
protected $_formBlockType = 'payment/form';
|
11 |
protected $_infoBlockType = 'heidelpay/info_payment';
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
public function getLightbox($descArea = false)
|
14 |
{
|
15 |
+
$info = '';
|
16 |
+
if ($descArea){
|
17 |
+
|
18 |
+
$info.= '<table>';
|
19 |
+
$info.= '<tr><td>'.$this->_getHelper('heidelpay')->__('Account No').':</td><td><input type="text" name="heidelpay[gp_kto]" value=""></td></tr>';
|
20 |
+
$info.= '<tr><td>'.$this->_getHelper('heidelpay')->__('Bankcode').':</td><td><input type="text" name="heidelpay[gp_blz]" value=""></td></tr>';
|
21 |
+
$info.= '<tr><td>'.$this->_getHelper('heidelpay')->__('Owner').':</td><td><input type="text" name="heidelpay[gp_holder]" value=""></td></tr>';
|
22 |
+
$info.= '</table>';
|
23 |
+
|
24 |
+
}
|
25 |
+
return $info;
|
26 |
}
|
27 |
|
28 |
public function getHeidelpayIFrameUrl()
|
41 |
public function validate()
|
42 |
{
|
43 |
parent::validate();
|
44 |
+
|
45 |
+
$post = Mage::app()->getRequest()->getParams();
|
46 |
+
if ($post['payment']['method'] == $this->_code) {
|
47 |
+
if (empty($post['heidelpay']['gp_kto']) || !is_numeric($post['heidelpay']['gp_kto'])){
|
48 |
+
Mage::throwException($this->_getHelper('heidelpay')->__('Please enter account no.'));
|
49 |
+
}
|
50 |
+
if (empty($post['heidelpay']['gp_blz']) || !is_numeric($post['heidelpay']['gp_blz'])){
|
51 |
+
Mage::throwException($this->_getHelper('heidelpay')->__('Please enter bankcode.'));
|
52 |
+
}
|
53 |
+
if (empty($post['heidelpay']['gp_holder'])){
|
54 |
+
Mage::throwException($this->_getHelper('heidelpay')->__('Please enter owner.'));
|
55 |
+
}
|
56 |
+
$this->getCheckout()->setHeidelpayGPAccountNumber($post['heidelpay']['gp_kto']);
|
57 |
+
$this->getCheckout()->setHeidelpayGPBankCode($post['heidelpay']['gp_blz']);
|
58 |
+
$this->getCheckout()->setHeidelpayGPHolder($post['heidelpay']['gp_holder']);
|
59 |
+
|
60 |
+
$onlyGP = $this->getConfigDataPayment('hpdd', 'modulemode') == 'ONLYGP';
|
61 |
+
$onlySU = $this->getConfigDataPayment('hpdd', 'modulemode') == 'ONLYSU';
|
62 |
+
$onlyGPORSU = $this->getConfigDataPayment('hpdd', 'modulemode') == 'ONLYGPORSU';
|
63 |
+
|
64 |
+
if ($onlyGP || $onlyGPORSU){
|
65 |
+
// Kontodaten merken
|
66 |
+
$customer = $this->getQuote()->getCustomer();
|
67 |
+
$customer->setHeidelpayLastBlz($post['heidelpay']['gp_blz']);
|
68 |
+
$customer->setHeidelpayLastKto($post['heidelpay']['gp_kto']);
|
69 |
+
$customer->setHeidelpayLastHolder($post['heidelpay']['gp_holder']);
|
70 |
+
$customer->save();
|
71 |
+
}
|
72 |
+
}
|
73 |
return $this;
|
74 |
}
|
75 |
|
app/code/local/Mage/Heidelpay/Model/Method/Hpidl.php
CHANGED
@@ -10,12 +10,6 @@ class Mage_Heidelpay_Model_Method_Hpidl extends Mage_Heidelpay_Model_Method_Paym
|
|
10 |
protected $_formBlockType = 'payment/form';
|
11 |
protected $_infoBlockType = 'heidelpay/info_payment';
|
12 |
|
13 |
-
public function getJScript()
|
14 |
-
{
|
15 |
-
$script = '<script>'.parent::getJScript().'</script>';
|
16 |
-
return $script;
|
17 |
-
}
|
18 |
-
|
19 |
public function getLightbox($descArea = false)
|
20 |
{
|
21 |
$info = '';
|
10 |
protected $_formBlockType = 'payment/form';
|
11 |
protected $_infoBlockType = 'heidelpay/info_payment';
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
public function getLightbox($descArea = false)
|
14 |
{
|
15 |
$info = '';
|
app/code/local/Mage/Heidelpay/Model/Method/Hpiv.php
CHANGED
@@ -10,12 +10,6 @@ class Mage_Heidelpay_Model_Method_Hpiv extends Mage_Heidelpay_Model_Method_Payme
|
|
10 |
protected $_formBlockType = 'payment/form';
|
11 |
protected $_infoBlockType = 'heidelpay/info_payment';
|
12 |
|
13 |
-
public function getJScript()
|
14 |
-
{
|
15 |
-
$script = '<script>'.parent::getJScript().'</script>';
|
16 |
-
return $script;
|
17 |
-
}
|
18 |
-
|
19 |
public function getLightbox($descArea = false)
|
20 |
{
|
21 |
$info = '';
|
10 |
protected $_formBlockType = 'payment/form';
|
11 |
protected $_infoBlockType = 'heidelpay/info_payment';
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
public function getLightbox($descArea = false)
|
14 |
{
|
15 |
$info = '';
|
app/code/local/Mage/Heidelpay/Model/Method/Hpmk.php
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Mage_Heidelpay_Model_Method_Hpmk extends Mage_Heidelpay_Model_Method_Payment
|
3 |
+
{
|
4 |
+
/**
|
5 |
+
* unique internal payment method identifier
|
6 |
+
*
|
7 |
+
* @var string [a-z0-9_]
|
8 |
+
**/
|
9 |
+
protected $_code = 'hpmk';
|
10 |
+
protected $_formBlockType = 'payment/form';
|
11 |
+
protected $_infoBlockType = 'heidelpay/info_payment';
|
12 |
+
|
13 |
+
public function getLightbox($descArea = false)
|
14 |
+
{
|
15 |
+
$info = '';
|
16 |
+
if ($descArea){
|
17 |
+
/*
|
18 |
+
$info.= '<table>';
|
19 |
+
$info.= '<tr><td>'.$this->_getHelper('heidelpay')->__('Account No').':</td><td><input type="text" name="heidelpay[su_kto]" value=""></td></tr>';
|
20 |
+
$info.= '<tr><td>'.$this->_getHelper('heidelpay')->__('Bankcode').':</td><td><input type="text" name="heidelpay[su_blz]" value=""></td></tr>';
|
21 |
+
$info.= '<tr><td>'.$this->_getHelper('heidelpay')->__('Owner').':</td><td><input type="text" name="heidelpay[su_holder]" value=""></td></tr>';
|
22 |
+
$info.= '</table>';
|
23 |
+
*/
|
24 |
+
}
|
25 |
+
return $info;
|
26 |
+
}
|
27 |
+
|
28 |
+
public function getHeidelpayIFrameUrl()
|
29 |
+
{
|
30 |
+
$this->actualPaymethod = 'MK';
|
31 |
+
$src = $this->handleDebit();
|
32 |
+
return $src;
|
33 |
+
}
|
34 |
+
|
35 |
+
public function getFormBlockType()
|
36 |
+
{
|
37 |
+
$this->_formBlockType = 'heidelpay/form_mangirkart';
|
38 |
+
return $this->_formBlockType;
|
39 |
+
}
|
40 |
+
|
41 |
+
public function validate()
|
42 |
+
{
|
43 |
+
parent::validate();
|
44 |
+
/*
|
45 |
+
$post = Mage::app()->getRequest()->getParams();
|
46 |
+
if ($post['payment']['method'] == $this->_code) {
|
47 |
+
if (empty($post['heidelpay']['su_kto']) || !is_numeric($post['heidelpay']['su_kto'])){
|
48 |
+
Mage::throwException($this->_getHelper('heidelpay')->__('Please enter account no.'));
|
49 |
+
}
|
50 |
+
if (empty($post['heidelpay']['su_blz']) || !is_numeric($post['heidelpay']['su_blz'])){
|
51 |
+
Mage::throwException($this->_getHelper('heidelpay')->__('Please enter bankcode.'));
|
52 |
+
}
|
53 |
+
if (empty($post['heidelpay']['su_holder'])){
|
54 |
+
Mage::throwException($this->_getHelper('heidelpay')->__('Please enter owner.'));
|
55 |
+
}
|
56 |
+
$this->getCheckout()->setHeidelpaySUAccountNumber($post['heidelpay']['su_kto']);
|
57 |
+
$this->getCheckout()->setHeidelpaySUBankCode($post['heidelpay']['su_blz']);
|
58 |
+
$this->getCheckout()->setHeidelpaySUHolder($post['heidelpay']['su_holder']);
|
59 |
+
|
60 |
+
$onlyGP = $this->getConfigDataPayment('hpdd', 'modulemode') == 'ONLYGP';
|
61 |
+
$onlySU = $this->getConfigDataPayment('hpdd', 'modulemode') == 'ONLYSU';
|
62 |
+
$onlyGPORSU = $this->getConfigDataPayment('hpdd', 'modulemode') == 'ONLYGPORSU';
|
63 |
+
|
64 |
+
if ($onlySU || $onlyGPORSU){
|
65 |
+
// Kontodaten merken
|
66 |
+
$customer = $this->getQuote()->getCustomer();
|
67 |
+
$customer->setHeidelpayLastBlz($post['heidelpay']['su_blz']);
|
68 |
+
$customer->setHeidelpayLastKto($post['heidelpay']['su_kto']);
|
69 |
+
$customer->setHeidelpayLastHolder($post['heidelpay']['su_holder']);
|
70 |
+
$customer->save();
|
71 |
+
}
|
72 |
+
}
|
73 |
+
*/
|
74 |
+
return $this;
|
75 |
+
}
|
76 |
+
|
77 |
+
public function getTitle()
|
78 |
+
{
|
79 |
+
return $this->_getHelper('heidelpay')->__($this->getConfigData('title'));
|
80 |
+
}
|
81 |
+
|
82 |
+
public function getAdminTitle()
|
83 |
+
{
|
84 |
+
return $this->_getHelper('heidelpay')->__($this->getConfigData('title'));
|
85 |
+
}
|
86 |
+
|
87 |
+
}
|
88 |
+
|
app/code/local/Mage/Heidelpay/Model/Method/Hppp.php
CHANGED
@@ -10,12 +10,6 @@ class Mage_Heidelpay_Model_Method_Hppp extends Mage_Heidelpay_Model_Method_Payme
|
|
10 |
protected $_formBlockType = 'payment/form';
|
11 |
protected $_infoBlockType = 'heidelpay/info_payment';
|
12 |
|
13 |
-
public function getJScript()
|
14 |
-
{
|
15 |
-
$script = '<script>'.parent::getJScript().'</script>';
|
16 |
-
return $script;
|
17 |
-
}
|
18 |
-
|
19 |
public function getLightbox($descArea = false)
|
20 |
{
|
21 |
$info = '';
|
10 |
protected $_formBlockType = 'payment/form';
|
11 |
protected $_infoBlockType = 'heidelpay/info_payment';
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
public function getLightbox($descArea = false)
|
14 |
{
|
15 |
$info = '';
|
app/code/local/Mage/Heidelpay/Model/Method/Hpppal.php
CHANGED
@@ -10,12 +10,6 @@ class Mage_Heidelpay_Model_Method_Hpppal extends Mage_Heidelpay_Model_Method_Pay
|
|
10 |
protected $_formBlockType = 'payment/form';
|
11 |
protected $_infoBlockType = 'heidelpay/info_payment';
|
12 |
|
13 |
-
public function getJScript()
|
14 |
-
{
|
15 |
-
$script = '<script>'.parent::getJScript().'</script>';
|
16 |
-
return $script;
|
17 |
-
}
|
18 |
-
|
19 |
public function getLightbox($descArea = false)
|
20 |
{
|
21 |
$info = '';
|
10 |
protected $_formBlockType = 'payment/form';
|
11 |
protected $_infoBlockType = 'heidelpay/info_payment';
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
public function getLightbox($descArea = false)
|
14 |
{
|
15 |
$info = '';
|
app/code/local/Mage/Heidelpay/Model/Method/Hpsu.php
CHANGED
@@ -10,15 +10,19 @@ class Mage_Heidelpay_Model_Method_Hpsu extends Mage_Heidelpay_Model_Method_Payme
|
|
10 |
protected $_formBlockType = 'payment/form';
|
11 |
protected $_infoBlockType = 'heidelpay/info_payment';
|
12 |
|
13 |
-
public function getJScript()
|
14 |
-
{
|
15 |
-
$script = '<script>'.parent::getJScript().'</script>';
|
16 |
-
return $script;
|
17 |
-
}
|
18 |
-
|
19 |
public function getLightbox($descArea = false)
|
20 |
{
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
}
|
23 |
|
24 |
public function getHeidelpayIFrameUrl()
|
@@ -37,6 +41,35 @@ class Mage_Heidelpay_Model_Method_Hpsu extends Mage_Heidelpay_Model_Method_Payme
|
|
37 |
public function validate()
|
38 |
{
|
39 |
parent::validate();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
return $this;
|
41 |
}
|
42 |
|
10 |
protected $_formBlockType = 'payment/form';
|
11 |
protected $_infoBlockType = 'heidelpay/info_payment';
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
public function getLightbox($descArea = false)
|
14 |
{
|
15 |
+
$info = '';
|
16 |
+
if ($descArea){
|
17 |
+
|
18 |
+
$info.= '<table>';
|
19 |
+
$info.= '<tr><td>'.$this->_getHelper('heidelpay')->__('Account No').':</td><td><input type="text" name="heidelpay[su_kto]" value=""></td></tr>';
|
20 |
+
$info.= '<tr><td>'.$this->_getHelper('heidelpay')->__('Bankcode').':</td><td><input type="text" name="heidelpay[su_blz]" value=""></td></tr>';
|
21 |
+
$info.= '<tr><td>'.$this->_getHelper('heidelpay')->__('Owner').':</td><td><input type="text" name="heidelpay[su_holder]" value=""></td></tr>';
|
22 |
+
$info.= '</table>';
|
23 |
+
|
24 |
+
}
|
25 |
+
return $info;
|
26 |
}
|
27 |
|
28 |
public function getHeidelpayIFrameUrl()
|
41 |
public function validate()
|
42 |
{
|
43 |
parent::validate();
|
44 |
+
|
45 |
+
$post = Mage::app()->getRequest()->getParams();
|
46 |
+
if ($post['payment']['method'] == $this->_code) {
|
47 |
+
if (empty($post['heidelpay']['su_kto']) || !is_numeric($post['heidelpay']['su_kto'])){
|
48 |
+
Mage::throwException($this->_getHelper('heidelpay')->__('Please enter account no.'));
|
49 |
+
}
|
50 |
+
if (empty($post['heidelpay']['su_blz']) || !is_numeric($post['heidelpay']['su_blz'])){
|
51 |
+
Mage::throwException($this->_getHelper('heidelpay')->__('Please enter bankcode.'));
|
52 |
+
}
|
53 |
+
if (empty($post['heidelpay']['su_holder'])){
|
54 |
+
Mage::throwException($this->_getHelper('heidelpay')->__('Please enter owner.'));
|
55 |
+
}
|
56 |
+
$this->getCheckout()->setHeidelpaySUAccountNumber($post['heidelpay']['su_kto']);
|
57 |
+
$this->getCheckout()->setHeidelpaySUBankCode($post['heidelpay']['su_blz']);
|
58 |
+
$this->getCheckout()->setHeidelpaySUHolder($post['heidelpay']['su_holder']);
|
59 |
+
|
60 |
+
$onlyGP = $this->getConfigDataPayment('hpdd', 'modulemode') == 'ONLYGP';
|
61 |
+
$onlySU = $this->getConfigDataPayment('hpdd', 'modulemode') == 'ONLYSU';
|
62 |
+
$onlyGPORSU = $this->getConfigDataPayment('hpdd', 'modulemode') == 'ONLYGPORSU';
|
63 |
+
|
64 |
+
if ($onlySU || $onlyGPORSU){
|
65 |
+
// Kontodaten merken
|
66 |
+
$customer = $this->getQuote()->getCustomer();
|
67 |
+
$customer->setHeidelpayLastBlz($post['heidelpay']['su_blz']);
|
68 |
+
$customer->setHeidelpayLastKto($post['heidelpay']['su_kto']);
|
69 |
+
$customer->setHeidelpayLastHolder($post['heidelpay']['su_holder']);
|
70 |
+
$customer->save();
|
71 |
+
}
|
72 |
+
}
|
73 |
return $this;
|
74 |
}
|
75 |
|
app/code/local/Mage/Heidelpay/Model/Method/Hpxc.php
ADDED
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Mage_Heidelpay_Model_Method_Hpxc extends Mage_Heidelpay_Model_Method_Payment
|
3 |
+
{
|
4 |
+
/**
|
5 |
+
* unique internal payment method identifier
|
6 |
+
*
|
7 |
+
* @var string [a-z0-9_]
|
8 |
+
**/
|
9 |
+
protected $_code = 'hpxc';
|
10 |
+
protected $_formBlockType = 'payment/form';
|
11 |
+
protected $_infoBlockType = 'heidelpay/info_payment';
|
12 |
+
|
13 |
+
public function getLightbox($descArea = false)
|
14 |
+
{
|
15 |
+
$this->getSession()->setHpUniqueId('');
|
16 |
+
if ($this->getConfigData('modulemode') == 'AFTER') return '';
|
17 |
+
if ($descArea){
|
18 |
+
$info = '';
|
19 |
+
$customer = $this->getQuote()->getCustomer();
|
20 |
+
$brand = $customer->getHeidelpay_xcard_brand();
|
21 |
+
$xcard = $customer->getHeidelpay_xcard();
|
22 |
+
$valid = $customer->getHeidelpay_xcard_valid_until();
|
23 |
+
if (empty($brand) || empty($xcard) || empty($valid)){
|
24 |
+
$info.= '';
|
25 |
+
$this->actualPaymethod = 'XC';
|
26 |
+
$src = $this->handleRegister();
|
27 |
+
$info.= '<iframe src="'.$src.'" allowtransparency="true" frameborder="0" width="500" height="200"></iframe>';
|
28 |
+
} else {
|
29 |
+
$this->actualPaymethod = 'XC';
|
30 |
+
$src = $this->handleRegister();
|
31 |
+
$info.= '<div id="heidelpay_reuse_'.$this->_code.'">'
|
32 |
+
. preg_replace('/{NAME}/', $customer->getLastname(), $this->_getHelper('heidelpay')->__('Dear {NAME}, you used the following creditcard on your last visit. Do you want to re-use it?'))
|
33 |
+
. '<br><br>'.$this->_getHelper('heidelpay')->__('Cardtype:').' '
|
34 |
+
. $brand
|
35 |
+
. '<br>'.$this->_getHelper('heidelpay')->__('No.').' '
|
36 |
+
. $xcard
|
37 |
+
. '<br>'.$this->_getHelper('heidelpay')->__('Valid until:').' '
|
38 |
+
. $valid
|
39 |
+
. '</div>'
|
40 |
+
. '<div id="heidelpay_new_'.$this->_code.'" style="display: none">'
|
41 |
+
. '<iframe src="'.$src.'" allowtransparency="true" frameborder="0" width="500" height="200"></iframe>'
|
42 |
+
. '</div>'
|
43 |
+
. '<br><br><input type="checkbox" name="heidelpay_use_xcard" id="heidelpay_use_xcard" value="1" checked
|
44 |
+
onClick="
|
45 |
+
var reuseObj = document.getElementById(\'heidelpay_reuse_'.$this->_code.'\');
|
46 |
+
var newObj = document.getElementById(\'heidelpay_new_'.$this->_code.'\');
|
47 |
+
if (this.checked){
|
48 |
+
reuseObj.style.display = \'block\';
|
49 |
+
newObj.style.display = \'none\';
|
50 |
+
} else {
|
51 |
+
reuseObj.style.display = \'none\';
|
52 |
+
newObj.style.display = \'block\';
|
53 |
+
}
|
54 |
+
"> '.$this->_getHelper('heidelpay')->__('Yes, I want to re-use my creditcard.').' ';
|
55 |
+
}
|
56 |
+
#echo $info;
|
57 |
+
return $info;
|
58 |
+
}
|
59 |
+
}
|
60 |
+
|
61 |
+
public function getHeidelpayIFrameUrl()
|
62 |
+
{
|
63 |
+
$this->actualPaymethod = 'XC';
|
64 |
+
$src = $this->handleDebit();
|
65 |
+
return $src;
|
66 |
+
}
|
67 |
+
|
68 |
+
/**
|
69 |
+
* Retrieve block type for method form generation
|
70 |
+
*
|
71 |
+
* @return string
|
72 |
+
*/
|
73 |
+
public function getFormBlockType()
|
74 |
+
{
|
75 |
+
$this->_formBlockType = 'heidelpay/form_xcard';
|
76 |
+
return $this->_formBlockType;
|
77 |
+
}
|
78 |
+
|
79 |
+
public function validate()
|
80 |
+
{
|
81 |
+
parent::validate();
|
82 |
+
$post = Mage::app()->getRequest()->getParams();
|
83 |
+
if ($post['payment']['method'] == $this->_code) {
|
84 |
+
if (isset($post['heidelpay_use_xcard']) && $post['heidelpay_use_xcard'] == 1){
|
85 |
+
$this->getCheckout()->setHeidelpayUseXcard(1);
|
86 |
+
$customer = $this->getQuote()->getCustomer();
|
87 |
+
$this->getSession()->setHpUniqueId($customer->getHeidelpay_xcard_unique_id());
|
88 |
+
} else {
|
89 |
+
$this->getCheckout()->setHeidelpayUseXcard(0);
|
90 |
+
}
|
91 |
+
}
|
92 |
+
return $this;
|
93 |
+
}
|
94 |
+
|
95 |
+
/**
|
96 |
+
* Retrieve payment method title
|
97 |
+
*
|
98 |
+
* @return string
|
99 |
+
*/
|
100 |
+
public function getTitle()
|
101 |
+
{
|
102 |
+
return $this->_getHelper('heidelpay')->__($this->getConfigData('title'));
|
103 |
+
}
|
104 |
+
|
105 |
+
/**
|
106 |
+
* Retrieve payment method title for Admin
|
107 |
+
*
|
108 |
+
* @return string
|
109 |
+
*/
|
110 |
+
public function getAdminTitle()
|
111 |
+
{
|
112 |
+
return $this->_getHelper('heidelpay')->__($this->getConfigData('title'));
|
113 |
+
}
|
114 |
+
|
115 |
+
}
|
app/code/local/Mage/Heidelpay/Model/Method/Payment.php
CHANGED
@@ -9,7 +9,9 @@ class Mage_Heidelpay_Model_Method_Payment extends Mage_Payment_Model_Method_Abst
|
|
9 |
*/
|
10 |
protected $_code = 'payment';
|
11 |
protected $_order;
|
12 |
-
|
|
|
|
|
13 |
/**
|
14 |
* Availability options
|
15 |
*/
|
@@ -42,14 +44,14 @@ class Mage_Heidelpay_Model_Method_Payment extends Mage_Payment_Model_Method_Abst
|
|
42 |
/**
|
43 |
* Default language
|
44 |
*/
|
45 |
-
protected $_localeDefault = '
|
46 |
|
47 |
/**
|
48 |
* Payment specific data
|
49 |
*/
|
50 |
protected $_payment_url;
|
51 |
protected $_request = array();
|
52 |
-
protected $_availablePayments = array('CC','DD','DC','VA','OT','IV','PP','UA');
|
53 |
protected $_allowCurrencyCode = array('AED','AFA','ALL','AMD','ANG','AOA','ARS','AUD','AWG','AZM','BAM','BBD','BDT','BGN','BHD','BIF','BMD','BND','BOB','BRL','BSD','BTN','BWP','BYR','BZD','CAD','CDF','CHF','CLP','CNY','COP','CRC','CUP','CVE','CYP','CZK','DJF','DKK','DOP','DZD','EEK','EGP','ERN','ETB','EUR','FJD','FKP','GBP','GEL','GGP','GHC','GIP','GMD','GNF','GTQ','GYD','HKD','HNL','HRK','HTG','HUF','IDR','ILS','IMP','INR','IQD','IRR','ISK','JEP','JMD','JOD','JPY','KES','KGS','KHR','KMF','KPW','KRW','KWD','KYD','KZT','LAK','LBP','LKR','LRD','LSL','LTL','LVL','LYD','MAD','MDL','MGA','MKD','MMK','MNT','MOP','MRO','MTL','MUR','MVR','MWK','MXN','MYR','MZM','NAD','NGN','NIO','NOK','NPR','NZD','OMR','PAB','PEN','PGK','PHP','PKR','PLN','PTS','PYG','QAR','RON','RUB','RWF','SAR','SBD','SCR','SDD','SEK','SGD','SHP','SIT','SKK','SLL','SOS','SPL','SRD','STD','SVC','SYP','SZL','THB','TJS','TMM','TND','TOP','TRL','TRY','TTD','TVD','TWD','TZS','UAH','UGX','USD','UYU','UZS','VEF','VND','VUV','WST','XAF','XAG','XAU','XCD','XDR','XOF','XPD','XPF','XPT','YER','ZAR','ZMK','ZWD');
|
54 |
protected $actualPaymethod;
|
55 |
/*}}}*/
|
@@ -153,6 +155,26 @@ class Mage_Heidelpay_Model_Method_Payment extends Mage_Payment_Model_Method_Abst
|
|
153 |
$currency_code=$this->getQuote()->getQuoteCurrencyCode();
|
154 |
if (!empty($currency_code) && !in_array($currency_code,$this->_allowCurrencyCode)) return false;
|
155 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
# Minimum and maximum amount
|
157 |
$totals = $this->getQuote()->getTotals();
|
158 |
if(!isset($totals['grand_total']) ) return false;
|
@@ -179,30 +201,11 @@ class Mage_Heidelpay_Model_Method_Payment extends Mage_Payment_Model_Method_Abst
|
|
179 |
#return $url;
|
180 |
}/*}}}*/
|
181 |
|
182 |
-
|
183 |
public function getCheckoutRedirectUrl()/*{{{*/
|
184 |
{
|
185 |
#$url = Mage::getUrl('heidelpay/payment/iframe', array('_secure' => true));
|
186 |
#return $url;
|
187 |
}/*}}}*/
|
188 |
-
|
189 |
-
public function getJScript()/*{{{*/
|
190 |
-
{
|
191 |
-
$name = $this->_code;
|
192 |
-
$script = 'function swapHP'.$name.'(radio)
|
193 |
-
{
|
194 |
-
var reuseObj = document.getElementById("heidelpay_reuse_'.$name.'");
|
195 |
-
var newObj = document.getElementById("heidelpay_new_'.$name.'");
|
196 |
-
if (radio.checked){
|
197 |
-
reuseObj.style.display = "block";
|
198 |
-
newObj.style.display = "none";
|
199 |
-
} else {
|
200 |
-
reuseObj.style.display = "none";
|
201 |
-
newObj.style.display = "block";
|
202 |
-
}
|
203 |
-
}';
|
204 |
-
return $script;
|
205 |
-
}/*}}}*/
|
206 |
|
207 |
public function handleRegister()/*{{{*/
|
208 |
{
|
@@ -216,8 +219,9 @@ class Mage_Heidelpay_Model_Method_Payment extends Mage_Payment_Model_Method_Abst
|
|
216 |
$currency = $this->getQuote()->store_currency_code;
|
217 |
$street = $billing->getStreet();
|
218 |
$locale = explode('_', Mage::app()->getLocale()->getLocaleCode());
|
219 |
-
$valid = array('CC', 'DD', 'DC'); // valid payment methods
|
220 |
if ( ! in_array($this->actualPaymethod, $valid)) throw new Exception('Invalid Payment Mode given for Register');
|
|
|
221 |
if (is_array($locale) && ! empty($locale))
|
222 |
$language = $locale[0];
|
223 |
else
|
@@ -229,6 +233,7 @@ class Mage_Heidelpay_Model_Method_Payment extends Mage_Payment_Model_Method_Abst
|
|
229 |
if (empty($email)) $email = $billing->getEmail();
|
230 |
|
231 |
$userData = array(
|
|
|
232 |
'firstname' => $billing->getFirstname(),
|
233 |
'lastname' => $billing->getLastname(),
|
234 |
'salutation'=> 'MR',
|
@@ -255,6 +260,8 @@ class Mage_Heidelpay_Model_Method_Payment extends Mage_Payment_Model_Method_Abst
|
|
255 |
$src = $base."?payment_error=hp".strtolower($this->actualPaymethod).'&error='.$res['all']['PROCESSING.RETURN'].'&'.session_name().'='.session_id();
|
256 |
if ($processingresult == "ACK" && strstr($redirectURL,"http")) {
|
257 |
$src = $redirectURL;
|
|
|
|
|
258 |
}
|
259 |
if ($debug) {
|
260 |
echo $src;
|
@@ -268,7 +275,12 @@ class Mage_Heidelpay_Model_Method_Payment extends Mage_Payment_Model_Method_Abst
|
|
268 |
$debug = false;
|
269 |
$payCode = $this->actualPaymethod;
|
270 |
$actModule = 'hp'.strtolower($payCode);
|
271 |
-
$ACT_MOD_MODE = '
|
|
|
|
|
|
|
|
|
|
|
272 |
$ACT_PAY_MODE = $this->getConfigData('bookingmode');
|
273 |
|
274 |
// set transaction ID for order process
|
@@ -277,10 +289,10 @@ class Mage_Heidelpay_Model_Method_Payment extends Mage_Payment_Model_Method_Abst
|
|
277 |
// prepare data
|
278 |
$billing = $this->getOrder()->getBillingAddress();
|
279 |
|
280 |
-
// Immer in der Basisw�hrung des Shops abrechnen
|
281 |
//$amount = number_format($this->getOrder()->getBaseGrandTotal(), 2, '.', '');
|
282 |
//$currency = $this->getOrder()->getBaseCurrencyCode();
|
283 |
-
// in der aktuell ausgew�hlten W�hrung abrechnen
|
284 |
$amount = number_format($this->getOrder()->getGrandTotal(), 2, '.', '');
|
285 |
$currency = $this->getOrder()->getOrderCurrencyCode();
|
286 |
|
@@ -288,8 +300,12 @@ class Mage_Heidelpay_Model_Method_Payment extends Mage_Payment_Model_Method_Abst
|
|
288 |
|
289 |
$street = $billing->getStreet();
|
290 |
$locale = explode('_', Mage::app()->getLocale()->getLocaleCode());
|
291 |
-
$valid = array('CC', 'DD', 'DC', 'OT', 'GP', 'SU', 'IV', 'IDL', 'EPS', 'PPAL', 'PP'); // valid payment methods
|
292 |
if ( ! in_array($this->actualPaymethod, $valid)) throw new Exception('Invalid Payment Mode given. '.$this->actualPaymethod);
|
|
|
|
|
|
|
|
|
293 |
if (is_array($locale) && ! empty($locale))
|
294 |
$language = $locale[0];
|
295 |
else
|
@@ -301,6 +317,8 @@ class Mage_Heidelpay_Model_Method_Payment extends Mage_Payment_Model_Method_Abst
|
|
301 |
$orderId .= '-'.$userId;
|
302 |
|
303 |
$userData = array(
|
|
|
|
|
304 |
'firstname' => $billing->getFirstname(),
|
305 |
'lastname' => $billing->getLastname(),
|
306 |
'salutation'=> 'MR',#($order->customer['gender']=='f' ? 'MRS' : 'MR'),
|
@@ -316,6 +334,13 @@ class Mage_Heidelpay_Model_Method_Payment extends Mage_Payment_Model_Method_Abst
|
|
316 |
if ($debug) echo 'UniqueId: '.$this->getSession()->getHpUniqueId();
|
317 |
|
318 |
$capture = false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
319 |
$payMethod = $ACT_PAY_MODE;
|
320 |
$changePayType = array('GP', 'SU', 'IDL', 'EPS');
|
321 |
if (in_array(strtoupper($payCode), $changePayType)) $payCode = 'OT';
|
@@ -323,7 +348,7 @@ class Mage_Heidelpay_Model_Method_Payment extends Mage_Payment_Model_Method_Abst
|
|
323 |
if (empty($payMethod)) $payMethod = 'DB';
|
324 |
if ($payCode == 'OT' && $payMethod == 'DB') $payMethod = 'PA';
|
325 |
|
326 |
-
if (in_array(strtoupper($payCode), array('PP', 'IV'))) {
|
327 |
if ($payMethod == 'DB') $payMethod = 'PA'; // Rechnung und Vorkasse immer PA
|
328 |
$capture = true; // Rechnung und Vorkasse immer ohne IFrame
|
329 |
}
|
@@ -338,6 +363,12 @@ class Mage_Heidelpay_Model_Method_Payment extends Mage_Payment_Model_Method_Abst
|
|
338 |
// Payment Antwort auswerten
|
339 |
$res = $this->parseResult($res);
|
340 |
if ($debug) echo '<pre>'.print_r($res, 1).'</pre>';
|
|
|
|
|
|
|
|
|
|
|
|
|
341 |
// IFrame erstmal leeren
|
342 |
$this->getSession()->setHeidelpayIframe(false);
|
343 |
$authType = '';
|
@@ -347,13 +378,20 @@ class Mage_Heidelpay_Model_Method_Payment extends Mage_Payment_Model_Method_Abst
|
|
347 |
$authType = '3DSecure';
|
348 |
$src = $res['all']['PROCESSING.REDIRECT.URL'];
|
349 |
// 3D Iframe zusammenbauen
|
350 |
-
$
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
357 |
// IFrame setzen
|
358 |
$this->getSession()->setHeidelpayIframe($hpIframe);
|
359 |
// Letzte Post Daten merken
|
@@ -377,13 +415,43 @@ class Mage_Heidelpay_Model_Method_Payment extends Mage_Payment_Model_Method_Abst
|
|
377 |
$src = $base.'?payment_error='.$actModule;
|
378 |
// Fehlerfall
|
379 |
if ($processingresult != "ACK"){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
380 |
$src.= '&error='.$res['all']['PROCESSING.RETURN'].'&'.session_name().'='.session_id();
|
|
|
381 |
if (!$debug) header('Location: '.$src);
|
382 |
if ($debug) echo $src;
|
383 |
exit();
|
384 |
// Redirect
|
385 |
} else if ($processingresult == "ACK" && strstr($redirectURL,"http")) {
|
386 |
$src = $redirectURL;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
387 |
} else if ($processingresult == "ACK"){
|
388 |
// Danke Seite
|
389 |
if ($debug) echo 'ActModMode: '.$ACT_MOD_MODE.'<br>';
|
@@ -418,14 +486,15 @@ class Mage_Heidelpay_Model_Method_Payment extends Mage_Payment_Model_Method_Abst
|
|
418 |
->addObject($invoice)
|
419 |
->addObject($invoice->getOrder())
|
420 |
->save();
|
|
|
421 |
}
|
422 |
$order->setCustomerNote('Short ID: '.$shortid); // Kommentar auch in EMail
|
423 |
$order->setState($payment->getPaymentState());
|
424 |
$order->addStatusToHistory($payment->getPaymentState(), 'Short ID: '.$shortid, $order->getCustomerNoteNotify());
|
425 |
if ($debug) echo 'PayMethod: '.$payMethod.'<br>';
|
426 |
if ($debug) echo 'AuthType: '.$authType.'<br>';
|
427 |
-
if (
|
428 |
-
// TransID f�r PIXI speichern
|
429 |
$order->getPayment()->setLastTransId($uniqueid);
|
430 |
if ($debug) echo 'UniqueId: '.$uniqueid.'<br>';
|
431 |
}
|
@@ -468,6 +537,12 @@ class Mage_Heidelpay_Model_Method_Payment extends Mage_Payment_Model_Method_Abst
|
|
468 |
$prePaidData = nl2br(strtr(HP_SUCCESS_PREPAID, $repl));
|
469 |
if ($debug) echo $prePaidData;
|
470 |
|
|
|
|
|
|
|
|
|
|
|
|
|
471 |
#$this->getSession()->setHpPayinfos($hpPayinfos);
|
472 |
$order = $this->getOrder()->setCustomerNote($prePaidData);
|
473 |
#$payment = $order->getPayment()->getMethodInstance();
|
@@ -476,7 +551,8 @@ class Mage_Heidelpay_Model_Method_Payment extends Mage_Payment_Model_Method_Abst
|
|
476 |
}
|
477 |
|
478 |
$src = Mage::getUrl('heidelpay/payment/success/', array('_secure' => true));
|
479 |
-
if (!$debug)
|
|
|
480 |
if (!$debug) exit();
|
481 |
}
|
482 |
if ($debug) echo 'Src: '.$src.'<br>';
|
@@ -485,20 +561,24 @@ class Mage_Heidelpay_Model_Method_Payment extends Mage_Payment_Model_Method_Abst
|
|
485 |
}/*}}}*/
|
486 |
|
487 |
public function prepareData($orderId, $amount, $currency, $payCode, $userData, $lang, $mode = 'DB', $capture = false, $uniqueId = NULL)/*{{{*/
|
488 |
-
{
|
489 |
$payCode = strtoupper($payCode);
|
490 |
$amount = sprintf('%1.2f', $amount);
|
491 |
$currency = strtoupper($currency);
|
492 |
$userData = $this->encodeData($userData);
|
493 |
-
$this->pageURL = Mage::getDesign()->getSkinUrl('images/heidelpay/');
|
494 |
-
|
495 |
-
$parameters['SECURITY.SENDER']
|
496 |
-
$parameters['USER.LOGIN']
|
497 |
-
$parameters['USER.PWD']
|
498 |
-
$parameters['TRANSACTION.CHANNEL']
|
499 |
-
$parameters['TRANSACTION.MODE']
|
500 |
-
$parameters['REQUEST.VERSION']
|
|
|
|
|
|
|
501 |
$parameters['IDENTIFICATION.TRANSACTIONID'] = $orderId;
|
|
|
502 |
if ($capture){
|
503 |
$parameters['FRONTEND.ENABLED'] = "false";
|
504 |
if (!empty($uniqueId)){
|
@@ -524,13 +604,56 @@ class Mage_Heidelpay_Model_Method_Payment extends Mage_Payment_Model_Method_Abst
|
|
524 |
if ($this->actualPaymethod == 'TP'){
|
525 |
$parameters['CRITERION.THOMEPAY_EMB'] = "1";
|
526 |
$parameters['FRONTEND.HEIGHT'] = "700";
|
|
|
|
|
|
|
527 |
} else if ($this->actualPaymethod == 'SU'){
|
528 |
$parameters['FRONTEND.HEIGHT'] = "700";
|
529 |
-
|
530 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
531 |
} else if ($this->actualPaymethod == 'GP'){
|
|
|
|
|
|
|
|
|
532 |
} else if ($this->actualPaymethod == 'PPAL'){
|
533 |
$parameters['ACCOUNT.BRAND'] = 'PAYPAL';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
534 |
}
|
535 |
|
536 |
foreach($this->_availablePayments as $key=>$value) {
|
@@ -540,43 +663,189 @@ class Mage_Heidelpay_Model_Method_Payment extends Mage_Payment_Model_Method_Abst
|
|
540 |
}
|
541 |
}
|
542 |
|
543 |
-
|
544 |
-
|
545 |
-
|
546 |
-
|
547 |
-
$parameters['
|
548 |
-
$parameters['
|
549 |
-
$parameters['
|
550 |
-
|
551 |
-
$parameters['
|
552 |
-
$parameters['
|
553 |
-
$parameters['
|
554 |
-
$parameters['
|
555 |
-
$parameters['
|
556 |
-
$parameters['
|
557 |
-
$parameters['
|
558 |
-
|
559 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
560 |
if ($mode != 'RG'){
|
561 |
$parameters['FRONTEND.BUTTON.1.NAME'] = 'PAY';
|
562 |
$parameters['FRONTEND.BUTTON.1.TYPE'] = 'IMAGE';
|
563 |
-
$parameters['FRONTEND.BUTTON.1.LINK'] = $imagePath
|
564 |
$parameters['FRONTEND.BUTTON.2.NAME'] = 'CANCEL';
|
565 |
$parameters['FRONTEND.BUTTON.2.TYPE'] = 'IMAGE';
|
566 |
-
$parameters['FRONTEND.BUTTON.2.LINK'] = $imagePath
|
567 |
} else {
|
568 |
$parameters['FRONTEND.BUTTON.1.NAME'] = 'PAY';
|
569 |
$parameters['FRONTEND.BUTTON.1.TYPE'] = 'IMAGE';
|
570 |
-
$parameters['FRONTEND.BUTTON.1.LINK'] = $imagePath
|
571 |
$parameters['FRONTEND.BUTTON.2.NAME'] = 'CANCEL';
|
572 |
$parameters['FRONTEND.BUTTON.2.TYPE'] = 'IMAGE';
|
573 |
$parameters['FRONTEND.BUTTON.2.LINK'] = $imagePath.'space.gif';
|
574 |
}
|
575 |
|
576 |
-
$parameters['SHOP.TYPE'] = 'Magento
|
577 |
-
$parameters['SHOPMODULE.VERSION'] = $this->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
578 |
return $parameters;
|
579 |
}/*}}}*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
580 |
|
581 |
public function encodeData($data)/*{{{*/
|
582 |
{
|
@@ -598,7 +867,7 @@ class Mage_Heidelpay_Model_Method_Payment extends Mage_Payment_Model_Method_Abst
|
|
598 |
}
|
599 |
}/*}}}*/
|
600 |
|
601 |
-
// Pr�ft den IST Zustand auf dem Server
|
602 |
public function isHTTPS()/*{{{*/
|
603 |
{
|
604 |
if (strpos($_SERVER['HTTP_HOST'], '.local') === false){
|
@@ -620,7 +889,7 @@ class Mage_Heidelpay_Model_Method_Payment extends Mage_Payment_Model_Method_Abst
|
|
620 |
}
|
621 |
$this->url = $url;
|
622 |
|
623 |
-
// Erstellen des Strings f�r die Daten�bermittlung
|
624 |
$result = '';
|
625 |
foreach (array_keys($data) AS $key) {
|
626 |
$data[$key] = utf8_decode($data[$key]);
|
@@ -633,7 +902,7 @@ class Mage_Heidelpay_Model_Method_Payment extends Mage_Payment_Model_Method_Abst
|
|
633 |
}
|
634 |
$strPOST = stripslashes($result);
|
635 |
|
636 |
-
// pr�fen ob CURL existiert
|
637 |
if (function_exists('curl_init')) {
|
638 |
$ch = curl_init();
|
639 |
curl_setopt($ch, CURLOPT_URL, $url);
|
9 |
*/
|
10 |
protected $_code = 'payment';
|
11 |
protected $_order;
|
12 |
+
protected $_moduleMode = 'DIRECT';
|
13 |
+
protected $version = 'Premium 13.12.17';
|
14 |
+
|
15 |
/**
|
16 |
* Availability options
|
17 |
*/
|
44 |
/**
|
45 |
* Default language
|
46 |
*/
|
47 |
+
protected $_localeDefault = 'en';
|
48 |
|
49 |
/**
|
50 |
* Payment specific data
|
51 |
*/
|
52 |
protected $_payment_url;
|
53 |
protected $_request = array();
|
54 |
+
protected $_availablePayments = array('XC', 'CC','DD','DC','VA','OT','IV','PP','UA','PC');
|
55 |
protected $_allowCurrencyCode = array('AED','AFA','ALL','AMD','ANG','AOA','ARS','AUD','AWG','AZM','BAM','BBD','BDT','BGN','BHD','BIF','BMD','BND','BOB','BRL','BSD','BTN','BWP','BYR','BZD','CAD','CDF','CHF','CLP','CNY','COP','CRC','CUP','CVE','CYP','CZK','DJF','DKK','DOP','DZD','EEK','EGP','ERN','ETB','EUR','FJD','FKP','GBP','GEL','GGP','GHC','GIP','GMD','GNF','GTQ','GYD','HKD','HNL','HRK','HTG','HUF','IDR','ILS','IMP','INR','IQD','IRR','ISK','JEP','JMD','JOD','JPY','KES','KGS','KHR','KMF','KPW','KRW','KWD','KYD','KZT','LAK','LBP','LKR','LRD','LSL','LTL','LVL','LYD','MAD','MDL','MGA','MKD','MMK','MNT','MOP','MRO','MTL','MUR','MVR','MWK','MXN','MYR','MZM','NAD','NGN','NIO','NOK','NPR','NZD','OMR','PAB','PEN','PGK','PHP','PKR','PLN','PTS','PYG','QAR','RON','RUB','RWF','SAR','SBD','SCR','SDD','SEK','SGD','SHP','SIT','SKK','SLL','SOS','SPL','SRD','STD','SVC','SYP','SZL','THB','TJS','TMM','TND','TOP','TRL','TRY','TTD','TVD','TWD','TZS','UAH','UGX','USD','UYU','UZS','VEF','VND','VUV','WST','XAF','XAG','XAU','XCD','XDR','XOF','XPD','XPF','XPT','YER','ZAR','ZMK','ZWD');
|
56 |
protected $actualPaymethod;
|
57 |
/*}}}*/
|
155 |
$currency_code=$this->getQuote()->getQuoteCurrencyCode();
|
156 |
if (!empty($currency_code) && !in_array($currency_code,$this->_allowCurrencyCode)) return false;
|
157 |
|
158 |
+
// MangirKart
|
159 |
+
if ($this->getCode() == 'hpmk' && $currency_code != 'TRY'){
|
160 |
+
return false; // MangirKart geht nur mit TRY
|
161 |
+
}
|
162 |
+
$billing = $this->getQuote()->getBillingAddress();
|
163 |
+
if ($this->getCode() == 'hpmk' && $billing->getCountry() != 'TR'){
|
164 |
+
//return false; // MangirKart geht nur in TR
|
165 |
+
}
|
166 |
+
|
167 |
+
$shipping = $this->getQuote()->getShippingAddress();
|
168 |
+
if ($this->getCode() == 'hpbs'){
|
169 |
+
// BillSafe erwartet gleiche Shipping und Billing Adresse
|
170 |
+
if ($billing->getFirstname() != $shipping->getFirstname()) return false;
|
171 |
+
if ($billing->getLastname() != $shipping->getLastname()) return false;
|
172 |
+
if ($billing->getStreet() != $shipping->getStreet()) return false;
|
173 |
+
if ($billing->getPostcode() != $shipping->getPostcode()) return false;
|
174 |
+
if ($billing->getCity() != $shipping->getCity()) return false;
|
175 |
+
if ($billing->getCountry() != $shipping->getCountry()) return false;
|
176 |
+
}
|
177 |
+
|
178 |
# Minimum and maximum amount
|
179 |
$totals = $this->getQuote()->getTotals();
|
180 |
if(!isset($totals['grand_total']) ) return false;
|
201 |
#return $url;
|
202 |
}/*}}}*/
|
203 |
|
|
|
204 |
public function getCheckoutRedirectUrl()/*{{{*/
|
205 |
{
|
206 |
#$url = Mage::getUrl('heidelpay/payment/iframe', array('_secure' => true));
|
207 |
#return $url;
|
208 |
}/*}}}*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
209 |
|
210 |
public function handleRegister()/*{{{*/
|
211 |
{
|
219 |
$currency = $this->getQuote()->store_currency_code;
|
220 |
$street = $billing->getStreet();
|
221 |
$locale = explode('_', Mage::app()->getLocale()->getLocaleCode());
|
222 |
+
$valid = array('XC', 'CC', 'DD', 'DC'); // valid payment methods
|
223 |
if ( ! in_array($this->actualPaymethod, $valid)) throw new Exception('Invalid Payment Mode given for Register');
|
224 |
+
if ($this->actualPaymethod == 'XC') $payCode = 'CC'; // Special f�r weiteren CC Brand
|
225 |
if (is_array($locale) && ! empty($locale))
|
226 |
$language = $locale[0];
|
227 |
else
|
233 |
if (empty($email)) $email = $billing->getEmail();
|
234 |
|
235 |
$userData = array(
|
236 |
+
'company' => $billing->getCompany(),
|
237 |
'firstname' => $billing->getFirstname(),
|
238 |
'lastname' => $billing->getLastname(),
|
239 |
'salutation'=> 'MR',
|
260 |
$src = $base."?payment_error=hp".strtolower($this->actualPaymethod).'&error='.$res['all']['PROCESSING.RETURN'].'&'.session_name().'='.session_id();
|
261 |
if ($processingresult == "ACK" && strstr($redirectURL,"http")) {
|
262 |
$src = $redirectURL;
|
263 |
+
} else {
|
264 |
+
echo '<script type="text/javascript">alert("Heidelpay '.$payCode.' Error: '.$res['all']['PROCESSING.RETURN'].'");</script>';
|
265 |
}
|
266 |
if ($debug) {
|
267 |
echo $src;
|
275 |
$debug = false;
|
276 |
$payCode = $this->actualPaymethod;
|
277 |
$actModule = 'hp'.strtolower($payCode);
|
278 |
+
$ACT_MOD_MODE = $this->getConfigData('modulemode');
|
279 |
+
if (!$ACT_MOD_MODE) $ACT_MOD_MODE = 'AFTER';
|
280 |
+
if ($actModule == 'hpdd') $ACT_MOD_MODE = 'DIRECT'; // Lastschrift immer DIRECT
|
281 |
+
if ($actModule == 'hppp') $ACT_MOD_MODE = 'DIRECT'; // Vorkasse immer DIRECT
|
282 |
+
if ($actModule == 'hpiv') $ACT_MOD_MODE = 'DIRECT'; // Rechnung immer DIRECT
|
283 |
+
if ($actModule == 'hpmk') $ACT_MOD_MODE = 'DIRECT'; // MangirKart immer DIRECT
|
284 |
$ACT_PAY_MODE = $this->getConfigData('bookingmode');
|
285 |
|
286 |
// set transaction ID for order process
|
289 |
// prepare data
|
290 |
$billing = $this->getOrder()->getBillingAddress();
|
291 |
|
292 |
+
// Immer in der Basisw�hrung des Shops abrechnen
|
293 |
//$amount = number_format($this->getOrder()->getBaseGrandTotal(), 2, '.', '');
|
294 |
//$currency = $this->getOrder()->getBaseCurrencyCode();
|
295 |
+
// in der aktuell ausgew�hlten W�hrung abrechnen
|
296 |
$amount = number_format($this->getOrder()->getGrandTotal(), 2, '.', '');
|
297 |
$currency = $this->getOrder()->getOrderCurrencyCode();
|
298 |
|
300 |
|
301 |
$street = $billing->getStreet();
|
302 |
$locale = explode('_', Mage::app()->getLocale()->getLocaleCode());
|
303 |
+
$valid = array('XC', 'CC', 'DD', 'DC', 'OT', 'GP', 'SU', 'IV', 'IDL', 'EPS', 'PPAL', 'PP', 'MK', 'BS', 'BP'); // valid payment methods
|
304 |
if ( ! in_array($this->actualPaymethod, $valid)) throw new Exception('Invalid Payment Mode given. '.$this->actualPaymethod);
|
305 |
+
if ($this->actualPaymethod == 'XC') $payCode = 'CC'; // Special f�r weiteren CC Brand
|
306 |
+
if ($this->actualPaymethod == 'MK') $payCode = 'PC'; // Special f�r MangirKart
|
307 |
+
if ($this->actualPaymethod == 'BS') $payCode = 'IV'; // Special f�r BillSafe
|
308 |
+
if ($this->actualPaymethod == 'BP') $payCode = 'PP'; // Special f�r BarPay
|
309 |
if (is_array($locale) && ! empty($locale))
|
310 |
$language = $locale[0];
|
311 |
else
|
317 |
$orderId .= '-'.$userId;
|
318 |
|
319 |
$userData = array(
|
320 |
+
'userid' => $userId,
|
321 |
+
'company' => $billing->getCompany(),
|
322 |
'firstname' => $billing->getFirstname(),
|
323 |
'lastname' => $billing->getLastname(),
|
324 |
'salutation'=> 'MR',#($order->customer['gender']=='f' ? 'MRS' : 'MR'),
|
334 |
if ($debug) echo 'UniqueId: '.$this->getSession()->getHpUniqueId();
|
335 |
|
336 |
$capture = false;
|
337 |
+
if ($ACT_MOD_MODE == 'DIRECT') $capture = true;
|
338 |
+
// Special CC Reuse
|
339 |
+
if ($this->getSession()->getHpUniqueId() != ''){
|
340 |
+
$capture = true;
|
341 |
+
} else {
|
342 |
+
$capture = false; // Wenn keine Unique ID hinterlegt oder Kunde die Daten nicht erneut benutzen m�chte, dann doch kein Capture
|
343 |
+
}
|
344 |
$payMethod = $ACT_PAY_MODE;
|
345 |
$changePayType = array('GP', 'SU', 'IDL', 'EPS');
|
346 |
if (in_array(strtoupper($payCode), $changePayType)) $payCode = 'OT';
|
348 |
if (empty($payMethod)) $payMethod = 'DB';
|
349 |
if ($payCode == 'OT' && $payMethod == 'DB') $payMethod = 'PA';
|
350 |
|
351 |
+
if (in_array(strtoupper($payCode), array('OT', 'PP', 'IV'))) {
|
352 |
if ($payMethod == 'DB') $payMethod = 'PA'; // Rechnung und Vorkasse immer PA
|
353 |
$capture = true; // Rechnung und Vorkasse immer ohne IFrame
|
354 |
}
|
363 |
// Payment Antwort auswerten
|
364 |
$res = $this->parseResult($res);
|
365 |
if ($debug) echo '<pre>'.print_r($res, 1).'</pre>';
|
366 |
+
|
367 |
+
// PNO Meldung Special Hack bei PROCESSING.RETURN.CODE=100.400.110
|
368 |
+
if (strpos($res['all']['PROCESSING.RETURN.CODE'], '100.400.110') !== false){
|
369 |
+
$res['all']['PROCESSING.RETURN'] = html_entity_decode($this->_getHelper('heidelpay')->__('HP_PNO_ERROR'));
|
370 |
+
}
|
371 |
+
|
372 |
// IFrame erstmal leeren
|
373 |
$this->getSession()->setHeidelpayIframe(false);
|
374 |
$authType = '';
|
378 |
$authType = '3DSecure';
|
379 |
$src = $res['all']['PROCESSING.REDIRECT.URL'];
|
380 |
// 3D Iframe zusammenbauen
|
381 |
+
if ($this->actualPaymethod == 'BS'){
|
382 |
+
$hpIframe = '<div style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.5); z-index: 9998"></div>'
|
383 |
+
.'<div style="position: absolute; top: 0; left: 0; z-index: 9999"><iframe src="'.$src.'" allowtransparency="true" frameborder="0" width="925" height="800" name="heidelpay_frame"></iframe></div>';
|
384 |
+
header('Location: '.$src);
|
385 |
+
exit();
|
386 |
+
} else {
|
387 |
+
$hpIframe = '<iframe src="about:blank" allowtransparency="true" frameborder="0" width="400" height="600" name="heidelpay_frame"></iframe>';
|
388 |
+
$hpIframe.= '<form method="post" action="'.$src.'" target="heidelpay_frame" id="heidelpay_form">';
|
389 |
+
$hpIframe.= '<input type="hidden" name="TermUrl" value="'.$res['all']['PROCESSING.REDIRECT.PARAMETER.TermUrl'].'">';
|
390 |
+
$hpIframe.= '<input type="hidden" name="PaReq" value="'.$res['all']['PROCESSING.REDIRECT.PARAMETER.PaReq'].'">';
|
391 |
+
$hpIframe.= '<input type="hidden" name="MD" value="'.$res['all']['PROCESSING.REDIRECT.PARAMETER.MD'].'">';
|
392 |
+
$hpIframe.= '</form>';
|
393 |
+
$hpIframe.= '<script type="text/javascript">document.getElementById("heidelpay_form").submit();</script>';
|
394 |
+
}
|
395 |
// IFrame setzen
|
396 |
$this->getSession()->setHeidelpayIframe($hpIframe);
|
397 |
// Letzte Post Daten merken
|
415 |
$src = $base.'?payment_error='.$actModule;
|
416 |
// Fehlerfall
|
417 |
if ($processingresult != "ACK"){
|
418 |
+
// Status und Kommentar setzen
|
419 |
+
$order = $this->getOrder();
|
420 |
+
$payment = $order->getPayment()->getMethodInstance();
|
421 |
+
$order->setState($payment->getErrorState());
|
422 |
+
$order->addStatusToHistory($payment->getErrorState(), 'Error: '.$res['all']['PROCESSING.RETURN'], $order->getCustomerNoteNotify());
|
423 |
+
$order->save();
|
424 |
+
|
425 |
$src.= '&error='.$res['all']['PROCESSING.RETURN'].'&'.session_name().'='.session_id();
|
426 |
+
# $src.= '&pm='.$res['all']['CRITERION.PAYMETHOD'].'&error='.$res['all']['PROCESSING.RETURN'].'&'.session_name().'='.session_id();
|
427 |
if (!$debug) header('Location: '.$src);
|
428 |
if ($debug) echo $src;
|
429 |
exit();
|
430 |
// Redirect
|
431 |
} else if ($processingresult == "ACK" && strstr($redirectURL,"http")) {
|
432 |
$src = $redirectURL;
|
433 |
+
// Redirect auf Fremdsystem
|
434 |
+
} else if (!empty($res['all']['PROCESSING.REDIRECT.URL'])){
|
435 |
+
// IDeal und OT Best�tigungs Seite
|
436 |
+
if ($this->actualPaymethod == 'SU'){
|
437 |
+
$src = $res['all']['PROCESSING.REDIRECT.URL'];
|
438 |
+
$form = '<form method="post" action="'.$res['all']['PROCESSING_REDIRECT_URL'].'" id="hpSURedirectForm">';
|
439 |
+
foreach($res['all'] AS $k => $v){
|
440 |
+
if (strpos($k, 'PROCESSING_REDIRECT_PARAMETER_')!==false){
|
441 |
+
$form.= '<input name="'.preg_replace('/PROCESSING_REDIRECT_PARAMETER_/', '', $k).'" value="'.utf8_encode($v).'" type="hidden">';
|
442 |
+
}
|
443 |
+
}
|
444 |
+
#$form.= '<input type="submit"><br>';
|
445 |
+
$form.= '</form><script type="text/javascript">document.getElementById("hpSURedirectForm").submit();</script>';
|
446 |
+
$this->getSession()->setHeidelpaySURedirectForm($form);
|
447 |
+
|
448 |
+
#echo '<pre>'.print_r($form, 1).'</pre>'; exit();
|
449 |
+
$src = Mage::getUrl('heidelpay/payment/suform/', array('_secure' => true));
|
450 |
+
} else {
|
451 |
+
$src = $res['all']['PROCESSING.REDIRECT.URL'];
|
452 |
+
if (!$debug) header('Location: '.$src);
|
453 |
+
if (!$debug) exit();
|
454 |
+
}
|
455 |
} else if ($processingresult == "ACK"){
|
456 |
// Danke Seite
|
457 |
if ($debug) echo 'ActModMode: '.$ACT_MOD_MODE.'<br>';
|
486 |
->addObject($invoice)
|
487 |
->addObject($invoice->getOrder())
|
488 |
->save();
|
489 |
+
$invoice->sendEmail(true, 'Short ID: '.$shortid); // Rechnung versenden // NEW 18.04.2012
|
490 |
}
|
491 |
$order->setCustomerNote('Short ID: '.$shortid); // Kommentar auch in EMail
|
492 |
$order->setState($payment->getPaymentState());
|
493 |
$order->addStatusToHistory($payment->getPaymentState(), 'Short ID: '.$shortid, $order->getCustomerNoteNotify());
|
494 |
if ($debug) echo 'PayMethod: '.$payMethod.'<br>';
|
495 |
if ($debug) echo 'AuthType: '.$authType.'<br>';
|
496 |
+
if ($authType != '3DSecure'){
|
497 |
+
// TransID f�r PIXI speichern
|
498 |
$order->getPayment()->setLastTransId($uniqueid);
|
499 |
if ($debug) echo 'UniqueId: '.$uniqueid.'<br>';
|
500 |
}
|
537 |
$prePaidData = nl2br(strtr(HP_SUCCESS_PREPAID, $repl));
|
538 |
if ($debug) echo $prePaidData;
|
539 |
|
540 |
+
// BarPay
|
541 |
+
if (!empty($res['all']['CRITERION_BARPAY_PAYCODE_URL'])){
|
542 |
+
$prePaidData = preg_replace('/{LINK}/', $res['all']['CRITERION_BARPAY_PAYCODE_URL'], $this->_getHelper('heidelpay')->__('HP_BARPAY_DOWNLOAD'));
|
543 |
+
#error_log($this->_getHelper('heidelpay')->__('HP_BARPAY_DOWNLOAD'), 3, 'd:\LOGS\magento.log');
|
544 |
+
}
|
545 |
+
|
546 |
#$this->getSession()->setHpPayinfos($hpPayinfos);
|
547 |
$order = $this->getOrder()->setCustomerNote($prePaidData);
|
548 |
#$payment = $order->getPayment()->getMethodInstance();
|
551 |
}
|
552 |
|
553 |
$src = Mage::getUrl('heidelpay/payment/success/', array('_secure' => true));
|
554 |
+
if (!$debug) echo '<html><head><script type="text/javascript">window.location.replace("'.$src.'");</script></head><body></body></html>'; // Alternative per Javascript um Back Button zu umgehen.
|
555 |
+
//if (!$debug) header('Location: '.$src);
|
556 |
if (!$debug) exit();
|
557 |
}
|
558 |
if ($debug) echo 'Src: '.$src.'<br>';
|
561 |
}/*}}}*/
|
562 |
|
563 |
public function prepareData($orderId, $amount, $currency, $payCode, $userData, $lang, $mode = 'DB', $capture = false, $uniqueId = NULL)/*{{{*/
|
564 |
+
{
|
565 |
$payCode = strtoupper($payCode);
|
566 |
$amount = sprintf('%1.2f', $amount);
|
567 |
$currency = strtoupper($currency);
|
568 |
$userData = $this->encodeData($userData);
|
569 |
+
$this->pageURL = Mage::getDesign()->getSkinUrl('images/heidelpay/', array('_secure'=>true));
|
570 |
+
|
571 |
+
$parameters['SECURITY.SENDER'] = $this->getSettingData('security_sender');
|
572 |
+
$parameters['USER.LOGIN'] = $this->getSettingData('user_id');
|
573 |
+
$parameters['USER.PWD'] = $this->getSettingData('user_pwd');
|
574 |
+
$parameters['TRANSACTION.CHANNEL'] = $this->getConfigData('channel');
|
575 |
+
$parameters['TRANSACTION.MODE'] = $this->getConfigData('transactionmode');
|
576 |
+
$parameters['REQUEST.VERSION'] = "1.0";
|
577 |
+
$parameters['CRITERION.PAYMETHOD'] = 'hp'.strtolower($payCode);
|
578 |
+
|
579 |
+
$parameters['IDENTIFICATION.SHOPPERID'] = $userData['userid'];
|
580 |
$parameters['IDENTIFICATION.TRANSACTIONID'] = $orderId;
|
581 |
+
|
582 |
if ($capture){
|
583 |
$parameters['FRONTEND.ENABLED'] = "false";
|
584 |
if (!empty($uniqueId)){
|
604 |
if ($this->actualPaymethod == 'TP'){
|
605 |
$parameters['CRITERION.THOMEPAY_EMB'] = "1";
|
606 |
$parameters['FRONTEND.HEIGHT'] = "700";
|
607 |
+
#$parameters['ACCOUNT.NUMBER'] = $this->getCheckout()->getHeidelpayTPAccountNumber();
|
608 |
+
#$parameters['ACCOUNT.BANK'] = $this->getCheckout()->getHeidelpayTPBankCode();
|
609 |
+
#$parameters['FRONTEND.ENABLED'] = "false";
|
610 |
} else if ($this->actualPaymethod == 'SU'){
|
611 |
$parameters['FRONTEND.HEIGHT'] = "700";
|
612 |
+
$parameters['ACCOUNT.NUMBER'] = $this->getCheckout()->getHeidelpaySUAccountNumber();
|
613 |
+
$parameters['ACCOUNT.BANK'] = $this->getCheckout()->getHeidelpaySUBankCode();
|
614 |
+
$parameters['ACCOUNT.HOLDER'] = $this->getCheckout()->getHeidelpaySUHolder();
|
615 |
+
#$parameters['FRONTEND.ENABLED'] = "false";
|
616 |
+
} else if ($this->actualPaymethod == 'IDL' or $this->actualPaymethod == 'EPS'){
|
617 |
+
#$parameters['ACCOUNT.NUMBER'] = $this->getCheckout()->getHeidelpayIDLAccountNumber();
|
618 |
+
#$parameters['ACCOUNT.BANK'] = $this->getCheckout()->getHeidelpayIDLBankCode();
|
619 |
+
#$parameters['ACCOUNT.HOLDER'] = $this->getCheckout()->getHeidelpayIDLHolder();
|
620 |
+
#$parameters['ACCOUNT.COUNTRY'] = $_SESSION['hpIdealData']['onlineTransferCountry'];
|
621 |
+
#$parameters['ACCOUNT.BANKNAME'] = $_SESSION['hpIdealData']['onlineTransferInstitute'];
|
622 |
+
$parameters['FRONTEND.ENABLED'] = "true";
|
623 |
+
} else if ($this->actualPaymethod == 'DD'){
|
624 |
+
if($this->getCheckout()->getHeidelpayDDAccountNumber() != ''){ $parameters['ACCOUNT.NUMBER'] = $this->getCheckout()->getHeidelpayDDAccountNumber(); }
|
625 |
+
if($this->getCheckout()->getHeidelpayDDBankCode() != ''){ $parameters['ACCOUNT.BANK'] = $this->getCheckout()->getHeidelpayDDBankCode(); }
|
626 |
+
$parameters['ACCOUNT.IBAN'] = $this->getCheckout()->getHeidelpayDDIban();
|
627 |
+
$parameters['ACCOUNT.BIC'] = $this->getCheckout()->getHeidelpayDDBic();
|
628 |
+
$parameters['ACCOUNT.HOLDER'] = $this->getCheckout()->getHeidelpayDDHolder();
|
629 |
+
$parameters['FRONTEND.ENABLED'] = "false";
|
630 |
} else if ($this->actualPaymethod == 'GP'){
|
631 |
+
$parameters['ACCOUNT.NUMBER'] = $this->getCheckout()->getHeidelpayGPAccountNumber();
|
632 |
+
$parameters['ACCOUNT.BANK'] = $this->getCheckout()->getHeidelpayGPBankCode();
|
633 |
+
$parameters['ACCOUNT.HOLDER'] = $this->getCheckout()->getHeidelpayGPHolder();
|
634 |
+
#$parameters['FRONTEND.ENABLED'] = "false";
|
635 |
} else if ($this->actualPaymethod == 'PPAL'){
|
636 |
$parameters['ACCOUNT.BRAND'] = 'PAYPAL';
|
637 |
+
#} else if ($this->actualPaymethod == 'XC'){
|
638 |
+
# $parameters['ACCOUNT.BRAND'] = 'VISA';
|
639 |
+
} else if ($this->actualPaymethod == 'BS'){
|
640 |
+
$parameters['PAYMENT.CODE'] = "IV.PA";
|
641 |
+
$parameters['ACCOUNT.BRAND'] = "BILLSAFE";
|
642 |
+
$parameters['FRONTEND.ENABLED'] = "false";
|
643 |
+
|
644 |
+
$order = $this->getOrder();
|
645 |
+
$bsParams = $this->getBillsafeBasket($order);
|
646 |
+
$parameters = array_merge($parameters, $bsParams);
|
647 |
+
|
648 |
+
} else if ($this->actualPaymethod == 'BP'){
|
649 |
+
$parameters['PAYMENT.CODE'] = "PP.PA";
|
650 |
+
$parameters['ACCOUNT.BRAND'] = "BARPAY";
|
651 |
+
$parameters['FRONTEND.ENABLED'] = "false";
|
652 |
+
// Return URL CRITERION.BARPAY_PAYCODE_URL
|
653 |
+
} else if ($this->actualPaymethod == 'MK'){
|
654 |
+
$parameters['PAYMENT.CODE'] = "PC.PA";
|
655 |
+
$parameters['ACCOUNT.BRAND'] = "MANGIRKART";
|
656 |
+
$parameters['FRONTEND.ENABLED'] = "false";
|
657 |
}
|
658 |
|
659 |
foreach($this->_availablePayments as $key=>$value) {
|
663 |
}
|
664 |
}
|
665 |
|
666 |
+
// Wenn der Payment Code noch nicht gesetzt wurde
|
667 |
+
if (empty($parameters['PAYMENT.CODE'])){
|
668 |
+
$parameters['PAYMENT.CODE'] = $payCode.".".$mode;
|
669 |
+
}
|
670 |
+
$parameters['FRONTEND.RESPONSE_URL'] = Mage::getUrl('heidelpay/payment/response', array('_secure' => true, 'actPM' => $this->actualPaymethod));
|
671 |
+
$parameters['CRITERION.RESPONSE_URL'] = $parameters['FRONTEND.RESPONSE_URL'];
|
672 |
+
#echo $parameters['FRONTEND.RESPONSE_URL'];
|
673 |
+
|
674 |
+
$parameters['NAME.COMPANY'] = trim($userData['company']);
|
675 |
+
$parameters['NAME.GIVEN'] = trim($userData['firstname']);
|
676 |
+
$parameters['NAME.FAMILY'] = trim($userData['lastname']);
|
677 |
+
$parameters['NAME.SALUTATION'] = $userData['salutation'];
|
678 |
+
$parameters['ADDRESS.STREET'] = $userData['street'];
|
679 |
+
$parameters['ADDRESS.ZIP'] = $userData['zip'];
|
680 |
+
$parameters['ADDRESS.CITY'] = $userData['city'];
|
681 |
+
$parameters['ADDRESS.COUNTRY'] = $userData['country'];
|
682 |
+
$parameters['CONTACT.EMAIL'] = $userData['email'];
|
683 |
+
$parameters['CONTACT.IP'] = $userData['ip'];
|
684 |
+
$parameters['PRESENTATION.AMOUNT'] = $amount; // 99.00
|
685 |
+
$parameters['PRESENTATION.CURRENCY'] = $currency; // EUR
|
686 |
+
$parameters['PRESENTATION.USAGE'] = $orderId; // ge�ndert 19.06.2012
|
687 |
+
$parameters['ACCOUNT.COUNTRY'] = $userData['country'];
|
688 |
+
|
689 |
+
$imagePath = Mage::getDesign()->getSkinUrl('images/heidelpay/');
|
690 |
+
|
691 |
+
$lang = strtolower($lang);
|
692 |
+
$filename_f = 'forward.png';
|
693 |
+
$filename_b= 'back.png';
|
694 |
+
$filename_frg = 'forward.jpg';
|
695 |
+
|
696 |
+
if($lang != 'en'){
|
697 |
+
$front = 'forward_'.$lang.'.png';
|
698 |
+
$back = 'back_'.$lang.'png';
|
699 |
+
$frontrg = 'forward_'.$lang.'.jpg';
|
700 |
+
|
701 |
+
if(@GetImageSize($imagePath.$front)){ $filename_f = $front; }
|
702 |
+
if(@GetImageSize($imagePath.$back)){ $filename_b = $back; }
|
703 |
+
if(@GetImageSize($imagePath.$frontrg)){ $filename_frg = $frontrg; }
|
704 |
+
}
|
705 |
+
|
706 |
if ($mode != 'RG'){
|
707 |
$parameters['FRONTEND.BUTTON.1.NAME'] = 'PAY';
|
708 |
$parameters['FRONTEND.BUTTON.1.TYPE'] = 'IMAGE';
|
709 |
+
$parameters['FRONTEND.BUTTON.1.LINK'] = $imagePath.$filename_f;
|
710 |
$parameters['FRONTEND.BUTTON.2.NAME'] = 'CANCEL';
|
711 |
$parameters['FRONTEND.BUTTON.2.TYPE'] = 'IMAGE';
|
712 |
+
$parameters['FRONTEND.BUTTON.2.LINK'] = $imagePath.$filename_b;
|
713 |
} else {
|
714 |
$parameters['FRONTEND.BUTTON.1.NAME'] = 'PAY';
|
715 |
$parameters['FRONTEND.BUTTON.1.TYPE'] = 'IMAGE';
|
716 |
+
$parameters['FRONTEND.BUTTON.1.LINK'] = $imagePath.$filename_frg;
|
717 |
$parameters['FRONTEND.BUTTON.2.NAME'] = 'CANCEL';
|
718 |
$parameters['FRONTEND.BUTTON.2.TYPE'] = 'IMAGE';
|
719 |
$parameters['FRONTEND.BUTTON.2.LINK'] = $imagePath.'space.gif';
|
720 |
}
|
721 |
|
722 |
+
$parameters['SHOP.TYPE'] = 'Magento '. Mage::getVersion();
|
723 |
+
$parameters['SHOPMODULE.VERSION'] = $this->version;
|
724 |
+
|
725 |
+
|
726 |
+
# $_SESSION[] - aktives payment
|
727 |
+
|
728 |
+
|
729 |
+
return $parameters;
|
730 |
+
}/*}}}*/
|
731 |
+
|
732 |
+
public function getBillsafeBasket($order)/*{{{*/
|
733 |
+
{
|
734 |
+
$items = $order->getAllItems();
|
735 |
+
if ($items) {
|
736 |
+
$i = 0;
|
737 |
+
foreach($items as $item) {
|
738 |
+
$i++;
|
739 |
+
$prefix = 'CRITERION.POS_'.sprintf('%02d', $i);
|
740 |
+
$parameters[$prefix.'.POSITION'] = $i;
|
741 |
+
$parameters[$prefix.'.QUANTITY'] = (int)$item->getQtyOrdered();
|
742 |
+
$parameters[$prefix.'.UNIT'] = 'Stk.'; // Liter oder so
|
743 |
+
$parameters[$prefix.'.AMOUNT_UNIT'] = round($item->getPrice()*100);
|
744 |
+
$parameters[$prefix.'.AMOUNT'] = round($item->getRowTotal()*100);
|
745 |
+
$parameters[$prefix.'.TEXT'] = $item->getName();
|
746 |
+
$parameters[$prefix.'.COL1'] = 'SKU:'.$item->getSku();
|
747 |
+
//$parameters[$prefix.'.COL2'] = '';
|
748 |
+
//$parameters[$prefix.'.COL3'] = '';
|
749 |
+
//$parameters[$prefix.'.COL4'] = '';
|
750 |
+
$parameters[$prefix.'.ARTICLE_NUMBER'] = $item->getProductId();
|
751 |
+
$parameters[$prefix.'.PERCENT_VAT'] = sprintf('%1.2f', $item->getTaxPercent());
|
752 |
+
$parameters[$prefix.'.ARTICLE_TYPE'] = 'goods'; // "goods" (Versandartikel), "shipment" (Versandkosten) oder "voucher" (Gutschein/Rabatt)
|
753 |
+
}
|
754 |
+
}
|
755 |
+
if ($this->getShippingNetPrice($order) > 0){
|
756 |
+
$i++;
|
757 |
+
$prefix = 'CRITERION.POS_'.sprintf('%02d', $i);
|
758 |
+
$parameters[$prefix.'.POSITION'] = $i;
|
759 |
+
$parameters[$prefix.'.QUANTITY'] = '1';
|
760 |
+
$parameters[$prefix.'.UNIT'] = 'Stk.'; // Liter oder so
|
761 |
+
$parameters[$prefix.'.AMOUNT_UNIT'] = round($this->getShippingNetPrice($order)*100);
|
762 |
+
$parameters[$prefix.'.AMOUNT'] = round($this->getShippingNetPrice($order)*100);
|
763 |
+
$parameters[$prefix.'.TEXT'] = 'Shipping';
|
764 |
+
//$parameters[$prefix.'.COL1'] = 'SKU:'.$item->getSku();
|
765 |
+
//$parameters[$prefix.'.COL2'] = '';
|
766 |
+
//$parameters[$prefix.'.COL3'] = '';
|
767 |
+
//$parameters[$prefix.'.COL4'] = '';
|
768 |
+
$parameters[$prefix.'.ARTICLE_NUMBER'] = '0';
|
769 |
+
$parameters[$prefix.'.PERCENT_VAT'] = $this->getShippingTaxPercent($order);
|
770 |
+
$parameters[$prefix.'.ARTICLE_TYPE'] = 'shipment'; // "goods" (Versandartikel), "shipment" (Versandkosten) oder "voucher" (Gutschein/Rabatt)
|
771 |
+
}
|
772 |
+
if ($order->getDiscountAmount() > 0){
|
773 |
+
$i++;
|
774 |
+
$prefix = 'CRITERION.POS_'.sprintf('%02d', $i);
|
775 |
+
$parameters[$prefix.'.POSITION'] = $i;
|
776 |
+
$parameters[$prefix.'.QUANTITY'] = '1';
|
777 |
+
$parameters[$prefix.'.UNIT'] = 'Stk.'; // Liter oder so
|
778 |
+
$parameters[$prefix.'.AMOUNT_UNIT'] = round($order->getDiscountAmount()*100);
|
779 |
+
$parameters[$prefix.'.AMOUNT'] = round($order->getDiscountAmount()*100);
|
780 |
+
$parameters[$prefix.'.TEXT'] = 'Voucher';
|
781 |
+
//$parameters[$prefix.'.COL1'] = 'SKU:'.$item->getSku();
|
782 |
+
//$parameters[$prefix.'.COL2'] = '';
|
783 |
+
//$parameters[$prefix.'.COL3'] = '';
|
784 |
+
//$parameters[$prefix.'.COL4'] = '';
|
785 |
+
$parameters[$prefix.'.ARTICLE_NUMBER'] = '0';
|
786 |
+
$parameters[$prefix.'.PERCENT_VAT'] = '0.00';
|
787 |
+
$parameters[$prefix.'.ARTICLE_TYPE'] = 'voucher'; // "goods" (Versandartikel), "shipment" (Versandkosten) oder "voucher" (Gutschein/Rabatt)
|
788 |
+
}
|
789 |
+
|
790 |
+
/*
|
791 |
+
2. Order Item
|
792 |
+
Attributes:
|
793 |
+
parent_id
|
794 |
+
quote_item_id
|
795 |
+
product_id
|
796 |
+
sku
|
797 |
+
image
|
798 |
+
name
|
799 |
+
description
|
800 |
+
qty_ordered
|
801 |
+
qty_backordered
|
802 |
+
qty_canceled
|
803 |
+
qty_shipped
|
804 |
+
qty_returned
|
805 |
+
price
|
806 |
+
cost
|
807 |
+
discount_percent
|
808 |
+
discount_amount
|
809 |
+
tax_percent
|
810 |
+
tax_amount
|
811 |
+
row_total
|
812 |
+
row_weight
|
813 |
+
applied_rule_ids
|
814 |
+
*/
|
815 |
return $parameters;
|
816 |
}/*}}}*/
|
817 |
+
|
818 |
+
protected function getShippingTaxPercent($order)/*{{{*/
|
819 |
+
{
|
820 |
+
$tax = ($order->getShippingTaxAmount() * 100) / $order->getShippingAmount();
|
821 |
+
return $this->format(round($tax));
|
822 |
+
}/*}}}*/
|
823 |
+
|
824 |
+
/**
|
825 |
+
* Calculates shipping price
|
826 |
+
*
|
827 |
+
* @param Varien_Object $order
|
828 |
+
* @return float
|
829 |
+
*/
|
830 |
+
protected function getShippingNetPrice($order)
|
831 |
+
{
|
832 |
+
$shippingTax = $order->getShippingTaxAmount();
|
833 |
+
$price = $order->getShippingInclTax() - $shippingTax;
|
834 |
+
$price -= $order->getShippingRefunded();
|
835 |
+
$price -= $order->getShippingCanceled();
|
836 |
+
return $price;
|
837 |
+
}
|
838 |
+
|
839 |
+
/**
|
840 |
+
* Formats given number according to billsafe standard
|
841 |
+
*
|
842 |
+
* @param integer|float $number
|
843 |
+
* @return string
|
844 |
+
*/
|
845 |
+
private function format($number)
|
846 |
+
{
|
847 |
+
return number_format($number, 2, '.', '');
|
848 |
+
}
|
849 |
|
850 |
public function encodeData($data)/*{{{*/
|
851 |
{
|
867 |
}
|
868 |
}/*}}}*/
|
869 |
|
870 |
+
// Pr�ft den IST Zustand auf dem Server
|
871 |
public function isHTTPS()/*{{{*/
|
872 |
{
|
873 |
if (strpos($_SERVER['HTTP_HOST'], '.local') === false){
|
889 |
}
|
890 |
$this->url = $url;
|
891 |
|
892 |
+
// Erstellen des Strings f�r die Daten�bermittlung
|
893 |
$result = '';
|
894 |
foreach (array_keys($data) AS $key) {
|
895 |
$data[$key] = utf8_decode($data[$key]);
|
902 |
}
|
903 |
$strPOST = stripslashes($result);
|
904 |
|
905 |
+
// pr�fen ob CURL existiert
|
906 |
if (function_exists('curl_init')) {
|
907 |
$ch = curl_init();
|
908 |
curl_setopt($ch, CURLOPT_URL, $url);
|
app/code/local/Mage/Heidelpay/Model/Order/Pdf/Invoice.php
ADDED
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Heidelpay 2013-11-25
|
4 |
+
* feature removed
|
5 |
+
|
6 |
+
class Mage_Heidelpay_Model_Order_Pdf_Invoice extends Mage_Sales_Model_Order_Pdf_Invoice
|
7 |
+
{
|
8 |
+
public function getPdf($invoices = array())
|
9 |
+
{
|
10 |
+
return $this->myPdf($invoices);
|
11 |
+
}
|
12 |
+
|
13 |
+
public function myPdf($invoices = array())
|
14 |
+
{
|
15 |
+
$debug = false;
|
16 |
+
if ($debug){
|
17 |
+
$this->_beforeGetPdf();
|
18 |
+
$this->_initRenderer('invoice');
|
19 |
+
|
20 |
+
$pdf = new Zend_Pdf();
|
21 |
+
$this->_setPdf($pdf);
|
22 |
+
$style = new Zend_Pdf_Style();
|
23 |
+
$this->_setFontBold($style, 10);
|
24 |
+
|
25 |
+
$page = $pdf->newPage(Zend_Pdf_Page::SIZE_A4);
|
26 |
+
$pdf->pages[] = $page;
|
27 |
+
//$page->setFillColor(new Zend_Pdf_Color_RGB(1, 0, 0));
|
28 |
+
$this->_setFontRegular($page);
|
29 |
+
//$page->drawText('Dies ist ein Test', 35, 780, 'UTF-8');
|
30 |
+
|
31 |
+
$x = 50;
|
32 |
+
$y = 800;
|
33 |
+
}
|
34 |
+
foreach ($invoices as $invoice) {
|
35 |
+
$order = $invoice->getOrder();
|
36 |
+
$billing = $order->getBillingAddress();
|
37 |
+
$payment = $order->getPayment()->getMethodInstance();
|
38 |
+
|
39 |
+
// Immer in der Basisw�hrung des Shops abrechnen
|
40 |
+
//$amount = number_format($this->getOrder()->getBaseGrandTotal(), 2, '.', '');
|
41 |
+
//$currency = $this->getOrder()->getBaseCurrencyCode();
|
42 |
+
// in der aktuell ausgew�hlten W�hrung abrechnen
|
43 |
+
$amount = number_format($order->getGrandTotal(), 2, '.', '');
|
44 |
+
$currency = $order->getOrderCurrencyCode();
|
45 |
+
|
46 |
+
$street = $billing->getStreet();
|
47 |
+
$locale = explode('_', Mage::app()->getLocale()->getLocaleCode());
|
48 |
+
if (is_array($locale) && ! empty($locale))
|
49 |
+
$language = $locale[0];
|
50 |
+
else
|
51 |
+
$language = $this->getDefaultLocale();
|
52 |
+
|
53 |
+
$userId = $order->getCustomerId();
|
54 |
+
$orderId = $payment->getTransactionId();
|
55 |
+
$insertId = $orderId;
|
56 |
+
$orderId .= '-'.$userId;
|
57 |
+
$payCode = 'IV';
|
58 |
+
$payMethod = 'FI';
|
59 |
+
|
60 |
+
$userData = array(
|
61 |
+
'firstname' => $billing->getFirstname(),
|
62 |
+
'lastname' => $billing->getLastname(),
|
63 |
+
'salutation'=> 'MR',#($order->customer['gender']=='f' ? 'MRS' : 'MR'),
|
64 |
+
'street' => $street[0],
|
65 |
+
'zip' => $billing->getPostcode(),
|
66 |
+
'city' => $billing->getCity(),
|
67 |
+
'country' => $billing->getCountry(),
|
68 |
+
'email' => $order->getCustomerEmail(),
|
69 |
+
'ip' => $order->getRemoteIp(),
|
70 |
+
);
|
71 |
+
if (empty($userData['ip'])) $userData['ip'] = $_SERVER['REMOTE_ADDR']; // Falls IP Leer, dann aus dem Server holen
|
72 |
+
// Payment Request zusammenschrauben
|
73 |
+
$data = $payment->prepareData($orderId, $amount, $currency, $payCode, $userData, $language, $payMethod, true);
|
74 |
+
$bsParams = $payment->getBillsafeBasket($order);
|
75 |
+
$data = array_merge($data, $bsParams);
|
76 |
+
$data['IDENTIFICATION.REFERENCEID'] = $order->getPayment()->getLastTransId();
|
77 |
+
if ($debug){
|
78 |
+
foreach ($data AS $k => $v){
|
79 |
+
$page->drawText($k.': '.$v, $x, $y, 'UTF-8');
|
80 |
+
$y-= 10;
|
81 |
+
}
|
82 |
+
}
|
83 |
+
// Mit Payment kommunizieren
|
84 |
+
$res = $payment->doRequest($data);
|
85 |
+
//if ($debug) echo '<pre>resp('.print_r($this->response, 1).')</pre>';
|
86 |
+
//if ($debug) echo '<pre>'.print_r($res, 1).'</pre>';
|
87 |
+
// Payment Antwort auswerten
|
88 |
+
$res = $payment->parseResult($res);
|
89 |
+
//if ($debug) echo '<pre>'.print_r($res, 1).'</pre>';
|
90 |
+
if ($debug) $page->drawText(print_r($res,1), $x, $y, 'UTF-8');
|
91 |
+
}
|
92 |
+
if ($debug){
|
93 |
+
$this->_afterGetPdf();
|
94 |
+
return $pdf;
|
95 |
+
}
|
96 |
+
return parent::getPdf($invoices);
|
97 |
+
}
|
98 |
+
}
|
99 |
+
*/
|
app/code/local/Mage/Heidelpay/Model/System/Config/Source/Bookingmode.php
CHANGED
@@ -5,8 +5,8 @@ class Mage_Heidelpay_Model_System_Config_Source_Bookingmode
|
|
5 |
public function toOptionArray()
|
6 |
{
|
7 |
return array(
|
8 |
-
array('value'=>'DB', 'label'=>Mage::helper('heidelpay')->__('
|
9 |
-
array('value'=>'PA', 'label'=>Mage::helper('heidelpay')->__('
|
10 |
);
|
11 |
}
|
12 |
}
|
5 |
public function toOptionArray()
|
6 |
{
|
7 |
return array(
|
8 |
+
array('value'=>'DB', 'label'=>Mage::helper('heidelpay')->__('Direct Booking')),
|
9 |
+
array('value'=>'PA', 'label'=>Mage::helper('heidelpay')->__('Preauthorisation'))
|
10 |
);
|
11 |
}
|
12 |
}
|
app/code/local/Mage/Heidelpay/Model/System/Config/Source/Ddmodulemode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Mage_Heidelpay_Model_System_Config_Source_Ddmodulemode
|
3 |
+
{
|
4 |
+
public function toOptionArray(){
|
5 |
+
return array(
|
6 |
+
array('value'=>'DIRECT', 'label'=>Mage::helper('heidelpay')->__('Direct Data Input')),
|
7 |
+
);
|
8 |
+
}
|
9 |
+
}
|
10 |
+
|
11 |
+
?>
|
app/code/local/Mage/Heidelpay/Model/System/Config/Source/Modulemode.php
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Mage_Heidelpay_Model_System_Config_Source_Modulemode
|
4 |
+
{
|
5 |
+
public function toOptionArray()
|
6 |
+
{
|
7 |
+
return array(
|
8 |
+
array('value'=>'DIRECT', 'label'=>Mage::helper('heidelpay')->__('Direct with registration')),
|
9 |
+
array('value'=>'AFTER', 'label'=>Mage::helper('heidelpay')->__('After without registration'))
|
10 |
+
);
|
11 |
+
}
|
12 |
+
}
|
app/code/local/Mage/Heidelpay/Model/System/Config/Source/Sepamode.php
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Mage_Heidelpay_Model_System_Config_Source_Sepamode
|
3 |
+
{
|
4 |
+
public function toOptionArray(){
|
5 |
+
return array(
|
6 |
+
array('value'=>'classic', 'label'=>Mage::helper('heidelpay')->__('Account & Bank no.')),
|
7 |
+
array('value'=>'iban', 'label'=>Mage::helper('heidelpay')->__('IBAN & BIC')),
|
8 |
+
array('value'=>'both', 'label'=>Mage::helper('heidelpay')->__('both with selector')),
|
9 |
+
);
|
10 |
+
}
|
11 |
+
}
|
12 |
+
|
13 |
+
?>
|
app/code/local/Mage/Heidelpay/controllers/PaymentController.php
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
class Mage_Heidelpay_PaymentController extends Mage_Core_Controller_Front_Action
|
3 |
{
|
4 |
protected $_sendNewOrderEmail = TRUE;
|
|
|
5 |
protected $_order = NULL;
|
6 |
protected $_paymentInst = NULL;
|
7 |
|
@@ -22,7 +23,7 @@ class Mage_Heidelpay_PaymentController extends Mage_Core_Controller_Front_Action
|
|
22 |
return Mage::helper('heidelpay');
|
23 |
}
|
24 |
|
25 |
-
// Spezial f�r Multishops
|
26 |
public function _xredirect($target, $secure = array())/*{{{*/
|
27 |
{
|
28 |
$protocol = 'http://';
|
@@ -136,30 +137,15 @@ class Mage_Heidelpay_PaymentController extends Mage_Core_Controller_Front_Action
|
|
136 |
|
137 |
$ACT_MOD_MODE = $payment->getConfigData('modulemode');
|
138 |
if (!$ACT_MOD_MODE) $ACT_MOD_MODE = 'AFTER';
|
139 |
-
|
140 |
-
// restock
|
141 |
-
if ($ACT_MOD_MODE == 'AFTER'){
|
142 |
-
#if (!isset($_SESSION['updated']) || $_SESSION['updated'] != $session->getLastRealOrderId()) {
|
143 |
-
if ($this->getSession()->getStockUpdated() != $session->getLastRealOrderId()) {
|
144 |
-
$items = $order->getAllItems();
|
145 |
-
if ($items) {
|
146 |
-
foreach($items as $item) {
|
147 |
-
$quantity = $item->getQtyOrdered();
|
148 |
-
$product_id = $item->getProductId();
|
149 |
-
// load stock for product
|
150 |
-
$stock = Mage::getModel('cataloginventory/stock_item')->loadByProduct($product_id);
|
151 |
-
// set to old qty
|
152 |
-
$stock->setQty($stock->getQty() + $quantity);
|
153 |
-
$stock->save();
|
154 |
-
}
|
155 |
-
}
|
156 |
-
#$_SESSION['updated'] = $session->getLastRealOrderId();
|
157 |
-
$this->getSession()->setStockUpdated($session->getLastRealOrderId());
|
158 |
-
}
|
159 |
-
}
|
160 |
-
*/
|
161 |
$this->loadLayout();
|
162 |
$iframe = $payment->getHeidelpayIFrameUrl();
|
|
|
|
|
|
|
|
|
|
|
|
|
163 |
$this->getLayout()->getBlock('heidelpay_iframe')->setHPIframeUrl($iframe);
|
164 |
Mage::dispatchEvent('heidelpay_payment_controller_iframe_action');
|
165 |
$this->renderLayout();
|
@@ -253,6 +239,8 @@ class Mage_Heidelpay_PaymentController extends Mage_Core_Controller_Front_Action
|
|
253 |
$this->_order->addStatusToHistory($this->getHPPayment()->getCancelState(), $this->_getHelper()->__('The transaction has been canceled.'));
|
254 |
$this->_order->save();
|
255 |
}
|
|
|
|
|
256 |
|
257 |
// set quote to active
|
258 |
if ($quoteId = $this->getCheckout()->getQuoteId()) {
|
@@ -298,6 +286,8 @@ class Mage_Heidelpay_PaymentController extends Mage_Core_Controller_Front_Action
|
|
298 |
} else {
|
299 |
$payment = $this->getHPPayment();
|
300 |
}
|
|
|
|
|
301 |
|
302 |
$params = Mage::app()->getRequest()->getParams();
|
303 |
Mage::log("Heidelpay - errorAction: getParams() ");
|
@@ -399,7 +389,12 @@ class Mage_Heidelpay_PaymentController extends Mage_Core_Controller_Front_Action
|
|
399 |
Mage::dispatchEvent('hp_payment_controller_redirect_action');
|
400 |
|
401 |
$payment = $order->getPayment()->getMethodInstance()->getCode();
|
402 |
-
$
|
|
|
|
|
|
|
|
|
|
|
403 |
return;
|
404 |
} catch (Exception $e){
|
405 |
Mage::logException($e);
|
@@ -454,30 +449,41 @@ class Mage_Heidelpay_PaymentController extends Mage_Core_Controller_Front_Action
|
|
454 |
if (isset($post['PROCESSING_RESULT'])) $returnvalue = $post['PROCESSING_RESULT'];
|
455 |
if ($returnvalue){
|
456 |
$shortid = $orderId = $uniqueid = $authType = $statusCode = $processReturn = $frontendCancel = $payCode = $custId = '';
|
457 |
-
$accBrand = $accExpMonth = $accExpYear = $accHolder = $accNumber = $accBank = '';
|
458 |
-
$conAccCountry = $conAccHolder = $conAccNumber = $conAccBank = $conAccBic = $conAccIban = $presAmount = $presCurrency = '';
|
459 |
-
if (isset($post['IDENTIFICATION_SHORTID']))
|
460 |
-
if (isset($post['IDENTIFICATION_TRANSACTIONID']))
|
461 |
-
if (isset($post['IDENTIFICATION_UNIQUEID']))
|
462 |
-
if (isset($post['AUTHENTICATION_TYPE']))
|
463 |
-
if (isset($post['PROCESSING_STATUS_CODE']))
|
464 |
-
if (isset($post['PROCESSING_RETURN']))
|
465 |
-
if (isset($post['FRONTEND_REQUEST_CANCELLED'])) $frontendCancel
|
466 |
-
if (isset($post['PAYMENT_CODE']))
|
467 |
-
if (isset($post['ACCOUNT_BRAND']))
|
468 |
-
if (isset($post['ACCOUNT_EXPIRY_MONTH']))
|
469 |
-
if (isset($post['ACCOUNT_EXPIRY_YEAR']))
|
470 |
-
if (isset($post['ACCOUNT_HOLDER']))
|
471 |
-
if (isset($post['ACCOUNT_NUMBER']))
|
472 |
-
if (isset($post['ACCOUNT_BANK']))
|
473 |
-
if (isset($post['CONNECTOR_ACCOUNT_COUNTRY']))
|
474 |
-
if (isset($post['CONNECTOR_ACCOUNT_HOLDER']))
|
475 |
-
if (isset($post['CONNECTOR_ACCOUNT_NUMBER']))
|
476 |
-
if (isset($post['CONNECTOR_ACCOUNT_BANK']))
|
477 |
-
if (isset($post['CONNECTOR_ACCOUNT_BIC']))
|
478 |
-
if (isset($post['CONNECTOR_ACCOUNT_IBAN']))
|
479 |
-
if (isset($post['PRESENTATION_AMOUNT']))
|
480 |
-
if (isset($post['PRESENTATION_CURRENCY']))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
481 |
|
482 |
// Order ID extrahieren
|
483 |
if (strpos($orderId, '-') !== false){
|
@@ -499,6 +505,39 @@ class Mage_Heidelpay_PaymentController extends Mage_Core_Controller_Front_Action
|
|
499 |
#echo '<pre>'.print_r($payment, 1).'</pre>';
|
500 |
}
|
501 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
502 |
$params = '';
|
503 |
$prePaidData = '';
|
504 |
// Vorkasse Sonderkrams
|
@@ -528,6 +567,21 @@ class Mage_Heidelpay_PaymentController extends Mage_Core_Controller_Front_Action
|
|
528 |
define('HP_SUCCESS_PREPAID', $this->_getHelper('heidelpay')->__('HP_SUCCESS_PREPAID'));
|
529 |
|
530 |
$prePaidData = strtr(HP_SUCCESS_PREPAID, $repl);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
531 |
}
|
532 |
|
533 |
#echo '<pre>'.print_r($order, 1).'</pre>'; exit();
|
@@ -555,18 +609,18 @@ class Mage_Heidelpay_PaymentController extends Mage_Core_Controller_Front_Action
|
|
555 |
->addObject($invoice)
|
556 |
->addObject($invoice->getOrder())
|
557 |
->save();
|
558 |
-
$invoice->sendEmail(); // Rechnung versenden
|
559 |
}
|
560 |
|
561 |
Mage::log("Heidelpay - responseAction: order->setState " .$payment->getPaymentState());
|
562 |
$order->setState($payment->getPaymentState());
|
563 |
-
$order->addStatusToHistory($payment->getPaymentState(), 'Short ID: '.$shortid.' '.$
|
564 |
-
if (strpos($payCode, 'PA') !== false){ # Nur bei PA speichern.
|
565 |
-
// TransID f�r PIXI speichern
|
566 |
$order->getPayment()->setLastTransId($uniqueid);
|
567 |
-
}
|
568 |
// $order->getPayment()->registerCaptureNotification($presAmount);
|
569 |
-
$order->setCustomerNote(
|
570 |
$order->save();
|
571 |
}
|
572 |
}
|
@@ -585,12 +639,21 @@ class Mage_Heidelpay_PaymentController extends Mage_Core_Controller_Front_Action
|
|
585 |
$customer->setHeidelpayLastHolder($accHolder);
|
586 |
}
|
587 |
if (strpos($payCode, 'CC') !== false){
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
594 |
}
|
595 |
if (strpos($payCode, 'DC') !== false){
|
596 |
$customer->setHeidelpayDcardUniqueId($uniqueid);
|
@@ -615,27 +678,27 @@ class Mage_Heidelpay_PaymentController extends Mage_Core_Controller_Front_Action
|
|
615 |
}
|
616 |
// Bei CC und DC nur bei DIRECT die CANCEL Methode nutzen.
|
617 |
//if (!empty($orderId) && (strpos($payCode, 'CC') !== false || strpos($payCode, 'DC') !== false) && $payment->getConfigData('bookingmode') == 'DIRECT'){
|
618 |
-
if ((strpos($payCode, 'CC') !== false || strpos($payCode, 'DC') !== false)){
|
619 |
-
print Mage::getUrl('heidelpay/payment/cancel/', array('_secure' => true, 'error' => 'Cancelled by User'));
|
620 |
} else {
|
621 |
print Mage::getUrl('checkout/onepage/', array('_secure' => true));
|
622 |
}
|
623 |
} else {
|
624 |
if (!empty($orderId)){
|
625 |
$order->setState($payment->getErrorState());
|
626 |
-
$order->addStatusToHistory($payment->getErrorState(), $processReturn, $order->getCustomerNoteNotify());
|
627 |
$order->save();
|
628 |
}
|
629 |
if ($processReturn == 'Canceled by user'){
|
630 |
print Mage::getUrl('checkout/onepage/', array('_secure' => true));
|
631 |
} else {
|
632 |
-
if(strpos($payCode, 'CC')!==false){
|
633 |
$isIframe = 1;
|
634 |
-
Mage::log("Heidelpay - responseAction:
|
635 |
} else {
|
636 |
$isIframe = 0;
|
637 |
}
|
638 |
-
print Mage::getUrl('heidelpay/payment/error/', array('_secure' => true)).'?error='.urlencode($processReturn)."&isiframe=".$isIframe;
|
639 |
}
|
640 |
}
|
641 |
} else {
|
@@ -664,4 +727,30 @@ class Mage_Heidelpay_PaymentController extends Mage_Core_Controller_Front_Action
|
|
664 |
echo '<script>top.location.href="'.Mage::getUrl('heidelpay/payment/success/', array('_secure' => true)).'";</script>';
|
665 |
}/*}}}*/
|
666 |
|
667 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
class Mage_Heidelpay_PaymentController extends Mage_Core_Controller_Front_Action
|
3 |
{
|
4 |
protected $_sendNewOrderEmail = TRUE;
|
5 |
+
protected $_invoiceOrderEmail = TRUE;
|
6 |
protected $_order = NULL;
|
7 |
protected $_paymentInst = NULL;
|
8 |
|
23 |
return Mage::helper('heidelpay');
|
24 |
}
|
25 |
|
26 |
+
// Spezial f�r Multishops
|
27 |
public function _xredirect($target, $secure = array())/*{{{*/
|
28 |
{
|
29 |
$protocol = 'http://';
|
137 |
|
138 |
$ACT_MOD_MODE = $payment->getConfigData('modulemode');
|
139 |
if (!$ACT_MOD_MODE) $ACT_MOD_MODE = 'AFTER';
|
140 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
141 |
$this->loadLayout();
|
142 |
$iframe = $payment->getHeidelpayIFrameUrl();
|
143 |
+
|
144 |
+
// Status und Kommentar setzen
|
145 |
+
$order->setState($payment->getOrderState());
|
146 |
+
$order->addStatusToHistory($payment->getOrderState(), 'IFrame: '.$iframe, $order->getCustomerNoteNotify());
|
147 |
+
$order->save();
|
148 |
+
|
149 |
$this->getLayout()->getBlock('heidelpay_iframe')->setHPIframeUrl($iframe);
|
150 |
Mage::dispatchEvent('heidelpay_payment_controller_iframe_action');
|
151 |
$this->renderLayout();
|
239 |
$this->_order->addStatusToHistory($this->getHPPayment()->getCancelState(), $this->_getHelper()->__('The transaction has been canceled.'));
|
240 |
$this->_order->save();
|
241 |
}
|
242 |
+
|
243 |
+
$this->restock($_GET['pc']);
|
244 |
|
245 |
// set quote to active
|
246 |
if ($quoteId = $this->getCheckout()->getQuoteId()) {
|
286 |
} else {
|
287 |
$payment = $this->getHPPayment();
|
288 |
}
|
289 |
+
|
290 |
+
$this->restock($_GET['pc']);
|
291 |
|
292 |
$params = Mage::app()->getRequest()->getParams();
|
293 |
Mage::log("Heidelpay - errorAction: getParams() ");
|
389 |
Mage::dispatchEvent('hp_payment_controller_redirect_action');
|
390 |
|
391 |
$payment = $order->getPayment()->getMethodInstance()->getCode();
|
392 |
+
#echo '<pre>'.print_r($payment, 1).'</pre>';
|
393 |
+
if ($payment == 'hpsu'){
|
394 |
+
$this->_redirect('heidelpay/payment/suform', array('_secure' => true));
|
395 |
+
} else {
|
396 |
+
$this->_redirect('heidelpay/payment/iframe', array('_secure' => true));
|
397 |
+
}
|
398 |
return;
|
399 |
} catch (Exception $e){
|
400 |
Mage::logException($e);
|
449 |
if (isset($post['PROCESSING_RESULT'])) $returnvalue = $post['PROCESSING_RESULT'];
|
450 |
if ($returnvalue){
|
451 |
$shortid = $orderId = $uniqueid = $authType = $statusCode = $processReturn = $frontendCancel = $payCode = $custId = '';
|
452 |
+
$accBrand = $accExpMonth = $accExpYear = $accHolder = $accNumber = $accBank = $actPM = '';
|
453 |
+
$conAccCountry = $conAccHolder = $conAccNumber = $conAccBank = $conAccBic = $conAccIban = $presAmount = $presCurrency = $pm = '';
|
454 |
+
if (isset($post['IDENTIFICATION_SHORTID'])) $shortid = $post['IDENTIFICATION_SHORTID'];
|
455 |
+
if (isset($post['IDENTIFICATION_TRANSACTIONID'])) $orderId = $post['IDENTIFICATION_TRANSACTIONID'];
|
456 |
+
if (isset($post['IDENTIFICATION_UNIQUEID'])) $uniqueid = $post['IDENTIFICATION_UNIQUEID'];
|
457 |
+
if (isset($post['AUTHENTICATION_TYPE'])) $authType = $post['AUTHENTICATION_TYPE'];
|
458 |
+
if (isset($post['PROCESSING_STATUS_CODE'])) $statusCode = $post['PROCESSING_STATUS_CODE'];
|
459 |
+
if (isset($post['PROCESSING_RETURN'])) $processReturn = $post['PROCESSING_RETURN'];
|
460 |
+
if (isset($post['FRONTEND_REQUEST_CANCELLED'])) $frontendCancel = $post['FRONTEND_REQUEST_CANCELLED'];
|
461 |
+
if (isset($post['PAYMENT_CODE'])) $payCode = $post['PAYMENT_CODE'];
|
462 |
+
if (isset($post['ACCOUNT_BRAND'])) $accBrand = $post['ACCOUNT_BRAND'];
|
463 |
+
if (isset($post['ACCOUNT_EXPIRY_MONTH'])) $accExpMonth = $post['ACCOUNT_EXPIRY_MONTH'];
|
464 |
+
if (isset($post['ACCOUNT_EXPIRY_YEAR'])) $accExpYear = $post['ACCOUNT_EXPIRY_YEAR'];
|
465 |
+
if (isset($post['ACCOUNT_HOLDER'])) $accHolder = $post['ACCOUNT_HOLDER'];
|
466 |
+
if (isset($post['ACCOUNT_NUMBER'])) $accNumber = $post['ACCOUNT_NUMBER'];
|
467 |
+
if (isset($post['ACCOUNT_BANK'])) $accBank = $post['ACCOUNT_BANK'];
|
468 |
+
if (isset($post['CONNECTOR_ACCOUNT_COUNTRY'])) $conAccCountry = $post['CONNECTOR_ACCOUNT_COUNTRY'];
|
469 |
+
if (isset($post['CONNECTOR_ACCOUNT_HOLDER'])) $conAccHolder = $post['CONNECTOR_ACCOUNT_HOLDER'];
|
470 |
+
if (isset($post['CONNECTOR_ACCOUNT_NUMBER'])) $conAccNumber = $post['CONNECTOR_ACCOUNT_NUMBER'];
|
471 |
+
if (isset($post['CONNECTOR_ACCOUNT_BANK'])) $conAccBank = $post['CONNECTOR_ACCOUNT_BANK'];
|
472 |
+
if (isset($post['CONNECTOR_ACCOUNT_BIC'])) $conAccBic = $post['CONNECTOR_ACCOUNT_BIC'];
|
473 |
+
if (isset($post['CONNECTOR_ACCOUNT_IBAN'])) $conAccIban = $post['CONNECTOR_ACCOUNT_IBAN'];
|
474 |
+
if (isset($post['PRESENTATION_AMOUNT'])) $presAmount = $post['PRESENTATION_AMOUNT'];
|
475 |
+
if (isset($post['PRESENTATION_CURRENCY'])) $presCurrency = $post['PRESENTATION_CURRENCY'];
|
476 |
+
if (isset($post['CRITERION_PAYMETHOD'])) $pm = $post['CRITERION_PAYMETHOD'];
|
477 |
+
if (isset($post['actPM'])) $actPM = $post['actPM'];
|
478 |
+
|
479 |
+
$invoiceMailComment = 'Short ID: '.$shortid;
|
480 |
+
|
481 |
+
// PNO Meldung Special Hack bei PROCESSING.RETURN.CODE=100.400.110
|
482 |
+
$returnCode = '';
|
483 |
+
if (isset($post['PROCESSING_RETURN_CODE'])) $returnCode = $post['PROCESSING_RETURN_CODE'];
|
484 |
+
if (strpos($returnCode, '100.400.110') !== false){
|
485 |
+
$processReturn = $this->_getHelper('heidelpay')->__('HP_PNO_ERROR');
|
486 |
+
}
|
487 |
|
488 |
// Order ID extrahieren
|
489 |
if (strpos($orderId, '-') !== false){
|
505 |
#echo '<pre>'.print_r($payment, 1).'</pre>';
|
506 |
}
|
507 |
|
508 |
+
if ($payCode == 'IV.PA' && $post['ACCOUNT_BRAND'] == 'BILLSAFE'){
|
509 |
+
$repl = array(
|
510 |
+
'{AMOUNT}' => $post['CRITERION_BILLSAFE_AMOUNT'],
|
511 |
+
'{CURRENCY}' => $post['CRITERION_BILLSAFE_CURRENCY'],
|
512 |
+
'{ACC_OWNER}' => $post['CRITERION_BILLSAFE_RECIPIENT'],
|
513 |
+
'{ACC_BANKNAME}' => $post['CRITERION_BILLSAFE_BANKNAME'],
|
514 |
+
'{ACC_NUMBER}' => $post['CRITERION_BILLSAFE_ACCOUNTNUMBER'],
|
515 |
+
'{ACC_BANKCODE}' => $post['CRITERION_BILLSAFE_BANKCODE'],
|
516 |
+
'{ACC_BIC}' => $post['CRITERION_BILLSAFE_BIC'],
|
517 |
+
'{ACC_IBAN}' => $post['CRITERION_BILLSAFE_IBAN'],
|
518 |
+
'{SHORTID}' => $post['CRITERION_BILLSAFE_REFERENCE'],
|
519 |
+
'{LEGALNOTE}' => $post['CRITERION_BILLSAFE_LEGALNOTE'],
|
520 |
+
'{NOTE}' => $post['CRITERION_BILLSAFE_NOTE'],
|
521 |
+
);
|
522 |
+
|
523 |
+
$locale = explode('_', Mage::app()->getLocale()->getLocaleCode());
|
524 |
+
if (is_array($locale) && ! empty($locale))
|
525 |
+
$language = $locale[0];
|
526 |
+
else
|
527 |
+
$language = $this->getDefaultLocale();
|
528 |
+
|
529 |
+
define('HP_SUCCESS_BILLSAFE', $this->_getHelper('heidelpay')->__('HP_SUCCESS_BILLSAFE'));
|
530 |
+
|
531 |
+
$bsData = strtr(HP_SUCCESS_BILLSAFE, $repl);
|
532 |
+
$bsData.= ' '.$post['CRITERION_BILLSAFE_LEGALNOTE'].' ';
|
533 |
+
//$bsData.= substr($post['CRITERION_BILLSAFE_NOTE'], 0, strlen($post['CRITERION_BILLSAFE_NOTE'])-11).' '.date('d.m.Y', mktime(0,0,0,date('m'),date('d')+$post['CRITERION_BILLSAFE_PERIOD'],date('Y'))).'.';
|
534 |
+
$bsData.= preg_replace('/{DAYS}/', $post['CRITERION_BILLSAFE_PERIOD'], $this->_getHelper('heidelpay')->__('HP_LEGALNOTE_BILLSAFE'));
|
535 |
+
$bsData = nl2br(htmlentities($bsData));
|
536 |
+
$invoiceMailComment = $bsData;
|
537 |
+
$order->setCustomerNote($bsData);
|
538 |
+
$order->save();
|
539 |
+
}
|
540 |
+
|
541 |
$params = '';
|
542 |
$prePaidData = '';
|
543 |
// Vorkasse Sonderkrams
|
567 |
define('HP_SUCCESS_PREPAID', $this->_getHelper('heidelpay')->__('HP_SUCCESS_PREPAID'));
|
568 |
|
569 |
$prePaidData = strtr(HP_SUCCESS_PREPAID, $repl);
|
570 |
+
$invoiceMailComment = $prePaidData;
|
571 |
+
}
|
572 |
+
|
573 |
+
// Wenn die OT Zahlung nicht erfolgreich war, dann gespeicherte Kontodaten l�schen
|
574 |
+
if (!strstr($returnvalue,"ACK") && strpos($payCode, 'OT') !== false){
|
575 |
+
if ($custId != ""){
|
576 |
+
$customer = Mage::getModel('customer/customer')->load($custId);
|
577 |
+
if ($customer->getEmail() != ""){
|
578 |
+
Mage::log("Heidelpay - responseAction: customer->save() " . $custId . ", " . $customer->getEmail());
|
579 |
+
$customer->setHeidelpayLastBlz($accBank);
|
580 |
+
$customer->setHeidelpayLastKto($accNumber);
|
581 |
+
$customer->setHeidelpayLastHolder($accHolder);
|
582 |
+
$customer->save();
|
583 |
+
}
|
584 |
+
}
|
585 |
}
|
586 |
|
587 |
#echo '<pre>'.print_r($order, 1).'</pre>'; exit();
|
609 |
->addObject($invoice)
|
610 |
->addObject($invoice->getOrder())
|
611 |
->save();
|
612 |
+
if ($this->_invoiceOrderEmail) $invoice->sendEmail(true, $invoiceMailComment); // Rechnung versenden
|
613 |
}
|
614 |
|
615 |
Mage::log("Heidelpay - responseAction: order->setState " .$payment->getPaymentState());
|
616 |
$order->setState($payment->getPaymentState());
|
617 |
+
$order->addStatusToHistory($payment->getPaymentState(), 'Short ID: '.$shortid.' '.$invoiceMailComment, $order->getCustomerNoteNotify());
|
618 |
+
//if (strpos($payCode, 'PA') !== false){ # Nur bei PA speichern.
|
619 |
+
// TransID f�r PIXI speichern
|
620 |
$order->getPayment()->setLastTransId($uniqueid);
|
621 |
+
//}
|
622 |
// $order->getPayment()->registerCaptureNotification($presAmount);
|
623 |
+
$order->setCustomerNote($invoiceMailComment); // Kommentar auch in EMail
|
624 |
$order->save();
|
625 |
}
|
626 |
}
|
639 |
$customer->setHeidelpayLastHolder($accHolder);
|
640 |
}
|
641 |
if (strpos($payCode, 'CC') !== false){
|
642 |
+
if (strpos($actPM, 'XC') !== false){
|
643 |
+
$customer->setHeidelpayXcardUniqueId($uniqueid);
|
644 |
+
$customer->setHeidelpayXcardPaymentType($payCode);
|
645 |
+
$customer->setHeidelpayXcard($accNumber);
|
646 |
+
$customer->setHeidelpayXcardValidUntil($accExpMonth.' / '.$accExpYear);
|
647 |
+
$customer->setHeidelpayXcardBrand($accBrand);
|
648 |
+
$customer->setHeidelpayXcardHolder($accHolder);
|
649 |
+
} else {
|
650 |
+
$customer->setHeidelpayCcardUniqueId($uniqueid);
|
651 |
+
$customer->setHeidelpayCcardPaymentType($payCode);
|
652 |
+
$customer->setHeidelpayCcard($accNumber);
|
653 |
+
$customer->setHeidelpayCcardValidUntil($accExpMonth.' / '.$accExpYear);
|
654 |
+
$customer->setHeidelpayCcardBrand($accBrand);
|
655 |
+
$customer->setHeidelpayCcardHolder($accHolder);
|
656 |
+
}
|
657 |
}
|
658 |
if (strpos($payCode, 'DC') !== false){
|
659 |
$customer->setHeidelpayDcardUniqueId($uniqueid);
|
678 |
}
|
679 |
// Bei CC und DC nur bei DIRECT die CANCEL Methode nutzen.
|
680 |
//if (!empty($orderId) && (strpos($payCode, 'CC') !== false || strpos($payCode, 'DC') !== false) && $payment->getConfigData('bookingmode') == 'DIRECT'){
|
681 |
+
if ((strpos($payCode, 'CC') !== false || strpos($payCode, 'XC') !== false || strpos($payCode, 'DC') !== false)){
|
682 |
+
print Mage::getUrl('heidelpay/payment/cancel/', array('_secure' => true, 'error' => 'Cancelled by User'))."?pc=".$payCode;
|
683 |
} else {
|
684 |
print Mage::getUrl('checkout/onepage/', array('_secure' => true));
|
685 |
}
|
686 |
} else {
|
687 |
if (!empty($orderId)){
|
688 |
$order->setState($payment->getErrorState());
|
689 |
+
$order->addStatusToHistory($payment->getErrorState(), utf8_encode($processReturn), $order->getCustomerNoteNotify());
|
690 |
$order->save();
|
691 |
}
|
692 |
if ($processReturn == 'Canceled by user'){
|
693 |
print Mage::getUrl('checkout/onepage/', array('_secure' => true));
|
694 |
} else {
|
695 |
+
if(strpos($payCode, 'CC')!==false || strpos($payCode, 'XC')!==false || strpos($payCode, 'DC')!==false){
|
696 |
$isIframe = 1;
|
697 |
+
Mage::log("Heidelpay - responseAction: ".$payCode." Zahlung mit Fehlercode " . $processReturn .", " . $this->getSession()->getData('hp_iframe_opened'));
|
698 |
} else {
|
699 |
$isIframe = 0;
|
700 |
}
|
701 |
+
print Mage::getUrl('heidelpay/payment/error/', array('_secure' => true)).'?error='.urlencode($processReturn)."&isiframe=".$isIframe."&pc=".$payCode;
|
702 |
}
|
703 |
}
|
704 |
} else {
|
727 |
echo '<script>top.location.href="'.Mage::getUrl('heidelpay/payment/success/', array('_secure' => true)).'";</script>';
|
728 |
}/*}}}*/
|
729 |
|
730 |
+
private function restock($pay_code = NULL){
|
731 |
+
if(floatval(substr(Mage::getVersion(),0,-4)) <= floatval('1.7')){
|
732 |
+
$order = $this->getOrder();
|
733 |
+
$session = $this->getCheckout();
|
734 |
+
$order->loadByIncrementId($session->getLastRealOrderId());
|
735 |
+
$t_type = substr($pay_code, strpos($pay_code,'.')+1);
|
736 |
+
|
737 |
+
if (strtoupper($t_type) != 'RG'){
|
738 |
+
if ($this->getSession()->getStockUpdated() != $session->getLastRealOrderId()){
|
739 |
+
$items = $order->getAllItems();
|
740 |
+
if ($items){
|
741 |
+
foreach($items as $item){
|
742 |
+
$quantity = $item->getQtyOrdered();
|
743 |
+
$product_id = $item->getProductId();
|
744 |
+
// load stock for product
|
745 |
+
$stock = Mage::getModel('cataloginventory/stock_item')->loadByProduct($product_id);
|
746 |
+
// set to old qty
|
747 |
+
$stock->setQty($stock->getQty() + $quantity)->setIsInStock(true);
|
748 |
+
$stock->save();
|
749 |
+
}
|
750 |
+
}
|
751 |
+
$this->getSession()->setStockUpdated($session->getLastRealOrderId());
|
752 |
+
}
|
753 |
+
}
|
754 |
+
}
|
755 |
+
}
|
756 |
+
}
|
app/code/local/Mage/Heidelpay/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Mage_Heidelpay>
|
5 |
-
|
6 |
</Mage_Heidelpay>
|
7 |
</modules>
|
8 |
<!--{{{Global-->
|
@@ -21,13 +21,14 @@
|
|
21 |
</entities>
|
22 |
</heidelpay_mysql4>
|
23 |
|
24 |
-
|
25 |
<sales>
|
26 |
<rewrite>
|
27 |
-
|
28 |
</rewrite>
|
29 |
</sales>
|
30 |
-
|
|
|
31 |
</models>
|
32 |
<blocks>
|
33 |
<heidelpay>
|
@@ -64,37 +65,45 @@
|
|
64 |
<sales>
|
65 |
<order>
|
66 |
<statuses>
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
</statuses>
|
72 |
<states>
|
73 |
<hppaid translate="label">
|
74 |
-
|
75 |
<statuses>
|
76 |
-
|
77 |
</statuses>
|
78 |
<visible_on_front/>
|
79 |
</hppaid>
|
80 |
<hpwait translate="label">
|
81 |
-
|
82 |
<statuses>
|
83 |
-
|
84 |
</statuses>
|
85 |
<visible_on_front/>
|
86 |
</hpwait>
|
87 |
<hpcancel translate="label">
|
88 |
-
|
89 |
<statuses>
|
90 |
-
|
91 |
</statuses>
|
92 |
<visible_on_front/>
|
93 |
</hpcancel>
|
94 |
<hperror translate="label">
|
95 |
-
|
96 |
<statuses>
|
97 |
-
|
98 |
</statuses>
|
99 |
<visible_on_front/>
|
100 |
</hperror>
|
@@ -197,6 +206,7 @@
|
|
197 |
<transactionmode>CONNECTOR_TEST</transactionmode>
|
198 |
<channel>31HA07BC81A71E2A47DA94B6ADC524D8</channel>
|
199 |
<bookingmode>DB</bookingmode>
|
|
|
200 |
<order_status>pending</order_status>
|
201 |
<payment_status>hppaid</payment_status>
|
202 |
<wait_status>hpwait</wait_status>
|
@@ -209,6 +219,26 @@
|
|
209 |
<allowspecific>0</allowspecific>
|
210 |
</hpcc>
|
211 |
<!--}}}-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
212 |
<!--{{{HPDC-->
|
213 |
<hpdc>
|
214 |
<title>Debit Card</title>
|
@@ -216,6 +246,7 @@
|
|
216 |
<transactionmode>CONNECTOR_TEST</transactionmode>
|
217 |
<channel>31HA07BC81A71E2A47DA94B6ADC524D8</channel>
|
218 |
<bookingmode>DB</bookingmode>
|
|
|
219 |
<order_status>pending</order_status>
|
220 |
<payment_status>hppaid</payment_status>
|
221 |
<wait_status>hpwait</wait_status>
|
@@ -235,6 +266,8 @@
|
|
235 |
<transactionmode>INTEGRATOR_TEST</transactionmode>
|
236 |
<channel>31HA07BC81A71E2A47DA94B6ADC524D8</channel>
|
237 |
<bookingmode>DB</bookingmode>
|
|
|
|
|
238 |
<order_status>pending</order_status>
|
239 |
<payment_status>hppaid</payment_status>
|
240 |
<wait_status>hpwait</wait_status>
|
@@ -249,7 +282,7 @@
|
|
249 |
<!--}}}-->
|
250 |
<!--{{{HPSU-->
|
251 |
<hpsu>
|
252 |
-
|
253 |
<active>0</active>
|
254 |
<transactionmode>CONNECTOR_TEST</transactionmode>
|
255 |
<channel>31HA07BC81A71E2A47DA94B6ADC524D8</channel>
|
@@ -285,6 +318,63 @@
|
|
285 |
<allowspecific>0</allowspecific>
|
286 |
</hpgp>
|
287 |
<!--}}}-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
288 |
<!--{{{HPPPAL-->
|
289 |
<hpppal>
|
290 |
<title>Pay Pal</title>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Mage_Heidelpay>
|
5 |
+
<version>13.12.17</version>
|
6 |
</Mage_Heidelpay>
|
7 |
</modules>
|
8 |
<!--{{{Global-->
|
21 |
</entities>
|
22 |
</heidelpay_mysql4>
|
23 |
|
24 |
+
<!--
|
25 |
<sales>
|
26 |
<rewrite>
|
27 |
+
<order_pdf_invoice>Mage_Heidelpay_Model_Order_Pdf_Invoice</order_pdf_invoice>
|
28 |
</rewrite>
|
29 |
</sales>
|
30 |
+
-->
|
31 |
+
|
32 |
</models>
|
33 |
<blocks>
|
34 |
<heidelpay>
|
65 |
<sales>
|
66 |
<order>
|
67 |
<statuses>
|
68 |
+
<hppaid translate="label">
|
69 |
+
<label>Paid</label>
|
70 |
+
</hppaid>
|
71 |
+
<hpwait translate="label">
|
72 |
+
<label>Waiting</label>
|
73 |
+
</hpwait>
|
74 |
+
<hpcancel translate="label">
|
75 |
+
<label>Cancel</label>
|
76 |
+
</hpcancel>
|
77 |
+
<hperror translate="label">
|
78 |
+
<label>Error</label>
|
79 |
+
</hperror>
|
80 |
</statuses>
|
81 |
<states>
|
82 |
<hppaid translate="label">
|
83 |
+
<label>Bezahlt</label>
|
84 |
<statuses>
|
85 |
+
<hppaid/>
|
86 |
</statuses>
|
87 |
<visible_on_front/>
|
88 |
</hppaid>
|
89 |
<hpwait translate="label">
|
90 |
+
<label>Wartend</label>
|
91 |
<statuses>
|
92 |
+
<hpwait/>
|
93 |
</statuses>
|
94 |
<visible_on_front/>
|
95 |
</hpwait>
|
96 |
<hpcancel translate="label">
|
97 |
+
<label>Abbruch</label>
|
98 |
<statuses>
|
99 |
+
<hpcancel/>
|
100 |
</statuses>
|
101 |
<visible_on_front/>
|
102 |
</hpcancel>
|
103 |
<hperror translate="label">
|
104 |
+
<label>Fehler</label>
|
105 |
<statuses>
|
106 |
+
<hperror/>
|
107 |
</statuses>
|
108 |
<visible_on_front/>
|
109 |
</hperror>
|
206 |
<transactionmode>CONNECTOR_TEST</transactionmode>
|
207 |
<channel>31HA07BC81A71E2A47DA94B6ADC524D8</channel>
|
208 |
<bookingmode>DB</bookingmode>
|
209 |
+
<modulemode>DIRECT</modulemode>
|
210 |
<order_status>pending</order_status>
|
211 |
<payment_status>hppaid</payment_status>
|
212 |
<wait_status>hpwait</wait_status>
|
219 |
<allowspecific>0</allowspecific>
|
220 |
</hpcc>
|
221 |
<!--}}}-->
|
222 |
+
<!--{{{HPCX-->
|
223 |
+
<hpxc>
|
224 |
+
<title>Credit Card X</title>
|
225 |
+
<active>0</active>
|
226 |
+
<transactionmode>CONNECTOR_TEST</transactionmode>
|
227 |
+
<channel>31HA07BC81A71E2A47DA94B6ADC524D8</channel>
|
228 |
+
<bookingmode>DB</bookingmode>
|
229 |
+
<modulemode>DIRECT</modulemode>
|
230 |
+
<order_status>pending</order_status>
|
231 |
+
<payment_status>hppaid</payment_status>
|
232 |
+
<wait_status>hpwait</wait_status>
|
233 |
+
<cancel_status>hpcancel</cancel_status>
|
234 |
+
<error_status>hperror</error_status>
|
235 |
+
<model>heidelpay/method_hpxc</model>
|
236 |
+
<sort_order>1</sort_order>
|
237 |
+
<min_amount>0</min_amount>
|
238 |
+
<max_amount>0</max_amount>
|
239 |
+
<allowspecific>0</allowspecific>
|
240 |
+
</hpxc>
|
241 |
+
<!--}}}-->
|
242 |
<!--{{{HPDC-->
|
243 |
<hpdc>
|
244 |
<title>Debit Card</title>
|
246 |
<transactionmode>CONNECTOR_TEST</transactionmode>
|
247 |
<channel>31HA07BC81A71E2A47DA94B6ADC524D8</channel>
|
248 |
<bookingmode>DB</bookingmode>
|
249 |
+
<modulemode>DIRECT</modulemode>
|
250 |
<order_status>pending</order_status>
|
251 |
<payment_status>hppaid</payment_status>
|
252 |
<wait_status>hpwait</wait_status>
|
266 |
<transactionmode>INTEGRATOR_TEST</transactionmode>
|
267 |
<channel>31HA07BC81A71E2A47DA94B6ADC524D8</channel>
|
268 |
<bookingmode>DB</bookingmode>
|
269 |
+
<modulemode>DIRECT</modulemode>
|
270 |
+
<sepamode>both</sepamode>
|
271 |
<order_status>pending</order_status>
|
272 |
<payment_status>hppaid</payment_status>
|
273 |
<wait_status>hpwait</wait_status>
|
282 |
<!--}}}-->
|
283 |
<!--{{{HPSU-->
|
284 |
<hpsu>
|
285 |
+
<title>SOFORT Überweisung</title>
|
286 |
<active>0</active>
|
287 |
<transactionmode>CONNECTOR_TEST</transactionmode>
|
288 |
<channel>31HA07BC81A71E2A47DA94B6ADC524D8</channel>
|
318 |
<allowspecific>0</allowspecific>
|
319 |
</hpgp>
|
320 |
<!--}}}-->
|
321 |
+
<!--{{{HPBP-->
|
322 |
+
<hpbp>
|
323 |
+
<title>Barpay</title>
|
324 |
+
<active>0</active>
|
325 |
+
<transactionmode>CONNECTOR_TEST</transactionmode>
|
326 |
+
<channel>31HA07BC81009F135218A33AE4A3F3FB</channel>
|
327 |
+
<bookingmode>DB</bookingmode>
|
328 |
+
<order_status>pending</order_status>
|
329 |
+
<payment_status>hppaid</payment_status>
|
330 |
+
<wait_status>hpwait</wait_status>
|
331 |
+
<cancel_status>hpcancel</cancel_status>
|
332 |
+
<error_status>hperror</error_status>
|
333 |
+
<model>heidelpay/method_hpbp</model>
|
334 |
+
<sort_order>1</sort_order>
|
335 |
+
<min_amount>0</min_amount>
|
336 |
+
<max_amount>0</max_amount>
|
337 |
+
<allowspecific>0</allowspecific>
|
338 |
+
</hpbp>
|
339 |
+
<!--}}}-->
|
340 |
+
<!--{{{HPBS-->
|
341 |
+
<hpbs>
|
342 |
+
<title>BillSafe</title>
|
343 |
+
<active>0</active>
|
344 |
+
<transactionmode>CONNECTOR_TEST</transactionmode>
|
345 |
+
<channel>31HA07BC815DEA2098CCA5A7332203C6</channel>
|
346 |
+
<bookingmode>DB</bookingmode>
|
347 |
+
<order_status>pending</order_status>
|
348 |
+
<payment_status>hppaid</payment_status>
|
349 |
+
<wait_status>hpwait</wait_status>
|
350 |
+
<cancel_status>hpcancel</cancel_status>
|
351 |
+
<error_status>hperror</error_status>
|
352 |
+
<model>heidelpay/method_hpbs</model>
|
353 |
+
<sort_order>1</sort_order>
|
354 |
+
<min_amount>0</min_amount>
|
355 |
+
<max_amount>0</max_amount>
|
356 |
+
<allowspecific>0</allowspecific>
|
357 |
+
</hpbs>
|
358 |
+
<!--}}}-->
|
359 |
+
<!--{{{HPMK-->
|
360 |
+
<hpmk>
|
361 |
+
<title>MangirKart</title>
|
362 |
+
<active>0</active>
|
363 |
+
<transactionmode>CONNECTOR_TEST</transactionmode>
|
364 |
+
<channel>31HA07BC81009F1352181DB01D6D904B</channel>
|
365 |
+
<bookingmode>DB</bookingmode>
|
366 |
+
<order_status>pending</order_status>
|
367 |
+
<payment_status>hppaid</payment_status>
|
368 |
+
<wait_status>hpwait</wait_status>
|
369 |
+
<cancel_status>hpcancel</cancel_status>
|
370 |
+
<error_status>hperror</error_status>
|
371 |
+
<model>heidelpay/method_hpmk</model>
|
372 |
+
<sort_order>1</sort_order>
|
373 |
+
<min_amount>0</min_amount>
|
374 |
+
<max_amount>0</max_amount>
|
375 |
+
<allowspecific>0</allowspecific>
|
376 |
+
</hpmk>
|
377 |
+
<!--}}}-->
|
378 |
<!--{{{HPPPAL-->
|
379 |
<hpppal>
|
380 |
<title>Pay Pal</title>
|
app/code/local/Mage/Heidelpay/etc/system.xml
CHANGED
@@ -3,13 +3,13 @@
|
|
3 |
<sections>
|
4 |
<!--{{{ Global Settings-->
|
5 |
<heidelpay translate="label" module="heidelpay">
|
6 |
-
<label
|
7 |
<tab>sales</tab>
|
8 |
<frontend_type>text</frontend_type>
|
9 |
<sort_order>405</sort_order>
|
10 |
<show_in_default>1</show_in_default>
|
11 |
<show_in_website>1</show_in_website>
|
12 |
-
<show_in_store>
|
13 |
<groups>
|
14 |
<settings translate="label">
|
15 |
<label>General Settings Heidelpay</label>
|
@@ -17,7 +17,7 @@
|
|
17 |
<sort_order>10</sort_order>
|
18 |
<show_in_default>1</show_in_default>
|
19 |
<show_in_website>1</show_in_website>
|
20 |
-
<show_in_store>
|
21 |
<fields>
|
22 |
<security_sender translate="label">
|
23 |
<label>Security Sender</label>
|
@@ -25,7 +25,7 @@
|
|
25 |
<sort_order>10</sort_order>
|
26 |
<show_in_default>1</show_in_default>
|
27 |
<show_in_website>1</show_in_website>
|
28 |
-
<show_in_store>
|
29 |
</security_sender>
|
30 |
<user_id translate="label">
|
31 |
<label>User ID</label>
|
@@ -33,7 +33,7 @@
|
|
33 |
<sort_order>20</sort_order>
|
34 |
<show_in_default>1</show_in_default>
|
35 |
<show_in_website>1</show_in_website>
|
36 |
-
<show_in_store>
|
37 |
</user_id>
|
38 |
<user_pwd translate="label">
|
39 |
<label>User Password</label>
|
@@ -41,7 +41,7 @@
|
|
41 |
<sort_order>30</sort_order>
|
42 |
<show_in_default>1</show_in_default>
|
43 |
<show_in_website>1</show_in_website>
|
44 |
-
<show_in_store>
|
45 |
</user_pwd>
|
46 |
<live_url translate="label">
|
47 |
<label>Live URL</label>
|
@@ -49,16 +49,15 @@
|
|
49 |
<sort_order>40</sort_order>
|
50 |
<show_in_default>1</show_in_default>
|
51 |
<show_in_website>1</show_in_website>
|
52 |
-
<show_in_store>
|
53 |
</live_url>
|
54 |
-
<demo_url translate="label
|
55 |
<label>Demo URL</label>
|
56 |
-
<comment><![CDATA[<br><br><a href="" onClick="document.getElementById('hpBox').style.display='block'; return false;" style="font-size: 20px; position: absolute; text-decoration: none; line-height: 25px">Informationen zu Zahlverfahren der <br>Heidelberger Payment GmbH anzeigen...</a><br><br><center><div id="hpBox" style="display:none"><div style="background-color: #888; position:fixed; display:block; margin:0; padding:0; top:0; left:0; opacity: 0.9; -moz-opacity: 0.9; -khtml-opacity: 0.9; filter:alpha(opacity=90); z-index: 1000; width: 100%; height: 100%;"></div><div style="z-index: 1001; position: absolute; width: 900px; top: 50%; left: 50%; margin-top: -325px; margin-left: -450px; background-color: #fff;"><iframe src="http://testshops.heidelpay.de/contact/index.php?shop=magento_standard" width="900" height="600" style="border: 1px solid #ddd"></iframe><br><a href="" onClick="document.getElementById('hpBox').style.display='none'; return false;">close</a></div></div></center>]]></comment>
|
57 |
<frontend_type>text</frontend_type>
|
58 |
<sort_order>50</sort_order>
|
59 |
<show_in_default>1</show_in_default>
|
60 |
<show_in_website>1</show_in_website>
|
61 |
-
<show_in_store>
|
62 |
</demo_url>
|
63 |
</fields>
|
64 |
</settings>
|
@@ -76,7 +75,7 @@
|
|
76 |
<sort_order>100</sort_order>
|
77 |
<show_in_default>1</show_in_default>
|
78 |
<show_in_website>1</show_in_website>
|
79 |
-
<show_in_store>
|
80 |
<fields>
|
81 |
<title translate="label">
|
82 |
<label>Title</label>
|
@@ -84,7 +83,7 @@
|
|
84 |
<sort_order>10</sort_order>
|
85 |
<show_in_default>1</show_in_default>
|
86 |
<show_in_website>1</show_in_website>
|
87 |
-
<show_in_store>
|
88 |
</title>
|
89 |
<active translate="label">
|
90 |
<label>Enabled</label>
|
@@ -93,7 +92,7 @@
|
|
93 |
<sort_order>20</sort_order>
|
94 |
<show_in_default>1</show_in_default>
|
95 |
<show_in_website>1</show_in_website>
|
96 |
-
<show_in_store>
|
97 |
</active>
|
98 |
<transactionmode translate="label">
|
99 |
<label>Transactionmode</label>
|
@@ -102,15 +101,24 @@
|
|
102 |
<sort_order>30</sort_order>
|
103 |
<show_in_default>1</show_in_default>
|
104 |
<show_in_website>1</show_in_website>
|
105 |
-
<show_in_store>
|
106 |
</transactionmode>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
<channel translate="label">
|
108 |
<label>Channel ID</label>
|
109 |
<frontend_type>text</frontend_type>
|
110 |
<sort_order>40</sort_order>
|
111 |
<show_in_default>1</show_in_default>
|
112 |
<show_in_website>1</show_in_website>
|
113 |
-
<show_in_store>
|
114 |
</channel>
|
115 |
<bookingmode translate="label">
|
116 |
<label>Booking mode</label>
|
@@ -119,7 +127,7 @@
|
|
119 |
<sort_order>50</sort_order>
|
120 |
<show_in_default>1</show_in_default>
|
121 |
<show_in_website>1</show_in_website>
|
122 |
-
<show_in_store>
|
123 |
</bookingmode>
|
124 |
<order_status translate="label">
|
125 |
<label>Order status</label>
|
@@ -128,7 +136,7 @@
|
|
128 |
<sort_order>60</sort_order>
|
129 |
<show_in_default>1</show_in_default>
|
130 |
<show_in_website>1</show_in_website>
|
131 |
-
<show_in_store>
|
132 |
</order_status>
|
133 |
<payment_status translate="label">
|
134 |
<label>Payment status</label>
|
@@ -137,7 +145,7 @@
|
|
137 |
<sort_order>70</sort_order>
|
138 |
<show_in_default>1</show_in_default>
|
139 |
<show_in_website>1</show_in_website>
|
140 |
-
<show_in_store>
|
141 |
</payment_status>
|
142 |
<wait_status translate="label">
|
143 |
<label>Waiting status</label>
|
@@ -146,7 +154,7 @@
|
|
146 |
<sort_order>80</sort_order>
|
147 |
<show_in_default>1</show_in_default>
|
148 |
<show_in_website>1</show_in_website>
|
149 |
-
<show_in_store>
|
150 |
</wait_status>
|
151 |
<cancel_status translate="label">
|
152 |
<label>Cancel status</label>
|
@@ -155,7 +163,7 @@
|
|
155 |
<sort_order>90</sort_order>
|
156 |
<show_in_default>1</show_in_default>
|
157 |
<show_in_website>1</show_in_website>
|
158 |
-
<show_in_store>
|
159 |
</cancel_status>
|
160 |
<error_status translate="label">
|
161 |
<label>Error status</label>
|
@@ -164,7 +172,7 @@
|
|
164 |
<sort_order>100</sort_order>
|
165 |
<show_in_default>1</show_in_default>
|
166 |
<show_in_website>1</show_in_website>
|
167 |
-
<show_in_store>
|
168 |
</error_status>
|
169 |
<sort_order translate="label">
|
170 |
<label>Sort order</label>
|
@@ -172,7 +180,7 @@
|
|
172 |
<sort_order>110</sort_order>
|
173 |
<show_in_default>1</show_in_default>
|
174 |
<show_in_website>1</show_in_website>
|
175 |
-
<show_in_store>
|
176 |
</sort_order>
|
177 |
<min_amount translate="label">
|
178 |
<label>Minimum Amount (CENT)</label>
|
@@ -180,7 +188,7 @@
|
|
180 |
<sort_order>120</sort_order>
|
181 |
<show_in_default>1</show_in_default>
|
182 |
<show_in_website>1</show_in_website>
|
183 |
-
<show_in_store>
|
184 |
</min_amount>
|
185 |
<max_amount translate="label">
|
186 |
<label>Maximum Amount (CENT)</label>
|
@@ -188,7 +196,7 @@
|
|
188 |
<sort_order>130</sort_order>
|
189 |
<show_in_default>1</show_in_default>
|
190 |
<show_in_website>1</show_in_website>
|
191 |
-
<show_in_store>
|
192 |
</max_amount>
|
193 |
<allowspecific translate="label">
|
194 |
<label>allow specific countries</label>
|
@@ -211,6 +219,168 @@
|
|
211 |
</fields>
|
212 |
</hpcc>
|
213 |
<!-- }}} -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
214 |
<!-- {{{ HPDC -->
|
215 |
<hpdc translate="label">
|
216 |
<label>Heidelpay Debit Card</label>
|
@@ -218,7 +388,7 @@
|
|
218 |
<sort_order>100</sort_order>
|
219 |
<show_in_default>1</show_in_default>
|
220 |
<show_in_website>1</show_in_website>
|
221 |
-
<show_in_store>
|
222 |
<fields>
|
223 |
<title translate="label">
|
224 |
<label>Title</label>
|
@@ -226,7 +396,7 @@
|
|
226 |
<sort_order>10</sort_order>
|
227 |
<show_in_default>1</show_in_default>
|
228 |
<show_in_website>1</show_in_website>
|
229 |
-
<show_in_store>
|
230 |
</title>
|
231 |
<active translate="label">
|
232 |
<label>Enabled</label>
|
@@ -235,7 +405,7 @@
|
|
235 |
<sort_order>20</sort_order>
|
236 |
<show_in_default>1</show_in_default>
|
237 |
<show_in_website>1</show_in_website>
|
238 |
-
<show_in_store>
|
239 |
</active>
|
240 |
<transactionmode translate="label">
|
241 |
<label>Transactionmode</label>
|
@@ -244,15 +414,24 @@
|
|
244 |
<sort_order>30</sort_order>
|
245 |
<show_in_default>1</show_in_default>
|
246 |
<show_in_website>1</show_in_website>
|
247 |
-
<show_in_store>
|
248 |
</transactionmode>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
249 |
<channel translate="label">
|
250 |
<label>Channel ID</label>
|
251 |
<frontend_type>text</frontend_type>
|
252 |
<sort_order>40</sort_order>
|
253 |
<show_in_default>1</show_in_default>
|
254 |
<show_in_website>1</show_in_website>
|
255 |
-
<show_in_store>
|
256 |
</channel>
|
257 |
<bookingmode translate="label">
|
258 |
<label>Booking mode</label>
|
@@ -261,7 +440,7 @@
|
|
261 |
<sort_order>50</sort_order>
|
262 |
<show_in_default>1</show_in_default>
|
263 |
<show_in_website>1</show_in_website>
|
264 |
-
<show_in_store>
|
265 |
</bookingmode>
|
266 |
<order_status translate="label">
|
267 |
<label>Order status</label>
|
@@ -270,7 +449,7 @@
|
|
270 |
<sort_order>60</sort_order>
|
271 |
<show_in_default>1</show_in_default>
|
272 |
<show_in_website>1</show_in_website>
|
273 |
-
<show_in_store>
|
274 |
</order_status>
|
275 |
<payment_status translate="label">
|
276 |
<label>Payment status</label>
|
@@ -279,7 +458,7 @@
|
|
279 |
<sort_order>70</sort_order>
|
280 |
<show_in_default>1</show_in_default>
|
281 |
<show_in_website>1</show_in_website>
|
282 |
-
<show_in_store>
|
283 |
</payment_status>
|
284 |
<wait_status translate="label">
|
285 |
<label>Waiting status</label>
|
@@ -288,7 +467,7 @@
|
|
288 |
<sort_order>80</sort_order>
|
289 |
<show_in_default>1</show_in_default>
|
290 |
<show_in_website>1</show_in_website>
|
291 |
-
<show_in_store>
|
292 |
</wait_status>
|
293 |
<cancel_status translate="label">
|
294 |
<label>Cancel status</label>
|
@@ -297,7 +476,7 @@
|
|
297 |
<sort_order>90</sort_order>
|
298 |
<show_in_default>1</show_in_default>
|
299 |
<show_in_website>1</show_in_website>
|
300 |
-
<show_in_store>
|
301 |
</cancel_status>
|
302 |
<error_status translate="label">
|
303 |
<label>Error status</label>
|
@@ -306,7 +485,7 @@
|
|
306 |
<sort_order>100</sort_order>
|
307 |
<show_in_default>1</show_in_default>
|
308 |
<show_in_website>1</show_in_website>
|
309 |
-
<show_in_store>
|
310 |
</error_status>
|
311 |
<sort_order translate="label">
|
312 |
<label>Sort order</label>
|
@@ -314,7 +493,7 @@
|
|
314 |
<sort_order>110</sort_order>
|
315 |
<show_in_default>1</show_in_default>
|
316 |
<show_in_website>1</show_in_website>
|
317 |
-
<show_in_store>
|
318 |
</sort_order>
|
319 |
<min_amount translate="label">
|
320 |
<label>Minimum Amount (CENT)</label>
|
@@ -322,7 +501,7 @@
|
|
322 |
<sort_order>120</sort_order>
|
323 |
<show_in_default>1</show_in_default>
|
324 |
<show_in_website>1</show_in_website>
|
325 |
-
<show_in_store>
|
326 |
</min_amount>
|
327 |
<max_amount translate="label">
|
328 |
<label>Maximum Amount (CENT)</label>
|
@@ -330,7 +509,7 @@
|
|
330 |
<sort_order>130</sort_order>
|
331 |
<show_in_default>1</show_in_default>
|
332 |
<show_in_website>1</show_in_website>
|
333 |
-
<show_in_store>
|
334 |
</max_amount>
|
335 |
<allowspecific translate="label">
|
336 |
<label>allow specific countries</label>
|
@@ -360,7 +539,7 @@
|
|
360 |
<sort_order>100</sort_order>
|
361 |
<show_in_default>1</show_in_default>
|
362 |
<show_in_website>1</show_in_website>
|
363 |
-
<show_in_store>
|
364 |
<fields>
|
365 |
<title translate="label">
|
366 |
<label>Title</label>
|
@@ -368,7 +547,7 @@
|
|
368 |
<sort_order>10</sort_order>
|
369 |
<show_in_default>1</show_in_default>
|
370 |
<show_in_website>1</show_in_website>
|
371 |
-
<show_in_store>
|
372 |
</title>
|
373 |
<active translate="label">
|
374 |
<label>Enabled</label>
|
@@ -377,7 +556,7 @@
|
|
377 |
<sort_order>20</sort_order>
|
378 |
<show_in_default>1</show_in_default>
|
379 |
<show_in_website>1</show_in_website>
|
380 |
-
<show_in_store>
|
381 |
</active>
|
382 |
<transactionmode translate="label">
|
383 |
<label>Transactionmode</label>
|
@@ -386,7 +565,7 @@
|
|
386 |
<sort_order>30</sort_order>
|
387 |
<show_in_default>1</show_in_default>
|
388 |
<show_in_website>1</show_in_website>
|
389 |
-
<show_in_store>
|
390 |
</transactionmode>
|
391 |
<channel translate="label">
|
392 |
<label>Channel ID</label>
|
@@ -394,7 +573,7 @@
|
|
394 |
<sort_order>40</sort_order>
|
395 |
<show_in_default>1</show_in_default>
|
396 |
<show_in_website>1</show_in_website>
|
397 |
-
<show_in_store>
|
398 |
</channel>
|
399 |
<bookingmode translate="label">
|
400 |
<label>Booking mode</label>
|
@@ -403,8 +582,26 @@
|
|
403 |
<sort_order>50</sort_order>
|
404 |
<show_in_default>1</show_in_default>
|
405 |
<show_in_website>1</show_in_website>
|
406 |
-
<show_in_store>
|
407 |
</bookingmode>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
408 |
<order_status translate="label">
|
409 |
<label>Order status</label>
|
410 |
<frontend_type>select</frontend_type>
|
@@ -412,7 +609,7 @@
|
|
412 |
<sort_order>60</sort_order>
|
413 |
<show_in_default>1</show_in_default>
|
414 |
<show_in_website>1</show_in_website>
|
415 |
-
<show_in_store>
|
416 |
</order_status>
|
417 |
<payment_status translate="label">
|
418 |
<label>Payment status</label>
|
@@ -421,7 +618,7 @@
|
|
421 |
<sort_order>70</sort_order>
|
422 |
<show_in_default>1</show_in_default>
|
423 |
<show_in_website>1</show_in_website>
|
424 |
-
<show_in_store>
|
425 |
</payment_status>
|
426 |
<wait_status translate="label">
|
427 |
<label>Waiting status</label>
|
@@ -430,7 +627,7 @@
|
|
430 |
<sort_order>80</sort_order>
|
431 |
<show_in_default>1</show_in_default>
|
432 |
<show_in_website>1</show_in_website>
|
433 |
-
<show_in_store>
|
434 |
</wait_status>
|
435 |
<cancel_status translate="label">
|
436 |
<label>Cancel status</label>
|
@@ -439,7 +636,7 @@
|
|
439 |
<sort_order>90</sort_order>
|
440 |
<show_in_default>1</show_in_default>
|
441 |
<show_in_website>1</show_in_website>
|
442 |
-
<show_in_store>
|
443 |
</cancel_status>
|
444 |
<error_status translate="label">
|
445 |
<label>Error status</label>
|
@@ -448,7 +645,7 @@
|
|
448 |
<sort_order>100</sort_order>
|
449 |
<show_in_default>1</show_in_default>
|
450 |
<show_in_website>1</show_in_website>
|
451 |
-
<show_in_store>
|
452 |
</error_status>
|
453 |
<sort_order translate="label">
|
454 |
<label>Sort order</label>
|
@@ -456,7 +653,7 @@
|
|
456 |
<sort_order>110</sort_order>
|
457 |
<show_in_default>1</show_in_default>
|
458 |
<show_in_website>1</show_in_website>
|
459 |
-
<show_in_store>
|
460 |
</sort_order>
|
461 |
<min_amount translate="label">
|
462 |
<label>Minimum Amount (CENT)</label>
|
@@ -464,7 +661,7 @@
|
|
464 |
<sort_order>120</sort_order>
|
465 |
<show_in_default>1</show_in_default>
|
466 |
<show_in_website>1</show_in_website>
|
467 |
-
<show_in_store>
|
468 |
</min_amount>
|
469 |
<max_amount translate="label">
|
470 |
<label>Maximum Amount (CENT)</label>
|
@@ -472,7 +669,7 @@
|
|
472 |
<sort_order>130</sort_order>
|
473 |
<show_in_default>1</show_in_default>
|
474 |
<show_in_website>1</show_in_website>
|
475 |
-
<show_in_store>
|
476 |
</max_amount>
|
477 |
<allowspecific translate="label">
|
478 |
<label>allow specific countries</label>
|
@@ -497,12 +694,12 @@
|
|
497 |
<!-- }}} -->
|
498 |
<!-- {{{ HPSU -->
|
499 |
<hpsu translate="label">
|
500 |
-
|
501 |
<frontend_type>text</frontend_type>
|
502 |
<sort_order>100</sort_order>
|
503 |
<show_in_default>1</show_in_default>
|
504 |
<show_in_website>1</show_in_website>
|
505 |
-
<show_in_store>
|
506 |
<fields>
|
507 |
<title translate="label">
|
508 |
<label>Title</label>
|
@@ -510,7 +707,7 @@
|
|
510 |
<sort_order>10</sort_order>
|
511 |
<show_in_default>1</show_in_default>
|
512 |
<show_in_website>1</show_in_website>
|
513 |
-
<show_in_store>
|
514 |
</title>
|
515 |
<active translate="label">
|
516 |
<label>Enabled</label>
|
@@ -519,7 +716,7 @@
|
|
519 |
<sort_order>20</sort_order>
|
520 |
<show_in_default>1</show_in_default>
|
521 |
<show_in_website>1</show_in_website>
|
522 |
-
<show_in_store>
|
523 |
</active>
|
524 |
<transactionmode translate="label">
|
525 |
<label>Transactionmode</label>
|
@@ -528,7 +725,7 @@
|
|
528 |
<sort_order>30</sort_order>
|
529 |
<show_in_default>1</show_in_default>
|
530 |
<show_in_website>1</show_in_website>
|
531 |
-
<show_in_store>
|
532 |
</transactionmode>
|
533 |
<channel translate="label">
|
534 |
<label>Channel ID</label>
|
@@ -536,7 +733,7 @@
|
|
536 |
<sort_order>40</sort_order>
|
537 |
<show_in_default>1</show_in_default>
|
538 |
<show_in_website>1</show_in_website>
|
539 |
-
<show_in_store>
|
540 |
</channel>
|
541 |
<order_status translate="label">
|
542 |
<label>Order status</label>
|
@@ -545,7 +742,7 @@
|
|
545 |
<sort_order>60</sort_order>
|
546 |
<show_in_default>1</show_in_default>
|
547 |
<show_in_website>1</show_in_website>
|
548 |
-
<show_in_store>
|
549 |
</order_status>
|
550 |
<payment_status translate="label">
|
551 |
<label>Payment status</label>
|
@@ -554,7 +751,7 @@
|
|
554 |
<sort_order>70</sort_order>
|
555 |
<show_in_default>1</show_in_default>
|
556 |
<show_in_website>1</show_in_website>
|
557 |
-
<show_in_store>
|
558 |
</payment_status>
|
559 |
<wait_status translate="label">
|
560 |
<label>Waiting status</label>
|
@@ -563,7 +760,7 @@
|
|
563 |
<sort_order>80</sort_order>
|
564 |
<show_in_default>1</show_in_default>
|
565 |
<show_in_website>1</show_in_website>
|
566 |
-
<show_in_store>
|
567 |
</wait_status>
|
568 |
<cancel_status translate="label">
|
569 |
<label>Cancel status</label>
|
@@ -572,7 +769,7 @@
|
|
572 |
<sort_order>90</sort_order>
|
573 |
<show_in_default>1</show_in_default>
|
574 |
<show_in_website>1</show_in_website>
|
575 |
-
<show_in_store>
|
576 |
</cancel_status>
|
577 |
<error_status translate="label">
|
578 |
<label>Error status</label>
|
@@ -581,7 +778,7 @@
|
|
581 |
<sort_order>100</sort_order>
|
582 |
<show_in_default>1</show_in_default>
|
583 |
<show_in_website>1</show_in_website>
|
584 |
-
<show_in_store>
|
585 |
</error_status>
|
586 |
<sort_order translate="label">
|
587 |
<label>Sort order</label>
|
@@ -589,7 +786,7 @@
|
|
589 |
<sort_order>110</sort_order>
|
590 |
<show_in_default>1</show_in_default>
|
591 |
<show_in_website>1</show_in_website>
|
592 |
-
<show_in_store>
|
593 |
</sort_order>
|
594 |
<min_amount translate="label">
|
595 |
<label>Minimum Amount (CENT)</label>
|
@@ -597,7 +794,7 @@
|
|
597 |
<sort_order>120</sort_order>
|
598 |
<show_in_default>1</show_in_default>
|
599 |
<show_in_website>1</show_in_website>
|
600 |
-
<show_in_store>
|
601 |
</min_amount>
|
602 |
<max_amount translate="label">
|
603 |
<label>Maximum Amount (CENT)</label>
|
@@ -605,7 +802,7 @@
|
|
605 |
<sort_order>130</sort_order>
|
606 |
<show_in_default>1</show_in_default>
|
607 |
<show_in_website>1</show_in_website>
|
608 |
-
<show_in_store>
|
609 |
</max_amount>
|
610 |
<allowspecific translate="label">
|
611 |
<label>allow specific countries</label>
|
@@ -635,7 +832,7 @@
|
|
635 |
<sort_order>100</sort_order>
|
636 |
<show_in_default>1</show_in_default>
|
637 |
<show_in_website>1</show_in_website>
|
638 |
-
<show_in_store>
|
639 |
<fields>
|
640 |
<title translate="label">
|
641 |
<label>Title</label>
|
@@ -643,7 +840,7 @@
|
|
643 |
<sort_order>10</sort_order>
|
644 |
<show_in_default>1</show_in_default>
|
645 |
<show_in_website>1</show_in_website>
|
646 |
-
<show_in_store>
|
647 |
</title>
|
648 |
<active translate="label">
|
649 |
<label>Enabled</label>
|
@@ -652,7 +849,7 @@
|
|
652 |
<sort_order>20</sort_order>
|
653 |
<show_in_default>1</show_in_default>
|
654 |
<show_in_website>1</show_in_website>
|
655 |
-
<show_in_store>
|
656 |
</active>
|
657 |
<transactionmode translate="label">
|
658 |
<label>Transactionmode</label>
|
@@ -661,7 +858,7 @@
|
|
661 |
<sort_order>30</sort_order>
|
662 |
<show_in_default>1</show_in_default>
|
663 |
<show_in_website>1</show_in_website>
|
664 |
-
<show_in_store>
|
665 |
</transactionmode>
|
666 |
<channel translate="label">
|
667 |
<label>Channel ID</label>
|
@@ -669,7 +866,7 @@
|
|
669 |
<sort_order>40</sort_order>
|
670 |
<show_in_default>1</show_in_default>
|
671 |
<show_in_website>1</show_in_website>
|
672 |
-
<show_in_store>
|
673 |
</channel>
|
674 |
<order_status translate="label">
|
675 |
<label>Order status</label>
|
@@ -678,7 +875,7 @@
|
|
678 |
<sort_order>60</sort_order>
|
679 |
<show_in_default>1</show_in_default>
|
680 |
<show_in_website>1</show_in_website>
|
681 |
-
<show_in_store>
|
682 |
</order_status>
|
683 |
<payment_status translate="label">
|
684 |
<label>Payment status</label>
|
@@ -687,7 +884,7 @@
|
|
687 |
<sort_order>70</sort_order>
|
688 |
<show_in_default>1</show_in_default>
|
689 |
<show_in_website>1</show_in_website>
|
690 |
-
<show_in_store>
|
691 |
</payment_status>
|
692 |
<wait_status translate="label">
|
693 |
<label>Waiting status</label>
|
@@ -696,7 +893,7 @@
|
|
696 |
<sort_order>80</sort_order>
|
697 |
<show_in_default>1</show_in_default>
|
698 |
<show_in_website>1</show_in_website>
|
699 |
-
<show_in_store>
|
700 |
</wait_status>
|
701 |
<cancel_status translate="label">
|
702 |
<label>Cancel status</label>
|
@@ -705,7 +902,7 @@
|
|
705 |
<sort_order>90</sort_order>
|
706 |
<show_in_default>1</show_in_default>
|
707 |
<show_in_website>1</show_in_website>
|
708 |
-
<show_in_store>
|
709 |
</cancel_status>
|
710 |
<error_status translate="label">
|
711 |
<label>Error status</label>
|
@@ -714,7 +911,7 @@
|
|
714 |
<sort_order>100</sort_order>
|
715 |
<show_in_default>1</show_in_default>
|
716 |
<show_in_website>1</show_in_website>
|
717 |
-
<show_in_store>
|
718 |
</error_status>
|
719 |
<sort_order translate="label">
|
720 |
<label>Sort order</label>
|
@@ -722,7 +919,7 @@
|
|
722 |
<sort_order>110</sort_order>
|
723 |
<show_in_default>1</show_in_default>
|
724 |
<show_in_website>1</show_in_website>
|
725 |
-
<show_in_store>
|
726 |
</sort_order>
|
727 |
<min_amount translate="label">
|
728 |
<label>Minimum Amount (CENT)</label>
|
@@ -730,7 +927,7 @@
|
|
730 |
<sort_order>120</sort_order>
|
731 |
<show_in_default>1</show_in_default>
|
732 |
<show_in_website>1</show_in_website>
|
733 |
-
<show_in_store>
|
734 |
</min_amount>
|
735 |
<max_amount translate="label">
|
736 |
<label>Maximum Amount (CENT)</label>
|
@@ -738,7 +935,7 @@
|
|
738 |
<sort_order>130</sort_order>
|
739 |
<show_in_default>1</show_in_default>
|
740 |
<show_in_website>1</show_in_website>
|
741 |
-
<show_in_store>
|
742 |
</max_amount>
|
743 |
<allowspecific translate="label">
|
744 |
<label>allow specific countries</label>
|
@@ -761,6 +958,432 @@
|
|
761 |
</fields>
|
762 |
</hpgp>
|
763 |
<!-- }}} -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
764 |
<!-- {{{ HPPPAL -->
|
765 |
<hpppal translate="label">
|
766 |
<label>Heidelpay Pay Pal</label>
|
@@ -768,7 +1391,7 @@
|
|
768 |
<sort_order>100</sort_order>
|
769 |
<show_in_default>1</show_in_default>
|
770 |
<show_in_website>1</show_in_website>
|
771 |
-
<show_in_store>
|
772 |
<fields>
|
773 |
<title translate="label">
|
774 |
<label>Title</label>
|
@@ -776,7 +1399,7 @@
|
|
776 |
<sort_order>10</sort_order>
|
777 |
<show_in_default>1</show_in_default>
|
778 |
<show_in_website>1</show_in_website>
|
779 |
-
<show_in_store>
|
780 |
</title>
|
781 |
<active translate="label">
|
782 |
<label>Enabled</label>
|
@@ -785,7 +1408,7 @@
|
|
785 |
<sort_order>20</sort_order>
|
786 |
<show_in_default>1</show_in_default>
|
787 |
<show_in_website>1</show_in_website>
|
788 |
-
<show_in_store>
|
789 |
</active>
|
790 |
<transactionmode translate="label">
|
791 |
<label>Transactionmode</label>
|
@@ -794,7 +1417,7 @@
|
|
794 |
<sort_order>30</sort_order>
|
795 |
<show_in_default>1</show_in_default>
|
796 |
<show_in_website>1</show_in_website>
|
797 |
-
<show_in_store>
|
798 |
</transactionmode>
|
799 |
<channel translate="label">
|
800 |
<label>Channel ID</label>
|
@@ -802,7 +1425,7 @@
|
|
802 |
<sort_order>40</sort_order>
|
803 |
<show_in_default>1</show_in_default>
|
804 |
<show_in_website>1</show_in_website>
|
805 |
-
<show_in_store>
|
806 |
</channel>
|
807 |
<order_status translate="label">
|
808 |
<label>Order status</label>
|
@@ -811,7 +1434,7 @@
|
|
811 |
<sort_order>60</sort_order>
|
812 |
<show_in_default>1</show_in_default>
|
813 |
<show_in_website>1</show_in_website>
|
814 |
-
<show_in_store>
|
815 |
</order_status>
|
816 |
<payment_status translate="label">
|
817 |
<label>Payment status</label>
|
@@ -820,7 +1443,7 @@
|
|
820 |
<sort_order>70</sort_order>
|
821 |
<show_in_default>1</show_in_default>
|
822 |
<show_in_website>1</show_in_website>
|
823 |
-
<show_in_store>
|
824 |
</payment_status>
|
825 |
<wait_status translate="label">
|
826 |
<label>Waiting status</label>
|
@@ -829,7 +1452,7 @@
|
|
829 |
<sort_order>80</sort_order>
|
830 |
<show_in_default>1</show_in_default>
|
831 |
<show_in_website>1</show_in_website>
|
832 |
-
<show_in_store>
|
833 |
</wait_status>
|
834 |
<cancel_status translate="label">
|
835 |
<label>Cancel status</label>
|
@@ -838,7 +1461,7 @@
|
|
838 |
<sort_order>90</sort_order>
|
839 |
<show_in_default>1</show_in_default>
|
840 |
<show_in_website>1</show_in_website>
|
841 |
-
<show_in_store>
|
842 |
</cancel_status>
|
843 |
<error_status translate="label">
|
844 |
<label>Error status</label>
|
@@ -847,7 +1470,7 @@
|
|
847 |
<sort_order>100</sort_order>
|
848 |
<show_in_default>1</show_in_default>
|
849 |
<show_in_website>1</show_in_website>
|
850 |
-
<show_in_store>
|
851 |
</error_status>
|
852 |
<sort_order translate="label">
|
853 |
<label>Sort order</label>
|
@@ -855,7 +1478,7 @@
|
|
855 |
<sort_order>110</sort_order>
|
856 |
<show_in_default>1</show_in_default>
|
857 |
<show_in_website>1</show_in_website>
|
858 |
-
<show_in_store>
|
859 |
</sort_order>
|
860 |
<min_amount translate="label">
|
861 |
<label>Minimum Amount (CENT)</label>
|
@@ -863,7 +1486,7 @@
|
|
863 |
<sort_order>120</sort_order>
|
864 |
<show_in_default>1</show_in_default>
|
865 |
<show_in_website>1</show_in_website>
|
866 |
-
<show_in_store>
|
867 |
</min_amount>
|
868 |
<max_amount translate="label">
|
869 |
<label>Maximum Amount (CENT)</label>
|
@@ -871,7 +1494,7 @@
|
|
871 |
<sort_order>130</sort_order>
|
872 |
<show_in_default>1</show_in_default>
|
873 |
<show_in_website>1</show_in_website>
|
874 |
-
<show_in_store>
|
875 |
</max_amount>
|
876 |
<allowspecific translate="label">
|
877 |
<label>allow specific countries</label>
|
@@ -901,7 +1524,7 @@
|
|
901 |
<sort_order>100</sort_order>
|
902 |
<show_in_default>1</show_in_default>
|
903 |
<show_in_website>1</show_in_website>
|
904 |
-
<show_in_store>
|
905 |
<fields>
|
906 |
<title translate="label">
|
907 |
<label>Title</label>
|
@@ -909,7 +1532,7 @@
|
|
909 |
<sort_order>10</sort_order>
|
910 |
<show_in_default>1</show_in_default>
|
911 |
<show_in_website>1</show_in_website>
|
912 |
-
<show_in_store>
|
913 |
</title>
|
914 |
<active translate="label">
|
915 |
<label>Enabled</label>
|
@@ -918,7 +1541,7 @@
|
|
918 |
<sort_order>20</sort_order>
|
919 |
<show_in_default>1</show_in_default>
|
920 |
<show_in_website>1</show_in_website>
|
921 |
-
<show_in_store>
|
922 |
</active>
|
923 |
<transactionmode translate="label">
|
924 |
<label>Transactionmode</label>
|
@@ -927,7 +1550,7 @@
|
|
927 |
<sort_order>30</sort_order>
|
928 |
<show_in_default>1</show_in_default>
|
929 |
<show_in_website>1</show_in_website>
|
930 |
-
<show_in_store>
|
931 |
</transactionmode>
|
932 |
<channel translate="label">
|
933 |
<label>Channel ID</label>
|
@@ -935,7 +1558,7 @@
|
|
935 |
<sort_order>40</sort_order>
|
936 |
<show_in_default>1</show_in_default>
|
937 |
<show_in_website>1</show_in_website>
|
938 |
-
<show_in_store>
|
939 |
</channel>
|
940 |
<order_status translate="label">
|
941 |
<label>Order status</label>
|
@@ -944,7 +1567,7 @@
|
|
944 |
<sort_order>60</sort_order>
|
945 |
<show_in_default>1</show_in_default>
|
946 |
<show_in_website>1</show_in_website>
|
947 |
-
<show_in_store>
|
948 |
</order_status>
|
949 |
<payment_status translate="label">
|
950 |
<label>Payment status</label>
|
@@ -953,7 +1576,7 @@
|
|
953 |
<sort_order>70</sort_order>
|
954 |
<show_in_default>1</show_in_default>
|
955 |
<show_in_website>1</show_in_website>
|
956 |
-
<show_in_store>
|
957 |
</payment_status>
|
958 |
<wait_status translate="label">
|
959 |
<label>Waiting status</label>
|
@@ -962,7 +1585,7 @@
|
|
962 |
<sort_order>80</sort_order>
|
963 |
<show_in_default>1</show_in_default>
|
964 |
<show_in_website>1</show_in_website>
|
965 |
-
<show_in_store>
|
966 |
</wait_status>
|
967 |
<cancel_status translate="label">
|
968 |
<label>Cancel status</label>
|
@@ -971,7 +1594,7 @@
|
|
971 |
<sort_order>90</sort_order>
|
972 |
<show_in_default>1</show_in_default>
|
973 |
<show_in_website>1</show_in_website>
|
974 |
-
<show_in_store>
|
975 |
</cancel_status>
|
976 |
<error_status translate="label">
|
977 |
<label>Error status</label>
|
@@ -980,7 +1603,7 @@
|
|
980 |
<sort_order>100</sort_order>
|
981 |
<show_in_default>1</show_in_default>
|
982 |
<show_in_website>1</show_in_website>
|
983 |
-
<show_in_store>
|
984 |
</error_status>
|
985 |
<sort_order translate="label">
|
986 |
<label>Sort order</label>
|
@@ -988,7 +1611,7 @@
|
|
988 |
<sort_order>110</sort_order>
|
989 |
<show_in_default>1</show_in_default>
|
990 |
<show_in_website>1</show_in_website>
|
991 |
-
<show_in_store>
|
992 |
</sort_order>
|
993 |
<min_amount translate="label">
|
994 |
<label>Minimum Amount (CENT)</label>
|
@@ -996,7 +1619,7 @@
|
|
996 |
<sort_order>120</sort_order>
|
997 |
<show_in_default>1</show_in_default>
|
998 |
<show_in_website>1</show_in_website>
|
999 |
-
<show_in_store>
|
1000 |
</min_amount>
|
1001 |
<max_amount translate="label">
|
1002 |
<label>Maximum Amount (CENT)</label>
|
@@ -1004,7 +1627,7 @@
|
|
1004 |
<sort_order>130</sort_order>
|
1005 |
<show_in_default>1</show_in_default>
|
1006 |
<show_in_website>1</show_in_website>
|
1007 |
-
<show_in_store>
|
1008 |
</max_amount>
|
1009 |
<allowspecific translate="label">
|
1010 |
<label>allow specific countries</label>
|
@@ -1034,7 +1657,7 @@
|
|
1034 |
<sort_order>100</sort_order>
|
1035 |
<show_in_default>1</show_in_default>
|
1036 |
<show_in_website>1</show_in_website>
|
1037 |
-
<show_in_store>
|
1038 |
<fields>
|
1039 |
<title translate="label">
|
1040 |
<label>Title</label>
|
@@ -1042,7 +1665,7 @@
|
|
1042 |
<sort_order>10</sort_order>
|
1043 |
<show_in_default>1</show_in_default>
|
1044 |
<show_in_website>1</show_in_website>
|
1045 |
-
<show_in_store>
|
1046 |
</title>
|
1047 |
<active translate="label">
|
1048 |
<label>Enabled</label>
|
@@ -1051,7 +1674,7 @@
|
|
1051 |
<sort_order>20</sort_order>
|
1052 |
<show_in_default>1</show_in_default>
|
1053 |
<show_in_website>1</show_in_website>
|
1054 |
-
<show_in_store>
|
1055 |
</active>
|
1056 |
<transactionmode translate="label">
|
1057 |
<label>Transactionmode</label>
|
@@ -1060,7 +1683,7 @@
|
|
1060 |
<sort_order>30</sort_order>
|
1061 |
<show_in_default>1</show_in_default>
|
1062 |
<show_in_website>1</show_in_website>
|
1063 |
-
<show_in_store>
|
1064 |
</transactionmode>
|
1065 |
<channel translate="label">
|
1066 |
<label>Channel ID</label>
|
@@ -1068,7 +1691,7 @@
|
|
1068 |
<sort_order>40</sort_order>
|
1069 |
<show_in_default>1</show_in_default>
|
1070 |
<show_in_website>1</show_in_website>
|
1071 |
-
<show_in_store>
|
1072 |
</channel>
|
1073 |
<order_status translate="label">
|
1074 |
<label>Order status</label>
|
@@ -1077,7 +1700,7 @@
|
|
1077 |
<sort_order>60</sort_order>
|
1078 |
<show_in_default>1</show_in_default>
|
1079 |
<show_in_website>1</show_in_website>
|
1080 |
-
<show_in_store>
|
1081 |
</order_status>
|
1082 |
<payment_status translate="label">
|
1083 |
<label>Payment status</label>
|
@@ -1086,7 +1709,7 @@
|
|
1086 |
<sort_order>70</sort_order>
|
1087 |
<show_in_default>1</show_in_default>
|
1088 |
<show_in_website>1</show_in_website>
|
1089 |
-
<show_in_store>
|
1090 |
</payment_status>
|
1091 |
<wait_status translate="label">
|
1092 |
<label>Waiting status</label>
|
@@ -1095,7 +1718,7 @@
|
|
1095 |
<sort_order>80</sort_order>
|
1096 |
<show_in_default>1</show_in_default>
|
1097 |
<show_in_website>1</show_in_website>
|
1098 |
-
<show_in_store>
|
1099 |
</wait_status>
|
1100 |
<cancel_status translate="label">
|
1101 |
<label>Cancel status</label>
|
@@ -1104,7 +1727,7 @@
|
|
1104 |
<sort_order>90</sort_order>
|
1105 |
<show_in_default>1</show_in_default>
|
1106 |
<show_in_website>1</show_in_website>
|
1107 |
-
<show_in_store>
|
1108 |
</cancel_status>
|
1109 |
<error_status translate="label">
|
1110 |
<label>Error status</label>
|
@@ -1113,7 +1736,7 @@
|
|
1113 |
<sort_order>100</sort_order>
|
1114 |
<show_in_default>1</show_in_default>
|
1115 |
<show_in_website>1</show_in_website>
|
1116 |
-
<show_in_store>
|
1117 |
</error_status>
|
1118 |
<sort_order translate="label">
|
1119 |
<label>Sort order</label>
|
@@ -1121,7 +1744,7 @@
|
|
1121 |
<sort_order>110</sort_order>
|
1122 |
<show_in_default>1</show_in_default>
|
1123 |
<show_in_website>1</show_in_website>
|
1124 |
-
<show_in_store>
|
1125 |
</sort_order>
|
1126 |
<min_amount translate="label">
|
1127 |
<label>Minimum Amount (CENT)</label>
|
@@ -1129,7 +1752,7 @@
|
|
1129 |
<sort_order>120</sort_order>
|
1130 |
<show_in_default>1</show_in_default>
|
1131 |
<show_in_website>1</show_in_website>
|
1132 |
-
<show_in_store>
|
1133 |
</min_amount>
|
1134 |
<max_amount translate="label">
|
1135 |
<label>Maximum Amount (CENT)</label>
|
@@ -1137,7 +1760,7 @@
|
|
1137 |
<sort_order>130</sort_order>
|
1138 |
<show_in_default>1</show_in_default>
|
1139 |
<show_in_website>1</show_in_website>
|
1140 |
-
<show_in_store>
|
1141 |
</max_amount>
|
1142 |
<allowspecific translate="label">
|
1143 |
<label>allow specific countries</label>
|
@@ -1167,7 +1790,7 @@
|
|
1167 |
<sort_order>100</sort_order>
|
1168 |
<show_in_default>1</show_in_default>
|
1169 |
<show_in_website>1</show_in_website>
|
1170 |
-
<show_in_store>
|
1171 |
<fields>
|
1172 |
<title translate="label">
|
1173 |
<label>Title</label>
|
@@ -1175,7 +1798,7 @@
|
|
1175 |
<sort_order>10</sort_order>
|
1176 |
<show_in_default>1</show_in_default>
|
1177 |
<show_in_website>1</show_in_website>
|
1178 |
-
<show_in_store>
|
1179 |
</title>
|
1180 |
<active translate="label">
|
1181 |
<label>Enabled</label>
|
@@ -1184,7 +1807,7 @@
|
|
1184 |
<sort_order>20</sort_order>
|
1185 |
<show_in_default>1</show_in_default>
|
1186 |
<show_in_website>1</show_in_website>
|
1187 |
-
<show_in_store>
|
1188 |
</active>
|
1189 |
<transactionmode translate="label">
|
1190 |
<label>Transactionmode</label>
|
@@ -1193,7 +1816,7 @@
|
|
1193 |
<sort_order>30</sort_order>
|
1194 |
<show_in_default>1</show_in_default>
|
1195 |
<show_in_website>1</show_in_website>
|
1196 |
-
<show_in_store>
|
1197 |
</transactionmode>
|
1198 |
<channel translate="label">
|
1199 |
<label>Channel ID</label>
|
@@ -1201,7 +1824,7 @@
|
|
1201 |
<sort_order>40</sort_order>
|
1202 |
<show_in_default>1</show_in_default>
|
1203 |
<show_in_website>1</show_in_website>
|
1204 |
-
<show_in_store>
|
1205 |
</channel>
|
1206 |
<order_status translate="label">
|
1207 |
<label>Order status</label>
|
@@ -1210,7 +1833,7 @@
|
|
1210 |
<sort_order>60</sort_order>
|
1211 |
<show_in_default>1</show_in_default>
|
1212 |
<show_in_website>1</show_in_website>
|
1213 |
-
<show_in_store>
|
1214 |
</order_status>
|
1215 |
<payment_status translate="label">
|
1216 |
<label>Payment status</label>
|
@@ -1219,7 +1842,7 @@
|
|
1219 |
<sort_order>70</sort_order>
|
1220 |
<show_in_default>1</show_in_default>
|
1221 |
<show_in_website>1</show_in_website>
|
1222 |
-
<show_in_store>
|
1223 |
</payment_status>
|
1224 |
<wait_status translate="label">
|
1225 |
<label>Waiting status</label>
|
@@ -1228,7 +1851,7 @@
|
|
1228 |
<sort_order>80</sort_order>
|
1229 |
<show_in_default>1</show_in_default>
|
1230 |
<show_in_website>1</show_in_website>
|
1231 |
-
<show_in_store>
|
1232 |
</wait_status>
|
1233 |
<cancel_status translate="label">
|
1234 |
<label>Cancel status</label>
|
@@ -1237,7 +1860,7 @@
|
|
1237 |
<sort_order>90</sort_order>
|
1238 |
<show_in_default>1</show_in_default>
|
1239 |
<show_in_website>1</show_in_website>
|
1240 |
-
<show_in_store>
|
1241 |
</cancel_status>
|
1242 |
<error_status translate="label">
|
1243 |
<label>Error status</label>
|
@@ -1246,7 +1869,7 @@
|
|
1246 |
<sort_order>100</sort_order>
|
1247 |
<show_in_default>1</show_in_default>
|
1248 |
<show_in_website>1</show_in_website>
|
1249 |
-
<show_in_store>
|
1250 |
</error_status>
|
1251 |
<sort_order translate="label">
|
1252 |
<label>Sort order</label>
|
@@ -1254,7 +1877,7 @@
|
|
1254 |
<sort_order>110</sort_order>
|
1255 |
<show_in_default>1</show_in_default>
|
1256 |
<show_in_website>1</show_in_website>
|
1257 |
-
<show_in_store>
|
1258 |
</sort_order>
|
1259 |
<min_amount translate="label">
|
1260 |
<label>Minimum Amount (CENT)</label>
|
@@ -1262,7 +1885,7 @@
|
|
1262 |
<sort_order>120</sort_order>
|
1263 |
<show_in_default>1</show_in_default>
|
1264 |
<show_in_website>1</show_in_website>
|
1265 |
-
<show_in_store>
|
1266 |
</min_amount>
|
1267 |
<max_amount translate="label">
|
1268 |
<label>Maximum Amount (CENT)</label>
|
@@ -1270,7 +1893,7 @@
|
|
1270 |
<sort_order>130</sort_order>
|
1271 |
<show_in_default>1</show_in_default>
|
1272 |
<show_in_website>1</show_in_website>
|
1273 |
-
<show_in_store>
|
1274 |
</max_amount>
|
1275 |
<allowspecific translate="label">
|
1276 |
<label>allow specific countries</label>
|
@@ -1300,7 +1923,7 @@
|
|
1300 |
<sort_order>100</sort_order>
|
1301 |
<show_in_default>1</show_in_default>
|
1302 |
<show_in_website>1</show_in_website>
|
1303 |
-
<show_in_store>
|
1304 |
<fields>
|
1305 |
<title translate="label">
|
1306 |
<label>Title</label>
|
@@ -1308,7 +1931,7 @@
|
|
1308 |
<sort_order>10</sort_order>
|
1309 |
<show_in_default>1</show_in_default>
|
1310 |
<show_in_website>1</show_in_website>
|
1311 |
-
<show_in_store>
|
1312 |
</title>
|
1313 |
<active translate="label">
|
1314 |
<label>Enabled</label>
|
@@ -1317,7 +1940,7 @@
|
|
1317 |
<sort_order>20</sort_order>
|
1318 |
<show_in_default>1</show_in_default>
|
1319 |
<show_in_website>1</show_in_website>
|
1320 |
-
<show_in_store>
|
1321 |
</active>
|
1322 |
<transactionmode translate="label">
|
1323 |
<label>Transactionmode</label>
|
@@ -1326,7 +1949,7 @@
|
|
1326 |
<sort_order>30</sort_order>
|
1327 |
<show_in_default>1</show_in_default>
|
1328 |
<show_in_website>1</show_in_website>
|
1329 |
-
<show_in_store>
|
1330 |
</transactionmode>
|
1331 |
<channel translate="label">
|
1332 |
<label>Channel ID</label>
|
@@ -1334,7 +1957,7 @@
|
|
1334 |
<sort_order>40</sort_order>
|
1335 |
<show_in_default>1</show_in_default>
|
1336 |
<show_in_website>1</show_in_website>
|
1337 |
-
<show_in_store>
|
1338 |
</channel>
|
1339 |
<order_status translate="label">
|
1340 |
<label>Order status</label>
|
@@ -1343,7 +1966,7 @@
|
|
1343 |
<sort_order>60</sort_order>
|
1344 |
<show_in_default>1</show_in_default>
|
1345 |
<show_in_website>1</show_in_website>
|
1346 |
-
<show_in_store>
|
1347 |
</order_status>
|
1348 |
<payment_status translate="label">
|
1349 |
<label>Payment status</label>
|
@@ -1352,7 +1975,7 @@
|
|
1352 |
<sort_order>70</sort_order>
|
1353 |
<show_in_default>1</show_in_default>
|
1354 |
<show_in_website>1</show_in_website>
|
1355 |
-
<show_in_store>
|
1356 |
</payment_status>
|
1357 |
<wait_status translate="label">
|
1358 |
<label>Waiting status</label>
|
@@ -1361,7 +1984,7 @@
|
|
1361 |
<sort_order>80</sort_order>
|
1362 |
<show_in_default>1</show_in_default>
|
1363 |
<show_in_website>1</show_in_website>
|
1364 |
-
<show_in_store>
|
1365 |
</wait_status>
|
1366 |
<cancel_status translate="label">
|
1367 |
<label>Cancel status</label>
|
@@ -1370,7 +1993,7 @@
|
|
1370 |
<sort_order>90</sort_order>
|
1371 |
<show_in_default>1</show_in_default>
|
1372 |
<show_in_website>1</show_in_website>
|
1373 |
-
<show_in_store>
|
1374 |
</cancel_status>
|
1375 |
<error_status translate="label">
|
1376 |
<label>Error status</label>
|
@@ -1379,7 +2002,7 @@
|
|
1379 |
<sort_order>100</sort_order>
|
1380 |
<show_in_default>1</show_in_default>
|
1381 |
<show_in_website>1</show_in_website>
|
1382 |
-
<show_in_store>
|
1383 |
</error_status>
|
1384 |
<sort_order translate="label">
|
1385 |
<label>Sort order</label>
|
@@ -1387,7 +2010,7 @@
|
|
1387 |
<sort_order>110</sort_order>
|
1388 |
<show_in_default>1</show_in_default>
|
1389 |
<show_in_website>1</show_in_website>
|
1390 |
-
<show_in_store>
|
1391 |
</sort_order>
|
1392 |
<min_amount translate="label">
|
1393 |
<label>Minimum Amount (CENT)</label>
|
@@ -1395,7 +2018,7 @@
|
|
1395 |
<sort_order>120</sort_order>
|
1396 |
<show_in_default>1</show_in_default>
|
1397 |
<show_in_website>1</show_in_website>
|
1398 |
-
<show_in_store>
|
1399 |
</min_amount>
|
1400 |
<max_amount translate="label">
|
1401 |
<label>Maximum Amount (CENT)</label>
|
@@ -1403,7 +2026,7 @@
|
|
1403 |
<sort_order>130</sort_order>
|
1404 |
<show_in_default>1</show_in_default>
|
1405 |
<show_in_website>1</show_in_website>
|
1406 |
-
<show_in_store>
|
1407 |
</max_amount>
|
1408 |
<allowspecific translate="label">
|
1409 |
<label>allow specific countries</label>
|
3 |
<sections>
|
4 |
<!--{{{ Global Settings-->
|
5 |
<heidelpay translate="label" module="heidelpay">
|
6 |
+
<label>Heidelpay Settings</label>
|
7 |
<tab>sales</tab>
|
8 |
<frontend_type>text</frontend_type>
|
9 |
<sort_order>405</sort_order>
|
10 |
<show_in_default>1</show_in_default>
|
11 |
<show_in_website>1</show_in_website>
|
12 |
+
<show_in_store>1</show_in_store>
|
13 |
<groups>
|
14 |
<settings translate="label">
|
15 |
<label>General Settings Heidelpay</label>
|
17 |
<sort_order>10</sort_order>
|
18 |
<show_in_default>1</show_in_default>
|
19 |
<show_in_website>1</show_in_website>
|
20 |
+
<show_in_store>1</show_in_store>
|
21 |
<fields>
|
22 |
<security_sender translate="label">
|
23 |
<label>Security Sender</label>
|
25 |
<sort_order>10</sort_order>
|
26 |
<show_in_default>1</show_in_default>
|
27 |
<show_in_website>1</show_in_website>
|
28 |
+
<show_in_store>1</show_in_store>
|
29 |
</security_sender>
|
30 |
<user_id translate="label">
|
31 |
<label>User ID</label>
|
33 |
<sort_order>20</sort_order>
|
34 |
<show_in_default>1</show_in_default>
|
35 |
<show_in_website>1</show_in_website>
|
36 |
+
<show_in_store>1</show_in_store>
|
37 |
</user_id>
|
38 |
<user_pwd translate="label">
|
39 |
<label>User Password</label>
|
41 |
<sort_order>30</sort_order>
|
42 |
<show_in_default>1</show_in_default>
|
43 |
<show_in_website>1</show_in_website>
|
44 |
+
<show_in_store>1</show_in_store>
|
45 |
</user_pwd>
|
46 |
<live_url translate="label">
|
47 |
<label>Live URL</label>
|
49 |
<sort_order>40</sort_order>
|
50 |
<show_in_default>1</show_in_default>
|
51 |
<show_in_website>1</show_in_website>
|
52 |
+
<show_in_store>1</show_in_store>
|
53 |
</live_url>
|
54 |
+
<demo_url translate="label">
|
55 |
<label>Demo URL</label>
|
|
|
56 |
<frontend_type>text</frontend_type>
|
57 |
<sort_order>50</sort_order>
|
58 |
<show_in_default>1</show_in_default>
|
59 |
<show_in_website>1</show_in_website>
|
60 |
+
<show_in_store>1</show_in_store>
|
61 |
</demo_url>
|
62 |
</fields>
|
63 |
</settings>
|
75 |
<sort_order>100</sort_order>
|
76 |
<show_in_default>1</show_in_default>
|
77 |
<show_in_website>1</show_in_website>
|
78 |
+
<show_in_store>1</show_in_store>
|
79 |
<fields>
|
80 |
<title translate="label">
|
81 |
<label>Title</label>
|
83 |
<sort_order>10</sort_order>
|
84 |
<show_in_default>1</show_in_default>
|
85 |
<show_in_website>1</show_in_website>
|
86 |
+
<show_in_store>1</show_in_store>
|
87 |
</title>
|
88 |
<active translate="label">
|
89 |
<label>Enabled</label>
|
92 |
<sort_order>20</sort_order>
|
93 |
<show_in_default>1</show_in_default>
|
94 |
<show_in_website>1</show_in_website>
|
95 |
+
<show_in_store>1</show_in_store>
|
96 |
</active>
|
97 |
<transactionmode translate="label">
|
98 |
<label>Transactionmode</label>
|
101 |
<sort_order>30</sort_order>
|
102 |
<show_in_default>1</show_in_default>
|
103 |
<show_in_website>1</show_in_website>
|
104 |
+
<show_in_store>1</show_in_store>
|
105 |
</transactionmode>
|
106 |
+
<modulemode translate="label">
|
107 |
+
<label>Modulemode</label>
|
108 |
+
<frontend_type>select</frontend_type>
|
109 |
+
<source_model>Heidelpay/system_config_source_modulemode</source_model>
|
110 |
+
<sort_order>30</sort_order>
|
111 |
+
<show_in_default>1</show_in_default>
|
112 |
+
<show_in_website>1</show_in_website>
|
113 |
+
<show_in_store>1</show_in_store>
|
114 |
+
</modulemode>
|
115 |
<channel translate="label">
|
116 |
<label>Channel ID</label>
|
117 |
<frontend_type>text</frontend_type>
|
118 |
<sort_order>40</sort_order>
|
119 |
<show_in_default>1</show_in_default>
|
120 |
<show_in_website>1</show_in_website>
|
121 |
+
<show_in_store>1</show_in_store>
|
122 |
</channel>
|
123 |
<bookingmode translate="label">
|
124 |
<label>Booking mode</label>
|
127 |
<sort_order>50</sort_order>
|
128 |
<show_in_default>1</show_in_default>
|
129 |
<show_in_website>1</show_in_website>
|
130 |
+
<show_in_store>1</show_in_store>
|
131 |
</bookingmode>
|
132 |
<order_status translate="label">
|
133 |
<label>Order status</label>
|
136 |
<sort_order>60</sort_order>
|
137 |
<show_in_default>1</show_in_default>
|
138 |
<show_in_website>1</show_in_website>
|
139 |
+
<show_in_store>1</show_in_store>
|
140 |
</order_status>
|
141 |
<payment_status translate="label">
|
142 |
<label>Payment status</label>
|
145 |
<sort_order>70</sort_order>
|
146 |
<show_in_default>1</show_in_default>
|
147 |
<show_in_website>1</show_in_website>
|
148 |
+
<show_in_store>1</show_in_store>
|
149 |
</payment_status>
|
150 |
<wait_status translate="label">
|
151 |
<label>Waiting status</label>
|
154 |
<sort_order>80</sort_order>
|
155 |
<show_in_default>1</show_in_default>
|
156 |
<show_in_website>1</show_in_website>
|
157 |
+
<show_in_store>1</show_in_store>
|
158 |
</wait_status>
|
159 |
<cancel_status translate="label">
|
160 |
<label>Cancel status</label>
|
163 |
<sort_order>90</sort_order>
|
164 |
<show_in_default>1</show_in_default>
|
165 |
<show_in_website>1</show_in_website>
|
166 |
+
<show_in_store>1</show_in_store>
|
167 |
</cancel_status>
|
168 |
<error_status translate="label">
|
169 |
<label>Error status</label>
|
172 |
<sort_order>100</sort_order>
|
173 |
<show_in_default>1</show_in_default>
|
174 |
<show_in_website>1</show_in_website>
|
175 |
+
<show_in_store>1</show_in_store>
|
176 |
</error_status>
|
177 |
<sort_order translate="label">
|
178 |
<label>Sort order</label>
|
180 |
<sort_order>110</sort_order>
|
181 |
<show_in_default>1</show_in_default>
|
182 |
<show_in_website>1</show_in_website>
|
183 |
+
<show_in_store>1</show_in_store>
|
184 |
</sort_order>
|
185 |
<min_amount translate="label">
|
186 |
<label>Minimum Amount (CENT)</label>
|
188 |
<sort_order>120</sort_order>
|
189 |
<show_in_default>1</show_in_default>
|
190 |
<show_in_website>1</show_in_website>
|
191 |
+
<show_in_store>1</show_in_store>
|
192 |
</min_amount>
|
193 |
<max_amount translate="label">
|
194 |
<label>Maximum Amount (CENT)</label>
|
196 |
<sort_order>130</sort_order>
|
197 |
<show_in_default>1</show_in_default>
|
198 |
<show_in_website>1</show_in_website>
|
199 |
+
<show_in_store>1</show_in_store>
|
200 |
</max_amount>
|
201 |
<allowspecific translate="label">
|
202 |
<label>allow specific countries</label>
|
219 |
</fields>
|
220 |
</hpcc>
|
221 |
<!-- }}} -->
|
222 |
+
<!-- {{{ HPXC -->
|
223 |
+
<hpxc translate="label">
|
224 |
+
<label>Heidelpay Credit Card X</label>
|
225 |
+
<frontend_type>text</frontend_type>
|
226 |
+
<sort_order>100</sort_order>
|
227 |
+
<show_in_default>1</show_in_default>
|
228 |
+
<show_in_website>1</show_in_website>
|
229 |
+
<show_in_store>1</show_in_store>
|
230 |
+
<fields>
|
231 |
+
<title translate="label">
|
232 |
+
<label>Title</label>
|
233 |
+
<frontend_type>text</frontend_type>
|
234 |
+
<sort_order>10</sort_order>
|
235 |
+
<show_in_default>1</show_in_default>
|
236 |
+
<show_in_website>1</show_in_website>
|
237 |
+
<show_in_store>1</show_in_store>
|
238 |
+
</title>
|
239 |
+
<active translate="label">
|
240 |
+
<label>Enabled</label>
|
241 |
+
<frontend_type>select</frontend_type>
|
242 |
+
<source_model>
|
243 |
+
adminhtml/system_config_source_yesno</source_model>
|
244 |
+
<sort_order>20</sort_order>
|
245 |
+
<show_in_default>1</show_in_default>
|
246 |
+
<show_in_website>1</show_in_website>
|
247 |
+
<show_in_store>1</show_in_store>
|
248 |
+
</active>
|
249 |
+
<transactionmode translate="label">
|
250 |
+
<label>Transactionmode</label>
|
251 |
+
<frontend_type>select</frontend_type>
|
252 |
+
<source_model>
|
253 |
+
Heidelpay/system_config_source_transactionmode</source_model>
|
254 |
+
<sort_order>30</sort_order>
|
255 |
+
<show_in_default>1</show_in_default>
|
256 |
+
<show_in_website>1</show_in_website>
|
257 |
+
<show_in_store>1</show_in_store>
|
258 |
+
</transactionmode>
|
259 |
+
<modulemode translate="label">
|
260 |
+
<label>Modulemode</label>
|
261 |
+
<frontend_type>select</frontend_type>
|
262 |
+
<source_model>
|
263 |
+
Heidelpay/system_config_source_modulemode</source_model>
|
264 |
+
<sort_order>30</sort_order>
|
265 |
+
<show_in_default>1</show_in_default>
|
266 |
+
<show_in_website>1</show_in_website>
|
267 |
+
<show_in_store>1</show_in_store>
|
268 |
+
</modulemode>
|
269 |
+
<channel translate="label">
|
270 |
+
<label>Channel ID</label>
|
271 |
+
<frontend_type>text</frontend_type>
|
272 |
+
<sort_order>40</sort_order>
|
273 |
+
<show_in_default>1</show_in_default>
|
274 |
+
<show_in_website>1</show_in_website>
|
275 |
+
<show_in_store>1</show_in_store>
|
276 |
+
</channel>
|
277 |
+
<bookingmode translate="label">
|
278 |
+
<label>Booking mode</label>
|
279 |
+
<frontend_type>select</frontend_type>
|
280 |
+
<source_model>
|
281 |
+
Heidelpay/system_config_source_bookingmode</source_model>
|
282 |
+
<sort_order>50</sort_order>
|
283 |
+
<show_in_default>1</show_in_default>
|
284 |
+
<show_in_website>1</show_in_website>
|
285 |
+
<show_in_store>1</show_in_store>
|
286 |
+
</bookingmode>
|
287 |
+
<order_status translate="label">
|
288 |
+
<label>Order status</label>
|
289 |
+
<frontend_type>select</frontend_type>
|
290 |
+
<source_model>
|
291 |
+
Heidelpay/system_config_source_orderstatus</source_model>
|
292 |
+
<sort_order>60</sort_order>
|
293 |
+
<show_in_default>1</show_in_default>
|
294 |
+
<show_in_website>1</show_in_website>
|
295 |
+
<show_in_store>1</show_in_store>
|
296 |
+
</order_status>
|
297 |
+
<payment_status translate="label">
|
298 |
+
<label>Payment status</label>
|
299 |
+
<frontend_type>select</frontend_type>
|
300 |
+
<source_model>
|
301 |
+
Heidelpay/system_config_source_orderstatus</source_model>
|
302 |
+
<sort_order>70</sort_order>
|
303 |
+
<show_in_default>1</show_in_default>
|
304 |
+
<show_in_website>1</show_in_website>
|
305 |
+
<show_in_store>1</show_in_store>
|
306 |
+
</payment_status>
|
307 |
+
<wait_status translate="label">
|
308 |
+
<label>Waiting status</label>
|
309 |
+
<frontend_type>select</frontend_type>
|
310 |
+
<source_model>
|
311 |
+
Heidelpay/system_config_source_orderstatus</source_model>
|
312 |
+
<sort_order>80</sort_order>
|
313 |
+
<show_in_default>1</show_in_default>
|
314 |
+
<show_in_website>1</show_in_website>
|
315 |
+
<show_in_store>1</show_in_store>
|
316 |
+
</wait_status>
|
317 |
+
<cancel_status translate="label">
|
318 |
+
<label>Cancel status</label>
|
319 |
+
<frontend_type>select</frontend_type>
|
320 |
+
<source_model>
|
321 |
+
Heidelpay/system_config_source_orderstatus</source_model>
|
322 |
+
<sort_order>90</sort_order>
|
323 |
+
<show_in_default>1</show_in_default>
|
324 |
+
<show_in_website>1</show_in_website>
|
325 |
+
<show_in_store>1</show_in_store>
|
326 |
+
</cancel_status>
|
327 |
+
<error_status translate="label">
|
328 |
+
<label>Error status</label>
|
329 |
+
<frontend_type>select</frontend_type>
|
330 |
+
<source_model>
|
331 |
+
Heidelpay/system_config_source_orderstatus</source_model>
|
332 |
+
<sort_order>100</sort_order>
|
333 |
+
<show_in_default>1</show_in_default>
|
334 |
+
<show_in_website>1</show_in_website>
|
335 |
+
<show_in_store>1</show_in_store>
|
336 |
+
</error_status>
|
337 |
+
<sort_order translate="label">
|
338 |
+
<label>Sort order</label>
|
339 |
+
<frontend_type>text</frontend_type>
|
340 |
+
<sort_order>110</sort_order>
|
341 |
+
<show_in_default>1</show_in_default>
|
342 |
+
<show_in_website>1</show_in_website>
|
343 |
+
<show_in_store>1</show_in_store>
|
344 |
+
</sort_order>
|
345 |
+
<min_amount translate="label">
|
346 |
+
<label>Minimum Amount (CENT)</label>
|
347 |
+
<frontend_type>text</frontend_type>
|
348 |
+
<sort_order>120</sort_order>
|
349 |
+
<show_in_default>1</show_in_default>
|
350 |
+
<show_in_website>1</show_in_website>
|
351 |
+
<show_in_store>1</show_in_store>
|
352 |
+
</min_amount>
|
353 |
+
<max_amount translate="label">
|
354 |
+
<label>Maximum Amount (CENT)</label>
|
355 |
+
<frontend_type>text</frontend_type>
|
356 |
+
<sort_order>130</sort_order>
|
357 |
+
<show_in_default>1</show_in_default>
|
358 |
+
<show_in_website>1</show_in_website>
|
359 |
+
<show_in_store>1</show_in_store>
|
360 |
+
</max_amount>
|
361 |
+
<allowspecific translate="label">
|
362 |
+
<label>allow specific countries</label>
|
363 |
+
<frontend_type>allowspecific</frontend_type>
|
364 |
+
<sort_order>140</sort_order>
|
365 |
+
<source_model>
|
366 |
+
adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
367 |
+
<show_in_default>1</show_in_default>
|
368 |
+
<show_in_website>1</show_in_website>
|
369 |
+
<show_in_store>1</show_in_store>
|
370 |
+
</allowspecific>
|
371 |
+
<specificcountry translate="label">
|
372 |
+
<label>specific countries</label>
|
373 |
+
<frontend_type>multiselect</frontend_type>
|
374 |
+
<sort_order>150</sort_order>
|
375 |
+
<source_model>
|
376 |
+
adminhtml/system_config_source_country</source_model>
|
377 |
+
<show_in_default>1</show_in_default>
|
378 |
+
<show_in_website>1</show_in_website>
|
379 |
+
<show_in_store>1</show_in_store>
|
380 |
+
</specificcountry>
|
381 |
+
</fields>
|
382 |
+
</hpxc>
|
383 |
+
<!-- }}} -->
|
384 |
<!-- {{{ HPDC -->
|
385 |
<hpdc translate="label">
|
386 |
<label>Heidelpay Debit Card</label>
|
388 |
<sort_order>100</sort_order>
|
389 |
<show_in_default>1</show_in_default>
|
390 |
<show_in_website>1</show_in_website>
|
391 |
+
<show_in_store>1</show_in_store>
|
392 |
<fields>
|
393 |
<title translate="label">
|
394 |
<label>Title</label>
|
396 |
<sort_order>10</sort_order>
|
397 |
<show_in_default>1</show_in_default>
|
398 |
<show_in_website>1</show_in_website>
|
399 |
+
<show_in_store>1</show_in_store>
|
400 |
</title>
|
401 |
<active translate="label">
|
402 |
<label>Enabled</label>
|
405 |
<sort_order>20</sort_order>
|
406 |
<show_in_default>1</show_in_default>
|
407 |
<show_in_website>1</show_in_website>
|
408 |
+
<show_in_store>1</show_in_store>
|
409 |
</active>
|
410 |
<transactionmode translate="label">
|
411 |
<label>Transactionmode</label>
|
414 |
<sort_order>30</sort_order>
|
415 |
<show_in_default>1</show_in_default>
|
416 |
<show_in_website>1</show_in_website>
|
417 |
+
<show_in_store>1</show_in_store>
|
418 |
</transactionmode>
|
419 |
+
<modulemode translate="label">
|
420 |
+
<label>Modulemode</label>
|
421 |
+
<frontend_type>select</frontend_type>
|
422 |
+
<source_model>Heidelpay/system_config_source_modulemode</source_model>
|
423 |
+
<sort_order>30</sort_order>
|
424 |
+
<show_in_default>1</show_in_default>
|
425 |
+
<show_in_website>1</show_in_website>
|
426 |
+
<show_in_store>1</show_in_store>
|
427 |
+
</modulemode>
|
428 |
<channel translate="label">
|
429 |
<label>Channel ID</label>
|
430 |
<frontend_type>text</frontend_type>
|
431 |
<sort_order>40</sort_order>
|
432 |
<show_in_default>1</show_in_default>
|
433 |
<show_in_website>1</show_in_website>
|
434 |
+
<show_in_store>1</show_in_store>
|
435 |
</channel>
|
436 |
<bookingmode translate="label">
|
437 |
<label>Booking mode</label>
|
440 |
<sort_order>50</sort_order>
|
441 |
<show_in_default>1</show_in_default>
|
442 |
<show_in_website>1</show_in_website>
|
443 |
+
<show_in_store>1</show_in_store>
|
444 |
</bookingmode>
|
445 |
<order_status translate="label">
|
446 |
<label>Order status</label>
|
449 |
<sort_order>60</sort_order>
|
450 |
<show_in_default>1</show_in_default>
|
451 |
<show_in_website>1</show_in_website>
|
452 |
+
<show_in_store>1</show_in_store>
|
453 |
</order_status>
|
454 |
<payment_status translate="label">
|
455 |
<label>Payment status</label>
|
458 |
<sort_order>70</sort_order>
|
459 |
<show_in_default>1</show_in_default>
|
460 |
<show_in_website>1</show_in_website>
|
461 |
+
<show_in_store>1</show_in_store>
|
462 |
</payment_status>
|
463 |
<wait_status translate="label">
|
464 |
<label>Waiting status</label>
|
467 |
<sort_order>80</sort_order>
|
468 |
<show_in_default>1</show_in_default>
|
469 |
<show_in_website>1</show_in_website>
|
470 |
+
<show_in_store>1</show_in_store>
|
471 |
</wait_status>
|
472 |
<cancel_status translate="label">
|
473 |
<label>Cancel status</label>
|
476 |
<sort_order>90</sort_order>
|
477 |
<show_in_default>1</show_in_default>
|
478 |
<show_in_website>1</show_in_website>
|
479 |
+
<show_in_store>1</show_in_store>
|
480 |
</cancel_status>
|
481 |
<error_status translate="label">
|
482 |
<label>Error status</label>
|
485 |
<sort_order>100</sort_order>
|
486 |
<show_in_default>1</show_in_default>
|
487 |
<show_in_website>1</show_in_website>
|
488 |
+
<show_in_store>1</show_in_store>
|
489 |
</error_status>
|
490 |
<sort_order translate="label">
|
491 |
<label>Sort order</label>
|
493 |
<sort_order>110</sort_order>
|
494 |
<show_in_default>1</show_in_default>
|
495 |
<show_in_website>1</show_in_website>
|
496 |
+
<show_in_store>1</show_in_store>
|
497 |
</sort_order>
|
498 |
<min_amount translate="label">
|
499 |
<label>Minimum Amount (CENT)</label>
|
501 |
<sort_order>120</sort_order>
|
502 |
<show_in_default>1</show_in_default>
|
503 |
<show_in_website>1</show_in_website>
|
504 |
+
<show_in_store>1</show_in_store>
|
505 |
</min_amount>
|
506 |
<max_amount translate="label">
|
507 |
<label>Maximum Amount (CENT)</label>
|
509 |
<sort_order>130</sort_order>
|
510 |
<show_in_default>1</show_in_default>
|
511 |
<show_in_website>1</show_in_website>
|
512 |
+
<show_in_store>1</show_in_store>
|
513 |
</max_amount>
|
514 |
<allowspecific translate="label">
|
515 |
<label>allow specific countries</label>
|
539 |
<sort_order>100</sort_order>
|
540 |
<show_in_default>1</show_in_default>
|
541 |
<show_in_website>1</show_in_website>
|
542 |
+
<show_in_store>1</show_in_store>
|
543 |
<fields>
|
544 |
<title translate="label">
|
545 |
<label>Title</label>
|
547 |
<sort_order>10</sort_order>
|
548 |
<show_in_default>1</show_in_default>
|
549 |
<show_in_website>1</show_in_website>
|
550 |
+
<show_in_store>1</show_in_store>
|
551 |
</title>
|
552 |
<active translate="label">
|
553 |
<label>Enabled</label>
|
556 |
<sort_order>20</sort_order>
|
557 |
<show_in_default>1</show_in_default>
|
558 |
<show_in_website>1</show_in_website>
|
559 |
+
<show_in_store>1</show_in_store>
|
560 |
</active>
|
561 |
<transactionmode translate="label">
|
562 |
<label>Transactionmode</label>
|
565 |
<sort_order>30</sort_order>
|
566 |
<show_in_default>1</show_in_default>
|
567 |
<show_in_website>1</show_in_website>
|
568 |
+
<show_in_store>1</show_in_store>
|
569 |
</transactionmode>
|
570 |
<channel translate="label">
|
571 |
<label>Channel ID</label>
|
573 |
<sort_order>40</sort_order>
|
574 |
<show_in_default>1</show_in_default>
|
575 |
<show_in_website>1</show_in_website>
|
576 |
+
<show_in_store>1</show_in_store>
|
577 |
</channel>
|
578 |
<bookingmode translate="label">
|
579 |
<label>Booking mode</label>
|
582 |
<sort_order>50</sort_order>
|
583 |
<show_in_default>1</show_in_default>
|
584 |
<show_in_website>1</show_in_website>
|
585 |
+
<show_in_store>1</show_in_store>
|
586 |
</bookingmode>
|
587 |
+
<modulemode translate="label">
|
588 |
+
<label>Modulemode</label>
|
589 |
+
<frontend_type>select</frontend_type>
|
590 |
+
<source_model>Heidelpay/system_config_source_ddmodulemode</source_model>
|
591 |
+
<sort_order>30</sort_order>
|
592 |
+
<show_in_default>1</show_in_default>
|
593 |
+
<show_in_website>1</show_in_website>
|
594 |
+
<show_in_store>1</show_in_store>
|
595 |
+
</modulemode>
|
596 |
+
<sepamode translate="label">
|
597 |
+
<label>Formdata</label>
|
598 |
+
<frontend_type>select</frontend_type>
|
599 |
+
<source_model>Heidelpay/system_config_source_sepamode</source_model>
|
600 |
+
<sort_order>35</sort_order>
|
601 |
+
<show_in_default>1</show_in_default>
|
602 |
+
<show_in_website>1</show_in_website>
|
603 |
+
<show_in_store>1</show_in_store>
|
604 |
+
</sepamode>
|
605 |
<order_status translate="label">
|
606 |
<label>Order status</label>
|
607 |
<frontend_type>select</frontend_type>
|
609 |
<sort_order>60</sort_order>
|
610 |
<show_in_default>1</show_in_default>
|
611 |
<show_in_website>1</show_in_website>
|
612 |
+
<show_in_store>1</show_in_store>
|
613 |
</order_status>
|
614 |
<payment_status translate="label">
|
615 |
<label>Payment status</label>
|
618 |
<sort_order>70</sort_order>
|
619 |
<show_in_default>1</show_in_default>
|
620 |
<show_in_website>1</show_in_website>
|
621 |
+
<show_in_store>1</show_in_store>
|
622 |
</payment_status>
|
623 |
<wait_status translate="label">
|
624 |
<label>Waiting status</label>
|
627 |
<sort_order>80</sort_order>
|
628 |
<show_in_default>1</show_in_default>
|
629 |
<show_in_website>1</show_in_website>
|
630 |
+
<show_in_store>1</show_in_store>
|
631 |
</wait_status>
|
632 |
<cancel_status translate="label">
|
633 |
<label>Cancel status</label>
|
636 |
<sort_order>90</sort_order>
|
637 |
<show_in_default>1</show_in_default>
|
638 |
<show_in_website>1</show_in_website>
|
639 |
+
<show_in_store>1</show_in_store>
|
640 |
</cancel_status>
|
641 |
<error_status translate="label">
|
642 |
<label>Error status</label>
|
645 |
<sort_order>100</sort_order>
|
646 |
<show_in_default>1</show_in_default>
|
647 |
<show_in_website>1</show_in_website>
|
648 |
+
<show_in_store>1</show_in_store>
|
649 |
</error_status>
|
650 |
<sort_order translate="label">
|
651 |
<label>Sort order</label>
|
653 |
<sort_order>110</sort_order>
|
654 |
<show_in_default>1</show_in_default>
|
655 |
<show_in_website>1</show_in_website>
|
656 |
+
<show_in_store>1</show_in_store>
|
657 |
</sort_order>
|
658 |
<min_amount translate="label">
|
659 |
<label>Minimum Amount (CENT)</label>
|
661 |
<sort_order>120</sort_order>
|
662 |
<show_in_default>1</show_in_default>
|
663 |
<show_in_website>1</show_in_website>
|
664 |
+
<show_in_store>1</show_in_store>
|
665 |
</min_amount>
|
666 |
<max_amount translate="label">
|
667 |
<label>Maximum Amount (CENT)</label>
|
669 |
<sort_order>130</sort_order>
|
670 |
<show_in_default>1</show_in_default>
|
671 |
<show_in_website>1</show_in_website>
|
672 |
+
<show_in_store>1</show_in_store>
|
673 |
</max_amount>
|
674 |
<allowspecific translate="label">
|
675 |
<label>allow specific countries</label>
|
694 |
<!-- }}} -->
|
695 |
<!-- {{{ HPSU -->
|
696 |
<hpsu translate="label">
|
697 |
+
<label>Heidelpay SOFORT Überweisung</label>
|
698 |
<frontend_type>text</frontend_type>
|
699 |
<sort_order>100</sort_order>
|
700 |
<show_in_default>1</show_in_default>
|
701 |
<show_in_website>1</show_in_website>
|
702 |
+
<show_in_store>1</show_in_store>
|
703 |
<fields>
|
704 |
<title translate="label">
|
705 |
<label>Title</label>
|
707 |
<sort_order>10</sort_order>
|
708 |
<show_in_default>1</show_in_default>
|
709 |
<show_in_website>1</show_in_website>
|
710 |
+
<show_in_store>1</show_in_store>
|
711 |
</title>
|
712 |
<active translate="label">
|
713 |
<label>Enabled</label>
|
716 |
<sort_order>20</sort_order>
|
717 |
<show_in_default>1</show_in_default>
|
718 |
<show_in_website>1</show_in_website>
|
719 |
+
<show_in_store>1</show_in_store>
|
720 |
</active>
|
721 |
<transactionmode translate="label">
|
722 |
<label>Transactionmode</label>
|
725 |
<sort_order>30</sort_order>
|
726 |
<show_in_default>1</show_in_default>
|
727 |
<show_in_website>1</show_in_website>
|
728 |
+
<show_in_store>1</show_in_store>
|
729 |
</transactionmode>
|
730 |
<channel translate="label">
|
731 |
<label>Channel ID</label>
|
733 |
<sort_order>40</sort_order>
|
734 |
<show_in_default>1</show_in_default>
|
735 |
<show_in_website>1</show_in_website>
|
736 |
+
<show_in_store>1</show_in_store>
|
737 |
</channel>
|
738 |
<order_status translate="label">
|
739 |
<label>Order status</label>
|
742 |
<sort_order>60</sort_order>
|
743 |
<show_in_default>1</show_in_default>
|
744 |
<show_in_website>1</show_in_website>
|
745 |
+
<show_in_store>1</show_in_store>
|
746 |
</order_status>
|
747 |
<payment_status translate="label">
|
748 |
<label>Payment status</label>
|
751 |
<sort_order>70</sort_order>
|
752 |
<show_in_default>1</show_in_default>
|
753 |
<show_in_website>1</show_in_website>
|
754 |
+
<show_in_store>1</show_in_store>
|
755 |
</payment_status>
|
756 |
<wait_status translate="label">
|
757 |
<label>Waiting status</label>
|
760 |
<sort_order>80</sort_order>
|
761 |
<show_in_default>1</show_in_default>
|
762 |
<show_in_website>1</show_in_website>
|
763 |
+
<show_in_store>1</show_in_store>
|
764 |
</wait_status>
|
765 |
<cancel_status translate="label">
|
766 |
<label>Cancel status</label>
|
769 |
<sort_order>90</sort_order>
|
770 |
<show_in_default>1</show_in_default>
|
771 |
<show_in_website>1</show_in_website>
|
772 |
+
<show_in_store>1</show_in_store>
|
773 |
</cancel_status>
|
774 |
<error_status translate="label">
|
775 |
<label>Error status</label>
|
778 |
<sort_order>100</sort_order>
|
779 |
<show_in_default>1</show_in_default>
|
780 |
<show_in_website>1</show_in_website>
|
781 |
+
<show_in_store>1</show_in_store>
|
782 |
</error_status>
|
783 |
<sort_order translate="label">
|
784 |
<label>Sort order</label>
|
786 |
<sort_order>110</sort_order>
|
787 |
<show_in_default>1</show_in_default>
|
788 |
<show_in_website>1</show_in_website>
|
789 |
+
<show_in_store>1</show_in_store>
|
790 |
</sort_order>
|
791 |
<min_amount translate="label">
|
792 |
<label>Minimum Amount (CENT)</label>
|
794 |
<sort_order>120</sort_order>
|
795 |
<show_in_default>1</show_in_default>
|
796 |
<show_in_website>1</show_in_website>
|
797 |
+
<show_in_store>1</show_in_store>
|
798 |
</min_amount>
|
799 |
<max_amount translate="label">
|
800 |
<label>Maximum Amount (CENT)</label>
|
802 |
<sort_order>130</sort_order>
|
803 |
<show_in_default>1</show_in_default>
|
804 |
<show_in_website>1</show_in_website>
|
805 |
+
<show_in_store>1</show_in_store>
|
806 |
</max_amount>
|
807 |
<allowspecific translate="label">
|
808 |
<label>allow specific countries</label>
|
832 |
<sort_order>100</sort_order>
|
833 |
<show_in_default>1</show_in_default>
|
834 |
<show_in_website>1</show_in_website>
|
835 |
+
<show_in_store>1</show_in_store>
|
836 |
<fields>
|
837 |
<title translate="label">
|
838 |
<label>Title</label>
|
840 |
<sort_order>10</sort_order>
|
841 |
<show_in_default>1</show_in_default>
|
842 |
<show_in_website>1</show_in_website>
|
843 |
+
<show_in_store>1</show_in_store>
|
844 |
</title>
|
845 |
<active translate="label">
|
846 |
<label>Enabled</label>
|
849 |
<sort_order>20</sort_order>
|
850 |
<show_in_default>1</show_in_default>
|
851 |
<show_in_website>1</show_in_website>
|
852 |
+
<show_in_store>1</show_in_store>
|
853 |
</active>
|
854 |
<transactionmode translate="label">
|
855 |
<label>Transactionmode</label>
|
858 |
<sort_order>30</sort_order>
|
859 |
<show_in_default>1</show_in_default>
|
860 |
<show_in_website>1</show_in_website>
|
861 |
+
<show_in_store>1</show_in_store>
|
862 |
</transactionmode>
|
863 |
<channel translate="label">
|
864 |
<label>Channel ID</label>
|
866 |
<sort_order>40</sort_order>
|
867 |
<show_in_default>1</show_in_default>
|
868 |
<show_in_website>1</show_in_website>
|
869 |
+
<show_in_store>1</show_in_store>
|
870 |
</channel>
|
871 |
<order_status translate="label">
|
872 |
<label>Order status</label>
|
875 |
<sort_order>60</sort_order>
|
876 |
<show_in_default>1</show_in_default>
|
877 |
<show_in_website>1</show_in_website>
|
878 |
+
<show_in_store>1</show_in_store>
|
879 |
</order_status>
|
880 |
<payment_status translate="label">
|
881 |
<label>Payment status</label>
|
884 |
<sort_order>70</sort_order>
|
885 |
<show_in_default>1</show_in_default>
|
886 |
<show_in_website>1</show_in_website>
|
887 |
+
<show_in_store>1</show_in_store>
|
888 |
</payment_status>
|
889 |
<wait_status translate="label">
|
890 |
<label>Waiting status</label>
|
893 |
<sort_order>80</sort_order>
|
894 |
<show_in_default>1</show_in_default>
|
895 |
<show_in_website>1</show_in_website>
|
896 |
+
<show_in_store>1</show_in_store>
|
897 |
</wait_status>
|
898 |
<cancel_status translate="label">
|
899 |
<label>Cancel status</label>
|
902 |
<sort_order>90</sort_order>
|
903 |
<show_in_default>1</show_in_default>
|
904 |
<show_in_website>1</show_in_website>
|
905 |
+
<show_in_store>1</show_in_store>
|
906 |
</cancel_status>
|
907 |
<error_status translate="label">
|
908 |
<label>Error status</label>
|
911 |
<sort_order>100</sort_order>
|
912 |
<show_in_default>1</show_in_default>
|
913 |
<show_in_website>1</show_in_website>
|
914 |
+
<show_in_store>1</show_in_store>
|
915 |
</error_status>
|
916 |
<sort_order translate="label">
|
917 |
<label>Sort order</label>
|
919 |
<sort_order>110</sort_order>
|
920 |
<show_in_default>1</show_in_default>
|
921 |
<show_in_website>1</show_in_website>
|
922 |
+
<show_in_store>1</show_in_store>
|
923 |
</sort_order>
|
924 |
<min_amount translate="label">
|
925 |
<label>Minimum Amount (CENT)</label>
|
927 |
<sort_order>120</sort_order>
|
928 |
<show_in_default>1</show_in_default>
|
929 |
<show_in_website>1</show_in_website>
|
930 |
+
<show_in_store>1</show_in_store>
|
931 |
</min_amount>
|
932 |
<max_amount translate="label">
|
933 |
<label>Maximum Amount (CENT)</label>
|
935 |
<sort_order>130</sort_order>
|
936 |
<show_in_default>1</show_in_default>
|
937 |
<show_in_website>1</show_in_website>
|
938 |
+
<show_in_store>1</show_in_store>
|
939 |
</max_amount>
|
940 |
<allowspecific translate="label">
|
941 |
<label>allow specific countries</label>
|
958 |
</fields>
|
959 |
</hpgp>
|
960 |
<!-- }}} -->
|
961 |
+
<!-- {{{ HPBP -->
|
962 |
+
<hpbp translate="label">
|
963 |
+
<label>Heidelpay Barpay</label>
|
964 |
+
<frontend_type>text</frontend_type>
|
965 |
+
<sort_order>100</sort_order>
|
966 |
+
<show_in_default>1</show_in_default>
|
967 |
+
<show_in_website>1</show_in_website>
|
968 |
+
<show_in_store>1</show_in_store>
|
969 |
+
<fields>
|
970 |
+
<title translate="label">
|
971 |
+
<label>Title</label>
|
972 |
+
<frontend_type>text</frontend_type>
|
973 |
+
<sort_order>10</sort_order>
|
974 |
+
<show_in_default>1</show_in_default>
|
975 |
+
<show_in_website>1</show_in_website>
|
976 |
+
<show_in_store>1</show_in_store>
|
977 |
+
</title>
|
978 |
+
<active translate="label">
|
979 |
+
<label>Enabled</label>
|
980 |
+
<frontend_type>select</frontend_type>
|
981 |
+
<source_model>
|
982 |
+
adminhtml/system_config_source_yesno</source_model>
|
983 |
+
<sort_order>20</sort_order>
|
984 |
+
<show_in_default>1</show_in_default>
|
985 |
+
<show_in_website>1</show_in_website>
|
986 |
+
<show_in_store>1</show_in_store>
|
987 |
+
</active>
|
988 |
+
<transactionmode translate="label">
|
989 |
+
<label>Transactionmode</label>
|
990 |
+
<frontend_type>select</frontend_type>
|
991 |
+
<source_model>
|
992 |
+
Heidelpay/system_config_source_transactionmode</source_model>
|
993 |
+
<sort_order>30</sort_order>
|
994 |
+
<show_in_default>1</show_in_default>
|
995 |
+
<show_in_website>1</show_in_website>
|
996 |
+
<show_in_store>1</show_in_store>
|
997 |
+
</transactionmode>
|
998 |
+
<channel translate="label">
|
999 |
+
<label>Channel ID</label>
|
1000 |
+
<frontend_type>text</frontend_type>
|
1001 |
+
<sort_order>40</sort_order>
|
1002 |
+
<show_in_default>1</show_in_default>
|
1003 |
+
<show_in_website>1</show_in_website>
|
1004 |
+
<show_in_store>1</show_in_store>
|
1005 |
+
</channel>
|
1006 |
+
<order_status translate="label">
|
1007 |
+
<label>Order status</label>
|
1008 |
+
<frontend_type>select</frontend_type>
|
1009 |
+
<source_model>
|
1010 |
+
Heidelpay/system_config_source_orderstatus</source_model>
|
1011 |
+
<sort_order>60</sort_order>
|
1012 |
+
<show_in_default>1</show_in_default>
|
1013 |
+
<show_in_website>1</show_in_website>
|
1014 |
+
<show_in_store>1</show_in_store>
|
1015 |
+
</order_status>
|
1016 |
+
<payment_status translate="label">
|
1017 |
+
<label>Payment status</label>
|
1018 |
+
<frontend_type>select</frontend_type>
|
1019 |
+
<source_model>
|
1020 |
+
Heidelpay/system_config_source_orderstatus</source_model>
|
1021 |
+
<sort_order>70</sort_order>
|
1022 |
+
<show_in_default>1</show_in_default>
|
1023 |
+
<show_in_website>1</show_in_website>
|
1024 |
+
<show_in_store>1</show_in_store>
|
1025 |
+
</payment_status>
|
1026 |
+
<wait_status translate="label">
|
1027 |
+
<label>Waiting status</label>
|
1028 |
+
<frontend_type>select</frontend_type>
|
1029 |
+
<source_model>
|
1030 |
+
Heidelpay/system_config_source_orderstatus</source_model>
|
1031 |
+
<sort_order>80</sort_order>
|
1032 |
+
<show_in_default>1</show_in_default>
|
1033 |
+
<show_in_website>1</show_in_website>
|
1034 |
+
<show_in_store>1</show_in_store>
|
1035 |
+
</wait_status>
|
1036 |
+
<cancel_status translate="label">
|
1037 |
+
<label>Cancel status</label>
|
1038 |
+
<frontend_type>select</frontend_type>
|
1039 |
+
<source_model>
|
1040 |
+
Heidelpay/system_config_source_orderstatus</source_model>
|
1041 |
+
<sort_order>90</sort_order>
|
1042 |
+
<show_in_default>1</show_in_default>
|
1043 |
+
<show_in_website>1</show_in_website>
|
1044 |
+
<show_in_store>1</show_in_store>
|
1045 |
+
</cancel_status>
|
1046 |
+
<error_status translate="label">
|
1047 |
+
<label>Error status</label>
|
1048 |
+
<frontend_type>select</frontend_type>
|
1049 |
+
<source_model>
|
1050 |
+
Heidelpay/system_config_source_orderstatus</source_model>
|
1051 |
+
<sort_order>100</sort_order>
|
1052 |
+
<show_in_default>1</show_in_default>
|
1053 |
+
<show_in_website>1</show_in_website>
|
1054 |
+
<show_in_store>1</show_in_store>
|
1055 |
+
</error_status>
|
1056 |
+
<sort_order translate="label">
|
1057 |
+
<label>Sort order</label>
|
1058 |
+
<frontend_type>text</frontend_type>
|
1059 |
+
<sort_order>110</sort_order>
|
1060 |
+
<show_in_default>1</show_in_default>
|
1061 |
+
<show_in_website>1</show_in_website>
|
1062 |
+
<show_in_store>1</show_in_store>
|
1063 |
+
</sort_order>
|
1064 |
+
<min_amount translate="label">
|
1065 |
+
<label>Minimum Amount (CENT)</label>
|
1066 |
+
<frontend_type>text</frontend_type>
|
1067 |
+
<sort_order>120</sort_order>
|
1068 |
+
<show_in_default>1</show_in_default>
|
1069 |
+
<show_in_website>1</show_in_website>
|
1070 |
+
<show_in_store>1</show_in_store>
|
1071 |
+
</min_amount>
|
1072 |
+
<max_amount translate="label">
|
1073 |
+
<label>Maximum Amount (CENT)</label>
|
1074 |
+
<frontend_type>text</frontend_type>
|
1075 |
+
<sort_order>130</sort_order>
|
1076 |
+
<show_in_default>1</show_in_default>
|
1077 |
+
<show_in_website>1</show_in_website>
|
1078 |
+
<show_in_store>1</show_in_store>
|
1079 |
+
</max_amount>
|
1080 |
+
<allowspecific translate="label">
|
1081 |
+
<label>allow specific countries</label>
|
1082 |
+
<frontend_type>allowspecific</frontend_type>
|
1083 |
+
<sort_order>140</sort_order>
|
1084 |
+
<source_model>
|
1085 |
+
adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1086 |
+
<show_in_default>1</show_in_default>
|
1087 |
+
<show_in_website>1</show_in_website>
|
1088 |
+
<show_in_store>1</show_in_store>
|
1089 |
+
</allowspecific>
|
1090 |
+
<specificcountry translate="label">
|
1091 |
+
<label>specific countries</label>
|
1092 |
+
<frontend_type>multiselect</frontend_type>
|
1093 |
+
<sort_order>150</sort_order>
|
1094 |
+
<source_model>
|
1095 |
+
adminhtml/system_config_source_country</source_model>
|
1096 |
+
<show_in_default>1</show_in_default>
|
1097 |
+
<show_in_website>1</show_in_website>
|
1098 |
+
<show_in_store>1</show_in_store>
|
1099 |
+
</specificcountry>
|
1100 |
+
</fields>
|
1101 |
+
</hpbp>
|
1102 |
+
<!-- }}} -->
|
1103 |
+
<!-- {{{ HPBS -->
|
1104 |
+
<hpbs translate="label">
|
1105 |
+
<label>Heidelpay Billsafe</label>
|
1106 |
+
<frontend_type>text</frontend_type>
|
1107 |
+
<sort_order>100</sort_order>
|
1108 |
+
<show_in_default>1</show_in_default>
|
1109 |
+
<show_in_website>1</show_in_website>
|
1110 |
+
<show_in_store>1</show_in_store>
|
1111 |
+
<fields>
|
1112 |
+
<title translate="label">
|
1113 |
+
<label>Title</label>
|
1114 |
+
<frontend_type>text</frontend_type>
|
1115 |
+
<sort_order>10</sort_order>
|
1116 |
+
<show_in_default>1</show_in_default>
|
1117 |
+
<show_in_website>1</show_in_website>
|
1118 |
+
<show_in_store>1</show_in_store>
|
1119 |
+
</title>
|
1120 |
+
<active translate="label">
|
1121 |
+
<label>Enabled</label>
|
1122 |
+
<frontend_type>select</frontend_type>
|
1123 |
+
<source_model>
|
1124 |
+
adminhtml/system_config_source_yesno</source_model>
|
1125 |
+
<sort_order>20</sort_order>
|
1126 |
+
<show_in_default>1</show_in_default>
|
1127 |
+
<show_in_website>1</show_in_website>
|
1128 |
+
<show_in_store>1</show_in_store>
|
1129 |
+
</active>
|
1130 |
+
<transactionmode translate="label">
|
1131 |
+
<label>Transactionmode</label>
|
1132 |
+
<frontend_type>select</frontend_type>
|
1133 |
+
<source_model>
|
1134 |
+
Heidelpay/system_config_source_transactionmode</source_model>
|
1135 |
+
<sort_order>30</sort_order>
|
1136 |
+
<show_in_default>1</show_in_default>
|
1137 |
+
<show_in_website>1</show_in_website>
|
1138 |
+
<show_in_store>1</show_in_store>
|
1139 |
+
</transactionmode>
|
1140 |
+
<channel translate="label">
|
1141 |
+
<label>Channel ID</label>
|
1142 |
+
<frontend_type>text</frontend_type>
|
1143 |
+
<sort_order>40</sort_order>
|
1144 |
+
<show_in_default>1</show_in_default>
|
1145 |
+
<show_in_website>1</show_in_website>
|
1146 |
+
<show_in_store>1</show_in_store>
|
1147 |
+
</channel>
|
1148 |
+
<order_status translate="label">
|
1149 |
+
<label>Order status</label>
|
1150 |
+
<frontend_type>select</frontend_type>
|
1151 |
+
<source_model>
|
1152 |
+
Heidelpay/system_config_source_orderstatus</source_model>
|
1153 |
+
<sort_order>60</sort_order>
|
1154 |
+
<show_in_default>1</show_in_default>
|
1155 |
+
<show_in_website>1</show_in_website>
|
1156 |
+
<show_in_store>1</show_in_store>
|
1157 |
+
</order_status>
|
1158 |
+
<payment_status translate="label">
|
1159 |
+
<label>Payment status</label>
|
1160 |
+
<frontend_type>select</frontend_type>
|
1161 |
+
<source_model>
|
1162 |
+
Heidelpay/system_config_source_orderstatus</source_model>
|
1163 |
+
<sort_order>70</sort_order>
|
1164 |
+
<show_in_default>1</show_in_default>
|
1165 |
+
<show_in_website>1</show_in_website>
|
1166 |
+
<show_in_store>1</show_in_store>
|
1167 |
+
</payment_status>
|
1168 |
+
<wait_status translate="label">
|
1169 |
+
<label>Waiting status</label>
|
1170 |
+
<frontend_type>select</frontend_type>
|
1171 |
+
<source_model>
|
1172 |
+
Heidelpay/system_config_source_orderstatus</source_model>
|
1173 |
+
<sort_order>80</sort_order>
|
1174 |
+
<show_in_default>1</show_in_default>
|
1175 |
+
<show_in_website>1</show_in_website>
|
1176 |
+
<show_in_store>1</show_in_store>
|
1177 |
+
</wait_status>
|
1178 |
+
<cancel_status translate="label">
|
1179 |
+
<label>Cancel status</label>
|
1180 |
+
<frontend_type>select</frontend_type>
|
1181 |
+
<source_model>
|
1182 |
+
Heidelpay/system_config_source_orderstatus</source_model>
|
1183 |
+
<sort_order>90</sort_order>
|
1184 |
+
<show_in_default>1</show_in_default>
|
1185 |
+
<show_in_website>1</show_in_website>
|
1186 |
+
<show_in_store>1</show_in_store>
|
1187 |
+
</cancel_status>
|
1188 |
+
<error_status translate="label">
|
1189 |
+
<label>Error status</label>
|
1190 |
+
<frontend_type>select</frontend_type>
|
1191 |
+
<source_model>
|
1192 |
+
Heidelpay/system_config_source_orderstatus</source_model>
|
1193 |
+
<sort_order>100</sort_order>
|
1194 |
+
<show_in_default>1</show_in_default>
|
1195 |
+
<show_in_website>1</show_in_website>
|
1196 |
+
<show_in_store>1</show_in_store>
|
1197 |
+
</error_status>
|
1198 |
+
<sort_order translate="label">
|
1199 |
+
<label>Sort order</label>
|
1200 |
+
<frontend_type>text</frontend_type>
|
1201 |
+
<sort_order>110</sort_order>
|
1202 |
+
<show_in_default>1</show_in_default>
|
1203 |
+
<show_in_website>1</show_in_website>
|
1204 |
+
<show_in_store>1</show_in_store>
|
1205 |
+
</sort_order>
|
1206 |
+
<min_amount translate="label">
|
1207 |
+
<label>Minimum Amount (CENT)</label>
|
1208 |
+
<frontend_type>text</frontend_type>
|
1209 |
+
<sort_order>120</sort_order>
|
1210 |
+
<show_in_default>1</show_in_default>
|
1211 |
+
<show_in_website>1</show_in_website>
|
1212 |
+
<show_in_store>1</show_in_store>
|
1213 |
+
</min_amount>
|
1214 |
+
<max_amount translate="label">
|
1215 |
+
<label>Maximum Amount (CENT)</label>
|
1216 |
+
<frontend_type>text</frontend_type>
|
1217 |
+
<sort_order>130</sort_order>
|
1218 |
+
<show_in_default>1</show_in_default>
|
1219 |
+
<show_in_website>1</show_in_website>
|
1220 |
+
<show_in_store>1</show_in_store>
|
1221 |
+
</max_amount>
|
1222 |
+
<allowspecific translate="label">
|
1223 |
+
<label>allow specific countries</label>
|
1224 |
+
<frontend_type>allowspecific</frontend_type>
|
1225 |
+
<sort_order>140</sort_order>
|
1226 |
+
<source_model>
|
1227 |
+
adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1228 |
+
<show_in_default>1</show_in_default>
|
1229 |
+
<show_in_website>1</show_in_website>
|
1230 |
+
<show_in_store>1</show_in_store>
|
1231 |
+
</allowspecific>
|
1232 |
+
<specificcountry translate="label">
|
1233 |
+
<label>specific countries</label>
|
1234 |
+
<frontend_type>multiselect</frontend_type>
|
1235 |
+
<sort_order>150</sort_order>
|
1236 |
+
<source_model>
|
1237 |
+
adminhtml/system_config_source_country</source_model>
|
1238 |
+
<show_in_default>1</show_in_default>
|
1239 |
+
<show_in_website>1</show_in_website>
|
1240 |
+
<show_in_store>1</show_in_store>
|
1241 |
+
</specificcountry>
|
1242 |
+
</fields>
|
1243 |
+
</hpbs>
|
1244 |
+
<!-- }}} -->
|
1245 |
+
<!-- {{{ HPMK -->
|
1246 |
+
<hpmk translate="label">
|
1247 |
+
<label>Heidelpay MangirKart</label>
|
1248 |
+
<frontend_type>text</frontend_type>
|
1249 |
+
<sort_order>100</sort_order>
|
1250 |
+
<show_in_default>1</show_in_default>
|
1251 |
+
<show_in_website>1</show_in_website>
|
1252 |
+
<show_in_store>1</show_in_store>
|
1253 |
+
<fields>
|
1254 |
+
<title translate="label">
|
1255 |
+
<label>Title</label>
|
1256 |
+
<frontend_type>text</frontend_type>
|
1257 |
+
<sort_order>10</sort_order>
|
1258 |
+
<show_in_default>1</show_in_default>
|
1259 |
+
<show_in_website>1</show_in_website>
|
1260 |
+
<show_in_store>1</show_in_store>
|
1261 |
+
</title>
|
1262 |
+
<active translate="label">
|
1263 |
+
<label>Enabled</label>
|
1264 |
+
<frontend_type>select</frontend_type>
|
1265 |
+
<source_model>
|
1266 |
+
adminhtml/system_config_source_yesno</source_model>
|
1267 |
+
<sort_order>20</sort_order>
|
1268 |
+
<show_in_default>1</show_in_default>
|
1269 |
+
<show_in_website>1</show_in_website>
|
1270 |
+
<show_in_store>1</show_in_store>
|
1271 |
+
</active>
|
1272 |
+
<transactionmode translate="label">
|
1273 |
+
<label>Transactionmode</label>
|
1274 |
+
<frontend_type>select</frontend_type>
|
1275 |
+
<source_model>
|
1276 |
+
Heidelpay/system_config_source_transactionmode</source_model>
|
1277 |
+
<sort_order>30</sort_order>
|
1278 |
+
<show_in_default>1</show_in_default>
|
1279 |
+
<show_in_website>1</show_in_website>
|
1280 |
+
<show_in_store>1</show_in_store>
|
1281 |
+
</transactionmode>
|
1282 |
+
<channel translate="label">
|
1283 |
+
<label>Channel ID</label>
|
1284 |
+
<frontend_type>text</frontend_type>
|
1285 |
+
<sort_order>40</sort_order>
|
1286 |
+
<show_in_default>1</show_in_default>
|
1287 |
+
<show_in_website>1</show_in_website>
|
1288 |
+
<show_in_store>1</show_in_store>
|
1289 |
+
</channel>
|
1290 |
+
<order_status translate="label">
|
1291 |
+
<label>Order status</label>
|
1292 |
+
<frontend_type>select</frontend_type>
|
1293 |
+
<source_model>
|
1294 |
+
Heidelpay/system_config_source_orderstatus</source_model>
|
1295 |
+
<sort_order>60</sort_order>
|
1296 |
+
<show_in_default>1</show_in_default>
|
1297 |
+
<show_in_website>1</show_in_website>
|
1298 |
+
<show_in_store>1</show_in_store>
|
1299 |
+
</order_status>
|
1300 |
+
<payment_status translate="label">
|
1301 |
+
<label>Payment status</label>
|
1302 |
+
<frontend_type>select</frontend_type>
|
1303 |
+
<source_model>
|
1304 |
+
Heidelpay/system_config_source_orderstatus</source_model>
|
1305 |
+
<sort_order>70</sort_order>
|
1306 |
+
<show_in_default>1</show_in_default>
|
1307 |
+
<show_in_website>1</show_in_website>
|
1308 |
+
<show_in_store>1</show_in_store>
|
1309 |
+
</payment_status>
|
1310 |
+
<wait_status translate="label">
|
1311 |
+
<label>Waiting status</label>
|
1312 |
+
<frontend_type>select</frontend_type>
|
1313 |
+
<source_model>
|
1314 |
+
Heidelpay/system_config_source_orderstatus</source_model>
|
1315 |
+
<sort_order>80</sort_order>
|
1316 |
+
<show_in_default>1</show_in_default>
|
1317 |
+
<show_in_website>1</show_in_website>
|
1318 |
+
<show_in_store>1</show_in_store>
|
1319 |
+
</wait_status>
|
1320 |
+
<cancel_status translate="label">
|
1321 |
+
<label>Cancel status</label>
|
1322 |
+
<frontend_type>select</frontend_type>
|
1323 |
+
<source_model>
|
1324 |
+
Heidelpay/system_config_source_orderstatus</source_model>
|
1325 |
+
<sort_order>90</sort_order>
|
1326 |
+
<show_in_default>1</show_in_default>
|
1327 |
+
<show_in_website>1</show_in_website>
|
1328 |
+
<show_in_store>1</show_in_store>
|
1329 |
+
</cancel_status>
|
1330 |
+
<error_status translate="label">
|
1331 |
+
<label>Error status</label>
|
1332 |
+
<frontend_type>select</frontend_type>
|
1333 |
+
<source_model>
|
1334 |
+
Heidelpay/system_config_source_orderstatus</source_model>
|
1335 |
+
<sort_order>100</sort_order>
|
1336 |
+
<show_in_default>1</show_in_default>
|
1337 |
+
<show_in_website>1</show_in_website>
|
1338 |
+
<show_in_store>1</show_in_store>
|
1339 |
+
</error_status>
|
1340 |
+
<sort_order translate="label">
|
1341 |
+
<label>Sort order</label>
|
1342 |
+
<frontend_type>text</frontend_type>
|
1343 |
+
<sort_order>110</sort_order>
|
1344 |
+
<show_in_default>1</show_in_default>
|
1345 |
+
<show_in_website>1</show_in_website>
|
1346 |
+
<show_in_store>1</show_in_store>
|
1347 |
+
</sort_order>
|
1348 |
+
<min_amount translate="label">
|
1349 |
+
<label>Minimum Amount (CENT)</label>
|
1350 |
+
<frontend_type>text</frontend_type>
|
1351 |
+
<sort_order>120</sort_order>
|
1352 |
+
<show_in_default>1</show_in_default>
|
1353 |
+
<show_in_website>1</show_in_website>
|
1354 |
+
<show_in_store>1</show_in_store>
|
1355 |
+
</min_amount>
|
1356 |
+
<max_amount translate="label">
|
1357 |
+
<label>Maximum Amount (CENT)</label>
|
1358 |
+
<frontend_type>text</frontend_type>
|
1359 |
+
<sort_order>130</sort_order>
|
1360 |
+
<show_in_default>1</show_in_default>
|
1361 |
+
<show_in_website>1</show_in_website>
|
1362 |
+
<show_in_store>1</show_in_store>
|
1363 |
+
</max_amount>
|
1364 |
+
<allowspecific translate="label">
|
1365 |
+
<label>allow specific countries</label>
|
1366 |
+
<frontend_type>allowspecific</frontend_type>
|
1367 |
+
<sort_order>140</sort_order>
|
1368 |
+
<source_model>
|
1369 |
+
adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1370 |
+
<show_in_default>1</show_in_default>
|
1371 |
+
<show_in_website>1</show_in_website>
|
1372 |
+
<show_in_store>1</show_in_store>
|
1373 |
+
</allowspecific>
|
1374 |
+
<specificcountry translate="label">
|
1375 |
+
<label>specific countries</label>
|
1376 |
+
<frontend_type>multiselect</frontend_type>
|
1377 |
+
<sort_order>150</sort_order>
|
1378 |
+
<source_model>
|
1379 |
+
adminhtml/system_config_source_country</source_model>
|
1380 |
+
<show_in_default>1</show_in_default>
|
1381 |
+
<show_in_website>1</show_in_website>
|
1382 |
+
<show_in_store>1</show_in_store>
|
1383 |
+
</specificcountry>
|
1384 |
+
</fields>
|
1385 |
+
</hpmk>
|
1386 |
+
<!-- }}} -->
|
1387 |
<!-- {{{ HPPPAL -->
|
1388 |
<hpppal translate="label">
|
1389 |
<label>Heidelpay Pay Pal</label>
|
1391 |
<sort_order>100</sort_order>
|
1392 |
<show_in_default>1</show_in_default>
|
1393 |
<show_in_website>1</show_in_website>
|
1394 |
+
<show_in_store>1</show_in_store>
|
1395 |
<fields>
|
1396 |
<title translate="label">
|
1397 |
<label>Title</label>
|
1399 |
<sort_order>10</sort_order>
|
1400 |
<show_in_default>1</show_in_default>
|
1401 |
<show_in_website>1</show_in_website>
|
1402 |
+
<show_in_store>1</show_in_store>
|
1403 |
</title>
|
1404 |
<active translate="label">
|
1405 |
<label>Enabled</label>
|
1408 |
<sort_order>20</sort_order>
|
1409 |
<show_in_default>1</show_in_default>
|
1410 |
<show_in_website>1</show_in_website>
|
1411 |
+
<show_in_store>1</show_in_store>
|
1412 |
</active>
|
1413 |
<transactionmode translate="label">
|
1414 |
<label>Transactionmode</label>
|
1417 |
<sort_order>30</sort_order>
|
1418 |
<show_in_default>1</show_in_default>
|
1419 |
<show_in_website>1</show_in_website>
|
1420 |
+
<show_in_store>1</show_in_store>
|
1421 |
</transactionmode>
|
1422 |
<channel translate="label">
|
1423 |
<label>Channel ID</label>
|
1425 |
<sort_order>40</sort_order>
|
1426 |
<show_in_default>1</show_in_default>
|
1427 |
<show_in_website>1</show_in_website>
|
1428 |
+
<show_in_store>1</show_in_store>
|
1429 |
</channel>
|
1430 |
<order_status translate="label">
|
1431 |
<label>Order status</label>
|
1434 |
<sort_order>60</sort_order>
|
1435 |
<show_in_default>1</show_in_default>
|
1436 |
<show_in_website>1</show_in_website>
|
1437 |
+
<show_in_store>1</show_in_store>
|
1438 |
</order_status>
|
1439 |
<payment_status translate="label">
|
1440 |
<label>Payment status</label>
|
1443 |
<sort_order>70</sort_order>
|
1444 |
<show_in_default>1</show_in_default>
|
1445 |
<show_in_website>1</show_in_website>
|
1446 |
+
<show_in_store>1</show_in_store>
|
1447 |
</payment_status>
|
1448 |
<wait_status translate="label">
|
1449 |
<label>Waiting status</label>
|
1452 |
<sort_order>80</sort_order>
|
1453 |
<show_in_default>1</show_in_default>
|
1454 |
<show_in_website>1</show_in_website>
|
1455 |
+
<show_in_store>1</show_in_store>
|
1456 |
</wait_status>
|
1457 |
<cancel_status translate="label">
|
1458 |
<label>Cancel status</label>
|
1461 |
<sort_order>90</sort_order>
|
1462 |
<show_in_default>1</show_in_default>
|
1463 |
<show_in_website>1</show_in_website>
|
1464 |
+
<show_in_store>1</show_in_store>
|
1465 |
</cancel_status>
|
1466 |
<error_status translate="label">
|
1467 |
<label>Error status</label>
|
1470 |
<sort_order>100</sort_order>
|
1471 |
<show_in_default>1</show_in_default>
|
1472 |
<show_in_website>1</show_in_website>
|
1473 |
+
<show_in_store>1</show_in_store>
|
1474 |
</error_status>
|
1475 |
<sort_order translate="label">
|
1476 |
<label>Sort order</label>
|
1478 |
<sort_order>110</sort_order>
|
1479 |
<show_in_default>1</show_in_default>
|
1480 |
<show_in_website>1</show_in_website>
|
1481 |
+
<show_in_store>1</show_in_store>
|
1482 |
</sort_order>
|
1483 |
<min_amount translate="label">
|
1484 |
<label>Minimum Amount (CENT)</label>
|
1486 |
<sort_order>120</sort_order>
|
1487 |
<show_in_default>1</show_in_default>
|
1488 |
<show_in_website>1</show_in_website>
|
1489 |
+
<show_in_store>1</show_in_store>
|
1490 |
</min_amount>
|
1491 |
<max_amount translate="label">
|
1492 |
<label>Maximum Amount (CENT)</label>
|
1494 |
<sort_order>130</sort_order>
|
1495 |
<show_in_default>1</show_in_default>
|
1496 |
<show_in_website>1</show_in_website>
|
1497 |
+
<show_in_store>1</show_in_store>
|
1498 |
</max_amount>
|
1499 |
<allowspecific translate="label">
|
1500 |
<label>allow specific countries</label>
|
1524 |
<sort_order>100</sort_order>
|
1525 |
<show_in_default>1</show_in_default>
|
1526 |
<show_in_website>1</show_in_website>
|
1527 |
+
<show_in_store>1</show_in_store>
|
1528 |
<fields>
|
1529 |
<title translate="label">
|
1530 |
<label>Title</label>
|
1532 |
<sort_order>10</sort_order>
|
1533 |
<show_in_default>1</show_in_default>
|
1534 |
<show_in_website>1</show_in_website>
|
1535 |
+
<show_in_store>1</show_in_store>
|
1536 |
</title>
|
1537 |
<active translate="label">
|
1538 |
<label>Enabled</label>
|
1541 |
<sort_order>20</sort_order>
|
1542 |
<show_in_default>1</show_in_default>
|
1543 |
<show_in_website>1</show_in_website>
|
1544 |
+
<show_in_store>1</show_in_store>
|
1545 |
</active>
|
1546 |
<transactionmode translate="label">
|
1547 |
<label>Transactionmode</label>
|
1550 |
<sort_order>30</sort_order>
|
1551 |
<show_in_default>1</show_in_default>
|
1552 |
<show_in_website>1</show_in_website>
|
1553 |
+
<show_in_store>1</show_in_store>
|
1554 |
</transactionmode>
|
1555 |
<channel translate="label">
|
1556 |
<label>Channel ID</label>
|
1558 |
<sort_order>40</sort_order>
|
1559 |
<show_in_default>1</show_in_default>
|
1560 |
<show_in_website>1</show_in_website>
|
1561 |
+
<show_in_store>1</show_in_store>
|
1562 |
</channel>
|
1563 |
<order_status translate="label">
|
1564 |
<label>Order status</label>
|
1567 |
<sort_order>60</sort_order>
|
1568 |
<show_in_default>1</show_in_default>
|
1569 |
<show_in_website>1</show_in_website>
|
1570 |
+
<show_in_store>1</show_in_store>
|
1571 |
</order_status>
|
1572 |
<payment_status translate="label">
|
1573 |
<label>Payment status</label>
|
1576 |
<sort_order>70</sort_order>
|
1577 |
<show_in_default>1</show_in_default>
|
1578 |
<show_in_website>1</show_in_website>
|
1579 |
+
<show_in_store>1</show_in_store>
|
1580 |
</payment_status>
|
1581 |
<wait_status translate="label">
|
1582 |
<label>Waiting status</label>
|
1585 |
<sort_order>80</sort_order>
|
1586 |
<show_in_default>1</show_in_default>
|
1587 |
<show_in_website>1</show_in_website>
|
1588 |
+
<show_in_store>1</show_in_store>
|
1589 |
</wait_status>
|
1590 |
<cancel_status translate="label">
|
1591 |
<label>Cancel status</label>
|
1594 |
<sort_order>90</sort_order>
|
1595 |
<show_in_default>1</show_in_default>
|
1596 |
<show_in_website>1</show_in_website>
|
1597 |
+
<show_in_store>1</show_in_store>
|
1598 |
</cancel_status>
|
1599 |
<error_status translate="label">
|
1600 |
<label>Error status</label>
|
1603 |
<sort_order>100</sort_order>
|
1604 |
<show_in_default>1</show_in_default>
|
1605 |
<show_in_website>1</show_in_website>
|
1606 |
+
<show_in_store>1</show_in_store>
|
1607 |
</error_status>
|
1608 |
<sort_order translate="label">
|
1609 |
<label>Sort order</label>
|
1611 |
<sort_order>110</sort_order>
|
1612 |
<show_in_default>1</show_in_default>
|
1613 |
<show_in_website>1</show_in_website>
|
1614 |
+
<show_in_store>1</show_in_store>
|
1615 |
</sort_order>
|
1616 |
<min_amount translate="label">
|
1617 |
<label>Minimum Amount (CENT)</label>
|
1619 |
<sort_order>120</sort_order>
|
1620 |
<show_in_default>1</show_in_default>
|
1621 |
<show_in_website>1</show_in_website>
|
1622 |
+
<show_in_store>1</show_in_store>
|
1623 |
</min_amount>
|
1624 |
<max_amount translate="label">
|
1625 |
<label>Maximum Amount (CENT)</label>
|
1627 |
<sort_order>130</sort_order>
|
1628 |
<show_in_default>1</show_in_default>
|
1629 |
<show_in_website>1</show_in_website>
|
1630 |
+
<show_in_store>1</show_in_store>
|
1631 |
</max_amount>
|
1632 |
<allowspecific translate="label">
|
1633 |
<label>allow specific countries</label>
|
1657 |
<sort_order>100</sort_order>
|
1658 |
<show_in_default>1</show_in_default>
|
1659 |
<show_in_website>1</show_in_website>
|
1660 |
+
<show_in_store>1</show_in_store>
|
1661 |
<fields>
|
1662 |
<title translate="label">
|
1663 |
<label>Title</label>
|
1665 |
<sort_order>10</sort_order>
|
1666 |
<show_in_default>1</show_in_default>
|
1667 |
<show_in_website>1</show_in_website>
|
1668 |
+
<show_in_store>1</show_in_store>
|
1669 |
</title>
|
1670 |
<active translate="label">
|
1671 |
<label>Enabled</label>
|
1674 |
<sort_order>20</sort_order>
|
1675 |
<show_in_default>1</show_in_default>
|
1676 |
<show_in_website>1</show_in_website>
|
1677 |
+
<show_in_store>1</show_in_store>
|
1678 |
</active>
|
1679 |
<transactionmode translate="label">
|
1680 |
<label>Transactionmode</label>
|
1683 |
<sort_order>30</sort_order>
|
1684 |
<show_in_default>1</show_in_default>
|
1685 |
<show_in_website>1</show_in_website>
|
1686 |
+
<show_in_store>1</show_in_store>
|
1687 |
</transactionmode>
|
1688 |
<channel translate="label">
|
1689 |
<label>Channel ID</label>
|
1691 |
<sort_order>40</sort_order>
|
1692 |
<show_in_default>1</show_in_default>
|
1693 |
<show_in_website>1</show_in_website>
|
1694 |
+
<show_in_store>1</show_in_store>
|
1695 |
</channel>
|
1696 |
<order_status translate="label">
|
1697 |
<label>Order status</label>
|
1700 |
<sort_order>60</sort_order>
|
1701 |
<show_in_default>1</show_in_default>
|
1702 |
<show_in_website>1</show_in_website>
|
1703 |
+
<show_in_store>1</show_in_store>
|
1704 |
</order_status>
|
1705 |
<payment_status translate="label">
|
1706 |
<label>Payment status</label>
|
1709 |
<sort_order>70</sort_order>
|
1710 |
<show_in_default>1</show_in_default>
|
1711 |
<show_in_website>1</show_in_website>
|
1712 |
+
<show_in_store>1</show_in_store>
|
1713 |
</payment_status>
|
1714 |
<wait_status translate="label">
|
1715 |
<label>Waiting status</label>
|
1718 |
<sort_order>80</sort_order>
|
1719 |
<show_in_default>1</show_in_default>
|
1720 |
<show_in_website>1</show_in_website>
|
1721 |
+
<show_in_store>1</show_in_store>
|
1722 |
</wait_status>
|
1723 |
<cancel_status translate="label">
|
1724 |
<label>Cancel status</label>
|
1727 |
<sort_order>90</sort_order>
|
1728 |
<show_in_default>1</show_in_default>
|
1729 |
<show_in_website>1</show_in_website>
|
1730 |
+
<show_in_store>1</show_in_store>
|
1731 |
</cancel_status>
|
1732 |
<error_status translate="label">
|
1733 |
<label>Error status</label>
|
1736 |
<sort_order>100</sort_order>
|
1737 |
<show_in_default>1</show_in_default>
|
1738 |
<show_in_website>1</show_in_website>
|
1739 |
+
<show_in_store>1</show_in_store>
|
1740 |
</error_status>
|
1741 |
<sort_order translate="label">
|
1742 |
<label>Sort order</label>
|
1744 |
<sort_order>110</sort_order>
|
1745 |
<show_in_default>1</show_in_default>
|
1746 |
<show_in_website>1</show_in_website>
|
1747 |
+
<show_in_store>1</show_in_store>
|
1748 |
</sort_order>
|
1749 |
<min_amount translate="label">
|
1750 |
<label>Minimum Amount (CENT)</label>
|
1752 |
<sort_order>120</sort_order>
|
1753 |
<show_in_default>1</show_in_default>
|
1754 |
<show_in_website>1</show_in_website>
|
1755 |
+
<show_in_store>1</show_in_store>
|
1756 |
</min_amount>
|
1757 |
<max_amount translate="label">
|
1758 |
<label>Maximum Amount (CENT)</label>
|
1760 |
<sort_order>130</sort_order>
|
1761 |
<show_in_default>1</show_in_default>
|
1762 |
<show_in_website>1</show_in_website>
|
1763 |
+
<show_in_store>1</show_in_store>
|
1764 |
</max_amount>
|
1765 |
<allowspecific translate="label">
|
1766 |
<label>allow specific countries</label>
|
1790 |
<sort_order>100</sort_order>
|
1791 |
<show_in_default>1</show_in_default>
|
1792 |
<show_in_website>1</show_in_website>
|
1793 |
+
<show_in_store>1</show_in_store>
|
1794 |
<fields>
|
1795 |
<title translate="label">
|
1796 |
<label>Title</label>
|
1798 |
<sort_order>10</sort_order>
|
1799 |
<show_in_default>1</show_in_default>
|
1800 |
<show_in_website>1</show_in_website>
|
1801 |
+
<show_in_store>1</show_in_store>
|
1802 |
</title>
|
1803 |
<active translate="label">
|
1804 |
<label>Enabled</label>
|
1807 |
<sort_order>20</sort_order>
|
1808 |
<show_in_default>1</show_in_default>
|
1809 |
<show_in_website>1</show_in_website>
|
1810 |
+
<show_in_store>1</show_in_store>
|
1811 |
</active>
|
1812 |
<transactionmode translate="label">
|
1813 |
<label>Transactionmode</label>
|
1816 |
<sort_order>30</sort_order>
|
1817 |
<show_in_default>1</show_in_default>
|
1818 |
<show_in_website>1</show_in_website>
|
1819 |
+
<show_in_store>1</show_in_store>
|
1820 |
</transactionmode>
|
1821 |
<channel translate="label">
|
1822 |
<label>Channel ID</label>
|
1824 |
<sort_order>40</sort_order>
|
1825 |
<show_in_default>1</show_in_default>
|
1826 |
<show_in_website>1</show_in_website>
|
1827 |
+
<show_in_store>1</show_in_store>
|
1828 |
</channel>
|
1829 |
<order_status translate="label">
|
1830 |
<label>Order status</label>
|
1833 |
<sort_order>60</sort_order>
|
1834 |
<show_in_default>1</show_in_default>
|
1835 |
<show_in_website>1</show_in_website>
|
1836 |
+
<show_in_store>1</show_in_store>
|
1837 |
</order_status>
|
1838 |
<payment_status translate="label">
|
1839 |
<label>Payment status</label>
|
1842 |
<sort_order>70</sort_order>
|
1843 |
<show_in_default>1</show_in_default>
|
1844 |
<show_in_website>1</show_in_website>
|
1845 |
+
<show_in_store>1</show_in_store>
|
1846 |
</payment_status>
|
1847 |
<wait_status translate="label">
|
1848 |
<label>Waiting status</label>
|
1851 |
<sort_order>80</sort_order>
|
1852 |
<show_in_default>1</show_in_default>
|
1853 |
<show_in_website>1</show_in_website>
|
1854 |
+
<show_in_store>1</show_in_store>
|
1855 |
</wait_status>
|
1856 |
<cancel_status translate="label">
|
1857 |
<label>Cancel status</label>
|
1860 |
<sort_order>90</sort_order>
|
1861 |
<show_in_default>1</show_in_default>
|
1862 |
<show_in_website>1</show_in_website>
|
1863 |
+
<show_in_store>1</show_in_store>
|
1864 |
</cancel_status>
|
1865 |
<error_status translate="label">
|
1866 |
<label>Error status</label>
|
1869 |
<sort_order>100</sort_order>
|
1870 |
<show_in_default>1</show_in_default>
|
1871 |
<show_in_website>1</show_in_website>
|
1872 |
+
<show_in_store>1</show_in_store>
|
1873 |
</error_status>
|
1874 |
<sort_order translate="label">
|
1875 |
<label>Sort order</label>
|
1877 |
<sort_order>110</sort_order>
|
1878 |
<show_in_default>1</show_in_default>
|
1879 |
<show_in_website>1</show_in_website>
|
1880 |
+
<show_in_store>1</show_in_store>
|
1881 |
</sort_order>
|
1882 |
<min_amount translate="label">
|
1883 |
<label>Minimum Amount (CENT)</label>
|
1885 |
<sort_order>120</sort_order>
|
1886 |
<show_in_default>1</show_in_default>
|
1887 |
<show_in_website>1</show_in_website>
|
1888 |
+
<show_in_store>1</show_in_store>
|
1889 |
</min_amount>
|
1890 |
<max_amount translate="label">
|
1891 |
<label>Maximum Amount (CENT)</label>
|
1893 |
<sort_order>130</sort_order>
|
1894 |
<show_in_default>1</show_in_default>
|
1895 |
<show_in_website>1</show_in_website>
|
1896 |
+
<show_in_store>1</show_in_store>
|
1897 |
</max_amount>
|
1898 |
<allowspecific translate="label">
|
1899 |
<label>allow specific countries</label>
|
1923 |
<sort_order>100</sort_order>
|
1924 |
<show_in_default>1</show_in_default>
|
1925 |
<show_in_website>1</show_in_website>
|
1926 |
+
<show_in_store>1</show_in_store>
|
1927 |
<fields>
|
1928 |
<title translate="label">
|
1929 |
<label>Title</label>
|
1931 |
<sort_order>10</sort_order>
|
1932 |
<show_in_default>1</show_in_default>
|
1933 |
<show_in_website>1</show_in_website>
|
1934 |
+
<show_in_store>1</show_in_store>
|
1935 |
</title>
|
1936 |
<active translate="label">
|
1937 |
<label>Enabled</label>
|
1940 |
<sort_order>20</sort_order>
|
1941 |
<show_in_default>1</show_in_default>
|
1942 |
<show_in_website>1</show_in_website>
|
1943 |
+
<show_in_store>1</show_in_store>
|
1944 |
</active>
|
1945 |
<transactionmode translate="label">
|
1946 |
<label>Transactionmode</label>
|
1949 |
<sort_order>30</sort_order>
|
1950 |
<show_in_default>1</show_in_default>
|
1951 |
<show_in_website>1</show_in_website>
|
1952 |
+
<show_in_store>1</show_in_store>
|
1953 |
</transactionmode>
|
1954 |
<channel translate="label">
|
1955 |
<label>Channel ID</label>
|
1957 |
<sort_order>40</sort_order>
|
1958 |
<show_in_default>1</show_in_default>
|
1959 |
<show_in_website>1</show_in_website>
|
1960 |
+
<show_in_store>1</show_in_store>
|
1961 |
</channel>
|
1962 |
<order_status translate="label">
|
1963 |
<label>Order status</label>
|
1966 |
<sort_order>60</sort_order>
|
1967 |
<show_in_default>1</show_in_default>
|
1968 |
<show_in_website>1</show_in_website>
|
1969 |
+
<show_in_store>1</show_in_store>
|
1970 |
</order_status>
|
1971 |
<payment_status translate="label">
|
1972 |
<label>Payment status</label>
|
1975 |
<sort_order>70</sort_order>
|
1976 |
<show_in_default>1</show_in_default>
|
1977 |
<show_in_website>1</show_in_website>
|
1978 |
+
<show_in_store>1</show_in_store>
|
1979 |
</payment_status>
|
1980 |
<wait_status translate="label">
|
1981 |
<label>Waiting status</label>
|
1984 |
<sort_order>80</sort_order>
|
1985 |
<show_in_default>1</show_in_default>
|
1986 |
<show_in_website>1</show_in_website>
|
1987 |
+
<show_in_store>1</show_in_store>
|
1988 |
</wait_status>
|
1989 |
<cancel_status translate="label">
|
1990 |
<label>Cancel status</label>
|
1993 |
<sort_order>90</sort_order>
|
1994 |
<show_in_default>1</show_in_default>
|
1995 |
<show_in_website>1</show_in_website>
|
1996 |
+
<show_in_store>1</show_in_store>
|
1997 |
</cancel_status>
|
1998 |
<error_status translate="label">
|
1999 |
<label>Error status</label>
|
2002 |
<sort_order>100</sort_order>
|
2003 |
<show_in_default>1</show_in_default>
|
2004 |
<show_in_website>1</show_in_website>
|
2005 |
+
<show_in_store>1</show_in_store>
|
2006 |
</error_status>
|
2007 |
<sort_order translate="label">
|
2008 |
<label>Sort order</label>
|
2010 |
<sort_order>110</sort_order>
|
2011 |
<show_in_default>1</show_in_default>
|
2012 |
<show_in_website>1</show_in_website>
|
2013 |
+
<show_in_store>1</show_in_store>
|
2014 |
</sort_order>
|
2015 |
<min_amount translate="label">
|
2016 |
<label>Minimum Amount (CENT)</label>
|
2018 |
<sort_order>120</sort_order>
|
2019 |
<show_in_default>1</show_in_default>
|
2020 |
<show_in_website>1</show_in_website>
|
2021 |
+
<show_in_store>1</show_in_store>
|
2022 |
</min_amount>
|
2023 |
<max_amount translate="label">
|
2024 |
<label>Maximum Amount (CENT)</label>
|
2026 |
<sort_order>130</sort_order>
|
2027 |
<show_in_default>1</show_in_default>
|
2028 |
<show_in_website>1</show_in_website>
|
2029 |
+
<show_in_store>1</show_in_store>
|
2030 |
</max_amount>
|
2031 |
<allowspecific translate="label">
|
2032 |
<label>allow specific countries</label>
|
app/code/local/Mage/Heidelpay/sql/heidelpay_setup/mysql4-install-1.0.0.php
CHANGED
@@ -90,6 +90,61 @@ $newAttributes = array(
|
|
90 |
'default' => '',
|
91 |
'position' => '0'
|
92 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
// Debit Card Data
|
94 |
'heidelpay_dcard_unique_id' => array(
|
95 |
'type' => 'varchar',
|
90 |
'default' => '',
|
91 |
'position' => '0'
|
92 |
),
|
93 |
+
// Credit Card X Data
|
94 |
+
'heidelpay_xcard_unique_id' => array(
|
95 |
+
'type' => 'varchar',
|
96 |
+
'input' => 'label',
|
97 |
+
'label' => 'Heidelpay Creditcard X Unique ID',
|
98 |
+
'global' => 1,
|
99 |
+
'required' => 0,
|
100 |
+
'default' => '',
|
101 |
+
'position' => '0'
|
102 |
+
),
|
103 |
+
'heidelpay_xcard_payment_type' => array(
|
104 |
+
'type' => 'varchar',
|
105 |
+
'input' => 'label',
|
106 |
+
'label' => 'Heidelpay Creditcard X Payment Type',
|
107 |
+
'global' => 1,
|
108 |
+
'required' => 0,
|
109 |
+
'default' => '',
|
110 |
+
'position' => '0'
|
111 |
+
),
|
112 |
+
'heidelpay_xcard' => array(
|
113 |
+
'type' => 'varchar',
|
114 |
+
'input' => 'label',
|
115 |
+
'label' => 'Heidelpay Creditcard X',
|
116 |
+
'global' => 1,
|
117 |
+
'required' => 0,
|
118 |
+
'default' => '',
|
119 |
+
'position' => '0'
|
120 |
+
),
|
121 |
+
'heidelpay_xcard_valid_until' => array(
|
122 |
+
'type' => 'varchar',
|
123 |
+
'input' => 'label',
|
124 |
+
'label' => 'Heidelpay Creditcard X valid until',
|
125 |
+
'global' => 1,
|
126 |
+
'required' => 0,
|
127 |
+
'default' => '',
|
128 |
+
'position' => '0'
|
129 |
+
),
|
130 |
+
'heidelpay_xcard_brand' => array(
|
131 |
+
'type' => 'varchar',
|
132 |
+
'input' => 'label',
|
133 |
+
'label' => 'Heidelpay Creditcard X Brand',
|
134 |
+
'global' => 1,
|
135 |
+
'required' => 0,
|
136 |
+
'default' => '',
|
137 |
+
'position' => '0'
|
138 |
+
),
|
139 |
+
'heidelpay_xcard_holder' => array(
|
140 |
+
'type' => 'varchar',
|
141 |
+
'input' => 'label',
|
142 |
+
'label' => 'Heidelpay Creditcard X Holder',
|
143 |
+
'global' => 1,
|
144 |
+
'required' => 0,
|
145 |
+
'default' => '',
|
146 |
+
'position' => '0'
|
147 |
+
),
|
148 |
// Debit Card Data
|
149 |
'heidelpay_dcard_unique_id' => array(
|
150 |
'type' => 'varchar',
|
app/design/frontend/base/default/template/heidelpay/form/barpay.phtml
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<fieldset class="form-list">
|
2 |
+
<?php $_code=$this->getMethodCode()?>
|
3 |
+
<ul id="payment_form_<?php echo $_code?>" style="display:none">
|
4 |
+
<li>
|
5 |
+
<div><?php echo $this->getMethod()->getLightbox(true);?></div>
|
6 |
+
</li>
|
7 |
+
</ul>
|
8 |
+
</fieldset>
|
9 |
+
<script type="text/javascript">
|
10 |
+
if($$('#checkout-payment-method-load #p_method_<?php print $_code; ?>').length > 0){
|
11 |
+
$('checkout-payment-method-load').observe('change', function(event){
|
12 |
+
if($('p_method_<?php print $_code; ?>').checked){
|
13 |
+
$$('#payment-buttons-container button').first().show();
|
14 |
+
}
|
15 |
+
});
|
16 |
+
}
|
17 |
+
</script>
|
app/design/frontend/base/default/template/heidelpay/form/billsafe.phtml
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<fieldset class="form-list">
|
2 |
+
<?php $_code=$this->getMethodCode()?>
|
3 |
+
<ul id="payment_form_<?php echo $_code?>" style="display:none">
|
4 |
+
<li>
|
5 |
+
<div class="input-box"><?php echo $this->__('DescBillsafe')?><?php echo $this->getMethod()->getLightbox(true);?></div>
|
6 |
+
</li>
|
7 |
+
</ul>
|
8 |
+
</fieldset>
|
9 |
+
<script type="text/javascript">
|
10 |
+
if($$('#checkout-payment-method-load #p_method_<?php print $_code; ?>').length > 0){
|
11 |
+
$('checkout-payment-method-load').observe('change', function(event){
|
12 |
+
if($('p_method_<?php print $_code; ?>').checked){
|
13 |
+
$$('#payment-buttons-container button').first().show();
|
14 |
+
}
|
15 |
+
});
|
16 |
+
}
|
17 |
+
</script>
|
app/design/frontend/base/default/template/heidelpay/form/ccard.phtml
CHANGED
@@ -6,4 +6,82 @@
|
|
6 |
</li>
|
7 |
</ul>
|
8 |
</fieldset>
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
</li>
|
7 |
</ul>
|
8 |
</fieldset>
|
9 |
+
<script type="text/javascript">
|
10 |
+
if($('p_method_hpcc').checked){
|
11 |
+
$('payment_form_hpcc').show();
|
12 |
+
}
|
13 |
+
|
14 |
+
if($$('#checkout-payment-method-load #p_method_hpcc').length > 0){
|
15 |
+
$('checkout-payment-method-load').observe('change', function(event){
|
16 |
+
var actPayment = $$('input:checked[type=radio][name=\'payment[method]\']')[0].id;
|
17 |
+
if(actPayment.indexOf('_hp') == '-1'){
|
18 |
+
$$('#payment-buttons-container button').first().show();
|
19 |
+
}
|
20 |
+
if($('payment_form_hpcc').visible()){
|
21 |
+
if($$('#payment_form_hpcc #heidelpay_use_ccard').length == 0){
|
22 |
+
if($('p_method_hpcc').checked){
|
23 |
+
$$('#payment-buttons-container button').first().hide();
|
24 |
+
}
|
25 |
+
if($$('#payment_form_hpcc iframe').length == 0){ $$('#payment-buttons-container button').first().show(); }
|
26 |
+
}else{
|
27 |
+
if(($F('p_method_hpcc') == 'hpcc') && !($F('heidelpay_use_ccard') == 1)){
|
28 |
+
$$('#payment-buttons-container button').first().show();
|
29 |
+
if($$('#payment_form_hpcc iframe').length > 0){
|
30 |
+
$$('#payment-buttons-container button').first().hide();
|
31 |
+
}
|
32 |
+
}
|
33 |
+
if(($F('p_method_hpcc') == 'hpcc') && ($F('heidelpay_use_ccard') == 1)){
|
34 |
+
$$('#payment-buttons-container button').first().show();
|
35 |
+
}
|
36 |
+
}
|
37 |
+
}
|
38 |
+
});
|
39 |
+
|
40 |
+
if($$('#payment_form_hpcc #heidelpay_use_ccard').length != 0){
|
41 |
+
$('heidelpay_use_ccard').observe('change', function(event){
|
42 |
+
if($F('heidelpay_use_ccard') == 1){
|
43 |
+
$$('#payment-buttons-container button').first().show();
|
44 |
+
}else{
|
45 |
+
$$('#payment-buttons-container button').first().hide();
|
46 |
+
}
|
47 |
+
});
|
48 |
+
}
|
49 |
+
if($$('#payment_form_hpcc iframe').length > 0){
|
50 |
+
$$('#payment_form_hpcc iframe').first().writeAttribute('width','620');
|
51 |
+
$$('#payment_form_hpcc iframe').first().writeAttribute('height','300');
|
52 |
+
$$('#payment_form_hpcc iframe').first().writeAttribute('allowtransparency',true);
|
53 |
+
}
|
54 |
+
}
|
55 |
+
|
56 |
+
$$('#opc-payment.allow .step-title').first().observe('click', function(event){
|
57 |
+
if($$('#opc-payment.allow #checkout-step-payment').length > 0){
|
58 |
+
$$('#opc-payment.allow #checkout-step-payment').first().hide();
|
59 |
+
}
|
60 |
+
$('opc-payment').removeClassName('active');
|
61 |
+
$('opc-payment').removeClassName('allow');
|
62 |
+
|
63 |
+
shippingMethod.save();
|
64 |
+
var loading = '<img id="loading-gif" style="margin-top: 35%;" src="<?php print Mage::getBaseUrl(); ?>../skin/adminhtml/default/default/images/ajax-loader-tr.gif" />';
|
65 |
+
if($$('#window-overlay img').length < 1){
|
66 |
+
$('window-overlay').insert(loading);
|
67 |
+
}
|
68 |
+
$('window-overlay').show();
|
69 |
+
check.delay(1, 0);
|
70 |
+
|
71 |
+
function check(i){
|
72 |
+
if($('opc-payment').hasClassName('allow')){
|
73 |
+
$('window-overlay').hide();
|
74 |
+
$('loading-gif').remove();
|
75 |
+
$$('#opc-payment.allow #checkout-step-payment').first().show();
|
76 |
+
}else{
|
77 |
+
if(i<5){
|
78 |
+
i++;
|
79 |
+
check.delay(1, i);
|
80 |
+
}else{
|
81 |
+
shippingMethod.save();
|
82 |
+
check.delay(1, 0);
|
83 |
+
}
|
84 |
+
}
|
85 |
+
}
|
86 |
+
});
|
87 |
+
</script>
|
app/design/frontend/base/default/template/heidelpay/form/debitcard.phtml
CHANGED
@@ -6,4 +6,82 @@
|
|
6 |
</li>
|
7 |
</ul>
|
8 |
</fieldset>
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
</li>
|
7 |
</ul>
|
8 |
</fieldset>
|
9 |
+
<script type="text/javascript">
|
10 |
+
if($('p_method_hpdc').checked){
|
11 |
+
$('payment_form_hpdc').show();
|
12 |
+
}
|
13 |
+
|
14 |
+
if($$('#checkout-payment-method-load #p_method_hpdc').length > 0){
|
15 |
+
$('checkout-payment-method-load').observe('change', function(event){
|
16 |
+
var actPayment = $$('input:checked[type=radio][name=\'payment[method]\']')[0].id;
|
17 |
+
if(actPayment.indexOf('_hp') == '-1'){
|
18 |
+
$$('#payment-buttons-container button').first().show();
|
19 |
+
}
|
20 |
+
if($('payment_form_hpdc').visible()){
|
21 |
+
if($$('#payment_form_hpdc #heidelpay_use_dcard').length == 0){
|
22 |
+
if($('p_method_hpdc').checked){
|
23 |
+
$$('#payment-buttons-container button').first().hide();
|
24 |
+
}
|
25 |
+
if($$('#payment_form_hpdc iframe').length == 0){ $$('#payment-buttons-container button').first().show(); }
|
26 |
+
}else{
|
27 |
+
if(($F('p_method_hpdc') == 'hpdc') && !($F('heidelpay_use_dcard') == 1)){
|
28 |
+
$$('#payment-buttons-container button').first().show();
|
29 |
+
if($$('#payment_form_hpdc iframe').length > 0){
|
30 |
+
$$('#payment-buttons-container button').first().hide();
|
31 |
+
}
|
32 |
+
}
|
33 |
+
if(($F('p_method_hpdc') == 'hpdc') && ($F('heidelpay_use_dcard') == 1)){
|
34 |
+
$$('#payment-buttons-container button').first().show();
|
35 |
+
}
|
36 |
+
}
|
37 |
+
}
|
38 |
+
});
|
39 |
+
|
40 |
+
if($$('#payment_form_hpdc #heidelpay_use_dcard').length != 0){
|
41 |
+
$('heidelpay_use_dcard').observe('change', function(event){
|
42 |
+
if($F('heidelpay_use_dcard') == 1){
|
43 |
+
$$('#payment-buttons-container button').first().show();
|
44 |
+
}else{
|
45 |
+
$$('#payment-buttons-container button').first().hide();
|
46 |
+
}
|
47 |
+
});
|
48 |
+
}
|
49 |
+
if($$('#payment_form_hpdc iframe').length > 0){
|
50 |
+
$$('#payment_form_hpdc iframe').first().writeAttribute('width','620');
|
51 |
+
$$('#payment_form_hpdc iframe').first().writeAttribute('height','300');
|
52 |
+
$$('#payment_form_hpdc iframe').first().writeAttribute('allowtransparency',true);
|
53 |
+
}
|
54 |
+
}
|
55 |
+
|
56 |
+
$$('#opc-payment.allow .step-title').first().observe('click', function(event){
|
57 |
+
if($$('#opc-payment.allow #checkout-step-payment').length > 0){
|
58 |
+
$$('#opc-payment.allow #checkout-step-payment').first().hide();
|
59 |
+
}
|
60 |
+
$('opc-payment').removeClassName('active');
|
61 |
+
$('opc-payment').removeClassName('allow');
|
62 |
+
|
63 |
+
shippingMethod.save();
|
64 |
+
var loading = '<img id="loading-gif" style="margin-top: 35%;" src="<?php print Mage::getBaseUrl(); ?>../skin/adminhtml/default/default/images/ajax-loader-tr.gif" />';
|
65 |
+
if($$('#window-overlay img').length < 1){
|
66 |
+
$('window-overlay').insert(loading);
|
67 |
+
}
|
68 |
+
$('window-overlay').show();
|
69 |
+
check.delay(1, 0);
|
70 |
+
|
71 |
+
function check(i){
|
72 |
+
if($('opc-payment').hasClassName('allow')){
|
73 |
+
$('window-overlay').hide();
|
74 |
+
$('loading-gif').remove();
|
75 |
+
$$('#opc-payment.allow #checkout-step-payment').first().show();
|
76 |
+
}else{
|
77 |
+
if(i<5){
|
78 |
+
i++;
|
79 |
+
check.delay(1, i);
|
80 |
+
}else{
|
81 |
+
shippingMethod.save();
|
82 |
+
check.delay(1, 0);
|
83 |
+
}
|
84 |
+
}
|
85 |
+
}
|
86 |
+
});
|
87 |
+
</script>
|
app/design/frontend/base/default/template/heidelpay/form/directdebit.phtml
CHANGED
@@ -6,4 +6,12 @@
|
|
6 |
</li>
|
7 |
</ul>
|
8 |
</fieldset>
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
</li>
|
7 |
</ul>
|
8 |
</fieldset>
|
9 |
+
<script type="text/javascript">
|
10 |
+
if($$('#checkout-payment-method-load #p_method_<?php print $_code; ?>').length > 0){
|
11 |
+
$('checkout-payment-method-load').observe('change', function(event){
|
12 |
+
if($('p_method_<?php print $_code; ?>').checked){
|
13 |
+
$$('#payment-buttons-container button').first().show();
|
14 |
+
}
|
15 |
+
});
|
16 |
+
}
|
17 |
+
</script>
|
app/design/frontend/base/default/template/heidelpay/form/eps.phtml
CHANGED
@@ -6,4 +6,12 @@
|
|
6 |
</li>
|
7 |
</ul>
|
8 |
</fieldset>
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
</li>
|
7 |
</ul>
|
8 |
</fieldset>
|
9 |
+
<script type="text/javascript">
|
10 |
+
if($$('#checkout-payment-method-load #p_method_<?php print $_code; ?>').length > 0){
|
11 |
+
$('checkout-payment-method-load').observe('change', function(event){
|
12 |
+
if($('p_method_<?php print $_code; ?>').checked){
|
13 |
+
$$('#payment-buttons-container button').first().show();
|
14 |
+
}
|
15 |
+
});
|
16 |
+
}
|
17 |
+
</script>
|
app/design/frontend/base/default/template/heidelpay/form/giropay.phtml
CHANGED
@@ -6,4 +6,12 @@
|
|
6 |
</li>
|
7 |
</ul>
|
8 |
</fieldset>
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
</li>
|
7 |
</ul>
|
8 |
</fieldset>
|
9 |
+
<script type="text/javascript">
|
10 |
+
if($$('#checkout-payment-method-load #p_method_<?php print $_code; ?>').length > 0){
|
11 |
+
$('checkout-payment-method-load').observe('change', function(event){
|
12 |
+
if($('p_method_<?php print $_code; ?>').checked){
|
13 |
+
$$('#payment-buttons-container button').first().show();
|
14 |
+
}
|
15 |
+
});
|
16 |
+
}
|
17 |
+
</script>
|
app/design/frontend/base/default/template/heidelpay/form/ideal.phtml
CHANGED
@@ -6,4 +6,12 @@
|
|
6 |
</li>
|
7 |
</ul>
|
8 |
</fieldset>
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
</li>
|
7 |
</ul>
|
8 |
</fieldset>
|
9 |
+
<script type="text/javascript">
|
10 |
+
if($$('#checkout-payment-method-load #p_method_<?php print $_code; ?>').length > 0){
|
11 |
+
$('checkout-payment-method-load').observe('change', function(event){
|
12 |
+
if($('p_method_<?php print $_code; ?>').checked){
|
13 |
+
$$('#payment-buttons-container button').first().show();
|
14 |
+
}
|
15 |
+
});
|
16 |
+
}
|
17 |
+
</script>
|
app/design/frontend/base/default/template/heidelpay/form/invoice.phtml
CHANGED
@@ -6,4 +6,12 @@
|
|
6 |
</li>
|
7 |
</ul>
|
8 |
</fieldset>
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
</li>
|
7 |
</ul>
|
8 |
</fieldset>
|
9 |
+
<script type="text/javascript">
|
10 |
+
if($$('#checkout-payment-method-load #p_method_<?php print $_code; ?>').length > 0){
|
11 |
+
$('checkout-payment-method-load').observe('change', function(event){
|
12 |
+
if($('p_method_<?php print $_code; ?>').checked){
|
13 |
+
$$('#payment-buttons-container button').first().show();
|
14 |
+
}
|
15 |
+
});
|
16 |
+
}
|
17 |
+
</script>
|
app/design/frontend/base/default/template/heidelpay/form/mangirkart.phtml
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<fieldset class="form-list">
|
2 |
+
<?php $_code=$this->getMethodCode()?>
|
3 |
+
<ul id="payment_form_<?php echo $_code?>" style="display:none">
|
4 |
+
<li>
|
5 |
+
<div class="input-box"><?php echo $this->__('DescMangirkart')?><?php echo $this->getMethod()->getLightbox(true);?></div>
|
6 |
+
</li>
|
7 |
+
</ul>
|
8 |
+
</fieldset>
|
9 |
+
<script type="text/javascript">
|
10 |
+
if($$('#checkout-payment-method-load #p_method_<?php print $_code; ?>').length > 0){
|
11 |
+
$('checkout-payment-method-load').observe('change', function(event){
|
12 |
+
if($('p_method_<?php print $_code; ?>').checked){
|
13 |
+
$$('#payment-buttons-container button').first().show();
|
14 |
+
}
|
15 |
+
});
|
16 |
+
}
|
17 |
+
</script>
|
app/design/frontend/base/default/template/heidelpay/form/paypal.phtml
CHANGED
@@ -6,4 +6,12 @@
|
|
6 |
</li>
|
7 |
</ul>
|
8 |
</fieldset>
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
</li>
|
7 |
</ul>
|
8 |
</fieldset>
|
9 |
+
<script type="text/javascript">
|
10 |
+
if($$('#checkout-payment-method-load #p_method_<?php print $_code; ?>').length > 0){
|
11 |
+
$('checkout-payment-method-load').observe('change', function(event){
|
12 |
+
if($('p_method_<?php print $_code; ?>').checked){
|
13 |
+
$$('#payment-buttons-container button').first().show();
|
14 |
+
}
|
15 |
+
});
|
16 |
+
}
|
17 |
+
</script>
|
app/design/frontend/base/default/template/heidelpay/form/prepaid.phtml
CHANGED
@@ -6,4 +6,12 @@
|
|
6 |
</li>
|
7 |
</ul>
|
8 |
</fieldset>
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
</li>
|
7 |
</ul>
|
8 |
</fieldset>
|
9 |
+
<script type="text/javascript">
|
10 |
+
if($$('#checkout-payment-method-load #p_method_<?php print $_code; ?>').length > 0){
|
11 |
+
$('checkout-payment-method-load').observe('change', function(event){
|
12 |
+
if($('p_method_<?php print $_code; ?>').checked){
|
13 |
+
$$('#payment-buttons-container button').first().show();
|
14 |
+
}
|
15 |
+
});
|
16 |
+
}
|
17 |
+
</script>
|
app/design/frontend/base/default/template/heidelpay/form/sofortueberweisung.phtml
CHANGED
@@ -6,4 +6,12 @@
|
|
6 |
</li>
|
7 |
</ul>
|
8 |
</fieldset>
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
</li>
|
7 |
</ul>
|
8 |
</fieldset>
|
9 |
+
<script type="text/javascript">
|
10 |
+
if($$('#checkout-payment-method-load #p_method_<?php print $_code; ?>').length > 0){
|
11 |
+
$('checkout-payment-method-load').observe('change', function(event){
|
12 |
+
if($('p_method_<?php print $_code; ?>').checked){
|
13 |
+
$$('#payment-buttons-container button').first().show();
|
14 |
+
}
|
15 |
+
});
|
16 |
+
}
|
17 |
+
</script>
|
app/design/frontend/base/default/template/heidelpay/form/xcard.phtml
ADDED
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<fieldset class="form-list">
|
2 |
+
<?php $_code=$this->getMethodCode()?>
|
3 |
+
<ul id="payment_form_<?php echo $_code?>" style="display:none">
|
4 |
+
<li>
|
5 |
+
<div class="input-box"><?php echo $this->__('DescCreditCardX')?><?php echo $this->getMethod()->getLightbox(true);?></div>
|
6 |
+
</li>
|
7 |
+
</ul>
|
8 |
+
</fieldset>
|
9 |
+
<script type="text/javascript">
|
10 |
+
if($('p_method_hpxc').checked){
|
11 |
+
$('payment_form_hpxc').show();
|
12 |
+
}
|
13 |
+
|
14 |
+
if($$('#checkout-payment-method-load #p_method_hpxc').length > 0){
|
15 |
+
$('checkout-payment-method-load').observe('change', function(event){
|
16 |
+
var actPayment = $$('input:checked[type=radio][name=\'payment[method]\']')[0].id;
|
17 |
+
if(actPayment.indexOf('_hp') == '-1'){
|
18 |
+
$$('#payment-buttons-container button').first().show();
|
19 |
+
}
|
20 |
+
if($('payment_form_hpxc').visible()){
|
21 |
+
if($$('#payment_form_hpxc #heidelpay_use_xcard').length == 0){
|
22 |
+
if($('p_method_hpxc').checked){
|
23 |
+
$$('#payment-buttons-container button').first().hide();
|
24 |
+
}
|
25 |
+
if($$('#payment_form_hpxc iframe').length == 0){ $$('#payment-buttons-container button').first().show(); }
|
26 |
+
}else{
|
27 |
+
if(($F('p_method_hpxc') == 'hpxc') && !($F('heidelpay_use_xcard') == 1)){
|
28 |
+
$$('#payment-buttons-container button').first().show();
|
29 |
+
if($$('#payment_form_hpxc iframe').length > 0){
|
30 |
+
$$('#payment-buttons-container button').first().hide();
|
31 |
+
}
|
32 |
+
}
|
33 |
+
if(($F('p_method_hpxc') == 'hpxc') && ($F('heidelpay_use_xcard') == 1)){
|
34 |
+
$$('#payment-buttons-container button').first().show();
|
35 |
+
}
|
36 |
+
}
|
37 |
+
}
|
38 |
+
});
|
39 |
+
|
40 |
+
if($$('#payment_form_hpxc #heidelpay_use_xcard').length != 0){
|
41 |
+
$('heidelpay_use_xcard').observe('change', function(event){
|
42 |
+
if($F('heidelpay_use_xcard') == 1){
|
43 |
+
$$('#payment-buttons-container button').first().show();
|
44 |
+
}else{
|
45 |
+
$$('#payment-buttons-container button').first().hide();
|
46 |
+
}
|
47 |
+
});
|
48 |
+
}
|
49 |
+
if($$('#payment_form_hpxc iframe').length > 0){
|
50 |
+
$$('#payment_form_hpxc iframe').first().writeAttribute('width','620');
|
51 |
+
$$('#payment_form_hpxc iframe').first().writeAttribute('height','300');
|
52 |
+
$$('#payment_form_hpxc iframe').first().writeAttribute('allowtransparency',true);
|
53 |
+
}
|
54 |
+
}
|
55 |
+
|
56 |
+
$$('#opc-payment.allow .step-title').first().observe('click', function(event){
|
57 |
+
if($$('#opc-payment.allow #checkout-step-payment').length > 0){
|
58 |
+
$$('#opc-payment.allow #checkout-step-payment').first().hide();
|
59 |
+
}
|
60 |
+
$('opc-payment').removeClassName('active');
|
61 |
+
$('opc-payment').removeClassName('allow');
|
62 |
+
|
63 |
+
shippingMethod.save();
|
64 |
+
var loading = '<img id="loading-gif" style="margin-top: 35%;" src="<?php print Mage::getBaseUrl(); ?>../skin/adminhtml/default/default/images/ajax-loader-tr.gif" />';
|
65 |
+
if($$('#window-overlay img').length < 1){
|
66 |
+
$('window-overlay').insert(loading);
|
67 |
+
}
|
68 |
+
$('window-overlay').show();
|
69 |
+
check.delay(1, 0);
|
70 |
+
|
71 |
+
function check(i){
|
72 |
+
if($('opc-payment').hasClassName('allow')){
|
73 |
+
$('window-overlay').hide();
|
74 |
+
$('loading-gif').remove();
|
75 |
+
$$('#opc-payment.allow #checkout-step-payment').first().show();
|
76 |
+
}else{
|
77 |
+
if(i<5){
|
78 |
+
i++;
|
79 |
+
check.delay(1, i);
|
80 |
+
}else{
|
81 |
+
shippingMethod.save();
|
82 |
+
check.delay(1, 0);
|
83 |
+
}
|
84 |
+
}
|
85 |
+
}
|
86 |
+
});
|
87 |
+
</script>
|
app/design/frontend/base/default/template/heidelpay/iframe.phtml
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<h1><?php echo $this->__('
|
1 |
+
<h1><?php echo $this->__('Please enter additional payment information.')?></h1><iframe allowtransparency="true" frameborder=0 src="<?php echo $this->getHPUrl()?>" width="400" height="600" name="bankinfo"></iframe>
|
app/design/frontend/base/default/template/heidelpay/lightbox.phtml
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
<h1><?php echo $this->__('
|
2 |
<center><div id="hpBox"><div style="background-color: #666; position:fixed; display:block; margin:0; padding:0; top:0; left:0; opacity: 0.9; -moz-opacity: 0.9; -khtml-opacity: 0.9; filter:alpha(opacity=90); z-index: 1000; width: 100%; height: 100%;"></div>
|
3 |
<div style="z-index: 1001; position: absolute; width: 800px; top: 50%; left: 50%; margin-top: -325px; margin-left: -400px;">
|
4 |
<iframe src="<?php echo $this->getHPUrl()?>" frameborder="0" width="800" height="650" style="border: 1px solid #ddd"></iframe><br>
|
1 |
+
<h1><?php echo $this->__('Please enter additional payment information.')?></h1>
|
2 |
<center><div id="hpBox"><div style="background-color: #666; position:fixed; display:block; margin:0; padding:0; top:0; left:0; opacity: 0.9; -moz-opacity: 0.9; -khtml-opacity: 0.9; filter:alpha(opacity=90); z-index: 1000; width: 100%; height: 100%;"></div>
|
3 |
<div style="z-index: 1001; position: absolute; width: 800px; top: 50%; left: 50%; margin-top: -325px; margin-left: -400px;">
|
4 |
<iframe src="<?php echo $this->getHPUrl()?>" frameborder="0" width="800" height="650" style="border: 1px solid #ddd"></iframe><br>
|
app/design/frontend/base/default/template/heidelpay/redirect.phtml
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<div class="page-head"><h3><?php echo $this->__('
|
1 |
+
<div class="page-head"><h3><?php echo $this->__('Please enter additional payment information.')?></h3></div><p><?php echo $this->getIframe();?></p>
|
app/design/frontend/base/default/template/heidelpay/secure.phtml
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<h1><?php echo $this->__('
|
1 |
+
<h1><?php echo $this->__('Please enter additional payment information.')?></h1><?php echo $this->get3DFrame()?>
|
app/locale/de_DE/Mage_Heidelpay.csv
CHANGED
@@ -8,21 +8,57 @@
|
|
8 |
"Yes, I want to re-use my debitcard.","Ja, Ich möchte meine Debitkarte erneut benutzen."
|
9 |
"Re-use last debitcard.","Letzte Debitkarte nutzen."
|
10 |
|
|
|
|
|
|
|
|
|
|
|
11 |
"Your order has been received.","Ihre Bestellung ist eingegangen."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |
"Credit Card","Kreditkarte"
|
|
|
14 |
"Debit Card","Debitkarte"
|
15 |
"Debitcard","Debitkarte"
|
16 |
"Direct Debit","Lastschrift"
|
17 |
-
"
|
18 |
"Giropay","Giropay"
|
19 |
"Pay Pal","Pay Pal"
|
20 |
"EPS","EPS"
|
21 |
"iDeal","iDeal"
|
22 |
"Prepayment","Vorkasse"
|
23 |
"Invoice","Rechnung"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
|
25 |
"DescCreditCard","Sicher zahlen mit Kreditkarte<br><br>"
|
|
|
26 |
"DescDebitCard","Sicher zahlen mit Debitkarte<br><br>"
|
27 |
"DescDirectDebit","Sicher zahlen mit Lastschrift<br><br>"
|
28 |
"DescEPS","Sicher zahlen mit EPS"
|
@@ -32,6 +68,9 @@
|
|
32 |
"DescPrepaid","Sicher zahlen mit Vorkasse"
|
33 |
"DescDirectEBanking","Sicher zahlen mit Sofortüberweisung"
|
34 |
"DescInvoice","Zahlen Sie bequem mit Rechnung"
|
|
|
|
|
|
|
35 |
|
36 |
|
37 |
"No.","Nr."
|
@@ -40,6 +79,8 @@
|
|
40 |
"Cardtype:","Kartentyp:"
|
41 |
"Account No","Konto"
|
42 |
"Bankcode","BLZ"
|
|
|
|
|
43 |
"Owner","Inhaber"
|
44 |
"Please enter account no.","Bitte Konto angeben."
|
45 |
"Please enter bankcode.","Bitte BLZ angeben."
|
@@ -70,6 +111,35 @@
|
|
70 |
{SHORTID}
|
71 |
und NICHTS ANDERES an."
|
72 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
"You need to pay with giropay before using direct debit.","Sie müssen zuerst eine Giropay Buchung tätigen um Lastschrift nutzen zu können."
|
74 |
"You need to pay with direct e-banking before using direct debit.","Sie müssen zuerst eine Sofortüberweisungs Buchung tätigen um Lastschrift nutzen zu können."
|
75 |
"You need to pay with giropay or direct e-banking before using direct debit.","Sie müssen zuerst eine Giropay oder Sofortüberweisungs Buchung tätigen um Lastschrift nutzen zu können."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
"Yes, I want to re-use my debitcard.","Ja, Ich möchte meine Debitkarte erneut benutzen."
|
9 |
"Re-use last debitcard.","Letzte Debitkarte nutzen."
|
10 |
|
11 |
+
"Creditcard X (Heidelpay)","Kreditkarte X (Heidelpay)"
|
12 |
+
"Dear {NAME}, you used the following creditcard X on your last visit. Do you want to re-use it?","Sehr geehrter Herr {NAME}, beim letzten Besuch haben Sie folgende Kreditkarte X verwendet, möchten Sie diese wieder verwenden?"
|
13 |
+
"Yes, I want to re-use my creditcard X.","Ja, Ich möchte meine Kreditkarte X erneut benutzen."
|
14 |
+
"Re-use last creditcard X.","Letzte Kreditkarte X nutzen."
|
15 |
+
|
16 |
"Your order has been received.","Ihre Bestellung ist eingegangen."
|
17 |
+
"Please enter additional payment information.","Geben Sie weitere Zahlungsinformationen ein."
|
18 |
+
|
19 |
+
"Direct Booking","Sofortbuchung"
|
20 |
+
"Preauthorisation","Reservierung"
|
21 |
+
"Direct Data Input","Direkteingabe der Kontodaten"
|
22 |
+
"Account Data from last Giropay Booking","Kontodaten von letzter Zahlung mit Giropay"
|
23 |
+
"Account Data from last Sofort Banking Booking","Kontodaten von letzter Zahlung mit Sofortueberweisung"
|
24 |
+
"Account Data from last Sofort Banking or Giropay Booking","Kontodaten von letzter Zahlung mit Giropay oder Sofortueberweisung"
|
25 |
+
"Direct with registration","Direkt mit Registrierung"
|
26 |
+
"After without registration","Nachgelagert ohne Registrierung"
|
27 |
|
28 |
"Credit Card","Kreditkarte"
|
29 |
+
"Credit Card X","Kreditkarte X"
|
30 |
"Debit Card","Debitkarte"
|
31 |
"Debitcard","Debitkarte"
|
32 |
"Direct Debit","Lastschrift"
|
33 |
+
"SOFORT &�uml;berweisung","SOFORT &�uml;berweisung"
|
34 |
"Giropay","Giropay"
|
35 |
"Pay Pal","Pay Pal"
|
36 |
"EPS","EPS"
|
37 |
"iDeal","iDeal"
|
38 |
"Prepayment","Vorkasse"
|
39 |
"Invoice","Rechnung"
|
40 |
+
"Mangirkart","MangirKart"
|
41 |
+
"BillSafe","Kauf auf Rechnung"
|
42 |
+
"Barpay","BarPay"
|
43 |
+
|
44 |
+
"Heidelpay Credit Card","Heidelpay Kreditkarte"
|
45 |
+
"Heidelpay Credit Card X","Heidelpay Kreditkarte X"
|
46 |
+
"Heidelpay Debit Card","Heidelpay Debitkarte"
|
47 |
+
"Heidelpay Debitcard","Heidelpay Debitkarte"
|
48 |
+
"Heidelpay Direct Debit","Heidelpay Lastschrift"
|
49 |
+
"Heidelpay SOFORT �berweisung","Heidelpay SOFORT �berweisung"
|
50 |
+
"Heidelpay Giropay","Heidelpay Giropay"
|
51 |
+
"Heidelpay Pay Pal","Heidelpay Pay Pal"
|
52 |
+
"Heidelpay EPS","Heidelpay EPS"
|
53 |
+
"Heidelpay iDeal","Heidelpay iDeal"
|
54 |
+
"Heidelpay Prepayment","Heidelpay Vorkasse"
|
55 |
+
"Heidelpay Invoice","Heidelpay Rechnung"
|
56 |
+
"Heidelpay Mangirkart","Heidelpay MangirKart"
|
57 |
+
"Heidelpay Billsafe","Heidelpay BillSAFE"
|
58 |
+
"Heidelpay Barpay","Heidelpay BarPay"
|
59 |
|
60 |
"DescCreditCard","Sicher zahlen mit Kreditkarte<br><br>"
|
61 |
+
"DescCreditCardX","Sicher zahlen mit Kreditkarte X<br><br>"
|
62 |
"DescDebitCard","Sicher zahlen mit Debitkarte<br><br>"
|
63 |
"DescDirectDebit","Sicher zahlen mit Lastschrift<br><br>"
|
64 |
"DescEPS","Sicher zahlen mit EPS"
|
68 |
"DescPrepaid","Sicher zahlen mit Vorkasse"
|
69 |
"DescDirectEBanking","Sicher zahlen mit Sofortüberweisung"
|
70 |
"DescInvoice","Zahlen Sie bequem mit Rechnung"
|
71 |
+
"DescMangirkart","Zahlen Sie bequem mit MangirKart"
|
72 |
+
"DescBillsafe","Kaufen Sie jetzt auf Rechnung und begutachten Sie Ihre Einkäufe in Ruhe bevor Sie bezahlen. <br/>"
|
73 |
+
"DescBarpay","Zahlen Sie bequem mit BarPay"
|
74 |
|
75 |
|
76 |
"No.","Nr."
|
79 |
"Cardtype:","Kartentyp:"
|
80 |
"Account No","Konto"
|
81 |
"Bankcode","BLZ"
|
82 |
+
"IBAN","IBAN"
|
83 |
+
"BIC","BIC"
|
84 |
"Owner","Inhaber"
|
85 |
"Please enter account no.","Bitte Konto angeben."
|
86 |
"Please enter bankcode.","Bitte BLZ angeben."
|
111 |
{SHORTID}
|
112 |
und NICHTS ANDERES an."
|
113 |
|
114 |
+
"HP_SUCCESS_BILLSAFE","Ihre Transaktion war erfolgreich!
|
115 |
+
|
116 |
+
Ueberweisen Sie uns den Betrag von {CURRENCY} {AMOUNT} auf folgendes Konto
|
117 |
+
Bankname: {ACC_BANKNAME}
|
118 |
+
Kontoinhaber : {ACC_OWNER}
|
119 |
+
Konto-Nr. : {ACC_NUMBER}
|
120 |
+
Bankleitzahl: {ACC_BANKCODE}
|
121 |
+
IBAN: {ACC_IBAN}
|
122 |
+
BIC: {ACC_BIC}
|
123 |
+
Geben sie bitte im Verwendungszweck UNBEDINGT die Identifikationsnummer
|
124 |
+
{SHORTID}
|
125 |
+
und NICHTS ANDERES an."
|
126 |
+
"HP_LEGALNOTE_BILLSAFE","Bitte �berweisen Sie den ausstehenden Betrag {DAYS} Tage nach dem Sie �ber den Versand informiert wurden."
|
127 |
+
|
128 |
+
"HP_BARPAY_INFO","Sicher, schnell und ohne Gebühren: mit BarPay zahlen Sie Internet-Einkäufe mit Bargeld. Ohne Anmeldung. Ohne Kreditkarte. Ohne Kontodetails.<br><br>Nach Auswahl von BarPay übermittelt Ihnen Ihr Online-Händler einen individuellen Barcode per E-Mail oder zum Download auf Ihren Computer. Diesen können Sie ausdrucken und in über 18.000 BarPay-Akzeptanzstellen bezahlen. Der Zahlungseingang wird dem Online-Händler in Echtzeit übermittelt, und die bestellte Ware geht umgehend in den Versand. <br><br>"
|
129 |
+
"HP_BARPAY_DOWNLOAD","<a href='{LINK}' target='_blank'>Klicken Sie hier um Ihren Barcode runterzuladen</a><br><br>Drucken Sie den Barcode aus oder speichern Sie diesen auf Ihrem mobilen Endgerät. Gehen Sie nun zu einer Kasse der <b>18.000 Akzeptanzstellen in Deutschland</b> und bezahlen Sie ganz einfach in bar. <br><br>In dem Augenblick, wenn der Rechnungsbetrag beglichen wird, erhält der Online-Händler die Information über den Zahlungseingang. Die bestellte Ware oder Dienstleistung geht umgehend in den Versand."
|
130 |
+
|
131 |
"You need to pay with giropay before using direct debit.","Sie müssen zuerst eine Giropay Buchung tätigen um Lastschrift nutzen zu können."
|
132 |
"You need to pay with direct e-banking before using direct debit.","Sie müssen zuerst eine Sofortüberweisungs Buchung tätigen um Lastschrift nutzen zu können."
|
133 |
"You need to pay with giropay or direct e-banking before using direct debit.","Sie müssen zuerst eine Giropay oder Sofortüberweisungs Buchung tätigen um Lastschrift nutzen zu können."
|
134 |
+
|
135 |
+
"HP_PNO_ERROR","Das von Ihnen gewälte Zahlverfahren steht Ihnen derzeit nicht zur Verfügung. Bitte nutzen Sie ein anderes Zahlverfahren."
|
136 |
+
|
137 |
+
"Account & Bank no.","Kontonr. & BLZ"
|
138 |
+
"IBAN & BIC","IBAN & BIC"
|
139 |
+
"both with selector","Beides mit auswahl"
|
140 |
+
|
141 |
+
"Account information","Kontoinformationen"
|
142 |
+
"Account no. & Bank no.","Kontonummer & Bankleitzahl"
|
143 |
+
"IBAN & BIC","IBAN & BIC"
|
144 |
+
|
145 |
+
"Direct Debit data not correct or incomplete","Lastschriftdaten falsch oder unvollstaendig"
|
app/locale/en_US/Mage_Heidelpay.csv
CHANGED
@@ -8,20 +8,56 @@
|
|
8 |
"Yes, I want to re-use my debitcard.","Yes, I want to re-use my debitcard."
|
9 |
"Re-use last debitcard.","Re-use last debitcard."
|
10 |
|
|
|
|
|
|
|
|
|
|
|
11 |
"Your order has been received.","Your order has been received."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |
"Credit Card","Credit Card"
|
|
|
14 |
"Debit Card","Debit Card"
|
15 |
"Direct Debit","Direct Debit"
|
16 |
-
"
|
17 |
"Giropay","Giropay"
|
18 |
"Pay Pal","Pay Pal"
|
19 |
"EPS","EPS"
|
20 |
"iDeal","iDeal"
|
21 |
"Prepayment","Prepayment"
|
22 |
"Invoice","Invoice"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
|
24 |
"DescCreditCard","Pay safe and secure with Creditcard<br><br>"
|
|
|
25 |
"DescDebitCard","Pay safe and secure with Debitcard<br><br>"
|
26 |
"DescDirectDebit","Pay safe and secure with Direct Debit<br><br>"
|
27 |
"DescEPS","Pay safe and secure with EPS"
|
@@ -31,6 +67,10 @@
|
|
31 |
"DescPrepaid","Pay safe and secure with Prepayment"
|
32 |
"DescDirectEBanking","Pay safe and secure with Direct EBanking"
|
33 |
"DescInvoice","Pay comfortable with Invoice"
|
|
|
|
|
|
|
|
|
34 |
|
35 |
|
36 |
"No.","No."
|
@@ -39,6 +79,8 @@
|
|
39 |
"Cardtype:","Cardtype:"
|
40 |
"Account No","Account No"
|
41 |
"Bankcode","Bankcode"
|
|
|
|
|
42 |
"Owner","Owner"
|
43 |
"Please enter account no.","Please enter account no."
|
44 |
"Please enter bankcode.","Please enter bankcode."
|
@@ -69,7 +111,34 @@
|
|
69 |
{SHORTID}
|
70 |
as the descriptor and nothing else. Otherwise we cannot match your transaction!"
|
71 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
"You need to pay with giropay before using direct debit.","You need to pay with giropay before using direct debit."
|
73 |
"You need to pay with direct e-banking before using direct debit.","You need to pay with direct e-banking before using direct debit."
|
74 |
"You need to pay with giropay or direct e-banking before using direct debit.","You need to pay with giropay or direct e-banking before using direct debit."
|
75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
"Yes, I want to re-use my debitcard.","Yes, I want to re-use my debitcard."
|
9 |
"Re-use last debitcard.","Re-use last debitcard."
|
10 |
|
11 |
+
"Creditcard X (Heidelpay)","Creditcard X (Heidelpay)"
|
12 |
+
"Dear {NAME}, you used the following creditcard X on your last visit. Do you want to re-use it?","Dear {NAME}, you used the following creditcard X on your last visit. Do you want to re-use it?"
|
13 |
+
"Yes, I want to re-use my creditcard X.","Yes, I want to re-use my creditcard X."
|
14 |
+
"Re-use last creditcard X","Re-use last creditcard X"
|
15 |
+
|
16 |
"Your order has been received.","Your order has been received."
|
17 |
+
"Please enter additional payment information.","Please enter additional payment information."
|
18 |
+
|
19 |
+
"Direct Booking","Direct Booking"
|
20 |
+
"Preauthorisation","Preauthorisation"
|
21 |
+
"Direct Data Input","Direct Data Input"
|
22 |
+
"Account Data from last Giropay Booking","Account Data from last Giropay Booking"
|
23 |
+
"Account Data from last Sofort Banking Booking","Account Data from last Sofort Banking Booking"
|
24 |
+
"Account Data from last Sofort Banking or Giropay Booking","Account Data from last Sofort Banking or Giropay Booking"
|
25 |
+
"Direct with registration","Direct with registration"
|
26 |
+
"After without registration","After without registration"
|
27 |
|
28 |
"Credit Card","Credit Card"
|
29 |
+
"Credit Card X","Credit Card X"
|
30 |
"Debit Card","Debit Card"
|
31 |
"Direct Debit","Direct Debit"
|
32 |
+
"SOFORT &�uml;berweisung","SOFORT &�uml;berweisung"
|
33 |
"Giropay","Giropay"
|
34 |
"Pay Pal","Pay Pal"
|
35 |
"EPS","EPS"
|
36 |
"iDeal","iDeal"
|
37 |
"Prepayment","Prepayment"
|
38 |
"Invoice","Invoice"
|
39 |
+
"Mangirkart","MangirKart"
|
40 |
+
"BillSafe","BillSAFE"
|
41 |
+
"Barpay","BarPay"
|
42 |
+
|
43 |
+
"Heidelpay Credit Card","Heidelpay Credit Card"
|
44 |
+
"Heidelpay Credit Card X","Heidelpay Credit Card X"
|
45 |
+
"Heidelpay Debit Card","Heidelpay Debit Card"
|
46 |
+
"Heidelpay Debitcard","Heidelpay Debitcard"
|
47 |
+
"Heidelpay Direct Debit","Heidelpay Direct Debit"
|
48 |
+
"Heidelpay SOFORT �berweisung","Heidelpay SOFORT �berweisung"
|
49 |
+
"Heidelpay Giropay","Heidelpay Giropay"
|
50 |
+
"Heidelpay Pay Pal","Heidelpay Pay Pal"
|
51 |
+
"Heidelpay EPS","Heidelpay EPS"
|
52 |
+
"Heidelpay iDeal","Heidelpay iDeal"
|
53 |
+
"Heidelpay Prepayment","Heidelpay Prepayment"
|
54 |
+
"Heidelpay Invoice","Heidelpay Invoice"
|
55 |
+
"Heidelpay Mangirkart","Heidelpay MangirKart"
|
56 |
+
"Heidelpay Billsafe","Heidelpay BillSAFE"
|
57 |
+
"Heidelpay Barpay","Heidelpay BarPay"
|
58 |
|
59 |
"DescCreditCard","Pay safe and secure with Creditcard<br><br>"
|
60 |
+
"DescCreditCardX","Pay safe and secure with Creditcard X<br><br>"
|
61 |
"DescDebitCard","Pay safe and secure with Debitcard<br><br>"
|
62 |
"DescDirectDebit","Pay safe and secure with Direct Debit<br><br>"
|
63 |
"DescEPS","Pay safe and secure with EPS"
|
67 |
"DescPrepaid","Pay safe and secure with Prepayment"
|
68 |
"DescDirectEBanking","Pay safe and secure with Direct EBanking"
|
69 |
"DescInvoice","Pay comfortable with Invoice"
|
70 |
+
"DescMangirkart","Pay comfortable with MangirKart"
|
71 |
+
"DescBillsafe","Buy with invoice and check your order calmly before payment.<br/>"
|
72 |
+
"DescBarpay","Pay comfortable with BarPay"
|
73 |
+
|
74 |
|
75 |
|
76 |
"No.","No."
|
79 |
"Cardtype:","Cardtype:"
|
80 |
"Account No","Account No"
|
81 |
"Bankcode","Bankcode"
|
82 |
+
"IBAN","IBAN"
|
83 |
+
"BIC","BIC"
|
84 |
"Owner","Owner"
|
85 |
"Please enter account no.","Please enter account no."
|
86 |
"Please enter bankcode.","Please enter bankcode."
|
111 |
{SHORTID}
|
112 |
as the descriptor and nothing else. Otherwise we cannot match your transaction!"
|
113 |
|
114 |
+
"HP_SUCCESS_BILLSAFE","Your transaction was successfull!
|
115 |
+
|
116 |
+
Transfer the amount of {CURRENCY} {AMOUNT} to the following account
|
117 |
+
Bank Name: {ACC_BANKNAME}
|
118 |
+
Account holder : {ACC_OWNER}
|
119 |
+
Account No. : {ACC_NUMBER}
|
120 |
+
Bank Code: {ACC_BANKCODE}
|
121 |
+
IBAN: {ACC_IBAN}
|
122 |
+
BIC: {ACC_BIC}
|
123 |
+
When you transfer the money you HAVE TO use the identification number
|
124 |
+
{SHORTID}
|
125 |
+
as the descriptor and nothing else. Otherwise we cannot match your transaction!"
|
126 |
+
"HP_LEGALNOTE_BILLSAFE","Please remit the outstanding amount {DAYS} days after you have been notified about shipping."
|
127 |
+
|
128 |
+
"HP_BARPAY_INFO","Sicher, schnell und ohne Gebühren: mit BarPay zahlen Sie Internet-Einkäufe mit Bargeld. Ohne Anmeldung. Ohne Kreditkarte. Ohne Kontodetails.<br><br>Nach Auswahl von BarPay übermittelt Ihnen Ihr Online-Händler einen individuellen Barcode per E-Mail oder zum Download auf Ihren Computer. Diesen können Sie ausdrucken und in über 18.000 BarPay-Akzeptanzstellen bezahlen. Der Zahlungseingang wird dem Online-Händler in Echtzeit übermittelt, und die bestellte Ware geht umgehend in den Versand. <br><br>"
|
129 |
+
"HP_BARPAY_DOWNLOAD","<a href='{LINK}' target='_blank'>Klicken Sie hier um Ihren Barcode runterzuladen</a><br><br>Drucken Sie den Barcode aus oder speichern Sie diesen auf Ihrem mobilen Endgerät. Gehen Sie nun zu einer Kasse der <b>18.000 Akzeptanzstellen in Deutschland</b> und bezahlen Sie ganz einfach in bar. <br><br>In dem Augenblick, wenn der Rechnungsbetrag beglichen wird, erhält der Online-Händler die Information über den Zahlungseingang. Die bestellte Ware oder Dienstleistung geht umgehend in den Versand."
|
130 |
+
|
131 |
"You need to pay with giropay before using direct debit.","You need to pay with giropay before using direct debit."
|
132 |
"You need to pay with direct e-banking before using direct debit.","You need to pay with direct e-banking before using direct debit."
|
133 |
"You need to pay with giropay or direct e-banking before using direct debit.","You need to pay with giropay or direct e-banking before using direct debit."
|
134 |
|
135 |
+
"HP_PNO_ERROR","The choosen payment method is temporary not available. Please choose another one."
|
136 |
+
|
137 |
+
"Account & Bank no.","Account & Bank no."
|
138 |
+
"IBAN & BIC","IBAN & BIC"
|
139 |
+
"both with selector","both with selector"
|
140 |
+
|
141 |
+
"Account information","Account information"
|
142 |
+
"Account no. & Bank no.","Account no. & Bank no."
|
143 |
+
"IBAN & BIC","IBAN & BIC"
|
144 |
+
"Direct Debit data not correct or incomplete","Direct Debit data not correct or incomplete"
|
package.xml
CHANGED
@@ -1,47 +1,48 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Heidelpay</name>
|
4 |
-
<version>
|
5 |
<stability>stable</stability>
|
6 |
-
<license
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>Heidelpay
|
10 |
-
<description
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
-
|
21 |
-
|
22 |
-
|
23 |
-

|
24 |
-
|
25 |
-

|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
<
|
42 |
-
<
|
43 |
-
<
|
44 |
-
<
|
|
|
45 |
<compatible/>
|
46 |
-
<dependencies><required><php><min>
|
47 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Heidelpay</name>
|
4 |
+
<version>13.12.17</version>
|
5 |
<stability>stable</stability>
|
6 |
+
<license>proprietary</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>Heidelpay Payment Plugin</summary>
|
10 |
+
<description><b>Heidelberger Payment GmbH</b><br />
|
11 |
+
<br />
|
12 |
+
Future-oriented ePayment-Solutions for successful E-Commerce<br />
|
13 |
+
Heidelpay is offering the full range of services for electronic payment from one single source. Heidelberger Payment GmbH has received the status of a payment institution for the purpose of the Payment Service Directive (PSD) via the certification of the Federal Financial Supervisory Authority. As a payment institution, heidelpay complies with all demand on modern payment management. Being in contact with only one business partner you get access to all recent national and international payment methods and benefit from our highly individual service.<br />
|
14 |
+
We go much further! Heidelpay offers a wide range of risk management functions and fraud protection. Furthermore you can optimize your payment process. For example use the complete debtor management solution to automatically generate invoices or transfer unsettled claims to a debt collection agency.<br />
|
15 |
+
Extensive benefits, personal consultation and top-quality service – our strategy to make your business successful.
|
16 |
+
<br /><br />
|
17 |
+
List of payment methods and services:<br />
|
18 |
+
• Credit Cards: MasterCard, Visa, AMEX Credit Card: MasterCard, Visa, AMEX<br />
|
19 |
+
• Debit Cards (national & international): VISA Electron, MAESTRO (INT), Postepay (IT), Carte Bleue (FR), 4b(ES), ServiRed(ES),EURO6000(ES), Dankort(DK)<br />
|
20 |
+
• Prepayment world-wide<br />
|
21 |
+
• Direct Debit<br />
|
22 |
+
• Direct Debit with payment security<br />
|
23 |
+
• Purchase on account (as well secured available if requested)<br />
|
24 |
+
• Installment payment / financing<br />
|
25 |
+
• sofortüberweisung.de, giropay, iDeal, EPS, u.a.<br />
|
26 |
+
• Barpay<br />
|
27 |
+
• BillSAFE<br />
|
28 |
+
• MangirKart (TR)<br />
|
29 |
+
• Paypal<br />
|
30 |
+
• BaFin-licensed partner for Third-Party-Payment<br />
|
31 |
+
• Payment Management functions: subscription processing, costumer care systems, debtor management, various payment industry sulotions (i.e. Dating, Travel, apparel)
|
32 |
+
<br /><br />
|
33 |
+
<b>Contact</b><br />
|
34 |
+
Heidelberger Payment GmbH<br />
|
35 |
+
Vangerowstraße 18<br />
|
36 |
+
69115 Heidelberg<br />
|
37 |
+
<br />
|
38 |
+
Telefon: +49 (0) 6221 / 65 170-20<br />
|
39 |
+
E-Mail: sales@heidelpay.de<br />
|
40 |
+
Internet: www.heidelpay.de<br /></description>
|
41 |
+
<notes>- bugfix: stock problem</notes>
|
42 |
+
<authors><author><name>Heidelberger Payment GmbH</name><user>Heidelpay</user><email>magento@heidelpay.de</email></author></authors>
|
43 |
+
<date>2014-01-07</date>
|
44 |
+
<time>09:06:45</time>
|
45 |
+
<contents><target name="magelocal"><dir name="Mage"><dir name="Heidelpay"><dir name="Block"><file name="Cancel.php" hash="2f8e463c786a6ba61d125d44664dbee0"/><file name="Error.php" hash="a9d277e92cbc73e2695ce9641ba3d14e"/><dir name="Form"><file name="Barpay.php" hash="69f4f16bf0ffb1fe032c8dedf0b7fdc1"/><file name="Billsafe.php" hash="0556d8c262da2a64fc42ff8ee3a1c7e7"/><file name="Ccard.php" hash="a1c0b7cf7d406b11436481a5844d7751"/><file name="Debitcard.php" hash="e2198fc05197d5bef1247076e4ad080c"/><file name="Directdebit.php" hash="0977a4ad96b29fa69104b553706ded50"/><file name="Eps.php" hash="c68e7de42e4ef4512bad6208cbad2cac"/><file name="Giropay.php" hash="331b9cbdcb0c9c6e216d062b049b2d7c"/><file name="Ideal.php" hash="e322a1c3755ffec72c50057ce4f20511"/><file name="Invoice.php" hash="ea99e30c5d4e1164d10c7f78c5eeb9a6"/><file name="Mangirkart.php" hash="93d9d2c75f1884f077a01426d13db068"/><file name="Paypal.php" hash="ee5033af401aaf915ad74cf74b47121a"/><file name="Prepaid.php" hash="405ca5252cf5417b831b831f74cb7d28"/><file name="Sofortueberweisung.php" hash="8725dcb159ac01494da70a05caeeb33b"/><file name="Xcard.php" hash="54f4838dc2cc048feb6d2fccc6d84324"/></dir><file name="Form.php" hash="529a3c603e30be85a62dbd7d0d42b5c8"/><file name="Iframe.php" hash="af0b8f58d2c6c330fc2259ac7cbb34d2"/><dir name="Info"><file name="Payment.php" hash="149aa578e45842b7e871c749b5871a76"/></dir><file name="Info.php" hash="08de2792423ed3f30a048c003cfba0f6"/><file name="Lightbox.php" hash="ad707478642775fca33accad5c0d0ff8"/><file name="Paymentccard.php" hash="aaafda19384dd8dca17cc445e99d6ed9"/><file name="Redirect.php" hash="009292d502d3f058bbf819fd9167f62a"/><file name="Secure.php" hash="a90b0cec01e61b1b274577bcce6cf764"/><file name="Success.php" hash="18b9d658d2ba7e234bf8552240fc727f"/><file name="Suform.php" hash="74fa4deae5147dcf8041fdaf32beef2e"/></dir><dir name="Helper"><file name="Data.php" hash="5f729f633bf9fd01608cecb4fa2f3198"/></dir><dir name="Model"><dir name="Entity"><file name="Setup.php" hash="f7320a17102dbb268884faa0e4bbe667"/></dir><file name="Errors.php" hash="379fb8ee37db79c6e356526be338b929"/><dir name="Method"><file name="Hpbp.php" hash="995e60d4edc2e332274b779a3e72794a"/><file name="Hpbs.php" hash="f659a547ae3ca603044772c055310642"/><file name="Hpcc.php" hash="fa6bcec0966cb83e814b5eac7160edd5"/><file name="Hpdc.php" hash="f6b8f9c73dfd92057e7d9919b2560ced"/><file name="Hpdd.php" hash="837d5cb70cd0d4f027c623c5b48a579f"/><file name="Hpeps.php" hash="905619c5a1d8ff590303eba77188544f"/><file name="Hpgp.php" hash="6bc78756f0a87093020a3aa58fdf38c4"/><file name="Hpidl.php" hash="8f82aef98b92c43056b98495dc418455"/><file name="Hpiv.php" hash="4af1b7c21f2677ea6c2a8cba909b1a34"/><file name="Hpmk.php" hash="7dbd03c72e199c059db4469c2719c21b"/><file name="Hppp.php" hash="429bc236cee3e614860771d621a94085"/><file name="Hpppal.php" hash="12050f50ecd4281295ae9c2a1d141892"/><file name="Hpsu.php" hash="71db120d702c040b57e64393382e3bf0"/><file name="Hpxc.php" hash="bc8331f27f261f716c26e4c2b1dd13d1"/><file name="Payment.php" hash="38265e84109d463f571855d2d08c66c1"/></dir><dir name="Order"><file name="Payment.php" hash="34c087a79ae3911e638630c8005331c0"/><dir name="Pdf"><file name="Invoice.php" hash="7b836c1529b7a132f8b366d5a85a8883"/></dir></dir><file name="Session.php" hash="1ee3ff853b5fc2873cfa461735a22115"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Bookingmode.php" hash="642de393453f69e6eaa682c65374b3b7"/><file name="Ddmodulemode.php" hash="5c6fbdddcf59e880efe87bcd53c39832"/><file name="Modulemode.php" hash="adf1d3ca98c240b0b830a0e946333c7f"/><file name="Orderstatus.php" hash="8061af68dbe75f983ef48fe267d6e75e"/><file name="Sepamode.php" hash="1c578abf34ea1458bcc3ebc93ea0dfd4"/><file name="Transactionmode.php" hash="c71ce5dce331f4ff67a5c7d82ff2a319"/></dir></dir></dir></dir><dir name="controllers"><file name="PaymentController.php" hash="997b7858e38fe8bc34a3643821157e3f"/></dir><dir name="etc"><file name="adminhtml.xml" hash="1e324f57ab7c3fe7d265be8a8c1b2a72"/><file name="config.xml" hash="979f4faef5eb87600b6e007131edab26"/><file name="system.xml" hash="56ffce20f37e887ae0449fb1cf1104bf"/></dir><dir name="sql"><dir name="heidelpay_setup"><file name="mysql4-install-1.0.0.php" hash="a555bfa9004359d452233da29628b577"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="heidelpay"><dir name="info"><file name="payment.phtml" hash="cf713fcaa600a8d550d3ed1e89d5387f"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="heidelpay.xml" hash="4f826fb5984fdcf960a82926566307b2"/></dir><dir name="template"><dir name="heidelpay"><file name="cancel.phtml" hash="e36b203fe39fea1f26a8e528cf62a62a"/><file name="error.phtml" hash="c07493da3275778795125a7d787642df"/><dir name="form"><file name="barpay.phtml" hash="671ee2711abac37171ee7da7afe1007f"/><file name="billsafe.phtml" hash="118dbb8987def369338bcd1ea5d97cf5"/><file name="ccard.phtml" hash="66187d3de3dc7ee17a06ddfd208c9edb"/><file name="debitcard.phtml" hash="6a4ef61fdcd29939f8afa047adc61087"/><file name="directdebit.phtml" hash="0f45be2c98981b3434eab43684cf1263"/><file name="eps.phtml" hash="329f6644230081218299c1862b5bba4e"/><file name="giropay.phtml" hash="3193453c080a4559fd300d3c754c4fe0"/><file name="ideal.phtml" hash="041170d4288b788fe3f600b6dcf16026"/><file name="invoice.phtml" hash="6e761e68364e82e985b4410e35e82e7d"/><file name="mangirkart.phtml" hash="e56ee10949fede6a5d10c77e02c2018e"/><file name="paypal.phtml" hash="750dd11961c58ed4a71834d848efae2d"/><file name="prepaid.phtml" hash="f571e71e3deb18c14706bed8b3be7e75"/><file name="sofortueberweisung.phtml" hash="79484a3b235ef3834dc9629820eaeada"/><file name="xcard.phtml" hash="f1c426f21a33f7603e415e98939a041d"/></dir><file name="iframe.phtml" hash="c3ebbd4142db6532eb27527da5496205"/><dir name="info"><file name="payment.phtml" hash="caedeeef8c205ac2611f20abdb3c0b90"/></dir><file name="lightbox.phtml" hash="cfa65509f442d2d94275ede678a69f30"/><file name="redirect.phtml" hash="b57add411ecceb4aab8de3d9f9c7596a"/><file name="secure.phtml" hash="e88cb240cc7dcda0f38eaa34e079ce3a"/><file name="success.phtml" hash="c934ed6185335eaa30cfc85a796a9dc0"/><file name="suform.phtml" hash="51f2b4f966cea8787a3a2c084462da7f"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mage_Heidelpay.xml" hash="7f4bf53ffc53df1e7358c6953474d113"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Mage_Heidelpay.csv" hash="383af53f4cd30905e2b3769eb32bb0cc"/></dir><dir name="de_DE"><file name="Mage_Heidelpay.csv" hash="0204e77f4cff8fcc482bf278fda93559"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="heidelpay"><file name="BarPay.jpg" hash="1b79e14a7ab0d026d551fe1d4227feeb"/><file name="back.png" hash="f0c9f626542f28c55aa40dfc540e6935"/><file name="back_de.png" hash="83bc85d315edfa9b00bd157431b5ff32"/><file name="forward.jpg" hash="123f9980a2a179d594aa954683e284f2"/><file name="forward.png" hash="cb56c1f1c5035391d2d3be7fff2362f5"/><file name="forward_de.jpg" hash="6d84462f1cd2bc18a48f81e5efc42bba"/><file name="forward_de.png" hash="6a8a6e6ff98909b3e05c686f4817b836"/><file name="heidelpay.png" hash="393274a5c3cef1d30da770710f5f3c90"/><file name="heidelpay_style.css" hash="a62c70d6842d9c3ff9712ab6e9213121"/><file name="space.gif" hash="ea05ec2274832731bf2413a6192a245d"/></dir></dir></dir></dir></dir></target></contents>
|
46 |
<compatible/>
|
47 |
+
<dependencies><required><php><min>5.0.0</min><max>5.5.7</max></php></required></dependencies>
|
48 |
</package>
|
skin/frontend/base/default/images/heidelpay/BarPay.jpg
ADDED
Binary file
|
skin/frontend/base/default/images/heidelpay/Thumbs.db
DELETED
Binary file
|
skin/frontend/base/default/images/heidelpay/back.png
CHANGED
Binary file
|
skin/frontend/base/default/images/heidelpay/back_de.png
ADDED
Binary file
|
skin/frontend/base/default/images/heidelpay/forward.jpg
CHANGED
Binary file
|
skin/frontend/base/default/images/heidelpay/forward.png
CHANGED
Binary file
|
skin/frontend/base/default/images/heidelpay/forward_de.jpg
ADDED
Binary file
|
skin/frontend/base/default/images/heidelpay/forward_de.png
ADDED
Binary file
|
skin/frontend/base/default/images/heidelpay/heidelpay_small.png
DELETED
Binary file
|