Version Notes
Mage_Payone-3.1.9
Download this release
Release Info
Developer | noovias |
Extension | Mage_Payone |
Version | 3.1.9 |
Comparing to | |
See all releases |
Code changes from version 3.1.8 to 3.1.9
- app/code/community/Payone/Core/Block/Payment/Method/Info/CashOnDelivery.php +40 -40
- app/code/community/Payone/Core/Block/Payment/Method/Info/SafeInvoice.php +163 -163
- app/code/community/Payone/Core/Model/Config/General/Global.php +246 -246
- app/code/community/Payone/Core/Model/Config/Protect/AddressCheck.php +30 -0
- app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Abstract.php +541 -541
- app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Authorize/Abstract.php +3 -2
- app/code/community/Payone/Core/Model/Mapper/ApiRequest/Verification/AddressCheck.php +119 -113
- app/code/community/Payone/Core/Model/Observer/Checkout/Onepage/DebitPayment.php +35 -6
- app/code/community/Payone/Core/Model/Observer/Sales/Order.php +80 -78
- app/code/community/Payone/Core/Model/Observer/Sales/Order/Invoice.php +12 -0
- app/code/community/Payone/Core/Model/Observer/Sales/Quote/Address.php +38 -2
- app/code/community/Payone/Core/Model/Observer/TransactionStatus/InvoiceCreate.php +206 -206
- app/code/community/Payone/Core/Model/Payment/Method/Abstract.php +24 -17
- app/code/community/Payone/Core/Model/Payment/Method/SafeInvoice.php +136 -136
- app/code/community/Payone/Core/Model/Sales/Quote/Address.php +14 -0
- app/code/community/Payone/Core/Model/Service/Payment/Abstract.php +154 -154
- app/code/community/Payone/Core/Model/Service/TransactionStatus/Process.php +194 -194
- app/code/community/Payone/Core/Model/Service/TransactionStatus/StoreClearingParameters.php +83 -83
- app/code/community/Payone/Core/Model/System/Config/Abstract.php +3 -0
- app/code/community/Payone/Core/Model/System/Config/OrderStatus.php +21 -1
- app/code/community/Payone/Core/controllers/Checkout/Onepage/PaymentController.php +207 -207
- app/code/community/Payone/Core/controllers/Checkout/OnepageController.php +6 -60
- app/code/community/Payone/Core/etc/config.xml +12 -3
- app/code/community/Payone/Core/etc/system.xml +9 -0
- app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.0.3-3.0.4.php +50 -50
- app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.0.8-3.0.9.php +59 -59
- app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.1.3-3.1.4.php +59 -59
- app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.1.4-3.1.5.php +58 -58
- app/code/community/Payone/Core/sql/payone_core_setup/upgrade-3.1.3-3.1.4.sql +10 -10
- app/code/community/Payone/Core/sql/payone_core_setup/upgrade-3.1.4-3.1.5.sql +6 -6
- app/design/adminhtml/default/default/template/payone/core/payment/method/form/debitpayment.phtml +1 -1
- app/design/adminhtml/default/default/template/payone/core/payment/method/info/cashondelivery.phtml +32 -32
- app/design/frontend/base/default/template/payone/core/checkout/onepage/review/sepamandate.phtml +1 -1
- app/design/frontend/base/default/template/payone/core/checkout/protect.phtml +7 -2
- app/design/frontend/base/default/template/payone/core/payment/method/form/onlinebanktransfer/bankgroup.phtml +74 -74
- app/design/frontend/base/default/template/payone/core/payment/method/info/safe_invoice.phtml +47 -47
- app/locale/de_DE/Payone_Core.csv +1 -0
- js/payone/core/debitpayment.js +18 -5
- package.xml +5 -5
app/code/community/Payone/Core/Block/Payment/Method/Info/CashOnDelivery.php
CHANGED
@@ -1,41 +1,41 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
*
|
4 |
-
* NOTICE OF LICENSE
|
5 |
-
*
|
6 |
-
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
-
* that is bundled with this package in the file LICENSE.txt
|
8 |
-
*
|
9 |
-
* DISCLAIMER
|
10 |
-
*
|
11 |
-
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
-
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
-
* needs please refer to http://www.payone.de for more information.
|
14 |
-
*
|
15 |
-
* @category Payone
|
16 |
-
* @package Payone_Core_Block
|
17 |
-
* @subpackage Payment
|
18 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
-
* @author Matthias Walter <info@noovias.com>
|
20 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
-
* @link http://www.noovias.com
|
22 |
-
*/
|
23 |
-
|
24 |
-
/**
|
25 |
-
*
|
26 |
-
* @category Payone
|
27 |
-
* @package Payone_Core_Block
|
28 |
-
* @subpackage Payment
|
29 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
30 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
31 |
-
* @link http://www.noovias.com
|
32 |
-
*/
|
33 |
-
class Payone_Core_Block_Payment_Method_Info_CashOnDelivery
|
34 |
-
extends Payone_Core_Block_Payment_Method_Info_Abstract
|
35 |
-
{
|
36 |
-
protected function _construct()
|
37 |
-
{
|
38 |
-
parent::_construct();
|
39 |
-
$this->setTemplate('payone/core/payment/method/info/cashondelivery.phtml');
|
40 |
-
}
|
41 |
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
+
* that is bundled with this package in the file LICENSE.txt
|
8 |
+
*
|
9 |
+
* DISCLAIMER
|
10 |
+
*
|
11 |
+
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
+
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
+
* needs please refer to http://www.payone.de for more information.
|
14 |
+
*
|
15 |
+
* @category Payone
|
16 |
+
* @package Payone_Core_Block
|
17 |
+
* @subpackage Payment
|
18 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
+
* @author Matthias Walter <info@noovias.com>
|
20 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
+
* @link http://www.noovias.com
|
22 |
+
*/
|
23 |
+
|
24 |
+
/**
|
25 |
+
*
|
26 |
+
* @category Payone
|
27 |
+
* @package Payone_Core_Block
|
28 |
+
* @subpackage Payment
|
29 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
30 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
31 |
+
* @link http://www.noovias.com
|
32 |
+
*/
|
33 |
+
class Payone_Core_Block_Payment_Method_Info_CashOnDelivery
|
34 |
+
extends Payone_Core_Block_Payment_Method_Info_Abstract
|
35 |
+
{
|
36 |
+
protected function _construct()
|
37 |
+
{
|
38 |
+
parent::_construct();
|
39 |
+
$this->setTemplate('payone/core/payment/method/info/cashondelivery.phtml');
|
40 |
+
}
|
41 |
}
|
app/code/community/Payone/Core/Block/Payment/Method/Info/SafeInvoice.php
CHANGED
@@ -1,164 +1,164 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
*
|
4 |
-
* NOTICE OF LICENSE
|
5 |
-
*
|
6 |
-
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
-
* that is bundled with this package in the file LICENSE.txt
|
8 |
-
*
|
9 |
-
* DISCLAIMER
|
10 |
-
*
|
11 |
-
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
-
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
-
* needs please refer to http://www.payone.de for more information.
|
14 |
-
*
|
15 |
-
* @category Payone
|
16 |
-
* @package Payone_Core_Block
|
17 |
-
* @subpackage Payment
|
18 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
-
* @author Matthias Walter <info@noovias.com>
|
20 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
-
* @link http://www.noovias.com
|
22 |
-
*/
|
23 |
-
|
24 |
-
/**
|
25 |
-
*
|
26 |
-
* @category Payone
|
27 |
-
* @package Payone_Core_Block
|
28 |
-
* @subpackage Payment
|
29 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
30 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
31 |
-
* @link http://www.noovias.com
|
32 |
-
*/
|
33 |
-
class Payone_Core_Block_Payment_Method_Info_SafeInvoice
|
34 |
-
extends Payone_Core_Block_Payment_Method_Info_Abstract
|
35 |
-
{
|
36 |
-
protected function _construct()
|
37 |
-
{
|
38 |
-
parent::_construct();
|
39 |
-
$this->setTemplate('payone/core/payment/method/info/safe_invoice.phtml');
|
40 |
-
|
41 |
-
}
|
42 |
-
|
43 |
-
/**
|
44 |
-
* @return string
|
45 |
-
*/
|
46 |
-
public function getSafeInvoiceType()
|
47 |
-
{
|
48 |
-
$model = $this->getFactory()->getModelSystemConfigSafeInvoiceType();
|
49 |
-
$array = $model->toSelectArray();
|
50 |
-
|
51 |
-
$safeInvoiceType = $this->getInfo()->getPayoneSafeInvoiceType();
|
52 |
-
if (array_key_exists($safeInvoiceType, $array)) {
|
53 |
-
return $array[$safeInvoiceType];
|
54 |
-
}
|
55 |
-
return '';
|
56 |
-
}
|
57 |
-
|
58 |
-
public function toPdf()
|
59 |
-
{
|
60 |
-
$this->setTemplate('payone/core/payment/method/pdf/safe_invoice.phtml');
|
61 |
-
return $this->toHtml();
|
62 |
-
}
|
63 |
-
|
64 |
-
|
65 |
-
/**
|
66 |
-
* @return string
|
67 |
-
*/
|
68 |
-
public function getPayoneClearingBankAccountholder()
|
69 |
-
{
|
70 |
-
return $this->getInfo()->getPayoneClearingBankAccountholder();
|
71 |
-
}
|
72 |
-
|
73 |
-
/**
|
74 |
-
* @return string
|
75 |
-
*/
|
76 |
-
public function getPayoneClearingBankCountry()
|
77 |
-
{
|
78 |
-
return $this->getInfo()->getPayoneClearingBankCountry();
|
79 |
-
}
|
80 |
-
|
81 |
-
/**
|
82 |
-
* @return string
|
83 |
-
*/
|
84 |
-
public function getPayoneClearingBankAccount()
|
85 |
-
{
|
86 |
-
return $this->getInfo()->getPayoneClearingBankAccount();
|
87 |
-
}
|
88 |
-
|
89 |
-
/**
|
90 |
-
* @return string
|
91 |
-
*/
|
92 |
-
public function getPayoneClearingBankCode()
|
93 |
-
{
|
94 |
-
return $this->getInfo()->getPayoneClearingBankCode();
|
95 |
-
}
|
96 |
-
|
97 |
-
/**
|
98 |
-
* @return string
|
99 |
-
*/
|
100 |
-
public function getPayoneClearingBankIban()
|
101 |
-
{
|
102 |
-
return $this->getInfo()->getPayoneClearingBankIban();
|
103 |
-
}
|
104 |
-
|
105 |
-
/**
|
106 |
-
* @return string
|
107 |
-
*/
|
108 |
-
public function getPayoneClearingBankBic()
|
109 |
-
{
|
110 |
-
return $this->getInfo()->getPayoneClearingBankBic();
|
111 |
-
}
|
112 |
-
|
113 |
-
/**
|
114 |
-
* @return string
|
115 |
-
*/
|
116 |
-
public function getPayoneClearingBankCity()
|
117 |
-
{
|
118 |
-
return $this->getInfo()->getPayoneClearingBankCity();
|
119 |
-
}
|
120 |
-
|
121 |
-
/**
|
122 |
-
* @return string
|
123 |
-
*/
|
124 |
-
public function getPayoneClearingBankName()
|
125 |
-
{
|
126 |
-
return $this->getInfo()->getPayoneClearingBankName();
|
127 |
-
}
|
128 |
-
|
129 |
-
|
130 |
-
/**
|
131 |
-
* @return string
|
132 |
-
*/
|
133 |
-
public function getPayoneClearingReference()
|
134 |
-
{
|
135 |
-
return $this->getInfo()->getPayoneClearingReference();
|
136 |
-
}
|
137 |
-
|
138 |
-
|
139 |
-
/**
|
140 |
-
* @return string
|
141 |
-
*/
|
142 |
-
public function getPayoneClearingInstructionnote()
|
143 |
-
{
|
144 |
-
return $this->getInfo()->getPayoneClearingInstructionnote();
|
145 |
-
}
|
146 |
-
|
147 |
-
|
148 |
-
/**
|
149 |
-
* @return string
|
150 |
-
*/
|
151 |
-
public function getPayoneClearingLegalnote()
|
152 |
-
{
|
153 |
-
return $this->getInfo()->getPayoneClearingLegalnote();
|
154 |
-
}
|
155 |
-
|
156 |
-
|
157 |
-
/**
|
158 |
-
* @return string
|
159 |
-
*/
|
160 |
-
public function getPayoneClearingDuedate()
|
161 |
-
{
|
162 |
-
return $this->getInfo()->getPayoneClearingDuedate();
|
163 |
-
}
|
164 |
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
+
* that is bundled with this package in the file LICENSE.txt
|
8 |
+
*
|
9 |
+
* DISCLAIMER
|
10 |
+
*
|
11 |
+
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
+
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
+
* needs please refer to http://www.payone.de for more information.
|
14 |
+
*
|
15 |
+
* @category Payone
|
16 |
+
* @package Payone_Core_Block
|
17 |
+
* @subpackage Payment
|
18 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
+
* @author Matthias Walter <info@noovias.com>
|
20 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
+
* @link http://www.noovias.com
|
22 |
+
*/
|
23 |
+
|
24 |
+
/**
|
25 |
+
*
|
26 |
+
* @category Payone
|
27 |
+
* @package Payone_Core_Block
|
28 |
+
* @subpackage Payment
|
29 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
30 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
31 |
+
* @link http://www.noovias.com
|
32 |
+
*/
|
33 |
+
class Payone_Core_Block_Payment_Method_Info_SafeInvoice
|
34 |
+
extends Payone_Core_Block_Payment_Method_Info_Abstract
|
35 |
+
{
|
36 |
+
protected function _construct()
|
37 |
+
{
|
38 |
+
parent::_construct();
|
39 |
+
$this->setTemplate('payone/core/payment/method/info/safe_invoice.phtml');
|
40 |
+
|
41 |
+
}
|
42 |
+
|
43 |
+
/**
|
44 |
+
* @return string
|
45 |
+
*/
|
46 |
+
public function getSafeInvoiceType()
|
47 |
+
{
|
48 |
+
$model = $this->getFactory()->getModelSystemConfigSafeInvoiceType();
|
49 |
+
$array = $model->toSelectArray();
|
50 |
+
|
51 |
+
$safeInvoiceType = $this->getInfo()->getPayoneSafeInvoiceType();
|
52 |
+
if (array_key_exists($safeInvoiceType, $array)) {
|
53 |
+
return $array[$safeInvoiceType];
|
54 |
+
}
|
55 |
+
return '';
|
56 |
+
}
|
57 |
+
|
58 |
+
public function toPdf()
|
59 |
+
{
|
60 |
+
$this->setTemplate('payone/core/payment/method/pdf/safe_invoice.phtml');
|
61 |
+
return $this->toHtml();
|
62 |
+
}
|
63 |
+
|
64 |
+
|
65 |
+
/**
|
66 |
+
* @return string
|
67 |
+
*/
|
68 |
+
public function getPayoneClearingBankAccountholder()
|
69 |
+
{
|
70 |
+
return $this->getInfo()->getPayoneClearingBankAccountholder();
|
71 |
+
}
|
72 |
+
|
73 |
+
/**
|
74 |
+
* @return string
|
75 |
+
*/
|
76 |
+
public function getPayoneClearingBankCountry()
|
77 |
+
{
|
78 |
+
return $this->getInfo()->getPayoneClearingBankCountry();
|
79 |
+
}
|
80 |
+
|
81 |
+
/**
|
82 |
+
* @return string
|
83 |
+
*/
|
84 |
+
public function getPayoneClearingBankAccount()
|
85 |
+
{
|
86 |
+
return $this->getInfo()->getPayoneClearingBankAccount();
|
87 |
+
}
|
88 |
+
|
89 |
+
/**
|
90 |
+
* @return string
|
91 |
+
*/
|
92 |
+
public function getPayoneClearingBankCode()
|
93 |
+
{
|
94 |
+
return $this->getInfo()->getPayoneClearingBankCode();
|
95 |
+
}
|
96 |
+
|
97 |
+
/**
|
98 |
+
* @return string
|
99 |
+
*/
|
100 |
+
public function getPayoneClearingBankIban()
|
101 |
+
{
|
102 |
+
return $this->getInfo()->getPayoneClearingBankIban();
|
103 |
+
}
|
104 |
+
|
105 |
+
/**
|
106 |
+
* @return string
|
107 |
+
*/
|
108 |
+
public function getPayoneClearingBankBic()
|
109 |
+
{
|
110 |
+
return $this->getInfo()->getPayoneClearingBankBic();
|
111 |
+
}
|
112 |
+
|
113 |
+
/**
|
114 |
+
* @return string
|
115 |
+
*/
|
116 |
+
public function getPayoneClearingBankCity()
|
117 |
+
{
|
118 |
+
return $this->getInfo()->getPayoneClearingBankCity();
|
119 |
+
}
|
120 |
+
|
121 |
+
/**
|
122 |
+
* @return string
|
123 |
+
*/
|
124 |
+
public function getPayoneClearingBankName()
|
125 |
+
{
|
126 |
+
return $this->getInfo()->getPayoneClearingBankName();
|
127 |
+
}
|
128 |
+
|
129 |
+
|
130 |
+
/**
|
131 |
+
* @return string
|
132 |
+
*/
|
133 |
+
public function getPayoneClearingReference()
|
134 |
+
{
|
135 |
+
return $this->getInfo()->getPayoneClearingReference();
|
136 |
+
}
|
137 |
+
|
138 |
+
|
139 |
+
/**
|
140 |
+
* @return string
|
141 |
+
*/
|
142 |
+
public function getPayoneClearingInstructionnote()
|
143 |
+
{
|
144 |
+
return $this->getInfo()->getPayoneClearingInstructionnote();
|
145 |
+
}
|
146 |
+
|
147 |
+
|
148 |
+
/**
|
149 |
+
* @return string
|
150 |
+
*/
|
151 |
+
public function getPayoneClearingLegalnote()
|
152 |
+
{
|
153 |
+
return $this->getInfo()->getPayoneClearingLegalnote();
|
154 |
+
}
|
155 |
+
|
156 |
+
|
157 |
+
/**
|
158 |
+
* @return string
|
159 |
+
*/
|
160 |
+
public function getPayoneClearingDuedate()
|
161 |
+
{
|
162 |
+
return $this->getInfo()->getPayoneClearingDuedate();
|
163 |
+
}
|
164 |
}
|
app/code/community/Payone/Core/Model/Config/General/Global.php
CHANGED
@@ -1,246 +1,246 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
*
|
4 |
-
* NOTICE OF LICENSE
|
5 |
-
*
|
6 |
-
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
-
* that is bundled with this package in the file LICENSE.txt
|
8 |
-
*
|
9 |
-
* DISCLAIMER
|
10 |
-
*
|
11 |
-
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
-
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
-
* needs please refer to http://www.payone.de for more information.
|
14 |
-
*
|
15 |
-
* @category Payone
|
16 |
-
* @package Payone_Core_Model
|
17 |
-
* @subpackage Config
|
18 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
-
* @author Matthias Walter <info@noovias.com>
|
20 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
-
* @link http://www.noovias.com
|
22 |
-
*/
|
23 |
-
|
24 |
-
/**
|
25 |
-
*
|
26 |
-
* @category Payone
|
27 |
-
* @package Payone_Core_Model
|
28 |
-
* @subpackage Config
|
29 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
30 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
31 |
-
* @link http://www.noovias.com
|
32 |
-
*/
|
33 |
-
class Payone_Core_Model_Config_General_Global extends Payone_Core_Model_Config_AreaAbstract
|
34 |
-
{
|
35 |
-
/**
|
36 |
-
* @var int
|
37 |
-
*/
|
38 |
-
protected $mid = 0;
|
39 |
-
/**
|
40 |
-
* @var int
|
41 |
-
*/
|
42 |
-
protected $portalid = 0;
|
43 |
-
/**
|
44 |
-
* @var int
|
45 |
-
*/
|
46 |
-
protected $aid = 0;
|
47 |
-
/**
|
48 |
-
* @var string
|
49 |
-
*/
|
50 |
-
protected $key = '';
|
51 |
-
/**
|
52 |
-
* @var int
|
53 |
-
*/
|
54 |
-
protected $allowspecific = 0;
|
55 |
-
/**
|
56 |
-
* @var array
|
57 |
-
*/
|
58 |
-
protected $specificcountry = array();
|
59 |
-
/**
|
60 |
-
* @var string
|
61 |
-
*/
|
62 |
-
protected $request_type = '';
|
63 |
-
/**
|
64 |
-
* @var int
|
65 |
-
*/
|
66 |
-
protected $transmit_ip = 1;
|
67 |
-
/**
|
68 |
-
* @var int
|
69 |
-
*/
|
70 |
-
protected $proxy_mode = 0;
|
71 |
-
|
72 |
-
/**
|
73 |
-
* initialize config with specificcounty as array
|
74 |
-
* @param array $data
|
75 |
-
*/
|
76 |
-
public function init(array $data)
|
77 |
-
{
|
78 |
-
if(array_key_exists('specificcountry',$data) && is_string($data['specificcountry']))
|
79 |
-
{
|
80 |
-
$data['specificcountry_by_string'] = $data['specificcountry'];
|
81 |
-
unset($data['specificcountry']);
|
82 |
-
}
|
83 |
-
|
84 |
-
parent::init($data);
|
85 |
-
}
|
86 |
-
|
87 |
-
/**
|
88 |
-
* @param int $aid
|
89 |
-
*/
|
90 |
-
public function setAid($aid)
|
91 |
-
{
|
92 |
-
$this->aid = $aid;
|
93 |
-
}
|
94 |
-
|
95 |
-
/**
|
96 |
-
* @return int
|
97 |
-
*/
|
98 |
-
public function getAid()
|
99 |
-
{
|
100 |
-
return $this->aid;
|
101 |
-
}
|
102 |
-
|
103 |
-
/**
|
104 |
-
* @param int $allowspecific
|
105 |
-
*/
|
106 |
-
public function setAllowspecific($allowspecific)
|
107 |
-
{
|
108 |
-
$this->allowspecific = $allowspecific;
|
109 |
-
}
|
110 |
-
|
111 |
-
/**
|
112 |
-
* @return int
|
113 |
-
*/
|
114 |
-
public function getAllowspecific()
|
115 |
-
{
|
116 |
-
return $this->allowspecific;
|
117 |
-
}
|
118 |
-
|
119 |
-
/**
|
120 |
-
* @param string $key
|
121 |
-
*/
|
122 |
-
public function setKey($key)
|
123 |
-
{
|
124 |
-
$this->key = $key;
|
125 |
-
}
|
126 |
-
|
127 |
-
/**
|
128 |
-
* @return string
|
129 |
-
*/
|
130 |
-
public function getKey()
|
131 |
-
{
|
132 |
-
return $this->key;
|
133 |
-
}
|
134 |
-
|
135 |
-
/**
|
136 |
-
* @param int $mid
|
137 |
-
*/
|
138 |
-
public function setMid($mid)
|
139 |
-
{
|
140 |
-
$this->mid = $mid;
|
141 |
-
}
|
142 |
-
|
143 |
-
/**
|
144 |
-
* @return int
|
145 |
-
*/
|
146 |
-
public function getMid()
|
147 |
-
{
|
148 |
-
return $this->mid;
|
149 |
-
}
|
150 |
-
|
151 |
-
/**
|
152 |
-
* @param int $portalid
|
153 |
-
*/
|
154 |
-
public function setPortalid($portalid)
|
155 |
-
{
|
156 |
-
$this->portalid = $portalid;
|
157 |
-
}
|
158 |
-
|
159 |
-
/**
|
160 |
-
* @return int
|
161 |
-
*/
|
162 |
-
public function getPortalid()
|
163 |
-
{
|
164 |
-
return $this->portalid;
|
165 |
-
}
|
166 |
-
|
167 |
-
/**
|
168 |
-
* @param string $request_type
|
169 |
-
*/
|
170 |
-
public function setRequestType($request_type)
|
171 |
-
{
|
172 |
-
$this->request_type = $request_type;
|
173 |
-
}
|
174 |
-
|
175 |
-
/**
|
176 |
-
* @return string
|
177 |
-
*/
|
178 |
-
public function getRequestType()
|
179 |
-
{
|
180 |
-
return $this->request_type;
|
181 |
-
}
|
182 |
-
|
183 |
-
/**
|
184 |
-
* @param array $specificcountry
|
185 |
-
*/
|
186 |
-
public function setSpecificcountry(array $specificcountry)
|
187 |
-
{
|
188 |
-
$this->specificcountry = $specificcountry;
|
189 |
-
}
|
190 |
-
|
191 |
-
/**
|
192 |
-
* @return array
|
193 |
-
*/
|
194 |
-
public function getSpecificcountry()
|
195 |
-
{
|
196 |
-
return $this->specificcountry;
|
197 |
-
}
|
198 |
-
|
199 |
-
/**
|
200 |
-
* @param $specificcountry
|
201 |
-
*/
|
202 |
-
public function setSpecificcountryByString($specificcountry)
|
203 |
-
{
|
204 |
-
$this->specificcountry = explode(',', $specificcountry);
|
205 |
-
}
|
206 |
-
|
207 |
-
/**
|
208 |
-
* @return string
|
209 |
-
*/
|
210 |
-
public function getSpecificcountryAsString()
|
211 |
-
{
|
212 |
-
return implode(',', $this->specificcountry);
|
213 |
-
}
|
214 |
-
|
215 |
-
/**
|
216 |
-
* @param int $transmit_ip
|
217 |
-
*/
|
218 |
-
public function setTransmitIp($transmit_ip)
|
219 |
-
{
|
220 |
-
$this->transmit_ip = $transmit_ip;
|
221 |
-
}
|
222 |
-
|
223 |
-
/**
|
224 |
-
* @return int
|
225 |
-
*/
|
226 |
-
public function getTransmitIp()
|
227 |
-
{
|
228 |
-
return $this->transmit_ip;
|
229 |
-
}
|
230 |
-
|
231 |
-
/**
|
232 |
-
* @param int $proxy_mode
|
233 |
-
*/
|
234 |
-
public function setProxyMode($proxy_mode)
|
235 |
-
{
|
236 |
-
$this->proxy_mode = $proxy_mode;
|
237 |
-
}
|
238 |
-
|
239 |
-
/**
|
240 |
-
* @return int
|
241 |
-
*/
|
242 |
-
public function getProxyMode()
|
243 |
-
{
|
244 |
-
return $this->proxy_mode;
|
245 |
-
}
|
246 |
-
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
+
* that is bundled with this package in the file LICENSE.txt
|
8 |
+
*
|
9 |
+
* DISCLAIMER
|
10 |
+
*
|
11 |
+
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
+
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
+
* needs please refer to http://www.payone.de for more information.
|
14 |
+
*
|
15 |
+
* @category Payone
|
16 |
+
* @package Payone_Core_Model
|
17 |
+
* @subpackage Config
|
18 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
+
* @author Matthias Walter <info@noovias.com>
|
20 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
+
* @link http://www.noovias.com
|
22 |
+
*/
|
23 |
+
|
24 |
+
/**
|
25 |
+
*
|
26 |
+
* @category Payone
|
27 |
+
* @package Payone_Core_Model
|
28 |
+
* @subpackage Config
|
29 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
30 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
31 |
+
* @link http://www.noovias.com
|
32 |
+
*/
|
33 |
+
class Payone_Core_Model_Config_General_Global extends Payone_Core_Model_Config_AreaAbstract
|
34 |
+
{
|
35 |
+
/**
|
36 |
+
* @var int
|
37 |
+
*/
|
38 |
+
protected $mid = 0;
|
39 |
+
/**
|
40 |
+
* @var int
|
41 |
+
*/
|
42 |
+
protected $portalid = 0;
|
43 |
+
/**
|
44 |
+
* @var int
|
45 |
+
*/
|
46 |
+
protected $aid = 0;
|
47 |
+
/**
|
48 |
+
* @var string
|
49 |
+
*/
|
50 |
+
protected $key = '';
|
51 |
+
/**
|
52 |
+
* @var int
|
53 |
+
*/
|
54 |
+
protected $allowspecific = 0;
|
55 |
+
/**
|
56 |
+
* @var array
|
57 |
+
*/
|
58 |
+
protected $specificcountry = array();
|
59 |
+
/**
|
60 |
+
* @var string
|
61 |
+
*/
|
62 |
+
protected $request_type = '';
|
63 |
+
/**
|
64 |
+
* @var int
|
65 |
+
*/
|
66 |
+
protected $transmit_ip = 1;
|
67 |
+
/**
|
68 |
+
* @var int
|
69 |
+
*/
|
70 |
+
protected $proxy_mode = 0;
|
71 |
+
|
72 |
+
/**
|
73 |
+
* initialize config with specificcounty as array
|
74 |
+
* @param array $data
|
75 |
+
*/
|
76 |
+
public function init(array $data)
|
77 |
+
{
|
78 |
+
if(array_key_exists('specificcountry',$data) && is_string($data['specificcountry']))
|
79 |
+
{
|
80 |
+
$data['specificcountry_by_string'] = $data['specificcountry'];
|
81 |
+
unset($data['specificcountry']);
|
82 |
+
}
|
83 |
+
|
84 |
+
parent::init($data);
|
85 |
+
}
|
86 |
+
|
87 |
+
/**
|
88 |
+
* @param int $aid
|
89 |
+
*/
|
90 |
+
public function setAid($aid)
|
91 |
+
{
|
92 |
+
$this->aid = $aid;
|
93 |
+
}
|
94 |
+
|
95 |
+
/**
|
96 |
+
* @return int
|
97 |
+
*/
|
98 |
+
public function getAid()
|
99 |
+
{
|
100 |
+
return $this->aid;
|
101 |
+
}
|
102 |
+
|
103 |
+
/**
|
104 |
+
* @param int $allowspecific
|
105 |
+
*/
|
106 |
+
public function setAllowspecific($allowspecific)
|
107 |
+
{
|
108 |
+
$this->allowspecific = $allowspecific;
|
109 |
+
}
|
110 |
+
|
111 |
+
/**
|
112 |
+
* @return int
|
113 |
+
*/
|
114 |
+
public function getAllowspecific()
|
115 |
+
{
|
116 |
+
return $this->allowspecific;
|
117 |
+
}
|
118 |
+
|
119 |
+
/**
|
120 |
+
* @param string $key
|
121 |
+
*/
|
122 |
+
public function setKey($key)
|
123 |
+
{
|
124 |
+
$this->key = $key;
|
125 |
+
}
|
126 |
+
|
127 |
+
/**
|
128 |
+
* @return string
|
129 |
+
*/
|
130 |
+
public function getKey()
|
131 |
+
{
|
132 |
+
return $this->key;
|
133 |
+
}
|
134 |
+
|
135 |
+
/**
|
136 |
+
* @param int $mid
|
137 |
+
*/
|
138 |
+
public function setMid($mid)
|
139 |
+
{
|
140 |
+
$this->mid = $mid;
|
141 |
+
}
|
142 |
+
|
143 |
+
/**
|
144 |
+
* @return int
|
145 |
+
*/
|
146 |
+
public function getMid()
|
147 |
+
{
|
148 |
+
return $this->mid;
|
149 |
+
}
|
150 |
+
|
151 |
+
/**
|
152 |
+
* @param int $portalid
|
153 |
+
*/
|
154 |
+
public function setPortalid($portalid)
|
155 |
+
{
|
156 |
+
$this->portalid = $portalid;
|
157 |
+
}
|
158 |
+
|
159 |
+
/**
|
160 |
+
* @return int
|
161 |
+
*/
|
162 |
+
public function getPortalid()
|
163 |
+
{
|
164 |
+
return $this->portalid;
|
165 |
+
}
|
166 |
+
|
167 |
+
/**
|
168 |
+
* @param string $request_type
|
169 |
+
*/
|
170 |
+
public function setRequestType($request_type)
|
171 |
+
{
|
172 |
+
$this->request_type = $request_type;
|
173 |
+
}
|
174 |
+
|
175 |
+
/**
|
176 |
+
* @return string
|
177 |
+
*/
|
178 |
+
public function getRequestType()
|
179 |
+
{
|
180 |
+
return $this->request_type;
|
181 |
+
}
|
182 |
+
|
183 |
+
/**
|
184 |
+
* @param array $specificcountry
|
185 |
+
*/
|
186 |
+
public function setSpecificcountry(array $specificcountry)
|
187 |
+
{
|
188 |
+
$this->specificcountry = $specificcountry;
|
189 |
+
}
|
190 |
+
|
191 |
+
/**
|
192 |
+
* @return array
|
193 |
+
*/
|
194 |
+
public function getSpecificcountry()
|
195 |
+
{
|
196 |
+
return $this->specificcountry;
|
197 |
+
}
|
198 |
+
|
199 |
+
/**
|
200 |
+
* @param $specificcountry
|
201 |
+
*/
|
202 |
+
public function setSpecificcountryByString($specificcountry)
|
203 |
+
{
|
204 |
+
$this->specificcountry = explode(',', $specificcountry);
|
205 |
+
}
|
206 |
+
|
207 |
+
/**
|
208 |
+
* @return string
|
209 |
+
*/
|
210 |
+
public function getSpecificcountryAsString()
|
211 |
+
{
|
212 |
+
return implode(',', $this->specificcountry);
|
213 |
+
}
|
214 |
+
|
215 |
+
/**
|
216 |
+
* @param int $transmit_ip
|
217 |
+
*/
|
218 |
+
public function setTransmitIp($transmit_ip)
|
219 |
+
{
|
220 |
+
$this->transmit_ip = $transmit_ip;
|
221 |
+
}
|
222 |
+
|
223 |
+
/**
|
224 |
+
* @return int
|
225 |
+
*/
|
226 |
+
public function getTransmitIp()
|
227 |
+
{
|
228 |
+
return $this->transmit_ip;
|
229 |
+
}
|
230 |
+
|
231 |
+
/**
|
232 |
+
* @param int $proxy_mode
|
233 |
+
*/
|
234 |
+
public function setProxyMode($proxy_mode)
|
235 |
+
{
|
236 |
+
$this->proxy_mode = $proxy_mode;
|
237 |
+
}
|
238 |
+
|
239 |
+
/**
|
240 |
+
* @return int
|
241 |
+
*/
|
242 |
+
public function getProxyMode()
|
243 |
+
{
|
244 |
+
return $this->proxy_mode;
|
245 |
+
}
|
246 |
+
}
|
app/code/community/Payone/Core/Model/Config/Protect/AddressCheck.php
CHANGED
@@ -76,6 +76,9 @@ class Payone_Core_Model_Config_Protect_AddressCheck
|
|
76 |
*/
|
77 |
protected $mapping_personstatus = null;
|
78 |
|
|
|
|
|
|
|
79 |
public function init(array $data)
|
80 |
{
|
81 |
foreach ($data as $key => $value) {
|
@@ -153,6 +156,17 @@ class Payone_Core_Model_Config_Protect_AddressCheck
|
|
153 |
return true;
|
154 |
}
|
155 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
/**
|
157 |
* @param int $check_shipping
|
158 |
*/
|
@@ -169,6 +183,22 @@ class Payone_Core_Model_Config_Protect_AddressCheck
|
|
169 |
return $this->check_shipping;
|
170 |
}
|
171 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
172 |
/**
|
173 |
* @param int $enabled
|
174 |
*/
|
76 |
*/
|
77 |
protected $mapping_personstatus = null;
|
78 |
|
79 |
+
/** @var int */
|
80 |
+
protected $check_billing_for_virtual_order = 0;
|
81 |
+
|
82 |
public function init(array $data)
|
83 |
{
|
84 |
foreach ($data as $key => $value) {
|
156 |
return true;
|
157 |
}
|
158 |
|
159 |
+
/**
|
160 |
+
* @return bool
|
161 |
+
*/
|
162 |
+
public function mustCheckBillingForVirtualOrder()
|
163 |
+
{
|
164 |
+
if ($this->getCheckBillingForVirtualOrder()) {
|
165 |
+
return true;
|
166 |
+
}
|
167 |
+
return false;
|
168 |
+
}
|
169 |
+
|
170 |
/**
|
171 |
* @param int $check_shipping
|
172 |
*/
|
183 |
return $this->check_shipping;
|
184 |
}
|
185 |
|
186 |
+
/**
|
187 |
+
* @param int $check_billing_for_virtual_order
|
188 |
+
*/
|
189 |
+
public function setCheckBillingForVirtualOrder($check_billing_for_virtual_order)
|
190 |
+
{
|
191 |
+
$this->check_billing_for_virtual_order = $check_billing_for_virtual_order;
|
192 |
+
}
|
193 |
+
|
194 |
+
/**
|
195 |
+
* @return int
|
196 |
+
*/
|
197 |
+
public function getCheckBillingForVirtualOrder()
|
198 |
+
{
|
199 |
+
return $this->check_billing_for_virtual_order;
|
200 |
+
}
|
201 |
+
|
202 |
/**
|
203 |
* @param int $enabled
|
204 |
*/
|
app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Abstract.php
CHANGED
@@ -1,542 +1,542 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
*
|
4 |
-
* NOTICE OF LICENSE
|
5 |
-
*
|
6 |
-
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
-
* that is bundled with this package in the file LICENSE.txt
|
8 |
-
*
|
9 |
-
* DISCLAIMER
|
10 |
-
*
|
11 |
-
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
-
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
-
* needs please refer to http://www.payone.de for more information.
|
14 |
-
*
|
15 |
-
* @category Payone
|
16 |
-
* @package Payone_Core_Model
|
17 |
-
* @subpackage Mapper
|
18 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
-
* @author Matthias Walter <info@noovias.com>
|
20 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
-
* @link http://www.noovias.com
|
22 |
-
*/
|
23 |
-
|
24 |
-
/**
|
25 |
-
*
|
26 |
-
* @category Payone
|
27 |
-
* @package Payone_Core_Model
|
28 |
-
* @subpackage Mapper
|
29 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
30 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
31 |
-
* @link http://www.noovias.com
|
32 |
-
*/
|
33 |
-
abstract class Payone_Core_Model_Mapper_ApiRequest_Payment_Abstract
|
34 |
-
extends Payone_Core_Model_Mapper_ApiRequest_Abstract
|
35 |
-
implements Payone_Core_Model_Mapper_ApiRequest_Payment_Interface
|
36 |
-
{
|
37 |
-
const DEFAULT_SHIPPING_SKU = 'Shipping';
|
38 |
-
const DEFAULT_ADJUSTMENT_POSITIVE_SKU = 'Adjustment Refund';
|
39 |
-
const DEFAULT_ADJUSTMENT_NEGATIVE_SKU = 'Adjustment Fee';
|
40 |
-
|
41 |
-
const DEFAULT_DISCOUNT_SKU = 'Discount';
|
42 |
-
const DEFAULT_TAX_SKU = 'Tax';
|
43 |
-
|
44 |
-
const EVENT_PREFIX = 'payone_core_mapper_apirequest_payment';
|
45 |
-
|
46 |
-
/** @var float */
|
47 |
-
protected $amount = 0.00;
|
48 |
-
|
49 |
-
/** @var Mage_Sales_Model_Order */
|
50 |
-
protected $order = null;
|
51 |
-
|
52 |
-
/** @var Payone_Core_Model_Payment_Method_Abstract */
|
53 |
-
protected $paymentMethod = null;
|
54 |
-
|
55 |
-
/** @var Payone_Core_Model_Config_Payment_Method_Interface */
|
56 |
-
protected $configPayment = null;
|
57 |
-
|
58 |
-
/** @var Payone_Core_Model_Config_Misc */
|
59 |
-
protected $configMisc = null;
|
60 |
-
|
61 |
-
/**
|
62 |
-
* @return string
|
63 |
-
*/
|
64 |
-
abstract public function getEventType();
|
65 |
-
|
66 |
-
/**
|
67 |
-
* @param Mage_Sales_Model_Order_Payment $payment
|
68 |
-
*/
|
69 |
-
protected function init(Mage_Sales_Model_Order_Payment $payment)
|
70 |
-
{
|
71 |
-
$this->setOrder($payment->getOrder());
|
72 |
-
$this->setPaymentMethod($payment->getMethodInstance());
|
73 |
-
}
|
74 |
-
|
75 |
-
/**
|
76 |
-
* @param Payone_Api_Request_Interface $request
|
77 |
-
*/
|
78 |
-
protected function mapDefaultParameters(Payone_Api_Request_Interface $request)
|
79 |
-
{
|
80 |
-
$helper = $this->helper();
|
81 |
-
|
82 |
-
$solutionName = 'noovias';
|
83 |
-
$solutionVersion = $helper->getPayoneVersion();
|
84 |
-
$integratorName = 'magento';
|
85 |
-
$integratorVersion = $helper->getMagentoVersion();
|
86 |
-
|
87 |
-
$request->setEncoding('UTF-8');
|
88 |
-
$request->setMid($this->getConfigPayment()->getMid());
|
89 |
-
$request->setPortalid($this->getConfigPayment()->getPortalid());
|
90 |
-
$request->setMode($this->getConfigPayment()->getMode());
|
91 |
-
$request->setKey($this->getConfigPayment()->getKey());
|
92 |
-
$request->setIntegratorName($integratorName);
|
93 |
-
$request->setIntegratorVersion($integratorVersion);
|
94 |
-
$request->setSolutionName($solutionName);
|
95 |
-
$request->setSolutionVersion($solutionVersion);
|
96 |
-
}
|
97 |
-
|
98 |
-
/**
|
99 |
-
* @return Payone_Api_Request_Parameter_Invoicing_Item
|
100 |
-
*/
|
101 |
-
protected function mapShippingFeeAsItem()
|
102 |
-
{
|
103 |
-
$order = $this->getOrder();
|
104 |
-
|
105 |
-
$configMiscShipping = $this->getConfigMisc()->getShippingCosts();
|
106 |
-
$sku = $configMiscShipping->getSku();
|
107 |
-
if (empty($sku)) {
|
108 |
-
$sku = $this->helper()->__(self::DEFAULT_SHIPPING_SKU);
|
109 |
-
}
|
110 |
-
$params['id'] = $sku;
|
111 |
-
$params['de'] = $order->getShippingDescription();
|
112 |
-
$params['no'] = 1;
|
113 |
-
$params['pr'] = $order->getShippingInclTax();
|
114 |
-
$params['va'] = $this->getShippingTaxRate();
|
115 |
-
|
116 |
-
if ($this->getPaymentMethod()->mustTransmitInvoicingItemTypes()) {
|
117 |
-
$params['it'] = Payone_Api_Enum_InvoicingItemType::SHIPMENT;
|
118 |
-
}
|
119 |
-
|
120 |
-
$item = new Payone_Api_Request_Parameter_Invoicing_Item();
|
121 |
-
$item->init($params);
|
122 |
-
|
123 |
-
return $item;
|
124 |
-
}
|
125 |
-
|
126 |
-
/**
|
127 |
-
* @param float $discountAmount
|
128 |
-
* @return Payone_Api_Request_Parameter_Invoicing_Item
|
129 |
-
*/
|
130 |
-
protected function mapDiscountAsItem($discountAmount)
|
131 |
-
{
|
132 |
-
$configMiscDiscount = $this->getConfigMisc()->getDiscount();
|
133 |
-
$sku = $configMiscDiscount->getSku();
|
134 |
-
$description = $configMiscDiscount->getDescription();
|
135 |
-
if (empty($sku)) {
|
136 |
-
$sku = $this->helper()->__(self::DEFAULT_DISCOUNT_SKU);
|
137 |
-
}
|
138 |
-
if (empty($description)) {
|
139 |
-
$description = $this->helper()->__(self::DEFAULT_DISCOUNT_SKU);
|
140 |
-
}
|
141 |
-
|
142 |
-
$params['id'] = $sku;
|
143 |
-
$params['de'] = $description;
|
144 |
-
$params['no'] = 1;
|
145 |
-
$params['pr'] = $discountAmount;
|
146 |
-
|
147 |
-
if ($this->getPaymentMethod()->mustTransmitInvoicingItemTypes()) {
|
148 |
-
$params['it'] = Payone_Api_Enum_InvoicingItemType::VOUCHER;
|
149 |
-
}
|
150 |
-
$item = new Payone_Api_Request_Parameter_Invoicing_Item();
|
151 |
-
$item->init($params);
|
152 |
-
|
153 |
-
return $item;
|
154 |
-
}
|
155 |
-
|
156 |
-
/**
|
157 |
-
* @param Mage_Sales_Model_Order_Creditmemo $creditmemo
|
158 |
-
* @return Payone_Api_Request_Parameter_Invoicing_Item
|
159 |
-
*
|
160 |
-
* used by Payone_Core_Model_Mapper_ApiRequest_Payment_Debit
|
161 |
-
*/
|
162 |
-
protected function mapRefundShippingAsItemByCreditmemo(Mage_Sales_Model_Order_Creditmemo $creditmemo)
|
163 |
-
{
|
164 |
-
$order = $this->getOrder();
|
165 |
-
|
166 |
-
$configMiscShipping = $this->getConfigMisc()->getShippingCosts();
|
167 |
-
$sku = $configMiscShipping->getSku();
|
168 |
-
if (empty($sku)) {
|
169 |
-
$sku = $this->helper()->__(self::DEFAULT_SHIPPING_SKU);
|
170 |
-
}
|
171 |
-
|
172 |
-
$params['id'] = $sku;
|
173 |
-
$params['de'] = $order->getShippingDescription();
|
174 |
-
$params['no'] = 1;
|
175 |
-
$params['pr'] = $creditmemo->getShippingInclTax();
|
176 |
-
if ($this->getPaymentMethod()->mustTransmitInvoicingItemTypes()) {
|
177 |
-
$params['it'] = Payone_Api_Enum_InvoicingItemType::SHIPMENT;
|
178 |
-
}
|
179 |
-
|
180 |
-
$item = new Payone_Api_Request_Parameter_Invoicing_Item();
|
181 |
-
$item->init($params);
|
182 |
-
|
183 |
-
return $item;
|
184 |
-
}
|
185 |
-
|
186 |
-
/**
|
187 |
-
* @param Mage_Sales_Model_Order_Creditmemo $creditmemo
|
188 |
-
* @return Payone_Api_Request_Parameter_Invoicing_Item
|
189 |
-
*
|
190 |
-
* used by Payone_Core_Model_Mapper_ApiRequest_Payment_Debit
|
191 |
-
*/
|
192 |
-
protected function mapAdjustmentPositiveAsItemByCreditmemo(Mage_Sales_Model_Order_Creditmemo $creditmemo)
|
193 |
-
{
|
194 |
-
$configMiscCreditmemo = $this->getConfigMisc()->getCreditmemo();
|
195 |
-
$sku = $configMiscCreditmemo->getAdjustmentRefundSku();
|
196 |
-
$name = $configMiscCreditmemo->getAdjustmentRefundName();
|
197 |
-
if (empty($sku)) {
|
198 |
-
$sku = $this->helper()->__(self::DEFAULT_ADJUSTMENT_POSITIVE_SKU);
|
199 |
-
}
|
200 |
-
if (empty($name)) {
|
201 |
-
$name = $this->helper()->__(self::DEFAULT_ADJUSTMENT_POSITIVE_SKU);
|
202 |
-
}
|
203 |
-
|
204 |
-
$params['id'] = $sku;
|
205 |
-
$params['de'] = $name;
|
206 |
-
$params['no'] = 1;
|
207 |
-
$params['pr'] = $creditmemo->getAdjustmentPositive();
|
208 |
-
if ($this->getPaymentMethod()->mustTransmitInvoicingItemTypes()) {
|
209 |
-
$params['it'] = Payone_Api_Enum_InvoicingItemType::VOUCHER;
|
210 |
-
}
|
211 |
-
|
212 |
-
$item = new Payone_Api_Request_Parameter_Invoicing_Item();
|
213 |
-
$item->init($params);
|
214 |
-
|
215 |
-
return $item;
|
216 |
-
}
|
217 |
-
|
218 |
-
/**
|
219 |
-
* @param Mage_Sales_Model_Order_Creditmemo $creditmemo
|
220 |
-
* @return Payone_Api_Request_Parameter_Invoicing_Item
|
221 |
-
*
|
222 |
-
* used by Payone_Core_Model_Mapper_ApiRequest_Payment_Debit
|
223 |
-
*/
|
224 |
-
|
225 |
-
protected function mapAdjustmentNegativeAsItemByCreditmemo(Mage_Sales_Model_Order_Creditmemo $creditmemo)
|
226 |
-
{
|
227 |
-
$configMiscCreditmemo = $this->getConfigMisc()->getCreditmemo();
|
228 |
-
$sku = $configMiscCreditmemo->getAdjustmentFeeSku();
|
229 |
-
$name = $configMiscCreditmemo->getAdjustmentFeeName();
|
230 |
-
if (empty($sku)) {
|
231 |
-
$sku = $this->helper()->__(self::DEFAULT_ADJUSTMENT_NEGATIVE_SKU);
|
232 |
-
}
|
233 |
-
if (empty($name)) {
|
234 |
-
$name = $this->helper()->__(self::DEFAULT_ADJUSTMENT_NEGATIVE_SKU);
|
235 |
-
}
|
236 |
-
|
237 |
-
$params['id'] = $sku;
|
238 |
-
$params['de'] = $name;
|
239 |
-
$params['no'] = 1;
|
240 |
-
$params['pr'] = $creditmemo->getAdjustmentNegative() * (-1);
|
241 |
-
if ($this->getPaymentMethod()->mustTransmitInvoicingItemTypes()) {
|
242 |
-
$params['it'] = Payone_Api_Enum_InvoicingItemType::GOODS;
|
243 |
-
}
|
244 |
-
|
245 |
-
$item = new Payone_Api_Request_Parameter_Invoicing_Item();
|
246 |
-
$item->init($params);
|
247 |
-
|
248 |
-
return $item;
|
249 |
-
}
|
250 |
-
|
251 |
-
|
252 |
-
protected function getShippingTaxRate()
|
253 |
-
{
|
254 |
-
$order = $this->getOrder();
|
255 |
-
$storeId = $this->getStoreId();
|
256 |
-
$factory = $this->getFactory();
|
257 |
-
$store = $factory->getModelCoreStore()->load($storeId);
|
258 |
-
|
259 |
-
/** @var $taxCalculationModel Mage_Tax_Model_Calculation */
|
260 |
-
$taxCalculationModel = $factory->getSingletonTaxCalculation();
|
261 |
-
|
262 |
-
$shippingAddress = $order->getShippingAddress();
|
263 |
-
$billingAddress = $order->getBillingAddress();
|
264 |
-
$quoteId = $order->getQuoteId();
|
265 |
-
$quote = $factory->getModelSalesQuote();
|
266 |
-
$quote->load($quoteId);
|
267 |
-
|
268 |
-
$customerTaxClassId = $quote->getCustomerTaxClassId();
|
269 |
-
$request = $taxCalculationModel->getRateRequest($shippingAddress, $billingAddress, $customerTaxClassId, $store);
|
270 |
-
|
271 |
-
$shippingTaxClass = $this->helperConfig()->getShippingTaxClassId($storeId);
|
272 |
-
if ($shippingTaxClass) {
|
273 |
-
$request->setProductClassId($shippingTaxClass);
|
274 |
-
return $taxCalculationModel->getRate($request);
|
275 |
-
}
|
276 |
-
else {
|
277 |
-
return 0.0;
|
278 |
-
}
|
279 |
-
}
|
280 |
-
|
281 |
-
|
282 |
-
/**
|
283 |
-
* Returns the invoice appendix and substitutes the placeholders, as far as possible
|
284 |
-
*
|
285 |
-
* @param Mage_Sales_Model_Order_Invoice|null $invoice
|
286 |
-
* @return mixed|string
|
287 |
-
*/
|
288 |
-
public function getInvoiceAppendix(Mage_Sales_Model_Order_Invoice $invoice = null)
|
289 |
-
{
|
290 |
-
$order = $this->getOrder();
|
291 |
-
|
292 |
-
/** @var $customer Mage_Customer_Model_Customer */
|
293 |
-
$customer = $this->getFactory()->getModelCustomer();
|
294 |
-
$customer->load($order->getCustomerId());
|
295 |
-
|
296 |
-
$invoiceIncrementId = '';
|
297 |
-
if (!is_null($invoice)) {
|
298 |
-
$invoiceIncrementId = $invoice->getIncrementId();
|
299 |
-
}
|
300 |
-
|
301 |
-
$substitutionArray = array(
|
302 |
-
'{{order_increment_id}}' => $order->getIncrementId(),
|
303 |
-
'{{order_id}}' => $order->getId(),
|
304 |
-
'{{invoice_increment_id}}' => $invoiceIncrementId,
|
305 |
-
'{{customer_increment_id}}' => $customer->getIncrementId(),
|
306 |
-
'{{customer_id}}' => $order->getCustomerId(),
|
307 |
-
);
|
308 |
-
|
309 |
-
$appendix = $this->getConfigParameterInvoice()->getInvoiceAppendix();
|
310 |
-
$appendix = str_replace(array_keys($substitutionArray), array_values($substitutionArray), $appendix);
|
311 |
-
|
312 |
-
return $appendix;
|
313 |
-
}
|
314 |
-
|
315 |
-
/**
|
316 |
-
* Returns the refund appendix and substitutes the placeholders, as far as possible
|
317 |
-
*
|
318 |
-
* @param Mage_Sales_Model_Order_Creditmemo $creditmemo
|
319 |
-
* @return string
|
320 |
-
*/
|
321 |
-
public function getInvoiceAppendixRefund(Mage_Sales_Model_Order_Creditmemo $creditmemo)
|
322 |
-
{
|
323 |
-
$order = $this->getOrder();
|
324 |
-
|
325 |
-
/** @var $customer Mage_Customer_Model_Customer */
|
326 |
-
$customer = $this->getFactory()->getModelCustomer();
|
327 |
-
$customer->load($order->getCustomerId());
|
328 |
-
|
329 |
-
/** @var $invoice Mage_Sales_Model_Order_Invoice */
|
330 |
-
$invoice = $creditmemo->getInvoice();
|
331 |
-
|
332 |
-
$substitutionArray = array(
|
333 |
-
'{{order_increment_id}}' => $order->getIncrementId(),
|
334 |
-
'{{order_id}}' => $order->getId(),
|
335 |
-
'{{creditmemo_increment_id}}' => $creditmemo->getIncrementId(),
|
336 |
-
'{{invoice_increment_id}}' => $invoice->getIncrementId(),
|
337 |
-
'{{invoice_id}}' => $invoice->getId(),
|
338 |
-
'{{customer_increment_id}}' => $customer->getIncrementId(),
|
339 |
-
'{{customer_id}}' => $order->getCustomerId(),
|
340 |
-
);
|
341 |
-
|
342 |
-
$appendix = $this->getConfigParameterInvoice()->getInvoiceAppendixRefund();
|
343 |
-
$appendix = str_replace(array_keys($substitutionArray), array_values($substitutionArray), $appendix);
|
344 |
-
|
345 |
-
return $appendix;
|
346 |
-
}
|
347 |
-
|
348 |
-
|
349 |
-
/**
|
350 |
-
* @return bool
|
351 |
-
*/
|
352 |
-
protected function mustTransmitInvoiceData()
|
353 |
-
{
|
354 |
-
if ($this->getConfigPayment()->isInvoiceTransmitEnabled()) {
|
355 |
-
return true;
|
356 |
-
}
|
357 |
-
|
358 |
-
$paymentMethod = $this->getPaymentMethod();
|
359 |
-
if ($paymentMethod->mustTransmitInvoicingData()) { // Certain payment methods require invoicing data to be transmitted ALWAYS.
|
360 |
-
return true;
|
361 |
-
}
|
362 |
-
|
363 |
-
return false;
|
364 |
-
}
|
365 |
-
|
366 |
-
/**
|
367 |
-
* @param Mage_Sales_Model_Abstract $object
|
368 |
-
* @return string
|
369 |
-
*/
|
370 |
-
protected function fetchNewIncrementId(Mage_Sales_Model_Abstract $object)
|
371 |
-
{
|
372 |
-
$entityTypeModel = $this->getFactory()->getModelEavEntityType();
|
373 |
-
|
374 |
-
$code = '';
|
375 |
-
if ($object instanceof Mage_Sales_Model_Order_Invoice) {
|
376 |
-
$code = 'invoice';
|
377 |
-
}
|
378 |
-
elseif ($object instanceof Mage_Sales_Model_Order_Creditmemo) {
|
379 |
-
$code = 'creditmemo';
|
380 |
-
}
|
381 |
-
$entityType = $entityTypeModel->loadByCode($code);
|
382 |
-
$newIncrementId = $entityType->fetchNewIncrementId($this->getStoreId());
|
383 |
-
if ($newIncrementId !== false) {
|
384 |
-
$object->setIncrementId($newIncrementId);
|
385 |
-
}
|
386 |
-
return $newIncrementId;
|
387 |
-
}
|
388 |
-
|
389 |
-
/**
|
390 |
-
* @param Payone_Core_Model_Config_Payment_Method_Interface $configPayment
|
391 |
-
*/
|
392 |
-
public function setConfigPayment(Payone_Core_Model_Config_Payment_Method_Interface $configPayment)
|
393 |
-
{
|
394 |
-
$this->configPayment = $configPayment;
|
395 |
-
}
|
396 |
-
|
397 |
-
/**
|
398 |
-
* @return Payone_Core_Model_Config_Payment_Method_Interface
|
399 |
-
*/
|
400 |
-
public function getConfigPayment()
|
401 |
-
{
|
402 |
-
return $this->configPayment;
|
403 |
-
}
|
404 |
-
|
405 |
-
/**
|
406 |
-
* @return Payone_Core_Model_Config_Misc
|
407 |
-
*/
|
408 |
-
protected function getConfigMisc()
|
409 |
-
{
|
410 |
-
if ($this->configMisc === null) {
|
411 |
-
$this->configMisc = $this->helperConfig()->getConfigMisc($this->getStoreId());
|
412 |
-
}
|
413 |
-
return $this->configMisc;
|
414 |
-
}
|
415 |
-
|
416 |
-
|
417 |
-
/**
|
418 |
-
* @param Payone_Core_Model_Config_Misc $configMisc
|
419 |
-
*/
|
420 |
-
public function setConfigMisc(Payone_Core_Model_Config_Misc $configMisc)
|
421 |
-
{
|
422 |
-
$this->configMisc = $configMisc;
|
423 |
-
}
|
424 |
-
|
425 |
-
/**
|
426 |
-
* @return Payone_Core_Model_Config_General_ParameterInvoice
|
427 |
-
*/
|
428 |
-
protected function getConfigParameterInvoice()
|
429 |
-
{
|
430 |
-
return $this->helperConfig()->getConfigGeneral($this->getStoreId())->getParameterInvoice();
|
431 |
-
}
|
432 |
-
|
433 |
-
/**
|
434 |
-
* @return int
|
435 |
-
*/
|
436 |
-
protected function getStoreId()
|
437 |
-
{
|
438 |
-
return $this->getPaymentMethod()->getStore();
|
439 |
-
}
|
440 |
-
|
441 |
-
/**
|
442 |
-
* @param $storeId
|
443 |
-
* @return Payone_Core_Model_Config_General
|
444 |
-
*/
|
445 |
-
protected function getConfigGeneral($storeId = null)
|
446 |
-
{
|
447 |
-
if (is_null($storeId)) {
|
448 |
-
$storeId = $this->getStoreId();
|
449 |
-
}
|
450 |
-
return $this->helperConfig()->getConfigGeneral($storeId);
|
451 |
-
}
|
452 |
-
|
453 |
-
/**
|
454 |
-
* @param Mage_Sales_Model_Order $order
|
455 |
-
*/
|
456 |
-
public function setOrder(Mage_Sales_Model_Order $order)
|
457 |
-
{
|
458 |
-
$this->order = $order;
|
459 |
-
}
|
460 |
-
|
461 |
-
/**
|
462 |
-
* @return Mage_Sales_Model_Order
|
463 |
-
*/
|
464 |
-
public function getOrder()
|
465 |
-
{
|
466 |
-
return $this->order;
|
467 |
-
}
|
468 |
-
|
469 |
-
/**
|
470 |
-
* @param float $amount
|
471 |
-
*/
|
472 |
-
public function setAmount($amount)
|
473 |
-
{
|
474 |
-
$this->amount = $amount;
|
475 |
-
}
|
476 |
-
|
477 |
-
/**
|
478 |
-
* @return float
|
479 |
-
*/
|
480 |
-
public function getAmount()
|
481 |
-
{
|
482 |
-
return $this->amount;
|
483 |
-
}
|
484 |
-
|
485 |
-
/**
|
486 |
-
* @param Payone_Core_Model_Payment_Method_Abstract $paymentMethod
|
487 |
-
*/
|
488 |
-
public function setPaymentMethod(Payone_Core_Model_Payment_Method_Abstract $paymentMethod)
|
489 |
-
{
|
490 |
-
$this->paymentMethod = $paymentMethod;
|
491 |
-
}
|
492 |
-
|
493 |
-
/**
|
494 |
-
* @return Payone_Core_Model_Payment_Method_Abstract
|
495 |
-
*/
|
496 |
-
public function getPaymentMethod()
|
497 |
-
{
|
498 |
-
return $this->paymentMethod;
|
499 |
-
}
|
500 |
-
|
501 |
-
/**
|
502 |
-
* @return Payone_Core_Helper_Config
|
503 |
-
*/
|
504 |
-
protected function helperConfig()
|
505 |
-
{
|
506 |
-
return $this->getFactory()->helperConfig();
|
507 |
-
}
|
508 |
-
|
509 |
-
/**
|
510 |
-
* @return Payone_Core_Helper_Registry
|
511 |
-
*/
|
512 |
-
protected function helperRegistry()
|
513 |
-
{
|
514 |
-
return $this->getFactory()->helperRegistry();
|
515 |
-
}
|
516 |
-
|
517 |
-
protected function getEventPrefix()
|
518 |
-
{
|
519 |
-
return self::EVENT_PREFIX;
|
520 |
-
}
|
521 |
-
|
522 |
-
/**
|
523 |
-
* @return string
|
524 |
-
*/
|
525 |
-
protected function getEventName()
|
526 |
-
{
|
527 |
-
return $this->getEventPrefix() . '_' . $this->getEventType();
|
528 |
-
}
|
529 |
-
|
530 |
-
/**
|
531 |
-
* Wrapper for Mage::dispatchEvent()
|
532 |
-
*
|
533 |
-
* @param $name
|
534 |
-
* @param array $data
|
535 |
-
*
|
536 |
-
* @return Mage_Core_Model_App
|
537 |
-
*/
|
538 |
-
protected function dispatchEvent($name, array $data = array())
|
539 |
-
{
|
540 |
-
return Mage::dispatchEvent($name, $data);
|
541 |
-
}
|
542 |
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
+
* that is bundled with this package in the file LICENSE.txt
|
8 |
+
*
|
9 |
+
* DISCLAIMER
|
10 |
+
*
|
11 |
+
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
+
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
+
* needs please refer to http://www.payone.de for more information.
|
14 |
+
*
|
15 |
+
* @category Payone
|
16 |
+
* @package Payone_Core_Model
|
17 |
+
* @subpackage Mapper
|
18 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
+
* @author Matthias Walter <info@noovias.com>
|
20 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
+
* @link http://www.noovias.com
|
22 |
+
*/
|
23 |
+
|
24 |
+
/**
|
25 |
+
*
|
26 |
+
* @category Payone
|
27 |
+
* @package Payone_Core_Model
|
28 |
+
* @subpackage Mapper
|
29 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
30 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
31 |
+
* @link http://www.noovias.com
|
32 |
+
*/
|
33 |
+
abstract class Payone_Core_Model_Mapper_ApiRequest_Payment_Abstract
|
34 |
+
extends Payone_Core_Model_Mapper_ApiRequest_Abstract
|
35 |
+
implements Payone_Core_Model_Mapper_ApiRequest_Payment_Interface
|
36 |
+
{
|
37 |
+
const DEFAULT_SHIPPING_SKU = 'Shipping';
|
38 |
+
const DEFAULT_ADJUSTMENT_POSITIVE_SKU = 'Adjustment Refund';
|
39 |
+
const DEFAULT_ADJUSTMENT_NEGATIVE_SKU = 'Adjustment Fee';
|
40 |
+
|
41 |
+
const DEFAULT_DISCOUNT_SKU = 'Discount';
|
42 |
+
const DEFAULT_TAX_SKU = 'Tax';
|
43 |
+
|
44 |
+
const EVENT_PREFIX = 'payone_core_mapper_apirequest_payment';
|
45 |
+
|
46 |
+
/** @var float */
|
47 |
+
protected $amount = 0.00;
|
48 |
+
|
49 |
+
/** @var Mage_Sales_Model_Order */
|
50 |
+
protected $order = null;
|
51 |
+
|
52 |
+
/** @var Payone_Core_Model_Payment_Method_Abstract */
|
53 |
+
protected $paymentMethod = null;
|
54 |
+
|
55 |
+
/** @var Payone_Core_Model_Config_Payment_Method_Interface */
|
56 |
+
protected $configPayment = null;
|
57 |
+
|
58 |
+
/** @var Payone_Core_Model_Config_Misc */
|
59 |
+
protected $configMisc = null;
|
60 |
+
|
61 |
+
/**
|
62 |
+
* @return string
|
63 |
+
*/
|
64 |
+
abstract public function getEventType();
|
65 |
+
|
66 |
+
/**
|
67 |
+
* @param Mage_Sales_Model_Order_Payment $payment
|
68 |
+
*/
|
69 |
+
protected function init(Mage_Sales_Model_Order_Payment $payment)
|
70 |
+
{
|
71 |
+
$this->setOrder($payment->getOrder());
|
72 |
+
$this->setPaymentMethod($payment->getMethodInstance());
|
73 |
+
}
|
74 |
+
|
75 |
+
/**
|
76 |
+
* @param Payone_Api_Request_Interface $request
|
77 |
+
*/
|
78 |
+
protected function mapDefaultParameters(Payone_Api_Request_Interface $request)
|
79 |
+
{
|
80 |
+
$helper = $this->helper();
|
81 |
+
|
82 |
+
$solutionName = 'noovias';
|
83 |
+
$solutionVersion = $helper->getPayoneVersion();
|
84 |
+
$integratorName = 'magento';
|
85 |
+
$integratorVersion = $helper->getMagentoVersion();
|
86 |
+
|
87 |
+
$request->setEncoding('UTF-8');
|
88 |
+
$request->setMid($this->getConfigPayment()->getMid());
|
89 |
+
$request->setPortalid($this->getConfigPayment()->getPortalid());
|
90 |
+
$request->setMode($this->getConfigPayment()->getMode());
|
91 |
+
$request->setKey($this->getConfigPayment()->getKey());
|
92 |
+
$request->setIntegratorName($integratorName);
|
93 |
+
$request->setIntegratorVersion($integratorVersion);
|
94 |
+
$request->setSolutionName($solutionName);
|
95 |
+
$request->setSolutionVersion($solutionVersion);
|
96 |
+
}
|
97 |
+
|
98 |
+
/**
|
99 |
+
* @return Payone_Api_Request_Parameter_Invoicing_Item
|
100 |
+
*/
|
101 |
+
protected function mapShippingFeeAsItem()
|
102 |
+
{
|
103 |
+
$order = $this->getOrder();
|
104 |
+
|
105 |
+
$configMiscShipping = $this->getConfigMisc()->getShippingCosts();
|
106 |
+
$sku = $configMiscShipping->getSku();
|
107 |
+
if (empty($sku)) {
|
108 |
+
$sku = $this->helper()->__(self::DEFAULT_SHIPPING_SKU);
|
109 |
+
}
|
110 |
+
$params['id'] = $sku;
|
111 |
+
$params['de'] = $order->getShippingDescription();
|
112 |
+
$params['no'] = 1;
|
113 |
+
$params['pr'] = $order->getShippingInclTax();
|
114 |
+
$params['va'] = $this->getShippingTaxRate();
|
115 |
+
|
116 |
+
if ($this->getPaymentMethod()->mustTransmitInvoicingItemTypes()) {
|
117 |
+
$params['it'] = Payone_Api_Enum_InvoicingItemType::SHIPMENT;
|
118 |
+
}
|
119 |
+
|
120 |
+
$item = new Payone_Api_Request_Parameter_Invoicing_Item();
|
121 |
+
$item->init($params);
|
122 |
+
|
123 |
+
return $item;
|
124 |
+
}
|
125 |
+
|
126 |
+
/**
|
127 |
+
* @param float $discountAmount
|
128 |
+
* @return Payone_Api_Request_Parameter_Invoicing_Item
|
129 |
+
*/
|
130 |
+
protected function mapDiscountAsItem($discountAmount)
|
131 |
+
{
|
132 |
+
$configMiscDiscount = $this->getConfigMisc()->getDiscount();
|
133 |
+
$sku = $configMiscDiscount->getSku();
|
134 |
+
$description = $configMiscDiscount->getDescription();
|
135 |
+
if (empty($sku)) {
|
136 |
+
$sku = $this->helper()->__(self::DEFAULT_DISCOUNT_SKU);
|
137 |
+
}
|
138 |
+
if (empty($description)) {
|
139 |
+
$description = $this->helper()->__(self::DEFAULT_DISCOUNT_SKU);
|
140 |
+
}
|
141 |
+
|
142 |
+
$params['id'] = $sku;
|
143 |
+
$params['de'] = $description;
|
144 |
+
$params['no'] = 1;
|
145 |
+
$params['pr'] = $discountAmount;
|
146 |
+
|
147 |
+
if ($this->getPaymentMethod()->mustTransmitInvoicingItemTypes()) {
|
148 |
+
$params['it'] = Payone_Api_Enum_InvoicingItemType::VOUCHER;
|
149 |
+
}
|
150 |
+
$item = new Payone_Api_Request_Parameter_Invoicing_Item();
|
151 |
+
$item->init($params);
|
152 |
+
|
153 |
+
return $item;
|
154 |
+
}
|
155 |
+
|
156 |
+
/**
|
157 |
+
* @param Mage_Sales_Model_Order_Creditmemo $creditmemo
|
158 |
+
* @return Payone_Api_Request_Parameter_Invoicing_Item
|
159 |
+
*
|
160 |
+
* used by Payone_Core_Model_Mapper_ApiRequest_Payment_Debit
|
161 |
+
*/
|
162 |
+
protected function mapRefundShippingAsItemByCreditmemo(Mage_Sales_Model_Order_Creditmemo $creditmemo)
|
163 |
+
{
|
164 |
+
$order = $this->getOrder();
|
165 |
+
|
166 |
+
$configMiscShipping = $this->getConfigMisc()->getShippingCosts();
|
167 |
+
$sku = $configMiscShipping->getSku();
|
168 |
+
if (empty($sku)) {
|
169 |
+
$sku = $this->helper()->__(self::DEFAULT_SHIPPING_SKU);
|
170 |
+
}
|
171 |
+
|
172 |
+
$params['id'] = $sku;
|
173 |
+
$params['de'] = $order->getShippingDescription();
|
174 |
+
$params['no'] = 1;
|
175 |
+
$params['pr'] = $creditmemo->getShippingInclTax();
|
176 |
+
if ($this->getPaymentMethod()->mustTransmitInvoicingItemTypes()) {
|
177 |
+
$params['it'] = Payone_Api_Enum_InvoicingItemType::SHIPMENT;
|
178 |
+
}
|
179 |
+
|
180 |
+
$item = new Payone_Api_Request_Parameter_Invoicing_Item();
|
181 |
+
$item->init($params);
|
182 |
+
|
183 |
+
return $item;
|
184 |
+
}
|
185 |
+
|
186 |
+
/**
|
187 |
+
* @param Mage_Sales_Model_Order_Creditmemo $creditmemo
|
188 |
+
* @return Payone_Api_Request_Parameter_Invoicing_Item
|
189 |
+
*
|
190 |
+
* used by Payone_Core_Model_Mapper_ApiRequest_Payment_Debit
|
191 |
+
*/
|
192 |
+
protected function mapAdjustmentPositiveAsItemByCreditmemo(Mage_Sales_Model_Order_Creditmemo $creditmemo)
|
193 |
+
{
|
194 |
+
$configMiscCreditmemo = $this->getConfigMisc()->getCreditmemo();
|
195 |
+
$sku = $configMiscCreditmemo->getAdjustmentRefundSku();
|
196 |
+
$name = $configMiscCreditmemo->getAdjustmentRefundName();
|
197 |
+
if (empty($sku)) {
|
198 |
+
$sku = $this->helper()->__(self::DEFAULT_ADJUSTMENT_POSITIVE_SKU);
|
199 |
+
}
|
200 |
+
if (empty($name)) {
|
201 |
+
$name = $this->helper()->__(self::DEFAULT_ADJUSTMENT_POSITIVE_SKU);
|
202 |
+
}
|
203 |
+
|
204 |
+
$params['id'] = $sku;
|
205 |
+
$params['de'] = $name;
|
206 |
+
$params['no'] = 1;
|
207 |
+
$params['pr'] = $creditmemo->getAdjustmentPositive();
|
208 |
+
if ($this->getPaymentMethod()->mustTransmitInvoicingItemTypes()) {
|
209 |
+
$params['it'] = Payone_Api_Enum_InvoicingItemType::VOUCHER;
|
210 |
+
}
|
211 |
+
|
212 |
+
$item = new Payone_Api_Request_Parameter_Invoicing_Item();
|
213 |
+
$item->init($params);
|
214 |
+
|
215 |
+
return $item;
|
216 |
+
}
|
217 |
+
|
218 |
+
/**
|
219 |
+
* @param Mage_Sales_Model_Order_Creditmemo $creditmemo
|
220 |
+
* @return Payone_Api_Request_Parameter_Invoicing_Item
|
221 |
+
*
|
222 |
+
* used by Payone_Core_Model_Mapper_ApiRequest_Payment_Debit
|
223 |
+
*/
|
224 |
+
|
225 |
+
protected function mapAdjustmentNegativeAsItemByCreditmemo(Mage_Sales_Model_Order_Creditmemo $creditmemo)
|
226 |
+
{
|
227 |
+
$configMiscCreditmemo = $this->getConfigMisc()->getCreditmemo();
|
228 |
+
$sku = $configMiscCreditmemo->getAdjustmentFeeSku();
|
229 |
+
$name = $configMiscCreditmemo->getAdjustmentFeeName();
|
230 |
+
if (empty($sku)) {
|
231 |
+
$sku = $this->helper()->__(self::DEFAULT_ADJUSTMENT_NEGATIVE_SKU);
|
232 |
+
}
|
233 |
+
if (empty($name)) {
|
234 |
+
$name = $this->helper()->__(self::DEFAULT_ADJUSTMENT_NEGATIVE_SKU);
|
235 |
+
}
|
236 |
+
|
237 |
+
$params['id'] = $sku;
|
238 |
+
$params['de'] = $name;
|
239 |
+
$params['no'] = 1;
|
240 |
+
$params['pr'] = $creditmemo->getAdjustmentNegative() * (-1);
|
241 |
+
if ($this->getPaymentMethod()->mustTransmitInvoicingItemTypes()) {
|
242 |
+
$params['it'] = Payone_Api_Enum_InvoicingItemType::GOODS;
|
243 |
+
}
|
244 |
+
|
245 |
+
$item = new Payone_Api_Request_Parameter_Invoicing_Item();
|
246 |
+
$item->init($params);
|
247 |
+
|
248 |
+
return $item;
|
249 |
+
}
|
250 |
+
|
251 |
+
|
252 |
+
protected function getShippingTaxRate()
|
253 |
+
{
|
254 |
+
$order = $this->getOrder();
|
255 |
+
$storeId = $this->getStoreId();
|
256 |
+
$factory = $this->getFactory();
|
257 |
+
$store = $factory->getModelCoreStore()->load($storeId);
|
258 |
+
|
259 |
+
/** @var $taxCalculationModel Mage_Tax_Model_Calculation */
|
260 |
+
$taxCalculationModel = $factory->getSingletonTaxCalculation();
|
261 |
+
|
262 |
+
$shippingAddress = $order->getShippingAddress();
|
263 |
+
$billingAddress = $order->getBillingAddress();
|
264 |
+
$quoteId = $order->getQuoteId();
|
265 |
+
$quote = $factory->getModelSalesQuote();
|
266 |
+
$quote->load($quoteId);
|
267 |
+
|
268 |
+
$customerTaxClassId = $quote->getCustomerTaxClassId();
|
269 |
+
$request = $taxCalculationModel->getRateRequest($shippingAddress, $billingAddress, $customerTaxClassId, $store);
|
270 |
+
|
271 |
+
$shippingTaxClass = $this->helperConfig()->getShippingTaxClassId($storeId);
|
272 |
+
if ($shippingTaxClass) {
|
273 |
+
$request->setProductClassId($shippingTaxClass);
|
274 |
+
return $taxCalculationModel->getRate($request);
|
275 |
+
}
|
276 |
+
else {
|
277 |
+
return 0.0;
|
278 |
+
}
|
279 |
+
}
|
280 |
+
|
281 |
+
|
282 |
+
/**
|
283 |
+
* Returns the invoice appendix and substitutes the placeholders, as far as possible
|
284 |
+
*
|
285 |
+
* @param Mage_Sales_Model_Order_Invoice|null $invoice
|
286 |
+
* @return mixed|string
|
287 |
+
*/
|
288 |
+
public function getInvoiceAppendix(Mage_Sales_Model_Order_Invoice $invoice = null)
|
289 |
+
{
|
290 |
+
$order = $this->getOrder();
|
291 |
+
|
292 |
+
/** @var $customer Mage_Customer_Model_Customer */
|
293 |
+
$customer = $this->getFactory()->getModelCustomer();
|
294 |
+
$customer->load($order->getCustomerId());
|
295 |
+
|
296 |
+
$invoiceIncrementId = '';
|
297 |
+
if (!is_null($invoice)) {
|
298 |
+
$invoiceIncrementId = $invoice->getIncrementId();
|
299 |
+
}
|
300 |
+
|
301 |
+
$substitutionArray = array(
|
302 |
+
'{{order_increment_id}}' => $order->getIncrementId(),
|
303 |
+
'{{order_id}}' => $order->getId(),
|
304 |
+
'{{invoice_increment_id}}' => $invoiceIncrementId,
|
305 |
+
'{{customer_increment_id}}' => $customer->getIncrementId(),
|
306 |
+
'{{customer_id}}' => $order->getCustomerId(),
|
307 |
+
);
|
308 |
+
|
309 |
+
$appendix = $this->getConfigParameterInvoice()->getInvoiceAppendix();
|
310 |
+
$appendix = str_replace(array_keys($substitutionArray), array_values($substitutionArray), $appendix);
|
311 |
+
|
312 |
+
return $appendix;
|
313 |
+
}
|
314 |
+
|
315 |
+
/**
|
316 |
+
* Returns the refund appendix and substitutes the placeholders, as far as possible
|
317 |
+
*
|
318 |
+
* @param Mage_Sales_Model_Order_Creditmemo $creditmemo
|
319 |
+
* @return string
|
320 |
+
*/
|
321 |
+
public function getInvoiceAppendixRefund(Mage_Sales_Model_Order_Creditmemo $creditmemo)
|
322 |
+
{
|
323 |
+
$order = $this->getOrder();
|
324 |
+
|
325 |
+
/** @var $customer Mage_Customer_Model_Customer */
|
326 |
+
$customer = $this->getFactory()->getModelCustomer();
|
327 |
+
$customer->load($order->getCustomerId());
|
328 |
+
|
329 |
+
/** @var $invoice Mage_Sales_Model_Order_Invoice */
|
330 |
+
$invoice = $creditmemo->getInvoice();
|
331 |
+
|
332 |
+
$substitutionArray = array(
|
333 |
+
'{{order_increment_id}}' => $order->getIncrementId(),
|
334 |
+
'{{order_id}}' => $order->getId(),
|
335 |
+
'{{creditmemo_increment_id}}' => $creditmemo->getIncrementId(),
|
336 |
+
'{{invoice_increment_id}}' => $invoice->getIncrementId(),
|
337 |
+
'{{invoice_id}}' => $invoice->getId(),
|
338 |
+
'{{customer_increment_id}}' => $customer->getIncrementId(),
|
339 |
+
'{{customer_id}}' => $order->getCustomerId(),
|
340 |
+
);
|
341 |
+
|
342 |
+
$appendix = $this->getConfigParameterInvoice()->getInvoiceAppendixRefund();
|
343 |
+
$appendix = str_replace(array_keys($substitutionArray), array_values($substitutionArray), $appendix);
|
344 |
+
|
345 |
+
return $appendix;
|
346 |
+
}
|
347 |
+
|
348 |
+
|
349 |
+
/**
|
350 |
+
* @return bool
|
351 |
+
*/
|
352 |
+
protected function mustTransmitInvoiceData()
|
353 |
+
{
|
354 |
+
if ($this->getConfigPayment()->isInvoiceTransmitEnabled()) {
|
355 |
+
return true;
|
356 |
+
}
|
357 |
+
|
358 |
+
$paymentMethod = $this->getPaymentMethod();
|
359 |
+
if ($paymentMethod->mustTransmitInvoicingData()) { // Certain payment methods require invoicing data to be transmitted ALWAYS.
|
360 |
+
return true;
|
361 |
+
}
|
362 |
+
|
363 |
+
return false;
|
364 |
+
}
|
365 |
+
|
366 |
+
/**
|
367 |
+
* @param Mage_Sales_Model_Abstract $object
|
368 |
+
* @return string
|
369 |
+
*/
|
370 |
+
protected function fetchNewIncrementId(Mage_Sales_Model_Abstract $object)
|
371 |
+
{
|
372 |
+
$entityTypeModel = $this->getFactory()->getModelEavEntityType();
|
373 |
+
|
374 |
+
$code = '';
|
375 |
+
if ($object instanceof Mage_Sales_Model_Order_Invoice) {
|
376 |
+
$code = 'invoice';
|
377 |
+
}
|
378 |
+
elseif ($object instanceof Mage_Sales_Model_Order_Creditmemo) {
|
379 |
+
$code = 'creditmemo';
|
380 |
+
}
|
381 |
+
$entityType = $entityTypeModel->loadByCode($code);
|
382 |
+
$newIncrementId = $entityType->fetchNewIncrementId($this->getStoreId());
|
383 |
+
if ($newIncrementId !== false) {
|
384 |
+
$object->setIncrementId($newIncrementId);
|
385 |
+
}
|
386 |
+
return $newIncrementId;
|
387 |
+
}
|
388 |
+
|
389 |
+
/**
|
390 |
+
* @param Payone_Core_Model_Config_Payment_Method_Interface $configPayment
|
391 |
+
*/
|
392 |
+
public function setConfigPayment(Payone_Core_Model_Config_Payment_Method_Interface $configPayment)
|
393 |
+
{
|
394 |
+
$this->configPayment = $configPayment;
|
395 |
+
}
|
396 |
+
|
397 |
+
/**
|
398 |
+
* @return Payone_Core_Model_Config_Payment_Method_Interface
|
399 |
+
*/
|
400 |
+
public function getConfigPayment()
|
401 |
+
{
|
402 |
+
return $this->configPayment;
|
403 |
+
}
|
404 |
+
|
405 |
+
/**
|
406 |
+
* @return Payone_Core_Model_Config_Misc
|
407 |
+
*/
|
408 |
+
protected function getConfigMisc()
|
409 |
+
{
|
410 |
+
if ($this->configMisc === null) {
|
411 |
+
$this->configMisc = $this->helperConfig()->getConfigMisc($this->getStoreId());
|
412 |
+
}
|
413 |
+
return $this->configMisc;
|
414 |
+
}
|
415 |
+
|
416 |
+
|
417 |
+
/**
|
418 |
+
* @param Payone_Core_Model_Config_Misc $configMisc
|
419 |
+
*/
|
420 |
+
public function setConfigMisc(Payone_Core_Model_Config_Misc $configMisc)
|
421 |
+
{
|
422 |
+
$this->configMisc = $configMisc;
|
423 |
+
}
|
424 |
+
|
425 |
+
/**
|
426 |
+
* @return Payone_Core_Model_Config_General_ParameterInvoice
|
427 |
+
*/
|
428 |
+
protected function getConfigParameterInvoice()
|
429 |
+
{
|
430 |
+
return $this->helperConfig()->getConfigGeneral($this->getStoreId())->getParameterInvoice();
|
431 |
+
}
|
432 |
+
|
433 |
+
/**
|
434 |
+
* @return int
|
435 |
+
*/
|
436 |
+
protected function getStoreId()
|
437 |
+
{
|
438 |
+
return $this->getPaymentMethod()->getStore();
|
439 |
+
}
|
440 |
+
|
441 |
+
/**
|
442 |
+
* @param $storeId
|
443 |
+
* @return Payone_Core_Model_Config_General
|
444 |
+
*/
|
445 |
+
protected function getConfigGeneral($storeId = null)
|
446 |
+
{
|
447 |
+
if (is_null($storeId)) {
|
448 |
+
$storeId = $this->getStoreId();
|
449 |
+
}
|
450 |
+
return $this->helperConfig()->getConfigGeneral($storeId);
|
451 |
+
}
|
452 |
+
|
453 |
+
/**
|
454 |
+
* @param Mage_Sales_Model_Order $order
|
455 |
+
*/
|
456 |
+
public function setOrder(Mage_Sales_Model_Order $order)
|
457 |
+
{
|
458 |
+
$this->order = $order;
|
459 |
+
}
|
460 |
+
|
461 |
+
/**
|
462 |
+
* @return Mage_Sales_Model_Order
|
463 |
+
*/
|
464 |
+
public function getOrder()
|
465 |
+
{
|
466 |
+
return $this->order;
|
467 |
+
}
|
468 |
+
|
469 |
+
/**
|
470 |
+
* @param float $amount
|
471 |
+
*/
|
472 |
+
public function setAmount($amount)
|
473 |
+
{
|
474 |
+
$this->amount = $amount;
|
475 |
+
}
|
476 |
+
|
477 |
+
/**
|
478 |
+
* @return float
|
479 |
+
*/
|
480 |
+
public function getAmount()
|
481 |
+
{
|
482 |
+
return $this->amount;
|
483 |
+
}
|
484 |
+
|
485 |
+
/**
|
486 |
+
* @param Payone_Core_Model_Payment_Method_Abstract $paymentMethod
|
487 |
+
*/
|
488 |
+
public function setPaymentMethod(Payone_Core_Model_Payment_Method_Abstract $paymentMethod)
|
489 |
+
{
|
490 |
+
$this->paymentMethod = $paymentMethod;
|
491 |
+
}
|
492 |
+
|
493 |
+
/**
|
494 |
+
* @return Payone_Core_Model_Payment_Method_Abstract
|
495 |
+
*/
|
496 |
+
public function getPaymentMethod()
|
497 |
+
{
|
498 |
+
return $this->paymentMethod;
|
499 |
+
}
|
500 |
+
|
501 |
+
/**
|
502 |
+
* @return Payone_Core_Helper_Config
|
503 |
+
*/
|
504 |
+
protected function helperConfig()
|
505 |
+
{
|
506 |
+
return $this->getFactory()->helperConfig();
|
507 |
+
}
|
508 |
+
|
509 |
+
/**
|
510 |
+
* @return Payone_Core_Helper_Registry
|
511 |
+
*/
|
512 |
+
protected function helperRegistry()
|
513 |
+
{
|
514 |
+
return $this->getFactory()->helperRegistry();
|
515 |
+
}
|
516 |
+
|
517 |
+
protected function getEventPrefix()
|
518 |
+
{
|
519 |
+
return self::EVENT_PREFIX;
|
520 |
+
}
|
521 |
+
|
522 |
+
/**
|
523 |
+
* @return string
|
524 |
+
*/
|
525 |
+
protected function getEventName()
|
526 |
+
{
|
527 |
+
return $this->getEventPrefix() . '_' . $this->getEventType();
|
528 |
+
}
|
529 |
+
|
530 |
+
/**
|
531 |
+
* Wrapper for Mage::dispatchEvent()
|
532 |
+
*
|
533 |
+
* @param $name
|
534 |
+
* @param array $data
|
535 |
+
*
|
536 |
+
* @return Mage_Core_Model_App
|
537 |
+
*/
|
538 |
+
protected function dispatchEvent($name, array $data = array())
|
539 |
+
{
|
540 |
+
return Mage::dispatchEvent($name, $data);
|
541 |
+
}
|
542 |
}
|
app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Authorize/Abstract.php
CHANGED
@@ -435,17 +435,18 @@ abstract class Payone_Core_Model_Mapper_ApiRequest_Payment_Authorize_Abstract
|
|
435 |
$isRedirect = true;
|
436 |
}
|
437 |
elseif ($paymentMethod instanceof Payone_Core_Model_Payment_Method_OnlineBankTransfer) {
|
|
|
438 |
$payoneOnlinebanktransferType = $info->getPayoneOnlinebanktransferType();
|
439 |
$iban = $info->getPayoneSepaIban();
|
440 |
$bic = $info->getPayoneSepaBic();
|
441 |
|
442 |
$payment = new Payone_Api_Request_Parameter_Authorization_PaymentMethod_OnlineBankTransfer();
|
|
|
443 |
$payment->setOnlinebanktransfertype($payoneOnlinebanktransferType);
|
444 |
|
445 |
switch ($payoneOnlinebanktransferType) {
|
446 |
case Payone_Api_Enum_OnlinebanktransferType::INSTANT_MONEY_TRANSFER:
|
447 |
case Payone_Api_Enum_OnlinebanktransferType::GIROPAY:
|
448 |
-
$payment->setBankcountry($info->getPayoneSepaBankCountry());
|
449 |
if (!empty($iban) and !empty($bic)) {
|
450 |
$payment->setIban(strtoupper($iban));
|
451 |
$payment->setBic(strtoupper($bic)); // ensure bic and iban are sent uppercase
|
@@ -494,7 +495,7 @@ abstract class Payone_Core_Model_Mapper_ApiRequest_Payment_Authorize_Abstract
|
|
494 |
}
|
495 |
elseif ($paymentMethod instanceof Payone_Core_Model_Payment_Method_DebitPayment) {
|
496 |
$payment = new Payone_Api_Request_Parameter_Authorization_PaymentMethod_DebitPayment();
|
497 |
-
$payment->setBankcountry($info->
|
498 |
$iban = $info->getPayoneSepaIban();
|
499 |
$bic = $info->getPayoneSepaBic();
|
500 |
if (!empty($iban) and !empty($bic)) {
|
435 |
$isRedirect = true;
|
436 |
}
|
437 |
elseif ($paymentMethod instanceof Payone_Core_Model_Payment_Method_OnlineBankTransfer) {
|
438 |
+
$country = $this->getOrder()->getBillingAddress()->getCountry();
|
439 |
$payoneOnlinebanktransferType = $info->getPayoneOnlinebanktransferType();
|
440 |
$iban = $info->getPayoneSepaIban();
|
441 |
$bic = $info->getPayoneSepaBic();
|
442 |
|
443 |
$payment = new Payone_Api_Request_Parameter_Authorization_PaymentMethod_OnlineBankTransfer();
|
444 |
+
$payment->setBankcountry($country);
|
445 |
$payment->setOnlinebanktransfertype($payoneOnlinebanktransferType);
|
446 |
|
447 |
switch ($payoneOnlinebanktransferType) {
|
448 |
case Payone_Api_Enum_OnlinebanktransferType::INSTANT_MONEY_TRANSFER:
|
449 |
case Payone_Api_Enum_OnlinebanktransferType::GIROPAY:
|
|
|
450 |
if (!empty($iban) and !empty($bic)) {
|
451 |
$payment->setIban(strtoupper($iban));
|
452 |
$payment->setBic(strtoupper($bic)); // ensure bic and iban are sent uppercase
|
495 |
}
|
496 |
elseif ($paymentMethod instanceof Payone_Core_Model_Payment_Method_DebitPayment) {
|
497 |
$payment = new Payone_Api_Request_Parameter_Authorization_PaymentMethod_DebitPayment();
|
498 |
+
$payment->setBankcountry($info->getPayoneBankCountry());
|
499 |
$iban = $info->getPayoneSepaIban();
|
500 |
$bic = $info->getPayoneSepaBic();
|
501 |
if (!empty($iban) and !empty($bic)) {
|
app/code/community/Payone/Core/Model/Mapper/ApiRequest/Verification/AddressCheck.php
CHANGED
@@ -1,114 +1,120 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
*
|
4 |
-
* NOTICE OF LICENSE
|
5 |
-
*
|
6 |
-
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
-
* that is bundled with this package in the file LICENSE.txt
|
8 |
-
*
|
9 |
-
* DISCLAIMER
|
10 |
-
*
|
11 |
-
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
-
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
-
* needs please refer to http://www.payone.de for more information.
|
14 |
-
*
|
15 |
-
* @category Payone
|
16 |
-
* @package Payone_Core_Model
|
17 |
-
* @subpackage Mapper
|
18 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
-
* @author Matthias Walter <info@noovias.com>
|
20 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
-
* @link http://www.noovias.com
|
22 |
-
*/
|
23 |
-
|
24 |
-
/**
|
25 |
-
*
|
26 |
-
* @category Payone
|
27 |
-
* @package Payone_Core_Model
|
28 |
-
* @subpackage Mapper
|
29 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
30 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
31 |
-
* @link http://www.noovias.com
|
32 |
-
*/
|
33 |
-
class Payone_Core_Model_Mapper_ApiRequest_Verification_AddressCheck
|
34 |
-
extends Payone_Core_Model_Mapper_ApiRequest_Verification_Abstract
|
35 |
-
{
|
36 |
-
/** @var Payone_Core_Model_Config_Protect_AddressCheck */
|
37 |
-
protected $config = null;
|
38 |
-
|
39 |
-
|
40 |
-
/**
|
41 |
-
* @param Mage_Customer_Model_Address_Abstract $address
|
42 |
-
*
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
$
|
48 |
-
$
|
49 |
-
$
|
50 |
-
|
51 |
-
|
52 |
-
// @todo
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
}
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
$request->
|
71 |
-
$request->
|
72 |
-
$request->
|
73 |
-
$request->
|
74 |
-
|
75 |
-
|
76 |
-
$request->
|
77 |
-
$request->
|
78 |
-
$request->
|
79 |
-
$request->
|
80 |
-
|
81 |
-
|
82 |
-
$request->
|
83 |
-
$request->
|
84 |
-
$request->
|
85 |
-
$request->
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
$
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
+
* that is bundled with this package in the file LICENSE.txt
|
8 |
+
*
|
9 |
+
* DISCLAIMER
|
10 |
+
*
|
11 |
+
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
+
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
+
* needs please refer to http://www.payone.de for more information.
|
14 |
+
*
|
15 |
+
* @category Payone
|
16 |
+
* @package Payone_Core_Model
|
17 |
+
* @subpackage Mapper
|
18 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
+
* @author Matthias Walter <info@noovias.com>
|
20 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
+
* @link http://www.noovias.com
|
22 |
+
*/
|
23 |
+
|
24 |
+
/**
|
25 |
+
*
|
26 |
+
* @category Payone
|
27 |
+
* @package Payone_Core_Model
|
28 |
+
* @subpackage Mapper
|
29 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
30 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
31 |
+
* @link http://www.noovias.com
|
32 |
+
*/
|
33 |
+
class Payone_Core_Model_Mapper_ApiRequest_Verification_AddressCheck
|
34 |
+
extends Payone_Core_Model_Mapper_ApiRequest_Verification_Abstract
|
35 |
+
{
|
36 |
+
/** @var Payone_Core_Model_Config_Protect_AddressCheck */
|
37 |
+
protected $config = null;
|
38 |
+
|
39 |
+
|
40 |
+
/**
|
41 |
+
* @param Mage_Customer_Model_Address_Abstract $address
|
42 |
+
*
|
43 |
+
* @return Payone_Api_Request_AddressCheck
|
44 |
+
*/
|
45 |
+
public function mapFromAddress(Mage_Customer_Model_Address_Abstract $address)
|
46 |
+
{
|
47 |
+
$request = $this->getFactory()->getRequestVerificationAddressCheck();
|
48 |
+
$helper = $this->helper();
|
49 |
+
$configGlobal = $this->getConfigGlobal();
|
50 |
+
$config = $this->getConfig();
|
51 |
+
|
52 |
+
// @todo move addressCheckType detection to method
|
53 |
+
// @todo add option to configure used Adresschecktype externaly
|
54 |
+
if ($address->getAddressType() === 'billing') {
|
55 |
+
$request->setAddresschecktype($config->getCheckBilling());
|
56 |
+
|
57 |
+
// check if billing is used for shipping and shipping-address has to be checked
|
58 |
+
if ($address->getUseForShipping() === true and $config->mustCheckShipping()) {
|
59 |
+
$request->setAddresschecktype($config->getCheckShipping());
|
60 |
+
}
|
61 |
+
}
|
62 |
+
elseif ($address->getAddressType() === 'shipping') {
|
63 |
+
$request->setAddresschecktype($config->getCheckShipping());
|
64 |
+
}
|
65 |
+
else {
|
66 |
+
throw new Exception('Invalid Address Check Type');
|
67 |
+
}
|
68 |
+
|
69 |
+
$request->setAid($configGlobal->getAid());
|
70 |
+
$request->setMid($configGlobal->getMid());
|
71 |
+
$request->setMode($config->getMode());
|
72 |
+
$request->setPortalid($configGlobal->getPortalid());
|
73 |
+
$request->setKey($configGlobal->getKey());
|
74 |
+
|
75 |
+
|
76 |
+
$request->setCity($address->getCity());
|
77 |
+
$request->setCompany($address->getCompany());
|
78 |
+
$request->setCountry($address->getCountry());
|
79 |
+
$request->setFirstname($address->getFirstname());
|
80 |
+
$request->setLastname($address->getLastname());
|
81 |
+
|
82 |
+
$request->setIntegratorName('Magento');
|
83 |
+
$request->setIntegratorVersion($helper->getMagentoVersion());
|
84 |
+
$request->setSolutionName('noovias');
|
85 |
+
$request->setSolutionVersion($helper->getPayoneVersion());
|
86 |
+
|
87 |
+
|
88 |
+
$request->setEncoding('UTF-8');
|
89 |
+
$request->setLanguage($helper->getDefaultLanguage());
|
90 |
+
$request->setStreet($address->getStreetFull());
|
91 |
+
$request->setTelephonenumber($address->getTelephone());
|
92 |
+
|
93 |
+
$countryId = $address->getCountryId();
|
94 |
+
|
95 |
+
if ($countryId == "US" || $countryId == "CA") {
|
96 |
+
$request->setState($address->getRegionCode());
|
97 |
+
}
|
98 |
+
|
99 |
+
$request->setZip($address->getPostcode());
|
100 |
+
|
101 |
+
|
102 |
+
return $request;
|
103 |
+
}
|
104 |
+
|
105 |
+
/**
|
106 |
+
* @param Payone_Core_Model_Config_Protect_AddressCheck $configProtect
|
107 |
+
*/
|
108 |
+
public function setConfig(Payone_Core_Model_Config_Protect_AddressCheck $configProtect)
|
109 |
+
{
|
110 |
+
$this->config = $configProtect;
|
111 |
+
}
|
112 |
+
|
113 |
+
/**
|
114 |
+
* @return Payone_Core_Model_Config_Protect_AddressCheck
|
115 |
+
*/
|
116 |
+
public function getConfig()
|
117 |
+
{
|
118 |
+
return $this->config;
|
119 |
+
}
|
120 |
}
|
app/code/community/Payone/Core/Model/Observer/Checkout/Onepage/DebitPayment.php
CHANGED
@@ -47,6 +47,27 @@ class Payone_Core_Model_Observer_Checkout_Onepage_DebitPayment extends Payone_Co
|
|
47 |
*/
|
48 |
public function performChecks(Varien_Event_Observer $observer)
|
49 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
$this->init($observer);
|
51 |
|
52 |
$paymentConfig = $this->getPaymentConfig();
|
@@ -55,7 +76,8 @@ class Payone_Core_Model_Observer_Checkout_Onepage_DebitPayment extends Payone_Co
|
|
55 |
$bankaccountcheckType = $paymentConfig->getBankAccountCheckType();
|
56 |
|
57 |
if ((!$sepaMandateEnabled and $checkBankaccountEnabled)
|
58 |
-
|
|
|
59 |
$this->performBankaccountCheck();
|
60 |
}
|
61 |
|
@@ -88,7 +110,8 @@ class Payone_Core_Model_Observer_Checkout_Onepage_DebitPayment extends Payone_Co
|
|
88 |
|
89 |
// Perform check:
|
90 |
$serviceBankaccountCheck = $this->getFactory()
|
91 |
-
|
|
|
92 |
$serviceBankaccountCheck->execute($bankAccountNumber, $bankCode, $bankCountry, $iban, $bic);
|
93 |
}
|
94 |
|
@@ -102,7 +125,9 @@ class Payone_Core_Model_Observer_Checkout_Onepage_DebitPayment extends Payone_Co
|
|
102 |
|
103 |
$paymentMethodConfigId = $paymentData['payone_config_payment_method_id'];
|
104 |
|
105 |
-
$manageMandateService = $this->getFactory()
|
|
|
|
|
106 |
|
107 |
// Gather Data:
|
108 |
$bankAccountNumber = array_key_exists('payone_account_number', $paymentData) ? $paymentData['payone_account_number'] : '';
|
@@ -130,9 +155,12 @@ class Payone_Core_Model_Observer_Checkout_Onepage_DebitPayment extends Payone_Co
|
|
130 |
*/
|
131 |
protected function init(Varien_Event_Observer $observer)
|
132 |
{
|
133 |
-
|
|
|
|
|
|
|
134 |
/** @var Mage_Sales_Model_Quote $quote */
|
135 |
-
$quote = $
|
136 |
$this->setPaymentData($paymentData);
|
137 |
$this->setQuote($quote);
|
138 |
|
@@ -145,7 +173,8 @@ class Payone_Core_Model_Observer_Checkout_Onepage_DebitPayment extends Payone_Co
|
|
145 |
throw new Payone_Core_Exception_PaymentMethodConfigNotFound();
|
146 |
}
|
147 |
|
148 |
-
$paymentConfig = $this->helperConfig()
|
|
|
149 |
$this->setPaymentConfig($paymentConfig);
|
150 |
}
|
151 |
|
47 |
*/
|
48 |
public function performChecks(Varien_Event_Observer $observer)
|
49 |
{
|
50 |
+
/** @var Mage_Checkout_OnepageController|Payone_Core_Checkout_OnepageController $controllerAction */
|
51 |
+
$controllerAction = $observer->getEvent()->getControllerAction();
|
52 |
+
$paymentData = $controllerAction->getRequest()->getPost('payment', array());
|
53 |
+
$selectedMethod = $paymentData['method'];
|
54 |
+
|
55 |
+
if ($selectedMethod != Payone_Core_Model_System_Config_PaymentMethodCode::DEBITPAYMENT) {
|
56 |
+
return; // only active for payone_debit_payment
|
57 |
+
}
|
58 |
+
|
59 |
+
if (!$controllerAction instanceof Payone_Core_Checkout_OnepageController) {
|
60 |
+
// for Core controller action check if there was a forward from Payone Controller to
|
61 |
+
// avoid double execution
|
62 |
+
$request = $controllerAction->getRequest();
|
63 |
+
if ($request->getBeforeForwardInfo('module_name') == 'payone_core'
|
64 |
+
and $request->getBeforeForwardInfo('controller_name') == 'checkout_onepage'
|
65 |
+
and $request->getBeforeForwardInfo('action_name') == 'verifyPayment'
|
66 |
+
) {
|
67 |
+
return;
|
68 |
+
}
|
69 |
+
}
|
70 |
+
|
71 |
$this->init($observer);
|
72 |
|
73 |
$paymentConfig = $this->getPaymentConfig();
|
76 |
$bankaccountcheckType = $paymentConfig->getBankAccountCheckType();
|
77 |
|
78 |
if ((!$sepaMandateEnabled and $checkBankaccountEnabled)
|
79 |
+
or ($sepaMandateEnabled and $checkBankaccountEnabled and $bankaccountcheckType == Payone_Api_Enum_BankaccountCheckType::POS_BLACKLIST)
|
80 |
+
) {
|
81 |
$this->performBankaccountCheck();
|
82 |
}
|
83 |
|
110 |
|
111 |
// Perform check:
|
112 |
$serviceBankaccountCheck = $this->getFactory()
|
113 |
+
->getServiceVerificationBankAccountCheck($paymentMethodConfigId, $this->getQuote()
|
114 |
+
->getStoreId());
|
115 |
$serviceBankaccountCheck->execute($bankAccountNumber, $bankCode, $bankCountry, $iban, $bic);
|
116 |
}
|
117 |
|
125 |
|
126 |
$paymentMethodConfigId = $paymentData['payone_config_payment_method_id'];
|
127 |
|
128 |
+
$manageMandateService = $this->getFactory()
|
129 |
+
->getServiceManagementManageMandate($paymentMethodConfigId, $this->getQuote()
|
130 |
+
->getStoreId());
|
131 |
|
132 |
// Gather Data:
|
133 |
$bankAccountNumber = array_key_exists('payone_account_number', $paymentData) ? $paymentData['payone_account_number'] : '';
|
155 |
*/
|
156 |
protected function init(Varien_Event_Observer $observer)
|
157 |
{
|
158 |
+
/** @var Mage_Checkout_OnepageController|Payone_Core_Checkout_OnepageController $controllerAction */
|
159 |
+
$controllerAction = $observer->getEvent()->getControllerAction();
|
160 |
+
|
161 |
+
$paymentData = $controllerAction->getRequest()->getPost('payment', array());
|
162 |
/** @var Mage_Sales_Model_Quote $quote */
|
163 |
+
$quote = $controllerAction->getOnepage()->getQuote();
|
164 |
$this->setPaymentData($paymentData);
|
165 |
$this->setQuote($quote);
|
166 |
|
173 |
throw new Payone_Core_Exception_PaymentMethodConfigNotFound();
|
174 |
}
|
175 |
|
176 |
+
$paymentConfig = $this->helperConfig()
|
177 |
+
->getConfigPaymentMethodById($paymentMethodConfigId, $quote->getStoreId());
|
178 |
$this->setPaymentConfig($paymentConfig);
|
179 |
}
|
180 |
|
app/code/community/Payone/Core/Model/Observer/Sales/Order.php
CHANGED
@@ -1,79 +1,81 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
*
|
4 |
-
* NOTICE OF LICENSE
|
5 |
-
*
|
6 |
-
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
-
* that is bundled with this package in the file LICENSE.txt
|
8 |
-
*
|
9 |
-
* DISCLAIMER
|
10 |
-
*
|
11 |
-
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
-
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
-
* needs please refer to http://www.payone.de for more information.
|
14 |
-
*
|
15 |
-
* @category Payone
|
16 |
-
* @package Payone_Core_Model
|
17 |
-
* @subpackage Observer
|
18 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
-
* @author Matthias Walter <info@noovias.com>
|
20 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
-
* @link http://www.noovias.com
|
22 |
-
*/
|
23 |
-
|
24 |
-
/**
|
25 |
-
*
|
26 |
-
* @category Payone
|
27 |
-
* @package Payone_Core_Model
|
28 |
-
* @subpackage Observer
|
29 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
30 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
31 |
-
* @link http://www.noovias.com
|
32 |
-
*/
|
33 |
-
class Payone_Core_Model_Observer_Sales_Order
|
34 |
-
extends Payone_Core_Model_Observer_Abstract
|
35 |
-
{
|
36 |
-
/**
|
37 |
-
* @param Varien_Event_Observer $observer
|
38 |
-
* @return void
|
39 |
-
*/
|
40 |
-
public function updateOrderGrid(Varien_Event_Observer $observer)
|
41 |
-
{
|
42 |
-
/**
|
43 |
-
* @var $resource Mage_Sales_Model_Mysql4_Order
|
44 |
-
*/
|
45 |
-
$resource = $observer->getEvent()->getResource();
|
46 |
-
|
47 |
-
$resource->addVirtualGridColumn(
|
48 |
-
'payone_payment_method',
|
49 |
-
'order_payment',
|
50 |
-
array('entity_id' => 'parent_id'),
|
51 |
-
'method'
|
52 |
-
);
|
53 |
-
}
|
54 |
-
|
55 |
-
/**
|
56 |
-
* @param Varien_Event_Observer $observer
|
57 |
-
* @return void
|
58 |
-
*/
|
59 |
-
public function incrementSampleCounter(Varien_Event_Observer $observer)
|
60 |
-
{
|
61 |
-
$storeId = $observer->getEvent()->getOrder()->getStoreId();
|
62 |
-
|
63 |
-
$this->helperConfig()->incrementCreditratingSampleCounter($storeId);
|
64 |
-
}
|
65 |
-
|
66 |
-
/**
|
67 |
-
*
|
68 |
-
* @param Varien_Event_Observer $observer (has data 'payment' with a payment info instance (Mage_Sales_Model_Order_Payment))
|
69 |
-
*/
|
70 |
-
public function cancelPayment(Varien_Event_Observer $observer)
|
71 |
-
{
|
72 |
-
/** @var $payment Mage_Sales_Model_Order_Payment */
|
73 |
-
$payment = $observer->getPayment();
|
74 |
-
|
75 |
-
$methodInstance = $payment->getMethodInstance();
|
76 |
-
|
77 |
-
$methodInstance
|
78 |
-
|
|
|
|
|
79 |
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
+
* that is bundled with this package in the file LICENSE.txt
|
8 |
+
*
|
9 |
+
* DISCLAIMER
|
10 |
+
*
|
11 |
+
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
+
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
+
* needs please refer to http://www.payone.de for more information.
|
14 |
+
*
|
15 |
+
* @category Payone
|
16 |
+
* @package Payone_Core_Model
|
17 |
+
* @subpackage Observer
|
18 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
+
* @author Matthias Walter <info@noovias.com>
|
20 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
+
* @link http://www.noovias.com
|
22 |
+
*/
|
23 |
+
|
24 |
+
/**
|
25 |
+
*
|
26 |
+
* @category Payone
|
27 |
+
* @package Payone_Core_Model
|
28 |
+
* @subpackage Observer
|
29 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
30 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
31 |
+
* @link http://www.noovias.com
|
32 |
+
*/
|
33 |
+
class Payone_Core_Model_Observer_Sales_Order
|
34 |
+
extends Payone_Core_Model_Observer_Abstract
|
35 |
+
{
|
36 |
+
/**
|
37 |
+
* @param Varien_Event_Observer $observer
|
38 |
+
* @return void
|
39 |
+
*/
|
40 |
+
public function updateOrderGrid(Varien_Event_Observer $observer)
|
41 |
+
{
|
42 |
+
/**
|
43 |
+
* @var $resource Mage_Sales_Model_Mysql4_Order
|
44 |
+
*/
|
45 |
+
$resource = $observer->getEvent()->getResource();
|
46 |
+
|
47 |
+
$resource->addVirtualGridColumn(
|
48 |
+
'payone_payment_method',
|
49 |
+
'order_payment',
|
50 |
+
array('entity_id' => 'parent_id'),
|
51 |
+
'method'
|
52 |
+
);
|
53 |
+
}
|
54 |
+
|
55 |
+
/**
|
56 |
+
* @param Varien_Event_Observer $observer
|
57 |
+
* @return void
|
58 |
+
*/
|
59 |
+
public function incrementSampleCounter(Varien_Event_Observer $observer)
|
60 |
+
{
|
61 |
+
$storeId = $observer->getEvent()->getOrder()->getStoreId();
|
62 |
+
|
63 |
+
$this->helperConfig()->incrementCreditratingSampleCounter($storeId);
|
64 |
+
}
|
65 |
+
|
66 |
+
/**
|
67 |
+
*
|
68 |
+
* @param Varien_Event_Observer $observer (has data 'payment' with a payment info instance (Mage_Sales_Model_Order_Payment))
|
69 |
+
*/
|
70 |
+
public function cancelPayment(Varien_Event_Observer $observer)
|
71 |
+
{
|
72 |
+
/** @var $payment Mage_Sales_Model_Order_Payment */
|
73 |
+
$payment = $observer->getPayment();
|
74 |
+
|
75 |
+
$methodInstance = $payment->getMethodInstance();
|
76 |
+
|
77 |
+
if ($methodInstance instanceof Payone_Core_Model_Payment_Method_Abstract) {
|
78 |
+
$methodInstance->cancel($payment);
|
79 |
+
}
|
80 |
+
}
|
81 |
}
|
app/code/community/Payone/Core/Model/Observer/Sales/Order/Invoice.php
CHANGED
@@ -43,6 +43,10 @@ class Payone_Core_Model_Observer_Sales_Order_Invoice
|
|
43 |
{
|
44 |
$event = $observer->getEvent();
|
45 |
$this->invoice = $event->getInvoice();
|
|
|
|
|
|
|
|
|
46 |
}
|
47 |
|
48 |
/**
|
@@ -55,4 +59,12 @@ class Payone_Core_Model_Observer_Sales_Order_Invoice
|
|
55 |
$request = $event->getRequest();
|
56 |
$this->invoice->setPayoneSequencenumber($request->getSequencenumber());
|
57 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
}
|
43 |
{
|
44 |
$event = $observer->getEvent();
|
45 |
$this->invoice = $event->getInvoice();
|
46 |
+
if(!$this->getHelperRegistry()->registry('current_invoice') instanceof Mage_Sales_Model_Order_Invoice)
|
47 |
+
{
|
48 |
+
$this->getHelperRegistry()->register('current_invoice',$event->getInvoice());
|
49 |
+
}
|
50 |
}
|
51 |
|
52 |
/**
|
59 |
$request = $event->getRequest();
|
60 |
$this->invoice->setPayoneSequencenumber($request->getSequencenumber());
|
61 |
}
|
62 |
+
|
63 |
+
/**
|
64 |
+
* @return Payone_Core_Helper_Registry
|
65 |
+
*/
|
66 |
+
protected function getHelperRegistry()
|
67 |
+
{
|
68 |
+
return $this->getFactory()->helperRegistry();
|
69 |
+
}
|
70 |
}
|
app/code/community/Payone/Core/Model/Observer/Sales/Quote/Address.php
CHANGED
@@ -46,6 +46,7 @@ class Payone_Core_Model_Observer_Sales_Quote_Address
|
|
46 |
$quote = $event->getQuote();
|
47 |
$quoteAddress = $event->getQuoteAddress();
|
48 |
$errors = $event->getErrors();
|
|
|
49 |
|
50 |
$fullActionName = $event->getFullActionName();
|
51 |
|
@@ -57,9 +58,11 @@ class Payone_Core_Model_Observer_Sales_Quote_Address
|
|
57 |
|
58 |
|
59 |
$addressType = $quoteAddress->getAddressType();
|
60 |
-
if (($addressType
|
61 |
-
or ($addressType === 'shipping' and $config->mustCheckShipping()))
|
62 |
{
|
|
|
|
|
|
|
63 |
// Config says we must perform an addresscheck:
|
64 |
$service = $this->getFactory()->getServiceVerificationAddressCheck($config);
|
65 |
|
@@ -88,4 +91,37 @@ class Payone_Core_Model_Observer_Sales_Quote_Address
|
|
88 |
);
|
89 |
return $actions;
|
90 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
}
|
46 |
$quote = $event->getQuote();
|
47 |
$quoteAddress = $event->getQuoteAddress();
|
48 |
$errors = $event->getErrors();
|
49 |
+
$useForShipping = (bool) $event->getUseForShipping();
|
50 |
|
51 |
$fullActionName = $event->getFullActionName();
|
52 |
|
58 |
|
59 |
|
60 |
$addressType = $quoteAddress->getAddressType();
|
61 |
+
if ($this->mustCheckAddress($addressType, $config, $quote, $useForShipping))
|
|
|
62 |
{
|
63 |
+
// Inject into QuoteAdress for later use in mapper
|
64 |
+
$quoteAddress->setUseForShipping($useForShipping);
|
65 |
+
|
66 |
// Config says we must perform an addresscheck:
|
67 |
$service = $this->getFactory()->getServiceVerificationAddressCheck($config);
|
68 |
|
91 |
);
|
92 |
return $actions;
|
93 |
}
|
94 |
+
|
95 |
+
/**
|
96 |
+
* checks if an addresscheck must be performed
|
97 |
+
*
|
98 |
+
* @param $addressType
|
99 |
+
* @param Payone_Core_Model_Config_Protect_AddressCheck $config
|
100 |
+
* @param Mage_Sales_Model_Quote $quote
|
101 |
+
* @param $useForShipping
|
102 |
+
* @return bool
|
103 |
+
*/
|
104 |
+
protected function mustCheckAddress($addressType, Payone_Core_Model_Config_Protect_AddressCheck $config, Mage_Sales_Model_Quote $quote, $useForShipping)
|
105 |
+
{
|
106 |
+
// check if address is shipping-address an shipping-address has to be checked
|
107 |
+
if ($addressType === 'shipping' and $config->mustCheckShipping()) {
|
108 |
+
return true;
|
109 |
+
}
|
110 |
+
// check if address is billing-address
|
111 |
+
if ($addressType === 'billing') {
|
112 |
+
// check if billing-address has to be checked
|
113 |
+
if ($config->mustCheckBilling()) {
|
114 |
+
return true;
|
115 |
+
}
|
116 |
+
// check if billing-address is used for shipping address and shipping-address has to be checked
|
117 |
+
if ($useForShipping === true and $config->mustCheckShipping() and !$quote->isVirtual()) {
|
118 |
+
return true;
|
119 |
+
}
|
120 |
+
// check if billing-address has to be checked for virtual order
|
121 |
+
if ($quote->isVirtual() and $config->mustCheckBillingForVirtualOrder()) {
|
122 |
+
return true;
|
123 |
+
}
|
124 |
+
}
|
125 |
+
return false;
|
126 |
+
}
|
127 |
}
|
app/code/community/Payone/Core/Model/Observer/TransactionStatus/InvoiceCreate.php
CHANGED
@@ -1,207 +1,207 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
*
|
4 |
-
* NOTICE OF LICENSE
|
5 |
-
*
|
6 |
-
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
-
* that is bundled with this package in the file LICENSE.txt
|
8 |
-
*
|
9 |
-
* DISCLAIMER
|
10 |
-
*
|
11 |
-
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
-
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
-
* needs please refer to http://www.payone.de for more information.
|
14 |
-
*
|
15 |
-
* @category Payone
|
16 |
-
* @package Payone_Core_Model
|
17 |
-
* @subpackage Observer
|
18 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
-
* @author Matthias Walter <info@noovias.com>
|
20 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
-
* @link http://www.noovias.com
|
22 |
-
*/
|
23 |
-
|
24 |
-
/**
|
25 |
-
*
|
26 |
-
* @category Payone
|
27 |
-
* @package Payone_Core_Model
|
28 |
-
* @subpackage Observer
|
29 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
30 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
31 |
-
* @link http://www.noovias.com
|
32 |
-
*/
|
33 |
-
class Payone_Core_Model_Observer_TransactionStatus_InvoiceCreate
|
34 |
-
extends Payone_Core_Model_Observer_Abstract
|
35 |
-
{
|
36 |
-
/**
|
37 |
-
* @var Payone_Core_Model_Service_Sales_InvoiceCreate
|
38 |
-
*/
|
39 |
-
protected $serviceInvoiceCreate = null;
|
40 |
-
|
41 |
-
/** @var $method Payone_Core_Model_Payment_Method_Abstract */
|
42 |
-
private $method = null;
|
43 |
-
|
44 |
-
/** @var $order Mage_Sales_Model_Order */
|
45 |
-
private $order = null;
|
46 |
-
|
47 |
-
/** @var $config Payone_Core_Model_Config */
|
48 |
-
private $config = null;
|
49 |
-
|
50 |
-
/** @var $payment Mage_Sales_Model_Order_Payment */
|
51 |
-
private $payment = null;
|
52 |
-
|
53 |
-
/** @var $transactionStatus Payone_Core_Model_Domain_Protocol_TransactionStatus */
|
54 |
-
private $transactionStatus = null;
|
55 |
-
|
56 |
-
/**
|
57 |
-
* @param Varien_Event_Observer $observer
|
58 |
-
*/
|
59 |
-
public function onAppointed(Varien_Event_Observer $observer)
|
60 |
-
{
|
61 |
-
$this->initData($observer);
|
62 |
-
|
63 |
-
$configMethod = $this->getConfigPaymentMethodById();
|
64 |
-
// All Other PaymentMethods create Invoice if request-type is authorization
|
65 |
-
if ($configMethod->isRequestAuthorization()) {
|
66 |
-
if (!$this->method instanceof Payone_Core_Model_Payment_Method_AdvancePayment) {
|
67 |
-
// Create Invoice
|
68 |
-
$invoice = $this->getServiceInvoiceCreate()->createByOrder($this->order);
|
69 |
-
|
70 |
-
$this->sendInvoiceEmail($invoice);
|
71 |
-
}
|
72 |
-
// Advance Payment: invoice is created on Transaction Paid
|
73 |
-
}
|
74 |
-
}
|
75 |
-
|
76 |
-
/**
|
77 |
-
* @param Varien_Event_Observer $observer
|
78 |
-
*/
|
79 |
-
public function onPaid(Varien_Event_Observer $observer)
|
80 |
-
{
|
81 |
-
$this->initData($observer);
|
82 |
-
|
83 |
-
$configMethod = $this->getConfigPaymentMethodById();
|
84 |
-
// Advance Payment create Invoice if request-type is authorization
|
85 |
-
if ($configMethod->isRequestAuthorization()) {
|
86 |
-
$isAdvancePayment = $this->method instanceof Payone_Core_Model_Payment_Method_AdvancePayment;
|
87 |
-
|
88 |
-
if ($isAdvancePayment) {
|
89 |
-
$invoice = $this->getServiceInvoiceCreate()->createByOrder($this->order);
|
90 |
-
}
|
91 |
-
else {
|
92 |
-
// Load Invoice which has been created in 'onAppointed'
|
93 |
-
$invoice = $this->getInvoiceForOrder();
|
94 |
-
}
|
95 |
-
|
96 |
-
if ($invoice) {
|
97 |
-
$invoice->pay();
|
98 |
-
|
99 |
-
if ($isAdvancePayment) {
|
100 |
-
$this->sendInvoiceEmail($invoice);
|
101 |
-
}
|
102 |
-
|
103 |
-
// Save invoice and it´s order as a transaction:
|
104 |
-
try {
|
105 |
-
$transaction = $this->getFactory()->getModelResourceTransaction();
|
106 |
-
$transaction->addObject($invoice);
|
107 |
-
$transaction->addObject($invoice->getOrder());
|
108 |
-
$transaction->save();
|
109 |
-
}
|
110 |
-
catch (Mage_Core_Exception $e) {
|
111 |
-
throw new Payone_Core_Exception_InvoiceSave($e->getMessage());
|
112 |
-
}
|
113 |
-
}
|
114 |
-
}
|
115 |
-
// All Other PaymentMethods already have an invoice
|
116 |
-
}
|
117 |
-
|
118 |
-
/**
|
119 |
-
* @param Varien_Event_Observer $observer
|
120 |
-
*/
|
121 |
-
protected function initData(Varien_Event_Observer $observer)
|
122 |
-
{
|
123 |
-
$event = $observer->getEvent();
|
124 |
-
|
125 |
-
/** @var $transactionStatus Payone_Core_Model_Domain_Protocol_TransactionStatus */
|
126 |
-
$this->transactionStatus = $event->getTransactionStatus();
|
127 |
-
|
128 |
-
$order = $this->getOrderByTransactionStatus($this->transactionStatus);
|
129 |
-
$payment = $order->getPayment();
|
130 |
-
$this->method = $payment->getMethodInstance();
|
131 |
-
/** @var $method Payone_Core_Model_Payment_Method_Abstract */
|
132 |
-
$this->method = $payment->getMethodInstance();
|
133 |
-
$this->order = $order;
|
134 |
-
$this->config = $event->getConfig();
|
135 |
-
$this->payment = $payment;
|
136 |
-
}
|
137 |
-
|
138 |
-
/**
|
139 |
-
* @param Mage_Sales_Model_Order_Invoice $invoice
|
140 |
-
*/
|
141 |
-
protected function sendInvoiceEmail(Mage_Sales_Model_Order_Invoice $invoice)
|
142 |
-
{
|
143 |
-
$invoice->setEmailSent(true);
|
144 |
-
$invoice->sendEmail();
|
145 |
-
$invoice->save();
|
146 |
-
}
|
147 |
-
|
148 |
-
/**
|
149 |
-
* @param Payone_Core_Model_Service_Sales_InvoiceCreate $service
|
150 |
-
*/
|
151 |
-
public function setServiceInvoiceCreate(Payone_Core_Model_Service_Sales_InvoiceCreate $service)
|
152 |
-
{
|
153 |
-
$this->serviceInvoiceCreate = $service;
|
154 |
-
}
|
155 |
-
|
156 |
-
/**
|
157 |
-
* @return Payone_Core_Model_Service_Sales_InvoiceCreate
|
158 |
-
*/
|
159 |
-
public function getServiceInvoiceCreate()
|
160 |
-
{
|
161 |
-
if ($this->serviceInvoiceCreate === null) {
|
162 |
-
$this->serviceInvoiceCreate = $this->getFactory()->getServiceSalesInvoiceCreate();
|
163 |
-
}
|
164 |
-
return $this->serviceInvoiceCreate;
|
165 |
-
}
|
166 |
-
|
167 |
-
/**
|
168 |
-
* @param Payone_Core_Model_Domain_Protocol_TransactionStatus $transactionStatus
|
169 |
-
* @return Mage_Sales_Model_Order
|
170 |
-
*/
|
171 |
-
protected function getOrderByTransactionStatus(Payone_Core_Model_Domain_Protocol_TransactionStatus $transactionStatus)
|
172 |
-
{
|
173 |
-
$order = $this->getFactory()->getModelSalesOrder();
|
174 |
-
$order->load($transactionStatus->getOrderId());
|
175 |
-
return $order;
|
176 |
-
}
|
177 |
-
|
178 |
-
/**
|
179 |
-
* @return bool|Payone_Core_Model_Config_Payment_Method_Interface
|
180 |
-
* @throws Payone_Core_Exception_PaymentMethodConfigNotFound
|
181 |
-
*/
|
182 |
-
protected function getConfigPaymentMethodById()
|
183 |
-
{
|
184 |
-
$id = $this->payment->getPayoneConfigPaymentMethodId();
|
185 |
-
$configPaymentMethod = $this->config->getPayment()->getMethodById($id);
|
186 |
-
|
187 |
-
if (empty($configPaymentMethod)) {
|
188 |
-
$message = 'Payment method configuration with id "' . $id . '" not found.';
|
189 |
-
throw new Payone_Core_Exception_PaymentMethodConfigNotFound($message);
|
190 |
-
}
|
191 |
-
|
192 |
-
return $configPaymentMethod;
|
193 |
-
}
|
194 |
-
|
195 |
-
/**
|
196 |
-
* @return Mage_Sales_Model_Order_Invoice
|
197 |
-
*/
|
198 |
-
protected function getInvoiceForOrder()
|
199 |
-
{
|
200 |
-
/** @var $invoiceCollection Mage_Sales_Model_Mysql4_Order_Invoice_Collection */
|
201 |
-
$invoiceCollection = $this->order->getInvoiceCollection();
|
202 |
-
$invoiceCollection->addFieldToFilter('payone_sequencenumber', $this->transactionStatus->getSequencenumber());
|
203 |
-
$invoice = $invoiceCollection->getFirstItem();
|
204 |
-
return $invoice;
|
205 |
-
}
|
206 |
-
|
207 |
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
+
* that is bundled with this package in the file LICENSE.txt
|
8 |
+
*
|
9 |
+
* DISCLAIMER
|
10 |
+
*
|
11 |
+
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
+
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
+
* needs please refer to http://www.payone.de for more information.
|
14 |
+
*
|
15 |
+
* @category Payone
|
16 |
+
* @package Payone_Core_Model
|
17 |
+
* @subpackage Observer
|
18 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
+
* @author Matthias Walter <info@noovias.com>
|
20 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
+
* @link http://www.noovias.com
|
22 |
+
*/
|
23 |
+
|
24 |
+
/**
|
25 |
+
*
|
26 |
+
* @category Payone
|
27 |
+
* @package Payone_Core_Model
|
28 |
+
* @subpackage Observer
|
29 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
30 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
31 |
+
* @link http://www.noovias.com
|
32 |
+
*/
|
33 |
+
class Payone_Core_Model_Observer_TransactionStatus_InvoiceCreate
|
34 |
+
extends Payone_Core_Model_Observer_Abstract
|
35 |
+
{
|
36 |
+
/**
|
37 |
+
* @var Payone_Core_Model_Service_Sales_InvoiceCreate
|
38 |
+
*/
|
39 |
+
protected $serviceInvoiceCreate = null;
|
40 |
+
|
41 |
+
/** @var $method Payone_Core_Model_Payment_Method_Abstract */
|
42 |
+
private $method = null;
|
43 |
+
|
44 |
+
/** @var $order Mage_Sales_Model_Order */
|
45 |
+
private $order = null;
|
46 |
+
|
47 |
+
/** @var $config Payone_Core_Model_Config */
|
48 |
+
private $config = null;
|
49 |
+
|
50 |
+
/** @var $payment Mage_Sales_Model_Order_Payment */
|
51 |
+
private $payment = null;
|
52 |
+
|
53 |
+
/** @var $transactionStatus Payone_Core_Model_Domain_Protocol_TransactionStatus */
|
54 |
+
private $transactionStatus = null;
|
55 |
+
|
56 |
+
/**
|
57 |
+
* @param Varien_Event_Observer $observer
|
58 |
+
*/
|
59 |
+
public function onAppointed(Varien_Event_Observer $observer)
|
60 |
+
{
|
61 |
+
$this->initData($observer);
|
62 |
+
|
63 |
+
$configMethod = $this->getConfigPaymentMethodById();
|
64 |
+
// All Other PaymentMethods create Invoice if request-type is authorization
|
65 |
+
if ($configMethod->isRequestAuthorization()) {
|
66 |
+
if (!$this->method instanceof Payone_Core_Model_Payment_Method_AdvancePayment) {
|
67 |
+
// Create Invoice
|
68 |
+
$invoice = $this->getServiceInvoiceCreate()->createByOrder($this->order);
|
69 |
+
|
70 |
+
$this->sendInvoiceEmail($invoice);
|
71 |
+
}
|
72 |
+
// Advance Payment: invoice is created on Transaction Paid
|
73 |
+
}
|
74 |
+
}
|
75 |
+
|
76 |
+
/**
|
77 |
+
* @param Varien_Event_Observer $observer
|
78 |
+
*/
|
79 |
+
public function onPaid(Varien_Event_Observer $observer)
|
80 |
+
{
|
81 |
+
$this->initData($observer);
|
82 |
+
|
83 |
+
$configMethod = $this->getConfigPaymentMethodById();
|
84 |
+
// Advance Payment create Invoice if request-type is authorization
|
85 |
+
if ($configMethod->isRequestAuthorization()) {
|
86 |
+
$isAdvancePayment = $this->method instanceof Payone_Core_Model_Payment_Method_AdvancePayment;
|
87 |
+
|
88 |
+
if ($isAdvancePayment) {
|
89 |
+
$invoice = $this->getServiceInvoiceCreate()->createByOrder($this->order);
|
90 |
+
}
|
91 |
+
else {
|
92 |
+
// Load Invoice which has been created in 'onAppointed'
|
93 |
+
$invoice = $this->getInvoiceForOrder();
|
94 |
+
}
|
95 |
+
|
96 |
+
if ($invoice) {
|
97 |
+
$invoice->pay();
|
98 |
+
|
99 |
+
if ($isAdvancePayment) {
|
100 |
+
$this->sendInvoiceEmail($invoice);
|
101 |
+
}
|
102 |
+
|
103 |
+
// Save invoice and it´s order as a transaction:
|
104 |
+
try {
|
105 |
+
$transaction = $this->getFactory()->getModelResourceTransaction();
|
106 |
+
$transaction->addObject($invoice);
|
107 |
+
$transaction->addObject($invoice->getOrder());
|
108 |
+
$transaction->save();
|
109 |
+
}
|
110 |
+
catch (Mage_Core_Exception $e) {
|
111 |
+
throw new Payone_Core_Exception_InvoiceSave($e->getMessage());
|
112 |
+
}
|
113 |
+
}
|
114 |
+
}
|
115 |
+
// All Other PaymentMethods already have an invoice
|
116 |
+
}
|
117 |
+
|
118 |
+
/**
|
119 |
+
* @param Varien_Event_Observer $observer
|
120 |
+
*/
|
121 |
+
protected function initData(Varien_Event_Observer $observer)
|
122 |
+
{
|
123 |
+
$event = $observer->getEvent();
|
124 |
+
|
125 |
+
/** @var $transactionStatus Payone_Core_Model_Domain_Protocol_TransactionStatus */
|
126 |
+
$this->transactionStatus = $event->getTransactionStatus();
|
127 |
+
|
128 |
+
$order = $this->getOrderByTransactionStatus($this->transactionStatus);
|
129 |
+
$payment = $order->getPayment();
|
130 |
+
$this->method = $payment->getMethodInstance();
|
131 |
+
/** @var $method Payone_Core_Model_Payment_Method_Abstract */
|
132 |
+
$this->method = $payment->getMethodInstance();
|
133 |
+
$this->order = $order;
|
134 |
+
$this->config = $event->getConfig();
|
135 |
+
$this->payment = $payment;
|
136 |
+
}
|
137 |
+
|
138 |
+
/**
|
139 |
+
* @param Mage_Sales_Model_Order_Invoice $invoice
|
140 |
+
*/
|
141 |
+
protected function sendInvoiceEmail(Mage_Sales_Model_Order_Invoice $invoice)
|
142 |
+
{
|
143 |
+
$invoice->setEmailSent(true);
|
144 |
+
$invoice->sendEmail();
|
145 |
+
$invoice->save();
|
146 |
+
}
|
147 |
+
|
148 |
+
/**
|
149 |
+
* @param Payone_Core_Model_Service_Sales_InvoiceCreate $service
|
150 |
+
*/
|
151 |
+
public function setServiceInvoiceCreate(Payone_Core_Model_Service_Sales_InvoiceCreate $service)
|
152 |
+
{
|
153 |
+
$this->serviceInvoiceCreate = $service;
|
154 |
+
}
|
155 |
+
|
156 |
+
/**
|
157 |
+
* @return Payone_Core_Model_Service_Sales_InvoiceCreate
|
158 |
+
*/
|
159 |
+
public function getServiceInvoiceCreate()
|
160 |
+
{
|
161 |
+
if ($this->serviceInvoiceCreate === null) {
|
162 |
+
$this->serviceInvoiceCreate = $this->getFactory()->getServiceSalesInvoiceCreate();
|
163 |
+
}
|
164 |
+
return $this->serviceInvoiceCreate;
|
165 |
+
}
|
166 |
+
|
167 |
+
/**
|
168 |
+
* @param Payone_Core_Model_Domain_Protocol_TransactionStatus $transactionStatus
|
169 |
+
* @return Mage_Sales_Model_Order
|
170 |
+
*/
|
171 |
+
protected function getOrderByTransactionStatus(Payone_Core_Model_Domain_Protocol_TransactionStatus $transactionStatus)
|
172 |
+
{
|
173 |
+
$order = $this->getFactory()->getModelSalesOrder();
|
174 |
+
$order->load($transactionStatus->getOrderId());
|
175 |
+
return $order;
|
176 |
+
}
|
177 |
+
|
178 |
+
/**
|
179 |
+
* @return bool|Payone_Core_Model_Config_Payment_Method_Interface
|
180 |
+
* @throws Payone_Core_Exception_PaymentMethodConfigNotFound
|
181 |
+
*/
|
182 |
+
protected function getConfigPaymentMethodById()
|
183 |
+
{
|
184 |
+
$id = $this->payment->getPayoneConfigPaymentMethodId();
|
185 |
+
$configPaymentMethod = $this->config->getPayment()->getMethodById($id);
|
186 |
+
|
187 |
+
if (empty($configPaymentMethod)) {
|
188 |
+
$message = 'Payment method configuration with id "' . $id . '" not found.';
|
189 |
+
throw new Payone_Core_Exception_PaymentMethodConfigNotFound($message);
|
190 |
+
}
|
191 |
+
|
192 |
+
return $configPaymentMethod;
|
193 |
+
}
|
194 |
+
|
195 |
+
/**
|
196 |
+
* @return Mage_Sales_Model_Order_Invoice
|
197 |
+
*/
|
198 |
+
protected function getInvoiceForOrder()
|
199 |
+
{
|
200 |
+
/** @var $invoiceCollection Mage_Sales_Model_Mysql4_Order_Invoice_Collection */
|
201 |
+
$invoiceCollection = $this->order->getInvoiceCollection();
|
202 |
+
$invoiceCollection->addFieldToFilter('payone_sequencenumber', $this->transactionStatus->getSequencenumber());
|
203 |
+
$invoice = $invoiceCollection->getFirstItem();
|
204 |
+
return $invoice;
|
205 |
+
}
|
206 |
+
|
207 |
}
|
app/code/community/Payone/Core/Model/Payment/Method/Abstract.php
CHANGED
@@ -31,7 +31,7 @@
|
|
31 |
* @link http://www.noovias.com
|
32 |
*/
|
33 |
abstract class Payone_Core_Model_Payment_Method_Abstract
|
34 |
-
|
35 |
{
|
36 |
protected $_code = 'payone_abstract';
|
37 |
|
@@ -74,18 +74,24 @@ abstract class Payone_Core_Model_Payment_Method_Abstract
|
|
74 |
if ($this->getConfig() instanceof Payone_Core_Model_Config_Payment_Method_Interface) {
|
75 |
return $this->getConfig()->getName();
|
76 |
}
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
}
|
86 |
-
|
87 |
-
|
88 |
-
return $this->getConfigByOrder($order)->getName();
|
89 |
}
|
90 |
// call parent method if no config available
|
91 |
return parent::getTitle();
|
@@ -162,8 +168,9 @@ abstract class Payone_Core_Model_Payment_Method_Abstract
|
|
162 |
}
|
163 |
|
164 |
if ($this->getCode() == Payone_Core_Model_System_Config_PaymentMethodCode::CREDITCARD
|
165 |
-
|
166 |
-
|
|
|
167 |
// Capture with amount=0, to notify PAYONE that the order is complete (invoiced/cancelled all items)
|
168 |
// Only works with Creditcard at the moment (15.10.2013)
|
169 |
$this->helperRegistry()->registerPaymentCancel($this->getInfoInstance());
|
@@ -402,9 +409,9 @@ abstract class Payone_Core_Model_Payment_Method_Abstract
|
|
402 |
$checkResult->isAvailable = $isAvailable;
|
403 |
|
404 |
$this->dispatchEvent('payment_method_is_active', array(
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
));
|
409 |
|
410 |
return $checkResult->isAvailable;
|
31 |
* @link http://www.noovias.com
|
32 |
*/
|
33 |
abstract class Payone_Core_Model_Payment_Method_Abstract
|
34 |
+
extends Mage_Payment_Model_Method_Abstract
|
35 |
{
|
36 |
protected $_code = 'payone_abstract';
|
37 |
|
74 |
if ($this->getConfig() instanceof Payone_Core_Model_Config_Payment_Method_Interface) {
|
75 |
return $this->getConfig()->getName();
|
76 |
}
|
77 |
+
try {
|
78 |
+
// order has higher priority than quote
|
79 |
+
$order = $this->getInfoInstance()->getOrder();
|
80 |
+
if ($order instanceof Mage_Sales_Model_Order and $order->hasData()) {
|
81 |
+
return $this->getConfigByOrder($order)->getName();
|
82 |
+
}
|
83 |
+
/** @var $session Mage_Checkout_Model_Session */
|
84 |
+
$session = Mage::getSingleton('checkout/session');
|
85 |
+
$quote = $session->getQuote();
|
86 |
+
if (!$quote instanceof Mage_Sales_Model_Quote or !$quote->getId()) {
|
87 |
+
$quote = $this->getInfoInstance()->getQuote();
|
88 |
+
}
|
89 |
+
if ($quote instanceof Mage_Sales_Model_Quote and $quote->getId()) {
|
90 |
+
return $this->getConfigForQuote($quote)->getName();
|
91 |
+
}
|
92 |
}
|
93 |
+
catch (Payone_Core_Exception_PaymentMethodConfigNotFound $e) {
|
94 |
+
return parent::getTitle(); // if for some reason config was not found, use parent method
|
|
|
95 |
}
|
96 |
// call parent method if no config available
|
97 |
return parent::getTitle();
|
168 |
}
|
169 |
|
170 |
if ($this->getCode() == Payone_Core_Model_System_Config_PaymentMethodCode::CREDITCARD
|
171 |
+
or $this->getCode() == Payone_Core_Model_System_Config_PaymentMethodCode::SAFEINVOICE
|
172 |
+
or $this->getCode() == Payone_Core_Model_System_Config_PaymentMethodCode::FINANCING
|
173 |
+
) {
|
174 |
// Capture with amount=0, to notify PAYONE that the order is complete (invoiced/cancelled all items)
|
175 |
// Only works with Creditcard at the moment (15.10.2013)
|
176 |
$this->helperRegistry()->registerPaymentCancel($this->getInfoInstance());
|
409 |
$checkResult->isAvailable = $isAvailable;
|
410 |
|
411 |
$this->dispatchEvent('payment_method_is_active', array(
|
412 |
+
'result' => $checkResult,
|
413 |
+
'method_instance' => $this,
|
414 |
+
'quote' => $quote,
|
415 |
));
|
416 |
|
417 |
return $checkResult->isAvailable;
|
app/code/community/Payone/Core/Model/Payment/Method/SafeInvoice.php
CHANGED
@@ -1,137 +1,137 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
*
|
4 |
-
* NOTICE OF LICENSE
|
5 |
-
*
|
6 |
-
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
-
* that is bundled with this package in the file LICENSE.txt
|
8 |
-
*
|
9 |
-
* DISCLAIMER
|
10 |
-
*
|
11 |
-
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
-
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
-
* needs please refer to http://www.payone.de for more information.
|
14 |
-
*
|
15 |
-
* @category Payone
|
16 |
-
* @package Payone_Core_Model
|
17 |
-
* @subpackage Payment
|
18 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
-
* @author Matthias Walter <info@noovias.com>
|
20 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
-
* @link http://www.noovias.com
|
22 |
-
*/
|
23 |
-
|
24 |
-
/**
|
25 |
-
*
|
26 |
-
* @category Payone
|
27 |
-
* @package Payone_Core_Model
|
28 |
-
* @subpackage Payment
|
29 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
30 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
31 |
-
* @link http://www.noovias.com
|
32 |
-
*/
|
33 |
-
class Payone_Core_Model_Payment_Method_SafeInvoice
|
34 |
-
extends Payone_Core_Model_Payment_Method_Abstract
|
35 |
-
{
|
36 |
-
protected $_canRefund = true;
|
37 |
-
protected $_canRefundInvoicePartial = true;
|
38 |
-
protected $_canSettleAccountAuto = false;
|
39 |
-
protected $_canUseInternal = false;
|
40 |
-
protected $_mustTransimitInvoicingData = true;
|
41 |
-
protected $_mustTransimitInvoicingItemTypes = true;
|
42 |
-
|
43 |
-
protected $methodType = Payone_Core_Model_System_Config_PaymentMethodType::SAFEINVOICE;
|
44 |
-
protected $_code = Payone_Core_Model_System_Config_PaymentMethodCode::SAFEINVOICE;
|
45 |
-
|
46 |
-
|
47 |
-
protected $cancelRequest = false;
|
48 |
-
|
49 |
-
protected $_formBlockType = 'payone_core/payment_method_form_safeInvoice';
|
50 |
-
protected $_infoBlockType = 'payone_core/payment_method_info_safeInvoice';
|
51 |
-
|
52 |
-
/** @var Payone_Core_Model_Config_Payment_Method_Interface[] */
|
53 |
-
protected $matchingConfigs = array();
|
54 |
-
|
55 |
-
/**
|
56 |
-
* @override to further restrict availability of SafeInvoice by rules
|
57 |
-
*
|
58 |
-
* @param null|Mage_Sales_Model_Quote $quote
|
59 |
-
* @return bool
|
60 |
-
*/
|
61 |
-
public function isAvailable($quote = null)
|
62 |
-
{
|
63 |
-
if (!empty($quote) &&
|
64 |
-
count($this->getAllConfigsByQuote($quote)) < 1
|
65 |
-
) {
|
66 |
-
return $this->dispatchPaymentMethodIsActive(false, $quote);
|
67 |
-
}
|
68 |
-
|
69 |
-
return parent::isAvailable($quote);
|
70 |
-
}
|
71 |
-
|
72 |
-
/**
|
73 |
-
* @api
|
74 |
-
*
|
75 |
-
* To be used in Form_Block, which has to display all types
|
76 |
-
*
|
77 |
-
* @param Mage_Sales_Model_Quote $quote
|
78 |
-
* @return Payone_Core_Model_Config_Payment_Method_Interface
|
79 |
-
*/
|
80 |
-
public function getAllConfigsByQuote(Mage_Sales_Model_Quote $quote)
|
81 |
-
{
|
82 |
-
if (empty($this->matchingConfigs)) {
|
83 |
-
$configStore = $this->getConfigStore($quote->getStoreId());
|
84 |
-
|
85 |
-
$this->matchingConfigs = $configStore->getPayment()->getMethodsForQuote($this->methodType, $quote);
|
86 |
-
}
|
87 |
-
|
88 |
-
if (!$this->isAllowedBillSafe($quote)) {
|
89 |
-
// Special handling for BillSAFE, virtual quotes are not allowed
|
90 |
-
foreach ($this->matchingConfigs as $configKey => $config) {
|
91 |
-
/** @var $config Payone_Core_Model_Config_Payment_Method_Interface */
|
92 |
-
$types = $config->getTypes();
|
93 |
-
|
94 |
-
foreach ($types as $key => $type) {
|
95 |
-
// Remove BSV
|
96 |
-
if ($type === Payone_Api_Enum_FinancingType::BSV) {
|
97 |
-
unset($types[$key]);
|
98 |
-
}
|
99 |
-
}
|
100 |
-
|
101 |
-
if (count($types) === 0) {
|
102 |
-
unset($this->matchingConfigs[$configKey]);
|
103 |
-
}
|
104 |
-
|
105 |
-
}
|
106 |
-
}
|
107 |
-
return $this->matchingConfigs;
|
108 |
-
}
|
109 |
-
|
110 |
-
/**
|
111 |
-
* BillSAFE does not allow:
|
112 |
-
* - virtual quotes
|
113 |
-
* - differing shipping/billing address
|
114 |
-
*
|
115 |
-
* @param Mage_Sales_Model_Quote $quote
|
116 |
-
* @return bool
|
117 |
-
*/
|
118 |
-
protected function isAllowedBillSafe(Mage_Sales_Model_Quote $quote)
|
119 |
-
{
|
120 |
-
if ($quote->isVirtual()) {
|
121 |
-
return false;
|
122 |
-
}
|
123 |
-
|
124 |
-
$billingAddress = $quote->getBillingAddress();
|
125 |
-
$shippingAddress = $quote->getShippingAddress();
|
126 |
-
|
127 |
-
|
128 |
-
if (!$shippingAddress->getSameAsBilling()) {
|
129 |
-
// Double check, in case the customer has chosen to enter a separate shipping address, but filled in the same values as in billing address:
|
130 |
-
if (!$this->helper()->addressesAreEqual($billingAddress, $shippingAddress)) {
|
131 |
-
return false;
|
132 |
-
}
|
133 |
-
}
|
134 |
-
|
135 |
-
return true;
|
136 |
-
}
|
137 |
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
+
* that is bundled with this package in the file LICENSE.txt
|
8 |
+
*
|
9 |
+
* DISCLAIMER
|
10 |
+
*
|
11 |
+
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
+
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
+
* needs please refer to http://www.payone.de for more information.
|
14 |
+
*
|
15 |
+
* @category Payone
|
16 |
+
* @package Payone_Core_Model
|
17 |
+
* @subpackage Payment
|
18 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
+
* @author Matthias Walter <info@noovias.com>
|
20 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
+
* @link http://www.noovias.com
|
22 |
+
*/
|
23 |
+
|
24 |
+
/**
|
25 |
+
*
|
26 |
+
* @category Payone
|
27 |
+
* @package Payone_Core_Model
|
28 |
+
* @subpackage Payment
|
29 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
30 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
31 |
+
* @link http://www.noovias.com
|
32 |
+
*/
|
33 |
+
class Payone_Core_Model_Payment_Method_SafeInvoice
|
34 |
+
extends Payone_Core_Model_Payment_Method_Abstract
|
35 |
+
{
|
36 |
+
protected $_canRefund = true;
|
37 |
+
protected $_canRefundInvoicePartial = true;
|
38 |
+
protected $_canSettleAccountAuto = false;
|
39 |
+
protected $_canUseInternal = false;
|
40 |
+
protected $_mustTransimitInvoicingData = true;
|
41 |
+
protected $_mustTransimitInvoicingItemTypes = true;
|
42 |
+
|
43 |
+
protected $methodType = Payone_Core_Model_System_Config_PaymentMethodType::SAFEINVOICE;
|
44 |
+
protected $_code = Payone_Core_Model_System_Config_PaymentMethodCode::SAFEINVOICE;
|
45 |
+
|
46 |
+
|
47 |
+
protected $cancelRequest = false;
|
48 |
+
|
49 |
+
protected $_formBlockType = 'payone_core/payment_method_form_safeInvoice';
|
50 |
+
protected $_infoBlockType = 'payone_core/payment_method_info_safeInvoice';
|
51 |
+
|
52 |
+
/** @var Payone_Core_Model_Config_Payment_Method_Interface[] */
|
53 |
+
protected $matchingConfigs = array();
|
54 |
+
|
55 |
+
/**
|
56 |
+
* @override to further restrict availability of SafeInvoice by rules
|
57 |
+
*
|
58 |
+
* @param null|Mage_Sales_Model_Quote $quote
|
59 |
+
* @return bool
|
60 |
+
*/
|
61 |
+
public function isAvailable($quote = null)
|
62 |
+
{
|
63 |
+
if (!empty($quote) &&
|
64 |
+
count($this->getAllConfigsByQuote($quote)) < 1
|
65 |
+
) {
|
66 |
+
return $this->dispatchPaymentMethodIsActive(false, $quote);
|
67 |
+
}
|
68 |
+
|
69 |
+
return parent::isAvailable($quote);
|
70 |
+
}
|
71 |
+
|
72 |
+
/**
|
73 |
+
* @api
|
74 |
+
*
|
75 |
+
* To be used in Form_Block, which has to display all types
|
76 |
+
*
|
77 |
+
* @param Mage_Sales_Model_Quote $quote
|
78 |
+
* @return Payone_Core_Model_Config_Payment_Method_Interface
|
79 |
+
*/
|
80 |
+
public function getAllConfigsByQuote(Mage_Sales_Model_Quote $quote)
|
81 |
+
{
|
82 |
+
if (empty($this->matchingConfigs)) {
|
83 |
+
$configStore = $this->getConfigStore($quote->getStoreId());
|
84 |
+
|
85 |
+
$this->matchingConfigs = $configStore->getPayment()->getMethodsForQuote($this->methodType, $quote);
|
86 |
+
}
|
87 |
+
|
88 |
+
if (!$this->isAllowedBillSafe($quote)) {
|
89 |
+
// Special handling for BillSAFE, virtual quotes are not allowed
|
90 |
+
foreach ($this->matchingConfigs as $configKey => $config) {
|
91 |
+
/** @var $config Payone_Core_Model_Config_Payment_Method_Interface */
|
92 |
+
$types = $config->getTypes();
|
93 |
+
|
94 |
+
foreach ($types as $key => $type) {
|
95 |
+
// Remove BSV
|
96 |
+
if ($type === Payone_Api_Enum_FinancingType::BSV) {
|
97 |
+
unset($types[$key]);
|
98 |
+
}
|
99 |
+
}
|
100 |
+
|
101 |
+
if (count($types) === 0) {
|
102 |
+
unset($this->matchingConfigs[$configKey]);
|
103 |
+
}
|
104 |
+
|
105 |
+
}
|
106 |
+
}
|
107 |
+
return $this->matchingConfigs;
|
108 |
+
}
|
109 |
+
|
110 |
+
/**
|
111 |
+
* BillSAFE does not allow:
|
112 |
+
* - virtual quotes
|
113 |
+
* - differing shipping/billing address
|
114 |
+
*
|
115 |
+
* @param Mage_Sales_Model_Quote $quote
|
116 |
+
* @return bool
|
117 |
+
*/
|
118 |
+
protected function isAllowedBillSafe(Mage_Sales_Model_Quote $quote)
|
119 |
+
{
|
120 |
+
if ($quote->isVirtual()) {
|
121 |
+
return false;
|
122 |
+
}
|
123 |
+
|
124 |
+
$billingAddress = $quote->getBillingAddress();
|
125 |
+
$shippingAddress = $quote->getShippingAddress();
|
126 |
+
|
127 |
+
|
128 |
+
if (!$shippingAddress->getSameAsBilling()) {
|
129 |
+
// Double check, in case the customer has chosen to enter a separate shipping address, but filled in the same values as in billing address:
|
130 |
+
if (!$this->helper()->addressesAreEqual($billingAddress, $shippingAddress)) {
|
131 |
+
return false;
|
132 |
+
}
|
133 |
+
}
|
134 |
+
|
135 |
+
return true;
|
136 |
+
}
|
137 |
}
|
app/code/community/Payone/Core/Model/Sales/Quote/Address.php
CHANGED
@@ -132,6 +132,7 @@ class Payone_Core_Model_Sales_Quote_Address extends Mage_Sales_Model_Quote_Addre
|
|
132 |
'quote' => $this->getQuote(),
|
133 |
'errors' => $errors,
|
134 |
'full_action_name' => $this->getFullActionName(),
|
|
|
135 |
);
|
136 |
Mage::dispatchEvent($eventName, $params);
|
137 |
}
|
@@ -146,6 +147,19 @@ class Payone_Core_Model_Sales_Quote_Address extends Mage_Sales_Model_Quote_Addre
|
|
146 |
return $errors;
|
147 |
}
|
148 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
protected function getFullActionName()
|
150 |
{
|
151 |
$controller = Mage::app()->getFrontController();
|
132 |
'quote' => $this->getQuote(),
|
133 |
'errors' => $errors,
|
134 |
'full_action_name' => $this->getFullActionName(),
|
135 |
+
'use_for_shipping' => $this->getUseForShippingFlag()
|
136 |
);
|
137 |
Mage::dispatchEvent($eventName, $params);
|
138 |
}
|
147 |
return $errors;
|
148 |
}
|
149 |
|
150 |
+
/**
|
151 |
+
* @return null|string
|
152 |
+
*/
|
153 |
+
protected function getUseForShippingFlag()
|
154 |
+
{
|
155 |
+
$request = Mage::app()->getRequest();
|
156 |
+
$billingParam = $request->getPost('billing');
|
157 |
+
if (!is_array($billingParam) or !isset($billingParam['use_for_shipping'])) {
|
158 |
+
return null;
|
159 |
+
}
|
160 |
+
return $billingParam['use_for_shipping'];
|
161 |
+
}
|
162 |
+
|
163 |
protected function getFullActionName()
|
164 |
{
|
165 |
$controller = Mage::app()->getFrontController();
|
app/code/community/Payone/Core/Model/Service/Payment/Abstract.php
CHANGED
@@ -1,155 +1,155 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
*
|
4 |
-
* NOTICE OF LICENSE
|
5 |
-
*
|
6 |
-
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
-
* that is bundled with this package in the file LICENSE.txt
|
8 |
-
*
|
9 |
-
* DISCLAIMER
|
10 |
-
*
|
11 |
-
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
-
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
-
* needs please refer to http://www.payone.de for more information.
|
14 |
-
*
|
15 |
-
* @category Payone
|
16 |
-
* @package Payone_Core_Model
|
17 |
-
* @subpackage Service
|
18 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
-
* @author Matthias Walter <info@noovias.com>
|
20 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
-
* @link http://www.noovias.com
|
22 |
-
*/
|
23 |
-
|
24 |
-
/**
|
25 |
-
*
|
26 |
-
* @category Payone
|
27 |
-
* @package Payone_Core_Model
|
28 |
-
* @subpackage Service
|
29 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
30 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
31 |
-
* @link http://www.noovias.com
|
32 |
-
*/
|
33 |
-
abstract class Payone_Core_Model_Service_Payment_Abstract
|
34 |
-
extends Payone_Core_Model_Service_Abstract
|
35 |
-
implements Payone_Core_Model_Service_Payment_Interface
|
36 |
-
{
|
37 |
-
const EVENT_GROUP = 'payone_core_service_payment';
|
38 |
-
|
39 |
-
/** @var Payone_Core_Model_Mapper_ApiRequest_Payment_Interface */
|
40 |
-
protected $mapper = null;
|
41 |
-
|
42 |
-
/**
|
43 |
-
* @var Payone_Core_Model_Handler_Payment_Interface
|
44 |
-
*/
|
45 |
-
protected $handler = null;
|
46 |
-
|
47 |
-
/**
|
48 |
-
* @param Payone_Api_Request_Interface $request
|
49 |
-
* @return mixed
|
50 |
-
*/
|
51 |
-
abstract protected function perform(Payone_Api_Request_Interface $request);
|
52 |
-
|
53 |
-
/**
|
54 |
-
* @return string
|
55 |
-
*/
|
56 |
-
abstract public function getEventType();
|
57 |
-
|
58 |
-
/**
|
59 |
-
* @inheritdoc
|
60 |
-
*/
|
61 |
-
public function execute(Mage_Sales_Model_Order_Payment $payment, $amount = 0.00)
|
62 |
-
{
|
63 |
-
$this->getMapper()->setAmount($amount);
|
64 |
-
|
65 |
-
$request = $this->getMapper()->mapFromPayment($payment);
|
66 |
-
|
67 |
-
$response = $this->perform($request);
|
68 |
-
|
69 |
-
$this->getHandler()->setConfigStore($this->getConfigStore());
|
70 |
-
$this->getHandler()->setPayment($payment);
|
71 |
-
$this->getHandler()->setRequest($request);
|
72 |
-
$this->getHandler()->handle($response);
|
73 |
-
|
74 |
-
// Trigger Event
|
75 |
-
$params = array(
|
76 |
-
'request' => $request,
|
77 |
-
'response' => $response,
|
78 |
-
'payment_method' => $payment->getMethodInstance(),
|
79 |
-
'payment' => $payment,
|
80 |
-
'order' => $payment->getOrder()
|
81 |
-
);
|
82 |
-
$this->dispatchEvent($this->getEventGroup(), $params);
|
83 |
-
$this->dispatchEvent($this->getEventName(), $params);
|
84 |
-
$this->dispatchEvent($this->getEventName() . '_' . strtolower($response->getStatus()), $params);
|
85 |
-
|
86 |
-
if ($response instanceof Payone_Api_Response_Error) {
|
87 |
-
/** @var $response Payone_Api_Response_Error */
|
88 |
-
$this->throwMageException($this->helper()->__('There has been an error processing your payment'));
|
89 |
-
}
|
90 |
-
|
91 |
-
return $response;
|
92 |
-
}
|
93 |
-
|
94 |
-
protected function getEventName()
|
95 |
-
{
|
96 |
-
return $this->getEventGroup() . '_' . $this->getEventType();
|
97 |
-
}
|
98 |
-
|
99 |
-
protected function getEventGroup()
|
100 |
-
{
|
101 |
-
return self::EVENT_GROUP;
|
102 |
-
}
|
103 |
-
|
104 |
-
/**
|
105 |
-
* @param $message
|
106 |
-
* @throws Mage_Core_Exception
|
107 |
-
*/
|
108 |
-
protected function throwMageException($message)
|
109 |
-
{
|
110 |
-
Mage::throwException($message);
|
111 |
-
}
|
112 |
-
|
113 |
-
/**
|
114 |
-
* @param $name
|
115 |
-
* @param array $data
|
116 |
-
*
|
117 |
-
* @return Mage_Core_Model_App
|
118 |
-
*/
|
119 |
-
protected function dispatchEvent($name, array $data = array())
|
120 |
-
{
|
121 |
-
return Mage::dispatchEvent($name, $data);
|
122 |
-
}
|
123 |
-
|
124 |
-
/**
|
125 |
-
* @param Payone_Core_Model_Mapper_ApiRequest_Payment_Interface $mapper
|
126 |
-
*/
|
127 |
-
public function setMapper(Payone_Core_Model_Mapper_ApiRequest_Payment_Interface $mapper)
|
128 |
-
{
|
129 |
-
$this->mapper = $mapper;
|
130 |
-
}
|
131 |
-
|
132 |
-
/**
|
133 |
-
* @return Payone_Core_Model_Mapper_ApiRequest_Payment_Interface
|
134 |
-
*/
|
135 |
-
public function getMapper()
|
136 |
-
{
|
137 |
-
return $this->mapper;
|
138 |
-
}
|
139 |
-
|
140 |
-
/**
|
141 |
-
* @param Payone_Core_Model_Handler_Payment_Interface $handler
|
142 |
-
*/
|
143 |
-
public function setHandler(Payone_Core_Model_Handler_Payment_Interface $handler)
|
144 |
-
{
|
145 |
-
$this->handler = $handler;
|
146 |
-
}
|
147 |
-
|
148 |
-
/**
|
149 |
-
* @return Payone_Core_Model_Handler_Payment_Interface
|
150 |
-
*/
|
151 |
-
public function getHandler()
|
152 |
-
{
|
153 |
-
return $this->handler;
|
154 |
-
}
|
155 |
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
+
* that is bundled with this package in the file LICENSE.txt
|
8 |
+
*
|
9 |
+
* DISCLAIMER
|
10 |
+
*
|
11 |
+
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
+
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
+
* needs please refer to http://www.payone.de for more information.
|
14 |
+
*
|
15 |
+
* @category Payone
|
16 |
+
* @package Payone_Core_Model
|
17 |
+
* @subpackage Service
|
18 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
+
* @author Matthias Walter <info@noovias.com>
|
20 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
+
* @link http://www.noovias.com
|
22 |
+
*/
|
23 |
+
|
24 |
+
/**
|
25 |
+
*
|
26 |
+
* @category Payone
|
27 |
+
* @package Payone_Core_Model
|
28 |
+
* @subpackage Service
|
29 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
30 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
31 |
+
* @link http://www.noovias.com
|
32 |
+
*/
|
33 |
+
abstract class Payone_Core_Model_Service_Payment_Abstract
|
34 |
+
extends Payone_Core_Model_Service_Abstract
|
35 |
+
implements Payone_Core_Model_Service_Payment_Interface
|
36 |
+
{
|
37 |
+
const EVENT_GROUP = 'payone_core_service_payment';
|
38 |
+
|
39 |
+
/** @var Payone_Core_Model_Mapper_ApiRequest_Payment_Interface */
|
40 |
+
protected $mapper = null;
|
41 |
+
|
42 |
+
/**
|
43 |
+
* @var Payone_Core_Model_Handler_Payment_Interface
|
44 |
+
*/
|
45 |
+
protected $handler = null;
|
46 |
+
|
47 |
+
/**
|
48 |
+
* @param Payone_Api_Request_Interface $request
|
49 |
+
* @return mixed
|
50 |
+
*/
|
51 |
+
abstract protected function perform(Payone_Api_Request_Interface $request);
|
52 |
+
|
53 |
+
/**
|
54 |
+
* @return string
|
55 |
+
*/
|
56 |
+
abstract public function getEventType();
|
57 |
+
|
58 |
+
/**
|
59 |
+
* @inheritdoc
|
60 |
+
*/
|
61 |
+
public function execute(Mage_Sales_Model_Order_Payment $payment, $amount = 0.00)
|
62 |
+
{
|
63 |
+
$this->getMapper()->setAmount($amount);
|
64 |
+
|
65 |
+
$request = $this->getMapper()->mapFromPayment($payment);
|
66 |
+
|
67 |
+
$response = $this->perform($request);
|
68 |
+
|
69 |
+
$this->getHandler()->setConfigStore($this->getConfigStore());
|
70 |
+
$this->getHandler()->setPayment($payment);
|
71 |
+
$this->getHandler()->setRequest($request);
|
72 |
+
$this->getHandler()->handle($response);
|
73 |
+
|
74 |
+
// Trigger Event
|
75 |
+
$params = array(
|
76 |
+
'request' => $request,
|
77 |
+
'response' => $response,
|
78 |
+
'payment_method' => $payment->getMethodInstance(),
|
79 |
+
'payment' => $payment,
|
80 |
+
'order' => $payment->getOrder()
|
81 |
+
);
|
82 |
+
$this->dispatchEvent($this->getEventGroup(), $params);
|
83 |
+
$this->dispatchEvent($this->getEventName(), $params);
|
84 |
+
$this->dispatchEvent($this->getEventName() . '_' . strtolower($response->getStatus()), $params);
|
85 |
+
|
86 |
+
if ($response instanceof Payone_Api_Response_Error) {
|
87 |
+
/** @var $response Payone_Api_Response_Error */
|
88 |
+
$this->throwMageException($this->helper()->__('There has been an error processing your payment'));
|
89 |
+
}
|
90 |
+
|
91 |
+
return $response;
|
92 |
+
}
|
93 |
+
|
94 |
+
protected function getEventName()
|
95 |
+
{
|
96 |
+
return $this->getEventGroup() . '_' . $this->getEventType();
|
97 |
+
}
|
98 |
+
|
99 |
+
protected function getEventGroup()
|
100 |
+
{
|
101 |
+
return self::EVENT_GROUP;
|
102 |
+
}
|
103 |
+
|
104 |
+
/**
|
105 |
+
* @param $message
|
106 |
+
* @throws Mage_Core_Exception
|
107 |
+
*/
|
108 |
+
protected function throwMageException($message)
|
109 |
+
{
|
110 |
+
Mage::throwException($message);
|
111 |
+
}
|
112 |
+
|
113 |
+
/**
|
114 |
+
* @param $name
|
115 |
+
* @param array $data
|
116 |
+
*
|
117 |
+
* @return Mage_Core_Model_App
|
118 |
+
*/
|
119 |
+
protected function dispatchEvent($name, array $data = array())
|
120 |
+
{
|
121 |
+
return Mage::dispatchEvent($name, $data);
|
122 |
+
}
|
123 |
+
|
124 |
+
/**
|
125 |
+
* @param Payone_Core_Model_Mapper_ApiRequest_Payment_Interface $mapper
|
126 |
+
*/
|
127 |
+
public function setMapper(Payone_Core_Model_Mapper_ApiRequest_Payment_Interface $mapper)
|
128 |
+
{
|
129 |
+
$this->mapper = $mapper;
|
130 |
+
}
|
131 |
+
|
132 |
+
/**
|
133 |
+
* @return Payone_Core_Model_Mapper_ApiRequest_Payment_Interface
|
134 |
+
*/
|
135 |
+
public function getMapper()
|
136 |
+
{
|
137 |
+
return $this->mapper;
|
138 |
+
}
|
139 |
+
|
140 |
+
/**
|
141 |
+
* @param Payone_Core_Model_Handler_Payment_Interface $handler
|
142 |
+
*/
|
143 |
+
public function setHandler(Payone_Core_Model_Handler_Payment_Interface $handler)
|
144 |
+
{
|
145 |
+
$this->handler = $handler;
|
146 |
+
}
|
147 |
+
|
148 |
+
/**
|
149 |
+
* @return Payone_Core_Model_Handler_Payment_Interface
|
150 |
+
*/
|
151 |
+
public function getHandler()
|
152 |
+
{
|
153 |
+
return $this->handler;
|
154 |
+
}
|
155 |
}
|
app/code/community/Payone/Core/Model/Service/TransactionStatus/Process.php
CHANGED
@@ -1,195 +1,195 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
*
|
4 |
-
* NOTICE OF LICENSE
|
5 |
-
*
|
6 |
-
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
-
* that is bundled with this package in the file LICENSE.txt
|
8 |
-
*
|
9 |
-
* DISCLAIMER
|
10 |
-
*
|
11 |
-
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
-
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
-
* needs please refer to http://www.payone.de for more information.
|
14 |
-
*
|
15 |
-
* @category Payone
|
16 |
-
* @package Payone_Core_Model
|
17 |
-
* @subpackage Service
|
18 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
-
* @author Matthias Walter <info@noovias.com>
|
20 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
-
* @link http://www.noovias.com
|
22 |
-
*/
|
23 |
-
|
24 |
-
/**
|
25 |
-
*
|
26 |
-
* @category Payone
|
27 |
-
* @package Payone_Core_Model
|
28 |
-
* @subpackage Service
|
29 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
30 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
31 |
-
* @link http://www.noovias.com
|
32 |
-
*/
|
33 |
-
class Payone_Core_Model_Service_TransactionStatus_Process extends Payone_Core_Model_Service_Abstract
|
34 |
-
{
|
35 |
-
const EVENT_NAME_PREFIX = 'payone_core_transactionstatus_';
|
36 |
-
const EVENT_NAME_ALL = 'all';
|
37 |
-
|
38 |
-
const EVENT_PARAMETER_TRANSACTION = 'transaction';
|
39 |
-
const EVENT_PARAMETER_TRANSACTIONSTATUS = 'transaction_status';
|
40 |
-
const EVENT_PARAMETER_CONFIG = 'config';
|
41 |
-
|
42 |
-
/**
|
43 |
-
* @var Payone_Core_Model_Service_Transaction_Update
|
44 |
-
*/
|
45 |
-
protected $serviceTransaction = null;
|
46 |
-
|
47 |
-
/**
|
48 |
-
* @var Payone_Core_Model_Service_Sales_OrderStatus
|
49 |
-
*/
|
50 |
-
protected $serviceOrderStatus = null;
|
51 |
-
|
52 |
-
/**
|
53 |
-
* @var Payone_Core_Model_Service_Sales_OrderComment
|
54 |
-
*/
|
55 |
-
protected $serviceOrderComment = null;
|
56 |
-
|
57 |
-
/**
|
58 |
-
* @var Payone_Core_Model_Service_TransactionStatus_StoreClearingParameters
|
59 |
-
*/
|
60 |
-
protected $serviceStoreClearingParams = null;
|
61 |
-
|
62 |
-
/**
|
63 |
-
* @param Payone_Core_Model_Domain_Protocol_TransactionStatus $transactionStatus
|
64 |
-
* @throws Payone_Core_Exception_OrderNotFound
|
65 |
-
*/
|
66 |
-
public function execute(Payone_Core_Model_Domain_Protocol_TransactionStatus $transactionStatus)
|
67 |
-
{
|
68 |
-
$order = $this->getFactory()->getModelSalesOrder();
|
69 |
-
$order->loadByIncrementId($transactionStatus->getReference());
|
70 |
-
|
71 |
-
if (!$order->hasData()) {
|
72 |
-
throw new Payone_Core_Exception_OrderNotFound('Reference "'.$transactionStatus->getReference().'"."');
|
73 |
-
}
|
74 |
-
|
75 |
-
// Secondary validation: is Transaction Id correct?
|
76 |
-
$payment = $order->getPayment();
|
77 |
-
$lastTxId = $payment->getLastTransId();
|
78 |
-
if($lastTxId != $transactionStatus->getTxid())
|
79 |
-
{
|
80 |
-
return; // Don´t throw an exception, just abort processing.
|
81 |
-
}
|
82 |
-
|
83 |
-
$config = $this->helperConfig()->getConfigStore($order->getStoreId());
|
84 |
-
|
85 |
-
$transactionStatus->setStoreId($order->getStoreId());
|
86 |
-
$transactionStatus->setOrderId($order->getId());
|
87 |
-
|
88 |
-
// Update Transaction
|
89 |
-
$transaction = $this->getServiceTransaction()->updateByTransactionStatus($transactionStatus);
|
90 |
-
|
91 |
-
// Update Order Status
|
92 |
-
$this->getServiceOrderStatus()->setConfigStore($config);
|
93 |
-
$this->getServiceOrderStatus()->updateByTransactionStatus($order, $transactionStatus);
|
94 |
-
|
95 |
-
// Add Order Comment
|
96 |
-
$this->getServiceOrderComment()->addByTransactionStatus($order, $transactionStatus);
|
97 |
-
|
98 |
-
// Store Clearing Parameters (needs to be done before the events get triggered)
|
99 |
-
$this->getServiceStoreClearingParams()->execute($transactionStatus, $order);
|
100 |
-
|
101 |
-
// Save before Event is triggerd
|
102 |
-
$resouce = $this->getFactory()->getModelResourceTransaction();
|
103 |
-
$resouce->addObject($order);
|
104 |
-
$resouce->addObject($transactionStatus);
|
105 |
-
$resouce->save();
|
106 |
-
|
107 |
-
|
108 |
-
// Trigger Event
|
109 |
-
$params = array(
|
110 |
-
self::EVENT_PARAMETER_TRANSACTIONSTATUS => $transactionStatus,
|
111 |
-
self::EVENT_PARAMETER_TRANSACTION => $transaction,
|
112 |
-
self::EVENT_PARAMETER_CONFIG => $config,
|
113 |
-
// @todo we should add order as param cause observers may need it
|
114 |
-
);
|
115 |
-
$this->dispatchEvent(self::EVENT_NAME_PREFIX . self::EVENT_NAME_ALL, $params);
|
116 |
-
$this->dispatchEvent(self::EVENT_NAME_PREFIX . $transactionStatus->getTxaction(), $params);
|
117 |
-
}
|
118 |
-
|
119 |
-
/**
|
120 |
-
* @param $name
|
121 |
-
* @param array $data
|
122 |
-
*
|
123 |
-
* @return Mage_Core_Model_App
|
124 |
-
*/
|
125 |
-
protected function dispatchEvent($name, array $data = array())
|
126 |
-
{
|
127 |
-
return Mage::dispatchEvent($name, $data);
|
128 |
-
}
|
129 |
-
|
130 |
-
/**
|
131 |
-
* @param Payone_Core_Model_Service_Sales_OrderStatus $service
|
132 |
-
*/
|
133 |
-
public function setServiceOrderStatus(Payone_Core_Model_Service_Sales_OrderStatus $service)
|
134 |
-
{
|
135 |
-
$this->serviceOrderStatus = $service;
|
136 |
-
}
|
137 |
-
|
138 |
-
/**
|
139 |
-
* @return Payone_Core_Model_Service_Sales_OrderStatus
|
140 |
-
*/
|
141 |
-
public function getServiceOrderStatus()
|
142 |
-
{
|
143 |
-
return $this->serviceOrderStatus;
|
144 |
-
}
|
145 |
-
|
146 |
-
/**
|
147 |
-
* @param Payone_Core_Model_Service_Sales_OrderComment $service
|
148 |
-
*/
|
149 |
-
public function setServiceOrderComment(Payone_Core_Model_Service_Sales_OrderComment $service)
|
150 |
-
{
|
151 |
-
$this->serviceOrderComment = $service;
|
152 |
-
}
|
153 |
-
|
154 |
-
/**
|
155 |
-
* @return Payone_Core_Model_Service_Sales_OrderComment
|
156 |
-
*/
|
157 |
-
public function getServiceOrderComment()
|
158 |
-
{
|
159 |
-
return $this->serviceOrderComment;
|
160 |
-
}
|
161 |
-
|
162 |
-
/**
|
163 |
-
* @param Payone_Core_Model_Service_Transaction_Update $serviceTransaction
|
164 |
-
*/
|
165 |
-
public function setServiceTransaction(Payone_Core_Model_Service_Transaction_Update $serviceTransaction)
|
166 |
-
{
|
167 |
-
$this->serviceTransaction = $serviceTransaction;
|
168 |
-
}
|
169 |
-
|
170 |
-
/**
|
171 |
-
* @return Payone_Core_Model_Service_Transaction_Update
|
172 |
-
*/
|
173 |
-
public function getServiceTransaction()
|
174 |
-
{
|
175 |
-
return $this->serviceTransaction;
|
176 |
-
}
|
177 |
-
|
178 |
-
/**
|
179 |
-
* @param Payone_Core_Model_Service_TransactionStatus_StoreClearingParameters $serviceStoreClearingParams
|
180 |
-
*/
|
181 |
-
public function setServiceStoreClearingParams(Payone_Core_Model_Service_TransactionStatus_StoreClearingParameters $serviceStoreClearingParams)
|
182 |
-
{
|
183 |
-
$this->serviceStoreClearingParams = $serviceStoreClearingParams;
|
184 |
-
}
|
185 |
-
|
186 |
-
/**
|
187 |
-
* @return Payone_Core_Model_Service_TransactionStatus_StoreClearingParameters
|
188 |
-
*/
|
189 |
-
public function getServiceStoreClearingParams()
|
190 |
-
{
|
191 |
-
return $this->serviceStoreClearingParams;
|
192 |
-
}
|
193 |
-
|
194 |
-
|
195 |
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
+
* that is bundled with this package in the file LICENSE.txt
|
8 |
+
*
|
9 |
+
* DISCLAIMER
|
10 |
+
*
|
11 |
+
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
+
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
+
* needs please refer to http://www.payone.de for more information.
|
14 |
+
*
|
15 |
+
* @category Payone
|
16 |
+
* @package Payone_Core_Model
|
17 |
+
* @subpackage Service
|
18 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
+
* @author Matthias Walter <info@noovias.com>
|
20 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
+
* @link http://www.noovias.com
|
22 |
+
*/
|
23 |
+
|
24 |
+
/**
|
25 |
+
*
|
26 |
+
* @category Payone
|
27 |
+
* @package Payone_Core_Model
|
28 |
+
* @subpackage Service
|
29 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
30 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
31 |
+
* @link http://www.noovias.com
|
32 |
+
*/
|
33 |
+
class Payone_Core_Model_Service_TransactionStatus_Process extends Payone_Core_Model_Service_Abstract
|
34 |
+
{
|
35 |
+
const EVENT_NAME_PREFIX = 'payone_core_transactionstatus_';
|
36 |
+
const EVENT_NAME_ALL = 'all';
|
37 |
+
|
38 |
+
const EVENT_PARAMETER_TRANSACTION = 'transaction';
|
39 |
+
const EVENT_PARAMETER_TRANSACTIONSTATUS = 'transaction_status';
|
40 |
+
const EVENT_PARAMETER_CONFIG = 'config';
|
41 |
+
|
42 |
+
/**
|
43 |
+
* @var Payone_Core_Model_Service_Transaction_Update
|
44 |
+
*/
|
45 |
+
protected $serviceTransaction = null;
|
46 |
+
|
47 |
+
/**
|
48 |
+
* @var Payone_Core_Model_Service_Sales_OrderStatus
|
49 |
+
*/
|
50 |
+
protected $serviceOrderStatus = null;
|
51 |
+
|
52 |
+
/**
|
53 |
+
* @var Payone_Core_Model_Service_Sales_OrderComment
|
54 |
+
*/
|
55 |
+
protected $serviceOrderComment = null;
|
56 |
+
|
57 |
+
/**
|
58 |
+
* @var Payone_Core_Model_Service_TransactionStatus_StoreClearingParameters
|
59 |
+
*/
|
60 |
+
protected $serviceStoreClearingParams = null;
|
61 |
+
|
62 |
+
/**
|
63 |
+
* @param Payone_Core_Model_Domain_Protocol_TransactionStatus $transactionStatus
|
64 |
+
* @throws Payone_Core_Exception_OrderNotFound
|
65 |
+
*/
|
66 |
+
public function execute(Payone_Core_Model_Domain_Protocol_TransactionStatus $transactionStatus)
|
67 |
+
{
|
68 |
+
$order = $this->getFactory()->getModelSalesOrder();
|
69 |
+
$order->loadByIncrementId($transactionStatus->getReference());
|
70 |
+
|
71 |
+
if (!$order->hasData()) {
|
72 |
+
throw new Payone_Core_Exception_OrderNotFound('Reference "'.$transactionStatus->getReference().'"."');
|
73 |
+
}
|
74 |
+
|
75 |
+
// Secondary validation: is Transaction Id correct?
|
76 |
+
$payment = $order->getPayment();
|
77 |
+
$lastTxId = $payment->getLastTransId();
|
78 |
+
if($lastTxId != $transactionStatus->getTxid())
|
79 |
+
{
|
80 |
+
return; // Don´t throw an exception, just abort processing.
|
81 |
+
}
|
82 |
+
|
83 |
+
$config = $this->helperConfig()->getConfigStore($order->getStoreId());
|
84 |
+
|
85 |
+
$transactionStatus->setStoreId($order->getStoreId());
|
86 |
+
$transactionStatus->setOrderId($order->getId());
|
87 |
+
|
88 |
+
// Update Transaction
|
89 |
+
$transaction = $this->getServiceTransaction()->updateByTransactionStatus($transactionStatus);
|
90 |
+
|
91 |
+
// Update Order Status
|
92 |
+
$this->getServiceOrderStatus()->setConfigStore($config);
|
93 |
+
$this->getServiceOrderStatus()->updateByTransactionStatus($order, $transactionStatus);
|
94 |
+
|
95 |
+
// Add Order Comment
|
96 |
+
$this->getServiceOrderComment()->addByTransactionStatus($order, $transactionStatus);
|
97 |
+
|
98 |
+
// Store Clearing Parameters (needs to be done before the events get triggered)
|
99 |
+
$this->getServiceStoreClearingParams()->execute($transactionStatus, $order);
|
100 |
+
|
101 |
+
// Save before Event is triggerd
|
102 |
+
$resouce = $this->getFactory()->getModelResourceTransaction();
|
103 |
+
$resouce->addObject($order);
|
104 |
+
$resouce->addObject($transactionStatus);
|
105 |
+
$resouce->save();
|
106 |
+
|
107 |
+
|
108 |
+
// Trigger Event
|
109 |
+
$params = array(
|
110 |
+
self::EVENT_PARAMETER_TRANSACTIONSTATUS => $transactionStatus,
|
111 |
+
self::EVENT_PARAMETER_TRANSACTION => $transaction,
|
112 |
+
self::EVENT_PARAMETER_CONFIG => $config,
|
113 |
+
// @todo we should add order as param cause observers may need it
|
114 |
+
);
|
115 |
+
$this->dispatchEvent(self::EVENT_NAME_PREFIX . self::EVENT_NAME_ALL, $params);
|
116 |
+
$this->dispatchEvent(self::EVENT_NAME_PREFIX . $transactionStatus->getTxaction(), $params);
|
117 |
+
}
|
118 |
+
|
119 |
+
/**
|
120 |
+
* @param $name
|
121 |
+
* @param array $data
|
122 |
+
*
|
123 |
+
* @return Mage_Core_Model_App
|
124 |
+
*/
|
125 |
+
protected function dispatchEvent($name, array $data = array())
|
126 |
+
{
|
127 |
+
return Mage::dispatchEvent($name, $data);
|
128 |
+
}
|
129 |
+
|
130 |
+
/**
|
131 |
+
* @param Payone_Core_Model_Service_Sales_OrderStatus $service
|
132 |
+
*/
|
133 |
+
public function setServiceOrderStatus(Payone_Core_Model_Service_Sales_OrderStatus $service)
|
134 |
+
{
|
135 |
+
$this->serviceOrderStatus = $service;
|
136 |
+
}
|
137 |
+
|
138 |
+
/**
|
139 |
+
* @return Payone_Core_Model_Service_Sales_OrderStatus
|
140 |
+
*/
|
141 |
+
public function getServiceOrderStatus()
|
142 |
+
{
|
143 |
+
return $this->serviceOrderStatus;
|
144 |
+
}
|
145 |
+
|
146 |
+
/**
|
147 |
+
* @param Payone_Core_Model_Service_Sales_OrderComment $service
|
148 |
+
*/
|
149 |
+
public function setServiceOrderComment(Payone_Core_Model_Service_Sales_OrderComment $service)
|
150 |
+
{
|
151 |
+
$this->serviceOrderComment = $service;
|
152 |
+
}
|
153 |
+
|
154 |
+
/**
|
155 |
+
* @return Payone_Core_Model_Service_Sales_OrderComment
|
156 |
+
*/
|
157 |
+
public function getServiceOrderComment()
|
158 |
+
{
|
159 |
+
return $this->serviceOrderComment;
|
160 |
+
}
|
161 |
+
|
162 |
+
/**
|
163 |
+
* @param Payone_Core_Model_Service_Transaction_Update $serviceTransaction
|
164 |
+
*/
|
165 |
+
public function setServiceTransaction(Payone_Core_Model_Service_Transaction_Update $serviceTransaction)
|
166 |
+
{
|
167 |
+
$this->serviceTransaction = $serviceTransaction;
|
168 |
+
}
|
169 |
+
|
170 |
+
/**
|
171 |
+
* @return Payone_Core_Model_Service_Transaction_Update
|
172 |
+
*/
|
173 |
+
public function getServiceTransaction()
|
174 |
+
{
|
175 |
+
return $this->serviceTransaction;
|
176 |
+
}
|
177 |
+
|
178 |
+
/**
|
179 |
+
* @param Payone_Core_Model_Service_TransactionStatus_StoreClearingParameters $serviceStoreClearingParams
|
180 |
+
*/
|
181 |
+
public function setServiceStoreClearingParams(Payone_Core_Model_Service_TransactionStatus_StoreClearingParameters $serviceStoreClearingParams)
|
182 |
+
{
|
183 |
+
$this->serviceStoreClearingParams = $serviceStoreClearingParams;
|
184 |
+
}
|
185 |
+
|
186 |
+
/**
|
187 |
+
* @return Payone_Core_Model_Service_TransactionStatus_StoreClearingParameters
|
188 |
+
*/
|
189 |
+
public function getServiceStoreClearingParams()
|
190 |
+
{
|
191 |
+
return $this->serviceStoreClearingParams;
|
192 |
+
}
|
193 |
+
|
194 |
+
|
195 |
}
|
app/code/community/Payone/Core/Model/Service/TransactionStatus/StoreClearingParameters.php
CHANGED
@@ -1,84 +1,84 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
*
|
4 |
-
* NOTICE OF LICENSE
|
5 |
-
*
|
6 |
-
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
-
* that is bundled with this package in the file LICENSE.txt
|
8 |
-
*
|
9 |
-
* DISCLAIMER
|
10 |
-
*
|
11 |
-
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
-
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
-
* needs please refer to http://www.payone.de for more information.
|
14 |
-
*
|
15 |
-
* @category Payone
|
16 |
-
* @package Payone_Core_Model_Service_Abstract
|
17 |
-
* @subpackage Response
|
18 |
-
* @copyright Copyright (c) 2012 <info@payone.de> - www.noovias.com
|
19 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
20 |
-
* @link http://www.noovias.com
|
21 |
-
*/
|
22 |
-
|
23 |
-
/**
|
24 |
-
*
|
25 |
-
* @category Payone
|
26 |
-
* @package Payone_Core_Model_Service_Abstract
|
27 |
-
* @subpackage Response
|
28 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
29 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
30 |
-
* @link http://www.noovias.com
|
31 |
-
*
|
32 |
-
*/
|
33 |
-
class Payone_Core_Model_Service_TransactionStatus_StoreClearingParameters
|
34 |
-
extends Payone_Core_Model_Service_Abstract
|
35 |
-
{
|
36 |
-
/**
|
37 |
-
* @param Payone_Core_Model_Domain_Protocol_TransactionStatus $transactionStatus
|
38 |
-
* @param Mage_Sales_Model_Order $order
|
39 |
-
* @return void
|
40 |
-
*/
|
41 |
-
public function execute(Payone_Core_Model_Domain_Protocol_TransactionStatus $transactionStatus, Mage_Sales_Model_Order $order = null)
|
42 |
-
{
|
43 |
-
|
44 |
-
if(!$transactionStatus->isAppointed())
|
45 |
-
return;
|
46 |
-
|
47 |
-
if(is_null($order))
|
48 |
-
{
|
49 |
-
$order = $this->getFactory()->getModelSalesOrder();
|
50 |
-
$order->load($transactionStatus->getOrderId());
|
51 |
-
}
|
52 |
-
$payment = $order->getPayment();
|
53 |
-
$methodInstance = $payment->getMethodInstance();
|
54 |
-
|
55 |
-
// Clearing params need only to be mapped on SafeInvoice with request mode "authorization" abort otherwise.
|
56 |
-
if (!($methodInstance instanceof Payone_Core_Model_Payment_Method_SafeInvoice)) {
|
57 |
-
return;
|
58 |
-
}
|
59 |
-
|
60 |
-
|
61 |
-
$config = $this->helperConfig()->getConfigPaymentMethodByOrder($order);
|
62 |
-
|
63 |
-
|
64 |
-
if (!$config->isRequestAuthorization()) {
|
65 |
-
return;
|
66 |
-
}
|
67 |
-
|
68 |
-
$payment->setPayoneClearingBankAccountholder($transactionStatus->getClearingBankaccountholder());
|
69 |
-
$payment->setPayoneClearingBankCountry($transactionStatus->getClearingBankcountry());
|
70 |
-
$payment->setPayoneClearingBankAccount($transactionStatus->getClearingBankaccount());
|
71 |
-
$payment->setPayoneClearingBankCode($transactionStatus->getClearingBankcode());
|
72 |
-
$payment->setPayoneClearingBankIban($transactionStatus->getClearingBankiban());
|
73 |
-
$payment->setPayoneClearingBankBic($transactionStatus->getClearingBankbic());
|
74 |
-
$payment->setPayoneClearingBankCity($transactionStatus->getClearingBankcity());
|
75 |
-
$payment->setPayoneClearingBankName($transactionStatus->getClearingBankname());
|
76 |
-
$payment->setPayoneClearingReference($transactionStatus->getClearingReference());
|
77 |
-
$payment->setPayoneClearingInstructionnote($transactionStatus->getClearingInstructionnote());
|
78 |
-
$payment->setPayoneClearingLegalnote($transactionStatus->getClearingLegalnote());
|
79 |
-
$payment->setPayoneClearingDuedate($transactionStatus->getClearingDuedate());
|
80 |
-
|
81 |
-
$payment->save();
|
82 |
-
|
83 |
-
}
|
84 |
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
+
* that is bundled with this package in the file LICENSE.txt
|
8 |
+
*
|
9 |
+
* DISCLAIMER
|
10 |
+
*
|
11 |
+
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
+
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
+
* needs please refer to http://www.payone.de for more information.
|
14 |
+
*
|
15 |
+
* @category Payone
|
16 |
+
* @package Payone_Core_Model_Service_Abstract
|
17 |
+
* @subpackage Response
|
18 |
+
* @copyright Copyright (c) 2012 <info@payone.de> - www.noovias.com
|
19 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
20 |
+
* @link http://www.noovias.com
|
21 |
+
*/
|
22 |
+
|
23 |
+
/**
|
24 |
+
*
|
25 |
+
* @category Payone
|
26 |
+
* @package Payone_Core_Model_Service_Abstract
|
27 |
+
* @subpackage Response
|
28 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
29 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
30 |
+
* @link http://www.noovias.com
|
31 |
+
*
|
32 |
+
*/
|
33 |
+
class Payone_Core_Model_Service_TransactionStatus_StoreClearingParameters
|
34 |
+
extends Payone_Core_Model_Service_Abstract
|
35 |
+
{
|
36 |
+
/**
|
37 |
+
* @param Payone_Core_Model_Domain_Protocol_TransactionStatus $transactionStatus
|
38 |
+
* @param Mage_Sales_Model_Order $order
|
39 |
+
* @return void
|
40 |
+
*/
|
41 |
+
public function execute(Payone_Core_Model_Domain_Protocol_TransactionStatus $transactionStatus, Mage_Sales_Model_Order $order = null)
|
42 |
+
{
|
43 |
+
|
44 |
+
if(!$transactionStatus->isAppointed())
|
45 |
+
return;
|
46 |
+
|
47 |
+
if(is_null($order))
|
48 |
+
{
|
49 |
+
$order = $this->getFactory()->getModelSalesOrder();
|
50 |
+
$order->load($transactionStatus->getOrderId());
|
51 |
+
}
|
52 |
+
$payment = $order->getPayment();
|
53 |
+
$methodInstance = $payment->getMethodInstance();
|
54 |
+
|
55 |
+
// Clearing params need only to be mapped on SafeInvoice with request mode "authorization" abort otherwise.
|
56 |
+
if (!($methodInstance instanceof Payone_Core_Model_Payment_Method_SafeInvoice)) {
|
57 |
+
return;
|
58 |
+
}
|
59 |
+
|
60 |
+
|
61 |
+
$config = $this->helperConfig()->getConfigPaymentMethodByOrder($order);
|
62 |
+
|
63 |
+
|
64 |
+
if (!$config->isRequestAuthorization()) {
|
65 |
+
return;
|
66 |
+
}
|
67 |
+
|
68 |
+
$payment->setPayoneClearingBankAccountholder($transactionStatus->getClearingBankaccountholder());
|
69 |
+
$payment->setPayoneClearingBankCountry($transactionStatus->getClearingBankcountry());
|
70 |
+
$payment->setPayoneClearingBankAccount($transactionStatus->getClearingBankaccount());
|
71 |
+
$payment->setPayoneClearingBankCode($transactionStatus->getClearingBankcode());
|
72 |
+
$payment->setPayoneClearingBankIban($transactionStatus->getClearingBankiban());
|
73 |
+
$payment->setPayoneClearingBankBic($transactionStatus->getClearingBankbic());
|
74 |
+
$payment->setPayoneClearingBankCity($transactionStatus->getClearingBankcity());
|
75 |
+
$payment->setPayoneClearingBankName($transactionStatus->getClearingBankname());
|
76 |
+
$payment->setPayoneClearingReference($transactionStatus->getClearingReference());
|
77 |
+
$payment->setPayoneClearingInstructionnote($transactionStatus->getClearingInstructionnote());
|
78 |
+
$payment->setPayoneClearingLegalnote($transactionStatus->getClearingLegalnote());
|
79 |
+
$payment->setPayoneClearingDuedate($transactionStatus->getClearingDuedate());
|
80 |
+
|
81 |
+
$payment->save();
|
82 |
+
|
83 |
+
}
|
84 |
}
|
app/code/community/Payone/Core/Model/System/Config/Abstract.php
CHANGED
@@ -69,6 +69,9 @@ abstract class Payone_Core_Model_System_Config_Abstract
|
|
69 |
return $data;
|
70 |
}
|
71 |
|
|
|
|
|
|
|
72 |
protected function helper()
|
73 |
{
|
74 |
return Mage::helper('payone_core');
|
69 |
return $data;
|
70 |
}
|
71 |
|
72 |
+
/**
|
73 |
+
* @return Payone_Core_Helper_Data
|
74 |
+
*/
|
75 |
protected function helper()
|
76 |
{
|
77 |
return Mage::helper('payone_core');
|
app/code/community/Payone/Core/Model/System/Config/OrderStatus.php
CHANGED
@@ -73,7 +73,7 @@ class Payone_Core_Model_System_Config_OrderStatus extends Payone_Core_Model_Syst
|
|
73 |
*/
|
74 |
public function toGroupArray()
|
75 |
{
|
76 |
-
$states =
|
77 |
|
78 |
$stateStatusArray = array();
|
79 |
foreach ($this->_states as $state) {
|
@@ -134,4 +134,24 @@ class Payone_Core_Model_System_Config_OrderStatus extends Payone_Core_Model_Syst
|
|
134 |
|
135 |
return $data;
|
136 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
}
|
73 |
*/
|
74 |
public function toGroupArray()
|
75 |
{
|
76 |
+
$states = $this->getStates();
|
77 |
|
78 |
$stateStatusArray = array();
|
79 |
foreach ($this->_states as $state) {
|
134 |
|
135 |
return $data;
|
136 |
}
|
137 |
+
|
138 |
+
/**
|
139 |
+
* Wrap for comaptibility issues
|
140 |
+
* @return array
|
141 |
+
*/
|
142 |
+
protected function getStates()
|
143 |
+
{
|
144 |
+
if (version_compare($this->helper()->getMagentoVersion(), '1.5', '>')) {
|
145 |
+
$states = Mage::getSingleton('sales/order_config')->getStates();
|
146 |
+
}
|
147 |
+
else {
|
148 |
+
$states = array();
|
149 |
+
foreach (Mage::getConfig()->getNode('global/sales/order/states')->children() as $state) {
|
150 |
+
$label = (string)$state->label;
|
151 |
+
$states[$state->getName()] = Mage::helper('sales')->__($label);
|
152 |
+
}
|
153 |
+
}
|
154 |
+
|
155 |
+
return $states;
|
156 |
+
}
|
157 |
}
|
app/code/community/Payone/Core/controllers/Checkout/Onepage/PaymentController.php
CHANGED
@@ -1,208 +1,208 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
*
|
4 |
-
* NOTICE OF LICENSE
|
5 |
-
*
|
6 |
-
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
-
* that is bundled with this package in the file LICENSE.txt
|
8 |
-
*
|
9 |
-
* DISCLAIMER
|
10 |
-
*
|
11 |
-
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
-
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
-
* needs please refer to http://www.payone.de for more information.
|
14 |
-
*
|
15 |
-
* @category Payone
|
16 |
-
* @package Payone_Core_controllers
|
17 |
-
* @subpackage Checkout
|
18 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
-
* @author Matthias Walter <info@noovias.com>
|
20 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
-
* @link http://www.noovias.com
|
22 |
-
*/
|
23 |
-
|
24 |
-
/**
|
25 |
-
*
|
26 |
-
* @category Payone
|
27 |
-
* @package Payone_Core_controllers
|
28 |
-
* @subpackage Checkout
|
29 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
30 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
31 |
-
* @link http://www.noovias.com
|
32 |
-
*/
|
33 |
-
class Payone_Core_Checkout_Onepage_PaymentController extends Payone_Core_Controller_Abstract
|
34 |
-
{
|
35 |
-
/**
|
36 |
-
* Payment has been canceled by user.
|
37 |
-
*
|
38 |
-
* Cancel order and redirect user to the shopping cart. Reactivate quote.
|
39 |
-
*/
|
40 |
-
public function backAction()
|
41 |
-
{
|
42 |
-
try {
|
43 |
-
$this->checkoutCancel(true);
|
44 |
-
} catch (Exception $e) {
|
45 |
-
$this->handleException($e);
|
46 |
-
}
|
47 |
-
// Redirect customer to cart
|
48 |
-
$this->_redirect('checkout/cart');
|
49 |
-
}
|
50 |
-
|
51 |
-
/**
|
52 |
-
* @return mixed
|
53 |
-
*/
|
54 |
-
public function successAction()
|
55 |
-
{
|
56 |
-
try {
|
57 |
-
$success = $this->checkoutSucccess();
|
58 |
-
|
59 |
-
if ($success === true) {
|
60 |
-
// Payment is okay. Redirect to standard Magento success page:
|
61 |
-
$this->_redirect('checkout/onepage/success');
|
62 |
-
return;
|
63 |
-
}
|
64 |
-
} catch (Exception $e) {
|
65 |
-
$this->handleException($e);
|
66 |
-
}
|
67 |
-
|
68 |
-
$this->_redirect('checkout/cart');
|
69 |
-
}
|
70 |
-
|
71 |
-
/**
|
72 |
-
* An error occured during the payment process.
|
73 |
-
* Cancel order and redirect user to the shopping cart.
|
74 |
-
*/
|
75 |
-
public function errorAction()
|
76 |
-
{
|
77 |
-
try {
|
78 |
-
$this->checkoutCancel(true);
|
79 |
-
} catch (Exception $e) {
|
80 |
-
$this->handleException($e);
|
81 |
-
}
|
82 |
-
// Redirect customer to cart
|
83 |
-
$this->_redirect('checkout/cart');
|
84 |
-
}
|
85 |
-
|
86 |
-
/**
|
87 |
-
* @return bool
|
88 |
-
*/
|
89 |
-
protected function checkoutSucccess()
|
90 |
-
{
|
91 |
-
// Get singleton of Checkout Session Model
|
92 |
-
$checkoutSession = $this->getFactory()->getSingletonCheckoutSession();
|
93 |
-
|
94 |
-
// Load actors:
|
95 |
-
$order = $this->getOrderByCheckoutSession($checkoutSession);
|
96 |
-
$quote = $this->getQuoteByCheckoutSession($checkoutSession);
|
97 |
-
$helper = $this->helper();
|
98 |
-
|
99 |
-
if ($order->getStatus() == Mage_Sales_Model_Order::STATE_CANCELED) {
|
100 |
-
// Order was cancelled, reactivate quote, notify customer:
|
101 |
-
$this->reactivateQuote($quote);
|
102 |
-
|
103 |
-
$message = $helper->__('The order has been canceled.');
|
104 |
-
$checkoutSession->addError($message);
|
105 |
-
return false;
|
106 |
-
}
|
107 |
-
|
108 |
-
// Load transaction status via order id, check for APPOINTED:
|
109 |
-
$txStatus = $this->getFactory()->getModelTransactionStatus();
|
110 |
-
$txStatus->load($order->getIncrementId(), 'reference');
|
111 |
-
|
112 |
-
if (!$txStatus->hasData() or !$txStatus->getId() or !$txStatus->isAppointed()) {
|
113 |
-
// Wrong or no transactionStatus for this order, failure.
|
114 |
-
$message = $helper->__('Sorry, your payment has not been confirmed by the payment provider.');
|
115 |
-
$checkoutSession->addError($message);
|
116 |
-
return false;
|
117 |
-
}
|
118 |
-
|
119 |
-
// Success!
|
120 |
-
$checkoutSession->setLastSuccessQuoteId($quote->getId());
|
121 |
-
|
122 |
-
return true;
|
123 |
-
}
|
124 |
-
|
125 |
-
/**
|
126 |
-
* @param bool $reactivateQuote
|
127 |
-
*/
|
128 |
-
protected function checkoutCancel($reactivateQuote = false)
|
129 |
-
{
|
130 |
-
// Get singleton of Checkout Session Model
|
131 |
-
$checkoutSession = $this->getFactory()->getSingletonCheckoutSession();
|
132 |
-
|
133 |
-
// Load order
|
134 |
-
$order = $this->getOrderByCheckoutSession($checkoutSession);
|
135 |
-
|
136 |
-
// Cancel order and add history comment:
|
137 |
-
if ($order->canCancel()) {
|
138 |
-
$order->cancel();
|
139 |
-
$statusMessage = $this->helper()->__('The Payone transaction has been canceled.');
|
140 |
-
$order->addStatusHistoryComment($statusMessage, Mage_Sales_Model_Order::STATE_CANCELED);
|
141 |
-
$order->save();
|
142 |
-
}
|
143 |
-
|
144 |
-
// Reactivate quote
|
145 |
-
if ($reactivateQuote === true) {
|
146 |
-
// Load quote
|
147 |
-
$quote = $this->getQuoteByCheckoutSession($checkoutSession);
|
148 |
-
$this->reactivateQuote($quote);
|
149 |
-
}
|
150 |
-
|
151 |
-
// Add error message to Magento checkout:
|
152 |
-
$errorMessage = $this->helper()->__('The order has been canceled.');
|
153 |
-
$checkoutSession->addError($errorMessage);
|
154 |
-
}
|
155 |
-
|
156 |
-
/**
|
157 |
-
* @param Mage_Sales_Model_Quote $quote
|
158 |
-
*/
|
159 |
-
protected function reactivateQuote(Mage_Sales_Model_Quote $quote)
|
160 |
-
{
|
161 |
-
if ($quote->getId()) {
|
162 |
-
/* @note: Reset reserved_order_id, Magento up to and including version 1.7 has a bug in Mage_Sales_Model_Resource_Quote::isOrderIncrementIdUsed()
|
163 |
-
* They cast the orderIncrementId to (int), which breaks the checkout/cart for all non-numerical incrementIds
|
164 |
-
* (Causes Integrity Constraint Violation, because orderIncrementId already exists */
|
165 |
-
$quote->setData('reserved_order_id', '');
|
166 |
-
|
167 |
-
$quote->setIsActive(true);
|
168 |
-
$quote->save();
|
169 |
-
}
|
170 |
-
}
|
171 |
-
|
172 |
-
/**
|
173 |
-
* @param Mage_Checkout_Model_Session $session
|
174 |
-
* @return Mage_Sales_Model_Order
|
175 |
-
*/
|
176 |
-
protected function getOrderByCheckoutSession(Mage_Checkout_Model_Session $session)
|
177 |
-
{
|
178 |
-
$orderId = $session->getLastOrderId();
|
179 |
-
|
180 |
-
$order = $this->getFactory()->getModelSalesOrder();
|
181 |
-
$order->load($orderId);
|
182 |
-
|
183 |
-
return $order;
|
184 |
-
}
|
185 |
-
|
186 |
-
/**
|
187 |
-
* @param Mage_Checkout_Model_Session $session
|
188 |
-
* @return Mage_Sales_Model_Quote
|
189 |
-
*/
|
190 |
-
protected function getQuoteByCheckoutSession(Mage_Checkout_Model_Session $session)
|
191 |
-
{
|
192 |
-
$quoteId = $session->getLastQuoteId();
|
193 |
-
|
194 |
-
$quote = $this->getFactory()->getModelSalesQuote();
|
195 |
-
$quote->load($quoteId);
|
196 |
-
|
197 |
-
return $quote;
|
198 |
-
}
|
199 |
-
|
200 |
-
/**
|
201 |
-
* @param Exception $exception
|
202 |
-
*/
|
203 |
-
protected function handleException(Exception $exception)
|
204 |
-
{
|
205 |
-
// Log exceptions, any messages relevant to customer have been set to the session by service
|
206 |
-
Mage::logException($exception);
|
207 |
-
}
|
208 |
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
+
* that is bundled with this package in the file LICENSE.txt
|
8 |
+
*
|
9 |
+
* DISCLAIMER
|
10 |
+
*
|
11 |
+
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
+
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
+
* needs please refer to http://www.payone.de for more information.
|
14 |
+
*
|
15 |
+
* @category Payone
|
16 |
+
* @package Payone_Core_controllers
|
17 |
+
* @subpackage Checkout
|
18 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
+
* @author Matthias Walter <info@noovias.com>
|
20 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
+
* @link http://www.noovias.com
|
22 |
+
*/
|
23 |
+
|
24 |
+
/**
|
25 |
+
*
|
26 |
+
* @category Payone
|
27 |
+
* @package Payone_Core_controllers
|
28 |
+
* @subpackage Checkout
|
29 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
30 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
31 |
+
* @link http://www.noovias.com
|
32 |
+
*/
|
33 |
+
class Payone_Core_Checkout_Onepage_PaymentController extends Payone_Core_Controller_Abstract
|
34 |
+
{
|
35 |
+
/**
|
36 |
+
* Payment has been canceled by user.
|
37 |
+
*
|
38 |
+
* Cancel order and redirect user to the shopping cart. Reactivate quote.
|
39 |
+
*/
|
40 |
+
public function backAction()
|
41 |
+
{
|
42 |
+
try {
|
43 |
+
$this->checkoutCancel(true);
|
44 |
+
} catch (Exception $e) {
|
45 |
+
$this->handleException($e);
|
46 |
+
}
|
47 |
+
// Redirect customer to cart
|
48 |
+
$this->_redirect('checkout/cart');
|
49 |
+
}
|
50 |
+
|
51 |
+
/**
|
52 |
+
* @return mixed
|
53 |
+
*/
|
54 |
+
public function successAction()
|
55 |
+
{
|
56 |
+
try {
|
57 |
+
$success = $this->checkoutSucccess();
|
58 |
+
|
59 |
+
if ($success === true) {
|
60 |
+
// Payment is okay. Redirect to standard Magento success page:
|
61 |
+
$this->_redirect('checkout/onepage/success');
|
62 |
+
return;
|
63 |
+
}
|
64 |
+
} catch (Exception $e) {
|
65 |
+
$this->handleException($e);
|
66 |
+
}
|
67 |
+
|
68 |
+
$this->_redirect('checkout/cart');
|
69 |
+
}
|
70 |
+
|
71 |
+
/**
|
72 |
+
* An error occured during the payment process.
|
73 |
+
* Cancel order and redirect user to the shopping cart.
|
74 |
+
*/
|
75 |
+
public function errorAction()
|
76 |
+
{
|
77 |
+
try {
|
78 |
+
$this->checkoutCancel(true);
|
79 |
+
} catch (Exception $e) {
|
80 |
+
$this->handleException($e);
|
81 |
+
}
|
82 |
+
// Redirect customer to cart
|
83 |
+
$this->_redirect('checkout/cart');
|
84 |
+
}
|
85 |
+
|
86 |
+
/**
|
87 |
+
* @return bool
|
88 |
+
*/
|
89 |
+
protected function checkoutSucccess()
|
90 |
+
{
|
91 |
+
// Get singleton of Checkout Session Model
|
92 |
+
$checkoutSession = $this->getFactory()->getSingletonCheckoutSession();
|
93 |
+
|
94 |
+
// Load actors:
|
95 |
+
$order = $this->getOrderByCheckoutSession($checkoutSession);
|
96 |
+
$quote = $this->getQuoteByCheckoutSession($checkoutSession);
|
97 |
+
$helper = $this->helper();
|
98 |
+
|
99 |
+
if ($order->getStatus() == Mage_Sales_Model_Order::STATE_CANCELED) {
|
100 |
+
// Order was cancelled, reactivate quote, notify customer:
|
101 |
+
$this->reactivateQuote($quote);
|
102 |
+
|
103 |
+
$message = $helper->__('The order has been canceled.');
|
104 |
+
$checkoutSession->addError($message);
|
105 |
+
return false;
|
106 |
+
}
|
107 |
+
|
108 |
+
// Load transaction status via order id, check for APPOINTED:
|
109 |
+
$txStatus = $this->getFactory()->getModelTransactionStatus();
|
110 |
+
$txStatus->load($order->getIncrementId(), 'reference');
|
111 |
+
|
112 |
+
if (!$txStatus->hasData() or !$txStatus->getId() or !$txStatus->isAppointed()) {
|
113 |
+
// Wrong or no transactionStatus for this order, failure.
|
114 |
+
$message = $helper->__('Sorry, your payment has not been confirmed by the payment provider.');
|
115 |
+
$checkoutSession->addError($message);
|
116 |
+
return false;
|
117 |
+
}
|
118 |
+
|
119 |
+
// Success!
|
120 |
+
$checkoutSession->setLastSuccessQuoteId($quote->getId());
|
121 |
+
|
122 |
+
return true;
|
123 |
+
}
|
124 |
+
|
125 |
+
/**
|
126 |
+
* @param bool $reactivateQuote
|
127 |
+
*/
|
128 |
+
protected function checkoutCancel($reactivateQuote = false)
|
129 |
+
{
|
130 |
+
// Get singleton of Checkout Session Model
|
131 |
+
$checkoutSession = $this->getFactory()->getSingletonCheckoutSession();
|
132 |
+
|
133 |
+
// Load order
|
134 |
+
$order = $this->getOrderByCheckoutSession($checkoutSession);
|
135 |
+
|
136 |
+
// Cancel order and add history comment:
|
137 |
+
if ($order->canCancel()) {
|
138 |
+
$order->cancel();
|
139 |
+
$statusMessage = $this->helper()->__('The Payone transaction has been canceled.');
|
140 |
+
$order->addStatusHistoryComment($statusMessage, Mage_Sales_Model_Order::STATE_CANCELED);
|
141 |
+
$order->save();
|
142 |
+
}
|
143 |
+
|
144 |
+
// Reactivate quote
|
145 |
+
if ($reactivateQuote === true) {
|
146 |
+
// Load quote
|
147 |
+
$quote = $this->getQuoteByCheckoutSession($checkoutSession);
|
148 |
+
$this->reactivateQuote($quote);
|
149 |
+
}
|
150 |
+
|
151 |
+
// Add error message to Magento checkout:
|
152 |
+
$errorMessage = $this->helper()->__('The order has been canceled.');
|
153 |
+
$checkoutSession->addError($errorMessage);
|
154 |
+
}
|
155 |
+
|
156 |
+
/**
|
157 |
+
* @param Mage_Sales_Model_Quote $quote
|
158 |
+
*/
|
159 |
+
protected function reactivateQuote(Mage_Sales_Model_Quote $quote)
|
160 |
+
{
|
161 |
+
if ($quote->getId()) {
|
162 |
+
/* @note: Reset reserved_order_id, Magento up to and including version 1.7 has a bug in Mage_Sales_Model_Resource_Quote::isOrderIncrementIdUsed()
|
163 |
+
* They cast the orderIncrementId to (int), which breaks the checkout/cart for all non-numerical incrementIds
|
164 |
+
* (Causes Integrity Constraint Violation, because orderIncrementId already exists */
|
165 |
+
$quote->setData('reserved_order_id', '');
|
166 |
+
|
167 |
+
$quote->setIsActive(true);
|
168 |
+
$quote->save();
|
169 |
+
}
|
170 |
+
}
|
171 |
+
|
172 |
+
/**
|
173 |
+
* @param Mage_Checkout_Model_Session $session
|
174 |
+
* @return Mage_Sales_Model_Order
|
175 |
+
*/
|
176 |
+
protected function getOrderByCheckoutSession(Mage_Checkout_Model_Session $session)
|
177 |
+
{
|
178 |
+
$orderId = $session->getLastOrderId();
|
179 |
+
|
180 |
+
$order = $this->getFactory()->getModelSalesOrder();
|
181 |
+
$order->load($orderId);
|
182 |
+
|
183 |
+
return $order;
|
184 |
+
}
|
185 |
+
|
186 |
+
/**
|
187 |
+
* @param Mage_Checkout_Model_Session $session
|
188 |
+
* @return Mage_Sales_Model_Quote
|
189 |
+
*/
|
190 |
+
protected function getQuoteByCheckoutSession(Mage_Checkout_Model_Session $session)
|
191 |
+
{
|
192 |
+
$quoteId = $session->getLastQuoteId();
|
193 |
+
|
194 |
+
$quote = $this->getFactory()->getModelSalesQuote();
|
195 |
+
$quote->load($quoteId);
|
196 |
+
|
197 |
+
return $quote;
|
198 |
+
}
|
199 |
+
|
200 |
+
/**
|
201 |
+
* @param Exception $exception
|
202 |
+
*/
|
203 |
+
protected function handleException(Exception $exception)
|
204 |
+
{
|
205 |
+
// Log exceptions, any messages relevant to customer have been set to the session by service
|
206 |
+
Mage::logException($exception);
|
207 |
+
}
|
208 |
}
|
app/code/community/Payone/Core/controllers/Checkout/OnepageController.php
CHANGED
@@ -46,39 +46,12 @@ class Payone_Core_Checkout_OnepageController extends Mage_Checkout_OnepageContro
|
|
46 |
if ($this->_expireAjax()) {
|
47 |
return;
|
48 |
}
|
49 |
-
|
50 |
-
if (!$this->getRequest()->isPost()) {
|
51 |
-
$this->_ajaxRedirectResponse();
|
52 |
-
return;
|
53 |
-
}
|
54 |
-
|
55 |
-
try { // trigger event for debit payment checks
|
56 |
-
$this->dispatchEventDebitPayment();
|
57 |
-
}
|
58 |
-
catch (Mage_Core_Exception $e) {
|
59 |
-
$result['error'] = $e->getMessage();
|
60 |
-
}
|
61 |
-
catch (Exception $e) {
|
62 |
-
Mage::logException($e);
|
63 |
-
$result['error'] = $this->__('Unable to set Payment Method.');
|
64 |
-
}
|
65 |
-
|
66 |
-
if (isset($result['error'])) {
|
67 |
-
$this->getResponse()->setBody(
|
68 |
-
Mage::helper('core')->jsonEncode($result)
|
69 |
-
);
|
70 |
-
return;
|
71 |
-
}
|
72 |
-
|
73 |
-
$helperConfig = $this->helperConfig();
|
74 |
-
|
75 |
-
if ($helperConfig->getStoreConfig('payone_protect/general/enabled') != 1) {
|
76 |
-
$this->_forward('savePayment', 'onepage', 'checkout');
|
77 |
-
return;
|
78 |
-
}
|
79 |
-
|
80 |
-
// the following event will only be triggered if one of PAYONE PROTECT components is enabled
|
81 |
try {
|
|
|
|
|
|
|
|
|
|
|
82 |
// Dispatch Event
|
83 |
$settings = $this->dispatchEvent();
|
84 |
|
@@ -115,28 +88,8 @@ class Payone_Core_Checkout_OnepageController extends Mage_Checkout_OnepageContro
|
|
115 |
}
|
116 |
|
117 |
$this->getResponse()->setBody(
|
118 |
-
|
119 |
-
);
|
120 |
-
}
|
121 |
-
|
122 |
-
/**
|
123 |
-
*
|
124 |
-
*/
|
125 |
-
protected function dispatchEventDebitPayment()
|
126 |
-
{
|
127 |
-
$paymentData = $this->getRequest()->getPost('payment', array());
|
128 |
-
$selectedMethod = $paymentData['method'];
|
129 |
-
if ($selectedMethod != Payone_Core_Model_System_Config_PaymentMethodCode::DEBITPAYMENT) {
|
130 |
-
return;
|
131 |
-
}
|
132 |
-
$parameters = array(
|
133 |
-
'quote' => $this->getOnepage()->getQuote(),
|
134 |
-
'payment_data' => $paymentData,
|
135 |
-
'full_action_name' => $this->getFullActionName('/'),
|
136 |
);
|
137 |
-
|
138 |
-
// Dispatch Event
|
139 |
-
Mage::dispatchEvent($this->eventPrefix . '_debit_payment_checks', $parameters);
|
140 |
}
|
141 |
|
142 |
/**
|
@@ -167,11 +120,4 @@ class Payone_Core_Checkout_OnepageController extends Mage_Checkout_OnepageContro
|
|
167 |
return $settings;
|
168 |
}
|
169 |
|
170 |
-
/**
|
171 |
-
* @return Payone_Core_Helper_Config
|
172 |
-
*/
|
173 |
-
protected function helperConfig()
|
174 |
-
{
|
175 |
-
return Mage::helper('payone_core/config');
|
176 |
-
}
|
177 |
}
|
46 |
if ($this->_expireAjax()) {
|
47 |
return;
|
48 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
try {
|
50 |
+
if (!$this->getRequest()->isPost()) {
|
51 |
+
$this->_ajaxRedirectResponse();
|
52 |
+
return;
|
53 |
+
}
|
54 |
+
|
55 |
// Dispatch Event
|
56 |
$settings = $this->dispatchEvent();
|
57 |
|
88 |
}
|
89 |
|
90 |
$this->getResponse()->setBody(
|
91 |
+
Mage::helper('core')->jsonEncode($result)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
);
|
|
|
|
|
|
|
93 |
}
|
94 |
|
95 |
/**
|
120 |
return $settings;
|
121 |
}
|
122 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
}
|
app/code/community/Payone/Core/etc/config.xml
CHANGED
@@ -24,7 +24,7 @@
|
|
24 |
<config>
|
25 |
<modules>
|
26 |
<Payone_Core>
|
27 |
-
<version>3.1.
|
28 |
</Payone_Core>
|
29 |
</modules>
|
30 |
|
@@ -302,7 +302,7 @@
|
|
302 |
</payone_core_observer>
|
303 |
</observers>
|
304 |
</payone_core_checkout_onepage_verify_payment>
|
305 |
-
<
|
306 |
<observers>
|
307 |
<payone_core_observer>
|
308 |
<type>singleton</type>
|
@@ -310,7 +310,16 @@
|
|
310 |
<method>performChecks</method>
|
311 |
</payone_core_observer>
|
312 |
</observers>
|
313 |
-
</
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
314 |
<sales_order_resource_init_virtual_grid_columns>
|
315 |
<observers>
|
316 |
<payone_core_observer>
|
24 |
<config>
|
25 |
<modules>
|
26 |
<Payone_Core>
|
27 |
+
<version>3.1.9</version>
|
28 |
</Payone_Core>
|
29 |
</modules>
|
30 |
|
302 |
</payone_core_observer>
|
303 |
</observers>
|
304 |
</payone_core_checkout_onepage_verify_payment>
|
305 |
+
<controller_action_predispatch_payone_core_checkout_onepage_verifyPayment>
|
306 |
<observers>
|
307 |
<payone_core_observer>
|
308 |
<type>singleton</type>
|
310 |
<method>performChecks</method>
|
311 |
</payone_core_observer>
|
312 |
</observers>
|
313 |
+
</controller_action_predispatch_payone_core_checkout_onepage_verifyPayment>
|
314 |
+
<controller_action_predispatch_checkout_onepage_savePayment>
|
315 |
+
<observers>
|
316 |
+
<payone_core_observer>
|
317 |
+
<type>singleton</type>
|
318 |
+
<class>payone_core/observer_checkout_onepage_debitPayment</class>
|
319 |
+
<method>performChecks</method>
|
320 |
+
</payone_core_observer>
|
321 |
+
</observers>
|
322 |
+
</controller_action_predispatch_checkout_onepage_savePayment>
|
323 |
<sales_order_resource_init_virtual_grid_columns>
|
324 |
<observers>
|
325 |
<payone_core_observer>
|
app/code/community/Payone/Core/etc/system.xml
CHANGED
@@ -923,6 +923,15 @@
|
|
923 |
<show_in_website>1</show_in_website>
|
924 |
<show_in_store>1</show_in_store>
|
925 |
</check_shipping>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
926 |
<confirm_address_correction translate="label,comment">
|
927 |
<label>Confirm Address correction</label>
|
928 |
<frontend_type>select</frontend_type>
|
923 |
<show_in_website>1</show_in_website>
|
924 |
<show_in_store>1</show_in_store>
|
925 |
</check_shipping>
|
926 |
+
<check_billing_for_virtual_order translate="label">
|
927 |
+
<label>Check Billing Address for virtual orders</label>
|
928 |
+
<frontend_type>select</frontend_type>
|
929 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
930 |
+
<sort_order>41</sort_order>
|
931 |
+
<show_in_default>1</show_in_default>
|
932 |
+
<show_in_website>1</show_in_website>
|
933 |
+
<show_in_store>1</show_in_store>
|
934 |
+
</check_billing_for_virtual_order>
|
935 |
<confirm_address_correction translate="label,comment">
|
936 |
<label>Confirm Address correction</label>
|
937 |
<frontend_type>select</frontend_type>
|
app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.0.3-3.0.4.php
CHANGED
@@ -1,51 +1,51 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
*
|
4 |
-
* NOTICE OF LICENSE
|
5 |
-
*
|
6 |
-
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
-
* that is bundled with this package in the file LICENSE.txt
|
8 |
-
*
|
9 |
-
* DISCLAIMER
|
10 |
-
*
|
11 |
-
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
-
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
-
* needs please refer to http://www.payone.de for more information.
|
14 |
-
*
|
15 |
-
* @category Payone
|
16 |
-
* @package Payone_Core
|
17 |
-
* @subpackage sql
|
18 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
-
* @author Matthias Walter <info@noovias.com>
|
20 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
-
* @link http://www.noovias.com
|
22 |
-
*/
|
23 |
-
|
24 |
-
/** @var $this Mage_Core_Model_Resource_Setup */
|
25 |
-
/** @var $installer Mage_Core_Model_Resource_Setup */
|
26 |
-
|
27 |
-
$installer = $this;
|
28 |
-
$installer->startSetup();
|
29 |
-
|
30 |
-
// German Description
|
31 |
-
$title = 'PAYONE Payment Extension 3.0 Installation';
|
32 |
-
$description = 'Die PAYONE Payment Extension 3.0 Installation wurde erfolgreich beendet.<br>';
|
33 |
-
$description .= 'Bitte starten Sie den Konfigurationsassistenten, um die Konfiguration abzuschließen. (PAYONE > Konfigurationsassistent)<br>';
|
34 |
-
$description .= 'Stellen Sie weiterhin sicher, dass die Cronjobs für ihr System korrekt eingerichtet sind.<br>';
|
35 |
-
$description .= '<br><hr><br>';
|
36 |
-
|
37 |
-
// English Description
|
38 |
-
$description .= 'PAYONE Payment Extension 3.0 successfully installed.<br>';
|
39 |
-
$description .= 'Please run the configuration wizard to configure PAYONE. (PAYONE > Configuration-Wizard)';
|
40 |
-
$description .= 'Also ensure that cronjobs are configured for your system.<br>';
|
41 |
-
|
42 |
-
// Queue a message with priority "major"
|
43 |
-
$message = new Mage_AdminNotification_Model_Inbox();
|
44 |
-
$message->setSeverity(Mage_AdminNotification_Model_Inbox::SEVERITY_MAJOR);
|
45 |
-
$message->setTitle($title);
|
46 |
-
$message->setDescription($description);
|
47 |
-
$message->setUrl('');
|
48 |
-
$message->setDateAdded(date('Y-m-d H:i:s'));
|
49 |
-
$message->save();
|
50 |
-
|
51 |
$installer->endSetup();
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
+
* that is bundled with this package in the file LICENSE.txt
|
8 |
+
*
|
9 |
+
* DISCLAIMER
|
10 |
+
*
|
11 |
+
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
+
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
+
* needs please refer to http://www.payone.de for more information.
|
14 |
+
*
|
15 |
+
* @category Payone
|
16 |
+
* @package Payone_Core
|
17 |
+
* @subpackage sql
|
18 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
+
* @author Matthias Walter <info@noovias.com>
|
20 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
+
* @link http://www.noovias.com
|
22 |
+
*/
|
23 |
+
|
24 |
+
/** @var $this Mage_Core_Model_Resource_Setup */
|
25 |
+
/** @var $installer Mage_Core_Model_Resource_Setup */
|
26 |
+
|
27 |
+
$installer = $this;
|
28 |
+
$installer->startSetup();
|
29 |
+
|
30 |
+
// German Description
|
31 |
+
$title = 'PAYONE Payment Extension 3.0 Installation';
|
32 |
+
$description = 'Die PAYONE Payment Extension 3.0 Installation wurde erfolgreich beendet.<br>';
|
33 |
+
$description .= 'Bitte starten Sie den Konfigurationsassistenten, um die Konfiguration abzuschließen. (PAYONE > Konfigurationsassistent)<br>';
|
34 |
+
$description .= 'Stellen Sie weiterhin sicher, dass die Cronjobs für ihr System korrekt eingerichtet sind.<br>';
|
35 |
+
$description .= '<br><hr><br>';
|
36 |
+
|
37 |
+
// English Description
|
38 |
+
$description .= 'PAYONE Payment Extension 3.0 successfully installed.<br>';
|
39 |
+
$description .= 'Please run the configuration wizard to configure PAYONE. (PAYONE > Configuration-Wizard)';
|
40 |
+
$description .= 'Also ensure that cronjobs are configured for your system.<br>';
|
41 |
+
|
42 |
+
// Queue a message with priority "major"
|
43 |
+
$message = new Mage_AdminNotification_Model_Inbox();
|
44 |
+
$message->setSeverity(Mage_AdminNotification_Model_Inbox::SEVERITY_MAJOR);
|
45 |
+
$message->setTitle($title);
|
46 |
+
$message->setDescription($description);
|
47 |
+
$message->setUrl('');
|
48 |
+
$message->setDateAdded(date('Y-m-d H:i:s'));
|
49 |
+
$message->save();
|
50 |
+
|
51 |
$installer->endSetup();
|
app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.0.8-3.0.9.php
CHANGED
@@ -1,60 +1,60 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
*
|
4 |
-
* NOTICE OF LICENSE
|
5 |
-
*
|
6 |
-
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
-
* that is bundled with this package in the file LICENSE.txt
|
8 |
-
*
|
9 |
-
* DISCLAIMER
|
10 |
-
*
|
11 |
-
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
-
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
-
* needs please refer to http://www.payone.de for more information.
|
14 |
-
*
|
15 |
-
* @category Payone
|
16 |
-
* @package Payone_Core
|
17 |
-
* @subpackage sql
|
18 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
-
* @author Matthias Walter <info@noovias.com>
|
20 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
-
* @link http://www.noovias.com
|
22 |
-
*/
|
23 |
-
|
24 |
-
/** @var $this Mage_Core_Model_Resource_Setup */
|
25 |
-
/** @var $installer Mage_Core_Model_Resource_Setup */
|
26 |
-
|
27 |
-
$installer = $this;
|
28 |
-
$installer->startSetup();
|
29 |
-
|
30 |
-
/** @var $helper Payone_Core_Helper_Data */
|
31 |
-
$helper = Mage::helper('payone_core');
|
32 |
-
|
33 |
-
|
34 |
-
if ($helper->isCronEnabled() === false) {
|
35 |
-
|
36 |
-
|
37 |
-
$title = 'PAYONE Payment Extension 3.0: Cronjob Configuration';
|
38 |
-
$wikiUrl = 'http://www.magentocommerce.com/wiki/1_-_installation_and_configuration/how_to_setup_a_cron_job';
|
39 |
-
|
40 |
-
// German Description
|
41 |
-
$description = 'Um den Betrieb der PAYONE Extension zu gewährleisten, richten Sie bitte Cronjobs für ihr System ein. Weitere Informationen finden Sie unter:<br>';
|
42 |
-
$description .= $wikiUrl;
|
43 |
-
$description .= '<br><hr><br>';
|
44 |
-
|
45 |
-
// English Description
|
46 |
-
$description .= 'To ensure proper operation of the PAYONE Extension, please configure cronjobs for your system. Further information can be found here:<br>';
|
47 |
-
$description .= $wikiUrl;
|
48 |
-
|
49 |
-
|
50 |
-
// Queue a message with priority "critical"
|
51 |
-
$message = new Mage_AdminNotification_Model_Inbox();
|
52 |
-
$message->setSeverity(Mage_AdminNotification_Model_Inbox::SEVERITY_CRITICAL);
|
53 |
-
$message->setTitle($title);
|
54 |
-
$message->setDescription($description);
|
55 |
-
$message->setUrl($wikiUrl);
|
56 |
-
$message->setDateAdded(date('Y-m-d H:i:s'));
|
57 |
-
$message->save();
|
58 |
-
|
59 |
-
}
|
60 |
$installer->endSetup();
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
+
* that is bundled with this package in the file LICENSE.txt
|
8 |
+
*
|
9 |
+
* DISCLAIMER
|
10 |
+
*
|
11 |
+
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
+
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
+
* needs please refer to http://www.payone.de for more information.
|
14 |
+
*
|
15 |
+
* @category Payone
|
16 |
+
* @package Payone_Core
|
17 |
+
* @subpackage sql
|
18 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
+
* @author Matthias Walter <info@noovias.com>
|
20 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
+
* @link http://www.noovias.com
|
22 |
+
*/
|
23 |
+
|
24 |
+
/** @var $this Mage_Core_Model_Resource_Setup */
|
25 |
+
/** @var $installer Mage_Core_Model_Resource_Setup */
|
26 |
+
|
27 |
+
$installer = $this;
|
28 |
+
$installer->startSetup();
|
29 |
+
|
30 |
+
/** @var $helper Payone_Core_Helper_Data */
|
31 |
+
$helper = Mage::helper('payone_core');
|
32 |
+
|
33 |
+
|
34 |
+
if ($helper->isCronEnabled() === false) {
|
35 |
+
|
36 |
+
|
37 |
+
$title = 'PAYONE Payment Extension 3.0: Cronjob Configuration';
|
38 |
+
$wikiUrl = 'http://www.magentocommerce.com/wiki/1_-_installation_and_configuration/how_to_setup_a_cron_job';
|
39 |
+
|
40 |
+
// German Description
|
41 |
+
$description = 'Um den Betrieb der PAYONE Extension zu gewährleisten, richten Sie bitte Cronjobs für ihr System ein. Weitere Informationen finden Sie unter:<br>';
|
42 |
+
$description .= $wikiUrl;
|
43 |
+
$description .= '<br><hr><br>';
|
44 |
+
|
45 |
+
// English Description
|
46 |
+
$description .= 'To ensure proper operation of the PAYONE Extension, please configure cronjobs for your system. Further information can be found here:<br>';
|
47 |
+
$description .= $wikiUrl;
|
48 |
+
|
49 |
+
|
50 |
+
// Queue a message with priority "critical"
|
51 |
+
$message = new Mage_AdminNotification_Model_Inbox();
|
52 |
+
$message->setSeverity(Mage_AdminNotification_Model_Inbox::SEVERITY_CRITICAL);
|
53 |
+
$message->setTitle($title);
|
54 |
+
$message->setDescription($description);
|
55 |
+
$message->setUrl($wikiUrl);
|
56 |
+
$message->setDateAdded(date('Y-m-d H:i:s'));
|
57 |
+
$message->save();
|
58 |
+
|
59 |
+
}
|
60 |
$installer->endSetup();
|
app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.1.3-3.1.4.php
CHANGED
@@ -1,60 +1,60 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
*
|
4 |
-
* NOTICE OF LICENSE
|
5 |
-
*
|
6 |
-
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
-
* that is bundled with this package in the file LICENSE.txt
|
8 |
-
*
|
9 |
-
* DISCLAIMER
|
10 |
-
*
|
11 |
-
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
-
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
-
* needs please refer to http://www.payone.de for more information.
|
14 |
-
*
|
15 |
-
* @category Payone
|
16 |
-
* @package Payone_Core
|
17 |
-
* @subpackage sql
|
18 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
-
* @author Matthias Walter <info@noovias.com>
|
20 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
-
* @link http://www.noovias.com
|
22 |
-
*/
|
23 |
-
|
24 |
-
/** @var $this Mage_Core_Model_Resource_Setup */
|
25 |
-
/** @var $installer Mage_Core_Model_Resource_Setup */
|
26 |
-
|
27 |
-
$installer = $this;
|
28 |
-
$installer->startSetup();
|
29 |
-
|
30 |
-
$tablePaymentMethod = $this->getTable('payone_core/config_payment_method');
|
31 |
-
|
32 |
-
/** @var $helper Payone_Core_Helper_Data */
|
33 |
-
$helper = Mage::helper('payone_core');
|
34 |
-
$useSqlInstaller = $helper->mustUseSqlInstaller();
|
35 |
-
|
36 |
-
if ($useSqlInstaller) {
|
37 |
-
$sql = file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'upgrade-3.1.3-3.1.4.sql');
|
38 |
-
|
39 |
-
$installSqlConfig = array(
|
40 |
-
'{{payone_config_payment_method}}' => $tablePaymentMethod,
|
41 |
-
);
|
42 |
-
|
43 |
-
$installSql = str_replace(array_keys($installSqlConfig), array_values($installSqlConfig), $sql);
|
44 |
-
$installer->run($installSql);
|
45 |
-
}
|
46 |
-
else {
|
47 |
-
$connection = $installer->getConnection();
|
48 |
-
|
49 |
-
$connection->modifyColumn($tablePaymentMethod, 'bankaccountcheck_type',
|
50 |
-
array(
|
51 |
-
'TYPE' => Varien_Db_Ddl_Table::TYPE_TEXT,
|
52 |
-
'LENGTH' => 2,
|
53 |
-
'NULLABLE' => true,
|
54 |
-
'DEFAULT' => NULL)
|
55 |
-
);
|
56 |
-
|
57 |
-
// update table content
|
58 |
-
$connection->update($tablePaymentMethod,array('bankaccountcheck_type' => null),"bankaccountcheck_type = '' AND code = 'debit_payment'");
|
59 |
-
}
|
60 |
$installer->endSetup();
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
+
* that is bundled with this package in the file LICENSE.txt
|
8 |
+
*
|
9 |
+
* DISCLAIMER
|
10 |
+
*
|
11 |
+
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
+
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
+
* needs please refer to http://www.payone.de for more information.
|
14 |
+
*
|
15 |
+
* @category Payone
|
16 |
+
* @package Payone_Core
|
17 |
+
* @subpackage sql
|
18 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
+
* @author Matthias Walter <info@noovias.com>
|
20 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
+
* @link http://www.noovias.com
|
22 |
+
*/
|
23 |
+
|
24 |
+
/** @var $this Mage_Core_Model_Resource_Setup */
|
25 |
+
/** @var $installer Mage_Core_Model_Resource_Setup */
|
26 |
+
|
27 |
+
$installer = $this;
|
28 |
+
$installer->startSetup();
|
29 |
+
|
30 |
+
$tablePaymentMethod = $this->getTable('payone_core/config_payment_method');
|
31 |
+
|
32 |
+
/** @var $helper Payone_Core_Helper_Data */
|
33 |
+
$helper = Mage::helper('payone_core');
|
34 |
+
$useSqlInstaller = $helper->mustUseSqlInstaller();
|
35 |
+
|
36 |
+
if ($useSqlInstaller) {
|
37 |
+
$sql = file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'upgrade-3.1.3-3.1.4.sql');
|
38 |
+
|
39 |
+
$installSqlConfig = array(
|
40 |
+
'{{payone_config_payment_method}}' => $tablePaymentMethod,
|
41 |
+
);
|
42 |
+
|
43 |
+
$installSql = str_replace(array_keys($installSqlConfig), array_values($installSqlConfig), $sql);
|
44 |
+
$installer->run($installSql);
|
45 |
+
}
|
46 |
+
else {
|
47 |
+
$connection = $installer->getConnection();
|
48 |
+
|
49 |
+
$connection->modifyColumn($tablePaymentMethod, 'bankaccountcheck_type',
|
50 |
+
array(
|
51 |
+
'TYPE' => Varien_Db_Ddl_Table::TYPE_TEXT,
|
52 |
+
'LENGTH' => 2,
|
53 |
+
'NULLABLE' => true,
|
54 |
+
'DEFAULT' => NULL)
|
55 |
+
);
|
56 |
+
|
57 |
+
// update table content
|
58 |
+
$connection->update($tablePaymentMethod,array('bankaccountcheck_type' => null),"bankaccountcheck_type = '' AND code = 'debit_payment'");
|
59 |
+
}
|
60 |
$installer->endSetup();
|
app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.1.4-3.1.5.php
CHANGED
@@ -1,59 +1,59 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
*
|
4 |
-
* NOTICE OF LICENSE
|
5 |
-
*
|
6 |
-
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
-
* that is bundled with this package in the file LICENSE.txt
|
8 |
-
*
|
9 |
-
* DISCLAIMER
|
10 |
-
*
|
11 |
-
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
-
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
-
* needs please refer to http://www.payone.de for more information.
|
14 |
-
*
|
15 |
-
* @category Payone
|
16 |
-
* @package Payone_Core
|
17 |
-
* @subpackage sql
|
18 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
-
* @author Matthias Walter <info@noovias.com>
|
20 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
-
* @link http://www.noovias.com
|
22 |
-
*/
|
23 |
-
|
24 |
-
/** @var $this Mage_Core_Model_Resource_Setup */
|
25 |
-
/** @var $installer Mage_Core_Model_Resource_Setup */
|
26 |
-
|
27 |
-
$installer = $this;
|
28 |
-
$installer->startSetup();
|
29 |
-
|
30 |
-
$tablePaymentMethod = $this->getTable('payone_core/config_payment_method');
|
31 |
-
|
32 |
-
/** @var $helper Payone_Core_Helper_Data */
|
33 |
-
$helper = Mage::helper('payone_core');
|
34 |
-
$useSqlInstaller = $helper->mustUseSqlInstaller();
|
35 |
-
|
36 |
-
if ($useSqlInstaller) {
|
37 |
-
$sql = file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'upgrade-3.1.4-3.1.5.sql');
|
38 |
-
|
39 |
-
$installSqlConfig = array(
|
40 |
-
'{{payone_config_payment_method}}' => $tablePaymentMethod,
|
41 |
-
);
|
42 |
-
|
43 |
-
$installSql = str_replace(array_keys($installSqlConfig), array_values($installSqlConfig), $sql);
|
44 |
-
$installer->run($installSql);
|
45 |
-
}
|
46 |
-
else {
|
47 |
-
$connection = $installer->getConnection();
|
48 |
-
|
49 |
-
$connection->modifyColumn($tablePaymentMethod, 'key',
|
50 |
-
array(
|
51 |
-
'TYPE' => Varien_Db_Ddl_Table::TYPE_TEXT,
|
52 |
-
'LENGTH' => 255,
|
53 |
-
'NULLABLE' => true,
|
54 |
-
'DEFAULT' => NULL,
|
55 |
-
'COMMENT' => 'Key'
|
56 |
-
)
|
57 |
-
);
|
58 |
-
}
|
59 |
$installer->endSetup();
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
+
* that is bundled with this package in the file LICENSE.txt
|
8 |
+
*
|
9 |
+
* DISCLAIMER
|
10 |
+
*
|
11 |
+
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
+
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
+
* needs please refer to http://www.payone.de for more information.
|
14 |
+
*
|
15 |
+
* @category Payone
|
16 |
+
* @package Payone_Core
|
17 |
+
* @subpackage sql
|
18 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
+
* @author Matthias Walter <info@noovias.com>
|
20 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
+
* @link http://www.noovias.com
|
22 |
+
*/
|
23 |
+
|
24 |
+
/** @var $this Mage_Core_Model_Resource_Setup */
|
25 |
+
/** @var $installer Mage_Core_Model_Resource_Setup */
|
26 |
+
|
27 |
+
$installer = $this;
|
28 |
+
$installer->startSetup();
|
29 |
+
|
30 |
+
$tablePaymentMethod = $this->getTable('payone_core/config_payment_method');
|
31 |
+
|
32 |
+
/** @var $helper Payone_Core_Helper_Data */
|
33 |
+
$helper = Mage::helper('payone_core');
|
34 |
+
$useSqlInstaller = $helper->mustUseSqlInstaller();
|
35 |
+
|
36 |
+
if ($useSqlInstaller) {
|
37 |
+
$sql = file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'upgrade-3.1.4-3.1.5.sql');
|
38 |
+
|
39 |
+
$installSqlConfig = array(
|
40 |
+
'{{payone_config_payment_method}}' => $tablePaymentMethod,
|
41 |
+
);
|
42 |
+
|
43 |
+
$installSql = str_replace(array_keys($installSqlConfig), array_values($installSqlConfig), $sql);
|
44 |
+
$installer->run($installSql);
|
45 |
+
}
|
46 |
+
else {
|
47 |
+
$connection = $installer->getConnection();
|
48 |
+
|
49 |
+
$connection->modifyColumn($tablePaymentMethod, 'key',
|
50 |
+
array(
|
51 |
+
'TYPE' => Varien_Db_Ddl_Table::TYPE_TEXT,
|
52 |
+
'LENGTH' => 255,
|
53 |
+
'NULLABLE' => true,
|
54 |
+
'DEFAULT' => NULL,
|
55 |
+
'COMMENT' => 'Key'
|
56 |
+
)
|
57 |
+
);
|
58 |
+
}
|
59 |
$installer->endSetup();
|
app/code/community/Payone/Core/sql/payone_core_setup/upgrade-3.1.3-3.1.4.sql
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
-
|
2 |
-
#-----------------------------------------------------------------
|
3 |
-
#-- Alter Table payone_transaction
|
4 |
-
#-----------------------------------------------------------------
|
5 |
-
|
6 |
-
ALTER TABLE `{{payone_config_payment_method}}`
|
7 |
-
CHANGE `bankaccountcheck_type` `bankaccountcheck_type` varchar(2) DEFAULT NULL ;
|
8 |
-
|
9 |
-
UPDATE `{{payone_config_payment_method}}` SET `bankaccountcheck_type` = NULL
|
10 |
-
WHERE `bankaccountcheck_type` = '' AND `code` = 'debit_payment';
|
1 |
+
|
2 |
+
#-----------------------------------------------------------------
|
3 |
+
#-- Alter Table payone_transaction
|
4 |
+
#-----------------------------------------------------------------
|
5 |
+
|
6 |
+
ALTER TABLE `{{payone_config_payment_method}}`
|
7 |
+
CHANGE `bankaccountcheck_type` `bankaccountcheck_type` varchar(2) DEFAULT NULL ;
|
8 |
+
|
9 |
+
UPDATE `{{payone_config_payment_method}}` SET `bankaccountcheck_type` = NULL
|
10 |
+
WHERE `bankaccountcheck_type` = '' AND `code` = 'debit_payment';
|
app/code/community/Payone/Core/sql/payone_core_setup/upgrade-3.1.4-3.1.5.sql
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
-
|
2 |
-
#-----------------------------------------------------------------
|
3 |
-
#-- Alter Table payone_transaction
|
4 |
-
#-----------------------------------------------------------------
|
5 |
-
|
6 |
-
ALTER TABLE `{{payone_config_payment_method}}`
|
7 |
CHANGE `key` `key` varchar(255) DEFAULT NULL COMMENT 'Key' ;
|
1 |
+
|
2 |
+
#-----------------------------------------------------------------
|
3 |
+
#-- Alter Table payone_transaction
|
4 |
+
#-----------------------------------------------------------------
|
5 |
+
|
6 |
+
ALTER TABLE `{{payone_config_payment_method}}`
|
7 |
CHANGE `key` `key` varchar(255) DEFAULT NULL COMMENT 'Key' ;
|
app/design/adminhtml/default/default/template/payone/core/payment/method/form/debitpayment.phtml
CHANGED
@@ -27,7 +27,7 @@ $code = $this->getMethodCode();
|
|
27 |
$paymentConfigId = $this->getPaymentConfig()->getId();
|
28 |
$owner = $this->escapeHtml($this->getInfoData('payone_account_owner') ? $this->getInfoData('payone_account_owner') : $this->getBillingName());
|
29 |
|
30 |
-
$configShowBankData = $this->getPaymentConfig()->
|
31 |
?>
|
32 |
<fieldset class="form-list">
|
33 |
<ul id="payment_form_<?php echo $code ?>" style="display:none">
|
27 |
$paymentConfigId = $this->getPaymentConfig()->getId();
|
28 |
$owner = $this->escapeHtml($this->getInfoData('payone_account_owner') ? $this->getInfoData('payone_account_owner') : $this->getBillingName());
|
29 |
|
30 |
+
$configShowBankData = $this->getPaymentConfig()->getSepaDeShowBankData();
|
31 |
?>
|
32 |
<fieldset class="form-list">
|
33 |
<ul id="payment_form_<?php echo $code ?>" style="display:none">
|
app/design/adminhtml/default/default/template/payone/core/payment/method/info/cashondelivery.phtml
CHANGED
@@ -1,33 +1,33 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
*
|
4 |
-
* NOTICE OF LICENSE
|
5 |
-
*
|
6 |
-
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
-
* that is bundled with this package in the file LICENSE.txt
|
8 |
-
*
|
9 |
-
* DISCLAIMER
|
10 |
-
*
|
11 |
-
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
-
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
-
* needs please refer to http://www.payone.de for more information.
|
14 |
-
*
|
15 |
-
* @category Payone
|
16 |
-
* @package design_adminhtml_default_default
|
17 |
-
* @subpackage template
|
18 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
-
* @author Matthias Walter <info@noovias.com>
|
20 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
-
* @link http://www.noovias.com
|
22 |
-
*/
|
23 |
-
|
24 |
-
/** @var $this Payone_Core_Block_Payment_Method_Info_CashOnDelivery */
|
25 |
-
?>
|
26 |
-
<?php echo $this->escapeHtml($this->getMethodTitle()) ?>
|
27 |
-
<br/>
|
28 |
-
<?php if ($this->getLastTransId() == ''): ?>
|
29 |
-
<?php echo $this->__('Payment has not been processed yet.') ?>
|
30 |
-
<?php else: ?>
|
31 |
-
<?php echo $this->__('Payment reference: %s', $this->escapeHtml($this->getLastTransId())) ?><br/>
|
32 |
-
<?php endif; ?>
|
33 |
<br/>
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
+
* that is bundled with this package in the file LICENSE.txt
|
8 |
+
*
|
9 |
+
* DISCLAIMER
|
10 |
+
*
|
11 |
+
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
+
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
+
* needs please refer to http://www.payone.de for more information.
|
14 |
+
*
|
15 |
+
* @category Payone
|
16 |
+
* @package design_adminhtml_default_default
|
17 |
+
* @subpackage template
|
18 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
+
* @author Matthias Walter <info@noovias.com>
|
20 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
+
* @link http://www.noovias.com
|
22 |
+
*/
|
23 |
+
|
24 |
+
/** @var $this Payone_Core_Block_Payment_Method_Info_CashOnDelivery */
|
25 |
+
?>
|
26 |
+
<?php echo $this->escapeHtml($this->getMethodTitle()) ?>
|
27 |
+
<br/>
|
28 |
+
<?php if ($this->getLastTransId() == ''): ?>
|
29 |
+
<?php echo $this->__('Payment has not been processed yet.') ?>
|
30 |
+
<?php else: ?>
|
31 |
+
<?php echo $this->__('Payment reference: %s', $this->escapeHtml($this->getLastTransId())) ?><br/>
|
32 |
+
<?php endif; ?>
|
33 |
<br/>
|
app/design/frontend/base/default/template/payone/core/checkout/onepage/review/sepamandate.phtml
CHANGED
@@ -18,7 +18,7 @@
|
|
18 |
</div>
|
19 |
|
20 |
<script type="text/javascript">
|
21 |
-
$$('.btn-checkout')[0].
|
22 |
$$('.btn-checkout')[0].hide();
|
23 |
</script>
|
24 |
<?php endif; ?>
|
18 |
</div>
|
19 |
|
20 |
<script type="text/javascript">
|
21 |
+
$$('.btn-checkout')[0].setAttribute("disabled", "disabled");
|
22 |
$$('.btn-checkout')[0].hide();
|
23 |
</script>
|
24 |
<?php endif; ?>
|
app/design/frontend/base/default/template/payone/core/checkout/protect.phtml
CHANGED
@@ -24,9 +24,11 @@
|
|
24 |
/**
|
25 |
* @var $this Mage_Core_Block_Template
|
26 |
*/
|
27 |
-
|
|
|
|
|
28 |
|
29 |
-
?>
|
30 |
<script type="text/javascript">
|
31 |
//<![CDATA[
|
32 |
Event.observe(window, 'load', function () {
|
@@ -34,3 +36,6 @@ $url = Mage::helper('payone_core/url')->getMagentoUrl('payone_core/checkout_onep
|
|
34 |
});
|
35 |
//]]>
|
36 |
</script>
|
|
|
|
|
|
24 |
/**
|
25 |
* @var $this Mage_Core_Block_Template
|
26 |
*/
|
27 |
+
if (Mage::getStoreConfig('payone_protect/general/enabled') == 1)
|
28 |
+
{
|
29 |
+
$url = Mage::helper('payone_core/url')->getMagentoUrl('payone_core/checkout_onepage/verifyPayment');
|
30 |
|
31 |
+
?>
|
32 |
<script type="text/javascript">
|
33 |
//<![CDATA[
|
34 |
Event.observe(window, 'load', function () {
|
36 |
});
|
37 |
//]]>
|
38 |
</script>
|
39 |
+
<?php
|
40 |
+
|
41 |
+
}
|
app/design/frontend/base/default/template/payone/core/payment/method/form/onlinebanktransfer/bankgroup.phtml
CHANGED
@@ -1,75 +1,75 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
*
|
4 |
-
* NOTICE OF LICENSE
|
5 |
-
*
|
6 |
-
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
-
* that is bundled with this package in the file LICENSE.txt
|
8 |
-
*
|
9 |
-
* DISCLAIMER
|
10 |
-
*
|
11 |
-
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
-
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
-
* needs please refer to http://www.payone.de for more information.
|
14 |
-
*
|
15 |
-
* @category Payone
|
16 |
-
* @package design_frontend_base_default
|
17 |
-
* @subpackage template
|
18 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
-
* @author Matthias Walter <info@noovias.com>
|
20 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
-
* @link http://www.noovias.com
|
22 |
-
*/
|
23 |
-
?>
|
24 |
-
<?php
|
25 |
-
$code = $this->getMethodCode();
|
26 |
-
?>
|
27 |
-
<li id="bank_group_wrap_at" style="display: none;">
|
28 |
-
<div class="input-box">
|
29 |
-
<label for="<?php echo $code ?>_bank_group_at">
|
30 |
-
<?php echo $this->__('Bank group') ?> <span class="required">*</span>
|
31 |
-
</label><br class="clear"/>
|
32 |
-
<select name="payment[payone_bank_group]" id="<?php echo $code ?>_bank_group_at">
|
33 |
-
<option value="ARZ_OVB">Commercial credit cooperatives (Volksbank)</option>
|
34 |
-
<option value="ARZ_BAF">Bank for doctors and independent professions</option>
|
35 |
-
<option value="ARZ_NLH">Hypo state bank Lower Austria</option>
|
36 |
-
<option value="ARZ_VLH">Hypo state bank Voralberg</option>
|
37 |
-
<option value="ARZ_BCS">Bankhaus Carl Spängler & Co. AG</option>
|
38 |
-
<option value="ARZ_HTB">Hypo bank Tyrol</option>
|
39 |
-
<option value="ARZ_HAA">Hypo Alpe Adria</option>
|
40 |
-
<option value="ARZ_IKB">Investkredit bank</option>
|
41 |
-
<option value="ARZ_OAB">Österreichische Apothekerbank</option>
|
42 |
-
<option value="ARZ_IMB">Immobank</option>
|
43 |
-
<option value="ARZ_GRB">Gärtnerbank</option>
|
44 |
-
<option value="ARZ_HIB">HYPO Investment bank</option>
|
45 |
-
<option value="BA_AUS">Bank Austria</option>
|
46 |
-
<option value="BAWAG_BWG">BAWAG</option>
|
47 |
-
<option value="BAWAG_PSK">PSK Bank</option>
|
48 |
-
<option value="BAWAG_ESY">easybank</option>
|
49 |
-
<option value="BAWAG_SPD">Sparda Bank</option>
|
50 |
-
<option value="SPARDAT_EBS">Erste Bank</option>
|
51 |
-
<option value="SPARDAT_BBL">Bank Burgenland</option>
|
52 |
-
<option value="RAC_RAC">Raiffeisen bank</option>
|
53 |
-
<option value="HRAC_OOS">Hypo bank Upper Austria</option>
|
54 |
-
<option value="HRAC_SLB">Hypo bank Salzburg</option>
|
55 |
-
<option value="HRAC_STM">Hypo bank Styria</option>
|
56 |
-
</select>
|
57 |
-
</div>
|
58 |
-
</li>
|
59 |
-
<li id="bank_group_wrap_nl" style="display: none;">
|
60 |
-
<div class="input-box">
|
61 |
-
<label for="<?php echo $code ?>_bank_group_nl"><?php echo $this->__('Bank group') ?> <span
|
62 |
-
class="required">*</span></label><br class="clear"/>
|
63 |
-
<select name="payment[payone_bank_group]" id="<?php echo $code ?>_bank_group_nl">
|
64 |
-
<option value="ABN_AMRO_BANK">ABN AMRO</option>
|
65 |
-
<option value="FORTIS_BANK">Fortis</option>
|
66 |
-
<option value="FRIESLAND_BANK">Friesland Bank</option>
|
67 |
-
<option value="ING_BANK">ING</option>
|
68 |
-
<option value="RABOBANK">Rabobank</option>
|
69 |
-
<option value="SNS_BANK">SNS BANK</option>
|
70 |
-
<option value="ASN_BANK">ASN Bank</option>
|
71 |
-
<option value="SNS_REGIO_BANK">SNS Regio Bank</option>
|
72 |
-
<option value="TRIODOS_BANK">Triodos Bank</option>
|
73 |
-
</select>
|
74 |
-
</div>
|
75 |
</li>
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
+
* that is bundled with this package in the file LICENSE.txt
|
8 |
+
*
|
9 |
+
* DISCLAIMER
|
10 |
+
*
|
11 |
+
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
+
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
+
* needs please refer to http://www.payone.de for more information.
|
14 |
+
*
|
15 |
+
* @category Payone
|
16 |
+
* @package design_frontend_base_default
|
17 |
+
* @subpackage template
|
18 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
+
* @author Matthias Walter <info@noovias.com>
|
20 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
+
* @link http://www.noovias.com
|
22 |
+
*/
|
23 |
+
?>
|
24 |
+
<?php
|
25 |
+
$code = $this->getMethodCode();
|
26 |
+
?>
|
27 |
+
<li id="bank_group_wrap_at" style="display: none;">
|
28 |
+
<div class="input-box">
|
29 |
+
<label for="<?php echo $code ?>_bank_group_at">
|
30 |
+
<?php echo $this->__('Bank group') ?> <span class="required">*</span>
|
31 |
+
</label><br class="clear"/>
|
32 |
+
<select name="payment[payone_bank_group]" id="<?php echo $code ?>_bank_group_at">
|
33 |
+
<option value="ARZ_OVB">Commercial credit cooperatives (Volksbank)</option>
|
34 |
+
<option value="ARZ_BAF">Bank for doctors and independent professions</option>
|
35 |
+
<option value="ARZ_NLH">Hypo state bank Lower Austria</option>
|
36 |
+
<option value="ARZ_VLH">Hypo state bank Voralberg</option>
|
37 |
+
<option value="ARZ_BCS">Bankhaus Carl Spängler & Co. AG</option>
|
38 |
+
<option value="ARZ_HTB">Hypo bank Tyrol</option>
|
39 |
+
<option value="ARZ_HAA">Hypo Alpe Adria</option>
|
40 |
+
<option value="ARZ_IKB">Investkredit bank</option>
|
41 |
+
<option value="ARZ_OAB">Österreichische Apothekerbank</option>
|
42 |
+
<option value="ARZ_IMB">Immobank</option>
|
43 |
+
<option value="ARZ_GRB">Gärtnerbank</option>
|
44 |
+
<option value="ARZ_HIB">HYPO Investment bank</option>
|
45 |
+
<option value="BA_AUS">Bank Austria</option>
|
46 |
+
<option value="BAWAG_BWG">BAWAG</option>
|
47 |
+
<option value="BAWAG_PSK">PSK Bank</option>
|
48 |
+
<option value="BAWAG_ESY">easybank</option>
|
49 |
+
<option value="BAWAG_SPD">Sparda Bank</option>
|
50 |
+
<option value="SPARDAT_EBS">Erste Bank</option>
|
51 |
+
<option value="SPARDAT_BBL">Bank Burgenland</option>
|
52 |
+
<option value="RAC_RAC">Raiffeisen bank</option>
|
53 |
+
<option value="HRAC_OOS">Hypo bank Upper Austria</option>
|
54 |
+
<option value="HRAC_SLB">Hypo bank Salzburg</option>
|
55 |
+
<option value="HRAC_STM">Hypo bank Styria</option>
|
56 |
+
</select>
|
57 |
+
</div>
|
58 |
+
</li>
|
59 |
+
<li id="bank_group_wrap_nl" style="display: none;">
|
60 |
+
<div class="input-box">
|
61 |
+
<label for="<?php echo $code ?>_bank_group_nl"><?php echo $this->__('Bank group') ?> <span
|
62 |
+
class="required">*</span></label><br class="clear"/>
|
63 |
+
<select name="payment[payone_bank_group]" id="<?php echo $code ?>_bank_group_nl">
|
64 |
+
<option value="ABN_AMRO_BANK">ABN AMRO</option>
|
65 |
+
<option value="FORTIS_BANK">Fortis</option>
|
66 |
+
<option value="FRIESLAND_BANK">Friesland Bank</option>
|
67 |
+
<option value="ING_BANK">ING</option>
|
68 |
+
<option value="RABOBANK">Rabobank</option>
|
69 |
+
<option value="SNS_BANK">SNS BANK</option>
|
70 |
+
<option value="ASN_BANK">ASN Bank</option>
|
71 |
+
<option value="SNS_REGIO_BANK">SNS Regio Bank</option>
|
72 |
+
<option value="TRIODOS_BANK">Triodos Bank</option>
|
73 |
+
</select>
|
74 |
+
</div>
|
75 |
</li>
|
app/design/frontend/base/default/template/payone/core/payment/method/info/safe_invoice.phtml
CHANGED
@@ -1,48 +1,48 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
*
|
4 |
-
* NOTICE OF LICENSE
|
5 |
-
*
|
6 |
-
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
-
* that is bundled with this package in the file LICENSE.txt
|
8 |
-
*
|
9 |
-
* DISCLAIMER
|
10 |
-
*
|
11 |
-
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
-
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
-
* needs please refer to http://www.payone.de for more information.
|
14 |
-
*
|
15 |
-
* @category Payone
|
16 |
-
* @package design_frontend_base_default
|
17 |
-
* @subpackage template
|
18 |
-
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
-
* @author Matthias Walter <info@noovias.com>
|
20 |
-
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
-
* @link http://www.noovias.com
|
22 |
-
*/
|
23 |
-
/** @var $this Payone_Core_Block_Payment_Method_Info_SafeInvoice */
|
24 |
-
?>
|
25 |
-
<?php echo $this->escapeHtml($this->getMethodTitle()) ?>
|
26 |
-
<br/>
|
27 |
-
<?php if($this->getInfo()): ?>
|
28 |
-
<?php echo $this->__('Safe Invoice Type: %s', $this->escapeHtml($this->getSafeInvoiceType())) ?><br/>
|
29 |
-
<?php endif; ?>
|
30 |
-
<?php if ($this->getLastTransId() == ''): ?>
|
31 |
-
<?php echo $this->__('Payment has not been processed yet.') ?>
|
32 |
-
<?php else: ?>
|
33 |
-
<?php echo $this->__('Payone Transaction ID: %s', $this->escapeHtml($this->getLastTransId())) ?><br/>
|
34 |
-
<?php echo $this->__('Accountholder: %s', $this->escapeHtml($this->getPayoneClearingBankAccountholder())) ?><br/>
|
35 |
-
<?php echo $this->__('Country: %s', $this->escapeHtml($this->getPayoneClearingBankCountry())) ?><br/>
|
36 |
-
<?php echo $this->__('Accountnumber: %s', $this->escapeHtml($this->getPayoneClearingBankAccount())) ?><br/>
|
37 |
-
<?php echo $this->__('Bank code: %s', $this->escapeHtml($this->getPayoneClearingBankCode())) ?><br/>
|
38 |
-
<?php echo $this->__('IBAN: %s', $this->escapeHtml($this->getPayoneClearingBankIban())) ?><br/>
|
39 |
-
<?php echo $this->__('BIC: %s', $this->escapeHtml($this->getPayoneClearingBankBic())) ?><br/>
|
40 |
-
<?php echo $this->__('City: %s', $this->escapeHtml($this->getPayoneClearingBankCity())) ?><br/>
|
41 |
-
<?php echo $this->__('Bank: %s', $this->escapeHtml($this->getPayoneClearingBankName())) ?><br/>
|
42 |
-
<?php echo $this->__('Payment Reference: %s', $this->escapeHtml($this->getPayoneClearingReference())) ?><br/>
|
43 |
-
<?php echo $this->__('Legal note: %s', $this->escapeHtml($this->getPayoneClearingLegalnote())) ?><br/>
|
44 |
-
<?php echo $this->__('Instruction note: %s', $this->escapeHtml($this->getPayoneClearingInstructionnote())) ?><br/>
|
45 |
-
<?php echo $this->__('Due date: %s', $this->escapeHtml($this->getPayoneClearingDuedate())) ?><br/>
|
46 |
-
|
47 |
-
<?php endif; ?>
|
48 |
<br/>
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the GNU General Public License (GPL 3)
|
7 |
+
* that is bundled with this package in the file LICENSE.txt
|
8 |
+
*
|
9 |
+
* DISCLAIMER
|
10 |
+
*
|
11 |
+
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer
|
12 |
+
* versions in the future. If you wish to customize Payone_Core for your
|
13 |
+
* needs please refer to http://www.payone.de for more information.
|
14 |
+
*
|
15 |
+
* @category Payone
|
16 |
+
* @package design_frontend_base_default
|
17 |
+
* @subpackage template
|
18 |
+
* @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
|
19 |
+
* @author Matthias Walter <info@noovias.com>
|
20 |
+
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
|
21 |
+
* @link http://www.noovias.com
|
22 |
+
*/
|
23 |
+
/** @var $this Payone_Core_Block_Payment_Method_Info_SafeInvoice */
|
24 |
+
?>
|
25 |
+
<?php echo $this->escapeHtml($this->getMethodTitle()) ?>
|
26 |
+
<br/>
|
27 |
+
<?php if($this->getInfo()): ?>
|
28 |
+
<?php echo $this->__('Safe Invoice Type: %s', $this->escapeHtml($this->getSafeInvoiceType())) ?><br/>
|
29 |
+
<?php endif; ?>
|
30 |
+
<?php if ($this->getLastTransId() == ''): ?>
|
31 |
+
<?php echo $this->__('Payment has not been processed yet.') ?>
|
32 |
+
<?php else: ?>
|
33 |
+
<?php echo $this->__('Payone Transaction ID: %s', $this->escapeHtml($this->getLastTransId())) ?><br/>
|
34 |
+
<?php echo $this->__('Accountholder: %s', $this->escapeHtml($this->getPayoneClearingBankAccountholder())) ?><br/>
|
35 |
+
<?php echo $this->__('Country: %s', $this->escapeHtml($this->getPayoneClearingBankCountry())) ?><br/>
|
36 |
+
<?php echo $this->__('Accountnumber: %s', $this->escapeHtml($this->getPayoneClearingBankAccount())) ?><br/>
|
37 |
+
<?php echo $this->__('Bank code: %s', $this->escapeHtml($this->getPayoneClearingBankCode())) ?><br/>
|
38 |
+
<?php echo $this->__('IBAN: %s', $this->escapeHtml($this->getPayoneClearingBankIban())) ?><br/>
|
39 |
+
<?php echo $this->__('BIC: %s', $this->escapeHtml($this->getPayoneClearingBankBic())) ?><br/>
|
40 |
+
<?php echo $this->__('City: %s', $this->escapeHtml($this->getPayoneClearingBankCity())) ?><br/>
|
41 |
+
<?php echo $this->__('Bank: %s', $this->escapeHtml($this->getPayoneClearingBankName())) ?><br/>
|
42 |
+
<?php echo $this->__('Payment Reference: %s', $this->escapeHtml($this->getPayoneClearingReference())) ?><br/>
|
43 |
+
<?php echo $this->__('Legal note: %s', $this->escapeHtml($this->getPayoneClearingLegalnote())) ?><br/>
|
44 |
+
<?php echo $this->__('Instruction note: %s', $this->escapeHtml($this->getPayoneClearingInstructionnote())) ?><br/>
|
45 |
+
<?php echo $this->__('Due date: %s', $this->escapeHtml($this->getPayoneClearingDuedate())) ?><br/>
|
46 |
+
|
47 |
+
<?php endif; ?>
|
48 |
<br/>
|
app/locale/de_DE/Payone_Core.csv
CHANGED
@@ -116,6 +116,7 @@
|
|
116 |
"Disabled","Deaktiviert"
|
117 |
"Check Billing Address","Prüfe Rechnungsadresse"
|
118 |
"Check Shipping Address","Prüfe Lieferadresse"
|
|
|
119 |
"Please note that you can use these options only, if you subscribe to the invoicing module of PAYONE.","Bitte beachten Sie, dass Sie diese Optionen nur dann nutzen können, wenn Sie das Modul Invoicing von PAYONE beauftragt haben."
|
120 |
"Please note that you can only use this option, if you subscribe to the invoicing module of PAYONE.","Bitte beachten Sie, dass Sie diese Option nur dann nutzen können, wenn Sie das Modul Invoicing von PAYONE beauftragt haben."
|
121 |
"Personstatus Mapping","Personstatusmapping"
|
116 |
"Disabled","Deaktiviert"
|
117 |
"Check Billing Address","Prüfe Rechnungsadresse"
|
118 |
"Check Shipping Address","Prüfe Lieferadresse"
|
119 |
+
"Check Billing Address for virtual orders","Prüfe Rechnungsadresse für virtuelle Bestellungen"
|
120 |
"Please note that you can use these options only, if you subscribe to the invoicing module of PAYONE.","Bitte beachten Sie, dass Sie diese Optionen nur dann nutzen können, wenn Sie das Modul Invoicing von PAYONE beauftragt haben."
|
121 |
"Please note that you can only use this option, if you subscribe to the invoicing module of PAYONE.","Bitte beachten Sie, dass Sie diese Option nur dann nutzen können, wenn Sie das Modul Invoicing von PAYONE beauftragt haben."
|
122 |
"Personstatus Mapping","Personstatusmapping"
|
js/payone/core/debitpayment.js
CHANGED
@@ -71,6 +71,9 @@ function checkIbanCountryCode(code) {
|
|
71 |
}
|
72 |
|
73 |
function disableElement(element) {
|
|
|
|
|
|
|
74 |
element.value = '';
|
75 |
element.disabled = true;
|
76 |
element.removeClassName('required-entry');
|
@@ -82,6 +85,9 @@ function disableElement(element) {
|
|
82 |
}
|
83 |
|
84 |
function enableElement(element) {
|
|
|
|
|
|
|
85 |
element.disabled = false;
|
86 |
element.toggleClassName('require-entry');
|
87 |
}
|
@@ -97,16 +103,23 @@ function blockPaymentMethodInputs(code, configShowBankData) {
|
|
97 |
&& input_sepa_bic_el.value != ''
|
98 |
&& Validation.get('validate-sepa-bic').test(input_sepa_bic_el.value) == true) {
|
99 |
disableElement(input_account_number_el);
|
100 |
-
$('input_box_payone_account_number')
|
|
|
|
|
|
|
101 |
disableElement(input_bank_code_el);
|
102 |
-
$('input_box_payone_bank_code')
|
|
|
|
|
|
|
103 |
} else {
|
104 |
enableElement(input_account_number_el);
|
105 |
enableElement(input_bank_code_el);
|
106 |
showBankData(code, configShowBankData);
|
107 |
}
|
108 |
|
109 |
-
if (input_account_number_el
|
|
|
110 |
&& Validation.get('validate-digits').test(input_account_number_el.value) == true
|
111 |
&& input_bank_code_el.value != ''
|
112 |
&& Validation.get('validate-bank-code').test(input_bank_code_el.value) == true
|
@@ -129,10 +142,10 @@ function blockPaymentMethodInputs(code, configShowBankData) {
|
|
129 |
*/
|
130 |
function changeSubmitButtonStatus(checkboxEl) {
|
131 |
if (checkboxEl.checked) {
|
132 |
-
$$('.btn-checkout')[0].
|
133 |
$$('.btn-checkout')[0].show();
|
134 |
} else {
|
135 |
-
$$('.btn-checkout')[0].
|
136 |
$$('.btn-checkout')[0].hide();
|
137 |
}
|
138 |
}
|
71 |
}
|
72 |
|
73 |
function disableElement(element) {
|
74 |
+
if (element == undefined) {
|
75 |
+
return;
|
76 |
+
}
|
77 |
element.value = '';
|
78 |
element.disabled = true;
|
79 |
element.removeClassName('required-entry');
|
85 |
}
|
86 |
|
87 |
function enableElement(element) {
|
88 |
+
if (element == undefined) {
|
89 |
+
return;
|
90 |
+
}
|
91 |
element.disabled = false;
|
92 |
element.toggleClassName('require-entry');
|
93 |
}
|
103 |
&& input_sepa_bic_el.value != ''
|
104 |
&& Validation.get('validate-sepa-bic').test(input_sepa_bic_el.value) == true) {
|
105 |
disableElement(input_account_number_el);
|
106 |
+
var inputboxpayoneaccountnumber = $('input_box_payone_account_number');
|
107 |
+
if (inputboxpayoneaccountnumber != undefined) {
|
108 |
+
inputboxpayoneaccountnumber.hide();
|
109 |
+
}
|
110 |
disableElement(input_bank_code_el);
|
111 |
+
var inputboxpayonebankcode = $('input_box_payone_bank_code');
|
112 |
+
if (inputboxpayonebankcode != undefined) {
|
113 |
+
inputboxpayonebankcode.hide();
|
114 |
+
}
|
115 |
} else {
|
116 |
enableElement(input_account_number_el);
|
117 |
enableElement(input_bank_code_el);
|
118 |
showBankData(code, configShowBankData);
|
119 |
}
|
120 |
|
121 |
+
if (input_account_number_el != undefined
|
122 |
+
&& input_account_number_el.value != ''
|
123 |
&& Validation.get('validate-digits').test(input_account_number_el.value) == true
|
124 |
&& input_bank_code_el.value != ''
|
125 |
&& Validation.get('validate-bank-code').test(input_bank_code_el.value) == true
|
142 |
*/
|
143 |
function changeSubmitButtonStatus(checkboxEl) {
|
144 |
if (checkboxEl.checked) {
|
145 |
+
$$('.btn-checkout')[0].removeAttribute("disabled");
|
146 |
$$('.btn-checkout')[0].show();
|
147 |
} else {
|
148 |
+
$$('.btn-checkout')[0].setAttribute("disabled", "disabled");
|
149 |
$$('.btn-checkout')[0].hide();
|
150 |
}
|
151 |
}
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Mage_Payone</name>
|
4 |
-
<version>3.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -30,11 +30,11 @@ No PCI DSS Certification is needed, since all payment data is transmitted via th
|
|
30 |
With FinanceGate Business even account receivable management, dunning and debt collection can be done by FinanceGate automatically.
|
31 |

|
32 |
Notice: Remember this extension is still beta. We recommend to test all transaction types in your application carefully before going live.</description>
|
33 |
-
<notes>Mage_Payone-3.1.
|
34 |
<authors><author><name>noovias</name><user>noovias</user><email>info@noovias.com</email></author><author><name>PAYONE</name><user>jgerle</user><email>tech.support@payone.de</email></author></authors>
|
35 |
-
<date>2014-
|
36 |
-
<time>
|
37 |
-
<contents><target name="magecommunity"><dir name="Payone"><dir name="Core"><dir name="Block"><dir name="Adminhtml"><dir name="Configuration"><dir name="Wizard"><dir name="Config"><file name="Form.php" hash="7e48e792893e9a64f7001e96b003e382"/></dir><dir name="Page"><file name="Edit.php" hash="1f1b820d0f2d50230f8cdf762c80bc5c"/><file name="View.php" hash="9ab4a5083eebc1961ea5c0acb0ba2cf2"/></dir></dir></dir><dir name="Information"><file name="Abstract.php" hash="89033bd457bcd46a7ceb13462360a5e6"/></dir><file name="Information.php" hash="2459128787e623cebf78be3634eb7514"/><dir name="Protocol"><dir name="Api"><file name="Grid.php" hash="fe43a5b1464e1059703788bd91f408cf"/><dir name="View"><file name="Plane.php" hash="daf40463ac56195f9d2181e35062baa2"/><dir name="Tab"><file name="Exception.php" hash="1825ebf171f264b6c74ed7e1fe9d6fbd"/><file name="General.php" hash="9a5d35a92a9d622a2ddfb0edafa76092"/></dir><file name="Tabs.php" hash="cc81cd30acbda3b87f2b302ee8cdaf1a"/></dir><file name="View.php" hash="d00b5b3c9a7d0e36693c026c5de0dd35"/></dir><file name="Api.php" hash="86163b631dabef5538c9d7ba18cb3b04"/><dir name="TransactionStatus"><file name="Grid.php" hash="b9e276667ce3599e5250f0026ab4f8d5"/><dir name="View"><file name="Plane.php" hash="e7fee81fb6ee269bab8186972e0093a1"/><dir name="Tab"><file name="General.php" hash="a80cb470751f948b35aa04f991dd4486"/></dir><file name="Tabs.php" hash="aba3d7bf0ab3762a2900237b21a2198a"/></dir><file name="View.php" hash="b7d782116f5d8d09087bf9eb7110ecdf"/></dir><file name="TransactionStatus.php" hash="4aa543fe53ea8c4d0a4c09a61c84d52f"/></dir><dir name="Sales"><dir name="Order"><dir name="Create"><file name="Init.php" hash="3f2f8f8de024565abc1f8e4ced98319b"/></dir><file name="Grid.php" hash="8769f1b2708b28af0a4f97574c0b0c92"/><dir name="View"><dir name="Tab"><file name="Api.php" hash="add6c7c0adbd91114b3eed850569b65a"/><file name="Transaction.php" hash="a6001e58c3ce4d6737f4928ccac66176"/><file name="TransactionStatus.php" hash="44541e398ab29db4720b2109f6e0607c"/></dir></dir></dir><file name="Order.php" hash="d9b85ad2061f9fe9552f5ffed60d0797"/></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Abstract.php" hash="77de293a1573d415a0560d1f3366ed12"/><file name="Forwarding.php" hash="37db0ebdea18716749598e092070475e"/><file name="Info.php" hash="2c9e6c008ee3d5306f8579ebe01db944"/><file name="KlarnaStoreId.php" hash="a250983a9d5969f90a772e13893cb580"/><file name="PaymentFee.php" hash="755e20786c0203016611bfcfdc6ede90"/><file name="PersonStatusMapping.php" hash="a5450b8e05fa801ec373ac7c21e58b34"/><file name="StatusMapping.php" hash="cf91819c4d98a270e3725f9af4b9b88c"/></dir><file name="Field.php" hash="9c7f06f1a79d2308d5bf89c08b986b62"/><dir name="Payment"><file name="Method.php" hash="322e4976bd8389f5e9627ba5c17ad0e4"/></dir><file name="Payment.php" hash="812418b9dc6e7d0f7af71c54fa7ad4cf"/></dir><file name="Hint.php" hash="1da85b64bf8fa8056881f551d553129d"/><file name="Notice.php" hash="466258b59f294048fa48639f3681ad5e"/><dir name="Payment"><file name="Edit.php" hash="ee890691a35e5b33bfd1a986a4481ace"/><file name="Grid.php" hash="7ff4cfab006c716256b416a1898383e4"/></dir><file name="Payment.php" hash="0c9f0cd463afa2bbb5eec693ae1da597"/><file name="Tooltip.php" hash="d9905fba960f4a7500265c30f1dfddf9"/></dir></dir><dir name="Transaction"><file name="Grid.php" hash="cca8ffb56bc00514d56af6f05c38882f"/><dir name="View"><file name="Plane.php" hash="161a1c1f5cb58333e4428414397a91f6"/><dir name="Tab"><file name="General.php" hash="bc901fbe55449792917519c795c58808"/><file name="TransactionStatus.php" hash="6325158ee9acda45dc1b3aa6a34b8cdd"/></dir><file name="Tabs.php" hash="127b5f4090f96a1956f2838e7e1bf90f"/></dir><file name="View.php" hash="267ceb1bf113dae62c503c8c9f858a78"/></dir><file name="Transaction.php" hash="9da66e164d1dea5013167c374865a94d"/><dir name="Widget"><dir name="Grid"><dir name="Column"><dir name="Renderer"><file name="Datetime.php" hash="52a793dde88b725b9b9d5f27842b1705"/><file name="UnixTimestamp.php" hash="9da03743ed591e5f24f1f682c5f4fb5f"/></dir></dir><file name="Container.php" hash="f035c12b7bf696a0222ce0b3f50dfd46"/></dir><dir name="View"><file name="Container.php" hash="dfd28e3f3205c9ab6f1d5ba5cdd1222c"/></dir></dir></dir><dir name="Checkout"><dir name="Onepage"><dir name="Payment"><file name="Additional.php" hash="6fb72c642149f73a73b6ffcdd8249a93"/><file name="Methods.php" hash="a2e4bb44fa3c254bdfcc3f4671dc8968"/></dir><dir name="Review"><file name="SepaMandate.php" hash="c6ab2e1b5d3cc046682985342ddec6a1"/></dir><dir name="Success"><file name="SepaMandatePdfLink.php" hash="73c3a6035c989697c447f7572986a815"/></dir></dir></dir><dir name="Payment"><dir name="Method"><dir name="Form"><file name="Abstract.php" hash="fbba6cc27f3c85f46068604b0abf0c73"/><file name="AdvancePayment.php" hash="f8fa142db063838f6e2affd24e605309"/><file name="CashOnDelivery.php" hash="47aa8eae525f0926cfa0ca39dbf16dd8"/><file name="Creditcard.php" hash="8f2b897e1bcb9241e6019424239e368c"/><file name="DebitPayment.php" hash="0fd3ee0123187a9a09b0dc5a2fc842b0"/><file name="Financing.php" hash="e51b6b3464fb350c874e9cbc0ce048a9"/><file name="Invoice.php" hash="792e994d4e724c508c44aa80c2c05377"/><file name="OnlineBankTransfer.php" hash="3457d20473765317348b0a3d793d8a1f"/><dir name="SafeInvoice"><file name="Klarna.php" hash="d8f2ba8fe76f594acd15d9c292084c70"/></dir><file name="SafeInvoice.php" hash="3cfd8a05e6bab685a19c64c93632ff84"/><file name="Wallet.php" hash="da09f18c16574eac09b9a1d2bc2a67db"/></dir><dir name="Info"><file name="Abstract.php" hash="e053fbb633c2742597631bb1672f404a"/><file name="AdvancePayment.php" hash="5a30ac680ba4b813b8292ee680970815"/><file name="CashOnDelivery.php" hash="e5c5739d58f1c3932368268b54d7e51b"/><file name="Creditcard.php" hash="039cde64d6835e601245e46f606d4f66"/><file name="DebitPayment.php" hash="f7e390fae84439f5003578a81699eef1"/><file name="Financing.php" hash="6168f4820caa216f6f30a14069602123"/><file name="Invoice.php" hash="4e39306b2241b19e8d75684307522aaa"/><file name="OnlineBankTransfer.php" hash="a6b327b86716a748cbf24e789c25a5f7"/><file name="SafeInvoice.php" hash="08176961ce0c2af1481734793a7a0b12"/><file name="Wallet.php" hash="1c97123bd3b8c5c10e766dd7749f2076"/></dir></dir></dir></dir><dir name="Controller"><file name="Abstract.php" hash="e896d0e966ebb3123c047760fff8c17a"/><dir name="Adminhtml"><file name="Abstract.php" hash="fc530c509c8377d4b401b0ad4144ac62"/><dir name="Configuration"><dir name="Wizard"><file name="Abstract.php" hash="bdfe26c77fbfb08d5eed508b3707129b"/></dir></dir></dir></dir><dir name="Exception"><file name="InvalidRequestType.php" hash="ef0f4dc53e93ba1b32229e5928d00bd2"/><file name="InvalidScope.php" hash="3e4185c541d15ed6d8822540dee61b9c"/><file name="InvoicePreparationNoItems.php" hash="dc5497f50a8954ac451f56c8c47e57b4"/><file name="InvoiceSave.php" hash="585931380f6291f47b28d23024366ba6"/><file name="OrderCannotInvoice.php" hash="b63f0a9a1702708422f30472012643a6"/><file name="OrderNotFound.php" hash="22001580df9425cd4d5bb954378aac4c"/><file name="PaymentMethodConfigNotFound.php" hash="c62057ea1bd54c0b91dacd2a5db50b49"/><file name="PaymentTypeNotFound.php" hash="7d6866507e5f803e1bf0e31545f9c06c"/><file name="TransactionAlreadyExists.php" hash="6dfb3da13440462021c2175405ace0b9"/><file name="TransactionStatusForward.php" hash="52f6974ad59271d161451944fd000986"/></dir><dir name="Helper"><file name="Abstract.php" hash="614b70f3acf925a3b544e91e5a0085d3"/><file name="Compatibility.php" hash="40ec8b9e8f5bff66181d9d257d7f6a0e"/><file name="Config.php" hash="8672eb13e5051e0f1aefeb714b75f419"/><file name="Data.php" hash="b2886731b945327dcdcf65c1aa860902"/><file name="Email.php" hash="395561eb7a6c319055270706e6d32226"/><file name="Registry.php" hash="da6aee13a620bd78e6aa12e1a1700bfc"/><dir name="Sales"><file name="Button.php" hash="f9752550b0ba4559a78631ea7240dbfa"/></dir><file name="Score.php" hash="bed6e4c0d668ebbb83ea99235728a063"/><file name="Url.php" hash="9ce4dc25c5920247c9b85cccf450ec0e"/><file name="Wizard.php" hash="70b6882f848c703ff0fc26d62dcb376b"/></dir><dir name="Model"><dir name="Config"><file name="AreaAbstract.php" hash="e75eacc876e77fa1f540e15a8a89a1d5"/><file name="AreaInterface.php" hash="9822e7864b81dcdade053baea64db83f"/><dir name="General"><file name="Global.php" hash="c4da6e2a8dccd360c76715961e9bb488"/><file name="ParameterInvoice.php" hash="6a58ff0f8c126de0decd22b845d02d40"/><file name="ParameterNarrativeText.php" hash="5f0128073807d017a4f3704c5879e36f"/><file name="PaymentCreditcard.php" hash="d055547ad354429c2c4b061353a9f121"/><file name="StatusMapping.php" hash="444346141aafa48049b22418ba65c8fe"/></dir><file name="General.php" hash="8f274fdb68951ab6b5a782d6c7de808c"/><file name="Interface.php" hash="a3de42afc8b6907e64d522aa3ec5cf63"/><dir name="Misc"><file name="Creditmemo.php" hash="f9509d5a67e5ecd3cf029750beea9106"/><file name="Discount.php" hash="4ce56b1b21f8c39961c4bbe860eda20c"/><dir name="Email"><file name="Abstract.php" hash="50f7c3519a70855acb69d255cb0056d6"/><file name="Interface.php" hash="d07157b9ca17401277b35f7aea92a7cc"/></dir><file name="EmailAvs.php" hash="3da7b2a26718650a87466e7cdae55c31"/><file name="EmailError.php" hash="4c45b1d6d95f3659c66dffbc3d770080"/><file name="ShippingCosts.php" hash="d828b50fa706fa3f938713d223bda3c6"/><file name="TransactionstatusForwarding.php" hash="39d587c3c484bc99773b060d6265959e"/><file name="TransactionstatusProcessing.php" hash="9b96fe9c0463577a7b9b58a45311bdfc"/></dir><file name="Misc.php" hash="bbac6a7fa27f05c7f21071fa01ac3460"/><dir name="Payment"><dir name="Method"><file name="Interface.php" hash="1fd70aedc490ea687ae3d98fd69e3940"/></dir><file name="Method.php" hash="d2d71ea7d25925667af4c90ee81dc822"/></dir><file name="Payment.php" hash="727160b76efedc58a77dd9d84b28c1cc"/><dir name="Protect"><file name="AddressCheck.php" hash="7293d9854b25322a66ee00206f3071ce"/><file name="Creditrating.php" hash="ffe6d1d2c95d641535a5027b2afb54cc"/></dir><file name="Protect.php" hash="21be6a05897ce9a155363ce56e0a5e4d"/></dir><file name="Config.php" hash="e377c2462e81c4a6caacd784cf6a5d65"/><dir name="Cronjob"><file name="Abstract.php" hash="123c05ac24b16ce69ec970a5da85f10e"/><dir name="TransactionStatus"><file name="Worker.php" hash="1e7090f9b91571176224d97a3e932ede"/></dir></dir><dir name="Domain"><dir name="Config"><file name="PaymentMethod.php" hash="35977e41b9c2588e56d278da9ef99273"/></dir><dir name="Protocol"><file name="Api.php" hash="70d1c4920f0637e28ec95cf8b9ca1bdb"/><file name="TransactionStatus.php" hash="681a1936ddbf0b519d6b97ded83d4a1a"/></dir><dir name="Resource"><dir name="Config"><dir name="PaymentMethod"><file name="Collection.php" hash="92fcb0cf48eada524e326942f1dd5c4b"/></dir><file name="PaymentMethod.php" hash="7261f0a45bff60e891cf24820a565670"/></dir><dir name="Protocol"><dir name="Api"><file name="Collection.php" hash="2ce71ea52eb4aa11fbc546001ed22fc8"/></dir><file name="Api.php" hash="bb257184fa77ef1b71f0964168dd78af"/><dir name="TransactionStatus"><file name="Collection.php" hash="884176fcb71b1a76d2b094bb70644c5e"/></dir><file name="TransactionStatus.php" hash="d4a202ea0d7ce2afeff4b3da4f18a237"/></dir><dir name="Transaction"><file name="Collection.php" hash="f3dd454961a551357eb95b73912c411c"/></dir><file name="Transaction.php" hash="a05356964069784a9c46b61c9c77c26c"/></dir><file name="Transaction.php" hash="32129c443a4218374a20920198dfe73c"/></dir><file name="Factory.php" hash="e3d7fd809e4de89a85d3ceb0e34af804"/><dir name="Handler"><file name="Abstract.php" hash="7916a63c5d1ca3c7cec27cc6bd038846"/><file name="Interface.php" hash="8137fbb2cea9866c2d6a64421653b1f7"/><dir name="Management"><file name="GetInvoice.php" hash="4fc10247b8969f9dbe447d3003a052a0"/></dir><dir name="Payment"><file name="Abstract.php" hash="44a3373698eadce21a6a88a67e7f62bb"/><file name="Authorize.php" hash="0693282e074f6c22824c5eab347aa9a2"/><file name="Capture.php" hash="d6d7dd0dfc16066faebc9678bb98b0ca"/><file name="Debit.php" hash="3dcee9f980aa64fb8d2ee93e4cdc91cb"/><file name="Interface.php" hash="3ff3b7247a7f69dd84b0999259f24bf8"/><file name="Preauthorize.php" hash="377a4242911f900ad046edc03da31891"/></dir><dir name="Verification"><file name="Abstract.php" hash="04be41f4fde5091816cb2dc650b53306"/><file name="AddressCheck.php" hash="26fb14b8f5e6492d5fbe5e7138a4b72d"/><file name="Creditrating.php" hash="df5e854c7814b05fae05ccb0d4eb09f9"/><file name="Interface.php" hash="601a0d018c10962c13e26c67ecb60deb"/></dir></dir><dir name="Mapper"><file name="Abstract.php" hash="269e16e71331e002333535450d4d2924"/><dir name="ApiRequest"><file name="Abstract.php" hash="67a9f749767b79e7641138f8edc9c788"/><dir name="Management"><file name="GetFile.php" hash="3a869f01182f6d2bf92b1c1f3f75b7ca"/><file name="GetInvoice.php" hash="3e55c698ee6e54a911c7c8c04854aa68"/><file name="ManageMandate.php" hash="115d22120bd9853aefd982af3c8c1a5b"/></dir><dir name="Payment"><file name="Abstract.php" hash="03ec35ee46ab31d2b966074a6663b8bb"/><dir name="Authorize"><file name="Abstract.php" hash="1e0157f1a6bcc86a11cc76af4c9bc1ba"/></dir><file name="Authorize.php" hash="7b4b3ee3e5fe3614158a2538878ba4f0"/><file name="Capture.php" hash="5aa68816030b9c7787377b9b23badf1e"/><file name="Debit.php" hash="5c4aec11abe8e99085374d3f5b9a2f9e"/><file name="Interface.php" hash="2ed7debbc0cbe1979be9ad4fa583c63d"/><file name="Preauthorize.php" hash="5de50d89d2c8bde9f64029fe787191ff"/></dir><dir name="Verification"><file name="Abstract.php" hash="6b492aabd24d09580bb5c8184ebab5dd"/><file name="AddressCheck.php" hash="7fe10c02044f2cc7dba1511dfc5a91e2"/><file name="BankAccountCheck.php" hash="03dd6e25bff5912fa24c2b69c7fb42bd"/><file name="Creditrating.php" hash="be7582391431e780fe1bcd8bfb1b016a"/></dir></dir></dir><dir name="Observer"><file name="Abstract.php" hash="7818d67d38868e56e44260d5eaeeb74d"/><dir name="Checkout"><dir name="Onepage"><file name="DebitPayment.php" hash="805924bf2292bb5ddd7dfba640850e15"/><dir name="Payment"><file name="Methods.php" hash="05d66b930cf670d25e28ea940da85693"/></dir></dir><file name="Onepage.php" hash="739313c22c4082dca0c640f72c745d79"/></dir><dir name="Config"><file name="Protect.php" hash="a9b87d00e3f7a3294046efb7b6ace00e"/></dir><dir name="Protocol"><file name="Api.php" hash="8756084b6e8c4ce3ff7fddfae2cbba8f"/></dir><dir name="Sales"><dir name="Order"><file name="Invoice.php" hash="b3a6f5568225a0c2aafb4014c9974a51"/></dir><file name="Order.php" hash="faebc9063841af19b1aaccbeb82cc463"/><dir name="Quote"><file name="Address.php" hash="9a6d3e1e068564fdda82ccfc15fce5d1"/><file name="Payment.php" hash="49864ede5b1ab94fc51a98b4cadc2874"/></dir></dir><dir name="Store"><file name="PaymentConfig.php" hash="fdf9db06695c1ef6a90a1695a8df58b0"/></dir><dir name="TransactionStatus"><file name="Forwarding.php" hash="72e93b7a9fc67b3c817a8a3086b3c58d"/><file name="InvoiceCreate.php" hash="b1e5f90df5c63edf1ee1e3e12a0a298a"/><file name="OrderConfirmation.php" hash="0ba29147ead6d943964be30c2b5aa1a6"/><file name="Reminder.php" hash="e476fbafaec9b3f2fa3d0ec5f57f6dce"/></dir></dir><dir name="Payment"><dir name="Method"><file name="Abstract.php" hash="de8c342c1af766b6f996f68b741c5b18"/><file name="AdvancePayment.php" hash="c165fc2cb0402478db74782a38f89ec5"/><file name="CashOnDelivery.php" hash="247d715b663369c27111ece38dfb7803"/><file name="Creditcard.php" hash="4d778e393876187bd89d1c2c3e326c98"/><file name="DebitPayment.php" hash="98868e4cf9cbda62e7e193f945d3d212"/><file name="Financing.php" hash="fb7c2c1f9b417affd028f4a2ad2e324a"/><file name="Invoice.php" hash="b6dc6fd8189c61f04a440b39d72a2c61"/><file name="OnlineBankTransfer.php" hash="5f6e2a08c6f83534f15b05f95bfceb37"/><file name="SafeInvoice.php" hash="66cff19b3b6de322dc22834f6271203b"/><file name="Wallet.php" hash="009d360a81b7a9527d192e4011df9749"/></dir></dir><dir name="Repository"><file name="Api.php" hash="215b63473d061699b64fbc698f95a1f7"/><file name="TransactionStatus.php" hash="633e3ea0f01a27374fd8d3b721c064b8"/></dir><dir name="Sales"><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Fee.php" hash="3bac7e6e8f51348c8b4c55d419b4b1f5"/></dir></dir><file name="Address.php" hash="4cdccd999657b7e7cc97413e0f0d07f3"/></dir></dir><dir name="Service"><file name="Abstract.php" hash="9c2a7aeecb9fc0303ac20a6ddc73ae96"/><dir name="Config"><dir name="PaymentMethod"><file name="Create.php" hash="af77caf92d5d7a87f691a571d5300c34"/></dir><file name="ProtectCheck.php" hash="81e93c3cd18c39b9cf52e94374cd341c"/><file name="XmlGenerate.php" hash="6a2ea0a941738a70b7bf510d8cf22369"/></dir><dir name="Export"><file name="Collection.php" hash="ba553e1ced6fd131b725c92150e09a78"/></dir><file name="InitializeConfig.php" hash="941c42e76ab330f1f2895c026025a009"/><file name="InitializePayment.php" hash="688d23ed08cdc74797818ad84d9359cc"/><dir name="Management"><file name="GetFile.php" hash="dca7b664b32e217ab50cd88e5919b8d4"/><file name="GetInvoice.php" hash="16da5759ecfbe625633da5e1e00cfecd"/><file name="ManageMandate.php" hash="d0dcffbafbc6dad9c9bc288739ef7bc1"/></dir><dir name="Payment"><file name="Abstract.php" hash="417afde77b7dd3cfccd1879668167eb0"/><file name="Authorize.php" hash="fa22191f012150eb5bd4ab2b183522dc"/><file name="Capture.php" hash="58bee25ef7c318f53a00d608cf16d0bf"/><file name="Debit.php" hash="4320627bc743c5ae303296417c64c232"/><file name="Interface.php" hash="5a6669702b6f966cdca52378e96e60d2"/><file name="Preauthorize.php" hash="b13323bc57512b9244a217dcc8106625"/></dir><dir name="Protocol"><dir name="Api"><file name="Export.php" hash="ae95ecb8c8e7b8418c8d3dd361c751c0"/></dir><dir name="TransactionStatus"><file name="Export.php" hash="1265210a4dcc3475e3cef56a70e073c2"/></dir></dir><dir name="Sales"><file name="InvoiceCreate.php" hash="84148ef78256e3daad76395fbb30e9a5"/><file name="OrderComment.php" hash="41433c126e5254b985d900f704b31ae9"/><file name="OrderConfirmation.php" hash="ea36bf39b5759943b38a7390d7242822"/><file name="OrderStatus.php" hash="fe3f8df1627c19363f21a29b4e8085f2"/></dir><dir name="Transaction"><file name="Create.php" hash="95d9079e7fd9a85597b62e96f7a4d77b"/><file name="Update.php" hash="f25e151fd02916472e7792360699a988"/></dir><dir name="TransactionStatus"><file name="Execute.php" hash="d4dff27a2cc271faaba576f9161a7f89"/><file name="Forward.php" hash="8dacb47c9a0db8e76669158aa15303b6"/><file name="Process.php" hash="194c0f03654af974e7a61df2d1496b8d"/><file name="StoreClearingParameters.php" hash="e849f646421c202aaeaab3528a4b72c4"/></dir><dir name="Verification"><file name="Abstract.php" hash="0fde90b0db9c18f414e5e90843f0e6ce"/><file name="AddressCheck.php" hash="b6e828cf9dc96d7e9cafae8037aa942f"/><file name="BankAccountCheck.php" hash="a78e4e65d55c07e5b6f0dd2139219a53"/><file name="Creditrating.php" hash="7dfbcaf8dbb3c11625a3a9943fa3a793"/></dir></dir><dir name="System"><dir name="Config"><file name="Abstract.php" hash="7afa28e48d78b04a4de0e1693009128b"/><file name="AddressCheckType.php" hash="11f0297e62f8aa723051bef05b1a1024"/><file name="AuthorizeMethod.php" hash="ab01882f7e8b685bf65c9c2cf630f8dd"/><file name="AuthorizeMethodFinancing.php" hash="4176d6fa53e5d7dc9c3e2f2cc6996450"/><file name="AvsResult.php" hash="b1e3ca79a77286e1e705501a33c13855"/><dir name="Backend"><file name="Protect.php" hash="65562d422ca71b7bac0e0157a12b7ac2"/></dir><file name="BankaccountcheckType.php" hash="f09ba1733f34eb60b17d2b0c21a4ff3b"/><file name="ClearingType.php" hash="d6c1cf6362e17ae0042612774c37483f"/><file name="CreditCardType.php" hash="a4dd68bdd7abe455c6adeb3e20e1bb55"/><file name="CreditScore.php" hash="bc54944274a9d5137c474dcf27fc91f9"/><file name="CreditratingChecktype.php" hash="985ce6d65da0281e8e99f334e980e14e"/><file name="CreditratingIntegrationEvent.php" hash="9da728646ff3eea66e6155fb4d4b4233"/><file name="FinancingType.php" hash="28c21492a23d119869eb6d091e427169"/><file name="HandleResponseError.php" hash="6c92277e38f8256f6fe7b6696107fdd2"/><file name="KlarnaCountry.php" hash="49e1a250427eb1a66da63901e47bb3e5"/><file name="MethodType.php" hash="a2bb15d6a43746cc1c87a9ee252d87ef"/><file name="Mode.php" hash="f4b7f10abd52f5b5d23873e159e4fc23"/><file name="OnlinebanktransferType.php" hash="804bf6bd18c9903519e48072ab33d1da"/><file name="OrderStatus.php" hash="1efd1fb9dfe513946ce4542a983438ea"/><file name="PaymentMethodCode.php" hash="be2c8473e58dea95fbf7e9ffe5aac06a"/><file name="PaymentMethodType.php" hash="1da77ef4656e965fd12f2ae8fc853c53"/><file name="PersonStatus.php" hash="8d909a2f468207880d3b431dbfbfdef8"/><file name="ReminderLevel.php" hash="cac22bfaece3ccca9a51adc59efdf44b"/><file name="RequestType.php" hash="f43e32fd32329193252190746f0a8571"/><file name="ResponseType.php" hash="d6a64bbe4ea58d2126ff8d7f76795bcf"/><file name="SafeInvoiceType.php" hash="e33c155d6eb7b8b05bb2eef81c492bd4"/><file name="SepaCountry.php" hash="1d53612b26e8cc6e90f6ae8903dae50d"/><file name="Status.php" hash="2612834bc2a1ed7c43a2cc3342adf63d"/><file name="StatusTransaction.php" hash="53271af6dbe8195a8fa1e12a79a56c68"/><file name="TransactionStatus.php" hash="8c1f59103ba441a3bddbf454bc4c3129"/><file name="WalletType.php" hash="c49c188f400e808a58348716a9fa421e"/></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Configuration"><dir name="Wizard"><dir name="Page"><file name="PaymentController.php" hash="836c77b7dcc77cae37ae101ad28b2169"/></dir><file name="PageController.php" hash="a6565671b73edb8b30b27e325b3ee6c0"/></dir><file name="WizardController.php" hash="cfc6b411102e225a48935cee6e0c7576"/></dir><file name="InformationController.php" hash="4fbe3552aff0415f9e6e6574c7dfc080"/><dir name="Protocol"><file name="ApiController.php" hash="1af6ef54bfb5a870f482895c0fc5f769"/><file name="TransactionStatusController.php" hash="97a5933efe3633ce5c370c1e67eaa37d"/></dir><dir name="Sales"><dir name="Order"><file name="InvoiceController.php" hash="16c96795a7e9c8dd546c4c69a5568987"/></dir><file name="OrderController.php" hash="ac4a0fe89896111ea5dfff2ae01f0e90"/></dir><dir name="System"><dir name="Config"><file name="PaymentController.php" hash="47bda106aafbcbbc8a04a1da28ce136e"/></dir><file name="ConfigurationController.php" hash="0cd99975387d248d9583d6804c3c5a4c"/></dir><file name="TransactionController.php" hash="59e0e04c5ef04e28a3b781a1c2c3b412"/></dir><dir name="Checkout"><dir name="Onepage"><file name="PaymentController.php" hash="6af20fd547dda0233d5b21418ca09021"/><file name="SuccessController.php" hash="1de90543c4a4fda2ad63841a5b3a5c5b"/></dir><file name="OnepageController.php" hash="5a2b9e341ea161ff82ebd644f5abf896"/></dir><file name="TransactionStatusController.php" hash="f6660bc654ef08ccb3adcd58dfda0596"/></dir><dir name="etc"><file name="adminhtml.xml" hash="80661f3ff3f6782efad26e377413aeb3"/><file name="config.xml" hash="434fe80b5dd052f9ea20e3777ce712ef"/><file name="system.xml" hash="d0f10aeee90c1a60f78195948370b403"/></dir><dir name="sql"><dir name="payone_core_setup"><file name="install-3.0.0.sql" hash="28a783cc46e235b6c13dd502651ff7e7"/><file name="mysql4-install-3.0.0.php" hash="e570826a7a6b3d94ec7a4731a1962a6f"/><file name="mysql4-upgrade-3.0.12-3.1.0.php" hash="bca5f3758f786378978834b89c29f141"/><file name="mysql4-upgrade-3.0.3-3.0.4.php" hash="094516f8f26dd2492941998c4e4bcf18"/><file name="mysql4-upgrade-3.0.8-3.0.9.php" hash="3b4268515d3361ce9e1e889fcbefd4cd"/><file name="mysql4-upgrade-3.1.0-3.1.1.php" hash="d7c545b39a8ec2764fdcadd6656005dd"/><file name="mysql4-upgrade-3.1.2-3.1.3.php" hash="22d8f0e22f537cec9564d177f5ebeac4"/><file name="mysql4-upgrade-3.1.3-3.1.4.php" hash="78053f6e524c1b9634da9833df9b2a90"/><file name="mysql4-upgrade-3.1.4-3.1.5.php" hash="36562a50b2b115136298df702270518f"/><file name="mysql4-upgrade-3.1.6-3.1.7.php" hash="e3d5404bae141f641ddb0e32d28ec8a3"/><file name="mysql4-upgrade-3.1.7-3.1.8.php" hash="bde5b06ffb9d254458c03d875a22ff79"/><file name="upgrade-3.0.12-3.1.0.sql" hash="bd9827b38f1a1ed0fdb049c889ceb29f"/><file name="upgrade-3.1.2-3.1.3.sql" hash="d3e3fc1f9402bb6295124f4750a476d4"/><file name="upgrade-3.1.3-3.1.4.sql" hash="fb2515f9b80282c14b34cd5b872410b4"/><file name="upgrade-3.1.4-3.1.5.sql" hash="e8958e4637dac109aac7d236be7dd16d"/><file name="upgrade-3.1.6-3.1.7.sql" hash="9839cc9c41207a4bd7608d91c5ee83a2"/><file name="upgrade-3.1.7-3.1.8.sql" hash="ac5279de707324fe4f2ea4711e6bd851"/></dir></dir></dir><dir name="Migrator"><dir name="Controller"><dir name="Adminhtml"><file name="Abstract.php" hash="a8ae39e90f2b28ecf7ac97422433d5cd"/></dir></dir><dir name="Helper"><file name="Config.php" hash="4abc3ee9237fa433bc1d1d3dbfa97afc"/><file name="Data.php" hash="ebb5526d898038aa2004e6347794b478"/></dir><dir name="Model"><file name="Factory.php" hash="614bc12c240bd0c917fdc090c8018ccc"/><dir name="Mapper"><file name="Abstract.php" hash="a784a82feaf6120184bc5e53331bd519"/><dir name="Config"><file name="General.php" hash="e24eb1f80ab89b37da5bfe333e34ed05"/><file name="Payment.php" hash="37dd103a0f2ff3493a93c3ec03474671"/><file name="Protect.php" hash="7192a4e8e1789401dbb69dc4c1891ed3"/></dir></dir><dir name="Service"><file name="Abstract.php" hash="2208fd00d748f4e42470c57a90fad2a2"/><dir name="Configuration"><file name="GeneralMigrate.php" hash="044e996b5f7243086d66d85444bef05c"/><file name="PaymentMigrate.php" hash="0d65e45786eac7a4d36d00fbac7d1188"/><file name="ProtectMigrate.php" hash="1289918e3fb0f87dec2c4d3cd76ad77c"/></dir><file name="Migrate.php" hash="07b0deb7c09a313a2b337b684c76f9da"/><dir name="Sales"><file name="PaymentMigrate.php" hash="b0cb16acd822816b82009b5f648eb4f6"/></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="MigrationController.php" hash="7d9f458c55ee1fe5232c6d7136d86551"/><dir name="Wizard"><file name="MigrationController.php" hash="578c2b786ec293a24bce53806f16c102"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="9fb5870a66cfe557beba5b9780fcdff5"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="payone"><dir name="core"><file name="client_api.phtml" hash="82d735b2326311446896dc12b826d6a5"/><dir name="configuration"><dir name="wizard"><file name="iframe.phtml" hash="186c008f6b31f8276a84aeb7d3c404e4"/><file name="index.phtml" hash="2deddd95d55920eff1ccc96959857b75"/><dir name="page"><file name="finish.phtml" hash="956ddfbe0e9971e647735fe4a45abf0e"/><dir name="form"><file name="container.phtml" hash="3c7287c0c40be94a1b1189a6cd7f8812"/></dir><file name="index.phtml" hash="66e73112887b5c1028fac21d5ce97c71"/><dir name="payment"><dir name="grid"><file name="container.phtml" hash="1b00428676495848907360d99697bd80"/></dir></dir><file name="store_switcher.phtml" hash="6871e556b2872ba357ea95be0c543a6a"/><dir name="view"><file name="container.phtml" hash="042d56bf10158e1944c48f788f48121e"/></dir></dir></dir></dir><file name="iframe.phtml" hash="9f74308e8b43cad2b15748b9f8368559"/><dir name="information"><file name="iframe.phtml" hash="c4e39d236151492940e32a0563a6a4b8"/></dir><dir name="payment"><dir name="method"><dir name="form"><file name="advancepayment.phtml" hash="ccba1332be108f51e27afaf713805dfe"/><file name="cashondelivery.phtml" hash="ad4e7185825b32b69ca06083c03c7a46"/><file name="creditcard.phtml" hash="6988cb1c2f870a93c93491776f2a6e84"/><file name="debitpayment.phtml" hash="8b2872c4ab51457cd3c42caec63a2885"/><file name="invoice.phtml" hash="b0548563fdacc3cb1757a838d2c03158"/></dir><dir name="info"><file name="advancepayment.phtml" hash="74b458367e5712c859d800b933ed95ff"/><file name="cashondelivery.phtml" hash="be7ae672724135b4a6babbf07d18513f"/><file name="creditcard.phtml" hash="c89761dabea8e6c31b8f400586619f21"/><file name="debitpayment.phtml" hash="d6064c3b4ac949d3cd13d50da428fd75"/><file name="financing.phtml" hash="8719ffe34094d2f0ce884cb9d8ebc04a"/><file name="invoice.phtml" hash="64001ffc31c0eafb832c03edd285fc5d"/><file name="onlinebanktransfer.phtml" hash="c9a2962511e29aa68999a41f5787340f"/><file name="safe_invoice.phtml" hash="8db49727920c0bd0f8ec98d168b8803e"/><file name="wallet.phtml" hash="bd71ab9ff89f2cfa590307c9e29e0ead"/></dir><dir name="pdf"><file name="safe_invoice.phtml" hash="667afd9640f1c34c1116c1939951e8d5"/></dir></dir></dir><dir name="protocol"><dir name="api"><dir name="view"><file name="plane.phtml" hash="fcfcb586c7c92606a6c309489c878d53"/><dir name="tab"><file name="exception.phtml" hash="54d0c77b153ff41fa10391b3177fc96a"/><file name="general.phtml" hash="8d4ad5cd56d33fd7fdcf0b4ff7bc0cc9"/></dir></dir></dir><dir name="transactionstatus"><dir name="view"><file name="plane.phtml" hash="7d19a22206a2384f5972a313017e4589"/><dir name="tab"><file name="general.phtml" hash="fd318ab622c4aa2c0554d7ce81843361"/></dir></dir></dir></dir><dir name="sales"><dir name="order"><dir name="create"><file name="init.phtml" hash="468a133c8dff06c7292b6e7d4de8068f"/></dir><dir name="view"><dir name="tab"><file name="transaction.phtml" hash="4af63c9829a7bd466eafc54ae9dd889a"/></dir></dir></dir></dir><dir name="system"><dir name="config"><dir name="form"><dir name="field"><file name="array.phtml" hash="1aee5fb9b33232708fe242601e4de701"/></dir><file name="iframe.phtml" hash="67366b7e745ab1a2a1f359360df88e07"/></dir><dir name="hint"><file name="payment.phtml" hash="c2de168313f9c9fcf906467af95dcaf9"/><file name="payment_reference.phtml" hash="2497578443d7d0455e7d75e1000aed32"/><file name="protect.phtml" hash="cfd300a3ff4f05ff143e1f78a669a7ce"/></dir><dir name="payment"><dir name="grid"><file name="container.phtml" hash="952f87bb71dfd75d126e3196f863dba6"/></dir></dir><dir name="tooltip"><dir name="general"><file name="global.phtml" hash="a37390c8dab60e16cbe50ee69e217f40"/><file name="narrative_text.phtml" hash="4ea256f2ef56d066050ea6d363b714f1"/><file name="parameter_invoice.phtml" hash="dc171aa4082645cfb9e1bd0d04271e67"/><file name="payment_creditcard.phtml" hash="b4b8502a3604fb12f075fe740d945034"/><file name="status_mapping.phtml" hash="1f61ee593d8eda86732bda7bc9e6e52e"/></dir><dir name="misc"><file name="creditmemo.phtml" hash="ba257ba5f772f0135a02bfcd384cf593"/><file name="discount.phtml" hash="4763652b79b6c7f9260fbe4c908f4732"/><file name="email_avs.phtml" hash="ea7f60f2f9021e8cc7c17995198150c4"/><file name="email_error.phtml" hash="9162008f414fb8cbe2794b4bd6a4d787"/><file name="shipping_costs.phtml" hash="7b5b83f9229475df906e20ef2037e820"/><file name="transaction_status_forwarding.phtml" hash="788210951399e85e94bf350ff2030f5b"/><file name="transactionstatus_forwarding.phtml" hash="a0a484355dda756674923af4515000b7"/><file name="transactionstatus_processing.phtml" hash="264705cbd3681a3a705dfe5f9b9459b7"/></dir><dir name="payment"><file name="creditcard.phtml" hash="8e484c4f491ab90dda0578800162fd1c"/><file name="debit_payment.phtml" hash="1dd18a9356f944799818771e18983986"/><file name="financing.phtml" hash="bc3fcfaa4b7540192085a03d8c91dc55"/><file name="method.phtml" hash="130b071e2363972df1f634585d6e0704"/><file name="online_bank_transfer.phtml" hash="93a29afae277ad94b4c1c124c96cfbcb"/><file name="safe_invoice.phtml" hash="2484a8ba66416937d48f2785175bdea5"/><file name="wallet.phtml" hash="ba12c5e01a515ff744f2ab02c8f10d0e"/></dir><dir name="protect"><file name="addresscheck.phtml" hash="3c350cec7badc0c6df013f03527a7b98"/><file name="addresscheck_type.phtml" hash="bc67f5743cc703e8a454e1adf0730a8d"/><file name="creditrating.phtml" hash="f378ace23555c6c9f95e37f032144250"/><file name="creditrating_agreement_message.phtml" hash="f58ee591b49d6d8f16770186ae45915f"/><file name="creditrating_lifetime.phtml" hash="c83c475ef6921147c587506b432ff0d4"/><file name="creditrating_type.phtml" hash="d994405b3e913dfdbc7884c2993eb78b"/></dir><file name="window.phtml" hash="b7de8be932ff20ab238c8882f50e4801"/></dir><file name="tooltip.phtml" hash="15f2dc92646a8d8533c7f1c1d0bb10b0"/></dir></dir><dir name="transaction"><dir name="view"><file name="plane.phtml" hash="8f4c2ef7fecfab8eb02d12b35e862b5e"/><dir name="tab"><file name="general.phtml" hash="68caff5aa8efad5e37378e9c7b739842"/></dir></dir></dir><dir name="widget"><dir name="form"><file name="container.phtml" hash="2ed5809647722a4a4358a89732100029"/></dir><dir name="view"><file name="container.phtml" hash="b750b77783092c218e3326734681c2f2"/></dir></dir></dir><dir name="migrator"><dir name="migration"><file name="index.phtml" hash="e61197db7ef214108863c79ddeb9815b"/></dir></dir></dir></dir><dir name="layout"><dir name="payone"><file name="configuration.xml" hash="e27c94d22f89de34b111eb755ded3d0e"/><file name="core.xml" hash="4c2937ab9409c8cdaf0833f064288f05"/><file name="migrator.xml" hash="eeb630d133aeb3f54010d9d194772c46"/><file name="transaction.xml" hash="765365f3a10d6ff526a4889c4a606153"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="payone"><dir name="core"><dir name="checkout"><dir name="onepage"><file name="init.phtml" hash="5c0c3bf8d37efdbf537b5384bc34398e"/><dir name="payment"><file name="additional.phtml" hash="3882f895bd113afc428393a71f5d7ccf"/></dir><dir name="review"><file name="sepamandate.phtml" hash="422228d0d062919f5868f4fc1105eb68"/></dir><dir name="success"><file name="sepamandatepdflink.phtml" hash="79198bd920f3ad9093a7ecfa6da65718"/></dir></dir><file name="protect.phtml" hash="efc045381a0a0bf4424032d5c6979c58"/></dir><file name="client_api.phtml" hash="1ec0b009b38dc06caa21467c3f4ffb71"/><dir name="payment"><dir name="method"><dir name="form"><file name="advancepayment.phtml" hash="53be7d1aebc234604157aa7e6dc47795"/><file name="cashondelivery.phtml" hash="0cad47103bbd341208e6252bd8fe47d1"/><file name="creditcard.phtml" hash="e74c0510cc127af463795f46c598a63b"/><file name="debitpayment.phtml" hash="5a50175da735d50fd431c192dd79d940"/><file name="financing.phtml" hash="d5f1f6ab21bcb7754fff985cdb3f87c7"/><file name="invoice.phtml" hash="64ec86d5cdd348a80a43a713abc1f0af"/><dir name="onlinebanktransfer"><file name="bankgroup.phtml" hash="e593d1e9d066a9b78015de46c9c9b06e"/></dir><file name="onlinebanktransfer.phtml" hash="f6327e34639ebc6ed23a5f7e500c454d"/><dir name="safe_invoice"><dir name="klarna"><file name="scripts.phtml" hash="c86c08b139497ae4619ac163333a4c51"/></dir><file name="klarna.phtml" hash="d8d3ac5e88a5485ce32fbd85148ba624"/></dir><file name="safe_invoice.phtml" hash="34ac7632459b1062ceb63e256a69ae6d"/><file name="wallet.phtml" hash="32fe1f2fc914b2c11b8c3506d03e0890"/></dir><dir name="info"><file name="advancepayment.phtml" hash="611af85c9ae80aa9c702b34fc0724e79"/><file name="cashondelivery.phtml" hash="5f369ef06729584e8bf094700877386d"/><file name="creditcard.phtml" hash="dc5ecc29deed279f93928e307c6d1ba2"/><file name="debitpayment.phtml" hash="d6064c3b4ac949d3cd13d50da428fd75"/><file name="financing.phtml" hash="25fec413f14104d9d589a88931a87443"/><file name="invoice.phtml" hash="64179e611f39b4b7e68cd367aecb0931"/><file name="onlinebanktransfer.phtml" hash="c9a2962511e29aa68999a41f5787340f"/><file name="safe_invoice.phtml" hash="201de7f768fdaf05f451cbad6a57a701"/><file name="wallet.phtml" hash="099fd47c84a62ad9510a47a24345d317"/></dir></dir></dir></dir></dir></dir><dir name="layout"><dir name="payone"><file name="core.xml" hash="773966e328709591d8b0cc3c5e6cc927"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Payone_Core.xml" hash="26082ff2574ca87302556c5c3a39b246"/><file name="Payone_Migrator.xml" hash="9af684dec6dc50d9e863538773350fb7"/></dir></target><target name="magelocale"><dir name="de_DE"><file name="Payone_Core.csv" hash="66fbeb0f7a3dd7ebaf5bf3d08e430eb7"/><dir name="template"><dir name="email"><dir name="payone"><dir name="core"><file name="avs_template.phtml" hash="fb6ebbfa5d1f95d58b321cf6feb81dba"/><file name="error_template.phtml" hash="009959ada1dabe51d7e1bbc36027a65f"/></dir></dir></dir></dir></dir><dir name="en_US"><file name="Payone_Core.csv" hash="8fca03aadc7afd1cf45cb7f78e6d5c71"/><dir name="template"><dir name="email"><dir name="payone"><dir name="core"><file name="avs_template.phtml" hash="fb6ebbfa5d1f95d58b321cf6feb81dba"/><file name="error_template.phtml" hash="009959ada1dabe51d7e1bbc36027a65f"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="."><dir name="js"><dir name="payone"><dir name="core"><file name="addresscheck.js" hash="6568d29af003fa91f0b5c469ff464e3c"/><file name="client_api.js" hash="dd107fcd812ac77a99e3b72c01672b7a"/><file name="creditcard.js" hash="f42420630073ccd92349bec7b3ed3d8f"/><file name="debitpayment.js" hash="d747ffcf875d940926467095c2b7e95a"/><file name="financing.js" hash="77ba32ce7b8c2bebf561709ebc956b41"/><file name="klarna.js" hash="569c92d2ac2112a6f243d04dde413756"/><file name="onlinebanktransfer.js" hash="cdfde3c2f1dd41a7e6d746e64f24b9eb"/><file name="safe_invoice.js" hash="18e2937400142d0e26fd0fe068e5e293"/><file name="sepa_input.js" hash="d75b03eb199d74a7620020acc815744f"/><file name="sepa_validation.js" hash="e8b50fd2da5bd35bf5acfd6450838efe"/><file name="wallet.js" hash="8b52a7055252923888319dd057aa1e4e"/></dir><dir name="migrator"><file name="migration.js" hash="602a23b295cf6b241845fa626b089c91"/></dir></dir><dir name="prototype"><dir name="windows"><dir name="themes"><dir name="payone"><file name="btn_bg.gif" hash="37c51a4d48a92da9648dcd3ca011039f"/><file name="content_bg.gif" hash="21278ea0da2d4256f4ced96b6080ba2e"/><file name="logoclaim.gif" hash="d71545ef09e2f10339654cda93d1cca2"/><file name="top_bg.gif" hash="26f28090de87d64f9b01bf624f89bfe2"/><file name="window_close.png" hash="1944445eb3fb14f0ede092665ccbbf0b"/></dir><file name="payone.css" hash="ca84a0501c8f6f794c08bc34c013aa01"/></dir></dir></dir></dir></dir></target><target name="magelib"><dir name="Payone"><dir name="Api"><dir name="Adapter"><dir name="Http"><file name="Abstract.php" hash="8d37bc6e9bd6acd0e5b1350542e43f9d"/><file name="Curl.php" hash="64d649310b514790422664b5ba1c0b3b"/><file name="Socket.php" hash="1bd51c5e95bce114d3ba12098464b072"/></dir><file name="Interface.php" hash="8d398fe489610c76b237847b5e05b300"/></dir><file name="Config.php" hash="d5024c64e3e7b543d56fe7999ad00fe5"/><dir name="Enum"><file name="AccessAction.php" hash="7af90f74e723b45ad66852cc48180bf5"/><file name="AddressCheckDivergence.php" hash="ed818028f3cd09958a16f41af52b6f63"/><file name="AddressCheckPersonstatus.php" hash="67b5e5e1b0b6eaed4f2eb51bfee3eddb"/><file name="AddressCheckScore.php" hash="1260e0f031526f7707b3a24dd81b7c46"/><file name="AddressCheckSecstatus.php" hash="785c4449b18e153f8359e354a318ba84"/><file name="AddressCheckType.php" hash="bda748769b6408222e6819d660d52404"/><file name="AvsResult.php" hash="aa6abfcd74a49fa2c72b70935456e458"/><file name="BankaccountCheckType.php" hash="b8204010ee3df148395d3c0373c2f67a"/><file name="CaptureMode.php" hash="8a0c5c7b78d8a9e0f44268eb3ef65bf5"/><file name="ConsumerscoreScore.php" hash="119bf444889838ad55b57154eb62f960"/><file name="ConsumerscoreType.php" hash="e5f25aae50aa061a54e4b286c25f3272"/><file name="CreditcardType.php" hash="d2027a0ac1b44de3c818809adff905aa"/><file name="DebitTransactionType.php" hash="644169299e92d74b82c15563df348c1c"/><file name="Ecommercemode.php" hash="9e72976aba594d506f62e15f0c7c9ec1"/><file name="FileFormat.php" hash="5bd47fb4e462e951f2169c6734242c19"/><file name="FileType.php" hash="095d4b46f56a93b26f16f470651bb02e"/><file name="FinancingType.php" hash="7c1d6af8473c27668be28eb234e88b04"/><file name="Gender.php" hash="fd769d163ae062a020fe335d473ebce4"/><file name="InvoiceDeliverymode.php" hash="20c0fb5edc752eaa13f7485ae927302b"/><file name="InvoicingItemType.php" hash="6b179cde7ee57c4e2d979836ea0134b6"/><file name="OnlinebanktransferType.php" hash="11438be9127821ed1b160420a5139011"/><file name="PayoutOpenBalance.php" hash="f3a9648a134d0637dc0b86ba2d466805"/><file name="PeriodUnit.php" hash="aaa82eab4aae4837e4df7c7abab7652c"/><file name="PeriodUnitRecurring.php" hash="c7064252b3dbb22688f133c3294218df"/><file name="RequestType.php" hash="b200d265b70e7ba609dfb64ebd5c6fb5"/><file name="ResponseType.php" hash="98652b6dcb80cdc36cec7454785082aa"/><file name="Settleaccount.php" hash="ea59cbeec8798b4d19c16eefb8824031"/><file name="Shippingprovider.php" hash="cbf70776a47ba3eb482bab7d36da24e7"/><file name="Storecarddata.php" hash="91fc3b5f0fe6b5d13cf3178f01cdec00"/><file name="UseCustomerdata.php" hash="72f1a1c38c834ee0bae56623d899643d"/><file name="WalletType.php" hash="a5bb130661bacc7d226e0859d3967427"/></dir><dir name="Exception"><file name="Abstract.php" hash="60f869606e12f5934d8044ab2182130a"/><file name="InvalidParameters.php" hash="a7d3f28d3c771a025a22822f36c6280b"/><file name="InvalidResponse.php" hash="465c7f77851b8dbd7a31f367b0421bd2"/><file name="InvalidUrl.php" hash="7a43bdcca4c81f47eca5982a0f173175"/><file name="MappingNotFound.php" hash="f9bbcb55bafee8da15bf3a7ba3d49cbb"/><file name="Payone.php" hash="7b6bc8521fc6f68582c3c8f28d1d9ea7"/><dir name="Request"><file name="InvalidKey.php" hash="7fb3d17cacda83b421fda79ca815747c"/><file name="InvalidMid.php" hash="3f6031ccbffa16c8091ba25e87b105e3"/><file name="InvalidMode.php" hash="7388ff3c863ea620d7c2847a6e610a8c"/><file name="InvalidPortalid.php" hash="ef0d20493a9d1964a44c8f9ae9b15248"/></dir><file name="Timeout.php" hash="0bfdac99f441015b835a218886ae2987"/><file name="UnknownStatus.php" hash="f8bbb8759bdb8104daaed59a31d4b632"/><file name="WritingRequestToServer.php" hash="6bac9fe5228568d57b9492afdc5096e6"/></dir><file name="Factory.php" hash="7137d53aa65fd143ca480198f897c316"/><dir name="Mapper"><file name="Abstract.php" hash="4b8a025d4e906ee806d025ec9fd8f385"/><dir name="Currency"><file name="Interface.php" hash="a166444b69c22891983b475d98a9c4ba"/></dir><file name="Currency.php" hash="f8b9151eb9f4851d9c0b1dcee5dde465"/><dir name="Request"><file name="Abstract.php" hash="682ab94bfa9d4b4e772c973504b944ca"/><file name="Interface.php" hash="300f24067b5e02cbcad586ae64cd2bd0"/><dir name="Management"><file name="UpdateAccess.php" hash="16e4d33fe2ee60e74801f600062e68e0"/></dir><dir name="Payment"><file name="Abstract.php" hash="80457e0ca50f31bb491f9c0c30af28d3"/><file name="Authorization.php" hash="24bb9c33163acf92764c5e3d98c8890c"/><file name="Capture.php" hash="1e99a0ee422ad8a049c669ce2b0925a7"/><file name="CreateAccess.php" hash="12066747cfb777291469b1f05ecdfd4e"/><file name="Debit.php" hash="88646c41c5b422f60c2c71bced0c6180"/><file name="Preauthorization.php" hash="65c3d30b553aa821f77bd98d29e4bb7a"/><file name="Refund.php" hash="323148b00ae50d41058ba9ec09aca2b3"/><file name="Vauthorization.php" hash="81040f290461acb49401626862f35ca3"/></dir></dir><dir name="Response"><file name="3dsCheck.php" hash="8df0b3a1e60a42037bb428936f1af395"/><file name="Abstract.php" hash="a8c4e328f344faa657b8eb2c3ac3299c"/><file name="AddressCheck.php" hash="d46ac343f5523ad99b7c448454917fdf"/><file name="Authorization.php" hash="e0d574e2314756f02ad348856734305d"/><file name="BankAccountCheck.php" hash="3a451451285b792cd3f338173c32cd23"/><file name="Capture.php" hash="d932dcd2a2a1aae8fe5ea01b1eb3d203"/><file name="Consumerscore.php" hash="fe049746f267422141c67ae3bff59a66"/><file name="CreateAccess.php" hash="1f5292cdf982544b89705e100bb72832"/><file name="CreditCardCheck.php" hash="507102173d66ffc8c59643c8c5c8b962"/><file name="Debit.php" hash="0cc821fe414ba12b6f0a47c737032b81"/><file name="GetFile.php" hash="e89f24a68fee671cb471cabe71f3edaa"/><file name="GetInvoice.php" hash="e8d48e92395106748609307bf75d9757"/><file name="Interface.php" hash="ec7a85fd32a14f8e3fb6c53999a3b29c"/><file name="ManageMandate.php" hash="9951957e3736f4db9b78cf782e31b16d"/><file name="Preauthorization.php" hash="61ca02a765f954d8d7ef3787bc998c0b"/><file name="Refund.php" hash="49db64773b4d50e513d0dd0b229f2a94"/><file name="UpdateAccess.php" hash="7d3df9f90aa41679adeacba401998394"/><file name="Vauthorization.php" hash="5f92e7c5ef6d83966204aa7fffea4b5c"/></dir><file name="currency.properties" hash="eef9fbec34f4f4a2602f6081fcfda371"/></dir><dir name="Persistence"><file name="Interface.php" hash="a77efa3aeb4734aebfe18c9f7e4ccc7f"/></dir><dir name="Request"><file name="3dsCheck.php" hash="8502019ed3c3057fe05ee3c1a71aca21"/><file name="Abstract.php" hash="5c9806f9f608d5f5e89b9c54927990db"/><file name="AddressCheck.php" hash="aa187c6821e3cef431b119c33a5bf23f"/><dir name="Authorization"><file name="Abstract.php" hash="80971aafc19e11d5e3223a9048b719d1"/></dir><file name="Authorization.php" hash="52ed73816ee6887ed4461e5850893182"/><file name="BankAccountCheck.php" hash="e53d0e170608dfac05b1706706bd1212"/><file name="Capture.php" hash="1f853ee78f5813ee4e68082fff76fa53"/><file name="Consumerscore.php" hash="afc7c64148ff01a2044dc748eb78d8a4"/><file name="CreateAccess.php" hash="0819c933758a595ee2ce4ba97bc5d57b"/><file name="CreditCardCheck.php" hash="92abb97fdb171cd07a0af63d51de7fd5"/><file name="Debit.php" hash="f2fcec84c6d37efa17df7598933c7b26"/><file name="GetFile.php" hash="d3cc699dd1fb7720a3f1ea73ff9c8965"/><file name="GetInvoice.php" hash="a5bf340eef45f0b974badc21899423c6"/><file name="Interface.php" hash="338199100f226bb478a7e79c1594bfc9"/><file name="ManageMandate.php" hash="ba5bdc60c35b954ddbf54f0c1452e707"/><dir name="Parameter"><file name="Abstract.php" hash="653a1b46ee15ed2d01a55e2f24a1dc9f"/><dir name="Authorization"><file name="3dsecure.php" hash="1280e05ad2671b85255b64ebc64d69d0"/><file name="Abstract.php" hash="cf44e93bc1e56cc84df5f4ab4088050b"/><file name="Business.php" hash="b8c430800c69b62410037cf57491c3cb"/><file name="DeliveryData.php" hash="4f2ac6a7c1ab5d84cfbddfd00673daf2"/><dir name="PaymentMethod"><file name="Abstract.php" hash="9714088466bee6c8349584c74568c5fd"/><file name="CashOnDelivery.php" hash="8472ab78a107d67d2bb1585802d3e961"/><file name="CreditCard.php" hash="36bf310a53ccce2a310884c467b91cc0"/><file name="DebitPayment.php" hash="951a5709819744dea784f3978d1c4e7d"/><file name="Financing.php" hash="2b2ba3e07535705c0382d538110eafdf"/><file name="OnlineBankTransfer.php" hash="cbdd65f16b986260beca3f512bb19572"/><file name="Wallet.php" hash="f4a72017354b2b8ffba75892e6decddb"/></dir><file name="PersonalData.php" hash="11f9311908abd421e8cdb038bb048579"/></dir><dir name="Capture"><file name="Business.php" hash="fb5c8262c2eaad6a2ce9cbb88afe0b2a"/><dir name="Invoicing"><file name="Transaction.php" hash="f6dce30897bbc38eae58ed5bd10d7e0a"/></dir></dir><dir name="CreateAccess"><file name="3dsecure.php" hash="9cdd0c2948d91917002f67f4b6df7615"/><file name="Abstract.php" hash="facb0550043ca99d02cebee364480b82"/><file name="Billing.php" hash="5b562feed4c70471138d7d9a205ad9b7"/><dir name="Invoicing"><file name="Transaction.php" hash="d4bc46e2d834734ee4deea6a7236ee48"/></dir><dir name="PaymentMethod"><file name="Abstract.php" hash="48adbd8e0a37d0ea47b663a848a32158"/><file name="CreditCard.php" hash="b459cb17ffc04b47a7f07ad2bf35ce2a"/><file name="DebitPayment.php" hash="1eedc44773005daa8ca326cfb4765f4f"/></dir><file name="PersonalData.php" hash="8cfdceda4a1f4df12f948ecb244de9a5"/></dir><dir name="Debit"><file name="Abstract.php" hash="ad7c2f583cd2bb8f2e2799319ec293f3"/><file name="Business.php" hash="cb5ced7f6e449a4572227fd868681e1f"/><dir name="PaymentMethod"><file name="Abstract.php" hash="10fe457332ef63d231208d5074a87925"/><file name="BankAccount.php" hash="8ae63c46a4697feebc1bd7f509973b93"/><file name="CreditCard.php" hash="8c30a4f7a7352bc137a7708b2e35de70"/></dir></dir><file name="Interface.php" hash="6e34e7349bf3eb3ea52418781b6bca31"/><dir name="Invoicing"><dir name="Access"><file name="Item.php" hash="a5d8f3e81562f7927c02291005c687ac"/></dir><file name="Item.php" hash="b61d4ceadc6dadc4ba5082d7c6705568"/><file name="Transaction.php" hash="3038d8b62150e0e51763d48c4ff8e239"/></dir><dir name="ManageMandate"><file name="Abstract.php" hash="1d06da34f7e4a789305a7933b904c54a"/><dir name="PaymentMethod"><file name="Abstract.php" hash="a46d217328bf50e110686e564208ce8e"/><file name="BankAccount.php" hash="7105e6ae2878d95723ebc17f4b59057b"/></dir><file name="PersonalData.php" hash="a1801533d9f9bac1eb85049547ae553c"/></dir><dir name="Refund"><file name="Abstract.php" hash="6e49e729223f6ea7d095d43923928b9d"/><dir name="PaymentMethod"><file name="BankAccount.php" hash="5710f9b4cc057465977ecbd60623e8fc"/></dir></dir><dir name="UpdateAccess"><dir name="Invoicing"><file name="Transaction.php" hash="faaeafaa78b60f7d8d477c41aa72807a"/></dir></dir><dir name="Vauthorization"><file name="Abstract.php" hash="300ad44cb6bb1e2e9588e6ac2250820a"/><dir name="Invoicing"><file name="Transaction.php" hash="cf24f8ff578f15e25d0e7ecf955d3a70"/></dir><dir name="PaymentMethod"><file name="Abstract.php" hash="99dfa4c670708e81a411d5b8ae7a5ad4"/><file name="CreditCard.php" hash="4580b155e79c6ef4ffc24a123c2470e2"/><file name="DebitPayment.php" hash="d840f41b86010ff9f7f71101af472c43"/></dir><file name="PersonalData.php" hash="2d909e623d5c1cab9d56fa09e7e83c2e"/></dir></dir><file name="Preauthorization.php" hash="0a681074560da4069e694892c0064f6c"/><file name="Refund.php" hash="56c0bb2425448b6e0a57bdd35944250b"/><file name="UpdateAccess.php" hash="e7acd46bcd6eded87d3fe1b38e693521"/><file name="Vauthorization.php" hash="7d694e09878145eedd07164c40fc083a"/></dir><dir name="Response"><dir name="3dsCheck"><file name="Enrolled.php" hash="1972e3bf59047a74755a0e40d6732ac1"/><file name="Invalid.php" hash="a09d5b1eec2b0956d4023d2f2b14f237"/><file name="Valid.php" hash="1ad50cd437af0de75aad8c2fcffa85bc"/></dir><file name="Abstract.php" hash="8aa20c1529cc03a0f6c64d8e4f2690b2"/><dir name="AddressCheck"><file name="Invalid.php" hash="132932a39401c298578935e74c416fbe"/><file name="Valid.php" hash="29793361fab8fffc1216ebf211660dde"/></dir><dir name="Authorization"><file name="Abstract.php" hash="bb03d2155a37cff92c2c25391d2861cd"/><file name="Approved.php" hash="74d415c45fac3df416ee8ccd6a06f895"/><file name="Redirect.php" hash="1a239aa8bdff6e89b14a43d4ca3be68b"/></dir><dir name="BankAccountCheck"><file name="Blocked.php" hash="8716ee872b079670aeba08e498407754"/><file name="Invalid.php" hash="9317da83f806353ba8692e2d91f0db31"/><file name="Valid.php" hash="3080f0018201faa408964a7d9a126e6e"/></dir><dir name="Capture"><file name="Approved.php" hash="bb1e8af4ec34d7db27675d4a00c8b3c3"/></dir><dir name="Consumerscore"><file name="Invalid.php" hash="4ec7a41513ca28e7081e0a7b0fa35f44"/><file name="Valid.php" hash="e0053bb2af649d504dad28f163c0a61c"/></dir><dir name="CreateAccess"><file name="Approved.php" hash="fb671f8b94eb8cb2f01085c71385ef92"/></dir><dir name="CreditCardCheck"><file name="Invalid.php" hash="e95422fb58384c0ca0e82db79dbd5a8f"/><file name="Valid.php" hash="e3565fede3a2b5d80e668617abcf463f"/></dir><dir name="Debit"><file name="Approved.php" hash="a9071053a4352acaf3674e8831e84102"/></dir><file name="Error.php" hash="361aab061dbcd5aade4d2a2ae5224620"/><file name="Interface.php" hash="bfb530e8de56624e9a5a93bb3d8d22d3"/><file name="Invalid.php" hash="d91d1b8f6214e350493c688f3226325b"/><dir name="Management"><file name="GetFile.php" hash="06e3fbf9e04f5c88d8593c2864b58782"/><file name="GetInvoice.php" hash="00cced79a4094cfdcb42a25da88f9fef"/><dir name="ManageMandate"><file name="Approved.php" hash="7f5e2ec51c4891f5d0062b73d6cf7e30"/></dir><dir name="UpdateAccess"><file name="Ok.php" hash="d3ff7ae424089882b86308fad8b70361"/></dir></dir><dir name="Preauthorization"><file name="Approved.php" hash="67775fbdad364515618a69ed583b9c7a"/><file name="Redirect.php" hash="7dc6d21e5d7395127f8a4cceac1ee3ba"/></dir><dir name="Refund"><file name="Approved.php" hash="06f5abaf7335c7bc572d0f7707a9d110"/></dir><dir name="Vauthorization"><file name="Approved.php" hash="ef3cffaad1b2498fc2d0028dff8f3bbb"/></dir></dir><dir name="Service"><file name="Abstract.php" hash="24ef22fd385dd99d6f2bf4413b74cac1"/><file name="Interface.php" hash="a3c79f33b0a9ac10778c088e2b660ad3"/><dir name="Management"><file name="GetFile.php" hash="63e55675376dcc372cee6ef5b5d3fb33"/><file name="GetInvoice.php" hash="e7e764daa5ec37aa40905a76236f01f7"/><file name="ManageMandate.php" hash="f3d88d315ab5567bb8b0c79e39c2a3ea"/><file name="UpdateAccess.php" hash="0f0b9ce67ac880ae3589d51ff5b8fad6"/></dir><dir name="Payment"><file name="Abstract.php" hash="31697d161f8ddecbf1380fcfde1b278b"/><file name="Authorize.php" hash="cc79d2f1743a14c4659d4526814857b3"/><file name="AuthorizeInterface.php" hash="a252deb55f6d2856d22389d7946c96e8"/><file name="Capture.php" hash="70510c4b962bf20632cc824239d79924"/><file name="CaptureInterface.php" hash="df0375f93cb5c86391fbb1394ef45a32"/><file name="CreateAccess.php" hash="3c6886cd92e46fd5a57c80002b5942c0"/><file name="CreateAccessInterface.php" hash="003a3d785f83286f506b869171962aa4"/><file name="Debit.php" hash="18c7aed47628aed4ffb5baef2fad14ac"/><file name="DebitInterface.php" hash="47d73baa6e092f21dfc7ffcc43eb9c4d"/><file name="Preauthorize.php" hash="46f363b78ae3f6a4af15755570f5edea"/><file name="PreauthorizeInterface.php" hash="d73caab0e6851b246e5c3aed6026e08b"/><file name="Refund.php" hash="3c0967aba96de8d9c14153f6659b9d2b"/><file name="RefundInterface.php" hash="0cb30e224128b3f8a2f61a6a750af4cd"/><file name="Vauthorize.php" hash="abf55267f5ffbfa31307b0244e6d39bb"/><file name="VauthorizeInterface.php" hash="16331e48b7c2e1d505ca7318ad4740fc"/></dir><dir name="ProtocolRequest"><file name="Interface.php" hash="e45a08d8c42675881617033eda0df27b"/></dir><file name="ProtocolRequest.php" hash="84ff92e03b1ce5237c7384df13dca268"/><dir name="Verification"><file name="3dsCheck.php" hash="c7592588376cce47fb44fc752b2b6a42"/><file name="AddressCheck.php" hash="e51e5e7383b24798b8ab077964f68a3e"/><file name="BankAccountCheck.php" hash="a2c419d80194abf5fa5678c8f68c8360"/><file name="Consumerscore.php" hash="e2c011355f09a8fda2b0b10e65b96372"/><file name="CreditCardCheck.php" hash="75f87cc35b2de68d957ca98a69acc869"/></dir></dir><dir name="Validator"><file name="Abstract.php" hash="ead86ababa76997e8dd8886ebfc3335c"/><file name="DefaultParameters.php" hash="e4fb2582a213f164d9ca8f2ba764cb06"/><file name="Interface.php" hash="cd0994f06f5cb491f19820e99da952d0"/></dir></dir><file name="Autoload.php" hash="abd312c31dd8a49e589dbf16e94e26e2"/><file name="Bootstrap.php" hash="e0e3380ceba6f5315d57f1d3238bfb92"/><file name="Builder.php" hash="fed3ab0252cfe5e5028f4c960b45b82d"/><dir name="ClientApi"><dir name="Enum"><file name="RequestType.php" hash="c30f83abe7dc48c59339b7fa3e3648af"/><file name="ResponseType.php" hash="8d07f1c93d0680f61d59bf2163042be5"/></dir><dir name="Exception"><file name="Abstract.php" hash="1eb99fc78d7289b66c62b9f3feeaf5f4"/><file name="InvalidParameters.php" hash="19df1c0d0bb6ef91560329ca960d5e8d"/></dir><file name="Factory.php" hash="7fe76a15b47eb692360485b2c86d0023"/><dir name="Request"><file name="Abstract.php" hash="82a935f450b054ad0316e06dcfff3599"/><file name="CreditCardCheck.php" hash="89ad304836bfe249de78a7ed2f4df4aa"/><file name="Interface.php" hash="a5550465e40d44f2bdca9d25581b1aff"/></dir><dir name="Service"><file name="GenerateHash.php" hash="489d77268d75a908ada40d9e2236331b"/></dir></dir><dir name="Config"><file name="Abstract.php" hash="57627d0919526793ad2fb0e5d70d32d8"/></dir><file name="Config.php" hash="c85ae1e3cf73331ca45ec4a15645263a"/><dir name="Enum"><file name="ClearingType.php" hash="e14bc770728c22c5f68f8dd032010f8c"/><file name="Mode.php" hash="ee9b0a7e12c9e582b7e25ccbbadb6b72"/><file name="Reminderlevel.php" hash="c552342982d010a94925ebb841ecc7eb"/></dir><dir name="Log4php"><file name="Logger.php" hash="8447fe973f3ef059ff0f57d82618ccf6"/><file name="LoggerAppender.php" hash="ec9686c66cb5574be4830abcd220a097"/><file name="LoggerAppenderConsole.php" hash="6a59da37cf0f37ff6665836a61da5bd2"/><file name="LoggerAppenderDailyFile.php" hash="6308ee07f3860bb3c6140eabfeb71cd7"/><file name="LoggerAppenderEcho.php" hash="68d7b55b079911e34e1f37317a49d586"/><file name="LoggerAppenderFile.php" hash="a96d454f13a48df572a5f80e4728c60a"/><file name="LoggerAppenderMail.php" hash="e9516e72ac3b6f831e4cc68205bbfde4"/><file name="LoggerAppenderMailEvent.php" hash="823f0b4c97f304a49fecb2a125f87437"/><file name="LoggerAppenderMongoDB.php" hash="6fb689ec75a81aa09d6eda5e4d43f212"/><file name="LoggerAppenderNull.php" hash="e83a4107179bf0bf1bb89f9cb8ea725c"/><file name="LoggerAppenderPDO.php" hash="34f1702a1fc36937a3c76f0eeb45df1b"/><file name="LoggerAppenderPhp.php" hash="34bb58d31236f6c501f961ce8e96d36e"/><file name="LoggerAppenderPool.php" hash="1c73795f9dce5960f09c95ef56cb2736"/><file name="LoggerAppenderRollingFile.php" hash="e3cacef4624d5ba9d7513490b451b32e"/><file name="LoggerAppenderSocket.php" hash="2b87c559b48feb5f2315134b2f4acf58"/><file name="LoggerAppenderSyslog.php" hash="69be997a8204e4d99a334c9a59e8bbcc"/><file name="LoggerAutoloader.php" hash="e998c843da4562d03fdba363dd796b4b"/><file name="LoggerConfigurable.php" hash="0f7c49d4b5c7951f7a5ebcb6fd72dc98"/><file name="LoggerConfigurationAdapter.php" hash="c0adc3a6cbaa800f9a1485d1f1fefed3"/><file name="LoggerConfigurationAdapterINI.php" hash="ea216d508a831c88a7bc6c13c3f2fc85"/><file name="LoggerConfigurationAdapterPHP.php" hash="a41c90c802c25ba8dec45b3138993590"/><file name="LoggerConfigurationAdapterXML.php" hash="a12cbab8e379f4984c078abfc58502f2"/><file name="LoggerConfigurator.php" hash="0e66c44e35c1cd3df0e59d2d573b550c"/><file name="LoggerConfiguratorDefault.php" hash="e01b6a93b7c4bff6b4cc82b7bda3c257"/><file name="LoggerException.php" hash="9e440d4b1cbcd75841ea11fe383841c4"/><file name="LoggerFilter.php" hash="c7b2470b5a201128e7838acb4e5965a2"/><file name="LoggerFilterDenyAll.php" hash="bc6153cbbe58c9449dcbe0eb58dcff05"/><file name="LoggerFilterLevelMatch.php" hash="48bed57d8094cd3b579a58ec9a509548"/><file name="LoggerFilterLevelRange.php" hash="f68174150dc2b0c43fabe882f5215d8c"/><file name="LoggerFilterStringMatch.php" hash="01b8f3f9ac023f7d20d3461be14f643f"/><file name="LoggerFormattingInfo.php" hash="364f3d31ee870acd469ca1fc1f8765ff"/><file name="LoggerHierarchy.php" hash="9163da991071a18867bf266bf735e078"/><file name="LoggerLayout.php" hash="6b31185297862e7d0b66cbeea0145eb6"/><file name="LoggerLayoutHtml.php" hash="d8a72d0aedfd68e8caed9953ae437315"/><file name="LoggerLayoutPattern.php" hash="a218e8726660ebca2d1f2d608ecaa343"/><file name="LoggerLayoutSerialized.php" hash="00a06131613a91c7c7ee6a5ba3947435"/><file name="LoggerLayoutSimple.php" hash="3476e848e0a0e5d747ba5012e65dfa1d"/><file name="LoggerLayoutTTCC.php" hash="4ae4f2443bf260b17c0c0c6f17065be7"/><file name="LoggerLayoutXml.php" hash="773e7660f2101b9ea902ec0a4b980c70"/><file name="LoggerLevel.php" hash="db8bce0726dec9bd9b0d6d02ae090049"/><file name="LoggerLocationInfo.php" hash="e245242f642455df5181d39b2a49bc54"/><file name="LoggerLoggingEvent.php" hash="663c8dfbdc7bae7c81a9184aa6be6e10"/><file name="LoggerMDC.php" hash="10fe2e863b66480aff6fe7c7109d8b39"/><file name="LoggerNDC.php" hash="afc52c64b7e31fa006ccbc1b18910dfd"/><file name="LoggerOptionConverter.php" hash="03ba7a93f58a843d18d168da0091b719"/><file name="LoggerPatternConverter.php" hash="8c384ce762db48a9e797929cb128f3d4"/><file name="LoggerPatternConverterClass.php" hash="d6a162b0bc1034d768b5738385e29630"/><file name="LoggerPatternConverterCookie.php" hash="a0dc2686c21284986f44ef306fdc3ff8"/><file name="LoggerPatternConverterDate.php" hash="2912f6c9b82d694b40ccc4accdba2e89"/><file name="LoggerPatternConverterEnvironment.php" hash="d7b8736d5784612941235a821f458ede"/><file name="LoggerPatternConverterFile.php" hash="10028ea79771e11a9c1c615b10fec045"/><file name="LoggerPatternConverterLevel.php" hash="d377b9f1eac786fa56f5232bc3a29eb3"/><file name="LoggerPatternConverterLine.php" hash="8c7c68267321e96b0dd9d5de3415a431"/><file name="LoggerPatternConverterLiteral.php" hash="5d846e8bbc96f26bc8e174013a1a5032"/><file name="LoggerPatternConverterLocation.php" hash="81536bcf1001bb97dfa21e9f7cbd4c5c"/><file name="LoggerPatternConverterLogger.php" hash="20b17edda41867d62c704c127f749b15"/><file name="LoggerPatternConverterMDC.php" hash="e4dc6877f736f846e1a4cc176b7c3a9b"/><file name="LoggerPatternConverterMessage.php" hash="30545b3ad7c93ea2193d342e2f99c2e7"/><file name="LoggerPatternConverterMethod.php" hash="eea57c3ef84b389ca433a7f2293582ae"/><file name="LoggerPatternConverterNDC.php" hash="f9275e216e7528b91d70998ad7475d91"/><file name="LoggerPatternConverterNewLine.php" hash="1ae8aa85ad891dbc7f1e41ed26194546"/><file name="LoggerPatternConverterProcess.php" hash="cd6244ec38481c95bfa7b6a2db5027c9"/><file name="LoggerPatternConverterRelative.php" hash="d1558f42568aad26b3a76d8608843841"/><file name="LoggerPatternConverterRequest.php" hash="4bdcac1e0447e330562315e4ae4f023c"/><file name="LoggerPatternConverterServer.php" hash="bd737b114527ea39dd5b960c22e1b349"/><file name="LoggerPatternConverterSession.php" hash="a613871c06e80970944445cdd4233cda"/><file name="LoggerPatternConverterSessionID.php" hash="91cdd24b77656cafd2e1ae647290fa8e"/><file name="LoggerPatternConverterSuperglobal.php" hash="ab3d22445bebe7335324f26384bd8cb1"/><file name="LoggerPatternConverterThrowable.php" hash="529b157d117600859d9fce6336096951"/><file name="LoggerPatternParser.php" hash="57eaa66b2207b388b353648f9a17c6f9"/><file name="LoggerReflectionUtils.php" hash="f10a30a11f0c1a2859a36ce89c22665a"/><file name="LoggerRendererDefault.php" hash="f1c84c625d1f14aab88e9a25ebd89225"/><file name="LoggerRendererException.php" hash="e00057ffc0687098d42a8fe09bd61f58"/><file name="LoggerRendererMap.php" hash="d37dd01cecf80bb13b99e892a964aae3"/><file name="LoggerRendererObject.php" hash="1d1837e2d3d1388be77a838722b201f4"/><file name="LoggerRoot.php" hash="e00579b43b67450ff7e88f230e9af8fd"/><file name="LoggerThrowableInformation.php" hash="ed28cd254f3a6f5220ecf4d191ed7e82"/><file name="LoggerUtils.php" hash="400c7578fb86bc02f9153da5d982576c"/><dir name="xml"><file name="log4php.dtd" hash="d4da6c96c895b879f6b1924eb8d949d4"/></dir></dir><dir name="Protocol"><dir name="Config"><file name="Filter.php" hash="f8781db0de4e426e3c2b107eca7bf13d"/></dir><dir name="Exception"><file name="FilterNotFound.php" hash="72b1c4ffa31b18ec27eed40469d222ae"/><file name="InvalidConfig.php" hash="78345f6cd5dd3918747303c9780eda09"/></dir><file name="Factory.php" hash="690d0411a8e3967091117745bd7290ad"/><dir name="Filter"><file name="Abstract.php" hash="9d5c4977a5674a5ebba0921aee3810e3"/><file name="Filterable.php" hash="a9d19c275d9c0930dbdcd1f38b99c4bf"/><file name="Interface.php" hash="7bdc72724988eafedf2a503d1a1371a5"/><file name="MaskValue.php" hash="27f5dfd7c608f4de67fd26f9751b7500"/></dir><dir name="Logger"><file name="Interface.php" hash="80c813837bfc8d3b62d548daa3bbc5e5"/><file name="Log4php.php" hash="6815d39e4acad685e5350e38bc2eccf4"/></dir><dir name="Service"><file name="ApplyFilters.php" hash="ab881b292dade78add817503e15b68ea"/><dir name="Protocol"><file name="Abstract.php" hash="c123ad9b6ed31d34c1236cbbe3c8c0a6"/></dir></dir></dir><dir name="SessionStatus"><file name="Config.php" hash="0057a291fc33d96d46b00c201387ce48"/><dir name="Enum"><file name="Action.php" hash="86aae514964a85a0dff8fb7d7c79093b"/></dir><dir name="Exception"><file name="Abstract.php" hash="6128f2e2d4ad5a38dfb09cc2adecc21f"/><file name="MissmatchingKeys.php" hash="c69e2e3e5f81ba53f4226f9757d1dfc0"/><file name="NoPostRequest.php" hash="6adfc0610f747cb2151aed01c6bdfec9"/><file name="NoRequestData.php" hash="6132f51c715ab7eb3ee1937455261a47"/><file name="Validation.php" hash="159feaa182829dd2ccb0bbf978b6e1a8"/></dir><file name="Factory.php" hash="158da95caf6b9146f52b3ef1407f06fe"/><dir name="Mapper"><file name="Request.php" hash="8ec870251f12c9d067b5aef628ad56d4"/><file name="RequestInterface.php" hash="61acebb1e89c610fb37ba525a7412090"/></dir><dir name="Persistence"><file name="Interface.php" hash="2c78e6c0e8eca67cc7b2d126b7fa547d"/></dir><dir name="Request"><file name="Abstract.php" hash="0ad0ad8e49f2d31664ca34fcf4ae32a1"/><file name="Interface.php" hash="e8c06647011871c9da566392b45f256e"/><dir name="Item"><file name="Abstract.php" hash="ff9ea330efbb8cce8b4e1749f2b6d0e6"/><file name="Interface.php" hash="cfc5e6e7f3d04a3ece7fe4886af94b05"/></dir><file name="Item.php" hash="865487598996bde31a4cc80bcf6b59e4"/></dir><file name="Request.php" hash="33c3d7d1fbe705dd1345b93af9de5ea9"/><dir name="Response"><file name="Abstract.php" hash="cf4341d0544b36f542ab4a9b47679add"/><file name="Interface.php" hash="5d66a02df38baba75ab21264cc73c7c4"/></dir><file name="Response.php" hash="4b07f4e1f1a83609206bf9c3addddf57"/><dir name="Service"><file name="HandleRequest.php" hash="3d38fde3b2ef05a985d9eb69aa3b73dc"/><dir name="ProtocolRequest"><file name="Interface.php" hash="d364210632f9c03cb7e2d95ff960592c"/></dir><file name="ProtocolRequest.php" hash="3a61ee5ff8c750d9b0c754c5483685d1"/></dir><dir name="Validator"><file name="Abstract.php" hash="4cf7905a160c59b286c3dfb51501b728"/><file name="DefaultParameters.php" hash="28f711bf64a2d09c4aed54a3de44c8ba"/><file name="Interface.php" hash="cc04e77ec7cdd7e72f223b4d851b892c"/><file name="Ip.php" hash="ee9646a2b1573c30290f48142ad9d453"/></dir></dir><dir name="Settings"><dir name="Configuration"><file name="Abstract.php" hash="b535ec70b40d20ab24aa248bcf3f05b4"/><dir name="Api"><file name="RequestType.php" hash="f6b23bf2652034cbc3d50ad0e782f8f1"/><file name="ResponseType.php" hash="b2422c4e38f381bd370176a6b0a0011d"/></dir><file name="Mode.php" hash="d5b47124f2893bdf3440ec48eb2c646d"/><dir name="PaymentMethod"><file name="CreditCard.php" hash="6894263df05741a6ed23c0acb414f402"/><file name="Financing.php" hash="27be604fed063bdbc893720927aa9669"/><file name="OnlineBankTransfer.php" hash="e5d6d8c95d0432e9f3442a8e9b1058b0"/><file name="Wallet.php" hash="060e1623e33a4551f921db1593891807"/></dir><file name="PaymentMethod.php" hash="e1c8fe981eda7dfbb4330605d0dddbe3"/><file name="Reminderlevel.php" hash="bdc018a59eaab4d13209fc529afd7d51"/><dir name="TransactionStatus"><file name="Action.php" hash="1e2015cb6a83696bbc348cd5a19dd978"/></dir><dir name="Verification"><file name="AddressCheck.php" hash="cc54a17bd42c9410ceefb3f2ce4dfe11"/><file name="AvsResult.php" hash="80859d494d8b426f0f80c7f6c0001e04"/><file name="BankaccountCheck.php" hash="5b3ab2b7fec0f82b0c7efb2fd4ba35ec"/><file name="Consumerscore.php" hash="b66352d2c8dcca7e37f6bdb2a1cfcecd"/><file name="Personstatus.php" hash="f995a8a5456b981d44763cab0c6aecf6"/></dir></dir><dir name="Data"><dir name="ConfigFile"><file name="Abstract.php" hash="45594b9218dd0cbf9a2190bbc1b1e5cd"/><file name="Collection.php" hash="2b387c4da779190bc3c774e5012383b2"/><dir name="Global"><file name="StatusMapping.php" hash="9abad2df07db470433b8d46d8c4b9321"/></dir><file name="Interface.php" hash="70133ac956846d5151edfeca478b9502"/><dir name="Misc"><file name="TransactionstatusForwarding.php" hash="94e96bfd0972e85ecfeb26d3d708a159"/></dir><dir name="PaymentMethod"><file name="Abstract.php" hash="ad85b6f37b133795f4a9cfd94200bb2a"/><file name="AdvancePayment.php" hash="99c961e1973c0f8f4943d46abb61806c"/><file name="CashOnDelivery.php" hash="8f89e4310e2f2350b69580fe0db55c3a"/><file name="Creditcard.php" hash="94cebabc02194a60b8c78b1c8c645d90"/><file name="DebitPayment.php" hash="6ae69fc4038503a5dc5af7e722b4ec09"/><file name="Financing.php" hash="8cf8aac0bc2774d5fc0eb357fd8bc3a8"/><file name="Invoice.php" hash="c28d6b98b873eb06a4313e1897dd155c"/><file name="OnlineBankTransfer.php" hash="978aeaf0bbdf2b8195270bf28b96121a"/><file name="Wallet.php" hash="1acd28b33ca24d1a6c722aba93e0f555"/></dir><dir name="Protect"><file name="Addresscheck.php" hash="e3b32053df373f47149b32867f13d206"/><file name="Consumerscore.php" hash="e62d17873198b55f17c4bb972ab4c181"/></dir><file name="Root.php" hash="65fe84a867e02b4e5d1815bb3e94ce32"/><dir name="Shop"><file name="ClearingTypes.php" hash="c6e47d0111cc904934511b5ed61bf6f9"/><file name="Global.php" hash="1581cf13f893d3945b23f409d8e2e63e"/><file name="Misc.php" hash="44d94e706d6ebdb8bdfc00c1f74c5a4b"/><file name="Protect.php" hash="d6eed6842f793c958cfc7eb4fb861dd4"/><file name="System.php" hash="47f25a4ad05e1cf6793f4a0683de62e7"/></dir><file name="Shop.php" hash="fcde392839c80db0f28811b5178364a6"/></dir></dir><file name="Factory.php" hash="e41b108aa4efba5210946af4602df9e6"/><dir name="Service"><file name="XmlGenerate.php" hash="2e1a6ba48fce431bb13461f159ada6f4"/><file name="XmlParse.php" hash="987a9edf0ca8f2eebcab576ca9270df1"/></dir></dir><dir name="TransactionStatus"><file name="Config.php" hash="5fe7ae51f4e65c69865bc4d2ae48328c"/><dir name="Enum"><file name="Failedcause.php" hash="e34e7a82a5f6e28546ab2df09109d365"/><file name="Txaction.php" hash="236b5444a67fecb4b26c6adb4417d6df"/></dir><dir name="Exception"><file name="Abstract.php" hash="692c679943a816fc6f4a10b0b122622b"/><file name="MissmatchingKeys.php" hash="aa1233fd4e5c93ae8b2fe4ae363e3e0e"/><file name="NoPostRequest.php" hash="74880ee2ff1b64ade5b43477b02c506a"/><file name="NoRequestData.php" hash="1c40ced8301991ac183dba44608c83d6"/><file name="Validation.php" hash="e5e90db597db6f1df42b65990b1fd436"/></dir><file name="Factory.php" hash="cacd4d296964cb8a305eba713092798c"/><dir name="Mapper"><file name="Request.php" hash="a1a5b75af8ca58b239c0def3f93be3de"/><file name="RequestInterface.php" hash="d35a1966060b22cf0fb8c43a1ed3623f"/></dir><dir name="Persistence"><file name="Interface.php" hash="fbbf23001bb9f6ff2ef20cbe20addc66"/></dir><dir name="Request"><file name="Abstract.php" hash="dfeadc0e413f145747b08130831744c0"/><file name="Interface.php" hash="b25d42147a10d4a7dc5130dd544ca2f1"/></dir><file name="Request.php" hash="beb71a270ee91f71ef81fbbd61d0d705"/><dir name="Response"><file name="Abstract.php" hash="559a911ec0743a718dbccf3605500d53"/><file name="Interface.php" hash="1087ea1a0c70040daad6eac2014790e2"/></dir><file name="Response.php" hash="ef77f669ce7c928df87a2d063f6762e4"/><dir name="Service"><file name="HandleRequest.php" hash="49cb49d3d99139b87f3361cbf2562e75"/><dir name="ProtocolRequest"><file name="Interface.php" hash="7576d86a4061811d9d1508c9d26c7277"/></dir><file name="ProtocolRequest.php" hash="8c63848af7ab2447d9584d1c90535bae"/></dir><dir name="Validator"><file name="Abstract.php" hash="5bcdb714a62976fd9fa4970a5e8ad74e"/><file name="DefaultParameters.php" hash="c909180f13bd0e0484e4c903e497d2f0"/><file name="Interface.php" hash="f7408812ceeb45d38324d6b4c8b9634f"/><file name="Ip.php" hash="0b6c7f7b55edee5b4957b4e9c8d43a83"/></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="payone"><dir name="core"><file name="boxes.css" hash="1a9ef798278e1d1dcc3c8dd86eb8ddca"/><dir name="images"><file name="error_msg_icon.gif" hash="e4f28607f075a105e53fa3113d84bd26"/><file name="favicon.png" hash="d189cb860fcdd76fbf3c07627023eed9"/><file name="help.png" hash="c3812c74bc524179f4ccf5d2db7b3cbf"/><file name="icon_16.png" hash="2812a3406492773bdbc8308d22901964"/><file name="logoclaim.gif" hash="d71545ef09e2f10339654cda93d1cca2"/><file name="magento_general_global.png" hash="2341d0ffb0f7fd6fe6ebf53860f9197b"/><file name="money_add.png" hash="41e1f9224e9c35929cb54882dc9d4426"/></dir><file name="wizard.css" hash="c2be3f8f3b7012f015fcd76aceebe32b"/></dir><dir name="migrator"><dir name="images"><file name="ajax-loader.gif" hash="32dc1f5901143d36fbd7a6df3950819f"/><file name="failure.gif" hash="4d785bcecfbe716fa4d749d20738a8f0"/><file name="success.gif" hash="3f9b9025551da6963a9ecf8d184a204a"/></dir><file name="migration.css" hash="c27e9fc8fa891b5ae3ca7480ba90cb02"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="payone"><dir name="core"><file name="mandate.css" hash="246dc6bbdca6c0eda2972b5abcb2b24b"/></dir></dir></dir></dir></dir></target></contents>
|
38 |
<compatible/>
|
39 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
40 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Mage_Payone</name>
|
4 |
+
<version>3.1.9</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
30 |
With FinanceGate Business even account receivable management, dunning and debt collection can be done by FinanceGate automatically.
|
31 |

|
32 |
Notice: Remember this extension is still beta. We recommend to test all transaction types in your application carefully before going live.</description>
|
33 |
+
<notes>Mage_Payone-3.1.9</notes>
|
34 |
<authors><author><name>noovias</name><user>noovias</user><email>info@noovias.com</email></author><author><name>PAYONE</name><user>jgerle</user><email>tech.support@payone.de</email></author></authors>
|
35 |
+
<date>2014-06-03</date>
|
36 |
+
<time>19:24:55</time>
|
37 |
+
<contents><target name="magecommunity"><dir name="Payone"><dir name="Core"><dir name="Block"><dir name="Adminhtml"><dir name="Configuration"><dir name="Wizard"><dir name="Config"><file name="Form.php" hash="7e48e792893e9a64f7001e96b003e382"/></dir><dir name="Page"><file name="Edit.php" hash="1f1b820d0f2d50230f8cdf762c80bc5c"/><file name="View.php" hash="9ab4a5083eebc1961ea5c0acb0ba2cf2"/></dir></dir></dir><dir name="Information"><file name="Abstract.php" hash="89033bd457bcd46a7ceb13462360a5e6"/></dir><file name="Information.php" hash="2459128787e623cebf78be3634eb7514"/><dir name="Protocol"><dir name="Api"><file name="Grid.php" hash="fe43a5b1464e1059703788bd91f408cf"/><dir name="View"><file name="Plane.php" hash="daf40463ac56195f9d2181e35062baa2"/><dir name="Tab"><file name="Exception.php" hash="1825ebf171f264b6c74ed7e1fe9d6fbd"/><file name="General.php" hash="9a5d35a92a9d622a2ddfb0edafa76092"/></dir><file name="Tabs.php" hash="cc81cd30acbda3b87f2b302ee8cdaf1a"/></dir><file name="View.php" hash="d00b5b3c9a7d0e36693c026c5de0dd35"/></dir><file name="Api.php" hash="86163b631dabef5538c9d7ba18cb3b04"/><dir name="TransactionStatus"><file name="Grid.php" hash="b9e276667ce3599e5250f0026ab4f8d5"/><dir name="View"><file name="Plane.php" hash="e7fee81fb6ee269bab8186972e0093a1"/><dir name="Tab"><file name="General.php" hash="a80cb470751f948b35aa04f991dd4486"/></dir><file name="Tabs.php" hash="aba3d7bf0ab3762a2900237b21a2198a"/></dir><file name="View.php" hash="b7d782116f5d8d09087bf9eb7110ecdf"/></dir><file name="TransactionStatus.php" hash="4aa543fe53ea8c4d0a4c09a61c84d52f"/></dir><dir name="Sales"><dir name="Order"><dir name="Create"><file name="Init.php" hash="3f2f8f8de024565abc1f8e4ced98319b"/></dir><file name="Grid.php" hash="8769f1b2708b28af0a4f97574c0b0c92"/><dir name="View"><dir name="Tab"><file name="Api.php" hash="add6c7c0adbd91114b3eed850569b65a"/><file name="Transaction.php" hash="a6001e58c3ce4d6737f4928ccac66176"/><file name="TransactionStatus.php" hash="44541e398ab29db4720b2109f6e0607c"/></dir></dir></dir><file name="Order.php" hash="d9b85ad2061f9fe9552f5ffed60d0797"/></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Abstract.php" hash="77de293a1573d415a0560d1f3366ed12"/><file name="Forwarding.php" hash="37db0ebdea18716749598e092070475e"/><file name="Info.php" hash="2c9e6c008ee3d5306f8579ebe01db944"/><file name="KlarnaStoreId.php" hash="a250983a9d5969f90a772e13893cb580"/><file name="PaymentFee.php" hash="755e20786c0203016611bfcfdc6ede90"/><file name="PersonStatusMapping.php" hash="a5450b8e05fa801ec373ac7c21e58b34"/><file name="StatusMapping.php" hash="cf91819c4d98a270e3725f9af4b9b88c"/></dir><file name="Field.php" hash="9c7f06f1a79d2308d5bf89c08b986b62"/><dir name="Payment"><file name="Method.php" hash="322e4976bd8389f5e9627ba5c17ad0e4"/></dir><file name="Payment.php" hash="812418b9dc6e7d0f7af71c54fa7ad4cf"/></dir><file name="Hint.php" hash="1da85b64bf8fa8056881f551d553129d"/><file name="Notice.php" hash="466258b59f294048fa48639f3681ad5e"/><dir name="Payment"><file name="Edit.php" hash="ee890691a35e5b33bfd1a986a4481ace"/><file name="Grid.php" hash="7ff4cfab006c716256b416a1898383e4"/></dir><file name="Payment.php" hash="0c9f0cd463afa2bbb5eec693ae1da597"/><file name="Tooltip.php" hash="d9905fba960f4a7500265c30f1dfddf9"/></dir></dir><dir name="Transaction"><file name="Grid.php" hash="cca8ffb56bc00514d56af6f05c38882f"/><dir name="View"><file name="Plane.php" hash="161a1c1f5cb58333e4428414397a91f6"/><dir name="Tab"><file name="General.php" hash="bc901fbe55449792917519c795c58808"/><file name="TransactionStatus.php" hash="6325158ee9acda45dc1b3aa6a34b8cdd"/></dir><file name="Tabs.php" hash="127b5f4090f96a1956f2838e7e1bf90f"/></dir><file name="View.php" hash="267ceb1bf113dae62c503c8c9f858a78"/></dir><file name="Transaction.php" hash="9da66e164d1dea5013167c374865a94d"/><dir name="Widget"><dir name="Grid"><dir name="Column"><dir name="Renderer"><file name="Datetime.php" hash="52a793dde88b725b9b9d5f27842b1705"/><file name="UnixTimestamp.php" hash="9da03743ed591e5f24f1f682c5f4fb5f"/></dir></dir><file name="Container.php" hash="f035c12b7bf696a0222ce0b3f50dfd46"/></dir><dir name="View"><file name="Container.php" hash="dfd28e3f3205c9ab6f1d5ba5cdd1222c"/></dir></dir></dir><dir name="Checkout"><dir name="Onepage"><dir name="Payment"><file name="Additional.php" hash="6fb72c642149f73a73b6ffcdd8249a93"/><file name="Methods.php" hash="a2e4bb44fa3c254bdfcc3f4671dc8968"/></dir><dir name="Review"><file name="SepaMandate.php" hash="c6ab2e1b5d3cc046682985342ddec6a1"/></dir><dir name="Success"><file name="SepaMandatePdfLink.php" hash="73c3a6035c989697c447f7572986a815"/></dir></dir></dir><dir name="Payment"><dir name="Method"><dir name="Form"><file name="Abstract.php" hash="fbba6cc27f3c85f46068604b0abf0c73"/><file name="AdvancePayment.php" hash="f8fa142db063838f6e2affd24e605309"/><file name="CashOnDelivery.php" hash="47aa8eae525f0926cfa0ca39dbf16dd8"/><file name="Creditcard.php" hash="8f2b897e1bcb9241e6019424239e368c"/><file name="DebitPayment.php" hash="0fd3ee0123187a9a09b0dc5a2fc842b0"/><file name="Financing.php" hash="e51b6b3464fb350c874e9cbc0ce048a9"/><file name="Invoice.php" hash="792e994d4e724c508c44aa80c2c05377"/><file name="OnlineBankTransfer.php" hash="3457d20473765317348b0a3d793d8a1f"/><dir name="SafeInvoice"><file name="Klarna.php" hash="d8f2ba8fe76f594acd15d9c292084c70"/></dir><file name="SafeInvoice.php" hash="3cfd8a05e6bab685a19c64c93632ff84"/><file name="Wallet.php" hash="da09f18c16574eac09b9a1d2bc2a67db"/></dir><dir name="Info"><file name="Abstract.php" hash="e053fbb633c2742597631bb1672f404a"/><file name="AdvancePayment.php" hash="5a30ac680ba4b813b8292ee680970815"/><file name="CashOnDelivery.php" hash="f98ff0c449f5fd265aeb1e0bba189d88"/><file name="Creditcard.php" hash="039cde64d6835e601245e46f606d4f66"/><file name="DebitPayment.php" hash="f7e390fae84439f5003578a81699eef1"/><file name="Financing.php" hash="6168f4820caa216f6f30a14069602123"/><file name="Invoice.php" hash="4e39306b2241b19e8d75684307522aaa"/><file name="OnlineBankTransfer.php" hash="a6b327b86716a748cbf24e789c25a5f7"/><file name="SafeInvoice.php" hash="fca91084fb3fff9c6ff82bee1f182490"/><file name="Wallet.php" hash="1c97123bd3b8c5c10e766dd7749f2076"/></dir></dir></dir></dir><dir name="Controller"><file name="Abstract.php" hash="e896d0e966ebb3123c047760fff8c17a"/><dir name="Adminhtml"><file name="Abstract.php" hash="fc530c509c8377d4b401b0ad4144ac62"/><dir name="Configuration"><dir name="Wizard"><file name="Abstract.php" hash="bdfe26c77fbfb08d5eed508b3707129b"/></dir></dir></dir></dir><dir name="Exception"><file name="InvalidRequestType.php" hash="ef0f4dc53e93ba1b32229e5928d00bd2"/><file name="InvalidScope.php" hash="3e4185c541d15ed6d8822540dee61b9c"/><file name="InvoicePreparationNoItems.php" hash="dc5497f50a8954ac451f56c8c47e57b4"/><file name="InvoiceSave.php" hash="585931380f6291f47b28d23024366ba6"/><file name="OrderCannotInvoice.php" hash="b63f0a9a1702708422f30472012643a6"/><file name="OrderNotFound.php" hash="22001580df9425cd4d5bb954378aac4c"/><file name="PaymentMethodConfigNotFound.php" hash="c62057ea1bd54c0b91dacd2a5db50b49"/><file name="PaymentTypeNotFound.php" hash="7d6866507e5f803e1bf0e31545f9c06c"/><file name="TransactionAlreadyExists.php" hash="6dfb3da13440462021c2175405ace0b9"/><file name="TransactionStatusForward.php" hash="52f6974ad59271d161451944fd000986"/></dir><dir name="Helper"><file name="Abstract.php" hash="614b70f3acf925a3b544e91e5a0085d3"/><file name="Compatibility.php" hash="40ec8b9e8f5bff66181d9d257d7f6a0e"/><file name="Config.php" hash="8672eb13e5051e0f1aefeb714b75f419"/><file name="Data.php" hash="b2886731b945327dcdcf65c1aa860902"/><file name="Email.php" hash="395561eb7a6c319055270706e6d32226"/><file name="Registry.php" hash="da6aee13a620bd78e6aa12e1a1700bfc"/><dir name="Sales"><file name="Button.php" hash="f9752550b0ba4559a78631ea7240dbfa"/></dir><file name="Score.php" hash="bed6e4c0d668ebbb83ea99235728a063"/><file name="Url.php" hash="9ce4dc25c5920247c9b85cccf450ec0e"/><file name="Wizard.php" hash="70b6882f848c703ff0fc26d62dcb376b"/></dir><dir name="Model"><dir name="Config"><file name="AreaAbstract.php" hash="e75eacc876e77fa1f540e15a8a89a1d5"/><file name="AreaInterface.php" hash="9822e7864b81dcdade053baea64db83f"/><dir name="General"><file name="Global.php" hash="0ee7c14ccf34d09b951e69bf86c3bfd2"/><file name="ParameterInvoice.php" hash="6a58ff0f8c126de0decd22b845d02d40"/><file name="ParameterNarrativeText.php" hash="5f0128073807d017a4f3704c5879e36f"/><file name="PaymentCreditcard.php" hash="d055547ad354429c2c4b061353a9f121"/><file name="StatusMapping.php" hash="444346141aafa48049b22418ba65c8fe"/></dir><file name="General.php" hash="8f274fdb68951ab6b5a782d6c7de808c"/><file name="Interface.php" hash="a3de42afc8b6907e64d522aa3ec5cf63"/><dir name="Misc"><file name="Creditmemo.php" hash="f9509d5a67e5ecd3cf029750beea9106"/><file name="Discount.php" hash="4ce56b1b21f8c39961c4bbe860eda20c"/><dir name="Email"><file name="Abstract.php" hash="50f7c3519a70855acb69d255cb0056d6"/><file name="Interface.php" hash="d07157b9ca17401277b35f7aea92a7cc"/></dir><file name="EmailAvs.php" hash="3da7b2a26718650a87466e7cdae55c31"/><file name="EmailError.php" hash="4c45b1d6d95f3659c66dffbc3d770080"/><file name="ShippingCosts.php" hash="d828b50fa706fa3f938713d223bda3c6"/><file name="TransactionstatusForwarding.php" hash="39d587c3c484bc99773b060d6265959e"/><file name="TransactionstatusProcessing.php" hash="9b96fe9c0463577a7b9b58a45311bdfc"/></dir><file name="Misc.php" hash="bbac6a7fa27f05c7f21071fa01ac3460"/><dir name="Payment"><dir name="Method"><file name="Interface.php" hash="1fd70aedc490ea687ae3d98fd69e3940"/></dir><file name="Method.php" hash="d2d71ea7d25925667af4c90ee81dc822"/></dir><file name="Payment.php" hash="727160b76efedc58a77dd9d84b28c1cc"/><dir name="Protect"><file name="AddressCheck.php" hash="3637d686c50702120d791b6f5e695569"/><file name="Creditrating.php" hash="ffe6d1d2c95d641535a5027b2afb54cc"/></dir><file name="Protect.php" hash="21be6a05897ce9a155363ce56e0a5e4d"/></dir><file name="Config.php" hash="e377c2462e81c4a6caacd784cf6a5d65"/><dir name="Cronjob"><file name="Abstract.php" hash="123c05ac24b16ce69ec970a5da85f10e"/><dir name="TransactionStatus"><file name="Worker.php" hash="1e7090f9b91571176224d97a3e932ede"/></dir></dir><dir name="Domain"><dir name="Config"><file name="PaymentMethod.php" hash="35977e41b9c2588e56d278da9ef99273"/></dir><dir name="Protocol"><file name="Api.php" hash="70d1c4920f0637e28ec95cf8b9ca1bdb"/><file name="TransactionStatus.php" hash="681a1936ddbf0b519d6b97ded83d4a1a"/></dir><dir name="Resource"><dir name="Config"><dir name="PaymentMethod"><file name="Collection.php" hash="92fcb0cf48eada524e326942f1dd5c4b"/></dir><file name="PaymentMethod.php" hash="7261f0a45bff60e891cf24820a565670"/></dir><dir name="Protocol"><dir name="Api"><file name="Collection.php" hash="2ce71ea52eb4aa11fbc546001ed22fc8"/></dir><file name="Api.php" hash="bb257184fa77ef1b71f0964168dd78af"/><dir name="TransactionStatus"><file name="Collection.php" hash="884176fcb71b1a76d2b094bb70644c5e"/></dir><file name="TransactionStatus.php" hash="d4a202ea0d7ce2afeff4b3da4f18a237"/></dir><dir name="Transaction"><file name="Collection.php" hash="f3dd454961a551357eb95b73912c411c"/></dir><file name="Transaction.php" hash="a05356964069784a9c46b61c9c77c26c"/></dir><file name="Transaction.php" hash="32129c443a4218374a20920198dfe73c"/></dir><file name="Factory.php" hash="e3d7fd809e4de89a85d3ceb0e34af804"/><dir name="Handler"><file name="Abstract.php" hash="7916a63c5d1ca3c7cec27cc6bd038846"/><file name="Interface.php" hash="8137fbb2cea9866c2d6a64421653b1f7"/><dir name="Management"><file name="GetInvoice.php" hash="4fc10247b8969f9dbe447d3003a052a0"/></dir><dir name="Payment"><file name="Abstract.php" hash="44a3373698eadce21a6a88a67e7f62bb"/><file name="Authorize.php" hash="0693282e074f6c22824c5eab347aa9a2"/><file name="Capture.php" hash="d6d7dd0dfc16066faebc9678bb98b0ca"/><file name="Debit.php" hash="3dcee9f980aa64fb8d2ee93e4cdc91cb"/><file name="Interface.php" hash="3ff3b7247a7f69dd84b0999259f24bf8"/><file name="Preauthorize.php" hash="377a4242911f900ad046edc03da31891"/></dir><dir name="Verification"><file name="Abstract.php" hash="04be41f4fde5091816cb2dc650b53306"/><file name="AddressCheck.php" hash="26fb14b8f5e6492d5fbe5e7138a4b72d"/><file name="Creditrating.php" hash="df5e854c7814b05fae05ccb0d4eb09f9"/><file name="Interface.php" hash="601a0d018c10962c13e26c67ecb60deb"/></dir></dir><dir name="Mapper"><file name="Abstract.php" hash="269e16e71331e002333535450d4d2924"/><dir name="ApiRequest"><file name="Abstract.php" hash="67a9f749767b79e7641138f8edc9c788"/><dir name="Management"><file name="GetFile.php" hash="3a869f01182f6d2bf92b1c1f3f75b7ca"/><file name="GetInvoice.php" hash="3e55c698ee6e54a911c7c8c04854aa68"/><file name="ManageMandate.php" hash="115d22120bd9853aefd982af3c8c1a5b"/></dir><dir name="Payment"><file name="Abstract.php" hash="45e9062929d2fac40d57663285aeaa1f"/><dir name="Authorize"><file name="Abstract.php" hash="e7a62c661f1ed9d63963a6b8f12f6b10"/></dir><file name="Authorize.php" hash="7b4b3ee3e5fe3614158a2538878ba4f0"/><file name="Capture.php" hash="5aa68816030b9c7787377b9b23badf1e"/><file name="Debit.php" hash="5c4aec11abe8e99085374d3f5b9a2f9e"/><file name="Interface.php" hash="2ed7debbc0cbe1979be9ad4fa583c63d"/><file name="Preauthorize.php" hash="5de50d89d2c8bde9f64029fe787191ff"/></dir><dir name="Verification"><file name="Abstract.php" hash="6b492aabd24d09580bb5c8184ebab5dd"/><file name="AddressCheck.php" hash="3b1553d9684591db4f99efc5b817cb49"/><file name="BankAccountCheck.php" hash="03dd6e25bff5912fa24c2b69c7fb42bd"/><file name="Creditrating.php" hash="be7582391431e780fe1bcd8bfb1b016a"/></dir></dir></dir><dir name="Observer"><file name="Abstract.php" hash="7818d67d38868e56e44260d5eaeeb74d"/><dir name="Checkout"><dir name="Onepage"><file name="DebitPayment.php" hash="059ebe648d03f30d1d17db57c3328609"/><dir name="Payment"><file name="Methods.php" hash="05d66b930cf670d25e28ea940da85693"/></dir></dir><file name="Onepage.php" hash="739313c22c4082dca0c640f72c745d79"/></dir><dir name="Config"><file name="Protect.php" hash="a9b87d00e3f7a3294046efb7b6ace00e"/></dir><dir name="Protocol"><file name="Api.php" hash="8756084b6e8c4ce3ff7fddfae2cbba8f"/></dir><dir name="Sales"><dir name="Order"><file name="Invoice.php" hash="ce15847f18e76b7e1518d7584a82c818"/></dir><file name="Order.php" hash="6058e54404f14248749967e49092d80f"/><dir name="Quote"><file name="Address.php" hash="a978a502b2b5bda43d300b3327ae85f0"/><file name="Payment.php" hash="49864ede5b1ab94fc51a98b4cadc2874"/></dir></dir><dir name="Store"><file name="PaymentConfig.php" hash="fdf9db06695c1ef6a90a1695a8df58b0"/></dir><dir name="TransactionStatus"><file name="Forwarding.php" hash="72e93b7a9fc67b3c817a8a3086b3c58d"/><file name="InvoiceCreate.php" hash="d15502d5794acf2a35fae589e9c60b25"/><file name="OrderConfirmation.php" hash="0ba29147ead6d943964be30c2b5aa1a6"/><file name="Reminder.php" hash="e476fbafaec9b3f2fa3d0ec5f57f6dce"/></dir></dir><dir name="Payment"><dir name="Method"><file name="Abstract.php" hash="9ddf98c48e125d3e515578e45d59b1ed"/><file name="AdvancePayment.php" hash="c165fc2cb0402478db74782a38f89ec5"/><file name="CashOnDelivery.php" hash="247d715b663369c27111ece38dfb7803"/><file name="Creditcard.php" hash="4d778e393876187bd89d1c2c3e326c98"/><file name="DebitPayment.php" hash="98868e4cf9cbda62e7e193f945d3d212"/><file name="Financing.php" hash="fb7c2c1f9b417affd028f4a2ad2e324a"/><file name="Invoice.php" hash="b6dc6fd8189c61f04a440b39d72a2c61"/><file name="OnlineBankTransfer.php" hash="5f6e2a08c6f83534f15b05f95bfceb37"/><file name="SafeInvoice.php" hash="84d93f1ccf6a72134e351a534a2c14fc"/><file name="Wallet.php" hash="009d360a81b7a9527d192e4011df9749"/></dir></dir><dir name="Repository"><file name="Api.php" hash="215b63473d061699b64fbc698f95a1f7"/><file name="TransactionStatus.php" hash="633e3ea0f01a27374fd8d3b721c064b8"/></dir><dir name="Sales"><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Fee.php" hash="3bac7e6e8f51348c8b4c55d419b4b1f5"/></dir></dir><file name="Address.php" hash="61dcd092801b9f88e0627c6d69343eeb"/></dir></dir><dir name="Service"><file name="Abstract.php" hash="9c2a7aeecb9fc0303ac20a6ddc73ae96"/><dir name="Config"><dir name="PaymentMethod"><file name="Create.php" hash="af77caf92d5d7a87f691a571d5300c34"/></dir><file name="ProtectCheck.php" hash="81e93c3cd18c39b9cf52e94374cd341c"/><file name="XmlGenerate.php" hash="6a2ea0a941738a70b7bf510d8cf22369"/></dir><dir name="Export"><file name="Collection.php" hash="ba553e1ced6fd131b725c92150e09a78"/></dir><file name="InitializeConfig.php" hash="941c42e76ab330f1f2895c026025a009"/><file name="InitializePayment.php" hash="688d23ed08cdc74797818ad84d9359cc"/><dir name="Management"><file name="GetFile.php" hash="dca7b664b32e217ab50cd88e5919b8d4"/><file name="GetInvoice.php" hash="16da5759ecfbe625633da5e1e00cfecd"/><file name="ManageMandate.php" hash="d0dcffbafbc6dad9c9bc288739ef7bc1"/></dir><dir name="Payment"><file name="Abstract.php" hash="78f1f27d510d88c8ffa3575b1fdd5877"/><file name="Authorize.php" hash="fa22191f012150eb5bd4ab2b183522dc"/><file name="Capture.php" hash="58bee25ef7c318f53a00d608cf16d0bf"/><file name="Debit.php" hash="4320627bc743c5ae303296417c64c232"/><file name="Interface.php" hash="5a6669702b6f966cdca52378e96e60d2"/><file name="Preauthorize.php" hash="b13323bc57512b9244a217dcc8106625"/></dir><dir name="Protocol"><dir name="Api"><file name="Export.php" hash="ae95ecb8c8e7b8418c8d3dd361c751c0"/></dir><dir name="TransactionStatus"><file name="Export.php" hash="1265210a4dcc3475e3cef56a70e073c2"/></dir></dir><dir name="Sales"><file name="InvoiceCreate.php" hash="84148ef78256e3daad76395fbb30e9a5"/><file name="OrderComment.php" hash="41433c126e5254b985d900f704b31ae9"/><file name="OrderConfirmation.php" hash="ea36bf39b5759943b38a7390d7242822"/><file name="OrderStatus.php" hash="fe3f8df1627c19363f21a29b4e8085f2"/></dir><dir name="Transaction"><file name="Create.php" hash="95d9079e7fd9a85597b62e96f7a4d77b"/><file name="Update.php" hash="f25e151fd02916472e7792360699a988"/></dir><dir name="TransactionStatus"><file name="Execute.php" hash="d4dff27a2cc271faaba576f9161a7f89"/><file name="Forward.php" hash="8dacb47c9a0db8e76669158aa15303b6"/><file name="Process.php" hash="be3b935bdea0b665b6ba660df1e43cb0"/><file name="StoreClearingParameters.php" hash="29f9570fb39da143e6b0edae80c126a7"/></dir><dir name="Verification"><file name="Abstract.php" hash="0fde90b0db9c18f414e5e90843f0e6ce"/><file name="AddressCheck.php" hash="b6e828cf9dc96d7e9cafae8037aa942f"/><file name="BankAccountCheck.php" hash="a78e4e65d55c07e5b6f0dd2139219a53"/><file name="Creditrating.php" hash="7dfbcaf8dbb3c11625a3a9943fa3a793"/></dir></dir><dir name="System"><dir name="Config"><file name="Abstract.php" hash="3a0050936a4c51a407acca82d5290b99"/><file name="AddressCheckType.php" hash="11f0297e62f8aa723051bef05b1a1024"/><file name="AuthorizeMethod.php" hash="ab01882f7e8b685bf65c9c2cf630f8dd"/><file name="AuthorizeMethodFinancing.php" hash="4176d6fa53e5d7dc9c3e2f2cc6996450"/><file name="AvsResult.php" hash="b1e3ca79a77286e1e705501a33c13855"/><dir name="Backend"><file name="Protect.php" hash="65562d422ca71b7bac0e0157a12b7ac2"/></dir><file name="BankaccountcheckType.php" hash="f09ba1733f34eb60b17d2b0c21a4ff3b"/><file name="ClearingType.php" hash="d6c1cf6362e17ae0042612774c37483f"/><file name="CreditCardType.php" hash="a4dd68bdd7abe455c6adeb3e20e1bb55"/><file name="CreditScore.php" hash="bc54944274a9d5137c474dcf27fc91f9"/><file name="CreditratingChecktype.php" hash="985ce6d65da0281e8e99f334e980e14e"/><file name="CreditratingIntegrationEvent.php" hash="9da728646ff3eea66e6155fb4d4b4233"/><file name="FinancingType.php" hash="28c21492a23d119869eb6d091e427169"/><file name="HandleResponseError.php" hash="6c92277e38f8256f6fe7b6696107fdd2"/><file name="KlarnaCountry.php" hash="49e1a250427eb1a66da63901e47bb3e5"/><file name="MethodType.php" hash="a2bb15d6a43746cc1c87a9ee252d87ef"/><file name="Mode.php" hash="f4b7f10abd52f5b5d23873e159e4fc23"/><file name="OnlinebanktransferType.php" hash="804bf6bd18c9903519e48072ab33d1da"/><file name="OrderStatus.php" hash="929fde9dd5ed62286fdb0c3292d1544a"/><file name="PaymentMethodCode.php" hash="be2c8473e58dea95fbf7e9ffe5aac06a"/><file name="PaymentMethodType.php" hash="1da77ef4656e965fd12f2ae8fc853c53"/><file name="PersonStatus.php" hash="8d909a2f468207880d3b431dbfbfdef8"/><file name="ReminderLevel.php" hash="cac22bfaece3ccca9a51adc59efdf44b"/><file name="RequestType.php" hash="f43e32fd32329193252190746f0a8571"/><file name="ResponseType.php" hash="d6a64bbe4ea58d2126ff8d7f76795bcf"/><file name="SafeInvoiceType.php" hash="e33c155d6eb7b8b05bb2eef81c492bd4"/><file name="SepaCountry.php" hash="1d53612b26e8cc6e90f6ae8903dae50d"/><file name="Status.php" hash="2612834bc2a1ed7c43a2cc3342adf63d"/><file name="StatusTransaction.php" hash="53271af6dbe8195a8fa1e12a79a56c68"/><file name="TransactionStatus.php" hash="8c1f59103ba441a3bddbf454bc4c3129"/><file name="WalletType.php" hash="c49c188f400e808a58348716a9fa421e"/></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Configuration"><dir name="Wizard"><dir name="Page"><file name="PaymentController.php" hash="836c77b7dcc77cae37ae101ad28b2169"/></dir><file name="PageController.php" hash="a6565671b73edb8b30b27e325b3ee6c0"/></dir><file name="WizardController.php" hash="cfc6b411102e225a48935cee6e0c7576"/></dir><file name="InformationController.php" hash="4fbe3552aff0415f9e6e6574c7dfc080"/><dir name="Protocol"><file name="ApiController.php" hash="1af6ef54bfb5a870f482895c0fc5f769"/><file name="TransactionStatusController.php" hash="97a5933efe3633ce5c370c1e67eaa37d"/></dir><dir name="Sales"><dir name="Order"><file name="InvoiceController.php" hash="16c96795a7e9c8dd546c4c69a5568987"/></dir><file name="OrderController.php" hash="ac4a0fe89896111ea5dfff2ae01f0e90"/></dir><dir name="System"><dir name="Config"><file name="PaymentController.php" hash="47bda106aafbcbbc8a04a1da28ce136e"/></dir><file name="ConfigurationController.php" hash="0cd99975387d248d9583d6804c3c5a4c"/></dir><file name="TransactionController.php" hash="59e0e04c5ef04e28a3b781a1c2c3b412"/></dir><dir name="Checkout"><dir name="Onepage"><file name="PaymentController.php" hash="696a5f987608c65fada4849081c0576f"/><file name="SuccessController.php" hash="1de90543c4a4fda2ad63841a5b3a5c5b"/></dir><file name="OnepageController.php" hash="5c206fbba8832d67269f480facca40a0"/></dir><file name="TransactionStatusController.php" hash="f6660bc654ef08ccb3adcd58dfda0596"/></dir><dir name="etc"><file name="adminhtml.xml" hash="80661f3ff3f6782efad26e377413aeb3"/><file name="config.xml" hash="aa2018c05da91e34deced74bb4380552"/><file name="system.xml" hash="1cbe4f51e0931feb50a7e1a01d18670a"/></dir><dir name="sql"><dir name="payone_core_setup"><file name="install-3.0.0.sql" hash="28a783cc46e235b6c13dd502651ff7e7"/><file name="mysql4-install-3.0.0.php" hash="e570826a7a6b3d94ec7a4731a1962a6f"/><file name="mysql4-upgrade-3.0.12-3.1.0.php" hash="bca5f3758f786378978834b89c29f141"/><file name="mysql4-upgrade-3.0.3-3.0.4.php" hash="864709102446d37f8b0ad1c7d7b3ab60"/><file name="mysql4-upgrade-3.0.8-3.0.9.php" hash="b8b666e1cef07ae385278a454b885d77"/><file name="mysql4-upgrade-3.1.0-3.1.1.php" hash="d7c545b39a8ec2764fdcadd6656005dd"/><file name="mysql4-upgrade-3.1.2-3.1.3.php" hash="22d8f0e22f537cec9564d177f5ebeac4"/><file name="mysql4-upgrade-3.1.3-3.1.4.php" hash="fdb019dcd5a75d24fee65d2fae768ef6"/><file name="mysql4-upgrade-3.1.4-3.1.5.php" hash="07861bdab5b1db51dcef427891c2bd5f"/><file name="mysql4-upgrade-3.1.6-3.1.7.php" hash="e3d5404bae141f641ddb0e32d28ec8a3"/><file name="mysql4-upgrade-3.1.7-3.1.8.php" hash="bde5b06ffb9d254458c03d875a22ff79"/><file name="upgrade-3.0.12-3.1.0.sql" hash="bd9827b38f1a1ed0fdb049c889ceb29f"/><file name="upgrade-3.1.2-3.1.3.sql" hash="d3e3fc1f9402bb6295124f4750a476d4"/><file name="upgrade-3.1.3-3.1.4.sql" hash="b9ae52a8c4fcf6f97727b3310b6db1a2"/><file name="upgrade-3.1.4-3.1.5.sql" hash="4cc6ee67329dbaa3ad119b6d117ba9af"/><file name="upgrade-3.1.6-3.1.7.sql" hash="9839cc9c41207a4bd7608d91c5ee83a2"/><file name="upgrade-3.1.7-3.1.8.sql" hash="ac5279de707324fe4f2ea4711e6bd851"/></dir></dir></dir><dir name="Migrator"><dir name="Controller"><dir name="Adminhtml"><file name="Abstract.php" hash="a8ae39e90f2b28ecf7ac97422433d5cd"/></dir></dir><dir name="Helper"><file name="Config.php" hash="4abc3ee9237fa433bc1d1d3dbfa97afc"/><file name="Data.php" hash="ebb5526d898038aa2004e6347794b478"/></dir><dir name="Model"><file name="Factory.php" hash="614bc12c240bd0c917fdc090c8018ccc"/><dir name="Mapper"><file name="Abstract.php" hash="a784a82feaf6120184bc5e53331bd519"/><dir name="Config"><file name="General.php" hash="e24eb1f80ab89b37da5bfe333e34ed05"/><file name="Payment.php" hash="37dd103a0f2ff3493a93c3ec03474671"/><file name="Protect.php" hash="7192a4e8e1789401dbb69dc4c1891ed3"/></dir></dir><dir name="Service"><file name="Abstract.php" hash="2208fd00d748f4e42470c57a90fad2a2"/><dir name="Configuration"><file name="GeneralMigrate.php" hash="044e996b5f7243086d66d85444bef05c"/><file name="PaymentMigrate.php" hash="0d65e45786eac7a4d36d00fbac7d1188"/><file name="ProtectMigrate.php" hash="1289918e3fb0f87dec2c4d3cd76ad77c"/></dir><file name="Migrate.php" hash="07b0deb7c09a313a2b337b684c76f9da"/><dir name="Sales"><file name="PaymentMigrate.php" hash="b0cb16acd822816b82009b5f648eb4f6"/></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="MigrationController.php" hash="7d9f458c55ee1fe5232c6d7136d86551"/><dir name="Wizard"><file name="MigrationController.php" hash="578c2b786ec293a24bce53806f16c102"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="9fb5870a66cfe557beba5b9780fcdff5"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="payone"><dir name="core"><file name="client_api.phtml" hash="82d735b2326311446896dc12b826d6a5"/><dir name="configuration"><dir name="wizard"><file name="iframe.phtml" hash="186c008f6b31f8276a84aeb7d3c404e4"/><file name="index.phtml" hash="2deddd95d55920eff1ccc96959857b75"/><dir name="page"><file name="finish.phtml" hash="956ddfbe0e9971e647735fe4a45abf0e"/><dir name="form"><file name="container.phtml" hash="3c7287c0c40be94a1b1189a6cd7f8812"/></dir><file name="index.phtml" hash="66e73112887b5c1028fac21d5ce97c71"/><dir name="payment"><dir name="grid"><file name="container.phtml" hash="1b00428676495848907360d99697bd80"/></dir></dir><file name="store_switcher.phtml" hash="6871e556b2872ba357ea95be0c543a6a"/><dir name="view"><file name="container.phtml" hash="042d56bf10158e1944c48f788f48121e"/></dir></dir></dir></dir><file name="iframe.phtml" hash="9f74308e8b43cad2b15748b9f8368559"/><dir name="information"><file name="iframe.phtml" hash="c4e39d236151492940e32a0563a6a4b8"/></dir><dir name="payment"><dir name="method"><dir name="form"><file name="advancepayment.phtml" hash="ccba1332be108f51e27afaf713805dfe"/><file name="cashondelivery.phtml" hash="ad4e7185825b32b69ca06083c03c7a46"/><file name="creditcard.phtml" hash="6988cb1c2f870a93c93491776f2a6e84"/><file name="debitpayment.phtml" hash="0f260a75d9948f707b03c5e1bd3960b6"/><file name="invoice.phtml" hash="b0548563fdacc3cb1757a838d2c03158"/></dir><dir name="info"><file name="advancepayment.phtml" hash="74b458367e5712c859d800b933ed95ff"/><file name="cashondelivery.phtml" hash="91f410d394f3040641468425d39a537c"/><file name="creditcard.phtml" hash="c89761dabea8e6c31b8f400586619f21"/><file name="debitpayment.phtml" hash="d6064c3b4ac949d3cd13d50da428fd75"/><file name="financing.phtml" hash="8719ffe34094d2f0ce884cb9d8ebc04a"/><file name="invoice.phtml" hash="64001ffc31c0eafb832c03edd285fc5d"/><file name="onlinebanktransfer.phtml" hash="c9a2962511e29aa68999a41f5787340f"/><file name="safe_invoice.phtml" hash="8db49727920c0bd0f8ec98d168b8803e"/><file name="wallet.phtml" hash="bd71ab9ff89f2cfa590307c9e29e0ead"/></dir><dir name="pdf"><file name="safe_invoice.phtml" hash="667afd9640f1c34c1116c1939951e8d5"/></dir></dir></dir><dir name="protocol"><dir name="api"><dir name="view"><file name="plane.phtml" hash="fcfcb586c7c92606a6c309489c878d53"/><dir name="tab"><file name="exception.phtml" hash="54d0c77b153ff41fa10391b3177fc96a"/><file name="general.phtml" hash="8d4ad5cd56d33fd7fdcf0b4ff7bc0cc9"/></dir></dir></dir><dir name="transactionstatus"><dir name="view"><file name="plane.phtml" hash="7d19a22206a2384f5972a313017e4589"/><dir name="tab"><file name="general.phtml" hash="fd318ab622c4aa2c0554d7ce81843361"/></dir></dir></dir></dir><dir name="sales"><dir name="order"><dir name="create"><file name="init.phtml" hash="468a133c8dff06c7292b6e7d4de8068f"/></dir><dir name="view"><dir name="tab"><file name="transaction.phtml" hash="4af63c9829a7bd466eafc54ae9dd889a"/></dir></dir></dir></dir><dir name="system"><dir name="config"><dir name="form"><dir name="field"><file name="array.phtml" hash="1aee5fb9b33232708fe242601e4de701"/></dir><file name="iframe.phtml" hash="67366b7e745ab1a2a1f359360df88e07"/></dir><dir name="hint"><file name="payment.phtml" hash="c2de168313f9c9fcf906467af95dcaf9"/><file name="payment_reference.phtml" hash="2497578443d7d0455e7d75e1000aed32"/><file name="protect.phtml" hash="cfd300a3ff4f05ff143e1f78a669a7ce"/></dir><dir name="payment"><dir name="grid"><file name="container.phtml" hash="952f87bb71dfd75d126e3196f863dba6"/></dir></dir><dir name="tooltip"><dir name="general"><file name="global.phtml" hash="a37390c8dab60e16cbe50ee69e217f40"/><file name="narrative_text.phtml" hash="4ea256f2ef56d066050ea6d363b714f1"/><file name="parameter_invoice.phtml" hash="dc171aa4082645cfb9e1bd0d04271e67"/><file name="payment_creditcard.phtml" hash="b4b8502a3604fb12f075fe740d945034"/><file name="status_mapping.phtml" hash="1f61ee593d8eda86732bda7bc9e6e52e"/></dir><dir name="misc"><file name="creditmemo.phtml" hash="ba257ba5f772f0135a02bfcd384cf593"/><file name="discount.phtml" hash="4763652b79b6c7f9260fbe4c908f4732"/><file name="email_avs.phtml" hash="ea7f60f2f9021e8cc7c17995198150c4"/><file name="email_error.phtml" hash="9162008f414fb8cbe2794b4bd6a4d787"/><file name="shipping_costs.phtml" hash="7b5b83f9229475df906e20ef2037e820"/><file name="transaction_status_forwarding.phtml" hash="788210951399e85e94bf350ff2030f5b"/><file name="transactionstatus_forwarding.phtml" hash="a0a484355dda756674923af4515000b7"/><file name="transactionstatus_processing.phtml" hash="264705cbd3681a3a705dfe5f9b9459b7"/></dir><dir name="payment"><file name="creditcard.phtml" hash="8e484c4f491ab90dda0578800162fd1c"/><file name="debit_payment.phtml" hash="1dd18a9356f944799818771e18983986"/><file name="financing.phtml" hash="bc3fcfaa4b7540192085a03d8c91dc55"/><file name="method.phtml" hash="130b071e2363972df1f634585d6e0704"/><file name="online_bank_transfer.phtml" hash="93a29afae277ad94b4c1c124c96cfbcb"/><file name="safe_invoice.phtml" hash="2484a8ba66416937d48f2785175bdea5"/><file name="wallet.phtml" hash="ba12c5e01a515ff744f2ab02c8f10d0e"/></dir><dir name="protect"><file name="addresscheck.phtml" hash="3c350cec7badc0c6df013f03527a7b98"/><file name="addresscheck_type.phtml" hash="bc67f5743cc703e8a454e1adf0730a8d"/><file name="creditrating.phtml" hash="f378ace23555c6c9f95e37f032144250"/><file name="creditrating_agreement_message.phtml" hash="f58ee591b49d6d8f16770186ae45915f"/><file name="creditrating_lifetime.phtml" hash="c83c475ef6921147c587506b432ff0d4"/><file name="creditrating_type.phtml" hash="d994405b3e913dfdbc7884c2993eb78b"/></dir><file name="window.phtml" hash="b7de8be932ff20ab238c8882f50e4801"/></dir><file name="tooltip.phtml" hash="15f2dc92646a8d8533c7f1c1d0bb10b0"/></dir></dir><dir name="transaction"><dir name="view"><file name="plane.phtml" hash="8f4c2ef7fecfab8eb02d12b35e862b5e"/><dir name="tab"><file name="general.phtml" hash="68caff5aa8efad5e37378e9c7b739842"/></dir></dir></dir><dir name="widget"><dir name="form"><file name="container.phtml" hash="2ed5809647722a4a4358a89732100029"/></dir><dir name="view"><file name="container.phtml" hash="b750b77783092c218e3326734681c2f2"/></dir></dir></dir><dir name="migrator"><dir name="migration"><file name="index.phtml" hash="e61197db7ef214108863c79ddeb9815b"/></dir></dir></dir></dir><dir name="layout"><dir name="payone"><file name="configuration.xml" hash="e27c94d22f89de34b111eb755ded3d0e"/><file name="core.xml" hash="4c2937ab9409c8cdaf0833f064288f05"/><file name="migrator.xml" hash="eeb630d133aeb3f54010d9d194772c46"/><file name="transaction.xml" hash="765365f3a10d6ff526a4889c4a606153"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="payone"><dir name="core"><dir name="checkout"><dir name="onepage"><file name="init.phtml" hash="5c0c3bf8d37efdbf537b5384bc34398e"/><dir name="payment"><file name="additional.phtml" hash="3882f895bd113afc428393a71f5d7ccf"/></dir><dir name="review"><file name="sepamandate.phtml" hash="0b063330ec99a140acc5c2ddf90e80c5"/></dir><dir name="success"><file name="sepamandatepdflink.phtml" hash="79198bd920f3ad9093a7ecfa6da65718"/></dir></dir><file name="protect.phtml" hash="f99ba7707392621d73df931a3821d691"/></dir><file name="client_api.phtml" hash="1ec0b009b38dc06caa21467c3f4ffb71"/><dir name="payment"><dir name="method"><dir name="form"><file name="advancepayment.phtml" hash="53be7d1aebc234604157aa7e6dc47795"/><file name="cashondelivery.phtml" hash="0cad47103bbd341208e6252bd8fe47d1"/><file name="creditcard.phtml" hash="e74c0510cc127af463795f46c598a63b"/><file name="debitpayment.phtml" hash="5a50175da735d50fd431c192dd79d940"/><file name="financing.phtml" hash="d5f1f6ab21bcb7754fff985cdb3f87c7"/><file name="invoice.phtml" hash="64ec86d5cdd348a80a43a713abc1f0af"/><dir name="onlinebanktransfer"><file name="bankgroup.phtml" hash="09bb996bc3522708d0aa5ae0c18d73ba"/></dir><file name="onlinebanktransfer.phtml" hash="f6327e34639ebc6ed23a5f7e500c454d"/><dir name="safe_invoice"><dir name="klarna"><file name="scripts.phtml" hash="c86c08b139497ae4619ac163333a4c51"/></dir><file name="klarna.phtml" hash="d8d3ac5e88a5485ce32fbd85148ba624"/></dir><file name="safe_invoice.phtml" hash="34ac7632459b1062ceb63e256a69ae6d"/><file name="wallet.phtml" hash="32fe1f2fc914b2c11b8c3506d03e0890"/></dir><dir name="info"><file name="advancepayment.phtml" hash="611af85c9ae80aa9c702b34fc0724e79"/><file name="cashondelivery.phtml" hash="5f369ef06729584e8bf094700877386d"/><file name="creditcard.phtml" hash="dc5ecc29deed279f93928e307c6d1ba2"/><file name="debitpayment.phtml" hash="d6064c3b4ac949d3cd13d50da428fd75"/><file name="financing.phtml" hash="25fec413f14104d9d589a88931a87443"/><file name="invoice.phtml" hash="64179e611f39b4b7e68cd367aecb0931"/><file name="onlinebanktransfer.phtml" hash="c9a2962511e29aa68999a41f5787340f"/><file name="safe_invoice.phtml" hash="7195fccdfde46f248cff5dcca6e55db8"/><file name="wallet.phtml" hash="099fd47c84a62ad9510a47a24345d317"/></dir></dir></dir></dir></dir></dir><dir name="layout"><dir name="payone"><file name="core.xml" hash="773966e328709591d8b0cc3c5e6cc927"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Payone_Core.xml" hash="26082ff2574ca87302556c5c3a39b246"/><file name="Payone_Migrator.xml" hash="9af684dec6dc50d9e863538773350fb7"/></dir></target><target name="magelocale"><dir name="de_DE"><file name="Payone_Core.csv" hash="a4878c4714111e091d554a4b5cbee401"/><dir name="template"><dir name="email"><dir name="payone"><dir name="core"><file name="avs_template.phtml" hash="fb6ebbfa5d1f95d58b321cf6feb81dba"/><file name="error_template.phtml" hash="009959ada1dabe51d7e1bbc36027a65f"/></dir></dir></dir></dir></dir><dir name="en_US"><file name="Payone_Core.csv" hash="8fca03aadc7afd1cf45cb7f78e6d5c71"/><dir name="template"><dir name="email"><dir name="payone"><dir name="core"><file name="avs_template.phtml" hash="fb6ebbfa5d1f95d58b321cf6feb81dba"/><file name="error_template.phtml" hash="009959ada1dabe51d7e1bbc36027a65f"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="."><dir name="js"><dir name="payone"><dir name="core"><file name="addresscheck.js" hash="6568d29af003fa91f0b5c469ff464e3c"/><file name="client_api.js" hash="dd107fcd812ac77a99e3b72c01672b7a"/><file name="creditcard.js" hash="f42420630073ccd92349bec7b3ed3d8f"/><file name="debitpayment.js" hash="f4acc2becc78dee431136a9092f2bbf6"/><file name="financing.js" hash="77ba32ce7b8c2bebf561709ebc956b41"/><file name="klarna.js" hash="569c92d2ac2112a6f243d04dde413756"/><file name="onlinebanktransfer.js" hash="cdfde3c2f1dd41a7e6d746e64f24b9eb"/><file name="safe_invoice.js" hash="18e2937400142d0e26fd0fe068e5e293"/><file name="sepa_input.js" hash="d75b03eb199d74a7620020acc815744f"/><file name="sepa_validation.js" hash="e8b50fd2da5bd35bf5acfd6450838efe"/><file name="wallet.js" hash="8b52a7055252923888319dd057aa1e4e"/></dir><dir name="migrator"><file name="migration.js" hash="602a23b295cf6b241845fa626b089c91"/></dir></dir><dir name="prototype"><dir name="windows"><dir name="themes"><dir name="payone"><file name="btn_bg.gif" hash="37c51a4d48a92da9648dcd3ca011039f"/><file name="content_bg.gif" hash="21278ea0da2d4256f4ced96b6080ba2e"/><file name="logoclaim.gif" hash="d71545ef09e2f10339654cda93d1cca2"/><file name="top_bg.gif" hash="26f28090de87d64f9b01bf624f89bfe2"/><file name="window_close.png" hash="1944445eb3fb14f0ede092665ccbbf0b"/></dir><file name="payone.css" hash="ca84a0501c8f6f794c08bc34c013aa01"/></dir></dir></dir></dir></dir></target><target name="magelib"><dir name="Payone"><dir name="Api"><dir name="Adapter"><dir name="Http"><file name="Abstract.php" hash="8d37bc6e9bd6acd0e5b1350542e43f9d"/><file name="Curl.php" hash="64d649310b514790422664b5ba1c0b3b"/><file name="Socket.php" hash="1bd51c5e95bce114d3ba12098464b072"/></dir><file name="Interface.php" hash="8d398fe489610c76b237847b5e05b300"/></dir><file name="Config.php" hash="d5024c64e3e7b543d56fe7999ad00fe5"/><dir name="Enum"><file name="AccessAction.php" hash="7af90f74e723b45ad66852cc48180bf5"/><file name="AddressCheckDivergence.php" hash="ed818028f3cd09958a16f41af52b6f63"/><file name="AddressCheckPersonstatus.php" hash="67b5e5e1b0b6eaed4f2eb51bfee3eddb"/><file name="AddressCheckScore.php" hash="1260e0f031526f7707b3a24dd81b7c46"/><file name="AddressCheckSecstatus.php" hash="785c4449b18e153f8359e354a318ba84"/><file name="AddressCheckType.php" hash="bda748769b6408222e6819d660d52404"/><file name="AvsResult.php" hash="aa6abfcd74a49fa2c72b70935456e458"/><file name="BankaccountCheckType.php" hash="b8204010ee3df148395d3c0373c2f67a"/><file name="CaptureMode.php" hash="8a0c5c7b78d8a9e0f44268eb3ef65bf5"/><file name="ConsumerscoreScore.php" hash="119bf444889838ad55b57154eb62f960"/><file name="ConsumerscoreType.php" hash="e5f25aae50aa061a54e4b286c25f3272"/><file name="CreditcardType.php" hash="d2027a0ac1b44de3c818809adff905aa"/><file name="DebitTransactionType.php" hash="644169299e92d74b82c15563df348c1c"/><file name="Ecommercemode.php" hash="9e72976aba594d506f62e15f0c7c9ec1"/><file name="FileFormat.php" hash="5bd47fb4e462e951f2169c6734242c19"/><file name="FileType.php" hash="095d4b46f56a93b26f16f470651bb02e"/><file name="FinancingType.php" hash="7c1d6af8473c27668be28eb234e88b04"/><file name="Gender.php" hash="fd769d163ae062a020fe335d473ebce4"/><file name="InvoiceDeliverymode.php" hash="20c0fb5edc752eaa13f7485ae927302b"/><file name="InvoicingItemType.php" hash="6b179cde7ee57c4e2d979836ea0134b6"/><file name="OnlinebanktransferType.php" hash="11438be9127821ed1b160420a5139011"/><file name="PayoutOpenBalance.php" hash="f3a9648a134d0637dc0b86ba2d466805"/><file name="PeriodUnit.php" hash="aaa82eab4aae4837e4df7c7abab7652c"/><file name="PeriodUnitRecurring.php" hash="c7064252b3dbb22688f133c3294218df"/><file name="RequestType.php" hash="b200d265b70e7ba609dfb64ebd5c6fb5"/><file name="ResponseType.php" hash="98652b6dcb80cdc36cec7454785082aa"/><file name="Settleaccount.php" hash="ea59cbeec8798b4d19c16eefb8824031"/><file name="Shippingprovider.php" hash="cbf70776a47ba3eb482bab7d36da24e7"/><file name="Storecarddata.php" hash="91fc3b5f0fe6b5d13cf3178f01cdec00"/><file name="UseCustomerdata.php" hash="72f1a1c38c834ee0bae56623d899643d"/><file name="WalletType.php" hash="a5bb130661bacc7d226e0859d3967427"/></dir><dir name="Exception"><file name="Abstract.php" hash="60f869606e12f5934d8044ab2182130a"/><file name="InvalidParameters.php" hash="a7d3f28d3c771a025a22822f36c6280b"/><file name="InvalidResponse.php" hash="465c7f77851b8dbd7a31f367b0421bd2"/><file name="InvalidUrl.php" hash="7a43bdcca4c81f47eca5982a0f173175"/><file name="MappingNotFound.php" hash="f9bbcb55bafee8da15bf3a7ba3d49cbb"/><file name="Payone.php" hash="7b6bc8521fc6f68582c3c8f28d1d9ea7"/><dir name="Request"><file name="InvalidKey.php" hash="7fb3d17cacda83b421fda79ca815747c"/><file name="InvalidMid.php" hash="3f6031ccbffa16c8091ba25e87b105e3"/><file name="InvalidMode.php" hash="7388ff3c863ea620d7c2847a6e610a8c"/><file name="InvalidPortalid.php" hash="ef0d20493a9d1964a44c8f9ae9b15248"/></dir><file name="Timeout.php" hash="0bfdac99f441015b835a218886ae2987"/><file name="UnknownStatus.php" hash="f8bbb8759bdb8104daaed59a31d4b632"/><file name="WritingRequestToServer.php" hash="6bac9fe5228568d57b9492afdc5096e6"/></dir><file name="Factory.php" hash="7137d53aa65fd143ca480198f897c316"/><dir name="Mapper"><file name="Abstract.php" hash="4b8a025d4e906ee806d025ec9fd8f385"/><dir name="Currency"><file name="Interface.php" hash="a166444b69c22891983b475d98a9c4ba"/></dir><file name="Currency.php" hash="f8b9151eb9f4851d9c0b1dcee5dde465"/><dir name="Request"><file name="Abstract.php" hash="682ab94bfa9d4b4e772c973504b944ca"/><file name="Interface.php" hash="300f24067b5e02cbcad586ae64cd2bd0"/><dir name="Management"><file name="UpdateAccess.php" hash="16e4d33fe2ee60e74801f600062e68e0"/></dir><dir name="Payment"><file name="Abstract.php" hash="80457e0ca50f31bb491f9c0c30af28d3"/><file name="Authorization.php" hash="24bb9c33163acf92764c5e3d98c8890c"/><file name="Capture.php" hash="1e99a0ee422ad8a049c669ce2b0925a7"/><file name="CreateAccess.php" hash="12066747cfb777291469b1f05ecdfd4e"/><file name="Debit.php" hash="88646c41c5b422f60c2c71bced0c6180"/><file name="Preauthorization.php" hash="65c3d30b553aa821f77bd98d29e4bb7a"/><file name="Refund.php" hash="323148b00ae50d41058ba9ec09aca2b3"/><file name="Vauthorization.php" hash="81040f290461acb49401626862f35ca3"/></dir></dir><dir name="Response"><file name="3dsCheck.php" hash="8df0b3a1e60a42037bb428936f1af395"/><file name="Abstract.php" hash="a8c4e328f344faa657b8eb2c3ac3299c"/><file name="AddressCheck.php" hash="d46ac343f5523ad99b7c448454917fdf"/><file name="Authorization.php" hash="e0d574e2314756f02ad348856734305d"/><file name="BankAccountCheck.php" hash="3a451451285b792cd3f338173c32cd23"/><file name="Capture.php" hash="d932dcd2a2a1aae8fe5ea01b1eb3d203"/><file name="Consumerscore.php" hash="fe049746f267422141c67ae3bff59a66"/><file name="CreateAccess.php" hash="1f5292cdf982544b89705e100bb72832"/><file name="CreditCardCheck.php" hash="507102173d66ffc8c59643c8c5c8b962"/><file name="Debit.php" hash="0cc821fe414ba12b6f0a47c737032b81"/><file name="GetFile.php" hash="e89f24a68fee671cb471cabe71f3edaa"/><file name="GetInvoice.php" hash="e8d48e92395106748609307bf75d9757"/><file name="Interface.php" hash="ec7a85fd32a14f8e3fb6c53999a3b29c"/><file name="ManageMandate.php" hash="9951957e3736f4db9b78cf782e31b16d"/><file name="Preauthorization.php" hash="61ca02a765f954d8d7ef3787bc998c0b"/><file name="Refund.php" hash="49db64773b4d50e513d0dd0b229f2a94"/><file name="UpdateAccess.php" hash="7d3df9f90aa41679adeacba401998394"/><file name="Vauthorization.php" hash="5f92e7c5ef6d83966204aa7fffea4b5c"/></dir><file name="currency.properties" hash="eef9fbec34f4f4a2602f6081fcfda371"/></dir><dir name="Persistence"><file name="Interface.php" hash="a77efa3aeb4734aebfe18c9f7e4ccc7f"/></dir><dir name="Request"><file name="3dsCheck.php" hash="8502019ed3c3057fe05ee3c1a71aca21"/><file name="Abstract.php" hash="5c9806f9f608d5f5e89b9c54927990db"/><file name="AddressCheck.php" hash="aa187c6821e3cef431b119c33a5bf23f"/><dir name="Authorization"><file name="Abstract.php" hash="80971aafc19e11d5e3223a9048b719d1"/></dir><file name="Authorization.php" hash="52ed73816ee6887ed4461e5850893182"/><file name="BankAccountCheck.php" hash="e53d0e170608dfac05b1706706bd1212"/><file name="Capture.php" hash="1f853ee78f5813ee4e68082fff76fa53"/><file name="Consumerscore.php" hash="afc7c64148ff01a2044dc748eb78d8a4"/><file name="CreateAccess.php" hash="0819c933758a595ee2ce4ba97bc5d57b"/><file name="CreditCardCheck.php" hash="92abb97fdb171cd07a0af63d51de7fd5"/><file name="Debit.php" hash="f2fcec84c6d37efa17df7598933c7b26"/><file name="GetFile.php" hash="d3cc699dd1fb7720a3f1ea73ff9c8965"/><file name="GetInvoice.php" hash="a5bf340eef45f0b974badc21899423c6"/><file name="Interface.php" hash="338199100f226bb478a7e79c1594bfc9"/><file name="ManageMandate.php" hash="ba5bdc60c35b954ddbf54f0c1452e707"/><dir name="Parameter"><file name="Abstract.php" hash="653a1b46ee15ed2d01a55e2f24a1dc9f"/><dir name="Authorization"><file name="3dsecure.php" hash="1280e05ad2671b85255b64ebc64d69d0"/><file name="Abstract.php" hash="cf44e93bc1e56cc84df5f4ab4088050b"/><file name="Business.php" hash="b8c430800c69b62410037cf57491c3cb"/><file name="DeliveryData.php" hash="4f2ac6a7c1ab5d84cfbddfd00673daf2"/><dir name="PaymentMethod"><file name="Abstract.php" hash="9714088466bee6c8349584c74568c5fd"/><file name="CashOnDelivery.php" hash="8472ab78a107d67d2bb1585802d3e961"/><file name="CreditCard.php" hash="36bf310a53ccce2a310884c467b91cc0"/><file name="DebitPayment.php" hash="951a5709819744dea784f3978d1c4e7d"/><file name="Financing.php" hash="2b2ba3e07535705c0382d538110eafdf"/><file name="OnlineBankTransfer.php" hash="cbdd65f16b986260beca3f512bb19572"/><file name="Wallet.php" hash="f4a72017354b2b8ffba75892e6decddb"/></dir><file name="PersonalData.php" hash="11f9311908abd421e8cdb038bb048579"/></dir><dir name="Capture"><file name="Business.php" hash="fb5c8262c2eaad6a2ce9cbb88afe0b2a"/><dir name="Invoicing"><file name="Transaction.php" hash="f6dce30897bbc38eae58ed5bd10d7e0a"/></dir></dir><dir name="CreateAccess"><file name="3dsecure.php" hash="9cdd0c2948d91917002f67f4b6df7615"/><file name="Abstract.php" hash="facb0550043ca99d02cebee364480b82"/><file name="Billing.php" hash="5b562feed4c70471138d7d9a205ad9b7"/><dir name="Invoicing"><file name="Transaction.php" hash="d4bc46e2d834734ee4deea6a7236ee48"/></dir><dir name="PaymentMethod"><file name="Abstract.php" hash="48adbd8e0a37d0ea47b663a848a32158"/><file name="CreditCard.php" hash="b459cb17ffc04b47a7f07ad2bf35ce2a"/><file name="DebitPayment.php" hash="1eedc44773005daa8ca326cfb4765f4f"/></dir><file name="PersonalData.php" hash="8cfdceda4a1f4df12f948ecb244de9a5"/></dir><dir name="Debit"><file name="Abstract.php" hash="ad7c2f583cd2bb8f2e2799319ec293f3"/><file name="Business.php" hash="cb5ced7f6e449a4572227fd868681e1f"/><dir name="PaymentMethod"><file name="Abstract.php" hash="10fe457332ef63d231208d5074a87925"/><file name="BankAccount.php" hash="8ae63c46a4697feebc1bd7f509973b93"/><file name="CreditCard.php" hash="8c30a4f7a7352bc137a7708b2e35de70"/></dir></dir><file name="Interface.php" hash="6e34e7349bf3eb3ea52418781b6bca31"/><dir name="Invoicing"><dir name="Access"><file name="Item.php" hash="a5d8f3e81562f7927c02291005c687ac"/></dir><file name="Item.php" hash="b61d4ceadc6dadc4ba5082d7c6705568"/><file name="Transaction.php" hash="3038d8b62150e0e51763d48c4ff8e239"/></dir><dir name="ManageMandate"><file name="Abstract.php" hash="1d06da34f7e4a789305a7933b904c54a"/><dir name="PaymentMethod"><file name="Abstract.php" hash="a46d217328bf50e110686e564208ce8e"/><file name="BankAccount.php" hash="7105e6ae2878d95723ebc17f4b59057b"/></dir><file name="PersonalData.php" hash="a1801533d9f9bac1eb85049547ae553c"/></dir><dir name="Refund"><file name="Abstract.php" hash="6e49e729223f6ea7d095d43923928b9d"/><dir name="PaymentMethod"><file name="BankAccount.php" hash="5710f9b4cc057465977ecbd60623e8fc"/></dir></dir><dir name="UpdateAccess"><dir name="Invoicing"><file name="Transaction.php" hash="faaeafaa78b60f7d8d477c41aa72807a"/></dir></dir><dir name="Vauthorization"><file name="Abstract.php" hash="300ad44cb6bb1e2e9588e6ac2250820a"/><dir name="Invoicing"><file name="Transaction.php" hash="cf24f8ff578f15e25d0e7ecf955d3a70"/></dir><dir name="PaymentMethod"><file name="Abstract.php" hash="99dfa4c670708e81a411d5b8ae7a5ad4"/><file name="CreditCard.php" hash="4580b155e79c6ef4ffc24a123c2470e2"/><file name="DebitPayment.php" hash="d840f41b86010ff9f7f71101af472c43"/></dir><file name="PersonalData.php" hash="2d909e623d5c1cab9d56fa09e7e83c2e"/></dir></dir><file name="Preauthorization.php" hash="0a681074560da4069e694892c0064f6c"/><file name="Refund.php" hash="56c0bb2425448b6e0a57bdd35944250b"/><file name="UpdateAccess.php" hash="e7acd46bcd6eded87d3fe1b38e693521"/><file name="Vauthorization.php" hash="7d694e09878145eedd07164c40fc083a"/></dir><dir name="Response"><dir name="3dsCheck"><file name="Enrolled.php" hash="1972e3bf59047a74755a0e40d6732ac1"/><file name="Invalid.php" hash="a09d5b1eec2b0956d4023d2f2b14f237"/><file name="Valid.php" hash="1ad50cd437af0de75aad8c2fcffa85bc"/></dir><file name="Abstract.php" hash="8aa20c1529cc03a0f6c64d8e4f2690b2"/><dir name="AddressCheck"><file name="Invalid.php" hash="132932a39401c298578935e74c416fbe"/><file name="Valid.php" hash="29793361fab8fffc1216ebf211660dde"/></dir><dir name="Authorization"><file name="Abstract.php" hash="bb03d2155a37cff92c2c25391d2861cd"/><file name="Approved.php" hash="74d415c45fac3df416ee8ccd6a06f895"/><file name="Redirect.php" hash="1a239aa8bdff6e89b14a43d4ca3be68b"/></dir><dir name="BankAccountCheck"><file name="Blocked.php" hash="8716ee872b079670aeba08e498407754"/><file name="Invalid.php" hash="9317da83f806353ba8692e2d91f0db31"/><file name="Valid.php" hash="3080f0018201faa408964a7d9a126e6e"/></dir><dir name="Capture"><file name="Approved.php" hash="bb1e8af4ec34d7db27675d4a00c8b3c3"/></dir><dir name="Consumerscore"><file name="Invalid.php" hash="4ec7a41513ca28e7081e0a7b0fa35f44"/><file name="Valid.php" hash="e0053bb2af649d504dad28f163c0a61c"/></dir><dir name="CreateAccess"><file name="Approved.php" hash="fb671f8b94eb8cb2f01085c71385ef92"/></dir><dir name="CreditCardCheck"><file name="Invalid.php" hash="e95422fb58384c0ca0e82db79dbd5a8f"/><file name="Valid.php" hash="e3565fede3a2b5d80e668617abcf463f"/></dir><dir name="Debit"><file name="Approved.php" hash="a9071053a4352acaf3674e8831e84102"/></dir><file name="Error.php" hash="361aab061dbcd5aade4d2a2ae5224620"/><file name="Interface.php" hash="bfb530e8de56624e9a5a93bb3d8d22d3"/><file name="Invalid.php" hash="d91d1b8f6214e350493c688f3226325b"/><dir name="Management"><file name="GetFile.php" hash="06e3fbf9e04f5c88d8593c2864b58782"/><file name="GetInvoice.php" hash="00cced79a4094cfdcb42a25da88f9fef"/><dir name="ManageMandate"><file name="Approved.php" hash="7f5e2ec51c4891f5d0062b73d6cf7e30"/></dir><dir name="UpdateAccess"><file name="Ok.php" hash="d3ff7ae424089882b86308fad8b70361"/></dir></dir><dir name="Preauthorization"><file name="Approved.php" hash="67775fbdad364515618a69ed583b9c7a"/><file name="Redirect.php" hash="7dc6d21e5d7395127f8a4cceac1ee3ba"/></dir><dir name="Refund"><file name="Approved.php" hash="06f5abaf7335c7bc572d0f7707a9d110"/></dir><dir name="Vauthorization"><file name="Approved.php" hash="ef3cffaad1b2498fc2d0028dff8f3bbb"/></dir></dir><dir name="Service"><file name="Abstract.php" hash="24ef22fd385dd99d6f2bf4413b74cac1"/><file name="Interface.php" hash="a3c79f33b0a9ac10778c088e2b660ad3"/><dir name="Management"><file name="GetFile.php" hash="63e55675376dcc372cee6ef5b5d3fb33"/><file name="GetInvoice.php" hash="e7e764daa5ec37aa40905a76236f01f7"/><file name="ManageMandate.php" hash="f3d88d315ab5567bb8b0c79e39c2a3ea"/><file name="UpdateAccess.php" hash="0f0b9ce67ac880ae3589d51ff5b8fad6"/></dir><dir name="Payment"><file name="Abstract.php" hash="31697d161f8ddecbf1380fcfde1b278b"/><file name="Authorize.php" hash="cc79d2f1743a14c4659d4526814857b3"/><file name="AuthorizeInterface.php" hash="a252deb55f6d2856d22389d7946c96e8"/><file name="Capture.php" hash="70510c4b962bf20632cc824239d79924"/><file name="CaptureInterface.php" hash="df0375f93cb5c86391fbb1394ef45a32"/><file name="CreateAccess.php" hash="3c6886cd92e46fd5a57c80002b5942c0"/><file name="CreateAccessInterface.php" hash="003a3d785f83286f506b869171962aa4"/><file name="Debit.php" hash="18c7aed47628aed4ffb5baef2fad14ac"/><file name="DebitInterface.php" hash="47d73baa6e092f21dfc7ffcc43eb9c4d"/><file name="Preauthorize.php" hash="46f363b78ae3f6a4af15755570f5edea"/><file name="PreauthorizeInterface.php" hash="d73caab0e6851b246e5c3aed6026e08b"/><file name="Refund.php" hash="3c0967aba96de8d9c14153f6659b9d2b"/><file name="RefundInterface.php" hash="0cb30e224128b3f8a2f61a6a750af4cd"/><file name="Vauthorize.php" hash="abf55267f5ffbfa31307b0244e6d39bb"/><file name="VauthorizeInterface.php" hash="16331e48b7c2e1d505ca7318ad4740fc"/></dir><dir name="ProtocolRequest"><file name="Interface.php" hash="e45a08d8c42675881617033eda0df27b"/></dir><file name="ProtocolRequest.php" hash="84ff92e03b1ce5237c7384df13dca268"/><dir name="Verification"><file name="3dsCheck.php" hash="c7592588376cce47fb44fc752b2b6a42"/><file name="AddressCheck.php" hash="e51e5e7383b24798b8ab077964f68a3e"/><file name="BankAccountCheck.php" hash="a2c419d80194abf5fa5678c8f68c8360"/><file name="Consumerscore.php" hash="e2c011355f09a8fda2b0b10e65b96372"/><file name="CreditCardCheck.php" hash="75f87cc35b2de68d957ca98a69acc869"/></dir></dir><dir name="Validator"><file name="Abstract.php" hash="ead86ababa76997e8dd8886ebfc3335c"/><file name="DefaultParameters.php" hash="e4fb2582a213f164d9ca8f2ba764cb06"/><file name="Interface.php" hash="cd0994f06f5cb491f19820e99da952d0"/></dir></dir><file name="Autoload.php" hash="abd312c31dd8a49e589dbf16e94e26e2"/><file name="Bootstrap.php" hash="e0e3380ceba6f5315d57f1d3238bfb92"/><file name="Builder.php" hash="fed3ab0252cfe5e5028f4c960b45b82d"/><dir name="ClientApi"><dir name="Enum"><file name="RequestType.php" hash="c30f83abe7dc48c59339b7fa3e3648af"/><file name="ResponseType.php" hash="8d07f1c93d0680f61d59bf2163042be5"/></dir><dir name="Exception"><file name="Abstract.php" hash="1eb99fc78d7289b66c62b9f3feeaf5f4"/><file name="InvalidParameters.php" hash="19df1c0d0bb6ef91560329ca960d5e8d"/></dir><file name="Factory.php" hash="7fe76a15b47eb692360485b2c86d0023"/><dir name="Request"><file name="Abstract.php" hash="82a935f450b054ad0316e06dcfff3599"/><file name="CreditCardCheck.php" hash="89ad304836bfe249de78a7ed2f4df4aa"/><file name="Interface.php" hash="a5550465e40d44f2bdca9d25581b1aff"/></dir><dir name="Service"><file name="GenerateHash.php" hash="489d77268d75a908ada40d9e2236331b"/></dir></dir><dir name="Config"><file name="Abstract.php" hash="57627d0919526793ad2fb0e5d70d32d8"/></dir><file name="Config.php" hash="c85ae1e3cf73331ca45ec4a15645263a"/><dir name="Enum"><file name="ClearingType.php" hash="e14bc770728c22c5f68f8dd032010f8c"/><file name="Mode.php" hash="ee9b0a7e12c9e582b7e25ccbbadb6b72"/><file name="Reminderlevel.php" hash="c552342982d010a94925ebb841ecc7eb"/></dir><dir name="Log4php"><file name="Logger.php" hash="8447fe973f3ef059ff0f57d82618ccf6"/><file name="LoggerAppender.php" hash="ec9686c66cb5574be4830abcd220a097"/><file name="LoggerAppenderConsole.php" hash="6a59da37cf0f37ff6665836a61da5bd2"/><file name="LoggerAppenderDailyFile.php" hash="6308ee07f3860bb3c6140eabfeb71cd7"/><file name="LoggerAppenderEcho.php" hash="68d7b55b079911e34e1f37317a49d586"/><file name="LoggerAppenderFile.php" hash="a96d454f13a48df572a5f80e4728c60a"/><file name="LoggerAppenderMail.php" hash="e9516e72ac3b6f831e4cc68205bbfde4"/><file name="LoggerAppenderMailEvent.php" hash="823f0b4c97f304a49fecb2a125f87437"/><file name="LoggerAppenderMongoDB.php" hash="6fb689ec75a81aa09d6eda5e4d43f212"/><file name="LoggerAppenderNull.php" hash="e83a4107179bf0bf1bb89f9cb8ea725c"/><file name="LoggerAppenderPDO.php" hash="34f1702a1fc36937a3c76f0eeb45df1b"/><file name="LoggerAppenderPhp.php" hash="34bb58d31236f6c501f961ce8e96d36e"/><file name="LoggerAppenderPool.php" hash="1c73795f9dce5960f09c95ef56cb2736"/><file name="LoggerAppenderRollingFile.php" hash="e3cacef4624d5ba9d7513490b451b32e"/><file name="LoggerAppenderSocket.php" hash="2b87c559b48feb5f2315134b2f4acf58"/><file name="LoggerAppenderSyslog.php" hash="69be997a8204e4d99a334c9a59e8bbcc"/><file name="LoggerAutoloader.php" hash="e998c843da4562d03fdba363dd796b4b"/><file name="LoggerConfigurable.php" hash="0f7c49d4b5c7951f7a5ebcb6fd72dc98"/><file name="LoggerConfigurationAdapter.php" hash="c0adc3a6cbaa800f9a1485d1f1fefed3"/><file name="LoggerConfigurationAdapterINI.php" hash="ea216d508a831c88a7bc6c13c3f2fc85"/><file name="LoggerConfigurationAdapterPHP.php" hash="a41c90c802c25ba8dec45b3138993590"/><file name="LoggerConfigurationAdapterXML.php" hash="a12cbab8e379f4984c078abfc58502f2"/><file name="LoggerConfigurator.php" hash="0e66c44e35c1cd3df0e59d2d573b550c"/><file name="LoggerConfiguratorDefault.php" hash="e01b6a93b7c4bff6b4cc82b7bda3c257"/><file name="LoggerException.php" hash="9e440d4b1cbcd75841ea11fe383841c4"/><file name="LoggerFilter.php" hash="c7b2470b5a201128e7838acb4e5965a2"/><file name="LoggerFilterDenyAll.php" hash="bc6153cbbe58c9449dcbe0eb58dcff05"/><file name="LoggerFilterLevelMatch.php" hash="48bed57d8094cd3b579a58ec9a509548"/><file name="LoggerFilterLevelRange.php" hash="f68174150dc2b0c43fabe882f5215d8c"/><file name="LoggerFilterStringMatch.php" hash="01b8f3f9ac023f7d20d3461be14f643f"/><file name="LoggerFormattingInfo.php" hash="364f3d31ee870acd469ca1fc1f8765ff"/><file name="LoggerHierarchy.php" hash="9163da991071a18867bf266bf735e078"/><file name="LoggerLayout.php" hash="6b31185297862e7d0b66cbeea0145eb6"/><file name="LoggerLayoutHtml.php" hash="d8a72d0aedfd68e8caed9953ae437315"/><file name="LoggerLayoutPattern.php" hash="a218e8726660ebca2d1f2d608ecaa343"/><file name="LoggerLayoutSerialized.php" hash="00a06131613a91c7c7ee6a5ba3947435"/><file name="LoggerLayoutSimple.php" hash="3476e848e0a0e5d747ba5012e65dfa1d"/><file name="LoggerLayoutTTCC.php" hash="4ae4f2443bf260b17c0c0c6f17065be7"/><file name="LoggerLayoutXml.php" hash="773e7660f2101b9ea902ec0a4b980c70"/><file name="LoggerLevel.php" hash="db8bce0726dec9bd9b0d6d02ae090049"/><file name="LoggerLocationInfo.php" hash="e245242f642455df5181d39b2a49bc54"/><file name="LoggerLoggingEvent.php" hash="663c8dfbdc7bae7c81a9184aa6be6e10"/><file name="LoggerMDC.php" hash="10fe2e863b66480aff6fe7c7109d8b39"/><file name="LoggerNDC.php" hash="afc52c64b7e31fa006ccbc1b18910dfd"/><file name="LoggerOptionConverter.php" hash="03ba7a93f58a843d18d168da0091b719"/><file name="LoggerPatternConverter.php" hash="8c384ce762db48a9e797929cb128f3d4"/><file name="LoggerPatternConverterClass.php" hash="d6a162b0bc1034d768b5738385e29630"/><file name="LoggerPatternConverterCookie.php" hash="a0dc2686c21284986f44ef306fdc3ff8"/><file name="LoggerPatternConverterDate.php" hash="2912f6c9b82d694b40ccc4accdba2e89"/><file name="LoggerPatternConverterEnvironment.php" hash="d7b8736d5784612941235a821f458ede"/><file name="LoggerPatternConverterFile.php" hash="10028ea79771e11a9c1c615b10fec045"/><file name="LoggerPatternConverterLevel.php" hash="d377b9f1eac786fa56f5232bc3a29eb3"/><file name="LoggerPatternConverterLine.php" hash="8c7c68267321e96b0dd9d5de3415a431"/><file name="LoggerPatternConverterLiteral.php" hash="5d846e8bbc96f26bc8e174013a1a5032"/><file name="LoggerPatternConverterLocation.php" hash="81536bcf1001bb97dfa21e9f7cbd4c5c"/><file name="LoggerPatternConverterLogger.php" hash="20b17edda41867d62c704c127f749b15"/><file name="LoggerPatternConverterMDC.php" hash="e4dc6877f736f846e1a4cc176b7c3a9b"/><file name="LoggerPatternConverterMessage.php" hash="30545b3ad7c93ea2193d342e2f99c2e7"/><file name="LoggerPatternConverterMethod.php" hash="eea57c3ef84b389ca433a7f2293582ae"/><file name="LoggerPatternConverterNDC.php" hash="f9275e216e7528b91d70998ad7475d91"/><file name="LoggerPatternConverterNewLine.php" hash="1ae8aa85ad891dbc7f1e41ed26194546"/><file name="LoggerPatternConverterProcess.php" hash="cd6244ec38481c95bfa7b6a2db5027c9"/><file name="LoggerPatternConverterRelative.php" hash="d1558f42568aad26b3a76d8608843841"/><file name="LoggerPatternConverterRequest.php" hash="4bdcac1e0447e330562315e4ae4f023c"/><file name="LoggerPatternConverterServer.php" hash="bd737b114527ea39dd5b960c22e1b349"/><file name="LoggerPatternConverterSession.php" hash="a613871c06e80970944445cdd4233cda"/><file name="LoggerPatternConverterSessionID.php" hash="91cdd24b77656cafd2e1ae647290fa8e"/><file name="LoggerPatternConverterSuperglobal.php" hash="ab3d22445bebe7335324f26384bd8cb1"/><file name="LoggerPatternConverterThrowable.php" hash="529b157d117600859d9fce6336096951"/><file name="LoggerPatternParser.php" hash="57eaa66b2207b388b353648f9a17c6f9"/><file name="LoggerReflectionUtils.php" hash="f10a30a11f0c1a2859a36ce89c22665a"/><file name="LoggerRendererDefault.php" hash="f1c84c625d1f14aab88e9a25ebd89225"/><file name="LoggerRendererException.php" hash="e00057ffc0687098d42a8fe09bd61f58"/><file name="LoggerRendererMap.php" hash="d37dd01cecf80bb13b99e892a964aae3"/><file name="LoggerRendererObject.php" hash="1d1837e2d3d1388be77a838722b201f4"/><file name="LoggerRoot.php" hash="e00579b43b67450ff7e88f230e9af8fd"/><file name="LoggerThrowableInformation.php" hash="ed28cd254f3a6f5220ecf4d191ed7e82"/><file name="LoggerUtils.php" hash="400c7578fb86bc02f9153da5d982576c"/><dir name="xml"><file name="log4php.dtd" hash="d4da6c96c895b879f6b1924eb8d949d4"/></dir></dir><dir name="Protocol"><dir name="Config"><file name="Filter.php" hash="f8781db0de4e426e3c2b107eca7bf13d"/></dir><dir name="Exception"><file name="FilterNotFound.php" hash="72b1c4ffa31b18ec27eed40469d222ae"/><file name="InvalidConfig.php" hash="78345f6cd5dd3918747303c9780eda09"/></dir><file name="Factory.php" hash="690d0411a8e3967091117745bd7290ad"/><dir name="Filter"><file name="Abstract.php" hash="9d5c4977a5674a5ebba0921aee3810e3"/><file name="Filterable.php" hash="a9d19c275d9c0930dbdcd1f38b99c4bf"/><file name="Interface.php" hash="7bdc72724988eafedf2a503d1a1371a5"/><file name="MaskValue.php" hash="27f5dfd7c608f4de67fd26f9751b7500"/></dir><dir name="Logger"><file name="Interface.php" hash="80c813837bfc8d3b62d548daa3bbc5e5"/><file name="Log4php.php" hash="6815d39e4acad685e5350e38bc2eccf4"/></dir><dir name="Service"><file name="ApplyFilters.php" hash="ab881b292dade78add817503e15b68ea"/><dir name="Protocol"><file name="Abstract.php" hash="c123ad9b6ed31d34c1236cbbe3c8c0a6"/></dir></dir></dir><dir name="SessionStatus"><file name="Config.php" hash="0057a291fc33d96d46b00c201387ce48"/><dir name="Enum"><file name="Action.php" hash="86aae514964a85a0dff8fb7d7c79093b"/></dir><dir name="Exception"><file name="Abstract.php" hash="6128f2e2d4ad5a38dfb09cc2adecc21f"/><file name="MissmatchingKeys.php" hash="c69e2e3e5f81ba53f4226f9757d1dfc0"/><file name="NoPostRequest.php" hash="6adfc0610f747cb2151aed01c6bdfec9"/><file name="NoRequestData.php" hash="6132f51c715ab7eb3ee1937455261a47"/><file name="Validation.php" hash="159feaa182829dd2ccb0bbf978b6e1a8"/></dir><file name="Factory.php" hash="158da95caf6b9146f52b3ef1407f06fe"/><dir name="Mapper"><file name="Request.php" hash="8ec870251f12c9d067b5aef628ad56d4"/><file name="RequestInterface.php" hash="61acebb1e89c610fb37ba525a7412090"/></dir><dir name="Persistence"><file name="Interface.php" hash="2c78e6c0e8eca67cc7b2d126b7fa547d"/></dir><dir name="Request"><file name="Abstract.php" hash="0ad0ad8e49f2d31664ca34fcf4ae32a1"/><file name="Interface.php" hash="e8c06647011871c9da566392b45f256e"/><dir name="Item"><file name="Abstract.php" hash="ff9ea330efbb8cce8b4e1749f2b6d0e6"/><file name="Interface.php" hash="cfc5e6e7f3d04a3ece7fe4886af94b05"/></dir><file name="Item.php" hash="865487598996bde31a4cc80bcf6b59e4"/></dir><file name="Request.php" hash="33c3d7d1fbe705dd1345b93af9de5ea9"/><dir name="Response"><file name="Abstract.php" hash="cf4341d0544b36f542ab4a9b47679add"/><file name="Interface.php" hash="5d66a02df38baba75ab21264cc73c7c4"/></dir><file name="Response.php" hash="4b07f4e1f1a83609206bf9c3addddf57"/><dir name="Service"><file name="HandleRequest.php" hash="3d38fde3b2ef05a985d9eb69aa3b73dc"/><dir name="ProtocolRequest"><file name="Interface.php" hash="d364210632f9c03cb7e2d95ff960592c"/></dir><file name="ProtocolRequest.php" hash="3a61ee5ff8c750d9b0c754c5483685d1"/></dir><dir name="Validator"><file name="Abstract.php" hash="4cf7905a160c59b286c3dfb51501b728"/><file name="DefaultParameters.php" hash="28f711bf64a2d09c4aed54a3de44c8ba"/><file name="Interface.php" hash="cc04e77ec7cdd7e72f223b4d851b892c"/><file name="Ip.php" hash="ee9646a2b1573c30290f48142ad9d453"/></dir></dir><dir name="Settings"><dir name="Configuration"><file name="Abstract.php" hash="b535ec70b40d20ab24aa248bcf3f05b4"/><dir name="Api"><file name="RequestType.php" hash="f6b23bf2652034cbc3d50ad0e782f8f1"/><file name="ResponseType.php" hash="b2422c4e38f381bd370176a6b0a0011d"/></dir><file name="Mode.php" hash="d5b47124f2893bdf3440ec48eb2c646d"/><dir name="PaymentMethod"><file name="CreditCard.php" hash="6894263df05741a6ed23c0acb414f402"/><file name="Financing.php" hash="27be604fed063bdbc893720927aa9669"/><file name="OnlineBankTransfer.php" hash="e5d6d8c95d0432e9f3442a8e9b1058b0"/><file name="Wallet.php" hash="060e1623e33a4551f921db1593891807"/></dir><file name="PaymentMethod.php" hash="e1c8fe981eda7dfbb4330605d0dddbe3"/><file name="Reminderlevel.php" hash="bdc018a59eaab4d13209fc529afd7d51"/><dir name="TransactionStatus"><file name="Action.php" hash="1e2015cb6a83696bbc348cd5a19dd978"/></dir><dir name="Verification"><file name="AddressCheck.php" hash="cc54a17bd42c9410ceefb3f2ce4dfe11"/><file name="AvsResult.php" hash="80859d494d8b426f0f80c7f6c0001e04"/><file name="BankaccountCheck.php" hash="5b3ab2b7fec0f82b0c7efb2fd4ba35ec"/><file name="Consumerscore.php" hash="b66352d2c8dcca7e37f6bdb2a1cfcecd"/><file name="Personstatus.php" hash="f995a8a5456b981d44763cab0c6aecf6"/></dir></dir><dir name="Data"><dir name="ConfigFile"><file name="Abstract.php" hash="45594b9218dd0cbf9a2190bbc1b1e5cd"/><file name="Collection.php" hash="2b387c4da779190bc3c774e5012383b2"/><dir name="Global"><file name="StatusMapping.php" hash="9abad2df07db470433b8d46d8c4b9321"/></dir><file name="Interface.php" hash="70133ac956846d5151edfeca478b9502"/><dir name="Misc"><file name="TransactionstatusForwarding.php" hash="94e96bfd0972e85ecfeb26d3d708a159"/></dir><dir name="PaymentMethod"><file name="Abstract.php" hash="ad85b6f37b133795f4a9cfd94200bb2a"/><file name="AdvancePayment.php" hash="99c961e1973c0f8f4943d46abb61806c"/><file name="CashOnDelivery.php" hash="8f89e4310e2f2350b69580fe0db55c3a"/><file name="Creditcard.php" hash="94cebabc02194a60b8c78b1c8c645d90"/><file name="DebitPayment.php" hash="6ae69fc4038503a5dc5af7e722b4ec09"/><file name="Financing.php" hash="8cf8aac0bc2774d5fc0eb357fd8bc3a8"/><file name="Invoice.php" hash="c28d6b98b873eb06a4313e1897dd155c"/><file name="OnlineBankTransfer.php" hash="978aeaf0bbdf2b8195270bf28b96121a"/><file name="Wallet.php" hash="1acd28b33ca24d1a6c722aba93e0f555"/></dir><dir name="Protect"><file name="Addresscheck.php" hash="e3b32053df373f47149b32867f13d206"/><file name="Consumerscore.php" hash="e62d17873198b55f17c4bb972ab4c181"/></dir><file name="Root.php" hash="65fe84a867e02b4e5d1815bb3e94ce32"/><dir name="Shop"><file name="ClearingTypes.php" hash="c6e47d0111cc904934511b5ed61bf6f9"/><file name="Global.php" hash="1581cf13f893d3945b23f409d8e2e63e"/><file name="Misc.php" hash="44d94e706d6ebdb8bdfc00c1f74c5a4b"/><file name="Protect.php" hash="d6eed6842f793c958cfc7eb4fb861dd4"/><file name="System.php" hash="47f25a4ad05e1cf6793f4a0683de62e7"/></dir><file name="Shop.php" hash="fcde392839c80db0f28811b5178364a6"/></dir></dir><file name="Factory.php" hash="e41b108aa4efba5210946af4602df9e6"/><dir name="Service"><file name="XmlGenerate.php" hash="2e1a6ba48fce431bb13461f159ada6f4"/><file name="XmlParse.php" hash="987a9edf0ca8f2eebcab576ca9270df1"/></dir></dir><dir name="TransactionStatus"><file name="Config.php" hash="5fe7ae51f4e65c69865bc4d2ae48328c"/><dir name="Enum"><file name="Failedcause.php" hash="e34e7a82a5f6e28546ab2df09109d365"/><file name="Txaction.php" hash="236b5444a67fecb4b26c6adb4417d6df"/></dir><dir name="Exception"><file name="Abstract.php" hash="692c679943a816fc6f4a10b0b122622b"/><file name="MissmatchingKeys.php" hash="aa1233fd4e5c93ae8b2fe4ae363e3e0e"/><file name="NoPostRequest.php" hash="74880ee2ff1b64ade5b43477b02c506a"/><file name="NoRequestData.php" hash="1c40ced8301991ac183dba44608c83d6"/><file name="Validation.php" hash="e5e90db597db6f1df42b65990b1fd436"/></dir><file name="Factory.php" hash="cacd4d296964cb8a305eba713092798c"/><dir name="Mapper"><file name="Request.php" hash="a1a5b75af8ca58b239c0def3f93be3de"/><file name="RequestInterface.php" hash="d35a1966060b22cf0fb8c43a1ed3623f"/></dir><dir name="Persistence"><file name="Interface.php" hash="fbbf23001bb9f6ff2ef20cbe20addc66"/></dir><dir name="Request"><file name="Abstract.php" hash="dfeadc0e413f145747b08130831744c0"/><file name="Interface.php" hash="b25d42147a10d4a7dc5130dd544ca2f1"/></dir><file name="Request.php" hash="beb71a270ee91f71ef81fbbd61d0d705"/><dir name="Response"><file name="Abstract.php" hash="559a911ec0743a718dbccf3605500d53"/><file name="Interface.php" hash="1087ea1a0c70040daad6eac2014790e2"/></dir><file name="Response.php" hash="ef77f669ce7c928df87a2d063f6762e4"/><dir name="Service"><file name="HandleRequest.php" hash="49cb49d3d99139b87f3361cbf2562e75"/><dir name="ProtocolRequest"><file name="Interface.php" hash="7576d86a4061811d9d1508c9d26c7277"/></dir><file name="ProtocolRequest.php" hash="8c63848af7ab2447d9584d1c90535bae"/></dir><dir name="Validator"><file name="Abstract.php" hash="5bcdb714a62976fd9fa4970a5e8ad74e"/><file name="DefaultParameters.php" hash="c909180f13bd0e0484e4c903e497d2f0"/><file name="Interface.php" hash="f7408812ceeb45d38324d6b4c8b9634f"/><file name="Ip.php" hash="0b6c7f7b55edee5b4957b4e9c8d43a83"/></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="payone"><dir name="core"><file name="boxes.css" hash="1a9ef798278e1d1dcc3c8dd86eb8ddca"/><dir name="images"><file name="error_msg_icon.gif" hash="e4f28607f075a105e53fa3113d84bd26"/><file name="favicon.png" hash="d189cb860fcdd76fbf3c07627023eed9"/><file name="help.png" hash="c3812c74bc524179f4ccf5d2db7b3cbf"/><file name="icon_16.png" hash="2812a3406492773bdbc8308d22901964"/><file name="logoclaim.gif" hash="d71545ef09e2f10339654cda93d1cca2"/><file name="magento_general_global.png" hash="2341d0ffb0f7fd6fe6ebf53860f9197b"/><file name="money_add.png" hash="41e1f9224e9c35929cb54882dc9d4426"/></dir><file name="wizard.css" hash="c2be3f8f3b7012f015fcd76aceebe32b"/></dir><dir name="migrator"><dir name="images"><file name="ajax-loader.gif" hash="32dc1f5901143d36fbd7a6df3950819f"/><file name="failure.gif" hash="4d785bcecfbe716fa4d749d20738a8f0"/><file name="success.gif" hash="3f9b9025551da6963a9ecf8d184a204a"/></dir><file name="migration.css" hash="c27e9fc8fa891b5ae3ca7480ba90cb02"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="payone"><dir name="core"><file name="mandate.css" hash="246dc6bbdca6c0eda2972b5abcb2b24b"/></dir></dir></dir></dir></dir></target></contents>
|
38 |
<compatible/>
|
39 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
40 |
</package>
|