Mage_Payone - Version 3.1.1

Version Notes

Mage_Payone-3.1.1

Download this release

Release Info

Developer Magento Core Team
Extension Mage_Payone
Version 3.1.1
Comparing to
See all releases


Code changes from version 3.0.12 to 3.1.1

Files changed (84) hide show
  1. app/code/community/Payone/Core/Block/Payment/Method/Form/Abstract.php +3 -3
  2. app/code/community/Payone/Core/Block/Payment/Method/Form/Financing.php +61 -0
  3. app/code/community/Payone/Core/Block/Payment/Method/Form/SafeInvoice.php +61 -0
  4. app/code/community/Payone/Core/Block/Payment/Method/Info/Abstract.php +4 -2
  5. app/code/community/Payone/Core/Block/Payment/Method/Info/Financing.php +52 -0
  6. app/code/community/Payone/Core/Block/Payment/Method/Info/SafeInvoice.php +164 -0
  7. app/code/community/Payone/Core/Helper/Config.php +13 -2
  8. app/code/community/Payone/Core/Helper/Data.php +68 -0
  9. app/code/community/Payone/Core/Helper/Registry.php +96 -0
  10. app/code/community/Payone/Core/Model/Config/General/StatusMapping.php +40 -0
  11. app/code/community/Payone/Core/Model/Config/Payment.php +1 -1
  12. app/code/community/Payone/Core/Model/Domain/Config/PaymentMethod.php +136 -2
  13. app/code/community/Payone/Core/Model/Domain/Protocol/TransactionStatus.php +13 -1
  14. app/code/community/Payone/Core/Model/Domain/Resource/Config/PaymentMethod/Collection.php +4 -4
  15. app/code/community/Payone/Core/Model/Factory.php +67 -0
  16. app/code/community/Payone/Core/Model/Handler/Payment/Abstract.php +17 -0
  17. app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Abstract.php +45 -2
  18. app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Authorize/Abstract.php +56 -15
  19. app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Capture.php +50 -8
  20. app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Debit.php +63 -80
  21. app/code/community/Payone/Core/Model/Observer/Sales/Order.php +19 -0
  22. app/code/community/Payone/Core/Model/Observer/Store/PaymentConfig.php +71 -0
  23. app/code/community/Payone/Core/Model/Observer/TransactionStatus/InvoiceCreate.php +8 -0
  24. app/code/community/Payone/Core/Model/Observer/TransactionStatus/OrderConfirmation.php +97 -0
  25. app/code/community/Payone/Core/Model/Observer/TransactionStatus/StoreClearingParameters.php +51 -0
  26. app/code/community/Payone/Core/Model/Payment/Method/Abstract.php +31 -0
  27. app/code/community/Payone/Core/Model/Payment/Method/Financing.php +87 -0
  28. app/code/community/Payone/Core/Model/Payment/Method/SafeInvoice.php +156 -0
  29. app/code/community/Payone/Core/Model/Repository/TransactionStatus.php +8 -0
  30. app/code/community/Payone/Core/Model/Sales/Quote/Address/Total/Fee.php +3 -0
  31. app/code/community/Payone/Core/Model/Service/Abstract.php +9 -0
  32. app/code/community/Payone/Core/Model/Service/Config/PaymentMethod/Create.php +102 -0
  33. app/code/community/Payone/Core/Model/Service/Config/XmlGenerate.php +12 -1
  34. app/code/community/Payone/Core/Model/Service/InitializeConfig.php +14 -48
  35. app/code/community/Payone/Core/Model/Service/InitializePayment.php +1 -0
  36. app/code/community/Payone/Core/Model/Service/Sales/InvoiceCreate.php +3 -0
  37. app/code/community/Payone/Core/Model/Service/Sales/OrderConfirmation.php +58 -0
  38. app/code/community/Payone/Core/Model/Service/Sales/OrderStatus.php +6 -0
  39. app/code/community/Payone/Core/Model/Service/TransactionStatus/StoreClearingParameters.php +75 -0
  40. app/code/community/Payone/Core/Model/System/Config/AuthorizeMethodFinancing.php +46 -0
  41. app/code/community/Payone/Core/Model/System/Config/FinancingType.php +47 -0
  42. app/code/community/Payone/Core/Model/System/Config/MethodType.php +12 -3
  43. app/code/community/Payone/Core/Model/System/Config/PaymentMethodCode.php +4 -0
  44. app/code/community/Payone/Core/Model/System/Config/PaymentMethodType.php +4 -0
  45. app/code/community/Payone/Core/Model/System/Config/SafeInvoiceType.php +44 -0
  46. app/code/community/Payone/Core/controllers/Adminhtml/System/ConfigurationController.php +4 -0
  47. app/code/community/Payone/Core/etc/config.xml +66 -1
  48. app/code/community/Payone/Core/etc/system.xml +84 -0
  49. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.0.12-3.1.0.php +239 -0
  50. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.1.0-3.1.1.php +134 -0
  51. app/code/community/Payone/Core/sql/payone_core_setup/upgrade-3.0.12-3.1.0.sql +40 -0
  52. app/code/community/Payone/Migrator/Model/Service/Configuration/PaymentMigrate.php +28 -30
  53. app/design/adminhtml/default/default/template/payone/core/payment/method/info/financing.phtml +35 -0
  54. app/design/adminhtml/default/default/template/payone/core/payment/method/info/safe_invoice.phtml +47 -0
  55. app/design/adminhtml/default/default/template/payone/core/payment/method/pdf/safe_invoice.phtml +66 -0
  56. app/design/adminhtml/default/default/template/payone/core/system/config/tooltip/payment/financing.phtml +32 -0
  57. app/design/adminhtml/default/default/template/payone/core/system/config/tooltip/payment/safe_invoice.phtml +32 -0
  58. app/design/frontend/base/default/layout/payone/core.xml +1 -0
  59. app/design/frontend/base/default/template/payone/core/payment/method/form/financing.phtml +73 -0
  60. app/design/frontend/base/default/template/payone/core/payment/method/form/invoice.phtml +1 -1
  61. app/design/frontend/base/default/template/payone/core/payment/method/form/safe_invoice.phtml +73 -0
  62. app/design/frontend/base/default/template/payone/core/payment/method/info/financing.phtml +36 -0
  63. app/design/frontend/base/default/template/payone/core/payment/method/info/safe_invoice.phtml +36 -0
  64. app/locale/de_DE/Payone_Core.csv +25 -0
  65. app/locale/en_US/Payone_Core.csv +4 -1
  66. js/payone/core/financing.js +34 -0
  67. js/payone/core/safe_invoice.js +34 -0
  68. lib/Payone/Api/Enum/CaptureMode.php +36 -0
  69. lib/Payone/Api/Enum/FinancingType.php +37 -0
  70. lib/Payone/Api/Enum/InvoicingItemType.php +38 -0
  71. lib/Payone/Api/Factory.php +1 -1
  72. lib/Payone/Api/Request/Parameter/Authorization/PaymentMethod/Financing.php +119 -0
  73. lib/Payone/Api/Request/Parameter/Capture/Invoicing/Transaction.php +47 -0
  74. lib/Payone/Api/Request/Parameter/Invoicing/Item.php +23 -0
  75. lib/Payone/Api/Request/Parameter/Invoicing/Transaction.php +6 -3
  76. lib/Payone/Api/Response/Authorization/Abstract.php +4 -1
  77. lib/Payone/Api/Response/Capture/Approved.php +78 -0
  78. lib/Payone/Enum/ClearingType.php +1 -0
  79. lib/Payone/Log4php/LoggerPatternConverterSuperglobal.php +3 -3
  80. lib/Payone/Settings/Configuration/PaymentMethod/Financing.php +48 -0
  81. lib/Payone/Settings/Data/ConfigFile/PaymentMethod/Financing.php +76 -0
  82. lib/Payone/Settings/Service/XmlGenerate.php +18 -14
  83. lib/Payone/TransactionStatus/Request.php +242 -0
  84. package.xml +5 -5
app/code/community/Payone/Core/Block/Payment/Method/Form/Abstract.php CHANGED
@@ -135,10 +135,10 @@ class Payone_Core_Block_Payment_Method_Form_Abstract
135
  * Provide an array of credit card types for the template
136
  *
137
  * Each value is an array, with the keys:
138
- * code - type code, e.g. 'V'
139
- * name - name for display, e.g. "Visa"
140
  * fee - Formatted fee price for this type, empty if no price is configured.
141
- * check_cvc - 1 or 0, depends on the used configuration only set for Creditcard
142
  * config_id - Id of the payment method configuration for this card type
143
  *
144
  * @api
135
  * Provide an array of credit card types for the template
136
  *
137
  * Each value is an array, with the keys:
138
+ * code - type code, e.g. 'V', PNC', 'BSV'
139
+ * name - name for display, e.g. "Visa", "Sofortueberweisung" "BillSafe'
140
  * fee - Formatted fee price for this type, empty if no price is configured.
141
+ * check_cvc - 1 or 0, depends on the used configuration. only set for Creditcard
142
  * config_id - Id of the payment method configuration for this card type
143
  *
144
  * @api
app/code/community/Payone/Core/Block/Payment/Method/Form/Financing.php ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_Form_Financing
34
+ extends Payone_Core_Block_Payment_Method_Form_Abstract
35
+ {
36
+ protected $hasTypes = true;
37
+
38
+ protected function _construct()
39
+ {
40
+ parent::_construct();
41
+ $this->setTemplate('payone/core/payment/method/form/financing.phtml');
42
+ }
43
+
44
+ /**
45
+ * @override To prevent display of fee config on payment method, as there might be different fees for each financing type
46
+ *
47
+ * @return string
48
+ */
49
+ public function getMethodLabelAfterHtml()
50
+ {
51
+ return '';
52
+ }
53
+
54
+ /**
55
+ * @return array
56
+ */
57
+ protected function getSystemConfigMethodTypes()
58
+ {
59
+ return $this->getFactory()->getModelSystemConfigFinancingType()->toSelectArray();
60
+ }
61
+ }
app/code/community/Payone/Core/Block/Payment/Method/Form/SafeInvoice.php ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_Form_SafeInvoice
34
+ extends Payone_Core_Block_Payment_Method_Form_Abstract
35
+ {
36
+ protected $hasTypes = true;
37
+
38
+ protected function _construct()
39
+ {
40
+ parent::_construct();
41
+ $this->setTemplate('payone/core/payment/method/form/safe_invoice.phtml');
42
+ }
43
+
44
+ /**
45
+ * @override To prevent display of fee config on payment method, as there might be different fees for each safe_invoice type
46
+ *
47
+ * @return string
48
+ */
49
+ public function getMethodLabelAfterHtml()
50
+ {
51
+ return '';
52
+ }
53
+
54
+ /**
55
+ * @return array
56
+ */
57
+ protected function getSystemConfigMethodTypes()
58
+ {
59
+ return $this->getFactory()->getModelSystemConfigSafeInvoiceType()->toSelectArray();
60
+ }
61
+ }
app/code/community/Payone/Core/Block/Payment/Method/Info/Abstract.php CHANGED
@@ -60,7 +60,8 @@ class Payone_Core_Block_Payment_Method_Info_Abstract
60
  }
61
  if(empty($config))
62
  {
63
- throw new Payone_Core_Exception_PaymentMethodConfigNotFound();
 
64
  }
65
  $this->paymentConfig = $config;
66
  }
@@ -72,7 +73,8 @@ class Payone_Core_Block_Payment_Method_Info_Abstract
72
  */
73
  public function getMethodTitle()
74
  {
75
- return $this->getPaymentConfig()->getName();
 
76
  }
77
 
78
  /**
60
  }
61
  if(empty($config))
62
  {
63
+ $message = 'Payment method configuration not found.';
64
+ throw new Payone_Core_Exception_PaymentMethodConfigNotFound($message);
65
  }
66
  $this->paymentConfig = $config;
67
  }
73
  */
74
  public function getMethodTitle()
75
  {
76
+ $paymentconfig = $this->getPaymentConfig();
77
+ return $paymentconfig->getName();
78
  }
79
 
80
  /**
app/code/community/Payone/Core/Block/Payment/Method/Info/Financing.php ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_Financing
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/financing.phtml');
40
+
41
+ }
42
+
43
+ /**
44
+ * @return string
45
+ */
46
+ public function getFinancingType()
47
+ {
48
+ $model = $this->getFactory()->getModelSystemConfigFinancingType();
49
+ $array = $model->toSelectArray();
50
+ return $array[$this->getInfo()->getPayoneFinancingType()];
51
+ }
52
+ }
app/code/community/Payone/Core/Block/Payment/Method/Info/SafeInvoice.php ADDED
@@ -0,0 +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()->getPayoneClearingBankName();
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/Helper/Config.php CHANGED
@@ -88,8 +88,19 @@ class Payone_Core_Helper_Config
88
  */
89
  public function getConfigPaymentMethodById($id, $storeId = null)
90
  {
91
- $configPayment = $this->getConfigPayment($storeId);
92
- $config = $configPayment->getMethodById($id);
 
 
 
 
 
 
 
 
 
 
 
93
  return $config;
94
  }
95
 
88
  */
89
  public function getConfigPaymentMethodById($id, $storeId = null)
90
  {
91
+ $general = $this->getConfigGeneral($storeId);
92
+ $defaultConfig = $general->getGlobal()->toArray();
93
+ $invoiceTransmit = $general->getParameterInvoice()->getTransmitEnabled();
94
+
95
+ // Add invoice_transmit to defaultConfig
96
+ $defaultConfig['invoice_transmit'] = $invoiceTransmit;
97
+
98
+
99
+ $config = $this->getFactory()->getModelDomainConfigPaymentMethod();
100
+ $config->load($id);
101
+ $config->loadMergedData();
102
+ $config = $config->toConfigPayment($storeId, $defaultConfig);
103
+
104
  return $config;
105
  }
106
 
app/code/community/Payone/Core/Helper/Data.php CHANGED
@@ -98,6 +98,59 @@ class Payone_Core_Helper_Data
98
  return $edition;
99
  }
100
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
  /**
102
  * @return int
103
  */
@@ -216,6 +269,21 @@ class Payone_Core_Helper_Data
216
  return $hash;
217
  }
218
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
219
  /**
220
  * Check if Mage-Compiler is enabled
221
  * @return bool
98
  return $edition;
99
  }
100
 
101
+ /**
102
+ * Determine installer style to use, by Magento version/edition
103
+ * Pre-CE1.6 = use SQL script
104
+ *
105
+ * @return bool
106
+ */
107
+ public function mustUseSqlInstaller()
108
+ {
109
+ $magentoVersion = $this->getMagentoVersion();
110
+
111
+ switch ($this->getMagentoEdition()) {
112
+ case 'CE' :
113
+ if (version_compare($magentoVersion, '1.6', '<')) {
114
+ return true;
115
+ }
116
+ break;
117
+ case 'EE' : // Intentional fallthrough
118
+ case 'PE' :
119
+ if (version_compare($magentoVersion, '1.11', '<')) {
120
+ return true;
121
+ }
122
+ break;
123
+ }
124
+
125
+ return false;
126
+ }
127
+
128
+ /**
129
+ * Determine if Magento App Emulation is available
130
+ *
131
+ * @return bool
132
+ */
133
+ public function canUseAppEmulation()
134
+ {
135
+ $magentoVersion = $this->getMagentoVersion();
136
+
137
+ switch ($this->getMagentoEdition()) {
138
+ case 'CE' :
139
+ if (version_compare($magentoVersion, '1.5', '<')) {
140
+ return false;
141
+ }
142
+ break;
143
+ case 'EE' : // Intentional fallthrough
144
+ case 'PE' :
145
+ if (version_compare($magentoVersion, '1.10', '<')) {
146
+ return false;
147
+ }
148
+ break;
149
+ }
150
+
151
+ return true;
152
+ }
153
+
154
  /**
155
  * @return int
156
  */
269
  return $hash;
270
  }
271
 
272
+ /**
273
+ * @param Mage_Customer_Model_Address_Abstract $address1
274
+ * @param Mage_Customer_Model_Address_Abstract $address2
275
+ * @return bool
276
+ */
277
+ public function addressesAreEqual(Mage_Customer_Model_Address_Abstract $address1, Mage_Customer_Model_Address_Abstract $address2)
278
+ {
279
+ $hash1 = $this->createAddressHash($address1);
280
+ $hash2 = $this->createAddressHash($address2);
281
+
282
+ if($hash1 == $hash2)
283
+ return true;
284
+ return false;
285
+ }
286
+
287
  /**
288
  * Check if Mage-Compiler is enabled
289
  * @return bool
app/code/community/Payone/Core/Helper/Registry.php ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_Helper
17
+ * @subpackage
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_Helper
28
+ * @subpackage
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_Helper_Registry
34
+ extends Payone_Core_Helper_Abstract
35
+ {
36
+ const KEY_PAYMENT_CANCEL = 'payone_payment_cancel_';
37
+
38
+ /**
39
+ * Wrapper for Mage::registry()
40
+ * @param string $key
41
+ *
42
+ * @return mixed
43
+ */
44
+ public function registry($key)
45
+ {
46
+ return Mage::registry($key);
47
+ }
48
+
49
+
50
+ /**
51
+ * Wrapper for Mage::register()
52
+ *
53
+ * @param string $key
54
+ * @param mixed $value
55
+ * @param bool $graceful
56
+ *
57
+ * @throws Mage_Core_Exception
58
+ */
59
+ public function register($key, $value, $graceful = false)
60
+ {
61
+ return Mage::register($key, $value, $graceful);
62
+ }
63
+
64
+ /**
65
+ * Wrapper for Mage::unregister()
66
+ *
67
+ * @param string $key
68
+ */
69
+ public function unregister($key)
70
+ {
71
+ Mage::unregister($key);
72
+ }
73
+
74
+ /**
75
+ * @param Mage_Payment_Model_Info $payment
76
+ */
77
+ public function registerPaymentCancel(Mage_Payment_Model_Info $payment)
78
+ {
79
+ $this->register(self::KEY_PAYMENT_CANCEL.$payment->getId(), true);
80
+ }
81
+
82
+ /**
83
+ *
84
+ * @param Mage_Payment_Model_Info $payment
85
+ * @return bool
86
+ */
87
+ public function isPaymentCancelRegistered(Mage_Payment_Model_Info $payment)
88
+ {
89
+ $value = $this->registry(self::KEY_PAYMENT_CANCEL.$payment->getId());
90
+
91
+ if(empty($value) or !($value))
92
+ return false;
93
+ else
94
+ return true;
95
+ }
96
+ }
app/code/community/Payone/Core/Model/Config/General/StatusMapping.php CHANGED
@@ -36,6 +36,14 @@ class Payone_Core_Model_Config_General_StatusMapping extends Payone_Core_Model_C
36
  * @var null
37
  */
38
  protected $creditcard = null;
 
 
 
 
 
 
 
 
39
  /**
40
  * @var null
41
  */
@@ -240,4 +248,36 @@ class Payone_Core_Model_Config_General_StatusMapping extends Payone_Core_Model_C
240
  {
241
  return $this->wallet;
242
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
243
  }
36
  * @var null
37
  */
38
  protected $creditcard = null;
39
+ /**
40
+ * @var null
41
+ */
42
+ protected $safe_invoice = null;
43
+ /**
44
+ * @var null
45
+ */
46
+ protected $financing = null;
47
  /**
48
  * @var null
49
  */
248
  {
249
  return $this->wallet;
250
  }
251
+
252
+ /**
253
+ * @param null $financing
254
+ */
255
+ public function setFinancing($financing)
256
+ {
257
+ $this->financing = $financing;
258
+ }
259
+
260
+ /**
261
+ * @return null
262
+ */
263
+ public function getFinancing()
264
+ {
265
+ return $this->financing;
266
+ }
267
+
268
+ /**
269
+ * @param null $safe_invoice
270
+ */
271
+ public function setSafeInvoice($safe_invoice)
272
+ {
273
+ $this->safe_invoice = $safe_invoice;
274
+ }
275
+
276
+ /**
277
+ * @return null
278
+ */
279
+ public function getSafeInvoice()
280
+ {
281
+ return $this->safe_invoice;
282
+ }
283
  }
app/code/community/Payone/Core/Model/Config/Payment.php CHANGED
@@ -125,7 +125,7 @@ class Payone_Core_Model_Config_Payment extends Payone_Core_Model_Config_AreaAbst
125
  public function getMethodsForQuote($type, Mage_Sales_Model_Quote $quote)
126
  {
127
  $country = $quote->getBillingAddress()->getCountry();
128
- $quoteTotal = $quote->getSubtotal();
129
 
130
  $methodsForCountry = $this->getMethodsForCountry($type, $country);
131
 
125
  public function getMethodsForQuote($type, Mage_Sales_Model_Quote $quote)
126
  {
127
  $country = $quote->getBillingAddress()->getCountry();
128
+ $quoteTotal = $quote->getGrandTotal();
129
 
130
  $methodsForCountry = $this->getMethodsForCountry($type, $country);
131
 
app/code/community/Payone/Core/Model/Domain/Config/PaymentMethod.php CHANGED
@@ -97,6 +97,9 @@ class Payone_Core_Model_Domain_Config_PaymentMethod
97
  /** @var Payone_Core_Model_Factory */
98
  protected $factory = null;
99
 
 
 
 
100
  /**
101
  *
102
  */
@@ -121,6 +124,7 @@ class Payone_Core_Model_Domain_Config_PaymentMethod
121
  }
122
 
123
  $originModel = $this->loadOriginPaymentMethodConfig();
 
124
  if ($originModel
125
  && ($this->getScope() != $originModel->getScope()
126
  || $this->getScopeId() != $originModel->getScopeId()
@@ -143,7 +147,7 @@ class Payone_Core_Model_Domain_Config_PaymentMethod
143
  $store = $this->getFactory()->getModelCoreStore()->load($this->getScopeId());
144
  $websiteId = $store->getWebsiteId();
145
 
146
- $dummy = Mage::getModel('payone_core/domain_config_paymentMethod');
147
  $dummy->setScope($parentScope);
148
  $dummy->setScopeId($websiteId);
149
  $dummy->setCode($originModel->getCode());
@@ -185,6 +189,7 @@ class Payone_Core_Model_Domain_Config_PaymentMethod
185
  $this->prepareData();
186
 
187
  if ($this->isObjectNew()) {
 
188
  $this->setCreatedAt(date('Y-m-d H:i:s'));
189
  $this->setUpdatedAt(date('Y-m-d H:i:s'));
190
  }
@@ -195,6 +200,126 @@ class Payone_Core_Model_Domain_Config_PaymentMethod
195
  return $this;
196
  }
197
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
198
  /**
199
  * Load original PaymentMethod from Database
200
  * @return Payone_Core_Model_Domain_Config_PaymentMethod
@@ -204,7 +329,7 @@ class Payone_Core_Model_Domain_Config_PaymentMethod
204
  if ($this->getId()) {
205
 
206
  /** @var $originModel Payone_Core_Model_Domain_Config_PaymentMethod */
207
- $originModel = Mage::getModel('payone_core/domain_config_paymentMethod');
208
  $originModel->load($this->getId());
209
  $originModel->prepareData();
210
  return $originModel;
@@ -450,6 +575,15 @@ class Payone_Core_Model_Domain_Config_PaymentMethod
450
  $this->explodeData('specificcountry');
451
  }
452
 
 
 
 
 
 
 
 
 
 
453
  /**
454
  *
455
  */
97
  /** @var Payone_Core_Model_Factory */
98
  protected $factory = null;
99
 
100
+
101
+ protected $isNew = false;
102
+
103
  /**
104
  *
105
  */
124
  }
125
 
126
  $originModel = $this->loadOriginPaymentMethodConfig();
127
+
128
  if ($originModel
129
  && ($this->getScope() != $originModel->getScope()
130
  || $this->getScopeId() != $originModel->getScopeId()
147
  $store = $this->getFactory()->getModelCoreStore()->load($this->getScopeId());
148
  $websiteId = $store->getWebsiteId();
149
 
150
+ $dummy = $this->getFactory()->getModelDomainConfigPaymentMethod();
151
  $dummy->setScope($parentScope);
152
  $dummy->setScopeId($websiteId);
153
  $dummy->setCode($originModel->getCode());
189
  $this->prepareData();
190
 
191
  if ($this->isObjectNew()) {
192
+ $this->isNew = true; // to trigger actions in _afterSave()
193
  $this->setCreatedAt(date('Y-m-d H:i:s'));
194
  $this->setUpdatedAt(date('Y-m-d H:i:s'));
195
  }
200
  return $this;
201
  }
202
 
203
+ /**
204
+ * On creation of a new configuration, propagate it to the deeper scopes, with all possible values inherited
205
+ * _afterSave is called on the new objects as well.
206
+ *
207
+ * @return Mage_Core_Model_Abstract
208
+ */
209
+ protected function _afterSave()
210
+ {
211
+ if ($this->isNew) {
212
+ // Check the next "deeper" scope, if no config exists, add inherited configs
213
+ $myScope = $this->getScope();
214
+ if ($myScope == 'default') {
215
+ $websites = $this->getFactory()->getModelCoreWebsite()->getCollection();
216
+
217
+ // 1 for each website
218
+ foreach ($websites as $website) {
219
+ /** @var $website Mage_Core_Model_Website */
220
+ $this->saveChildConfig($website->getId(), 'websites');
221
+
222
+ }
223
+ }
224
+ elseif ($myScope == 'websites') {
225
+ /** @var $stores Mage_Core_Model_Mysql4_Store_Collection */
226
+ $stores = $this->getFactory()->getModelCoreStore()->getCollection();
227
+ $stores->addFieldToFilter('website_id', $this->getScopeId());
228
+
229
+ // 1 for each storeView on the website
230
+ foreach ($stores as $store) {
231
+ /** @var $store Mage_Core_Model_Store */
232
+ $this->saveChildConfig($store->getId(), 'stores');
233
+
234
+ }
235
+ }
236
+ }
237
+ return parent::_afterSave();
238
+ }
239
+
240
+ /**
241
+ * Save a child config that inherits all data from current model
242
+ *
243
+ * @param $scopeId
244
+ * @param $childScope
245
+ *
246
+ * @return void
247
+ */
248
+ protected function saveChildConfig($scopeId, $childScope)
249
+ {
250
+
251
+ if ($childScope == 'websites') {
252
+ $parentField = 'parent_default_id';
253
+ }
254
+ elseif ($childScope == 'stores') {
255
+ $parentField = 'parent_websites_id';
256
+ }
257
+ else {
258
+ return;
259
+ }
260
+
261
+ $childConfig = $this->getFactory()->getModelDomainConfigPaymentMethod();
262
+ $childConfig->setScope($childScope);
263
+ $childConfig->setScopeId($scopeId);
264
+ $childConfig->setCode($this->getCode());
265
+ $childConfig->setData($parentField, $this->getId());
266
+
267
+ $childConfig->save();
268
+
269
+
270
+ }
271
+
272
+ /**
273
+ * @param int $storeId
274
+ * @param array $defaultConfig
275
+ * @return Payone_Core_Model_Config_Payment_Method_Interface
276
+ */
277
+ public function toConfigPayment($storeId, array $defaultConfig = array())
278
+ {
279
+ /**
280
+ * The object we want to return:
281
+ * @var $configMethod Payone_Core_Model_Config_Payment_Method */
282
+ $configMethod = $this->getFactory()->getModelConfigPaymentMethod();
283
+
284
+ $configMethod->init($this->_data);
285
+
286
+ // Use Global Config if use_global is set
287
+ if ($configMethod->getUseGlobal()) {
288
+ $configMethod->init($defaultConfig);
289
+ }
290
+ else {
291
+ // Check globals also if they are not to use
292
+ foreach ($defaultConfig as $key => $value) {
293
+ if (!array_key_exists($key, $this->_data) || $this->_data[$key] == '') {
294
+ $this->_data[$key] = $value;
295
+ }
296
+ }
297
+ $configMethod->init($this->_data);
298
+ }
299
+
300
+ // init Allowed Countries
301
+ if (array_key_exists('allowspecific', $this->_data) and $this->getAllowspecific()) {
302
+ $allowedCountries = $configMethod->getSpecificcountry();
303
+ }
304
+ else {
305
+ $generalAllowedCountries = $this->helperConfig()->getStoreConfig('general/country/allow', $storeId);
306
+ $allowedCountries = explode(',', $generalAllowedCountries);
307
+ }
308
+ $configMethod->setAllowedCountries($allowedCountries);
309
+
310
+ $parentDefaultId = $this->getParentDefaultId();
311
+ $parentWebsitesId = $this->getParentWebsitesId();
312
+ if (!empty($parentDefaultId) && empty($parentWebsitesId)) {
313
+ $configMethod->setParent($parentDefaultId);
314
+ return $configMethod;
315
+ }
316
+ elseif (!empty($parentWebsitesId)) {
317
+ $configMethod->setParent($parentWebsitesId);
318
+ return $configMethod;
319
+ }
320
+ return $configMethod;
321
+ }
322
+
323
  /**
324
  * Load original PaymentMethod from Database
325
  * @return Payone_Core_Model_Domain_Config_PaymentMethod
329
  if ($this->getId()) {
330
 
331
  /** @var $originModel Payone_Core_Model_Domain_Config_PaymentMethod */
332
+ $originModel = $this->getFactory()->getModelDomainConfigPaymentMethod();
333
  $originModel->load($this->getId());
334
  $originModel->prepareData();
335
  return $originModel;
575
  $this->explodeData('specificcountry');
576
  }
577
 
578
+
579
+ /**
580
+ * @return Payone_Core_Helper_Config
581
+ */
582
+ protected function helperConfig()
583
+ {
584
+ return $this->getFactory()->helperConfig();
585
+ }
586
+
587
  /**
588
  *
589
  */
app/code/community/Payone/Core/Model/Domain/Protocol/TransactionStatus.php CHANGED
@@ -162,7 +162,19 @@ class Payone_Core_Model_Domain_Protocol_TransactionStatus extends Mage_Core_Mode
162
  'invoice_grossamount',
163
  'invoice_date',
164
  'invoice_deliverydate',
165
- 'invoice_deliveryenddate');
 
 
 
 
 
 
 
 
 
 
 
 
166
 
167
  $rawData = $this->__toArray($allowedKeys);
168
  ksort($rawData);
162
  'invoice_grossamount',
163
  'invoice_date',
164
  'invoice_deliverydate',
165
+ 'invoice_deliveryenddate',
166
+ 'clearing_bankaccountholder',
167
+ 'clearing_bankcountry',
168
+ 'clearing_bankaccount',
169
+ 'clearing_bankcode',
170
+ 'clearing_bankiban',
171
+ 'clearing_bankbic',
172
+ 'clearing_bankcity',
173
+ 'clearing_bankname',
174
+ 'clearing_reference',
175
+ 'clearing_duedate',
176
+ 'clearing_legalnote',
177
+ 'clearing_instructionnote');
178
 
179
  $rawData = $this->__toArray($allowedKeys);
180
  ksort($rawData);
app/code/community/Payone/Core/Model/Domain/Resource/Config/PaymentMethod/Collection.php CHANGED
@@ -111,8 +111,8 @@ class Payone_Core_Model_Domain_Resource_Config_PaymentMethod_Collection
111
  }
112
 
113
  /**
114
- * @param $id
115
- *
116
  * @return Payone_Core_Model_Domain_Resource_Config_PaymentMethod_Collection
117
  */
118
  public function getCollectionByStoreId($id, $includeDeleted = false)
@@ -160,8 +160,8 @@ class Payone_Core_Model_Domain_Resource_Config_PaymentMethod_Collection
160
  }
161
 
162
  /**
163
- * @param $id
164
- *
165
  * @return Payone_Core_Model_Domain_Resource_Config_PaymentMethod_Collection
166
  */
167
  public function getCollectionByWebsiteId($id, $includeDeleted = false)
111
  }
112
 
113
  /**
114
+ * @param int $id
115
+ * @param bool $includeDeleted
116
  * @return Payone_Core_Model_Domain_Resource_Config_PaymentMethod_Collection
117
  */
118
  public function getCollectionByStoreId($id, $includeDeleted = false)
160
  }
161
 
162
  /**
163
+ * @param int $id
164
+ * @param bool $includeDeleted
165
  * @return Payone_Core_Model_Domain_Resource_Config_PaymentMethod_Collection
166
  */
167
  public function getCollectionByWebsiteId($id, $includeDeleted = false)
app/code/community/Payone/Core/Model/Factory.php CHANGED
@@ -72,6 +72,16 @@ class Payone_Core_Model_Factory
72
  return Mage::helper('payone_core/config');
73
  }
74
 
 
 
 
 
 
 
 
 
 
 
75
  /**
76
  * @return Payone_Core_Helper_Url
77
  */
@@ -790,6 +800,19 @@ class Payone_Core_Model_Factory
790
  return $service;
791
  }
792
 
 
 
 
 
 
 
 
 
 
 
 
 
 
793
  /**
794
  * @return Payone_Core_Model_Service_Transaction_Update
795
  */
@@ -854,6 +877,20 @@ class Payone_Core_Model_Factory
854
  $service->setFactory($this);
855
  return $service;
856
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
857
 
858
  /**
859
  * @return Payone_Settings_Service_XmlGenerate
@@ -864,6 +901,19 @@ class Payone_Core_Model_Factory
864
  return $service;
865
  }
866
 
 
 
 
 
 
 
 
 
 
 
 
 
 
867
  /**
868
  * @return Payone_Core_Model_Service_Config_XmlGenerate
869
  */
@@ -1299,6 +1349,23 @@ class Payone_Core_Model_Factory
1299
  return Mage::getSingleton('payone_core/system_config_walletType');
1300
  }
1301
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1302
  /**
1303
  * @return Payone_Core_Model_System_Config_AddressCheckType
1304
  */
72
  return Mage::helper('payone_core/config');
73
  }
74
 
75
+
76
+ /**
77
+ *
78
+ * @return Payone_Core_Helper_Registry
79
+ */
80
+ public function helperRegistry()
81
+ {
82
+ return Mage::helper('payone_core/registry');
83
+ }
84
+
85
  /**
86
  * @return Payone_Core_Helper_Url
87
  */
800
  return $service;
801
  }
802
 
803
+
804
+ /**
805
+ * @return Payone_Core_Model_Service_TransactionStatus_StoreClearingParameters
806
+ */
807
+ public function getServiceTransactionStatusStoreClearingParameters()
808
+ {
809
+ /** @var $service Payone_Core_Model_Service_TransactionStatus_StoreClearingParameters */
810
+ $service = Mage::getModel('payone_core/service_transactionStatus_storeClearingParameters');
811
+ $service->setFactory($this);
812
+
813
+ return $service;
814
+ }
815
+
816
  /**
817
  * @return Payone_Core_Model_Service_Transaction_Update
818
  */
877
  $service->setFactory($this);
878
  return $service;
879
  }
880
+
881
+ /**
882
+ * @return Payone_Core_Model_Service_Sales_OrderConfirmation
883
+ */
884
+ public function getServiceSalesOrderConfirmation()
885
+ {
886
+ /**
887
+ * @var $service Payone_Core_Model_Service_Sales_OrderConfirmation
888
+ */
889
+ $service = Mage::getModel('payone_core/service_sales_orderConfirmation');
890
+ $service->setFactory($this);
891
+ return $service;
892
+ }
893
+
894
 
895
  /**
896
  * @return Payone_Settings_Service_XmlGenerate
901
  return $service;
902
  }
903
 
904
+
905
+ /**
906
+ * @return Payone_Core_Model_Service_Config_PaymentMethod_Create
907
+ */
908
+ public function getServiceConfigPaymentMethodCreate()
909
+ {
910
+ /** @var $service Payone_Core_Model_Service_Config_PaymentMethod_Create */
911
+ $service = Mage::getModel('payone_core/service_config_paymentMethod_create');
912
+ $service->setFactory($this);
913
+
914
+ return $service;
915
+ }
916
+
917
  /**
918
  * @return Payone_Core_Model_Service_Config_XmlGenerate
919
  */
1349
  return Mage::getSingleton('payone_core/system_config_walletType');
1350
  }
1351
 
1352
+ /**
1353
+ * @return Payone_Core_Model_System_Config_FinancingType
1354
+ */
1355
+ public function getModelSystemConfigFinancingType()
1356
+ {
1357
+ return Mage::getSingleton('payone_core/system_config_financingType');
1358
+ }
1359
+
1360
+
1361
+ /**
1362
+ * @return Payone_Core_Model_System_Config_SafeInvoiceType
1363
+ */
1364
+ public function getModelSystemConfigSafeInvoiceType()
1365
+ {
1366
+ return Mage::getSingleton('payone_core/system_config_safeInvoiceType');
1367
+ }
1368
+
1369
  /**
1370
  * @return Payone_Core_Model_System_Config_AddressCheckType
1371
  */
app/code/community/Payone/Core/Model/Handler/Payment/Abstract.php CHANGED
@@ -140,6 +140,14 @@ abstract class Payone_Core_Model_Handler_Payment_Abstract
140
  $order->setData('payone_payment_method_type',
141
  $this->getPayment()->getData('payone_onlinebanktransfer_type'));
142
  }
 
 
 
 
 
 
 
 
143
  }
144
 
145
  /**
@@ -155,6 +163,7 @@ abstract class Payone_Core_Model_Handler_Payment_Abstract
155
  if ($paymentMethod instanceof Payone_Core_Model_Payment_Method_AdvancePayment
156
  or $paymentMethod instanceof Payone_Core_Model_Payment_Method_Invoice
157
  or $paymentMethod instanceof Payone_Core_Model_Payment_Method_CashOnDelivery
 
158
  ) {
159
  /** @var $response Payone_Api_Response_Authorization_Approved */
160
  $payment->setPayoneClearingBankAccountholder($response->getClearingBankaccountholder());
@@ -165,6 +174,14 @@ abstract class Payone_Core_Model_Handler_Payment_Abstract
165
  $payment->setPayoneClearingBankBic($response->getClearingBankbic());
166
  $payment->setPayoneClearingBankCity($response->getClearingBankcity());
167
  $payment->setPayoneClearingBankName($response->getClearingBankname());
 
 
 
 
 
 
 
 
168
  }
169
  }
170
 
140
  $order->setData('payone_payment_method_type',
141
  $this->getPayment()->getData('payone_onlinebanktransfer_type'));
142
  }
143
+ elseif ($this->getPaymentMethod() instanceof Payone_Core_Model_Payment_Method_Financing) {
144
+ $order->setData('payone_payment_method_type',
145
+ $this->getPayment()->getData('payone_financing_type'));
146
+ }
147
+ elseif ($this->getPaymentMethod() instanceof Payone_Core_Model_Payment_Method_SafeInvoice) {
148
+ $order->setData('payone_payment_method_type',
149
+ $this->getPayment()->getData('payone_safe_invoice_type'));
150
+ }
151
  }
152
 
153
  /**
163
  if ($paymentMethod instanceof Payone_Core_Model_Payment_Method_AdvancePayment
164
  or $paymentMethod instanceof Payone_Core_Model_Payment_Method_Invoice
165
  or $paymentMethod instanceof Payone_Core_Model_Payment_Method_CashOnDelivery
166
+ or ($paymentMethod instanceof Payone_Core_Model_Payment_Method_SafeInvoice and $response instanceof Payone_Api_Response_Capture_Approved)
167
  ) {
168
  /** @var $response Payone_Api_Response_Authorization_Approved */
169
  $payment->setPayoneClearingBankAccountholder($response->getClearingBankaccountholder());
174
  $payment->setPayoneClearingBankBic($response->getClearingBankbic());
175
  $payment->setPayoneClearingBankCity($response->getClearingBankcity());
176
  $payment->setPayoneClearingBankName($response->getClearingBankname());
177
+
178
+ if($response instanceof Payone_Api_Response_Capture_Approved)
179
+ {
180
+ $payment->setPayoneClearingReference($response->getClearingReference());
181
+ $payment->setPayoneClearingInstructionnote($response->getClearingInstructionnote());
182
+ $payment->setPayoneClearingLegalnote($response->getClearingLegalnote());
183
+ $payment->setPayoneClearingDuedate($response->getClearingDuedate());
184
+ }
185
  }
186
  }
187
 
app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Abstract.php CHANGED
@@ -106,6 +106,10 @@ abstract class Payone_Core_Model_Mapper_ApiRequest_Payment_Abstract
106
  $params['pr'] = $order->getShippingInclTax();
107
  $params['va'] = $this->getShippingTaxRate();
108
 
 
 
 
 
109
  $item = new Payone_Api_Request_Parameter_Invoicing_Item();
110
  $item->init($params);
111
 
@@ -133,6 +137,9 @@ abstract class Payone_Core_Model_Mapper_ApiRequest_Payment_Abstract
133
  $params['no'] = 1;
134
  $params['pr'] = $discountAmount;
135
 
 
 
 
136
  $item = new Payone_Api_Request_Parameter_Invoicing_Item();
137
  $item->init($params);
138
 
@@ -159,6 +166,10 @@ abstract class Payone_Core_Model_Mapper_ApiRequest_Payment_Abstract
159
  $params['de'] = $order->getShippingDescription();
160
  $params['no'] = 1;
161
  $params['pr'] = $creditmemo->getShippingInclTax();
 
 
 
 
162
 
163
  $item = new Payone_Api_Request_Parameter_Invoicing_Item();
164
  $item->init($params);
@@ -188,6 +199,10 @@ abstract class Payone_Core_Model_Mapper_ApiRequest_Payment_Abstract
188
  $params['de'] = $name;
189
  $params['no'] = 1;
190
  $params['pr'] = $creditmemo->getAdjustmentPositive();
 
 
 
 
191
 
192
  $item = new Payone_Api_Request_Parameter_Invoicing_Item();
193
  $item->init($params);
@@ -218,6 +233,10 @@ abstract class Payone_Core_Model_Mapper_ApiRequest_Payment_Abstract
218
  $params['de'] = $name;
219
  $params['no'] = 1;
220
  $params['pr'] = $creditmemo->getAdjustmentNegative() * (-1);
 
 
 
 
221
 
222
  $item = new Payone_Api_Request_Parameter_Invoicing_Item();
223
  $item->init($params);
@@ -322,6 +341,23 @@ abstract class Payone_Core_Model_Mapper_ApiRequest_Payment_Abstract
322
  return $appendix;
323
  }
324
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
325
  /**
326
  * @param Mage_Sales_Model_Abstract $object
327
  * @return string
@@ -366,8 +402,7 @@ abstract class Payone_Core_Model_Mapper_ApiRequest_Payment_Abstract
366
  */
367
  protected function getConfigMisc()
368
  {
369
- if($this->configMisc === null)
370
- {
371
  $this->configMisc = $this->helperConfig()->getConfigMisc($this->getStoreId());
372
  }
373
  return $this->configMisc;
@@ -453,4 +488,12 @@ abstract class Payone_Core_Model_Mapper_ApiRequest_Payment_Abstract
453
  {
454
  return $this->getFactory()->helperConfig();
455
  }
 
 
 
 
 
 
 
 
456
  }
106
  $params['pr'] = $order->getShippingInclTax();
107
  $params['va'] = $this->getShippingTaxRate();
108
 
109
+ if($this->getPaymentMethod()->mustTransmitInvoicingItemTypes()) {
110
+ $params['it'] = Payone_Api_Enum_InvoicingItemType::SHIPMENT;
111
+ }
112
+
113
  $item = new Payone_Api_Request_Parameter_Invoicing_Item();
114
  $item->init($params);
115
 
137
  $params['no'] = 1;
138
  $params['pr'] = $discountAmount;
139
 
140
+ if ($this->getPaymentMethod()->mustTransmitInvoicingItemTypes()) {
141
+ $params['it'] = Payone_Api_Enum_InvoicingItemType::VOUCHER;
142
+ }
143
  $item = new Payone_Api_Request_Parameter_Invoicing_Item();
144
  $item->init($params);
145
 
166
  $params['de'] = $order->getShippingDescription();
167
  $params['no'] = 1;
168
  $params['pr'] = $creditmemo->getShippingInclTax();
169
+ if($this->getPaymentMethod()->mustTransmitInvoicingItemTypes())
170
+ {
171
+ $params['it'] = Payone_Api_Enum_InvoicingItemType::SHIPMENT;
172
+ }
173
 
174
  $item = new Payone_Api_Request_Parameter_Invoicing_Item();
175
  $item->init($params);
199
  $params['de'] = $name;
200
  $params['no'] = 1;
201
  $params['pr'] = $creditmemo->getAdjustmentPositive();
202
+ if($this->getPaymentMethod()->mustTransmitInvoicingItemTypes())
203
+ {
204
+ $params['it'] = Payone_Api_Enum_InvoicingItemType::VOUCHER;
205
+ }
206
 
207
  $item = new Payone_Api_Request_Parameter_Invoicing_Item();
208
  $item->init($params);
233
  $params['de'] = $name;
234
  $params['no'] = 1;
235
  $params['pr'] = $creditmemo->getAdjustmentNegative() * (-1);
236
+ if($this->getPaymentMethod()->mustTransmitInvoicingItemTypes())
237
+ {
238
+ $params['it'] = Payone_Api_Enum_InvoicingItemType::GOODS;
239
+ }
240
 
241
  $item = new Payone_Api_Request_Parameter_Invoicing_Item();
242
  $item->init($params);
341
  return $appendix;
342
  }
343
 
344
+
345
+ /**
346
+ * @return bool
347
+ */
348
+ protected function mustTransmitInvoiceData()
349
+ {
350
+ if ($this->getConfigPayment()->isInvoiceTransmitEnabled()) {
351
+ return true;
352
+ }
353
+
354
+ $paymentMethod = $this->getPaymentMethod();
355
+ if ($paymentMethod->mustTransmitInvoicingData()) { // Certain payment methods require invoicing data to be transmitted ALWAYS.
356
+ return true;
357
+ }
358
+
359
+ return false;
360
+ }
361
  /**
362
  * @param Mage_Sales_Model_Abstract $object
363
  * @return string
402
  */
403
  protected function getConfigMisc()
404
  {
405
+ if ($this->configMisc === null) {
 
406
  $this->configMisc = $this->helperConfig()->getConfigMisc($this->getStoreId());
407
  }
408
  return $this->configMisc;
488
  {
489
  return $this->getFactory()->helperConfig();
490
  }
491
+
492
+ /**
493
+ * @return Payone_Core_Helper_Registry
494
+ */
495
+ protected function helperRegistry()
496
+ {
497
+ return $this->getFactory()->helperRegistry();
498
+ }
499
  }
app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Authorize/Abstract.php CHANGED
@@ -47,8 +47,6 @@ abstract class Payone_Core_Model_Mapper_ApiRequest_Payment_Authorize_Abstract
47
  {
48
  $this->init($payment);
49
 
50
- $configPayment = $this->getConfigPayment();
51
-
52
  $request = $this->getRequest();
53
 
54
  $this->beforeMapFromPayment($request);
@@ -68,8 +66,8 @@ abstract class Payone_Core_Model_Mapper_ApiRequest_Payment_Authorize_Abstract
68
  $deliveryData = $this->mapDeliveryParameters();
69
  $request->setDeliveryData($deliveryData);
70
  }
71
- // Only add Invoiceing Parameters if enabled
72
- if ($configPayment->isInvoiceTransmitEnabled()) {
73
  $invoicing = $this->mapInvoicingParameters();
74
  $request->setInvoicing($invoicing);
75
  }
@@ -102,6 +100,8 @@ abstract class Payone_Core_Model_Mapper_ApiRequest_Payment_Authorize_Abstract
102
 
103
  }
104
 
 
 
105
  /**
106
  * @param Payone_Api_Request_Authorization_Abstract $request
107
  */
@@ -164,7 +164,11 @@ abstract class Payone_Core_Model_Mapper_ApiRequest_Payment_Authorize_Abstract
164
  $language = $helper->getDefaultLanguage();
165
  $personalData->setLanguage($language);
166
  $personalData->setVatid($order->getCustomerTaxvat());
167
- $personalData->setIp($order->getRemoteIp());
 
 
 
 
168
 
169
  // US and CA always need state and shipping_state paramters
170
  if ($billingCountry == 'US' or $billingCountry == 'CA') {
@@ -180,24 +184,30 @@ abstract class Payone_Core_Model_Mapper_ApiRequest_Payment_Authorize_Abstract
180
  protected function mapDeliveryParameters()
181
  {
182
  $helper = $this->helper();
183
- $shippingAddress = $this->getOrder()->getShippingAddress();
 
 
 
 
 
 
184
 
185
  $deliveryData = new Payone_Api_Request_Parameter_Authorization_DeliveryData();
186
 
187
- $shippingCountry = $shippingAddress->getCountry();
188
 
189
- $deliveryData->setShippingFirstname($shippingAddress->getFirstname());
190
- $deliveryData->setShippingLastname($shippingAddress->getLastname());
191
- $deliveryData->setShippingCompany($shippingAddress->getCompany());
192
- $street = $helper->normalizeStreet($shippingAddress->getStreet());
193
  $deliveryData->setShippingStreet($street);
194
- $deliveryData->setShippingZip($shippingAddress->getPostcode());
195
- $deliveryData->setShippingCity($shippingAddress->getCity());
196
  $deliveryData->setShippingCountry($shippingCountry);
197
 
198
  // US and CA always need shipping_state paramters
199
  if ($shippingCountry == 'US' or $shippingCountry == 'CA') {
200
- $deliveryData->setShippingState($shippingAddress->getRegionCode());
201
  }
202
 
203
  return $deliveryData;
@@ -222,12 +232,22 @@ abstract class Payone_Core_Model_Mapper_ApiRequest_Payment_Authorize_Abstract
222
  continue;// Do not map dummy items
223
  }
224
 
 
 
 
 
 
225
  $params['id'] = $itemData->getSku();
226
  $params['pr'] = $itemData->getPriceInclTax();
227
- $params['no'] = $itemData->getQtyToInvoice();
228
  $params['de'] = $itemData->getName();
229
  $params['va'] = number_format($itemData->getTaxPercent(), 0, '.', '');
230
 
 
 
 
 
 
231
  $item = new Payone_Api_Request_Parameter_Invoicing_Item();
232
  $item->init($params);
233
  $invoicing->addItem($item);
@@ -292,6 +312,21 @@ abstract class Payone_Core_Model_Mapper_ApiRequest_Payment_Authorize_Abstract
292
 
293
  $isRedirect = true;
294
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
295
  elseif ($paymentMethod instanceof Payone_Core_Model_Payment_Method_Wallet) {
296
  $payment = new Payone_Api_Request_Parameter_Authorization_PaymentMethod_Wallet();
297
  // @comment currently hardcoded because there is no other Type
@@ -351,6 +386,12 @@ abstract class Payone_Core_Model_Mapper_ApiRequest_Payment_Authorize_Abstract
351
  elseif ($paymentMethod instanceof Payone_Core_Model_Payment_Method_DebitPayment) {
352
  $clearingType = Payone_Enum_ClearingType::DEBITPAYMENT;
353
  }
 
 
 
 
 
 
354
 
355
  return $clearingType;
356
  }
47
  {
48
  $this->init($payment);
49
 
 
 
50
  $request = $this->getRequest();
51
 
52
  $this->beforeMapFromPayment($request);
66
  $deliveryData = $this->mapDeliveryParameters();
67
  $request->setDeliveryData($deliveryData);
68
  }
69
+ // Only add Invoiceing Parameters if enabled / required by payment method
70
+ if ($this->mustTransmitInvoiceData()) {
71
  $invoicing = $this->mapInvoicingParameters();
72
  $request->setInvoicing($invoicing);
73
  }
100
 
101
  }
102
 
103
+
104
+
105
  /**
106
  * @param Payone_Api_Request_Authorization_Abstract $request
107
  */
164
  $language = $helper->getDefaultLanguage();
165
  $personalData->setLanguage($language);
166
  $personalData->setVatid($order->getCustomerTaxvat());
167
+
168
+ // Multiple Ips can be included, we only send the last one.
169
+ $remoteIps = explode(',', $order->getRemoteIp());
170
+ $lastRemoteIp = array_pop($remoteIps);
171
+ $personalData->setIp($lastRemoteIp);
172
 
173
  // US and CA always need state and shipping_state paramters
174
  if ($billingCountry == 'US' or $billingCountry == 'CA') {
184
  protected function mapDeliveryParameters()
185
  {
186
  $helper = $this->helper();
187
+ $paymentMethod = $this->getPaymentMethod();
188
+ $info = $paymentMethod->getInfoInstance();
189
+ if($paymentMethod instanceof Payone_Core_Model_Payment_Method_SafeInvoice
190
+ and $info->getPayoneSafeInvoiceType() === Payone_Api_Enum_FinancingType::BSV)
191
+ $address = $this->getOrder()->getBillingAddress(); // Always use same address for BillSAFE
192
+ else
193
+ $address = $this->getOrder()->getShippingAddress();
194
 
195
  $deliveryData = new Payone_Api_Request_Parameter_Authorization_DeliveryData();
196
 
197
+ $shippingCountry = $address->getCountry();
198
 
199
+ $deliveryData->setShippingFirstname($address->getFirstname());
200
+ $deliveryData->setShippingLastname($address->getLastname());
201
+ $deliveryData->setShippingCompany($address->getCompany());
202
+ $street = $helper->normalizeStreet($address->getStreet());
203
  $deliveryData->setShippingStreet($street);
204
+ $deliveryData->setShippingZip($address->getPostcode());
205
+ $deliveryData->setShippingCity($address->getCity());
206
  $deliveryData->setShippingCountry($shippingCountry);
207
 
208
  // US and CA always need shipping_state paramters
209
  if ($shippingCountry == 'US' or $shippingCountry == 'CA') {
210
+ $deliveryData->setShippingState($address->getRegionCode());
211
  }
212
 
213
  return $deliveryData;
232
  continue;// Do not map dummy items
233
  }
234
 
235
+ $number = $itemData->getQtyToInvoice();
236
+ if ($number <= 0) {
237
+ continue; // Do not map items with zero quanity
238
+ }
239
+
240
  $params['id'] = $itemData->getSku();
241
  $params['pr'] = $itemData->getPriceInclTax();
242
+ $params['no'] = $number;
243
  $params['de'] = $itemData->getName();
244
  $params['va'] = number_format($itemData->getTaxPercent(), 0, '.', '');
245
 
246
+ if ($this->getPaymentMethod()->mustTransmitInvoicingItemTypes()) {
247
+ $params['it'] = Payone_Api_Enum_InvoicingItemType::GOODS;
248
+ }
249
+
250
+
251
  $item = new Payone_Api_Request_Parameter_Invoicing_Item();
252
  $item->init($params);
253
  $invoicing->addItem($item);
312
 
313
  $isRedirect = true;
314
  }
315
+ elseif ($paymentMethod instanceof Payone_Core_Model_Payment_Method_Financing) {
316
+
317
+ $payment = new Payone_Api_Request_Parameter_Authorization_PaymentMethod_Financing();
318
+ $payment->setFinancingtype($info->getPayoneFinancingType());
319
+
320
+ $isRedirect = true;
321
+ }
322
+
323
+ elseif ($paymentMethod instanceof Payone_Core_Model_Payment_Method_SafeInvoice) {
324
+
325
+ $payment = new Payone_Api_Request_Parameter_Authorization_PaymentMethod_Financing();
326
+ $payment->setFinancingtype($info->getPayoneSafeInvoiceType());
327
+
328
+ $isRedirect = true;
329
+ }
330
  elseif ($paymentMethod instanceof Payone_Core_Model_Payment_Method_Wallet) {
331
  $payment = new Payone_Api_Request_Parameter_Authorization_PaymentMethod_Wallet();
332
  // @comment currently hardcoded because there is no other Type
386
  elseif ($paymentMethod instanceof Payone_Core_Model_Payment_Method_DebitPayment) {
387
  $clearingType = Payone_Enum_ClearingType::DEBITPAYMENT;
388
  }
389
+ elseif ($paymentMethod instanceof Payone_Core_Model_Payment_Method_Financing) {
390
+ $clearingType = Payone_Enum_ClearingType::FINANCING;
391
+ }
392
+ elseif ($paymentMethod instanceof Payone_Core_Model_Payment_Method_SafeInvoice) {
393
+ $clearingType = Payone_Enum_ClearingType::FINANCING;
394
+ }
395
 
396
  return $clearingType;
397
  }
app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Capture.php CHANGED
@@ -36,6 +36,7 @@ class Payone_Core_Model_Mapper_ApiRequest_Payment_Capture
36
  /** @var Mage_Sales_Model_Order_Invoice */
37
  protected $invoice = null;
38
 
 
39
  /**
40
  * @return Payone_Api_Request_Capture
41
  */
@@ -62,9 +63,11 @@ class Payone_Core_Model_Mapper_ApiRequest_Payment_Capture
62
  $request->setBusiness($business);
63
 
64
  /** Set Invoiceing-Parameter only if enabled in Config */
65
- if ($this->getConfigPayment()->isInvoiceTransmitEnabled()) {
66
  $invoicing = $this->mapInvoicingParameters();
67
- $request->setInvoicing($invoicing);
 
 
68
  }
69
 
70
  return $request;
@@ -111,6 +114,11 @@ class Payone_Core_Model_Mapper_ApiRequest_Payment_Capture
111
  $business->setSettleaccount(Payone_Api_Enum_Settleaccount::NO);
112
  }
113
  }
 
 
 
 
 
114
  else
115
  {
116
  $business->setSettleaccount(Payone_Api_Enum_Settleaccount::AUTO);
@@ -126,7 +134,7 @@ class Payone_Core_Model_Mapper_ApiRequest_Payment_Capture
126
  $order = $this->getOrder();
127
  $invoice = $this->getInvoice();
128
 
129
- $invoicing = new Payone_Api_Request_Parameter_Invoicing_Transaction();
130
  if (!empty($invoice) && $invoice->hasData()) {
131
 
132
  $invoiceIncrementId = $invoice->getIncrementId();
@@ -141,18 +149,28 @@ class Payone_Core_Model_Mapper_ApiRequest_Payment_Capture
141
 
142
  // Regular order items:
143
  foreach ($invoice->getItemsCollection() as $itemData) {
 
144
  /** @var $orderItem Mage_Sales_Model_Order_Item */
145
  $orderItem = $order->getItemById($itemData->getOrderItemId());
146
 
147
  if ($orderItem->isDummy()) {
148
- continue;
149
- } // Do not map dummy items.
150
- /** @var $itemData Mage_Sales_Model_Order_Invoice_Item */
 
 
 
 
 
151
  $params['id'] = $itemData->getSku();
152
  $params['de'] = $itemData->getName();
153
- $params['no'] = number_format($itemData->getQty(), 0, '.', '');
154
  $params['pr'] = $itemData->getPriceInclTax();
155
 
 
 
 
 
156
  // We have to load the tax percentage from the order item
157
  $params['va'] = number_format($orderItem->getTaxPercent(), 0, '.', '');
158
 
@@ -173,6 +191,13 @@ class Payone_Core_Model_Mapper_ApiRequest_Payment_Capture
173
  }
174
  }
175
 
 
 
 
 
 
 
 
176
  return $invoicing;
177
  }
178
 
@@ -198,6 +223,22 @@ class Payone_Core_Model_Mapper_ApiRequest_Payment_Capture
198
  return true;
199
  }
200
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
201
  /**
202
  * @return Mage_Sales_Model_Order_Invoice|null
203
  */
@@ -205,7 +246,7 @@ class Payone_Core_Model_Mapper_ApiRequest_Payment_Capture
205
  {
206
  if ($this->invoice === null) {
207
  // we need to check registry because Magento won't give the invoice instance to PaymentMethodInstance
208
- $this->invoice = Mage::registry('current_invoice');
209
  }
210
  return $this->invoice;
211
  }
@@ -218,4 +259,5 @@ class Payone_Core_Model_Mapper_ApiRequest_Payment_Capture
218
  $this->invoice = $invoice;
219
  }
220
 
 
221
  }
36
  /** @var Mage_Sales_Model_Order_Invoice */
37
  protected $invoice = null;
38
 
39
+
40
  /**
41
  * @return Payone_Api_Request_Capture
42
  */
63
  $request->setBusiness($business);
64
 
65
  /** Set Invoiceing-Parameter only if enabled in Config */
66
+ if ($this->mustTransmitInvoiceData()) {
67
  $invoicing = $this->mapInvoicingParameters();
68
+ if (!empty($invoicing)) {
69
+ $request->setInvoicing($invoicing);
70
+ }
71
  }
72
 
73
  return $request;
114
  $business->setSettleaccount(Payone_Api_Enum_Settleaccount::NO);
115
  }
116
  }
117
+ else if ($paymentMethod instanceof Payone_Core_Model_Payment_Method_SafeInvoice)
118
+ {
119
+ // BillSAFE always settles account:
120
+ $business->setSettleaccount(Payone_Api_Enum_Settleaccount::YES);
121
+ }
122
  else
123
  {
124
  $business->setSettleaccount(Payone_Api_Enum_Settleaccount::AUTO);
134
  $order = $this->getOrder();
135
  $invoice = $this->getInvoice();
136
 
137
+ $invoicing = new Payone_Api_Request_Parameter_Capture_Invoicing_Transaction();
138
  if (!empty($invoice) && $invoice->hasData()) {
139
 
140
  $invoiceIncrementId = $invoice->getIncrementId();
149
 
150
  // Regular order items:
151
  foreach ($invoice->getItemsCollection() as $itemData) {
152
+ /** @var $itemData Mage_Sales_Model_Order_Invoice_Item */
153
  /** @var $orderItem Mage_Sales_Model_Order_Item */
154
  $orderItem = $order->getItemById($itemData->getOrderItemId());
155
 
156
  if ($orderItem->isDummy()) {
157
+ continue; // Do not map dummy items.
158
+ }
159
+
160
+
161
+ $number = number_format($itemData->getQty(), 0, '.', '');
162
+ if ($number <= 0) {
163
+ continue; // Do not map items with zero quantity
164
+ }
165
  $params['id'] = $itemData->getSku();
166
  $params['de'] = $itemData->getName();
167
+ $params['no'] = $number;
168
  $params['pr'] = $itemData->getPriceInclTax();
169
 
170
+ if ($this->getPaymentMethod()->mustTransmitInvoicingItemTypes()) {
171
+ $params['it'] = Payone_Api_Enum_InvoicingItemType::GOODS;
172
+ }
173
+
174
  // We have to load the tax percentage from the order item
175
  $params['va'] = number_format($orderItem->getTaxPercent(), 0, '.', '');
176
 
191
  }
192
  }
193
 
194
+ // Capture mode:
195
+ if ($this->getPaymentMethod() instanceof Payone_Core_Model_Payment_Method_SafeInvoice) {
196
+ $invoicing->setCapturemode($this->mapCaptureMode());
197
+ }
198
+
199
+
200
+
201
  return $invoicing;
202
  }
203
 
223
  return true;
224
  }
225
 
226
+ /**
227
+ * @return string
228
+ */
229
+ protected function mapCaptureMode()
230
+ {
231
+ $payment = $this->getPaymentMethod()->getInfoInstance();
232
+ if ($this->isInvoiceLast() || $this->helperRegistry()->isPaymentCancelRegistered($payment)) {
233
+ $captureMode = Payone_Api_Enum_CaptureMode::COMPLETED;
234
+ }
235
+ else {
236
+ $captureMode = Payone_Api_Enum_CaptureMode::NOTCOMPLETED;
237
+ }
238
+
239
+ return $captureMode;
240
+ }
241
+
242
  /**
243
  * @return Mage_Sales_Model_Order_Invoice|null
244
  */
246
  {
247
  if ($this->invoice === null) {
248
  // we need to check registry because Magento won't give the invoice instance to PaymentMethodInstance
249
+ $this->invoice = $this->helperRegistry()->registry('current_invoice');
250
  }
251
  return $this->invoice;
252
  }
259
  $this->invoice = $invoice;
260
  }
261
 
262
+
263
  }
app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Debit.php CHANGED
@@ -62,7 +62,7 @@ class Payone_Core_Model_Mapper_ApiRequest_Payment_Debit
62
  $request->setBusiness($business);
63
 
64
  /** Set Invoiceing-Parameter only if enabled in Config */
65
- if ($this->getConfigPayment()->isInvoiceTransmitEnabled()) {
66
  $invoicing = $this->mapInvoicingParameters();
67
  $request->setInvoicing($invoicing);
68
  }
@@ -94,11 +94,21 @@ class Payone_Core_Model_Mapper_ApiRequest_Payment_Debit
94
  protected function mapBusinessParameters()
95
  {
96
  $business = new Payone_Api_Request_Parameter_Debit_Business();
97
- $business->setSettleaccount('auto');
98
  $business->setTransactiontype('');
99
  $business->setBookingDate('');
100
  $business->setDocumentDate('');
101
 
 
 
 
 
 
 
 
 
 
 
 
102
  return $business;
103
  }
104
 
@@ -110,91 +120,67 @@ class Payone_Core_Model_Mapper_ApiRequest_Payment_Debit
110
  $order = $this->getOrder();
111
  $creditmemo = $this->getCreditmemo();
112
 
113
- $creditmemoIncrementId = $creditmemo->getIncrementId();
114
- if ($creditmemoIncrementId === null) {
115
- $creditmemoIncrementId = $this->fetchNewIncrementId($creditmemo);
116
- }
117
-
118
- $appendix = $this->getInvoiceAppendixRefund($creditmemo);
119
-
120
  $invoicing = new Payone_Api_Request_Parameter_Invoicing_Transaction();
121
- $invoicing->setInvoiceid($creditmemoIncrementId);
122
- $invoicing->setInvoiceappendix($appendix);
123
-
124
- // Regular order items:
125
- foreach ($creditmemo->getItemsCollection() as $itemData) {
126
- /** @var $itemData Mage_Sales_Model_Order_Creditmemo_Item */
127
- /** @var $orderItem Mage_Sales_Model_Order_Item */
128
- $orderItem = $order->getItemById($itemData->getOrderItemId());
129
-
130
- if($orderItem->isDummy())
131
- {
132
- continue; // Do not map dummy items.
133
  }
134
 
135
- $params['id'] = $itemData->getSku();
136
- $params['de'] = $itemData->getName();
137
- $params['no'] = number_format($itemData->getQty(), 0, '.', '');
138
- $params['pr'] = $itemData->getPriceInclTax();
139
 
 
 
140
 
141
- // We have to load the tax percentage from the order item
142
- $params['va'] = number_format($orderItem->getTaxPercent(), 0, '.', '');
 
 
 
143
 
144
- $item = new Payone_Api_Request_Parameter_Invoicing_Item();
145
- $item->init($params);
146
- $invoicing->addItem($item);
147
- }
148
 
149
- // Refund shipping
150
- if ($creditmemo->getShippingInclTax() > 0) {
151
- $invoicing->addItem($this->mapRefundShippingAsItemByCreditmemo($creditmemo));
152
- }
153
 
154
- // Adjustment Refund (positive adjustment)
155
- if($creditmemo->getAdjustmentPositive() > 0) {
156
- $invoicing->addItem($this->mapAdjustmentPositiveAsItemByCreditmemo($creditmemo));
157
- }
158
 
159
- // Adjustment Fee (negative adjustment)
160
- if($creditmemo->getAdjustmentNegative() > 0) {
161
- $invoicing->addItem($this->mapAdjustmentNegativeAsItemByCreditmemo($creditmemo));
162
- }
163
 
164
- return $invoicing;
165
- }
166
 
167
- /**
168
- * @param Payone_Core_Model_Payment_Method_Abstract $paymentMethod
169
- * @return string
170
- */
171
- protected function mapClearingType(Payone_Core_Model_Payment_Method_Abstract $paymentMethod)
172
- {
173
- $clearingType = '';
174
 
175
- if ($paymentMethod instanceof Payone_Core_Model_Payment_Method_CashOnDelivery) {
176
- $clearingType = Payone_Enum_ClearingType::CASHONDELIVERY;
177
- }
178
- elseif ($paymentMethod instanceof Payone_Core_Model_Payment_Method_Creditcard) {
179
- $clearingType = Payone_Enum_ClearingType::CREDITCARD;
180
- }
181
- elseif ($paymentMethod instanceof Payone_Core_Model_Payment_Method_OnlineBankTransfer) {
182
- $clearingType = Payone_Enum_ClearingType::ONLINEBANKTRANSFER;
183
- }
184
- elseif ($paymentMethod instanceof Payone_Core_Model_Payment_Method_Wallet) {
185
- $clearingType = Payone_Enum_ClearingType::WALLET;
186
- }
187
- elseif ($paymentMethod instanceof Payone_Core_Model_Payment_Method_Invoice) {
188
- $clearingType = Payone_Enum_ClearingType::INVOICE;
189
- }
190
- elseif ($paymentMethod instanceof Payone_Core_Model_Payment_Method_AdvancePayment) {
191
- $clearingType = Payone_Enum_ClearingType::ADVANCEPAYMENT;
192
- }
193
- elseif ($paymentMethod instanceof Payone_Core_Model_Payment_Method_DebitPayment) {
194
- $clearingType = Payone_Enum_ClearingType::DEBITPAYMENT;
195
- }
196
 
197
- return $clearingType;
 
 
 
 
 
198
  }
199
 
200
  /**
@@ -204,12 +190,9 @@ class Payone_Core_Model_Mapper_ApiRequest_Payment_Debit
204
  {
205
  if ($this->creditmemo === null) {
206
  // we need to check registry because Magento won't give the creditmemo instance to PaymentMethodInstance
207
- $creditmemo = Mage::registry('current_creditmemo');
208
- if (is_null($creditmemo)) {
209
- // fallback to lastInvoice when invoice could not be fetched from Registry
210
- $order = $this->getOrder();
211
- $creditmemo = $order->getCreditmemosCollection()->getLastItem();
212
- }
213
  $this->creditmemo = $creditmemo;
214
  }
215
  return $this->creditmemo;
62
  $request->setBusiness($business);
63
 
64
  /** Set Invoiceing-Parameter only if enabled in Config */
65
+ if ($this->mustTransmitInvoiceData()) {
66
  $invoicing = $this->mapInvoicingParameters();
67
  $request->setInvoicing($invoicing);
68
  }
94
  protected function mapBusinessParameters()
95
  {
96
  $business = new Payone_Api_Request_Parameter_Debit_Business();
 
97
  $business->setTransactiontype('');
98
  $business->setBookingDate('');
99
  $business->setDocumentDate('');
100
 
101
+ $paymentMethod = $this->getPaymentMethod();
102
+
103
+ // Some payment methods can not use settleaccount auto:
104
+ if ($paymentMethod instanceof Payone_Core_Model_Payment_Method_SafeInvoice) {
105
+ // BillSAFE always settles account:
106
+ $business->setSettleaccount(Payone_Api_Enum_Settleaccount::YES);
107
+ }
108
+ else {
109
+ $business->setSettleaccount(Payone_Api_Enum_Settleaccount::AUTO);
110
+ }
111
+
112
  return $business;
113
  }
114
 
120
  $order = $this->getOrder();
121
  $creditmemo = $this->getCreditmemo();
122
 
 
 
 
 
 
 
 
123
  $invoicing = new Payone_Api_Request_Parameter_Invoicing_Transaction();
124
+ if (!empty($creditmemo) && $creditmemo->hasData()) {
125
+ $creditmemoIncrementId = $creditmemo->getIncrementId();
126
+ if ($creditmemoIncrementId === null) {
127
+ $creditmemoIncrementId = $this->fetchNewIncrementId($creditmemo);
 
 
 
 
 
 
 
 
128
  }
129
 
130
+ $appendix = $this->getInvoiceAppendixRefund($creditmemo);
 
 
 
131
 
132
+ $invoicing->setInvoiceid($creditmemoIncrementId);
133
+ $invoicing->setInvoiceappendix($appendix);
134
 
135
+ // Regular order items:
136
+ foreach ($creditmemo->getItemsCollection() as $itemData) {
137
+ /** @var $itemData Mage_Sales_Model_Order_Creditmemo_Item */
138
+ /** @var $orderItem Mage_Sales_Model_Order_Item */
139
+ $orderItem = $order->getItemById($itemData->getOrderItemId());
140
 
141
+ if ($orderItem->isDummy()) {
142
+ continue; // Do not map dummy items.
143
+ }
 
144
 
145
+ $number = number_format($itemData->getQty(), 0, '.', '');
146
+ if ($number <= 0) {
147
+ continue; // Do not map items with zero quantity
148
+ }
149
 
150
+ $params['id'] = $itemData->getSku();
151
+ $params['de'] = $itemData->getName();
152
+ $params['no'] = $number;
153
+ $params['pr'] = $itemData->getPriceInclTax();
154
 
155
+ if ($this->getPaymentMethod()->mustTransmitInvoicingItemTypes()) {
156
+ $params['it'] = Payone_Api_Enum_InvoicingItemType::GOODS;
157
+ }
 
158
 
 
 
159
 
160
+ // We have to load the tax percentage from the order item
161
+ $params['va'] = number_format($orderItem->getTaxPercent(), 0, '.', '');
 
 
 
 
 
162
 
163
+ $item = new Payone_Api_Request_Parameter_Invoicing_Item();
164
+ $item->init($params);
165
+ $invoicing->addItem($item);
166
+ }
167
+
168
+ // Refund shipping
169
+ if ($creditmemo->getShippingInclTax() > 0) {
170
+ $invoicing->addItem($this->mapRefundShippingAsItemByCreditmemo($creditmemo));
171
+ }
172
+
173
+ // Adjustment Refund (positive adjustment)
174
+ if ($creditmemo->getAdjustmentPositive() > 0) {
175
+ $invoicing->addItem($this->mapAdjustmentPositiveAsItemByCreditmemo($creditmemo));
176
+ }
 
 
 
 
 
 
 
177
 
178
+ // Adjustment Fee (negative adjustment)
179
+ if ($creditmemo->getAdjustmentNegative() > 0) {
180
+ $invoicing->addItem($this->mapAdjustmentNegativeAsItemByCreditmemo($creditmemo));
181
+ }
182
+ }
183
+ return $invoicing;
184
  }
185
 
186
  /**
190
  {
191
  if ($this->creditmemo === null) {
192
  // we need to check registry because Magento won't give the creditmemo instance to PaymentMethodInstance
193
+ $creditmemo = $this->helperRegistry()
194
+ ->registry('current_creditmemo');
195
+
 
 
 
196
  $this->creditmemo = $creditmemo;
197
  }
198
  return $this->creditmemo;
app/code/community/Payone/Core/Model/Observer/Sales/Order.php CHANGED
@@ -62,4 +62,23 @@ class Payone_Core_Model_Observer_Sales_Order
62
 
63
  $this->helperConfig()->incrementCreditratingSampleCounter($storeId);
64
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  }
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_Financing
78
+ || $methodInstance instanceof Payone_Core_Model_Payment_Method_SafeInvoice)
79
+ {
80
+
81
+ $methodInstance->cancel($payment);
82
+ }
83
+ }
84
  }
app/code/community/Payone/Core/Model/Observer/Store/PaymentConfig.php ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_Store_PaymentConfig
34
+ extends Payone_Core_Model_Observer_Abstract
35
+ {
36
+ /**
37
+ * @param Varien_Event_Observer $observer
38
+ */
39
+ public function createByWebsite(Varien_Event_Observer $observer)
40
+ {
41
+ /** @var $website Mage_Core_Model_Website */
42
+ $website = $observer->getWebsite();
43
+
44
+ if (!$website->isObjectNew()) {
45
+ return;
46
+ }
47
+
48
+ $service = $this->getFactory()->getServiceConfigPaymentMethodCreate();
49
+ $service->executeByWebsite($website);
50
+
51
+ }
52
+
53
+
54
+ /**
55
+ * @param Varien_Event_Observer $observer
56
+ */
57
+ public function createByStore(Varien_Event_Observer $observer)
58
+ {
59
+ /** @var $store Mage_Core_Model_Store */
60
+ $store = $observer->getStore();
61
+
62
+ if (!$store->isObjectNew()) {
63
+ return;
64
+ }
65
+
66
+ $service = $this->getFactory()->getServiceConfigPaymentMethodCreate();
67
+ $service->executeByStore($store);
68
+
69
+ }
70
+
71
+ }
app/code/community/Payone/Core/Model/Observer/TransactionStatus/InvoiceCreate.php CHANGED
@@ -173,11 +173,19 @@ class Payone_Core_Model_Observer_TransactionStatus_InvoiceCreate
173
 
174
  /**
175
  * @return bool|Payone_Core_Model_Config_Payment_Method_Interface
 
176
  */
177
  protected function getConfigPaymentMethodById()
178
  {
179
  $id = $this->payment->getPayoneConfigPaymentMethodId();
180
  $configPaymentMethod = $this->config->getPayment()->getMethodById($id);
 
 
 
 
 
 
 
181
  return $configPaymentMethod;
182
  }
183
 
173
 
174
  /**
175
  * @return bool|Payone_Core_Model_Config_Payment_Method_Interface
176
+ * @throws Payone_Core_Exception_PaymentMethodConfigNotFound
177
  */
178
  protected function getConfigPaymentMethodById()
179
  {
180
  $id = $this->payment->getPayoneConfigPaymentMethodId();
181
  $configPaymentMethod = $this->config->getPayment()->getMethodById($id);
182
+
183
+ if(empty($configPaymentMethod) )
184
+ {
185
+ $message = 'Payment method configuration with id "' . $id . '" not found.';
186
+ throw new Payone_Core_Exception_PaymentMethodConfigNotFound($message);
187
+ }
188
+
189
  return $configPaymentMethod;
190
  }
191
 
app/code/community/Payone/Core/Model/Observer/TransactionStatus/OrderConfirmation.php ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_OrderConfirmation
34
+ extends Payone_Core_Model_Observer_Abstract
35
+ {
36
+ /**
37
+ * @var Payone_Core_Model_Service_Sales_OrderConfirmation
38
+ */
39
+ protected $serviceOrderConfirmation = null;
40
+
41
+
42
+ /** @var $order Mage_Sales_Model_Order */
43
+ private $order = null;
44
+
45
+
46
+ /** @var $transactionStatus Payone_Core_Model_Domain_Protocol_TransactionStatus */
47
+ private $transactionStatus = null;
48
+
49
+ /**
50
+ * @param Varien_Event_Observer $observer
51
+ */
52
+ public function onAppointed(Varien_Event_Observer $observer)
53
+ {
54
+ $this->initData($observer);
55
+
56
+
57
+ $this->getServiceOrderConfirmation()->sendMail($this->order);
58
+ }
59
+
60
+ /**
61
+ * @param Varien_Event_Observer $observer
62
+ */
63
+ protected function initData(Varien_Event_Observer $observer)
64
+ {
65
+ $event = $observer->getEvent();
66
+
67
+ /** @var $transactionStatus Payone_Core_Model_Domain_Protocol_TransactionStatus */
68
+ $this->transactionStatus = $event->getTransactionStatus();
69
+
70
+ $order = $this->getOrderByTransactionStatus($this->transactionStatus);
71
+ $this->order = $order;
72
+ }
73
+
74
+ /**
75
+ * @param Payone_Core_Model_Domain_Protocol_TransactionStatus $transactionStatus
76
+ * @return Mage_Sales_Model_Order
77
+ */
78
+ protected function getOrderByTransactionStatus(Payone_Core_Model_Domain_Protocol_TransactionStatus $transactionStatus)
79
+ {
80
+ $order = $this->getFactory()->getModelSalesOrder();
81
+ $order->load($transactionStatus->getOrderId());
82
+ return $order;
83
+ }
84
+
85
+ /**
86
+ * @return Payone_Core_Model_Service_Sales_OrderConfirmation
87
+ */
88
+ public function getServiceOrderConfirmation()
89
+ {
90
+ if ($this->serviceOrderConfirmation === null) {
91
+ $this->serviceOrderConfirmation = $this->getFactory()->getServiceSalesOrderConfirmation();
92
+ }
93
+ return $this->serviceOrderConfirmation;
94
+ }
95
+
96
+
97
+ }
app/code/community/Payone/Core/Model/Observer/TransactionStatus/StoreClearingParameters.php ADDED
@@ -0,0 +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_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_Observer_TransactionStatus_StoreClearingParameters
34
+ extends Payone_Core_Model_Observer_Abstract
35
+ {
36
+ /**
37
+ * @param Varien_Event_Observer $observer
38
+ */
39
+ public function onAppointed(Varien_Event_Observer $observer)
40
+ {
41
+
42
+ $event = $observer->getEvent();
43
+
44
+ /** @var $transactionStatus Payone_Core_Model_Domain_Protocol_TransactionStatus */
45
+ $transactionStatus = $event->getTransactionStatus();
46
+
47
+ $service = $this->getFactory()->getServiceTransactionStatusStoreClearingParameters();
48
+
49
+ $service->execute($transactionStatus);
50
+ }
51
+ }
app/code/community/Payone/Core/Model/Payment/Method/Abstract.php CHANGED
@@ -46,6 +46,8 @@ abstract class Payone_Core_Model_Payment_Method_Abstract
46
  protected $_canUseCheckout = true;
47
  protected $_canUseForMultishipping = false;
48
  protected $_isInitializeNeeded = true;
 
 
49
 
50
  /** @var Payone_Core_Model_Factory */
51
  protected $factory = null;
@@ -72,6 +74,7 @@ abstract class Payone_Core_Model_Payment_Method_Abstract
72
  $configPayment = $this->getConfigPayment(null);
73
  return $configPayment->isAvailable($this->getMethodType());
74
  }
 
75
  $configPayment = $this->helperConfig()->getConfigPaymentByQuote($quote);
76
  return $configPayment->isAvailable($this->getMethodType(), $quote);
77
  }
@@ -142,6 +145,9 @@ abstract class Payone_Core_Model_Payment_Method_Abstract
142
  $order = $payment->getOrder();
143
  $configPayment = $this->getConfigByOrder($order);
144
 
 
 
 
145
  // Execute Payment Initialization
146
  $service = $this->getFactory()->getServiceInitializePayment($configPayment);
147
  $service->setConfigStore($this->getConfigStore($order->getStoreId()));
@@ -178,6 +184,11 @@ abstract class Payone_Core_Model_Payment_Method_Abstract
178
  $paymentMethodInstance->setRedirectUrl($this->getRedirectUrl());
179
  }
180
 
 
 
 
 
 
181
  public function capture(Varien_Object $payment, $amount)
182
  {
183
  /** @var $payment Mage_Sales_Model_Order_Payment */
@@ -319,6 +330,26 @@ abstract class Payone_Core_Model_Payment_Method_Abstract
319
  return $data;
320
  }
321
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
322
  /**
323
  * This is called during Mage_Checkout_Model_Type_Onepage::saveOrder()
324
  *
46
  protected $_canUseCheckout = true;
47
  protected $_canUseForMultishipping = false;
48
  protected $_isInitializeNeeded = true;
49
+ protected $_mustTransimitInvoicingData = false;
50
+ protected $_mustTransimitInvoicingItemTypes = false;
51
 
52
  /** @var Payone_Core_Model_Factory */
53
  protected $factory = null;
74
  $configPayment = $this->getConfigPayment(null);
75
  return $configPayment->isAvailable($this->getMethodType());
76
  }
77
+
78
  $configPayment = $this->helperConfig()->getConfigPaymentByQuote($quote);
79
  return $configPayment->isAvailable($this->getMethodType(), $quote);
80
  }
145
  $order = $payment->getOrder();
146
  $configPayment = $this->getConfigByOrder($order);
147
 
148
+ // Never send confirmation email, we do it during Tx-Status processing
149
+ $order->setCanSendNewEmailFlag(false);
150
+
151
  // Execute Payment Initialization
152
  $service = $this->getFactory()->getServiceInitializePayment($configPayment);
153
  $service->setConfigStore($this->getConfigStore($order->getStoreId()));
184
  $paymentMethodInstance->setRedirectUrl($this->getRedirectUrl());
185
  }
186
 
187
+ /**
188
+ * @param Varien_Object $payment
189
+ * @param float $amount
190
+ * @return Payone_Core_Model_Payment_Method_Abstract
191
+ */
192
  public function capture(Varien_Object $payment, $amount)
193
  {
194
  /** @var $payment Mage_Sales_Model_Order_Payment */
330
  return $data;
331
  }
332
 
333
+ /**
334
+ * Some Payment methods require transmitting of invoicing data, regardless of configuration.
335
+ *
336
+ * @return bool
337
+ */
338
+ public function mustTransmitInvoicingData()
339
+ {
340
+ return $this->_mustTransimitInvoicingData;
341
+ }
342
+
343
+ /**
344
+ * Some Payment methods require transmitting of invoicing item types.
345
+ *
346
+ * @return bool
347
+ */
348
+ public function mustTransmitInvoicingItemTypes()
349
+ {
350
+ return $this->_mustTransimitInvoicingItemTypes;
351
+ }
352
+
353
  /**
354
  * This is called during Mage_Checkout_Model_Type_Onepage::saveOrder()
355
  *
app/code/community/Payone/Core/Model/Payment/Method/Financing.php ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_Financing
34
+ extends Payone_Core_Model_Payment_Method_Abstract
35
+ {
36
+ protected $_canUseForMultishipping = true;
37
+ protected $_canRefund = false;
38
+ protected $_canRefundInvoicePartial = false;
39
+ protected $_canUseInternal = false;
40
+
41
+ protected $methodType = Payone_Core_Model_System_Config_PaymentMethodType::FINANCING;
42
+
43
+ protected $_code = Payone_Core_Model_System_Config_PaymentMethodCode::FINANCING;
44
+
45
+ /** @var Payone_Core_Model_Config_Payment_Method_Interface[] */
46
+ protected $matchingConfigs = array();
47
+
48
+
49
+ /**
50
+ * @param Varien_Object $payment
51
+ * @return Mage_Payment_Model_Method_Abstract
52
+ */
53
+ public function cancel(Varien_Object $payment)
54
+ {
55
+ $status = $payment->getOrder()->getPayoneTransactionStatus();
56
+
57
+ if(empty($status) or $status == 'REDIRECT')
58
+ return $this; // Don´t send cancel to PAYONE on orders without TxStatus
59
+
60
+ $this->capture($payment, 0.0000);
61
+
62
+ return $this;
63
+ }
64
+
65
+ /**
66
+ * @api
67
+ *
68
+ * To be used in Form_Block, which has to display all financing types
69
+ *
70
+ * @param Mage_Sales_Model_Quote $quote
71
+ * @return Payone_Core_Model_Config_Payment_Method_Interface
72
+ */
73
+ public function getAllConfigsByQuote(Mage_Sales_Model_Quote $quote)
74
+ {
75
+ if (empty($this->matchingConfigs)) {
76
+ $configStore = $this->getConfigStore($quote->getStoreId());
77
+
78
+ $this->matchingConfigs = $configStore->getPayment()->getMethodsForQuote($this->methodType, $quote);
79
+ }
80
+ return $this->matchingConfigs;
81
+ }
82
+
83
+ protected $_formBlockType = 'payone_core/payment_method_form_financing';
84
+ protected $_infoBlockType = 'payone_core/payment_method_info_financing';
85
+
86
+
87
+ }
app/code/community/Payone/Core/Model/Payment/Method/SafeInvoice.php ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 $_canUseForMultishipping = true;
37
+ protected $_canRefund = true;
38
+ protected $_canRefundInvoicePartial = true;
39
+ protected $_canSettleAccountAuto = false;
40
+ protected $_canUseInternal = false;
41
+ protected $_mustTransimitInvoicingData = true;
42
+ protected $_mustTransimitInvoicingItemTypes = true;
43
+
44
+ protected $methodType = Payone_Core_Model_System_Config_PaymentMethodType::SAFEINVOICE;
45
+ protected $_code = Payone_Core_Model_System_Config_PaymentMethodCode::SAFEINVOICE;
46
+
47
+
48
+ protected $cancelRequest = false;
49
+
50
+ protected $_formBlockType = 'payone_core/payment_method_form_safeInvoice';
51
+ protected $_infoBlockType = 'payone_core/payment_method_info_safeInvoice';
52
+
53
+ /** @var Payone_Core_Model_Config_Payment_Method_Interface[] */
54
+ protected $matchingConfigs = array();
55
+
56
+ public function isAvailable($quote = null)
57
+ {
58
+ if(count($this->getAllConfigsByQuote($quote)) < 1 )
59
+ return false;
60
+
61
+ return parent::isAvailable($quote);
62
+ }
63
+
64
+
65
+ /**
66
+ * @param Varien_Object $payment
67
+ * @return Mage_Payment_Model_Method_Abstract
68
+ */
69
+ public function cancel(Varien_Object $payment)
70
+ {
71
+ $status = $payment->getOrder()->getPayoneTransactionStatus();
72
+
73
+ if(empty($status) or $status == 'REDIRECT')
74
+ return $this; // Don´t send cancel to PAYONE on orders without TxStatus
75
+
76
+ // Capture0, to notify Magento that the order is complete (invoiced/cancelled all items)
77
+ $this->helperRegistry()->registerPaymentCancel($this->getInfoInstance());
78
+ $this->capture($payment, 0.0000);
79
+
80
+ return $this;
81
+ }
82
+
83
+ /**
84
+ * @api
85
+ *
86
+ * To be used in Form_Block, which has to display all types
87
+ *
88
+ * @param Mage_Sales_Model_Quote $quote
89
+ * @return Payone_Core_Model_Config_Payment_Method_Interface
90
+ */
91
+ public function getAllConfigsByQuote(Mage_Sales_Model_Quote $quote)
92
+ {
93
+ if (empty($this->matchingConfigs)) {
94
+ $configStore = $this->getConfigStore($quote->getStoreId());
95
+
96
+ $this->matchingConfigs = $configStore->getPayment()->getMethodsForQuote($this->methodType, $quote);
97
+ }
98
+
99
+ if (!$this->isAllowedBillSafe($quote)) {
100
+ // Special handling for BillSAFE, virtual quotes are not allowed
101
+ foreach ($this->matchingConfigs as $configKey => $config) {
102
+ /** @var $config Payone_Core_Model_Config_Payment_Method_Interface */
103
+ $types = $config->getTypes();
104
+
105
+ foreach ($types as $key => $type) {
106
+ // Remove BSV
107
+ if ($type === Payone_Api_Enum_FinancingType::BSV) {
108
+ unset($types[$key]);
109
+ }
110
+ }
111
+
112
+ if (count($types) === 0) {
113
+ unset($this->matchingConfigs[$configKey]);
114
+ }
115
+
116
+ }
117
+ }
118
+ return $this->matchingConfigs;
119
+ }
120
+
121
+ /**
122
+ * BillSAFE does not allow:
123
+ * - virtual quotes
124
+ * - differing shipping/billing address
125
+ *
126
+ * @param Mage_Sales_Model_Quote $quote
127
+ * @return bool
128
+ */
129
+ protected function isAllowedBillSafe(Mage_Sales_Model_Quote $quote)
130
+ {
131
+ if ($quote->isVirtual()) {
132
+ return false;
133
+ }
134
+
135
+ $billingAddress = $quote->getBillingAddress();
136
+ $shippingAddress = $quote->getShippingAddress();
137
+
138
+
139
+ if (!$shippingAddress->getSameAsBilling()) {
140
+ // Double check, in case the customer has chosen to enter a separate shipping address, but filled in the same values as in billing address:
141
+ if (!$this->helper()->addressesAreEqual($billingAddress, $shippingAddress)) {
142
+ return false;
143
+ }
144
+ }
145
+
146
+ return true;
147
+ }
148
+
149
+ /**
150
+ * @return Payone_Core_Helper_Registry
151
+ */
152
+ protected function helperRegistry()
153
+ {
154
+ return $this->getFactory()->helperRegistry();
155
+ }
156
+ }
app/code/community/Payone/Core/Model/Repository/TransactionStatus.php CHANGED
@@ -61,6 +61,14 @@ class Payone_Core_Model_Repository_TransactionStatus
61
 
62
  /* map request to domain object */
63
  $data = $request->toArray();
 
 
 
 
 
 
 
 
64
  $domainObject->setData($data);
65
 
66
  $domainObject->save();
61
 
62
  /* map request to domain object */
63
  $data = $request->toArray();
64
+
65
+ // UTF-8 encoding, PAYONE sends ISO-encoded TransactionStatus, we want to preserve special characters (e.g. Umlauts in clearing parameters)
66
+ foreach($data as $key => $value)
67
+ {
68
+ $data[$key] = utf8_encode($value);
69
+ }
70
+
71
+
72
  $domainObject->setData($data);
73
 
74
  $domainObject->save();
app/code/community/Payone/Core/Model/Sales/Quote/Address/Total/Fee.php CHANGED
@@ -47,6 +47,9 @@ class Payone_Core_Model_Sales_Quote_Address_Total_Fee
47
  $quote = $address->getQuote();
48
  $payment = $quote->getPayment();
49
 
 
 
 
50
  $configId = $payment->getPayoneConfigPaymentMethodId();
51
  if (empty($configId)) {
52
  return $this;
47
  $quote = $address->getQuote();
48
  $payment = $quote->getPayment();
49
 
50
+ if($address->getAddressType() === 'billing')
51
+ return $this;
52
+
53
  $configId = $payment->getPayoneConfigPaymentMethodId();
54
  if (empty($configId)) {
55
  return $this;
app/code/community/Payone/Core/Model/Service/Abstract.php CHANGED
@@ -96,4 +96,13 @@ abstract class Payone_Core_Model_Service_Abstract
96
  {
97
  return $this->getFactory()->helperConfig();
98
  }
 
 
 
 
 
 
 
 
 
99
  }
96
  {
97
  return $this->getFactory()->helperConfig();
98
  }
99
+
100
+
101
+ /**
102
+ * @return Payone_Core_Helper_Registry
103
+ */
104
+ protected function helperRegistry()
105
+ {
106
+ return $this->getFactory()->helperRegistry();
107
+ }
108
  }
app/code/community/Payone/Core/Model/Service/Config/PaymentMethod/Create.php ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_Config_PaymentMethod_Create
34
+ extends Payone_Core_Model_Service_Abstract
35
+ {
36
+ /**
37
+ * Create inherited child configurations for a Store
38
+ *
39
+ * @param Mage_Core_Model_Store $store
40
+ *
41
+ * @return Payone_Core_Model_Domain_Config_PaymentMethod[]
42
+ */
43
+ public function executeByStore(Mage_Core_Model_Store $store)
44
+ {
45
+ $scope = 'stores';
46
+ $scopeId = $store->getStoreId();
47
+ $parentId = $store->getWebsiteId();
48
+
49
+ $this->savePaymentConfigs($scope, $scopeId, $parentId);
50
+ }
51
+
52
+
53
+ /**
54
+ * Create inherited child configurations for a Store
55
+ *
56
+ * @param Mage_Core_Model_Website $website
57
+ *
58
+ * @return Payone_Core_Model_Domain_Config_PaymentMethod[]
59
+ */
60
+ public function executeByWebsite(Mage_Core_Model_Website $website)
61
+ {
62
+ $scope = 'websites';
63
+ $scopeId = $website->getWebsiteId();
64
+
65
+ $this->savePaymentConfigs($scope, $scopeId);
66
+ }
67
+
68
+
69
+ /**
70
+ *
71
+ * @param string $scope
72
+ * @param int $scopeId
73
+ * @param int $parentId
74
+ */
75
+ protected function savePaymentConfigs($scope = 'websites', $scopeId, $parentId = 0)
76
+ {
77
+ $parentField = 'parent_default_id';
78
+ $parentScope = 'default';
79
+ if ($scope == 'stores') {
80
+ $parentField = 'parent_websites_id';
81
+ $parentScope = 'websites';
82
+ }
83
+
84
+ /** @var $collection Payone_Core_Model_Domain_Resource_Config_PaymentMethod_Collection */
85
+ $collection = $this->getFactory()->getModelDomainConfigPaymentMethod()->getCollection();
86
+ $collection->addFieldToFilter('scope', $parentScope);
87
+ $collection->addFieldToFilter('scope_id', $parentId);
88
+ // @todo hs: include deleted configs?
89
+
90
+ foreach ($collection->getItems() as $parentConfig) {
91
+ $childPaymentConfig = new Payone_Core_Model_Domain_Config_PaymentMethod();
92
+ $childPaymentConfig->setScope($scope);
93
+ $childPaymentConfig->setScopeId($scopeId);
94
+ $childPaymentConfig->setCode($parentConfig->getCode());
95
+ $childPaymentConfig->setData($parentField, $parentConfig->getId());
96
+ $childPaymentConfig->save();
97
+
98
+ }
99
+
100
+
101
+ }
102
+ }
app/code/community/Payone/Core/Model/Service/Config/XmlGenerate.php CHANGED
@@ -50,7 +50,7 @@ class Payone_Core_Model_Service_Config_XmlGenerate
50
  /** @var $rootConfig Payone_Settings_Data_ConfigFile_Root */
51
  $rootConfig = $this->getSettingsClass('root');
52
 
53
- $stores = Mage::app()->getStores();
54
  foreach ($stores as $store) {
55
  /** @var $store Mage_Core_Model_Store */
56
  /** @var $config Payone_Core_Model_Config */
@@ -65,6 +65,15 @@ class Payone_Core_Model_Service_Config_XmlGenerate
65
  return $xml;
66
  }
67
 
 
 
 
 
 
 
 
 
 
68
  /**
69
  * @param $sectionName
70
  * @param $section
@@ -345,6 +354,8 @@ class Payone_Core_Model_Service_Config_XmlGenerate
345
  */
346
  protected function getPaymentMethodClass($key)
347
  {
 
 
348
  $key = uc_words($key, '');
349
  $classname = self::PAYMENT_METHOD_CLASS_PREFIX . $key;
350
  $classInstance = new $classname();
50
  /** @var $rootConfig Payone_Settings_Data_ConfigFile_Root */
51
  $rootConfig = $this->getSettingsClass('root');
52
 
53
+ $stores = $this->getStores();
54
  foreach ($stores as $store) {
55
  /** @var $store Mage_Core_Model_Store */
56
  /** @var $config Payone_Core_Model_Config */
65
  return $xml;
66
  }
67
 
68
+ /**
69
+ * Get all Magento stores
70
+ * @return Mage_Core_Model_Store[]
71
+ */
72
+ protected function getStores()
73
+ {
74
+ return Mage::app()->getStores();
75
+ }
76
+
77
  /**
78
  * @param $sectionName
79
  * @param $section
354
  */
355
  protected function getPaymentMethodClass($key)
356
  {
357
+ if($key === 'safe_invoice')
358
+ $key = 'financing'; // safe_invoice is a sub-paymentmethod of financing in SDK.
359
  $key = uc_words($key, '');
360
  $classname = self::PAYMENT_METHOD_CLASS_PREFIX . $key;
361
  $classInstance = new $classname();
app/code/community/Payone/Core/Model/Service/InitializeConfig.php CHANGED
@@ -59,16 +59,16 @@ class Payone_Core_Model_Service_InitializeConfig
59
  {
60
  $this->setStoreId($storeId);
61
 
62
- // @todo registry handling should be moved to helper
63
  $registryKey = $this->getConfigRegistryKey($storeId);
64
- $config = Mage::registry($registryKey);
65
  if ($config instanceof Payone_Core_Model_Config_Interface) {
66
  return $config;
67
  }
68
 
69
  $config = $this->loadFromCache();
70
  if ($config instanceof Payone_Core_Model_Config_Interface) {
71
- Mage::register($registryKey, $config);
72
  return $config;
73
  }
74
 
@@ -178,51 +178,8 @@ class Payone_Core_Model_Service_InitializeConfig
178
  $methodConfigCollection->addSortOrder();
179
 
180
  foreach ($methodConfigCollection as $methodConfig) {
181
- /**
182
- * @var $methodConfig Payone_Core_Model_Domain_Config_PaymentMethod
183
- */
184
-
185
- $configData = $methodConfig->getData();
186
-
187
- /**
188
- * @var $configMethod Payone_Core_Model_Config_Payment_Method_Interface
189
- */
190
- $configMethod = $this->getConfigModel('payment_method');
191
-
192
- $configMethod->init($configData);
193
-
194
- // Use Global Config if use_global is set
195
- if ($configMethod->getUseGlobal()) {
196
- $configMethod->init($defaultConfig);
197
- }
198
- else {
199
- // Check globals also if they are not to use
200
- foreach ($defaultConfig as $key => $value) {
201
- if ($configData[$key] == '') {
202
- $configData[$key] = $value;
203
- }
204
- }
205
- $configMethod->init($configData);
206
- }
207
-
208
- // init Allowed Countries
209
- if (array_key_exists('allowspecific', $configData) and $methodConfig->getAllowspecific()) {
210
- $allowedCountries = $configMethod->getSpecificcountry();
211
- }
212
- else {
213
- $generalAllowedCountries = $this->getStoreConfig('general/country/allow');
214
- $allowedCountries = explode(',', $generalAllowedCountries);
215
- }
216
- $configMethod->setAllowedCountries($allowedCountries);
217
-
218
- $parentDefaultId = $methodConfig->getParentDefaultId();
219
- $parentWebsitesId = $methodConfig->getParentWebsitesId();
220
- if (!empty($parentDefaultId) && empty($parentWebsitesId)) {
221
- $configMethod->setParent($parentDefaultId);
222
- }
223
- elseif (!empty($parentWebsitesId)) {
224
- $configMethod->setParent($parentWebsitesId);
225
- }
226
 
227
  $payment->addMethod($configMethod);
228
  }
@@ -230,6 +187,7 @@ class Payone_Core_Model_Service_InitializeConfig
230
  return $payment;
231
  }
232
 
 
233
  /**
234
  *
235
  * @param string $path
@@ -253,6 +211,10 @@ class Payone_Core_Model_Service_InitializeConfig
253
  return Mage::getModel($className);
254
  }
255
 
 
 
 
 
256
  public function getConfigRegistryKey($storeId = null)
257
  {
258
  if ($storeId === null) {
@@ -265,6 +227,10 @@ class Payone_Core_Model_Service_InitializeConfig
265
  return $cacheId;
266
  }
267
 
 
 
 
 
268
  public function getConfigCacheId($storeId = null)
269
  {
270
  if ($storeId === null) {
59
  {
60
  $this->setStoreId($storeId);
61
 
62
+ $helperRegistry = $this->helperRegistry();
63
  $registryKey = $this->getConfigRegistryKey($storeId);
64
+ $config = $helperRegistry->registry($registryKey);
65
  if ($config instanceof Payone_Core_Model_Config_Interface) {
66
  return $config;
67
  }
68
 
69
  $config = $this->loadFromCache();
70
  if ($config instanceof Payone_Core_Model_Config_Interface) {
71
+ $helperRegistry->register($registryKey, $config);
72
  return $config;
73
  }
74
 
178
  $methodConfigCollection->addSortOrder();
179
 
180
  foreach ($methodConfigCollection as $methodConfig) {
181
+ /** @var $methodConfig Payone_Core_Model_Domain_Config_PaymentMethod */
182
+ $configMethod = $methodConfig->toConfigPayment($this->getStoreId(), $defaultConfig);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
183
 
184
  $payment->addMethod($configMethod);
185
  }
187
  return $payment;
188
  }
189
 
190
+
191
  /**
192
  *
193
  * @param string $path
211
  return Mage::getModel($className);
212
  }
213
 
214
+ /**
215
+ * @param int|null $storeId
216
+ * @return string
217
+ */
218
  public function getConfigRegistryKey($storeId = null)
219
  {
220
  if ($storeId === null) {
227
  return $cacheId;
228
  }
229
 
230
+ /**
231
+ * @param int|null $storeId
232
+ * @return string
233
+ */
234
  public function getConfigCacheId($storeId = null)
235
  {
236
  if ($storeId === null) {
app/code/community/Payone/Core/Model/Service/InitializePayment.php CHANGED
@@ -52,6 +52,7 @@ class Payone_Core_Model_Service_InitializePayment
52
 
53
  /** @var $service Payone_Core_Model_Service_Payment_Interface */
54
  $service = null;
 
55
  if ($config->isRequestAuthorization()) {
56
  $service = $this->getFactory()->getServicePaymentAuthorize($config);
57
  }
52
 
53
  /** @var $service Payone_Core_Model_Service_Payment_Interface */
54
  $service = null;
55
+
56
  if ($config->isRequestAuthorization()) {
57
  $service = $this->getFactory()->getServicePaymentAuthorize($config);
58
  }
app/code/community/Payone/Core/Model/Service/Sales/InvoiceCreate.php CHANGED
@@ -96,6 +96,9 @@ class Payone_Core_Model_Service_Sales_InvoiceCreate extends Payone_Core_Model_Se
96
  $invoice->setIncrementId($invoiceIncrementId);
97
  }
98
 
 
 
 
99
  if (count($invoice->getAllItems()) <= 0) {
100
  throw new Payone_Core_Exception_InvoicePreparationNoItems($order->getIncrementId());
101
  }
96
  $invoice->setIncrementId($invoiceIncrementId);
97
  }
98
 
99
+ $invoice->setTransactionId($order->getPayment()->getLastTransId());
100
+
101
+
102
  if (count($invoice->getAllItems()) <= 0) {
103
  throw new Payone_Core_Exception_InvoicePreparationNoItems($order->getIncrementId());
104
  }
app/code/community/Payone/Core/Model/Service/Sales/OrderConfirmation.php ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_Sales_OrderConfirmation extends Payone_Core_Model_Service_Abstract
34
+ {
35
+ /**
36
+ * @param Mage_Sales_Model_Order $order
37
+ */
38
+ public function sendMail(Mage_Sales_Model_Order $order)
39
+ {
40
+ if(!$this->helper()->canUseAppEmulation())
41
+ {
42
+ // Old Magento does not use app Emulation in emails yet, we must set the proper environment.
43
+ $this->app()->loadAreaPart(Mage_Core_Model_App_Area::AREA_FRONTEND, Mage_Core_Model_App_Area::PART_TRANSLATE);
44
+ $this->app()->loadAreaPart(Mage_Core_Model_App_Area::AREA_FRONTEND, Mage_Core_Model_App_Area::PART_DESIGN);
45
+
46
+ }
47
+ $order->sendNewOrderEmail();
48
+ }
49
+
50
+ /**
51
+ * Wrapper for Mage::app();
52
+ * @return Mage_Core_Model_App
53
+ */
54
+ protected function app()
55
+ {
56
+ return Mage::app();
57
+ }
58
+ }
app/code/community/Payone/Core/Model/Service/Sales/OrderStatus.php CHANGED
@@ -32,6 +32,11 @@
32
  */
33
  class Payone_Core_Model_Service_Sales_OrderStatus extends Payone_Core_Model_Service_Abstract
34
  {
 
 
 
 
 
35
  public function updateByTransactionStatus(
36
  Mage_Sales_Model_Order $order, Payone_Core_Model_Domain_Protocol_TransactionStatus $transactionStatus
37
  )
@@ -54,6 +59,7 @@ class Payone_Core_Model_Service_Sales_OrderStatus extends Payone_Core_Model_Serv
54
  $paymentMethod = $order->getPayment()->getMethodInstance();
55
  $type = $paymentMethod->getMethodType();
56
 
 
57
  $mapping = $statusMapping->getByType($type);
58
 
59
  if (!is_array($mapping)
32
  */
33
  class Payone_Core_Model_Service_Sales_OrderStatus extends Payone_Core_Model_Service_Abstract
34
  {
35
+ /**
36
+ * @param Mage_Sales_Model_Order $order
37
+ * @param Payone_Core_Model_Domain_Protocol_TransactionStatus $transactionStatus
38
+ * @return void
39
+ */
40
  public function updateByTransactionStatus(
41
  Mage_Sales_Model_Order $order, Payone_Core_Model_Domain_Protocol_TransactionStatus $transactionStatus
42
  )
59
  $paymentMethod = $order->getPayment()->getMethodInstance();
60
  $type = $paymentMethod->getMethodType();
61
 
62
+
63
  $mapping = $statusMapping->getByType($type);
64
 
65
  if (!is_array($mapping)
app/code/community/Payone/Core/Model/Service/TransactionStatus/StoreClearingParameters.php ADDED
@@ -0,0 +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 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
+ * @param Payone_Core_Model_Domain_Protocol_TransactionStatus $transactionStatus
37
+ */
38
+ public function execute(Payone_Core_Model_Domain_Protocol_TransactionStatus $transactionStatus)
39
+ {
40
+ // Map clearing params:
41
+ $order = $this->getFactory()->getModelSalesOrder();
42
+ $order->load($transactionStatus->getOrderId());
43
+
44
+ $payment = $order->getPayment();
45
+ $methodInstance = $payment->getMethodInstance();
46
+
47
+ // Clearing params need only to be mapped on SafeInvoice with request mode "authorization" abort otherwise.
48
+ if (!($methodInstance instanceof Payone_Core_Model_Payment_Method_SafeInvoice)) {
49
+ return;
50
+ }
51
+
52
+ $config = $this->helperConfig()->getConfigPaymentMethodByOrder($order);
53
+
54
+
55
+ if (!$config->isRequestAuthorization()) {
56
+ return;
57
+ }
58
+
59
+ $payment->setPayoneClearingBankAccountholder($transactionStatus->getClearingBankaccountholder());
60
+ $payment->setPayoneClearingBankCountry($transactionStatus->getClearingBankcountry());
61
+ $payment->setPayoneClearingBankAccount($transactionStatus->getClearingBankaccount());
62
+ $payment->setPayoneClearingBankCode($transactionStatus->getClearingBankcode());
63
+ $payment->setPayoneClearingBankIban($transactionStatus->getClearingBankiban());
64
+ $payment->setPayoneClearingBankBic($transactionStatus->getClearingBankbic());
65
+ $payment->setPayoneClearingBankCity($transactionStatus->getClearingBankcity());
66
+ $payment->setPayoneClearingBankName($transactionStatus->getClearingBankname());
67
+ $payment->setPayoneClearingReference($transactionStatus->getClearingReference());
68
+ $payment->setPayoneClearingInstructionnote($transactionStatus->getClearingInstructionnote());
69
+ $payment->setPayoneClearingLegalnote($transactionStatus->getClearingLegalnote());
70
+ $payment->setPayoneClearingDuedate($transactionStatus->getClearingDuedate());
71
+
72
+ $payment->save();
73
+
74
+ }
75
+ }
app/code/community/Payone/Core/Model/System/Config/AuthorizeMethodFinancing.php ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 System
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 System
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_System_Config_AuthorizeMethodFinancing extends Payone_Core_Model_System_Config_Abstract
34
+ {
35
+ const PREAUTHORIZATION = Payone_Api_Enum_RequestType::PREAUTHORIZATION;
36
+
37
+ /**
38
+ * @return array
39
+ */
40
+ public function toArray()
41
+ {
42
+ return array(
43
+ self::PREAUTHORIZATION => 'PREAUTHORIZATION',
44
+ );
45
+ }
46
+ }
app/code/community/Payone/Core/Model/System/Config/FinancingType.php ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 System
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 System
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_System_Config_FinancingType extends Payone_Core_Model_System_Config_Abstract
34
+ {
35
+ /**
36
+ * @return array
37
+ */
38
+ public function toArray()
39
+ {
40
+ $settings = new Payone_Settings_Configuration_PaymentMethod_Financing();
41
+
42
+ $types = $settings->getTypes();
43
+ if(array_key_exists(Payone_Api_Enum_FinancingType::BSV, $types))
44
+ unset($types[Payone_Api_Enum_FinancingType::BSV]); // BSV has a separate Payment method.
45
+ return $types;
46
+ }
47
+ }
app/code/community/Payone/Core/Model/System/Config/MethodType.php CHANGED
@@ -30,7 +30,8 @@
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_System_Config_MethodType extends Payone_Core_Model_System_Config_Abstract
 
34
  {
35
  /**
36
  * @return array
@@ -40,11 +41,15 @@ class Payone_Core_Model_System_Config_MethodType extends Payone_Core_Model_Syste
40
  $settingsCreditcard = new Payone_Settings_Configuration_PaymentMethod_CreditCard();
41
  $settingsOnlineBankTransfer = new Payone_Settings_Configuration_PaymentMethod_OnlineBankTransfer();
42
  $settingsWallet = new Payone_Settings_Configuration_PaymentMethod_Wallet();
 
 
43
 
44
  $return = array_merge(
45
  $settingsCreditcard->getTypes(),
46
  $settingsOnlineBankTransfer->getTypes(),
47
- $settingsWallet->getTypes()
 
 
48
  );
49
 
50
  return $return;
@@ -58,11 +63,15 @@ class Payone_Core_Model_System_Config_MethodType extends Payone_Core_Model_Syste
58
  $settingsCreditcard = new Payone_Settings_Configuration_PaymentMethod_CreditCard();
59
  $settingsOnlineBankTransfer = new Payone_Settings_Configuration_PaymentMethod_OnlineBankTransfer();
60
  $settingsWallet = new Payone_Settings_Configuration_PaymentMethod_Wallet();
 
 
61
 
62
  $return = array(
63
  'Creditcard' => $settingsCreditcard->getTypes(),
64
  'Online Bank Transfer' => $settingsOnlineBankTransfer->getTypes(),
65
- 'Wallet' => $settingsWallet->getTypes()
 
 
66
  );
67
 
68
  return $return;
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_System_Config_MethodType
34
+ extends Payone_Core_Model_System_Config_Abstract
35
  {
36
  /**
37
  * @return array
41
  $settingsCreditcard = new Payone_Settings_Configuration_PaymentMethod_CreditCard();
42
  $settingsOnlineBankTransfer = new Payone_Settings_Configuration_PaymentMethod_OnlineBankTransfer();
43
  $settingsWallet = new Payone_Settings_Configuration_PaymentMethod_Wallet();
44
+ $settingsFinancing = new Payone_Settings_Configuration_PaymentMethod_Financing();
45
+ $settingsSafeInvoice = new Payone_Settings_Configuration_PaymentMethod_Financing();
46
 
47
  $return = array_merge(
48
  $settingsCreditcard->getTypes(),
49
  $settingsOnlineBankTransfer->getTypes(),
50
+ $settingsWallet->getTypes(),
51
+ $settingsFinancing->getTypes(),
52
+ $settingsSafeInvoice->getTypes()
53
  );
54
 
55
  return $return;
63
  $settingsCreditcard = new Payone_Settings_Configuration_PaymentMethod_CreditCard();
64
  $settingsOnlineBankTransfer = new Payone_Settings_Configuration_PaymentMethod_OnlineBankTransfer();
65
  $settingsWallet = new Payone_Settings_Configuration_PaymentMethod_Wallet();
66
+ $settingsFinancing = new Payone_Core_Model_System_Config_FinancingType();
67
+ $settingsSafeInvoice = new Payone_Core_Model_System_Config_SafeInvoiceType();
68
 
69
  $return = array(
70
  'Creditcard' => $settingsCreditcard->getTypes(),
71
  'Online Bank Transfer' => $settingsOnlineBankTransfer->getTypes(),
72
+ 'Wallet' => $settingsWallet->getTypes(),
73
+ 'Financing' => $settingsFinancing->toArray(),
74
+ 'Safe Invoice' => $settingsSafeInvoice->toArray(),
75
  );
76
 
77
  return $return;
app/code/community/Payone/Core/Model/System/Config/PaymentMethodCode.php CHANGED
@@ -38,7 +38,9 @@ class Payone_Core_Model_System_Config_PaymentMethodCode extends Payone_Core_Mode
38
  const CASHONDELIVERY = 'payone_cash_on_delivery';
39
  const CREDITCARD = 'payone_creditcard';
40
  const DEBITPAYMENT = 'payone_debit_payment';
 
41
  const INVOICE = 'payone_invoice';
 
42
  const ONLINEBANKTRANSFER = 'payone_online_bank_transfer';
43
  const WALLET = 'payone_wallet';
44
 
@@ -52,7 +54,9 @@ class Payone_Core_Model_System_Config_PaymentMethodCode extends Payone_Core_Mode
52
  self::CASHONDELIVERY => 'Cash on Delivery',
53
  self::CREDITCARD => 'Creditcard',
54
  self::DEBITPAYMENT => 'Debit Payment',
 
55
  self::INVOICE => 'Invoice',
 
56
  self::ONLINEBANKTRANSFER => 'Online Bank Transfer',
57
  self::WALLET => 'Wallet'
58
  );
38
  const CASHONDELIVERY = 'payone_cash_on_delivery';
39
  const CREDITCARD = 'payone_creditcard';
40
  const DEBITPAYMENT = 'payone_debit_payment';
41
+ const FINANCING = 'payone_financing';
42
  const INVOICE = 'payone_invoice';
43
+ const SAFEINVOICE = 'payone_safe_invoice';
44
  const ONLINEBANKTRANSFER = 'payone_online_bank_transfer';
45
  const WALLET = 'payone_wallet';
46
 
54
  self::CASHONDELIVERY => 'Cash on Delivery',
55
  self::CREDITCARD => 'Creditcard',
56
  self::DEBITPAYMENT => 'Debit Payment',
57
+ self::FINANCING => 'Financing',
58
  self::INVOICE => 'Invoice',
59
+ self::SAFEINVOICE => 'Safe Invoice',
60
  self::ONLINEBANKTRANSFER => 'Online Bank Transfer',
61
  self::WALLET => 'Wallet'
62
  );
app/code/community/Payone/Core/Model/System/Config/PaymentMethodType.php CHANGED
@@ -36,6 +36,8 @@ class Payone_Core_Model_System_Config_PaymentMethodType extends Payone_Core_Mode
36
  const CASHONDELIVERY = 'cash_on_delivery';
37
  const CREDITCARD = 'creditcard';
38
  const DEBITPAYMENT = 'debit_payment';
 
 
39
  const INVOICE = 'invoice';
40
  const ONLINEBANKTRANSFER = 'online_bank_transfer';
41
  const WALLET = 'wallet';
@@ -50,6 +52,8 @@ class Payone_Core_Model_System_Config_PaymentMethodType extends Payone_Core_Mode
50
  self::CASHONDELIVERY => 'Cash on Delivery',
51
  self::CREDITCARD => 'Creditcard',
52
  self::DEBITPAYMENT => 'Debit Payment',
 
 
53
  self::INVOICE => 'Invoice',
54
  self::ONLINEBANKTRANSFER => 'Online Bank Transfer',
55
  self::WALLET => 'Wallet'
36
  const CASHONDELIVERY = 'cash_on_delivery';
37
  const CREDITCARD = 'creditcard';
38
  const DEBITPAYMENT = 'debit_payment';
39
+ const FINANCING = 'financing';
40
+ const SAFEINVOICE = 'safe_invoice';
41
  const INVOICE = 'invoice';
42
  const ONLINEBANKTRANSFER = 'online_bank_transfer';
43
  const WALLET = 'wallet';
52
  self::CASHONDELIVERY => 'Cash on Delivery',
53
  self::CREDITCARD => 'Creditcard',
54
  self::DEBITPAYMENT => 'Debit Payment',
55
+ self::FINANCING => 'Financing',
56
+ self::SAFEINVOICE => 'Safe Invoice',
57
  self::INVOICE => 'Invoice',
58
  self::ONLINEBANKTRANSFER => 'Online Bank Transfer',
59
  self::WALLET => 'Wallet'
app/code/community/Payone/Core/Model/System/Config/SafeInvoiceType.php ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 System
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 System
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_System_Config_SafeInvoiceType extends Payone_Core_Model_System_Config_Abstract
34
+ {
35
+ /**
36
+ * @return array
37
+ */
38
+ public function toArray()
39
+ {
40
+ $types = array(Payone_Api_Enum_FinancingType::BSV => Payone_Api_Enum_FinancingType::BSV);
41
+
42
+ return $types;
43
+ }
44
+ }
app/code/community/Payone/Core/controllers/Adminhtml/System/ConfigurationController.php CHANGED
@@ -63,6 +63,8 @@ class Payone_Core_Adminhtml_System_ConfigurationController
63
  $configPaymentCod = Mage::getStoreConfig('payment/payone_cod', $storeId);
64
  $configPaymentSb = Mage::getStoreConfig('payment/payone_sb', $storeId);
65
  $configPaymentWlt = Mage::getStoreConfig('payment/payone_wlt', $storeId);
 
 
66
 
67
  $configCreditrating = Mage::getStoreConfig('payonecreditrating', $storeId);
68
 
@@ -74,6 +76,8 @@ class Payone_Core_Adminhtml_System_ConfigurationController
74
  'payone_cod' => $configPaymentCod,
75
  'payone_sb' => $configPaymentSb,
76
  'payone_wlt' => $configPaymentWlt,
 
 
77
  );
78
 
79
  // PAYMENT
63
  $configPaymentCod = Mage::getStoreConfig('payment/payone_cod', $storeId);
64
  $configPaymentSb = Mage::getStoreConfig('payment/payone_sb', $storeId);
65
  $configPaymentWlt = Mage::getStoreConfig('payment/payone_wlt', $storeId);
66
+ $configPaymentFnc = Mage::getStoreConfig('payment/payone_fnc', $storeId);
67
+ $configPaymentSin = Mage::getStoreConfig('payment/payone_sin', $storeId);
68
 
69
  $configCreditrating = Mage::getStoreConfig('payonecreditrating', $storeId);
70
 
76
  'payone_cod' => $configPaymentCod,
77
  'payone_sb' => $configPaymentSb,
78
  'payone_wlt' => $configPaymentWlt,
79
+ 'payone_fnc' => $configPaymentFnc,
80
+ 'payone_sin' => $configPaymentSin
81
  );
82
 
83
  // PAYMENT
app/code/community/Payone/Core/etc/config.xml CHANGED
@@ -24,7 +24,7 @@
24
  <config>
25
  <modules>
26
  <Payone_Core>
27
- <version>3.0.12</version>
28
  </Payone_Core>
29
  </modules>
30
 
@@ -149,6 +149,14 @@
149
  <payone_config_payment_method_id>
150
  <to_order_payment>*</to_order_payment>
151
  </payone_config_payment_method_id>
 
 
 
 
 
 
 
 
152
  <payone_onlinebanktransfer_type>
153
  <!-- Online Bank Transfer: Type -->
154
  <to_order_payment>*</to_order_payment>
@@ -234,6 +242,25 @@
234
  </payone_core_observer>
235
  </observers>
236
  </checkout_onepage_payment_methods_get_methods>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
237
  <payone_core_checkout_onepage_verify_payment>
238
  <observers>
239
  <payone_core_observer>
@@ -259,6 +286,14 @@
259
  </payone_core_observer>
260
  </observers>
261
  </sales_order_place_after>
 
 
 
 
 
 
 
 
262
  <payone_core_transactionstatus_all>
263
  <observers>
264
  <payone_core_observer_forwarding>
@@ -275,6 +310,16 @@
275
  <class>payone_core/observer_transactionStatus_invoiceCreate</class>
276
  <method>onAppointed</method>
277
  </payone_core_observer_invoiceCreate>
 
 
 
 
 
 
 
 
 
 
278
  </observers>
279
  </payone_core_transactionstatus_appointed>
280
  <payone_core_transactionstatus_paid>
@@ -420,6 +465,16 @@
420
  <model>payone_core/payment_method_debitPayment</model>
421
  <group>payone</group>
422
  </payone_debit_payment>
 
 
 
 
 
 
 
 
 
 
423
  <payone_invoice translate="title" module="payone_core">
424
  <title>PAYONE - Invoice</title>
425
  <model>payone_core/payment_method_invoice</model>
@@ -452,6 +507,14 @@
452
  <template_online_bank_transfer>
453
  <use_global>1</use_global>
454
  </template_online_bank_transfer>
 
 
 
 
 
 
 
 
455
  <template_invoice>
456
  <use_global>1</use_global>
457
  </template_invoice>
@@ -476,6 +539,8 @@
476
  <creditcard>a:1:{s:23:"_payone_status_mapping1";a:2:{s:8:"txaction";a:1:{i:0;s:9:"appointed";}s:6:"status";a:1:{i:0;s:10:"processing";}}}</creditcard>
477
  <invoice>a:1:{s:23:"_payone_status_mapping2";a:2:{s:8:"txaction";a:1:{i:0;s:9:"appointed";}s:6:"status";a:1:{i:0;s:10:"processing";}}}</invoice>
478
  <debit_payment>a:1:{s:23:"_payone_status_mapping3";a:2:{s:8:"txaction";a:1:{i:0;s:9:"appointed";}s:6:"status";a:1:{i:0;s:10:"processing";}}}</debit_payment>
 
 
479
  <advance_payment>a:2:{s:23:"_payone_status_mapping4";a:2:{s:8:"txaction";a:1:{i:0;s:9:"appointed";}s:6:"status";a:1:{i:0;s:7:"pending";}}s:23:"_payone_status_mapping5";a:2:{s:8:"txaction";a:1:{i:0;s:4:"paid";}s:6:"status";a:1:{i:0;s:10:"processing";}}}</advance_payment>
480
  <online_bank_transfer>a:1:{s:23:"_payone_status_mapping6";a:2:{s:8:"txaction";a:1:{i:0;s:9:"appointed";}s:6:"status";a:1:{i:0;s:10:"processing";}}}</online_bank_transfer>
481
  <cash_on_delivery>a:1:{s:23:"_payone_status_mapping7";a:2:{s:8:"txaction";a:1:{i:0;s:9:"appointed";}s:6:"status";a:1:{i:0;s:10:"processing";}}}</cash_on_delivery>
24
  <config>
25
  <modules>
26
  <Payone_Core>
27
+ <version>3.1.1</version>
28
  </Payone_Core>
29
  </modules>
30
 
149
  <payone_config_payment_method_id>
150
  <to_order_payment>*</to_order_payment>
151
  </payone_config_payment_method_id>
152
+ <payone_financing_type>
153
+ <!-- Financing: Type -->
154
+ <to_order_payment>*</to_order_payment>
155
+ </payone_financing_type>
156
+ <payone_safe_invoice_type>
157
+ <!-- Financing: Type -->
158
+ <to_order_payment>*</to_order_payment>
159
+ </payone_safe_invoice_type>
160
  <payone_onlinebanktransfer_type>
161
  <!-- Online Bank Transfer: Type -->
162
  <to_order_payment>*</to_order_payment>
242
  </payone_core_observer>
243
  </observers>
244
  </checkout_onepage_payment_methods_get_methods>
245
+ <website_save_after>
246
+ <observers>
247
+ <payone_core_observer>
248
+ <type>singleton</type>
249
+ <class>payone_core/observer_store_paymentConfig</class>
250
+ <method>createByWebsite</method>
251
+ </payone_core_observer>
252
+ </observers>
253
+ </website_save_after>
254
+
255
+ <store_save_after>
256
+ <observers>
257
+ <payone_core_observer>
258
+ <type>singleton</type>
259
+ <class>payone_core/observer_store_paymentConfig</class>
260
+ <method>createByStore</method>
261
+ </payone_core_observer>
262
+ </observers>
263
+ </store_save_after>
264
  <payone_core_checkout_onepage_verify_payment>
265
  <observers>
266
  <payone_core_observer>
286
  </payone_core_observer>
287
  </observers>
288
  </sales_order_place_after>
289
+ <sales_order_payment_cancel>
290
+ <observers>
291
+ <payone_core_observer>
292
+ <class>payone_core/observer_sales_order</class>
293
+ <method>cancelPayment</method>
294
+ </payone_core_observer>
295
+ </observers>
296
+ </sales_order_payment_cancel>
297
  <payone_core_transactionstatus_all>
298
  <observers>
299
  <payone_core_observer_forwarding>
310
  <class>payone_core/observer_transactionStatus_invoiceCreate</class>
311
  <method>onAppointed</method>
312
  </payone_core_observer_invoiceCreate>
313
+ <payone_core_observer_orderConfirmation>
314
+ <type>singleton</type>
315
+ <class>payone_core/observer_transactionStatus_orderConfirmation</class>
316
+ <method>onAppointed</method>
317
+ </payone_core_observer_orderConfirmation>
318
+ <payone_core_observer_transactionstatus_clearingparameters>
319
+ <type>singleton</type>
320
+ <class>payone_core/observer_transactionStatus_storeClearingParameters</class>
321
+ <method>onAppointed</method>
322
+ </payone_core_observer_transactionstatus_clearingparameters>
323
  </observers>
324
  </payone_core_transactionstatus_appointed>
325
  <payone_core_transactionstatus_paid>
465
  <model>payone_core/payment_method_debitPayment</model>
466
  <group>payone</group>
467
  </payone_debit_payment>
468
+ <payone_financing translate="title" module="payone_core">
469
+ <title>PAYONE - Financing</title>
470
+ <model>payone_core/payment_method_financing</model>
471
+ <group>payone</group>
472
+ </payone_financing>
473
+ <payone_safe_invoice translate="title" module="payone_core">
474
+ <title>PAYONE - Safe Invoice</title>
475
+ <model>payone_core/payment_method_safeInvoice</model>
476
+ <group>payone</group>
477
+ </payone_safe_invoice>
478
  <payone_invoice translate="title" module="payone_core">
479
  <title>PAYONE - Invoice</title>
480
  <model>payone_core/payment_method_invoice</model>
507
  <template_online_bank_transfer>
508
  <use_global>1</use_global>
509
  </template_online_bank_transfer>
510
+ <template_financing>
511
+ <types>CFR</types>
512
+ <use_global>1</use_global>
513
+ </template_financing>
514
+ <template_safe_invoice>
515
+ <types>BSV</types>
516
+ <use_global>1</use_global>
517
+ </template_safe_invoice>
518
  <template_invoice>
519
  <use_global>1</use_global>
520
  </template_invoice>
539
  <creditcard>a:1:{s:23:"_payone_status_mapping1";a:2:{s:8:"txaction";a:1:{i:0;s:9:"appointed";}s:6:"status";a:1:{i:0;s:10:"processing";}}}</creditcard>
540
  <invoice>a:1:{s:23:"_payone_status_mapping2";a:2:{s:8:"txaction";a:1:{i:0;s:9:"appointed";}s:6:"status";a:1:{i:0;s:10:"processing";}}}</invoice>
541
  <debit_payment>a:1:{s:23:"_payone_status_mapping3";a:2:{s:8:"txaction";a:1:{i:0;s:9:"appointed";}s:6:"status";a:1:{i:0;s:10:"processing";}}}</debit_payment>
542
+ <financing>a:1:{s:23:"_payone_status_mapping2";a:2:{s:8:"txaction";a:1:{i:0;s:9:"appointed";}s:6:"status";a:1:{i:0;s:10:"processing";}}}</financing>
543
+ <safe_invoice>a:1:{s:23:"_payone_status_mapping2";a:2:{s:8:"txaction";a:1:{i:0;s:9:"appointed";}s:6:"status";a:1:{i:0;s:10:"processing";}}}</safe_invoice>
544
  <advance_payment>a:2:{s:23:"_payone_status_mapping4";a:2:{s:8:"txaction";a:1:{i:0;s:9:"appointed";}s:6:"status";a:1:{i:0;s:7:"pending";}}s:23:"_payone_status_mapping5";a:2:{s:8:"txaction";a:1:{i:0;s:4:"paid";}s:6:"status";a:1:{i:0;s:10:"processing";}}}</advance_payment>
545
  <online_bank_transfer>a:1:{s:23:"_payone_status_mapping6";a:2:{s:8:"txaction";a:1:{i:0;s:9:"appointed";}s:6:"status";a:1:{i:0;s:10:"processing";}}}</online_bank_transfer>
546
  <cash_on_delivery>a:1:{s:23:"_payone_status_mapping7";a:2:{s:8:"txaction";a:1:{i:0;s:9:"appointed";}s:6:"status";a:1:{i:0;s:10:"processing";}}}</cash_on_delivery>
app/code/community/Payone/Core/etc/system.xml CHANGED
@@ -234,6 +234,24 @@
234
  <show_in_website>1</show_in_website>
235
  <show_in_store>1</show_in_store>
236
  </invoice>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
237
  <debit_payment translate="label">
238
  <label>Debit Payment</label>
239
  <frontend_model>payone_core/adminhtml_system_config_form_field_statusMapping</frontend_model>
@@ -657,6 +675,72 @@
657
  <show_in_store>1</show_in_store>
658
  <fields></fields>
659
  </template_invoice>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
660
  <template_wallet translate="label" module="payone_core">
661
  <label>Wallet</label>
662
  <frontend_type>text</frontend_type>
234
  <show_in_website>1</show_in_website>
235
  <show_in_store>1</show_in_store>
236
  </invoice>
237
+ <safe_invoice translate="label">
238
+ <label>Safe Invoice</label>
239
+ <frontend_model>payone_core/adminhtml_system_config_form_field_statusMapping</frontend_model>
240
+ <backend_model>adminhtml/system_config_backend_serialized_array</backend_model>
241
+ <sort_order>20</sort_order>
242
+ <show_in_default>1</show_in_default>
243
+ <show_in_website>1</show_in_website>
244
+ <show_in_store>1</show_in_store>
245
+ </safe_invoice>
246
+ <financing translate="label">
247
+ <label>Financing</label>
248
+ <frontend_model>payone_core/adminhtml_system_config_form_field_statusMapping</frontend_model>
249
+ <backend_model>adminhtml/system_config_backend_serialized_array</backend_model>
250
+ <sort_order>20</sort_order>
251
+ <show_in_default>1</show_in_default>
252
+ <show_in_website>1</show_in_website>
253
+ <show_in_store>1</show_in_store>
254
+ </financing>
255
  <debit_payment translate="label">
256
  <label>Debit Payment</label>
257
  <frontend_model>payone_core/adminhtml_system_config_form_field_statusMapping</frontend_model>
675
  <show_in_store>1</show_in_store>
676
  <fields></fields>
677
  </template_invoice>
678
+ <template_safe_invoice translate="label" module="payone_core">
679
+ <label>Safe Invoice</label>
680
+ <frontend_type>text</frontend_type>
681
+ <sort_order>5</sort_order>
682
+ <show_in_default>1</show_in_default>
683
+ <show_in_website>1</show_in_website>
684
+ <show_in_store>1</show_in_store>
685
+ <fields>
686
+ <types translate="label,comment">
687
+ <label>Type</label>
688
+ <frontend_type>multiselect</frontend_type>
689
+ <source_model>payone_core/system_config_safeInvoiceType</source_model>
690
+ <sort_order>200</sort_order>
691
+ <show_in_default>1</show_in_default>
692
+ <show_in_website>1</show_in_website>
693
+ <show_in_store>1</show_in_store>
694
+ </types>
695
+ </fields>
696
+ </template_safe_invoice>
697
+ <template_financing translate="label" module="payone_core">
698
+ <label>Financing</label>
699
+ <frontend_type>text</frontend_type>
700
+ <sort_order>5</sort_order>
701
+ <show_in_default>1</show_in_default>
702
+ <show_in_website>1</show_in_website>
703
+ <show_in_store>1</show_in_store>
704
+ <fields>
705
+ <min_order_total translate="label, comment">
706
+ <label>Minimum Order Total</label>
707
+ <comment>Please note that for Commerz Finanz the maximum transaction amount is EUR5000.00.</comment>
708
+ <frontend_type>text</frontend_type>
709
+ <sort_order>55</sort_order>
710
+ <show_in_default>1</show_in_default>
711
+ <show_in_website>1</show_in_website>
712
+ <show_in_store>1</show_in_store>
713
+ </min_order_total>
714
+ <max_order_total translate="label, comment">
715
+ <label>Maximum Order Total</label>
716
+ <comment>Please note that for Commerz Finanz the minimum transaction amount is EUR100.00.</comment>
717
+ <frontend_type>text</frontend_type>
718
+ <sort_order>58</sort_order>
719
+ <show_in_default>1</show_in_default>
720
+ <show_in_website>1</show_in_website>
721
+ <show_in_store>1</show_in_store>
722
+ </max_order_total>
723
+ <types translate="label,comment">
724
+ <label>Financing-Type</label>
725
+ <frontend_type>multiselect</frontend_type>
726
+ <source_model>payone_core/system_config_financingType</source_model>
727
+ <sort_order>200</sort_order>
728
+ <show_in_default>1</show_in_default>
729
+ <show_in_website>1</show_in_website>
730
+ <show_in_store>1</show_in_store>
731
+ </types>
732
+ <request_type translate="label">
733
+ <label>Authorize-Method</label>
734
+ <comment>Please note that for Commerz Finanz only the mode "preauthorization" is available. Afterwards payments must be captured. (CAPTURE)</comment>
735
+ <frontend_type>select</frontend_type>
736
+ <source_model>payone_core/system_config_authorizeMethodFinancing</source_model>
737
+ <sort_order>210</sort_order>
738
+ <show_in_default>1</show_in_default>
739
+ <show_in_website>1</show_in_website>
740
+ <show_in_store>1</show_in_store>
741
+ </request_type>
742
+ </fields>
743
+ </template_financing>
744
  <template_wallet translate="label" module="payone_core">
745
  <label>Wallet</label>
746
  <frontend_type>text</frontend_type>
app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.0.12-3.1.0.php ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ $tableOrderPayment = $this->getTable('sales/order_payment');
31
+ $tableQuotePayment = $this->getTable('sales/quote_payment');
32
+ $tableTransactionStatus = $this->getTable('payone_core/protocol_transactionStatus');
33
+
34
+ /** @var $helper Payone_Core_Helper_Data */
35
+ $helper = Mage::helper('payone_core');
36
+ $useSqlInstaller = $helper->mustUseSqlInstaller();
37
+
38
+ if ($useSqlInstaller) {
39
+ $sql = file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'upgrade-3.0.12-3.1.0.sql');
40
+
41
+ $installSqlConfig = array(
42
+ '{{sales_flat_order_payment}}' => $tableOrderPayment,
43
+ '{{sales_flat_quote_payment}}' => $tableQuotePayment,
44
+ '{{payone_protocol_transactionstatus}}' => $tableTransactionStatus
45
+ );
46
+
47
+ $installSql = str_replace(array_keys($installSqlConfig), array_values($installSqlConfig), $sql);
48
+ $installer->run($installSql);
49
+ }
50
+ else {
51
+ $connection = $installer->getConnection();
52
+
53
+ $connection->addColumn($tableQuotePayment, 'payone_financing_type',
54
+ array(
55
+ 'TYPE' => Varien_Db_Ddl_Table::TYPE_TEXT,
56
+ 'LENGTH' => 3,
57
+ 'NULLABLE' => false,
58
+ 'COMMENT' => 'Financing: Type',
59
+ 'DEFAULT' => '')
60
+ );
61
+
62
+ $connection->addColumn($tableQuotePayment, 'payone_safe_invoice_type',
63
+ array(
64
+ 'TYPE' => Varien_Db_Ddl_Table::TYPE_TEXT,
65
+ 'LENGTH' => 3,
66
+ 'NULLABLE' => false,
67
+ 'COMMENT' => 'Safe Invoice: Type',
68
+ 'DEFAULT' => '')
69
+ );
70
+
71
+
72
+ $connection->addColumn($tableOrderPayment, 'payone_financing_type',
73
+ array(
74
+ 'TYPE' => Varien_Db_Ddl_Table::TYPE_TEXT,
75
+ 'LENGTH' => 3,
76
+ 'NULLABLE' => false,
77
+ 'COMMENT' => 'Financing: Type',
78
+ 'DEFAULT' => '')
79
+ );
80
+
81
+
82
+ $connection->addColumn($tableOrderPayment, 'payone_safe_invoice_type',
83
+ array(
84
+ 'TYPE' => Varien_Db_Ddl_Table::TYPE_TEXT,
85
+ 'LENGTH' => 3,
86
+ 'NULLABLE' => false,
87
+ 'COMMENT' => 'Safe Invoice: Type',
88
+ 'DEFAULT' => '')
89
+ );
90
+
91
+
92
+ $connection->addColumn($tableOrderPayment, 'payone_clearing_legalnote',
93
+ array(
94
+ 'TYPE' => Varien_Db_Ddl_Table::TYPE_TEXT,
95
+ 'LENGTH' => 500,
96
+ 'NULLABLE' => false,
97
+ 'COMMENT' => 'Legal note | Hinweistext zur Forderungsabtretung',
98
+ 'DEFAULT' => '')
99
+ );
100
+
101
+ $connection->addColumn($tableOrderPayment, 'payone_clearing_duedate',
102
+ array(
103
+ 'TYPE' => Varien_Db_Ddl_Table::TYPE_TEXT,
104
+ 'LENGTH' => 8,
105
+ 'NULLABLE' => false,
106
+ 'COMMENT' => 'Due date | Zahlungsziel | YYYYMMDD',
107
+ 'DEFAULT' => '')
108
+ );
109
+
110
+ $connection->addColumn($tableOrderPayment, 'payone_clearing_reference',
111
+ array(
112
+ 'TYPE' => Varien_Db_Ddl_Table::TYPE_TEXT,
113
+ 'LENGTH' => 50,
114
+ 'NULLABLE' => false,
115
+ 'COMMENT' => 'Reason for payment | Verwendungszweck',
116
+ 'DEFAULT' => '')
117
+ );
118
+
119
+ $connection->addColumn($tableOrderPayment, 'payone_clearing_instructionnote',
120
+ array(
121
+ 'TYPE' => Varien_Db_Ddl_Table::TYPE_TEXT,
122
+ 'LENGTH' => 200,
123
+ 'NULLABLE' => false,
124
+ 'COMMENT' => 'Help text for payment clearing | Hinweistext zur Zahlungsabwicklung',
125
+ 'DEFAULT' => '')
126
+ );
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+ $connection->addColumn($tableTransactionStatus, 'clearing_bankaccountholder',
137
+ array(
138
+ 'TYPE' => Varien_Db_Ddl_Table::TYPE_TEXT,
139
+ 'LENGTH' => 50,
140
+ 'NULLABLE' => false,
141
+ 'COMMENT' => 'Recipient Bank Accountholder',
142
+ 'DEFAULT' => '')
143
+ );
144
+
145
+ $connection->addColumn($tableTransactionStatus, 'clearing_bankcountry',
146
+ array(
147
+ 'TYPE' => Varien_Db_Ddl_Table::TYPE_TEXT,
148
+ 'LENGTH' => 2,
149
+ 'NULLABLE' => false,
150
+ 'COMMENT' => 'Recipient Bank Country',
151
+ 'DEFAULT' => '')
152
+ );
153
+ $connection->addColumn($tableTransactionStatus, 'clearing_bankaccount',
154
+ array(
155
+ 'TYPE' => Varien_Db_Ddl_Table::TYPE_TEXT,
156
+ 'LENGTH' => 14,
157
+ 'NULLABLE' => false,
158
+ 'COMMENT' => 'Recipient Bank Account',
159
+ 'DEFAULT' => '')
160
+ );
161
+ $connection->addColumn($tableTransactionStatus, 'clearing_bankcode',
162
+ array(
163
+ 'TYPE' => Varien_Db_Ddl_Table::TYPE_INTEGER,
164
+ 'LENGTH' => 11,
165
+ 'NULLABLE' => false,
166
+ 'COMMENT' => 'Recipient Bank Code',
167
+ 'DEFAULT' => 0)
168
+ );
169
+ $connection->addColumn($tableTransactionStatus, 'clearing_bankiban',
170
+ array(
171
+ 'TYPE' => Varien_Db_Ddl_Table::TYPE_TEXT,
172
+ 'LENGTH' => 50,
173
+ 'NULLABLE' => false,
174
+ 'COMMENT' => 'Recipient Bank IBAN',
175
+ 'DEFAULT' => '')
176
+ );
177
+ $connection->addColumn($tableTransactionStatus, 'clearing_bankbic',
178
+ array(
179
+ 'TYPE' => Varien_Db_Ddl_Table::TYPE_TEXT,
180
+ 'LENGTH' => 11,
181
+ 'NULLABLE' => false,
182
+ 'COMMENT' => 'Recipient Bank BIC',
183
+ 'DEFAULT' => '')
184
+ );
185
+ $connection->addColumn($tableTransactionStatus, 'clearing_bankcity',
186
+ array(
187
+ 'TYPE' => Varien_Db_Ddl_Table::TYPE_TEXT,
188
+ 'LENGTH' => 50,
189
+ 'NULLABLE' => false,
190
+ 'COMMENT' => 'Recipient Bank City',
191
+ 'DEFAULT' => '')
192
+ );
193
+
194
+ $connection->addColumn($tableTransactionStatus, 'clearing_bankname',
195
+ array(
196
+ 'TYPE' => Varien_Db_Ddl_Table::TYPE_TEXT,
197
+ 'LENGTH' => 50,
198
+ 'NULLABLE' => false,
199
+ 'COMMENT' => 'Recipient Bank Name',
200
+ 'DEFAULT' => '')
201
+ );
202
+
203
+ $connection->addColumn($tableTransactionStatus, 'clearing_legalnote',
204
+ array(
205
+ 'TYPE' => Varien_Db_Ddl_Table::TYPE_TEXT,
206
+ 'LENGTH' => 500,
207
+ 'NULLABLE' => false,
208
+ 'COMMENT' => 'Legal note | Hinweistext zur Forderungsabtretung',
209
+ 'DEFAULT' => '')
210
+ );
211
+
212
+ $connection->addColumn($tableTransactionStatus, 'clearing_duedate',
213
+ array(
214
+ 'TYPE' => Varien_Db_Ddl_Table::TYPE_TEXT,
215
+ 'LENGTH' => 8,
216
+ 'NULLABLE' => false,
217
+ 'COMMENT' => 'Due date | Zahlungsziel | YYYYMMDD',
218
+ 'DEFAULT' => '')
219
+ );
220
+
221
+ $connection->addColumn($tableTransactionStatus, 'clearing_reference',
222
+ array(
223
+ 'TYPE' => Varien_Db_Ddl_Table::TYPE_TEXT,
224
+ 'LENGTH' => 50,
225
+ 'NULLABLE' => false,
226
+ 'COMMENT' => 'Reason for payment | Verwendungszweck',
227
+ 'DEFAULT' => '')
228
+ );
229
+
230
+ $connection->addColumn($tableTransactionStatus, 'clearing_instructionnote',
231
+ array(
232
+ 'TYPE' => Varien_Db_Ddl_Table::TYPE_TEXT,
233
+ 'LENGTH' => 200,
234
+ 'NULLABLE' => false,
235
+ 'COMMENT' => 'Help text for payment clearing | Hinweistext zur Zahlungsabwicklung',
236
+ 'DEFAULT' => '')
237
+ );
238
+ }
239
+ $installer->endSetup();
app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.1.0-3.1.1.php ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ $tableConfigPaymentMethod = $this->getTable('payone_core/config_payment_method');
31
+ $tableWebsite = $this->getTable('core/website');
32
+ $tableStore = $this->getTable('core/store');
33
+
34
+
35
+ $connection = $installer->getConnection();
36
+ $time = date('Y-m-d H:i:s');
37
+
38
+ // Retrieve all default scope configs:
39
+ $selectConfigDefault = $connection->select();
40
+ $selectConfigDefault->from($tableConfigPaymentMethod, array('id', 'code'));
41
+ $selectConfigDefault->where('scope = "default"');
42
+ $defaultScopeConfigs = $selectConfigDefault->query()->fetchAll();
43
+
44
+ // Retrieve all websites:
45
+ $selectWebsites = $connection->select();
46
+ $selectWebsites->from($tableWebsite, 'website_id');
47
+ $selectWebsites->where('code != "admin"');
48
+
49
+
50
+ $websites = $selectWebsites->query()->fetchAll();
51
+ foreach ($defaultScopeConfigs as $config) {
52
+ $config_id = $config['id'];
53
+
54
+ // Check if all websites have inherited a config for the default scope config:
55
+ foreach ($websites as $website) {
56
+ $website_id = $website['website_id'];
57
+
58
+ $selectConfigChild = $connection->select();
59
+ $selectConfigChild->from($tableConfigPaymentMethod, 'id');
60
+ $selectConfigChild->where('scope = "websites"');
61
+ $selectConfigChild->where('parent_default_id = "' . $config_id . '"');
62
+ $selectConfigChild->where('scope_id = "' . $website_id . '"');
63
+
64
+ $websiteConfig = $selectConfigChild->query()->fetch();
65
+
66
+ if ($websiteConfig) {
67
+ continue;
68
+ }
69
+
70
+ // No config found, create a new one on website scope
71
+ $newConfigData = array(
72
+ 'scope' => 'websites',
73
+ 'scope_id' => $website_id,
74
+ 'code' => $config['code'],
75
+ 'parent_default_id' => $config_id,
76
+ 'created_at' => $time,
77
+ );
78
+
79
+ $connection->insert($tableConfigPaymentMethod, $newConfigData);
80
+ }
81
+ }
82
+
83
+ // Finished with default->website, now go through website scope (including the new ones) configs and add children on storeView config
84
+ foreach ($websites as $website) {
85
+ $website_id = $website['website_id'];
86
+ // Retrieve all website scope configs fore selected website:
87
+ $selectConfigWebsite = $connection->select();
88
+ $selectConfigWebsite->from($tableConfigPaymentMethod, array('id', 'code'));
89
+ $selectConfigWebsite->where('scope = "websites"');
90
+ $selectConfigWebsite->where('scope_id = "' . $website_id . '"');
91
+
92
+ $websiteScopeConfigs = $selectConfigWebsite->query()->fetchAll();
93
+
94
+
95
+ foreach ($websiteScopeConfigs as $config) {
96
+ $config_id = $config['id'];
97
+
98
+ // Retrieve all stores for this website:
99
+ $selectStores = $connection->select();
100
+ $selectStores->from($tableStore, array('store_id', 'website_id'));
101
+ $selectStores->where('website_id = "' . $website_id . '"');
102
+ $stores = $selectStores->query()->fetchAll();
103
+
104
+ foreach ($stores as $store) {
105
+ $store_id = $store['store_id'];
106
+
107
+ // Check if all stores have inherited configs
108
+ $selectConfigChild = $connection->select();
109
+ $selectConfigChild->from($tableConfigPaymentMethod, 'id');
110
+ $selectConfigChild->where('scope = "stores"');
111
+ $selectConfigChild->where('parent_websites_id = "' . $config_id . '"');
112
+ $selectConfigChild->where('scope_id = "' . $store_id . '"');
113
+
114
+ $storeViewConfig = $selectConfigChild->query()->fetch();
115
+
116
+ if ($storeViewConfig) {
117
+ continue;
118
+ }
119
+ // No config found, create a new one on storeView scope
120
+ $newConfigData = array(
121
+ 'scope' => 'stores',
122
+ 'scope_id' => $store_id,
123
+ 'code' => $config['code'],
124
+ 'parent_websites_id' => $config_id,
125
+ 'created_at' => $time,
126
+ );
127
+
128
+ $connection->insert($tableConfigPaymentMethod, $newConfigData);
129
+
130
+ }
131
+
132
+ }
133
+ }
134
+ $installer->endSetup();
app/code/community/Payone/Core/sql/payone_core_setup/upgrade-3.0.12-3.1.0.sql ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ #-----------------------------------------------------------------
3
+ #-- Alter Table sales_flat_order_payment
4
+ #-----------------------------------------------------------------
5
+
6
+ ALTER TABLE `{{sales_flat_order_payment}}`
7
+ ADD `payone_financing_type` VARCHAR(3) NOT NULL DEFAULT '' COMMENT 'Financing: Type',
8
+ ADD `payone_safe_invoice_type` VARCHAR(3) NOT NULL DEFAULT '' COMMENT 'Safe Invoice: Type',
9
+ ADD `payone_clearing_legalnote` VARCHAR(500) NOT NULL DEFAULT '' COMMENT 'Legal note | Hinweistext zur Forderungsabtretung',
10
+ ADD `payone_clearing_duedate` VARCHAR(8) NOT NULL DEFAULT '' COMMENT 'Due date | Zahlungsziel | YYYYMMDD',
11
+ ADD `payone_clearing_reference` VARCHAR(50) NOT NULL DEFAULT '' COMMENT 'Reason for payment | Verwendungszweck',
12
+ ADD `payone_clearing_instructionnote` VARCHAR(200) NOT NULL DEFAULT '' COMMENT 'Help text for payment clearing | Hinweistext zur Zahlungsabwicklung';
13
+
14
+
15
+ #-----------------------------------------------------------------
16
+ #-- Alter Table sales_flat_quote_payment
17
+ #-----------------------------------------------------------------
18
+
19
+ ALTER TABLE `{{sales_flat_quote_payment}}`
20
+ ADD `payone_financing_type` VARCHAR(3) NOT NULL DEFAULT '' COMMENT 'Financing: Type',
21
+ ADD `payone_safe_invoice_type` VARCHAR(3) NOT NULL DEFAULT '' COMMENT 'Safe Invoice: Type';
22
+
23
+
24
+ #-----------------------------------------------------------------
25
+ #-- Alter Table payone_protocol_transactionstatus, add clearing parameter columns
26
+ #-----------------------------------------------------------------
27
+
28
+ ALTER TABLE `{{payone_protocol_transactionstatus}}`
29
+ ADD `clearing_bankaccountholder` VARCHAR(50) NOT NULL DEFAULT '' COMMENT 'Recipient Bank Accountholder',
30
+ ADD `clearing_bankcountry` VARCHAR(2) NOT NULL DEFAULT '' COMMENT 'Recipient Bank Country',
31
+ ADD `clearing_bankaccount` VARCHAR(14) NOT NULL DEFAULT '' COMMENT 'Recipient Bank Account',
32
+ ADD `clearing_bankcode` INT(11) NOT NULL DEFAULT 0 COMMENT 'Recipient Bank Code',
33
+ ADD `clearing_bankiban` VARCHAR(50) NOT NULL DEFAULT '' COMMENT 'Recipient Bank IBAN',
34
+ ADD `clearing_bankbic` VARCHAR(11) NOT NULL DEFAULT '' COMMENT 'Recipient Bank BIC',
35
+ ADD `clearing_bankcity` VARCHAR(50) NOT NULL DEFAULT '' COMMENT 'Recipient Bank City',
36
+ ADD `clearing_bankname` VARCHAR(50) NOT NULL DEFAULT '' COMMENT 'Recipient Bank Name',
37
+ ADD `clearing_legalnote` VARCHAR(500) NOT NULL DEFAULT '' COMMENT 'Legal note | Hinweistext zur Forderungsabtretung',
38
+ ADD `clearing_duedate` VARCHAR(8) NOT NULL DEFAULT '' COMMENT 'Due date | Zahlungsziel | YYYYMMDD',
39
+ ADD `clearing_reference` VARCHAR(50) NOT NULL DEFAULT '' COMMENT 'Reason for payment | Verwendungszweck',
40
+ ADD `clearing_instructionnote` VARCHAR(200) NOT NULL DEFAULT '' COMMENT 'Help text for payment clearing | Hinweistext zur Zahlungsabwicklung';
app/code/community/Payone/Migrator/Model/Service/Configuration/PaymentMigrate.php CHANGED
@@ -123,40 +123,38 @@ class Payone_Migrator_Model_Service_Configuration_PaymentMigrate extends Payone_
123
  return $paymentConfigs;
124
  }
125
 
 
 
 
 
126
  protected function createPaymentConfigurationsByArray($paymentConfigs)
127
- {
128
- $methodStoreToConfig = array();
129
- foreach ($paymentConfigs as $methodCode => $paymentConfigForStore) {
130
- $globalConfig = $this->paymentCreateGlobalConfiguration($methodCode);
131
- $globalConfigId = $globalConfig->getId();
132
-
133
- // Create Store Configs
134
- foreach ($paymentConfigForStore as $storeId => $paymentConfig) {
135
- $store = Mage::app()->getStore($storeId);
136
- $websiteId = $store->getWebsiteId();
137
-
138
- // Create NEW Website Configuration if needed
139
- $websiteConfig = $this->createPaymentConfiguration(
140
- $methodCode, array('parent_default_id' => $globalConfigId), 'websites', $websiteId
141
- );
142
-
143
- $websiteConfigId = $websiteConfig->getId();
144
-
145
- // Create NEW Store Configuration
146
- $paymentConfig['parent_websites_id'] = $websiteConfigId;
147
- $storeConfig = $this->createPaymentConfiguration(
148
- $methodCode, $paymentConfig, 'stores', $storeId
149
- );
150
- $storeConfigId = $storeConfig->getId();
151
-
152
- if (!array_key_exists($methodCode, $methodStoreToConfig)) {
153
- $methodStoreToConfig[$methodCode] = array();
154
  }
155
- $methodStoreToConfig[$methodCode][$storeId] = $storeConfigId;
156
  }
 
157
  }
158
- return $methodStoreToConfig;
159
- }
160
 
161
  protected function paymentCreateGlobalConfiguration($methodCode)
162
  {
123
  return $paymentConfigs;
124
  }
125
 
126
+ /**
127
+ * @param $paymentConfigs
128
+ * @return array
129
+ */
130
  protected function createPaymentConfigurationsByArray($paymentConfigs)
131
+ {
132
+ $methodStoreToConfig = array();
133
+ foreach ($paymentConfigs as $methodCode => $paymentConfigForStore) {
134
+ $globalConfig = $this->paymentCreateGlobalConfiguration($methodCode);
135
+ // child configs on storeView and website scope are automatically created.
136
+
137
+ // Build array of configIds by methodcode/store
138
+ foreach ($paymentConfigForStore as $storeId => $paymentConfig) {
139
+ // Load correct config:
140
+ /** @var $collection Payone_Core_Model_Domain_Resource_Config_PaymentMethod_Collection */
141
+ $collection = Mage::getModel('payone_core/domain_config_paymentMethod')->getCollection();
142
+ $collection->addFieldToFilter('scope', 'stores');
143
+ $collection->addFieldToFilter('scope_id', $storeId);
144
+ $collection->addFieldToFilter('code', $methodCode);
145
+
146
+ $storeConfig = $collection->getFirstItem();
147
+
148
+ $storeConfigId = $storeConfig->getId();
149
+
150
+ if (!array_key_exists($methodCode, $methodStoreToConfig)) {
151
+ $methodStoreToConfig[$methodCode] = array();
152
+ }
153
+ $methodStoreToConfig[$methodCode][$storeId] = $storeConfigId;
 
 
 
 
154
  }
 
155
  }
156
+ return $methodStoreToConfig;
157
  }
 
 
158
 
159
  protected function paymentCreateGlobalConfiguration($methodCode)
160
  {
app/design/adminhtml/default/default/template/payone/core/payment/method/info/financing.phtml ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_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
+ /** @var $this Payone_Core_Block_Payment_Method_Info_Financing */
25
+ ?>
26
+ <?php echo $this->escapeHtml($this->getMethodTitle()) ?>
27
+ <br/>
28
+ <?php if($this->getInfo()): ?>
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())) ?>
34
+ <?php endif; ?>
35
+ <br/>
app/design/adminhtml/default/default/template/payone/core/payment/method/info/safe_invoice.phtml ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_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
+ /** @var $this Payone_Core_Block_Payment_Method_Info_SafeInvoice */
25
+ ?>
26
+ <?php echo $this->escapeHtml($this->getMethodTitle()) ?>
27
+ <br/>
28
+ <?php if($this->getInfo()): ?>
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
+ <?php endif; ?>
47
+ <br/>
app/design/adminhtml/default/default/template/payone/core/payment/method/pdf/safe_invoice.phtml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_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
+ /** @var $this Payone_Core_Block_Payment_Method_Info_SafeInvoice */
25
+ ?>
26
+ <?php
27
+ $bankAccountholder = $this->getInfo()->getData('payone_clearing_bank_accountholder');
28
+ $bankCountry = $this->getInfo()->getData('payone_clearing_bank_country');
29
+ $bankAccount = $this->getInfo()->getData('payone_clearing_bank_account');
30
+ $bankCode = $this->getInfo()->getData('payone_clearing_bank_code');
31
+ $bankIban = $this->getInfo()->getData('payone_clearing_bank_iban');
32
+ $bankBic = $this->getInfo()->getData('payone_clearing_bank_bic');
33
+ $bankCity = $this->getInfo()->getData('payone_clearing_bank_city');
34
+ $bankName = $this->getInfo()->getData('payone_clearing_bank_name');
35
+ $legalnote = $this->getInfo()->getData('payone_clearing_legalnote');
36
+ $duedate = $this->getInfo()->getData('payone_clearing_duedate');
37
+ $reference = $this->getInfo()->getData('payone_clearing_reference');
38
+ $instructionnote = $this->getInfo()->getData('payone_clearing_instructionnote');
39
+
40
+ ?>
41
+ <?php echo $this->getMethodTitle() ?>
42
+ {{pdf_row_separator}}
43
+ <?php echo Mage::helper('payone_core')->__('Accountholder: %s', $bankAccountholder) ?>
44
+ {{pdf_row_separator}}
45
+ <?php echo Mage::helper('payone_core')->__('Country: %s', $bankCountry) ?>
46
+ {{pdf_row_separator}}
47
+ <?php echo Mage::helper('payone_core')->__('Account: %s', $bankAccount) ?>
48
+ {{pdf_row_separator}}
49
+ <?php echo Mage::helper('payone_core')->__('Code: %s', $bankCode) ?>
50
+ {{pdf_row_separator}}
51
+ <?php echo Mage::helper('payone_core')->__('IBAN: %s', $bankIban) ?>
52
+ {{pdf_row_separator}}
53
+ <?php echo Mage::helper('payone_core')->__('BIC: %s', $bankBic) ?>
54
+ {{pdf_row_separator}}
55
+ <?php echo Mage::helper('payone_core')->__('City: %s', $bankCity) ?>
56
+ {{pdf_row_separator}}
57
+ <?php echo Mage::helper('payone_core')->__('Name: %s', $bankName) ?>
58
+ {{pdf_row_separator}}
59
+ <?php echo Mage::helper('payone_core')->__('Legalnote: %s', $legalnote) ?>
60
+ {{pdf_row_separator}}
61
+ <?php echo Mage::helper('payone_core')->__('Duedate: %s', $duedate) ?>
62
+ {{pdf_row_separator}}
63
+ <?php echo Mage::helper('payone_core')->__('Reference: %s', $reference) ?>
64
+ {{pdf_row_separator}}
65
+ <?php echo Mage::helper('payone_core')->__('Instructionnote: %s', $instructionnote) ?>
66
+ {{pdf_row_separator}}
app/design/adminhtml/default/default/template/payone/core/system/config/tooltip/payment/financing.phtml ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <div class="field-name">Finanzierungssart</div>
25
+ <div class="field-description">
26
+ Hier können Sie definieren welche Finanzierungsarten sie im Checkout anbieten wollen.<br>
27
+ Folge Arten werden aktuell unterstützt:<br>
28
+ <ul>
29
+ <li>Commerz Finanz</li>
30
+ </ul>
31
+ </div>
32
+ <br>
app/design/adminhtml/default/default/template/payone/core/system/config/tooltip/payment/safe_invoice.phtml ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <div class="field-name">Sichere Rechnungsart</div>
25
+ <div class="field-description">
26
+ Hier können Sie definieren welche Rechnungsarten sie im Checkout anbieten wollen.<br>
27
+ Folge Arten werden aktuell unterstützt:<br>
28
+ <ul>
29
+ <li>BillSAFE</li>
30
+ </ul>
31
+ </div>
32
+ <br>
app/design/frontend/base/default/layout/payone/core.xml CHANGED
@@ -26,6 +26,7 @@
26
  <reference name="head">
27
  <action method="addJs"><script>payone/core/client_api.js</script></action>
28
  <action method="addJs"><script>payone/core/creditcard.js</script></action>
 
29
  <action method="addJs"><script>payone/core/onlinebanktransfer.js</script></action>
30
  <action method="addJs"><script>payone/core/wallet.js</script></action>
31
  <action method="addJs" ifconfig="payone_protect/general/enabled">
26
  <reference name="head">
27
  <action method="addJs"><script>payone/core/client_api.js</script></action>
28
  <action method="addJs"><script>payone/core/creditcard.js</script></action>
29
+ <action method="addJs"><script>payone/core/financing.js</script></action>
30
  <action method="addJs"><script>payone/core/onlinebanktransfer.js</script></action>
31
  <action method="addJs"><script>payone/core/wallet.js</script></action>
32
  <action method="addJs" ifconfig="payone_protect/general/enabled">
app/design/frontend/base/default/template/payone/core/payment/method/form/financing.phtml ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ /** @var $this Payone_Core_Block_Payment_Method_Form_Financing */
25
+ $code = $this->getMethodCode();
26
+ $paymentConfigId = $this->getPaymentConfig()->getId();
27
+ ?>
28
+ <fieldset class="form-list">
29
+ <ul id="payment_form_<?php echo $code ?>" style="display:none">
30
+ <li>
31
+ <div class="input-box">
32
+ <label for="<?php echo $code; ?>_fnc_type">
33
+ <?php echo $this->__('Financing Type'); ?>&nbsp;<span class="required">*</span>
34
+ </label><br/>
35
+
36
+ <?php
37
+ $types = $this->getTypes();
38
+ if (count($types) > 1) : ?>
39
+ <select id="<?php echo $code ?>_fnc_type_select" name="<?php echo $code ?>_fnc_type_select"
40
+ onchange="payoneSwitchFinancing(this);" class="no-submit required-entry">
41
+ <option value=""><?php echo $this->__('--Please Select--') ?></option>
42
+ <?php
43
+ foreach ($types as $key => $type) :
44
+ $isChosen = $type['config_id'] == $paymentConfigId ? true : false;
45
+ $selected = $isChosen ? 'selected="selected"' : '';
46
+ if (empty($paymentConfigId) or $isChosen) {
47
+ $paymentConfigId = $type['config_id'];
48
+ $paymentType = $type['code'];
49
+ }
50
+ ?>
51
+ <option value="<?php echo $key ?>" <?php echo $selected; ?>>
52
+ <?php echo $type['name'] ?><span><?php echo $type['fee']; ?></span>
53
+ </option>
54
+ <?php endforeach; ?>
55
+ </select>
56
+ <input type="hidden" id="<?php echo $code ?>_fnc_type" name="payment[payone_financing_type]"
57
+ value="<?php echo $paymentType;?>"/>
58
+ <?php
59
+ else :
60
+ $type = array_pop($types);
61
+ $paymentConfigId = $type['config_id'];
62
+ ?>
63
+ <?php echo $type['name']; ?>&nbsp;<span><?php echo $type['fee']; ?></span>
64
+ <input type="hidden" id="<?php echo $code ?>_fnc_type" name="payment[payone_financing_type]"
65
+ value="<?php echo $type['code']; ?>"/>
66
+ <?php
67
+ endif;?>
68
+ <input type="hidden" name="payment[payone_config_payment_method_id]"
69
+ id="<?php echo $code ?>_config_id" value="<?php echo $paymentConfigId; ?>"/>
70
+ </div>
71
+ </li>
72
+ </ul>
73
+ </fieldset>
app/design/frontend/base/default/template/payone/core/payment/method/form/invoice.phtml CHANGED
@@ -21,7 +21,7 @@
21
  * @link http://www.noovias.com
22
  */
23
 
24
- /** @var $this Payone_Core_Block_Payment_Method_Form_CashOnDelivery */
25
  $code = $this->getMethodCode();
26
  $paymentConfigId = $this->getPaymentConfig()->getId();
27
  ?>
21
  * @link http://www.noovias.com
22
  */
23
 
24
+ /** @var $this Payone_Core_Block_Payment_Method_Form_Invoice */
25
  $code = $this->getMethodCode();
26
  $paymentConfigId = $this->getPaymentConfig()->getId();
27
  ?>
app/design/frontend/base/default/template/payone/core/payment/method/form/safe_invoice.phtml ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ /** @var $this Payone_Core_Block_Payment_Method_Form_SafeInvoice */
25
+ $code = $this->getMethodCode();
26
+ $paymentConfigId = $this->getPaymentConfig()->getId();
27
+ ?>
28
+ <fieldset class="form-list">
29
+ <ul id="payment_form_<?php echo $code ?>" style="display:none">
30
+ <li>
31
+ <div class="input-box">
32
+ <label for="<?php echo $code; ?>_sin_type">
33
+ <?php echo $this->__('Safe Invoice Type'); ?>&nbsp;<span class="required">*</span>
34
+ </label><br/>
35
+
36
+ <?php
37
+ $types = $this->getTypes();
38
+ if (count($types) > 1) : ?>
39
+ <select id="<?php echo $code ?>_sin_type_select" name="<?php echo $code ?>_sin_type_select"
40
+ onchange="payoneSwitchSafeInvoice(this);" class="no-submit required-entry">
41
+ <option value=""><?php echo $this->__('--Please Select--') ?></option>
42
+ <?php
43
+ foreach ($types as $key => $type) :
44
+ $isChosen = $type['config_id'] == $paymentConfigId ? true : false;
45
+ $selected = $isChosen ? 'selected="selected"' : '';
46
+ if (empty($paymentConfigId) or $isChosen) {
47
+ $paymentConfigId = $type['config_id'];
48
+ $paymentType = $type['code'];
49
+ }
50
+ ?>
51
+ <option value="<?php echo $key ?>" <?php echo $selected; ?>>
52
+ <?php echo $type['name'] ?><span><?php echo $type['fee']; ?></span>
53
+ </option>
54
+ <?php endforeach; ?>
55
+ </select>
56
+ <input type="hidden" id="<?php echo $code ?>_sin_type" name="payment[payone_safe_invoice_type]"
57
+ value="<?php echo $paymentType;?>"/>
58
+ <?php
59
+ else :
60
+ $type = array_pop($types);
61
+ $paymentConfigId = $type['config_id'];
62
+ ?>
63
+ <?php echo $type['name']; ?>&nbsp;<span><?php echo $type['fee']; ?></span>
64
+ <input type="hidden" id="<?php echo $code ?>_sin_type" name="payment[payone_safe_invoice_type]"
65
+ value="<?php echo $type['code']; ?>"/>
66
+ <?php
67
+ endif;?>
68
+ <input type="hidden" name="payment[payone_config_payment_method_id]"
69
+ id="<?php echo $code ?>_config_id" value="<?php echo $paymentConfigId; ?>"/>
70
+ </div>
71
+ </li>
72
+ </ul>
73
+ </fieldset>
app/design/frontend/base/default/template/payone/core/payment/method/info/financing.phtml ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ /** @var $this Payone_Core_Block_Payment_Method_Info_Financing */
25
+ ?>
26
+ <?php echo $this->escapeHtml($this->getMethodTitle()) ?>
27
+ <br/>
28
+ <?php if($this->getInfo()): ?>
29
+ <?php echo $this->__('Financing Type: %s', $this->escapeHtml($this->getFinancingType())) ?><br/>
30
+ <?php endif; ?>
31
+ <?php if ($this->getLastTransId() == ''): ?>
32
+ <?php echo $this->__('Payment has not been processed yet.') ?>
33
+ <?php else: ?>
34
+ <?php echo $this->__('Payone Transaction ID: %s', $this->escapeHtml($this->getLastTransId())) ?>
35
+ <?php endif; ?>
36
+ <br/>
app/design/frontend/base/default/template/payone/core/payment/method/info/safe_invoice.phtml ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ /** @var $this Payone_Core_Block_Payment_Method_Info_SafeInvoice */
25
+ ?>
26
+ <?php echo $this->escapeHtml($this->getMethodTitle()) ?>
27
+ <br/>
28
+ <?php if($this->getInfo()): ?>
29
+ <?php echo $this->__('Safe Invoice Type: %s', $this->escapeHtml($this->getSafeInvoiceType())) ?><br/>
30
+ <?php endif; ?>
31
+ <?php if ($this->getLastTransId() == ''): ?>
32
+ <?php echo $this->__('Payment has not been processed yet.') ?>
33
+ <?php else: ?>
34
+ <?php echo $this->__('Payone Transaction ID: %s', $this->escapeHtml($this->getLastTransId())) ?>
35
+ <?php endif; ?>
36
+ <br/>
app/locale/de_DE/Payone_Core.csv CHANGED
@@ -58,6 +58,12 @@
58
  "New Wallet","Wallet"
59
  "Add Wallet","Wallet hinzufügen"
60
  "Edit Wallet","Wallet bearbeiten"
 
 
 
 
 
 
61
  "Type","Art"
62
  "Scope","Geltungsbereich"
63
  "Countries","Länder"
@@ -74,10 +80,15 @@
74
  "PaymentMethod-Config does not exist.","Zahlart-Konfiguration existiert nicht."
75
  "PaymentMethod Config was successfully deleted.","Zahlart-Konfiguration erfolgreich gelöscht."
76
  "Wallet-Type","Walletart"
 
 
 
77
 
78
  "Creditcard","Kreditkarte"
79
  "Invoice","Rechnung"
 
80
  "Debit Payment","Lastschrift"
 
81
  "Advance Payment","Vorkasse"
82
  "Online Bank Transfer","Onlineüberweisung"
83
  "Cash on Delivery","Nachnahme"
@@ -133,6 +144,11 @@
133
  "Placeholder: {{payone_customermessage}} (Message from Payone-Addresscheck","Platzhalter: {{payone_customermessage}} (Nachricht aus Payone-Addressprüfung) "
134
  "Action in case Creditrating check responds with ERROR","Aktion für Bonitätsprüfungs-Ergebnis 'ERROR'"
135
 
 
 
 
 
 
136
  "Stop Checkout", "Bestellprozess abbrechen"
137
  "Continue Checkout", "Bestellprozess fortführen"
138
  "Validate bank code","Prüfe Bankverbindung"
@@ -143,6 +159,7 @@
143
  "Miscellaneous","Sonstiges"
144
  "Transaction-Status Processing","Verarbeitung des Transaktionsstatus"
145
  "Transaction-Status Forwarding","Weiterleitung des Transaktionsstatus"
 
146
  "Valid PAYONE IPs","Gültige PAYONE IPs"
147
  "Enter valid PAYONE IPs (Format xxx.xxx.xxx.xxx). As a Wildcard You can use * ","Tragen Sie hier gültige PAYONE IPs ein (Format xxx.xxx.xxx.xxx). Als Wildcard können Sie * verwenden"
148
  "Proxy-Mode","Proxy-Modus"
@@ -153,6 +170,7 @@
153
  "Invoicing Data - Shipping Costs","Rechnungsinformation - Versandkosten"
154
  "Invoicing Data - Discount","Rechnungsinformation - Rabatt"
155
  "Discount","Rabatt"
 
156
  "SKU","Artikelnummer"
157
  "Shipping","Versand"
158
  "Creditmemo","Gutschrift"
@@ -282,6 +300,11 @@
282
  "IBAN: %s","IBAN: %s"
283
  "BIC: %s","BIC: %s"
284
  "Bank: %s","Bank: %s"
 
 
 
 
 
285
  "Payment reference: %s","Zahlungsreferenz: %s"
286
 
287
  "Name on the Card: %s","Kreditkarteninhaber: %s"
@@ -361,6 +384,8 @@
361
  "DISCOVER","Discover"
362
  "CARTE_BLEUE","Carte Bleue"
363
 
 
 
364
  "INFOSCORE_HARD","Infoscore (Harte Merkmale)"
365
  "INFOSCORE_ALL","Infoscore (Alle Merkmale)"
366
  "INFOSCORE_ALL_BONI","Infoscore (Alle Merkmale + Boniscore)"
58
  "New Wallet","Wallet"
59
  "Add Wallet","Wallet hinzufügen"
60
  "Edit Wallet","Wallet bearbeiten"
61
+ "New Financing","Finanzierung"
62
+ "Add Financing","Finanzierung hinzufügen"
63
+ "Edit Financing","Finanzierung bearbeiten"
64
+ "New Safe Invoice","Sicherer Rechnungskauf"
65
+ "Add Safe Invoice","Sicheren Rechnungskauf hinzufügen"
66
+ "Edit Safe Invoice","Sicheren Rechnungskauf bearbeiten"
67
  "Type","Art"
68
  "Scope","Geltungsbereich"
69
  "Countries","Länder"
80
  "PaymentMethod-Config does not exist.","Zahlart-Konfiguration existiert nicht."
81
  "PaymentMethod Config was successfully deleted.","Zahlart-Konfiguration erfolgreich gelöscht."
82
  "Wallet-Type","Walletart"
83
+ "Wallet Type","Walletart"
84
+ "Financing Type", "Finanzierungs-Art"
85
+ "Safe Invoice Type", "Sicherer Rechnungskauf: Typ"
86
 
87
  "Creditcard","Kreditkarte"
88
  "Invoice","Rechnung"
89
+ "Safe Invoice","Sicherer Rechnungskauf"
90
  "Debit Payment","Lastschrift"
91
+ "Financing","Finanzierung"
92
  "Advance Payment","Vorkasse"
93
  "Online Bank Transfer","Onlineüberweisung"
94
  "Cash on Delivery","Nachnahme"
144
  "Placeholder: {{payone_customermessage}} (Message from Payone-Addresscheck","Platzhalter: {{payone_customermessage}} (Nachricht aus Payone-Addressprüfung) "
145
  "Action in case Creditrating check responds with ERROR","Aktion für Bonitätsprüfungs-Ergebnis 'ERROR'"
146
 
147
+ "Please note that for Commerz Finanz only the mode ""preauthorization"" is available. Even if ""authorization"" is configured, a preauthorization is used in background. Afterwards payments must be captured. (CAPTURE)", "Beachten Sie, dass bei Commerz Finanz nur eine Vorautorisierung möglich ist. Auch wenn Autorisierung ausgewählt ist, wird im Hintergrund eine Vorautorisierung durchführt. Im Anschluss müssen die Zahlungen für Commerz Finanz eingezogen werden (CAPTURE)"
148
+ "Please note that for Commerz Finanz only the mode ""preauthorization"" is available. Afterwards payments must be captured. (CAPTURE)", "Beachten Sie, dass bei Commerz Finanz nur eine Vorautorisierung möglich ist. Im Anschluss müssen die Zahlungen für Commerz Finanz eingezogen werden (CAPTURE)"
149
+ "Please note that for Commerz Finanz the minimum transaction amount is EUR100.00.","Beachten Sie, dass bei der maximale Transaktionsbetrag bei Commerz Finanz 5000,00 Euro beträgt."
150
+ "Please note that for Commerz Finanz the maximum transaction amount is EUR5000.00.","Beachten Sie, dass bei der minimale Transaktionsbetrag bei Commerz Finanz 100,00 Euro beträgt."
151
+
152
  "Stop Checkout", "Bestellprozess abbrechen"
153
  "Continue Checkout", "Bestellprozess fortführen"
154
  "Validate bank code","Prüfe Bankverbindung"
159
  "Miscellaneous","Sonstiges"
160
  "Transaction-Status Processing","Verarbeitung des Transaktionsstatus"
161
  "Transaction-Status Forwarding","Weiterleitung des Transaktionsstatus"
162
+ "payone_core_cronjob_transactionstatus_process", "Payone: Verarbeitung von Transaktions-Status"
163
  "Valid PAYONE IPs","Gültige PAYONE IPs"
164
  "Enter valid PAYONE IPs (Format xxx.xxx.xxx.xxx). As a Wildcard You can use * ","Tragen Sie hier gültige PAYONE IPs ein (Format xxx.xxx.xxx.xxx). Als Wildcard können Sie * verwenden"
165
  "Proxy-Mode","Proxy-Modus"
170
  "Invoicing Data - Shipping Costs","Rechnungsinformation - Versandkosten"
171
  "Invoicing Data - Discount","Rechnungsinformation - Rabatt"
172
  "Discount","Rabatt"
173
+ "Invoicing Data - Discount","Rechnungsinformation - Rabatt"
174
  "SKU","Artikelnummer"
175
  "Shipping","Versand"
176
  "Creditmemo","Gutschrift"
300
  "IBAN: %s","IBAN: %s"
301
  "BIC: %s","BIC: %s"
302
  "Bank: %s","Bank: %s"
303
+ "Country: %s","Land: %s"
304
+ "City: %s","Stadt: %s"
305
+ "Legal note: %s","Hinweis zur Forderungsabtretung: %s"
306
+ "Instruction note: %s","Hinweis zur Zahlungsabwicklung: %s"
307
+ "Due date: %s","Fälligkeits-Datum: %s"
308
  "Payment reference: %s","Zahlungsreferenz: %s"
309
 
310
  "Name on the Card: %s","Kreditkarteninhaber: %s"
384
  "DISCOVER","Discover"
385
  "CARTE_BLEUE","Carte Bleue"
386
 
387
+ "CFR","Commerz Finanz"
388
+ "BSV","BillSAFE"
389
  "INFOSCORE_HARD","Infoscore (Harte Merkmale)"
390
  "INFOSCORE_ALL","Infoscore (Alle Merkmale)"
391
  "INFOSCORE_ALL_BONI","Infoscore (Alle Merkmale + Boniscore)"
app/locale/en_US/Payone_Core.csv CHANGED
@@ -15,4 +15,7 @@
15
  "EPS", "EPS Österreich"
16
  "PFF", "PostFinance E-Finance Schweiz"
17
  "PFC", "PostFinance Card Schweiz"
18
- "IDL", "IDEAL"
 
 
 
15
  "EPS", "EPS Österreich"
16
  "PFF", "PostFinance E-Finance Schweiz"
17
  "PFC", "PostFinance Card Schweiz"
18
+ "IDL", "IDEAL"
19
+
20
+ "CFR","Commerz Finanz"
21
+ "BSV","BillSAFE"
js/payone/core/financing.js ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ *
3
+ * NOTICE OF LICENSE
4
+ *
5
+ * This source file is subject to the GNU General Public License (GPL 3)
6
+ * that is bundled with this package in the file LICENSE.txt
7
+ *
8
+ * DISCLAIMER
9
+ *
10
+ * Do not edit or add to this file if you wish to upgrade Payone_Core to newer
11
+ * versions in the future. If you wish to customize Payone_Core for your
12
+ * needs please refer to http://www.payone.de for more information.
13
+ *
14
+ * @category Payone
15
+ * @package js
16
+ * @subpackage payone
17
+ * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
18
+ * @author Matthias Walter <info@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
+ * @param element
25
+ */
26
+ function payoneSwitchFinancing(element)
27
+ {
28
+ var ElementValue = element.value;
29
+ var ElementValueSplit = ElementValue.split('_');
30
+ var typeId = ElementValueSplit[0];
31
+ var typeCode = ElementValueSplit[1];
32
+ $("payone_financing_fnc_type").setValue(typeCode);
33
+ $("payone_financing_config_id").setValue(typeId);
34
+ }
js/payone/core/safe_invoice.js ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ *
3
+ * NOTICE OF LICENSE
4
+ *
5
+ * This source file is subject to the GNU General Public License (GPL 3)
6
+ * that is bundled with this package in the file LICENSE.txt
7
+ *
8
+ * DISCLAIMER
9
+ *
10
+ * Do not edit or add to this file if you wish to upgrade Payone_Core to newer
11
+ * versions in the future. If you wish to customize Payone_Core for your
12
+ * needs please refer to http://www.payone.de for more information.
13
+ *
14
+ * @category Payone
15
+ * @package js
16
+ * @subpackage payone
17
+ * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
18
+ * @author Matthias Walter <info@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
+ * @param element
25
+ */
26
+ function payoneSwitchSafeInvoice(element)
27
+ {
28
+ var ElementValue = element.value;
29
+ var ElementValueSplit = ElementValue.split('_');
30
+ var typeId = ElementValueSplit[0];
31
+ var typeCode = ElementValueSplit[1];
32
+ $("payone_financing_sin_type").setValue(typeCode);
33
+ $("payone_financing_config_id").setValue(typeId);
34
+ }
lib/Payone/Api/Enum/CaptureMode.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the GNU General Public License (GPL 3)
8
+ * that is bundled with this package in the file LICENSE.txt
9
+ *
10
+ * DISCLAIMER
11
+ *
12
+ * Do not edit or add to this file if you wish to upgrade Payone to newer
13
+ * versions in the future. If you wish to customize Payone for your
14
+ * needs please refer to http://www.payone.de for more information.
15
+ *
16
+ * @category Payone
17
+ * @package Payone_Enum
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_Enum
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
+ class Payone_Api_Enum_CaptureMode
33
+ {
34
+ const COMPLETED = 'completed';
35
+ const NOTCOMPLETED = 'notcompleted';
36
+ }
lib/Payone/Api/Enum/FinancingType.php ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 to newer
12
+ * versions in the future. If you wish to customize Payone for your
13
+ * needs please refer to http://www.payone.de for more information.
14
+ *
15
+ * @category Payone
16
+ * @package Payone_Api
17
+ * @subpackage Enum
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_Api
28
+ * @subpackage Enum
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_Api_Enum_FinancingType
34
+ {
35
+ const BSV = 'BSV'; // BILLSAFE
36
+ const CFR = 'CFR'; // COMMERZ FINANZ
37
+ }
lib/Payone/Api/Enum/InvoicingItemType.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the GNU General Public License (GPL 3)
8
+ * that is bundled with this package in the file LICENSE.txt
9
+ *
10
+ * DISCLAIMER
11
+ *
12
+ * Do not edit or add to this file if you wish to upgrade Payone to newer
13
+ * versions in the future. If you wish to customize Payone for your
14
+ * needs please refer to http://www.payone.de for more information.
15
+ *
16
+ * @category Payone
17
+ * @package Payone_Enum
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_Enum
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
+ class Payone_Api_Enum_InvoicingItemType
33
+ {
34
+ const GOODS = 'goods';
35
+ const SHIPMENT = 'shipment';
36
+ const HANDLING = 'handling';
37
+ const VOUCHER = 'voucher';
38
+ }
lib/Payone/Api/Factory.php CHANGED
@@ -53,7 +53,7 @@ class Payone_Api_Factory
53
  else {
54
  $adapter = new Payone_Api_Adapter_Http_Socket();
55
  }
56
- $adapter->setUrl('https://api.pay1.de/post-gateway/'); // @todo hs: Make this configurable
57
  return $adapter;
58
  }
59
 
53
  else {
54
  $adapter = new Payone_Api_Adapter_Http_Socket();
55
  }
56
+ $adapter->setUrl('https://api.pay1.de/post-gateway/');
57
  return $adapter;
58
  }
59
 
lib/Payone/Api/Request/Parameter/Authorization/PaymentMethod/Financing.php ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 to newer
12
+ * versions in the future. If you wish to customize Payone for your
13
+ * needs please refer to http://www.payone.de for more information.
14
+ *
15
+ * @category Payone
16
+ * @package Payone_Api
17
+ * @subpackage Request
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_Api
28
+ * @subpackage Request
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_Api_Request_Parameter_Authorization_PaymentMethod_Financing
34
+ extends Payone_Api_Request_Parameter_Authorization_PaymentMethod_Abstract
35
+ {
36
+ /**
37
+ * Enum FinancingType
38
+ * @var string
39
+ */
40
+ protected $financingtype = NULL;
41
+
42
+ /**
43
+ * @var string
44
+ */
45
+ protected $successurl = NULL;
46
+ /**
47
+ * @var string
48
+ */
49
+ protected $errorurl = NULL;
50
+ /**
51
+ * @var string
52
+ */
53
+ protected $backurl = NULL;
54
+
55
+ /**
56
+ * @param string $financingtype
57
+ */
58
+ public function setFinancingtype($financingtype)
59
+ {
60
+ $this->financingtype = $financingtype;
61
+ }
62
+
63
+ /**
64
+ * @return string
65
+ */
66
+ public function getFinancingtype()
67
+ {
68
+ return $this->financingtype;
69
+ }
70
+
71
+ /**
72
+ * @param string $backurl
73
+ */
74
+ public function setBackurl($backurl)
75
+ {
76
+ $this->backurl = $backurl;
77
+ }
78
+
79
+ /**
80
+ * @return string
81
+ */
82
+ public function getBackurl()
83
+ {
84
+ return $this->backurl;
85
+ }
86
+
87
+ /**
88
+ * @param string $errorurl
89
+ */
90
+ public function setErrorurl($errorurl)
91
+ {
92
+ $this->errorurl = $errorurl;
93
+ }
94
+
95
+ /**
96
+ * @return string
97
+ */
98
+ public function getErrorurl()
99
+ {
100
+ return $this->errorurl;
101
+ }
102
+
103
+ /**
104
+ * @param string $successurl
105
+ */
106
+ public function setSuccessurl($successurl)
107
+ {
108
+ $this->successurl = $successurl;
109
+ }
110
+
111
+ /**
112
+ * @return string
113
+ */
114
+ public function getSuccessurl()
115
+ {
116
+ return $this->successurl;
117
+ }
118
+
119
+ }
lib/Payone/Api/Request/Parameter/Capture/Invoicing/Transaction.php ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 to newer
12
+ * versions in the future. If you wish to customize Payone for your
13
+ * needs please refer to http://www.payone.de for more information.
14
+ *
15
+ * @category Payone
16
+ * @package Payone_Api
17
+ * @subpackage Request
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_Api
28
+ * @subpackage Request
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_Api_Request_Parameter_Capture_Invoicing_Transaction
34
+ extends Payone_Api_Request_Parameter_Invoicing_Transaction
35
+ {
36
+ protected $capturemode = null;
37
+
38
+ public function setCapturemode($capturemode)
39
+ {
40
+ $this->capturemode = $capturemode;
41
+ }
42
+
43
+ public function getCapturemode()
44
+ {
45
+ return $this->capturemode;
46
+ }
47
+ }
lib/Payone/Api/Request/Parameter/Invoicing/Item.php CHANGED
@@ -49,6 +49,12 @@ class Payone_Api_Request_Parameter_Invoicing_Item
49
  * @var string
50
  */
51
  protected $de = NULL;
 
 
 
 
 
 
52
  /**
53
  * @var int
54
  */
@@ -77,6 +83,7 @@ class Payone_Api_Request_Parameter_Invoicing_Item
77
  $data['pr[' . $key . ']'] = $this->getPr();
78
  $data['no[' . $key . ']'] = $this->getNo();
79
  $data['de[' . $key . ']'] = $this->getDe();
 
80
  $data['va[' . $key . ']'] = $this->getVa();
81
  $data['sd[' . $key . ']'] = $this->getSd();
82
  $data['ed[' . $key . ']'] = $this->getEd();
@@ -194,4 +201,20 @@ class Payone_Api_Request_Parameter_Invoicing_Item
194
  {
195
  return $this->va;
196
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
197
  }
49
  * @var string
50
  */
51
  protected $de = NULL;
52
+
53
+ /**
54
+ * Artikeltyp (Enum)
55
+ * @var string */
56
+ protected $it = NULL;
57
+
58
  /**
59
  * @var int
60
  */
83
  $data['pr[' . $key . ']'] = $this->getPr();
84
  $data['no[' . $key . ']'] = $this->getNo();
85
  $data['de[' . $key . ']'] = $this->getDe();
86
+ $data['it[' . $key . ']'] = $this->getIt();
87
  $data['va[' . $key . ']'] = $this->getVa();
88
  $data['sd[' . $key . ']'] = $this->getSd();
89
  $data['ed[' . $key . ']'] = $this->getEd();
201
  {
202
  return $this->va;
203
  }
204
+
205
+ /**
206
+ * @param string $it
207
+ */
208
+ public function setIt($it)
209
+ {
210
+ $this->it = $it;
211
+ }
212
+
213
+ /**
214
+ * @return string
215
+ */
216
+ public function getIt()
217
+ {
218
+ return $this->it;
219
+ }
220
  }
lib/Payone/Api/Request/Parameter/Invoicing/Transaction.php CHANGED
@@ -54,8 +54,11 @@ class Payone_Api_Request_Parameter_Invoicing_Transaction
54
  */
55
  protected $invoiceappendix = NULL;
56
 
 
 
 
57
  /**
58
- * @var Payone_Api_Request_Parameter_Invoicing_Item[|
59
  */
60
  protected $items = array();
61
 
@@ -94,7 +97,7 @@ class Payone_Api_Request_Parameter_Invoicing_Transaction
94
  }
95
 
96
  /**
97
- * @param Payone_Api_Request_Parameter_Invoicing_Item $items
98
  */
99
  public function setItems($items)
100
  {
@@ -102,7 +105,7 @@ class Payone_Api_Request_Parameter_Invoicing_Transaction
102
  }
103
 
104
  /**
105
- * @return Payone_Api_Request_Parameter_Invoicing_Item
106
  */
107
  public function getItems()
108
  {
54
  */
55
  protected $invoiceappendix = NULL;
56
 
57
+
58
+
59
+
60
  /**
61
+ * @var Payone_Api_Request_Parameter_Invoicing_Item[]
62
  */
63
  protected $items = array();
64
 
97
  }
98
 
99
  /**
100
+ * @param Payone_Api_Request_Parameter_Invoicing_Item[] $items
101
  */
102
  public function setItems($items)
103
  {
105
  }
106
 
107
  /**
108
+ * @return Payone_Api_Request_Parameter_Invoicing_Item[]
109
  */
110
  public function getItems()
111
  {
lib/Payone/Api/Response/Authorization/Abstract.php CHANGED
@@ -30,7 +30,8 @@
30
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
  * @link http://www.noovias.com
32
  */
33
- abstract class Payone_Api_Response_Authorization_Abstract extends Payone_Api_Response_Abstract
 
34
  {
35
  /**
36
  * @var int
@@ -77,6 +78,8 @@ abstract class Payone_Api_Response_Authorization_Abstract extends Payone_Api_Res
77
  */
78
  protected $clearing_bankname = NULL;
79
 
 
 
80
  /**
81
  * @param string $clearing_bankaccount
82
  */
30
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
  * @link http://www.noovias.com
32
  */
33
+ abstract class Payone_Api_Response_Authorization_Abstract
34
+ extends Payone_Api_Response_Abstract
35
  {
36
  /**
37
  * @var int
78
  */
79
  protected $clearing_bankname = NULL;
80
 
81
+
82
+
83
  /**
84
  * @param string $clearing_bankaccount
85
  */
lib/Payone/Api/Response/Capture/Approved.php CHANGED
@@ -73,6 +73,20 @@ class Payone_Api_Response_Capture_Approved extends Payone_Api_Response_Abstract
73
  */
74
  protected $clearing_bankname = NULL;
75
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  /**
77
  * @param string $clearing_bankaccount
78
  */
@@ -232,4 +246,68 @@ class Payone_Api_Response_Capture_Approved extends Payone_Api_Response_Abstract
232
  {
233
  return $this->txid;
234
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
235
  }
73
  */
74
  protected $clearing_bankname = NULL;
75
 
76
+ /** @var string */
77
+ protected $clearing_legalnote = NULL;
78
+
79
+ /**
80
+ * (YYYYMMDD)
81
+ * @var string
82
+ */
83
+ protected $clearing_duedate = NULL;
84
+
85
+ /** @var string */
86
+ protected $clearing_reference = NULL;
87
+
88
+ /** @var string */
89
+ protected $clearing_instructionnote = NULL;
90
  /**
91
  * @param string $clearing_bankaccount
92
  */
246
  {
247
  return $this->txid;
248
  }
249
+
250
+ /**
251
+ * @param string $clearing_duedate
252
+ */
253
+ public function setClearingDuedate($clearing_duedate)
254
+ {
255
+ $this->clearing_duedate = $clearing_duedate;
256
+ }
257
+
258
+ /**
259
+ * @return string
260
+ */
261
+ public function getClearingDuedate()
262
+ {
263
+ return $this->clearing_duedate;
264
+ }
265
+
266
+ /**
267
+ * @param string $clearing_instructionnote
268
+ */
269
+ public function setClearingInstructionnote($clearing_instructionnote)
270
+ {
271
+ $this->clearing_instructionnote = $clearing_instructionnote;
272
+ }
273
+
274
+ /**
275
+ * @return string
276
+ */
277
+ public function getClearingInstructionnote()
278
+ {
279
+ return $this->clearing_instructionnote;
280
+ }
281
+
282
+ /**
283
+ * @param string $clearing_legalnote
284
+ */
285
+ public function setClearingLegalnote($clearing_legalnote)
286
+ {
287
+ $this->clearing_legalnote = $clearing_legalnote;
288
+ }
289
+
290
+ /**
291
+ * @return string
292
+ */
293
+ public function getClearingLegalnote()
294
+ {
295
+ return $this->clearing_legalnote;
296
+ }
297
+
298
+ /**
299
+ * @param string $clearing_reference
300
+ */
301
+ public function setClearingReference($clearing_reference)
302
+ {
303
+ $this->clearing_reference = $clearing_reference;
304
+ }
305
+
306
+ /**
307
+ * @return string
308
+ */
309
+ public function getClearingReference()
310
+ {
311
+ return $this->clearing_reference;
312
+ }
313
  }
lib/Payone/Enum/ClearingType.php CHANGED
@@ -37,4 +37,5 @@ class Payone_Enum_ClearingType
37
  const ONLINEBANKTRANSFER = 'sb';
38
  const CASHONDELIVERY = 'cod';
39
  const WALLET = 'wlt';
 
40
  }
37
  const ONLINEBANKTRANSFER = 'sb';
38
  const CASHONDELIVERY = 'cod';
39
  const WALLET = 'wlt';
40
+ const FINANCING = 'fnc';
41
  }
lib/Payone/Log4php/LoggerPatternConverterSuperglobal.php CHANGED
@@ -54,14 +54,14 @@ abstract class Payone_Log4php_LoggerPatternConverterSuperglobal extends Payone_L
54
  * accessed when their name is stored in a variable, e.g.:
55
  *
56
  * $name = '_SERVER';
57
- * $array = $name;
58
  *
59
  * This code does not work when run from within a method (only when run
60
  * in global scope). But the following code does work:
61
  *
62
  * $name = '_SERVER';
63
- * global $name;
64
- * $array = $name;
65
  *
66
  * That's why global is used here.
67
  */
54
  * accessed when their name is stored in a variable, e.g.:
55
  *
56
  * $name = '_SERVER';
57
+ * $array = $$name;
58
  *
59
  * This code does not work when run from within a method (only when run
60
  * in global scope). But the following code does work:
61
  *
62
  * $name = '_SERVER';
63
+ * global $$name;
64
+ * $array = $$name;
65
  *
66
  * That's why global is used here.
67
  */
lib/Payone/Settings/Configuration/PaymentMethod/Financing.php ADDED
@@ -0,0 +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 to newer
12
+ * versions in the future. If you wish to customize Payone for your
13
+ * needs please refer to http://www.payone.de for more information.
14
+ *
15
+ * @category Payone
16
+ * @package Payone_Settings
17
+ * @subpackage Configuration
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_Settings
28
+ * @subpackage Configuration
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_Settings_Configuration_PaymentMethod_Financing
34
+ extends Payone_Settings_Configuration_Abstract
35
+ {
36
+ /**
37
+ * @return array
38
+ */
39
+ public function getTypes()
40
+ {
41
+ $constants = $this->getClassConstants('Payone_Api_Enum_FinancingType');
42
+
43
+ $constants = array_flip($constants);
44
+
45
+ return $constants;
46
+ }
47
+
48
+ }
lib/Payone/Settings/Data/ConfigFile/PaymentMethod/Financing.php ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 to newer
12
+ * versions in the future. If you wish to customize Payone for your
13
+ * needs please refer to http://www.payone.de for more information.
14
+ *
15
+ * @category Payone
16
+ * @package Payone_Settings
17
+ * @subpackage Data
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_Settings
28
+ * @subpackage Data
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_Settings_Data_ConfigFile_PaymentMethod_Financing
34
+ extends Payone_Settings_Data_ConfigFile_PaymentMethod_Abstract
35
+ implements Payone_Settings_Data_ConfigFile_Interface
36
+ {
37
+ /** @var string */
38
+ protected $key = Payone_Enum_ClearingType::FINANCING;
39
+
40
+ /** @var string */
41
+ protected $financingType = '';
42
+
43
+
44
+ /**
45
+ * @return string
46
+ */
47
+ public function getClearingType()
48
+ {
49
+ return $this->key;
50
+ }
51
+
52
+ /**
53
+ * @return string
54
+ */
55
+ public function getKey()
56
+ {
57
+ return $this->key;
58
+ }
59
+
60
+ /**
61
+ * @param string $financingType
62
+ */
63
+ public function setFinancingType($financingType)
64
+ {
65
+ $this->financingType = $financingType;
66
+ }
67
+
68
+ /**
69
+ * @return string
70
+ */
71
+ public function getFinancingType()
72
+ {
73
+ return $this->financingType;
74
+ }
75
+
76
+ }
lib/Payone/Settings/Service/XmlGenerate.php CHANGED
@@ -86,8 +86,8 @@ class Payone_Settings_Service_XmlGenerate
86
  }
87
 
88
  /**
89
- * @param string $name tag name
90
- * @param array $array data
91
  * @param null|SimpleXMLElement $root IF not set, $name will form the root element
92
  * @return SimpleXMLElement
93
  */
@@ -189,18 +189,22 @@ class Payone_Settings_Service_XmlGenerate
189
  $clearingTypesXml = $this->appendElement($shopXml, $clearingTypes->getKey());
190
 
191
  foreach ($clearingTypes->getClearingtypes() as $keyClearingType => $valueClearingType) {
192
- $cleatringTypeNode = $this->appendElement($clearingTypesXml, $valueClearingType->getKey());
193
-
194
- $this->addChild($cleatringTypeNode, $valueClearingType, 'title', true);
195
- $this->addChild($cleatringTypeNode, $valueClearingType, 'id');
196
- $this->addChild($cleatringTypeNode, $valueClearingType, 'mid');
197
- $this->addChild($cleatringTypeNode, $valueClearingType, 'aid');
198
- $this->addChild($cleatringTypeNode, $valueClearingType, 'portalid');
199
- $this->addFeeConfig($cleatringTypeNode, $valueClearingType);
200
- $this->addChild($cleatringTypeNode, $valueClearingType, 'min_order_total');
201
- $this->addChild($cleatringTypeNode, $valueClearingType, 'max_order_total');
202
-
203
- $this->addTypesOrGlobalInfo($cleatringTypeNode, $valueClearingType);
 
 
 
 
204
 
205
  }
206
 
86
  }
87
 
88
  /**
89
+ * @param string $name tag name
90
+ * @param array $array data
91
  * @param null|SimpleXMLElement $root IF not set, $name will form the root element
92
  * @return SimpleXMLElement
93
  */
189
  $clearingTypesXml = $this->appendElement($shopXml, $clearingTypes->getKey());
190
 
191
  foreach ($clearingTypes->getClearingtypes() as $keyClearingType => $valueClearingType) {
192
+ $clearingTypeNode = $this->appendElement($clearingTypesXml, $valueClearingType->getKey());
193
+
194
+ $this->addChild($clearingTypeNode, $valueClearingType, 'title', true);
195
+ $this->addChild($clearingTypeNode, $valueClearingType, 'id');
196
+ $this->addChild($clearingTypeNode, $valueClearingType, 'mid');
197
+ $this->addChild($clearingTypeNode, $valueClearingType, 'aid');
198
+ $this->addChild($clearingTypeNode, $valueClearingType, 'portalid');
199
+ $this->addFeeConfig($clearingTypeNode, $valueClearingType);
200
+ $this->addChild($clearingTypeNode, $valueClearingType, 'min_order_total');
201
+ $this->addChild($clearingTypeNode, $valueClearingType, 'max_order_total');
202
+
203
+ if ($valueClearingType instanceof Payone_Settings_Data_ConfigFile_PaymentMethod_Financing) {
204
+ /** @var $valueClearingType Payone_Settings_Data_ConfigFile_PaymentMethod_Financing */
205
+ $this->addChild($clearingTypeNode, $valueClearingType, 'financingtype');
206
+ }
207
+ $this->addTypesOrGlobalInfo($clearingTypeNode, $valueClearingType);
208
 
209
  }
210
 
lib/Payone/TransactionStatus/Request.php CHANGED
@@ -147,6 +147,56 @@ class Payone_TransactionStatus_Request extends Payone_TransactionStatus_Request_
147
  */
148
  protected $invoice_deliveryenddate = NULL;
149
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
150
  /**
151
  * @param int $accessid
152
  */
@@ -546,4 +596,196 @@ class Payone_TransactionStatus_Request extends Payone_TransactionStatus_Request_
546
  {
547
  return $this->userid;
548
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
549
  }
147
  */
148
  protected $invoice_deliveryenddate = NULL;
149
 
150
+
151
+ /**
152
+ * @var string
153
+ */
154
+ protected $clearing_bankaccountholder = NULL;
155
+ /**
156
+ * @var string
157
+ */
158
+ protected $clearing_bankcountry = NULL;
159
+ /**
160
+ * @var string
161
+ */
162
+ protected $clearing_bankaccount = NULL;
163
+ /**
164
+ * @var string
165
+ */
166
+ protected $clearing_bankcode = NULL;
167
+ /**
168
+ * @var string
169
+ */
170
+ protected $clearing_bankiban = NULL;
171
+ /**
172
+ * @var string
173
+ */
174
+ protected $clearing_bankbic = NULL;
175
+ /**
176
+ * @var string
177
+ */
178
+ protected $clearing_bankcity = NULL;
179
+ /**
180
+ * @var string
181
+ */
182
+ protected $clearing_bankname = NULL;
183
+
184
+
185
+ /** @var string */
186
+ protected $clearing_legalnote = NULL;
187
+
188
+ /**
189
+ * (YYYYMMDD)
190
+ * @var string
191
+ */
192
+ protected $clearing_duedate = NULL;
193
+
194
+ /** @var string */
195
+ protected $clearing_reference = NULL;
196
+
197
+ /** @var string */
198
+ protected $clearing_instructionnote = NULL;
199
+
200
  /**
201
  * @param int $accessid
202
  */
596
  {
597
  return $this->userid;
598
  }
599
+
600
+ /**
601
+ * @param string $clearing_bankaccount
602
+ */
603
+ public function setClearingBankaccount( $clearing_bankaccount)
604
+ {
605
+ $this->clearing_bankaccount = $clearing_bankaccount;
606
+ }
607
+
608
+ /**
609
+ * @return string
610
+ */
611
+ public function getClearingBankaccount()
612
+ {
613
+ return $this->clearing_bankaccount;
614
+ }
615
+
616
+ /**
617
+ * @param string $clearing_bankaccountholder
618
+ */
619
+ public function setClearingBankaccountholder( $clearing_bankaccountholder)
620
+ {
621
+ $this->clearing_bankaccountholder = $clearing_bankaccountholder;
622
+ }
623
+
624
+ /**
625
+ * @return string
626
+ */
627
+ public function getClearingBankaccountholder()
628
+ {
629
+ return $this->clearing_bankaccountholder;
630
+ }
631
+
632
+ /**
633
+ * @param string $clearing_bankbic
634
+ */
635
+ public function setClearingBankbic( $clearing_bankbic)
636
+ {
637
+ $this->clearing_bankbic = $clearing_bankbic;
638
+ }
639
+
640
+ /**
641
+ * @return string
642
+ */
643
+ public function getClearingBankbic()
644
+ {
645
+ return $this->clearing_bankbic;
646
+ }
647
+
648
+ /**
649
+ * @param string $clearing_bankcity
650
+ */
651
+ public function setClearingBankcity( $clearing_bankcity)
652
+ {
653
+ $this->clearing_bankcity = $clearing_bankcity;
654
+ }
655
+
656
+ /**
657
+ * @return string
658
+ */
659
+ public function getClearingBankcity()
660
+ {
661
+ return $this->clearing_bankcity;
662
+ }
663
+
664
+ /**
665
+ * @param string $clearing_bankcode
666
+ */
667
+ public function setClearingBankcode( $clearing_bankcode)
668
+ {
669
+ $this->clearing_bankcode = $clearing_bankcode;
670
+ }
671
+
672
+ /**
673
+ * @return string
674
+ */
675
+ public function getClearingBankcode()
676
+ {
677
+ return $this->clearing_bankcode;
678
+ }
679
+
680
+ /**
681
+ * @param string $clearing_bankcountry
682
+ */
683
+ public function setClearingBankcountry( $clearing_bankcountry)
684
+ {
685
+ $this->clearing_bankcountry = $clearing_bankcountry;
686
+ }
687
+
688
+ /**
689
+ * @return string
690
+ */
691
+ public function getClearingBankcountry()
692
+ {
693
+ return $this->clearing_bankcountry;
694
+ }
695
+
696
+ /**
697
+ * @param string $clearing_bankiban
698
+ */
699
+ public function setClearingBankiban( $clearing_bankiban)
700
+ {
701
+ $this->clearing_bankiban = $clearing_bankiban;
702
+ }
703
+
704
+ /**
705
+ * @return string
706
+ */
707
+ public function getClearingBankiban()
708
+ {
709
+ return $this->clearing_bankiban;
710
+ }
711
+
712
+ /**
713
+ * @param string $clearing_bankname
714
+ */
715
+ public function setClearingBankname( $clearing_bankname)
716
+ {
717
+ $this->clearing_bankname = $clearing_bankname;
718
+ }
719
+
720
+ /**
721
+ * @return string
722
+ */
723
+ public function getClearingBankname()
724
+ {
725
+ return $this->clearing_bankname;
726
+ }
727
+
728
+ /**
729
+ * @param string $clearing_duedate
730
+ */
731
+ public function setClearingDuedate( $clearing_duedate)
732
+ {
733
+ $this->clearing_duedate = $clearing_duedate;
734
+ }
735
+
736
+ /**
737
+ * @return string
738
+ */
739
+ public function getClearingDuedate()
740
+ {
741
+ return $this->clearing_duedate;
742
+ }
743
+
744
+ /**
745
+ * @param string $clearing_instructionnote
746
+ */
747
+ public function setClearingInstructionnote( $clearing_instructionnote)
748
+ {
749
+ $this->clearing_instructionnote = $clearing_instructionnote;
750
+ }
751
+
752
+ /**
753
+ * @return string
754
+ */
755
+ public function getClearingInstructionnote()
756
+ {
757
+ return $this->clearing_instructionnote;
758
+ }
759
+
760
+ /**
761
+ * @param string $clearing_legalnote
762
+ */
763
+ public function setClearingLegalnote( $clearing_legalnote)
764
+ {
765
+ $this->clearing_legalnote = $clearing_legalnote;
766
+ }
767
+
768
+ /**
769
+ * @return string
770
+ */
771
+ public function getClearingLegalnote()
772
+ {
773
+ return $this->clearing_legalnote;
774
+ }
775
+
776
+ /**
777
+ * @param string $clearing_reference
778
+ */
779
+ public function setClearingReference( $clearing_reference)
780
+ {
781
+ $this->clearing_reference = $clearing_reference;
782
+ }
783
+
784
+ /**
785
+ * @return string
786
+ */
787
+ public function getClearingReference()
788
+ {
789
+ return $this->clearing_reference;
790
+ }
791
  }
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mage_Payone</name>
4
- <version>3.0.12</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,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.&#xD;
31
  &#xD;
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.0.12</notes>
34
  <authors><author><name>noovias</name><user>auto-converted</user><email>info@noovias.com</email></author><author><name>PAYONE</name><user>auto-converted</user><email>tech.support@payone.de</email></author></authors>
35
- <date>2012-11-09</date>
36
- <time>13:31:43</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><dir name="Protocol"><dir name="Api"><dir name="View"><dir name="Tab"><file name="Exception.php" hash="1825ebf171f264b6c74ed7e1fe9d6fbd"/><file name="General.php" hash="9a5d35a92a9d622a2ddfb0edafa76092"/></dir><file name="Plane.php" hash="daf40463ac56195f9d2181e35062baa2"/><file name="Tabs.php" hash="cc81cd30acbda3b87f2b302ee8cdaf1a"/></dir><file name="Grid.php" hash="fe43a5b1464e1059703788bd91f408cf"/><file name="View.php" hash="d00b5b3c9a7d0e36693c026c5de0dd35"/></dir><dir name="TransactionStatus"><dir name="View"><dir name="Tab"><file name="General.php" hash="a80cb470751f948b35aa04f991dd4486"/></dir><file name="Plane.php" hash="e7fee81fb6ee269bab8186972e0093a1"/><file name="Tabs.php" hash="aba3d7bf0ab3762a2900237b21a2198a"/></dir><file name="Grid.php" hash="b9e276667ce3599e5250f0026ab4f8d5"/><file name="View.php" hash="b7d782116f5d8d09087bf9eb7110ecdf"/></dir><file name="Api.php" hash="86163b631dabef5538c9d7ba18cb3b04"/><file name="TransactionStatus.php" hash="4aa543fe53ea8c4d0a4c09a61c84d52f"/></dir><dir name="Sales"><dir name="Order"><dir name="Create"><file name="Init.php" hash="3f2f8f8de024565abc1f8e4ced98319b"/></dir><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><file name="Grid.php" hash="8769f1b2708b28af0a4f97574c0b0c92"/></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="f2c335d1818f19984e9bc9aef1e0ce7f"/><file name="Forwarding.php" hash="37db0ebdea18716749598e092070475e"/><file name="Info.php" hash="2c9e6c008ee3d5306f8579ebe01db944"/><file name="PaymentFee.php" hash="755e20786c0203016611bfcfdc6ede90"/><file name="PersonStatusMapping.php" hash="a5450b8e05fa801ec373ac7c21e58b34"/><file name="StatusMapping.php" hash="579e9dfd3e92b3f225140ac7c4041cfe"/></dir><dir name="Payment"><file name="Method.php" hash="322e4976bd8389f5e9627ba5c17ad0e4"/></dir><file name="Field.php" hash="9c7f06f1a79d2308d5bf89c08b986b62"/><file name="Payment.php" hash="812418b9dc6e7d0f7af71c54fa7ad4cf"/></dir><dir name="Payment"><file name="Edit.php" hash="ee890691a35e5b33bfd1a986a4481ace"/><file name="Grid.php" hash="7ff4cfab006c716256b416a1898383e4"/></dir><file name="Hint.php" hash="1da85b64bf8fa8056881f551d553129d"/><file name="Notice.php" hash="466258b59f294048fa48639f3681ad5e"/><file name="Payment.php" hash="759805ac380506f1a68b2d3f6e48694d"/><file name="Tooltip.php" hash="d9905fba960f4a7500265c30f1dfddf9"/></dir></dir><dir name="Transaction"><dir name="View"><dir name="Tab"><file name="General.php" hash="bc901fbe55449792917519c795c58808"/><file name="TransactionStatus.php" hash="6325158ee9acda45dc1b3aa6a34b8cdd"/></dir><file name="Plane.php" hash="161a1c1f5cb58333e4428414397a91f6"/><file name="Tabs.php" hash="127b5f4090f96a1956f2838e7e1bf90f"/></dir><file name="Grid.php" hash="cca8ffb56bc00514d56af6f05c38882f"/><file name="View.php" hash="267ceb1bf113dae62c503c8c9f858a78"/></dir><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><file name="Information.php" hash="cf5fa39d6354791adf8ce2808bd8c99b"/><file name="Transaction.php" hash="9da66e164d1dea5013167c374865a94d"/></dir><dir name="Checkout"><dir name="Onepage"><dir name="Payment"><file name="Additional.php" hash="6fb72c642149f73a73b6ffcdd8249a93"/><file name="Methods.php" hash="a2e4bb44fa3c254bdfcc3f4671dc8968"/></dir></dir></dir><dir name="Payment"><dir name="Method"><dir name="Form"><file name="Abstract.php" hash="487b797c5a1350857c39c983468e6257"/><file name="AdvancePayment.php" hash="f8fa142db063838f6e2affd24e605309"/><file name="CashOnDelivery.php" hash="47aa8eae525f0926cfa0ca39dbf16dd8"/><file name="Creditcard.php" hash="8f2b897e1bcb9241e6019424239e368c"/><file name="DebitPayment.php" hash="dad62843e0ba2a3fca495da1cfa88a34"/><file name="Invoice.php" hash="792e994d4e724c508c44aa80c2c05377"/><file name="OnlineBankTransfer.php" hash="2880a86040b4a2587b5984b9f95a7bfc"/><file name="Wallet.php" hash="633b48b85fa7d2088e5a42af95a108f3"/></dir><dir name="Info"><file name="Abstract.php" hash="484227035cefdf1a4991b59b1f0b3b82"/><file name="AdvancePayment.php" hash="5a30ac680ba4b813b8292ee680970815"/><file name="CashOnDelivery.php" hash="7d04a334034ea88615ce260681def17e"/><file name="Creditcard.php" hash="039cde64d6835e601245e46f606d4f66"/><file name="DebitPayment.php" hash="5c699d4119fe82052969b2f6b0058ab6"/><file name="Invoice.php" hash="4e39306b2241b19e8d75684307522aaa"/><file name="OnlineBankTransfer.php" hash="a857f0afe1d75337756fb2e3fbd4f52b"/><file name="Wallet.php" hash="1c97123bd3b8c5c10e766dd7749f2076"/></dir></dir></dir></dir><dir name="Controller"><dir name="Adminhtml"><dir name="Configuration"><dir name="Wizard"><file name="Abstract.php" hash="bdfe26c77fbfb08d5eed508b3707129b"/></dir></dir><file name="Abstract.php" hash="fc530c509c8377d4b401b0ad4144ac62"/></dir><file name="Abstract.php" hash="e896d0e966ebb3123c047760fff8c17a"/></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"><dir name="Sales"><file name="Button.php" hash="f9752550b0ba4559a78631ea7240dbfa"/></dir><file name="Abstract.php" hash="614b70f3acf925a3b544e91e5a0085d3"/><file name="Compatibility.php" hash="40ec8b9e8f5bff66181d9d257d7f6a0e"/><file name="Config.php" hash="cda2f465907c3dda06b71ec973feb159"/><file name="Data.php" hash="80b450025c0e9dd19c2d48ffa3a26d63"/><file name="Email.php" hash="395561eb7a6c319055270706e6d32226"/><file name="Url.php" hash="9ce4dc25c5920247c9b85cccf450ec0e"/><file name="Wizard.php" hash="70b6882f848c703ff0fc26d62dcb376b"/></dir><dir name="Model"><dir name="Config"><dir name="General"><file name="Global.php" hash="34d063c009113a693b4d9b9b634d07e1"/><file name="ParameterInvoice.php" hash="6a58ff0f8c126de0decd22b845d02d40"/><file name="ParameterNarrativeText.php" hash="5f0128073807d017a4f3704c5879e36f"/><file name="PaymentCreditcard.php" hash="d055547ad354429c2c4b061353a9f121"/><file name="StatusMapping.php" hash="ebbbc555c41baed5de9e15de48109bd4"/></dir><dir name="Misc"><dir name="Email"><file name="Abstract.php" hash="50f7c3519a70855acb69d255cb0056d6"/><file name="Interface.php" hash="d07157b9ca17401277b35f7aea92a7cc"/></dir><file name="Creditmemo.php" hash="f9509d5a67e5ecd3cf029750beea9106"/><file name="Discount.php" hash="4ce56b1b21f8c39961c4bbe860eda20c"/><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><dir name="Payment"><dir name="Method"><file name="Interface.php" hash="3565bc684997b02456b369066cc97c06"/></dir><file name="Method.php" hash="6bb814af1090e38f3db39da32b26a3de"/></dir><dir name="Protect"><file name="AddressCheck.php" hash="7293d9854b25322a66ee00206f3071ce"/><file name="Creditrating.php" hash="ffe6d1d2c95d641535a5027b2afb54cc"/></dir><file name="AreaAbstract.php" hash="e75eacc876e77fa1f540e15a8a89a1d5"/><file name="AreaInterface.php" hash="9822e7864b81dcdade053baea64db83f"/><file name="General.php" hash="8f274fdb68951ab6b5a782d6c7de808c"/><file name="Interface.php" hash="a3de42afc8b6907e64d522aa3ec5cf63"/><file name="Misc.php" hash="bbac6a7fa27f05c7f21071fa01ac3460"/><file name="Payment.php" hash="543c05e504391df1fa3dfc73b05e0b75"/><file name="Protect.php" hash="21be6a05897ce9a155363ce56e0a5e4d"/></dir><dir name="Cronjob"><dir name="TransactionStatus"><file name="Worker.php" hash="1e7090f9b91571176224d97a3e932ede"/></dir><file name="Abstract.php" hash="123c05ac24b16ce69ec970a5da85f10e"/></dir><dir name="Domain"><dir name="Config"><file name="PaymentMethod.php" hash="23463f6599466b3b1b07b2f6b4358a70"/></dir><dir name="Protocol"><file name="Api.php" hash="70d1c4920f0637e28ec95cf8b9ca1bdb"/><file name="TransactionStatus.php" hash="628da493d2c1711f1e04d0e4e2403a83"/></dir><dir name="Resource"><dir name="Config"><dir name="PaymentMethod"><file name="Collection.php" hash="75d5a70152bd31471d779982f274592f"/></dir><file name="PaymentMethod.php" hash="7261f0a45bff60e891cf24820a565670"/></dir><dir name="Protocol"><dir name="Api"><file name="Collection.php" hash="2ce71ea52eb4aa11fbc546001ed22fc8"/></dir><dir name="TransactionStatus"><file name="Collection.php" hash="884176fcb71b1a76d2b094bb70644c5e"/></dir><file name="Api.php" hash="bb257184fa77ef1b71f0964168dd78af"/><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="c4c3ce8cc3f69d3684e68b918e20919c"/></dir><dir name="Handler"><dir name="Management"><file name="GetInvoice.php" hash="4fc10247b8969f9dbe447d3003a052a0"/></dir><dir name="Payment"><file name="Abstract.php" hash="3b93bfd8aa4081a62b65714df31b9943"/><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="49112579f8ca4277741224a1073dd10e"/><file name="Creditrating.php" hash="bea1fdc1b47a9e92ea6649ad2d360881"/><file name="Interface.php" hash="601a0d018c10962c13e26c67ecb60deb"/></dir><file name="Abstract.php" hash="7916a63c5d1ca3c7cec27cc6bd038846"/><file name="Interface.php" hash="8137fbb2cea9866c2d6a64421653b1f7"/></dir><dir name="Mapper"><dir name="ApiRequest"><dir name="Management"><file name="GetInvoice.php" hash="3e55c698ee6e54a911c7c8c04854aa68"/></dir><dir name="Payment"><dir name="Authorize"><file name="Abstract.php" hash="1efe3ed8dfcb2c475f1cef4f7e2a2f4e"/></dir><file name="Abstract.php" hash="e3f4f3be09ef1ba818e0d423c72c0a54"/><file name="Authorize.php" hash="9e45d9c05036cb7714d7d2221bb0a178"/><file name="Capture.php" hash="471e1ecf6a7e750cd47a4e1d729c1919"/><file name="Debit.php" hash="4fb07dc82fc9fba6ce575e578b81911c"/><file name="Interface.php" hash="2ed7debbc0cbe1979be9ad4fa583c63d"/><file name="Preauthorize.php" hash="d8139bb3b8c1ff02a9ab00e19a99c05f"/></dir><dir name="Verification"><file name="Abstract.php" hash="6b492aabd24d09580bb5c8184ebab5dd"/><file name="AddressCheck.php" hash="2661d25a9cdff23f64548782e21d4f8f"/><file name="BankAccountCheck.php" hash="71fdc57d43766fbcf67cbe4fb71261d5"/><file name="Creditrating.php" hash="be7582391431e780fe1bcd8bfb1b016a"/></dir><file name="Abstract.php" hash="67a9f749767b79e7641138f8edc9c788"/></dir><file name="Abstract.php" hash="269e16e71331e002333535450d4d2924"/></dir><dir name="Observer"><dir name="Checkout"><dir name="Onepage"><dir name="Payment"><file name="Methods.php" hash="f1cb2d2e1e155d446b17c0f96e974b65"/></dir></dir><file name="Onepage.php" hash="98d4284c874b732a906244c2f5bf1c08"/></dir><dir name="Protocol"><file name="Api.php" hash="8756084b6e8c4ce3ff7fddfae2cbba8f"/></dir><dir name="Sales"><dir name="Order"><file name="Invoice.php" hash="b3a6f5568225a0c2aafb4014c9974a51"/></dir><dir name="Quote"><file name="Address.php" hash="9a6d3e1e068564fdda82ccfc15fce5d1"/><file name="Payment.php" hash="49864ede5b1ab94fc51a98b4cadc2874"/></dir><file name="Order.php" hash="d4ef2d996fd7bacdb8399453644eeead"/></dir><dir name="TransactionStatus"><file name="Forwarding.php" hash="72e93b7a9fc67b3c817a8a3086b3c58d"/><file name="InvoiceCreate.php" hash="434917141997bfa47da837d62fad7923"/><file name="Reminder.php" hash="e476fbafaec9b3f2fa3d0ec5f57f6dce"/></dir><file name="Abstract.php" hash="9530c08cad0c830d390eabbdd8ebc3ab"/></dir><dir name="Payment"><dir name="Method"><file name="Abstract.php" hash="c1844d0bf9809e645520cde7df1d74c8"/><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="Invoice.php" hash="b6dc6fd8189c61f04a440b39d72a2c61"/><file name="OnlineBankTransfer.php" hash="5f6e2a08c6f83534f15b05f95bfceb37"/><file name="Wallet.php" hash="009d360a81b7a9527d192e4011df9749"/></dir></dir><dir name="Repository"><file name="Api.php" hash="215b63473d061699b64fbc698f95a1f7"/><file name="TransactionStatus.php" hash="bf2221e0683a2f9be207f822b286aec0"/></dir><dir name="Sales"><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Fee.php" hash="1ed75f807d0bb35b45cb60bddba7bc8a"/></dir></dir><file name="Address.php" hash="4cdccd999657b7e7cc97413e0f0d07f3"/></dir></dir><dir name="Service"><dir name="Config"><file name="XmlGenerate.php" hash="04749939d87ef087295a93b9325052bf"/></dir><dir name="Export"><file name="Collection.php" hash="ba553e1ced6fd131b725c92150e09a78"/></dir><dir name="Management"><file name="GetInvoice.php" hash="16da5759ecfbe625633da5e1e00cfecd"/></dir><dir name="Payment"><file name="Abstract.php" hash="279c23a0b23532b07dcde5c94c0ac69e"/><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="c706edb296d8fc019c555a70143368a1"/><file name="OrderComment.php" hash="41433c126e5254b985d900f704b31ae9"/><file name="OrderStatus.php" hash="29cdcf7e6f7dd62e83eaaf1064875e36"/></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="92c549b0a2e53b86578015e4449f83a1"/></dir><dir name="Verification"><file name="Abstract.php" hash="0fde90b0db9c18f414e5e90843f0e6ce"/><file name="AddressCheck.php" hash="b6e828cf9dc96d7e9cafae8037aa942f"/><file name="BankAccountCheck.php" hash="80a0a1e3e7954448751dbb3241f8b441"/><file name="Creditrating.php" hash="92e4605a2a83ea61e6fc1308d22e85de"/></dir><file name="Abstract.php" hash="94bcce3534d7295fac4db750fe34ba09"/><file name="InitializeConfig.php" hash="bdc4e1e26c2c1ef32376333662c8b85a"/><file name="InitializePayment.php" hash="601e8ec5e2d505dfa024284fcaa31e62"/></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Protect.php" hash="8f7d595e6f8044ea4a1c2dbbdebaa655"/></dir><file name="Abstract.php" hash="b40c21183506dfb5e94f43cd8ec61ac3"/><file name="AddressCheckType.php" hash="11f0297e62f8aa723051bef05b1a1024"/><file name="AuthorizeMethod.php" hash="ab01882f7e8b685bf65c9c2cf630f8dd"/><file name="AvsResult.php" hash="b1e3ca79a77286e1e705501a33c13855"/><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="HandleResponseError.php" hash="6c92277e38f8256f6fe7b6696107fdd2"/><file name="MethodType.php" hash="795bf5ad1a5a62e00c83b2b1a4c36124"/><file name="Mode.php" hash="f4b7f10abd52f5b5d23873e159e4fc23"/><file name="OnlinebanktransferType.php" hash="804bf6bd18c9903519e48072ab33d1da"/><file name="PaymentMethodCode.php" hash="6ccbbcb3ac4062b680dd2c2951e6b014"/><file name="PaymentMethodType.php" hash="fe4cfc1959d5e6294d6b0b7b01b59239"/><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="Status.php" hash="2612834bc2a1ed7c43a2cc3342adf63d"/><file name="StatusTransaction.php" hash="53271af6dbe8195a8fa1e12a79a56c68"/><file name="TransactionStatus.php" hash="8c1f59103ba441a3bddbf454bc4c3129"/><file name="WalletType.php" hash="c49c188f400e808a58348716a9fa421e"/></dir></dir><file name="Config.php" hash="e377c2462e81c4a6caacd784cf6a5d65"/><file name="Factory.php" hash="1b517d7596dbc0a9533aa8b018f9a34d"/></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="e3d8e43dfabf4fd2589482574655bdff"/></dir><file name="WizardController.php" hash="cfc6b411102e225a48935cee6e0c7576"/></dir><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="d594f4857b027260ea7eaefefab21839"/></dir><file name="InformationController.php" hash="4fbe3552aff0415f9e6e6574c7dfc080"/><file name="TransactionController.php" hash="59e0e04c5ef04e28a3b781a1c2c3b412"/></dir><dir name="Checkout"><dir name="Onepage"><file name="PaymentController.php" hash="9b23e22c6ea7fb7372649a0ca613e849"/></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="adc13ba701e89b757fa98c2899cbed6f"/><file name="system.xml" hash="8926787e865e14d3dc917b0c5be0b7f6"/></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.3-3.0.4.php" hash="040f058a08ea97fd428baf3552988ca3"/><file name="mysql4-upgrade-3.0.8-3.0.9.php" hash="e1167adfd84fecdb908f99698c74aa56"/></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"><dir name="Mapper"><dir name="Config"><file name="General.php" hash="e24eb1f80ab89b37da5bfe333e34ed05"/><file name="Payment.php" hash="37dd103a0f2ff3493a93c3ec03474671"/><file name="Protect.php" hash="7192a4e8e1789401dbb69dc4c1891ed3"/></dir><file name="Abstract.php" hash="a784a82feaf6120184bc5e53331bd519"/></dir><dir name="Service"><dir name="Configuration"><file name="GeneralMigrate.php" hash="044e996b5f7243086d66d85444bef05c"/><file name="PaymentMigrate.php" hash="b2667b2477af6c6e24085deea3ad178b"/><file name="ProtectMigrate.php" hash="1289918e3fb0f87dec2c4d3cd76ad77c"/></dir><dir name="Sales"><file name="PaymentMigrate.php" hash="b0cb16acd822816b82009b5f648eb4f6"/></dir><file name="Abstract.php" hash="2208fd00d748f4e42470c57a90fad2a2"/><file name="Migrate.php" hash="07b0deb7c09a313a2b337b684c76f9da"/></dir><file name="Factory.php" hash="614bc12c240bd0c917fdc090c8018ccc"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Wizard"><file name="MigrationController.php" hash="578c2b786ec293a24bce53806f16c102"/></dir><file name="MigrationController.php" hash="7d9f458c55ee1fe5232c6d7136d86551"/></dir></dir><dir name="etc"><file name="config.xml" hash="849e4742286f7887eaa42a662d16876b"/></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"><dir name="configuration"><dir name="wizard"><dir name="page"><dir name="form"><file name="container.phtml" hash="3c7287c0c40be94a1b1189a6cd7f8812"/></dir><dir name="payment"><dir name="grid"><file name="container.phtml" hash="1b00428676495848907360d99697bd80"/></dir></dir><dir name="view"><file name="container.phtml" hash="042d56bf10158e1944c48f788f48121e"/></dir><file name="finish.phtml" hash="956ddfbe0e9971e647735fe4a45abf0e"/><file name="index.phtml" hash="66e73112887b5c1028fac21d5ce97c71"/><file name="store_switcher.phtml" hash="6871e556b2872ba357ea95be0c543a6a"/></dir><file name="iframe.phtml" hash="186c008f6b31f8276a84aeb7d3c404e4"/><file name="index.phtml" hash="2deddd95d55920eff1ccc96959857b75"/></dir></dir><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="a96f910448206def6eb3ba70fceeb4c7"/><file name="invoice.phtml" hash="b0548563fdacc3cb1757a838d2c03158"/></dir><dir name="info"><file name="advancepayment.phtml" hash="74b458367e5712c859d800b933ed95ff"/><file name="cashondelivery.phtml" hash="1d901a82060a238c89f3940714256a7c"/><file name="creditcard.phtml" hash="2fb283ff1046cf761d6a120c873aa822"/><file name="debitpayment.phtml" hash="f8d0de0ffc00bb87e42d57db03df4854"/><file name="invoice.phtml" hash="64001ffc31c0eafb832c03edd285fc5d"/><file name="onlinebanktransfer.phtml" hash="d6504ebddc33f064c0acb2736c22f6ac"/><file name="wallet.phtml" hash="bd71ab9ff89f2cfa590307c9e29e0ead"/></dir></dir></dir><dir name="protocol"><dir name="api"><dir name="view"><dir name="tab"><file name="exception.phtml" hash="54d0c77b153ff41fa10391b3177fc96a"/><file name="general.phtml" hash="8d4ad5cd56d33fd7fdcf0b4ff7bc0cc9"/></dir><file name="plane.phtml" hash="fcfcb586c7c92606a6c309489c878d53"/></dir></dir><dir name="transactionstatus"><dir name="view"><dir name="tab"><file name="general.phtml" hash="fd318ab622c4aa2c0554d7ce81843361"/></dir><file name="plane.phtml" hash="7d19a22206a2384f5972a313017e4589"/></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="a62e04db5eb68265b72d03984fe03e99"/></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="27d6f761e1ebdce936de0a7d60ac8bfe"/></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="method.phtml" hash="130b071e2363972df1f634585d6e0704"/><file name="online_bank_transfer.phtml" hash="93a29afae277ad94b4c1c124c96cfbcb"/><file name="wallet.phtml" hash="ba12c5e01a515ff744f2ab02c8f10d0e"/></dir><dir name="protect"><file name="addresscheck.phtml" hash="7e2fde2318c46067624775720dcf1bf4"/><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"><dir name="tab"><file name="general.phtml" hash="68caff5aa8efad5e37378e9c7b739842"/></dir><file name="plane.phtml" hash="8f4c2ef7fecfab8eb02d12b35e862b5e"/></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><file name="client_api.phtml" hash="82d735b2326311446896dc12b826d6a5"/><file name="iframe.phtml" hash="9f74308e8b43cad2b15748b9f8368559"/></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="503893a49d142d5a74287c79d5891703"/><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"><dir name="payment"><file name="additional.phtml" hash="3882f895bd113afc428393a71f5d7ccf"/></dir><file name="init.phtml" hash="5c0c3bf8d37efdbf537b5384bc34398e"/></dir><file name="protect.phtml" hash="f99ba7707392621d73df931a3821d691"/></dir><dir name="payment"><dir name="method"><dir name="form"><dir name="onlinebanktransfer"><file name="bankgroup.phtml" hash="bde17175bafd78c3cc78a203ec8bf8c7"/></dir><file name="advancepayment.phtml" hash="53be7d1aebc234604157aa7e6dc47795"/><file name="cashondelivery.phtml" hash="0cad47103bbd341208e6252bd8fe47d1"/><file name="creditcard.phtml" hash="30846a5a6913fe10446a769c3146d416"/><file name="debitpayment.phtml" hash="13add18b63688851e1cdafdbe334cdcb"/><file name="invoice.phtml" hash="cdfec4a52cc4f3338e2dd2efdb043497"/><file name="onlinebanktransfer.phtml" hash="810398ac639bd3e7e6f9f5efaec91220"/><file name="wallet.phtml" hash="d07fffb20f29715a3ec4eaf5a266ceb9"/></dir><dir name="info"><file name="advancepayment.phtml" hash="611af85c9ae80aa9c702b34fc0724e79"/><file name="cashondelivery.phtml" hash="5f369ef06729584e8bf094700877386d"/><file name="creditcard.phtml" hash="1ce66b87e2655466b271153981a3b87b"/><file name="debitpayment.phtml" hash="0667cfe80b5b311cdc84fb064c063e1f"/><file name="invoice.phtml" hash="64179e611f39b4b7e68cd367aecb0931"/><file name="onlinebanktransfer.phtml" hash="b84636742b49e7af469cfb97a23f4c0c"/><file name="wallet.phtml" hash="099fd47c84a62ad9510a47a24345d317"/></dir></dir></dir><file name="client_api.phtml" hash="1ec0b009b38dc06caa21467c3f4ffb71"/></dir></dir></dir><dir name="layout"><dir name="payone"><file name="core.xml" hash="30956bc5783f8c82705b315b718fe04b"/></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"><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><file name="Payone_Core.csv" hash="a70f87a75c18538e5534c11a6b11b152"/></dir><dir name="en_US"><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><file name="Payone_Core.csv" hash="5aac7eda96f35ad7fae96446c1f42d48"/></dir></target><target name="mageweb"><dir name="js"><dir name="payone"><dir name="core"><file name="addresscheck.js" hash="2cf457535287d32cd8579e31f3e2ff14"/><file name="client_api.js" hash="dd107fcd812ac77a99e3b72c01672b7a"/><file name="creditcard.js" hash="654c400d98a7da2cd655a2895493d5f4"/><file name="onlinebanktransfer.js" hash="252f5f182cf66a12528932b35f1a2442"/><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></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><dir name="Enum"><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="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="InvoiceDeliverymode.php" hash="20c0fb5edc752eaa13f7485ae927302b"/><file name="OnlinebanktransferType.php" hash="11438be9127821ed1b160420a5139011"/><file name="RequestType.php" hash="6914b5f56151fce3e97b791bf413962b"/><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"><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="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"/><file name="Timeout.php" hash="0bfdac99f441015b835a218886ae2987"/><file name="UnknownStatus.php" hash="f8bbb8759bdb8104daaed59a31d4b632"/><file name="WritingRequestToServer.php" hash="6bac9fe5228568d57b9492afdc5096e6"/></dir><dir name="Mapper"><dir name="Currency"><file name="Interface.php" hash="a166444b69c22891983b475d98a9c4ba"/></dir><dir name="Request"><dir name="Payment"><file name="Abstract.php" hash="80457e0ca50f31bb491f9c0c30af28d3"/><file name="Authorization.php" hash="24bb9c33163acf92764c5e3d98c8890c"/><file name="Capture.php" hash="1e99a0ee422ad8a049c669ce2b0925a7"/><file name="Debit.php" hash="88646c41c5b422f60c2c71bced0c6180"/><file name="Preauthorization.php" hash="65c3d30b553aa821f77bd98d29e4bb7a"/><file name="Refund.php" hash="323148b00ae50d41058ba9ec09aca2b3"/></dir><file name="Abstract.php" hash="682ab94bfa9d4b4e772c973504b944ca"/><file name="Interface.php" hash="300f24067b5e02cbcad586ae64cd2bd0"/></dir><dir name="Response"><file name="3dsCheck.php" hash="8df0b3a1e60a42037bb428936f1af395"/><file name="Abstract.php" hash="65f949eecff5761fede0017d376613bc"/><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="CreditCardCheck.php" hash="507102173d66ffc8c59643c8c5c8b962"/><file name="Debit.php" hash="0cc821fe414ba12b6f0a47c737032b81"/><file name="GetInvoice.php" hash="e8d48e92395106748609307bf75d9757"/><file name="Interface.php" hash="ec7a85fd32a14f8e3fb6c53999a3b29c"/><file name="Preauthorization.php" hash="61ca02a765f954d8d7ef3787bc998c0b"/><file name="Refund.php" hash="49db64773b4d50e513d0dd0b229f2a94"/></dir><file name="Abstract.php" hash="4b8a025d4e906ee806d025ec9fd8f385"/><file name="Currency.php" hash="f8b9151eb9f4851d9c0b1dcee5dde465"/><file name="currency.properties" hash="eef9fbec34f4f4a2602f6081fcfda371"/></dir><dir name="Persistence"><file name="Interface.php" hash="a77efa3aeb4734aebfe18c9f7e4ccc7f"/></dir><dir name="Request"><dir name="Authorization"><file name="Abstract.php" hash="80971aafc19e11d5e3223a9048b719d1"/></dir><dir name="Parameter"><dir name="Authorization"><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="6f6dac89fdaa2ac4f8cf564be3553ae6"/><file name="OnlineBankTransfer.php" hash="4b3f69cbf65904c7d64ee6d8323636c2"/><file name="Wallet.php" hash="f4a72017354b2b8ffba75892e6decddb"/></dir><file name="3dsecure.php" hash="1280e05ad2671b85255b64ebc64d69d0"/><file name="Abstract.php" hash="cf44e93bc1e56cc84df5f4ab4088050b"/><file name="Business.php" hash="b8c430800c69b62410037cf57491c3cb"/><file name="DeliveryData.php" hash="8b021a87ba54850894bbf7c12e8bffe5"/><file name="PersonalData.php" hash="992369ce211f095124f03adfe435441d"/></dir><dir name="Capture"><file name="Business.php" hash="fb5c8262c2eaad6a2ce9cbb88afe0b2a"/></dir><dir name="Debit"><dir name="PaymentMethod"><file name="Abstract.php" hash="10fe457332ef63d231208d5074a87925"/><file name="BankAccount.php" hash="42e4a48e3c794412fa2c99c487c9aa2f"/><file name="CreditCard.php" hash="8c30a4f7a7352bc137a7708b2e35de70"/></dir><file name="Abstract.php" hash="ad7c2f583cd2bb8f2e2799319ec293f3"/><file name="Business.php" hash="cb5ced7f6e449a4572227fd868681e1f"/></dir><dir name="Invoicing"><file name="Item.php" hash="ec429f82cb5e26ebee0b99fcf297fab7"/><file name="Transaction.php" hash="754ba3cb3a2420001e0db3a759964695"/></dir><dir name="Refund"><dir name="PaymentMethod"><file name="BankAccount.php" hash="da26a54c7899f2864ace21ecb3729d7d"/></dir><file name="Abstract.php" hash="6e49e729223f6ea7d095d43923928b9d"/></dir><file name="Abstract.php" hash="653a1b46ee15ed2d01a55e2f24a1dc9f"/><file name="Interface.php" hash="6e34e7349bf3eb3ea52418781b6bca31"/></dir><file name="3dsCheck.php" hash="8502019ed3c3057fe05ee3c1a71aca21"/><file name="Abstract.php" hash="5c9806f9f608d5f5e89b9c54927990db"/><file name="AddressCheck.php" hash="aa187c6821e3cef431b119c33a5bf23f"/><file name="Authorization.php" hash="52ed73816ee6887ed4461e5850893182"/><file name="BankAccountCheck.php" hash="c9de3679f926b91603815ea66916450f"/><file name="Capture.php" hash="1f853ee78f5813ee4e68082fff76fa53"/><file name="Consumerscore.php" hash="afc7c64148ff01a2044dc748eb78d8a4"/><file name="CreditCardCheck.php" hash="92abb97fdb171cd07a0af63d51de7fd5"/><file name="Debit.php" hash="f2fcec84c6d37efa17df7598933c7b26"/><file name="GetInvoice.php" hash="a5bf340eef45f0b974badc21899423c6"/><file name="Interface.php" hash="338199100f226bb478a7e79c1594bfc9"/><file name="Preauthorization.php" hash="0a681074560da4069e694892c0064f6c"/><file name="Refund.php" hash="56c0bb2425448b6e0a57bdd35944250b"/></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><dir name="AddressCheck"><file name="Invalid.php" hash="132932a39401c298578935e74c416fbe"/><file name="Valid.php" hash="29793361fab8fffc1216ebf211660dde"/></dir><dir name="Authorization"><file name="Abstract.php" hash="67686bae3d2e6ac7d425624d658ce4d1"/><file name="Approved.php" hash="a344f89cf8166b673a843e595e92fbff"/><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="d4a89d6174e4e688eb761cb3ef799803"/></dir><dir name="Capture"><file name="Approved.php" hash="851e5808a750c0654d3c2535b384e7c5"/></dir><dir name="Consumerscore"><file name="Invalid.php" hash="4ec7a41513ca28e7081e0a7b0fa35f44"/><file name="Valid.php" hash="e0053bb2af649d504dad28f163c0a61c"/></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><dir name="Management"><file name="GetInvoice.php" hash="00cced79a4094cfdcb42a25da88f9fef"/></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><file name="Abstract.php" hash="8aa20c1529cc03a0f6c64d8e4f2690b2"/><file name="Error.php" hash="361aab061dbcd5aade4d2a2ae5224620"/><file name="Interface.php" hash="bfb530e8de56624e9a5a93bb3d8d22d3"/><file name="Invalid.php" hash="d91d1b8f6214e350493c688f3226325b"/></dir><dir name="Service"><dir name="Management"><file name="GetInvoice.php" hash="e7e764daa5ec37aa40905a76236f01f7"/></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="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"/></dir><dir name="ProtocolRequest"><file name="Interface.php" hash="e45a08d8c42675881617033eda0df27b"/></dir><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><file name="Abstract.php" hash="24ef22fd385dd99d6f2bf4413b74cac1"/><file name="Interface.php" hash="a3c79f33b0a9ac10778c088e2b660ad3"/><file name="ProtocolRequest.php" hash="84ff92e03b1ce5237c7384df13dca268"/></dir><dir name="Validator"><file name="Abstract.php" hash="ead86ababa76997e8dd8886ebfc3335c"/><file name="DefaultParameters.php" hash="e4fb2582a213f164d9ca8f2ba764cb06"/><file name="Interface.php" hash="cd0994f06f5cb491f19820e99da952d0"/></dir><file name="Config.php" hash="d5024c64e3e7b543d56fe7999ad00fe5"/><file name="Factory.php" hash="e839d73ab3fae79a209ee12ec67b0c67"/></dir><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><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><file name="Factory.php" hash="7fe76a15b47eb692360485b2c86d0023"/></dir><dir name="Config"><file name="Abstract.php" hash="57627d0919526793ad2fb0e5d70d32d8"/></dir><dir name="Enum"><file name="ClearingType.php" hash="9858c364521bcb15972dc8080552a49e"/><file name="Mode.php" hash="ee9b0a7e12c9e582b7e25ccbbadb6b72"/><file name="Reminderlevel.php" hash="c552342982d010a94925ebb841ecc7eb"/></dir><dir name="Log4php"><dir name="xml"><file name="log4php.dtd" hash="d4da6c96c895b879f6b1924eb8d949d4"/></dir><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="8719b8718a74eb7b80192f87df1993ac"/><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><dir name="Protocol"><dir name="Config"><file name="Filter.php" hash="ff54f7b1edd77bc696746ff631d48c14"/></dir><dir name="Exception"><file name="FilterNotFound.php" hash="72b1c4ffa31b18ec27eed40469d222ae"/><file name="InvalidConfig.php" hash="78345f6cd5dd3918747303c9780eda09"/></dir><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"><dir name="Protocol"><file name="Abstract.php" hash="c123ad9b6ed31d34c1236cbbe3c8c0a6"/></dir><file name="ApplyFilters.php" hash="ab881b292dade78add817503e15b68ea"/></dir><file name="Factory.php" hash="690d0411a8e3967091117745bd7290ad"/></dir><dir name="Settings"><dir name="Configuration"><dir name="Api"><file name="RequestType.php" hash="f6b23bf2652034cbc3d50ad0e782f8f1"/><file name="ResponseType.php" hash="b2422c4e38f381bd370176a6b0a0011d"/></dir><dir name="PaymentMethod"><file name="CreditCard.php" hash="6894263df05741a6ed23c0acb414f402"/><file name="OnlineBankTransfer.php" hash="e5d6d8c95d0432e9f3442a8e9b1058b0"/><file name="Wallet.php" hash="060e1623e33a4551f921db1593891807"/></dir><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><file name="Abstract.php" hash="b535ec70b40d20ab24aa248bcf3f05b4"/><file name="Mode.php" hash="d5b47124f2893bdf3440ec48eb2c646d"/><file name="PaymentMethod.php" hash="e1c8fe981eda7dfbb4330605d0dddbe3"/><file name="Reminderlevel.php" hash="bdc018a59eaab4d13209fc529afd7d51"/></dir><dir name="Data"><dir name="ConfigFile"><dir name="Global"><file name="StatusMapping.php" hash="9abad2df07db470433b8d46d8c4b9321"/></dir><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="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><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="Abstract.php" hash="45594b9218dd0cbf9a2190bbc1b1e5cd"/><file name="Collection.php" hash="2b387c4da779190bc3c774e5012383b2"/><file name="Interface.php" hash="70133ac956846d5151edfeca478b9502"/><file name="Root.php" hash="65fe84a867e02b4e5d1815bb3e94ce32"/><file name="Shop.php" hash="fcde392839c80db0f28811b5178364a6"/></dir></dir><dir name="Service"><file name="XmlGenerate.php" hash="82ab74f41aa2a5efb3bdc75daea9b0eb"/><file name="XmlParse.php" hash="987a9edf0ca8f2eebcab576ca9270df1"/></dir><file name="Factory.php" hash="e41b108aa4efba5210946af4602df9e6"/></dir><dir name="TransactionStatus"><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><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><dir name="Response"><file name="Abstract.php" hash="559a911ec0743a718dbccf3605500d53"/><file name="Interface.php" hash="1087ea1a0c70040daad6eac2014790e2"/></dir><dir name="Service"><dir name="ProtocolRequest"><file name="Interface.php" hash="7576d86a4061811d9d1508c9d26c7277"/></dir><file name="HandleRequest.php" hash="49cb49d3d99139b87f3361cbf2562e75"/><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><file name="Config.php" hash="5fe7ae51f4e65c69865bc4d2ae48328c"/><file name="Factory.php" hash="cacd4d296964cb8a305eba713092798c"/><file name="Request.php" hash="f814b07d3608571acc12e00a64598d19"/><file name="Response.php" hash="ef77f669ce7c928df87a2d063f6762e4"/></dir><file name="Autoload.php" hash="6f4b9aa2d3652eef4913b624fd00ace5"/><file name="Bootstrap.php" hash="e0e3380ceba6f5315d57f1d3238bfb92"/><file name="Builder.php" hash="4df7346c12f7f039725ffd492cba6ef0"/><file name="Config.php" hash="7f54b177836041bde75611c40d3af759"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="payone"><dir name="core"><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="boxes.css" hash="1a9ef798278e1d1dcc3c8dd86eb8ddca"/><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></target></contents>
38
  <compatible/>
39
  <dependencies/>
40
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mage_Payone</name>
4
+ <version>3.1.1</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.&#xD;
31
  &#xD;
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.1</notes>
34
  <authors><author><name>noovias</name><user>auto-converted</user><email>info@noovias.com</email></author><author><name>PAYONE</name><user>auto-converted</user><email>tech.support@payone.de</email></author></authors>
35
+ <date>2013-01-16</date>
36
+ <time>10:44:24</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><dir name="Protocol"><dir name="Api"><dir name="View"><dir name="Tab"><file name="Exception.php" hash="1825ebf171f264b6c74ed7e1fe9d6fbd"/><file name="General.php" hash="9a5d35a92a9d622a2ddfb0edafa76092"/></dir><file name="Plane.php" hash="daf40463ac56195f9d2181e35062baa2"/><file name="Tabs.php" hash="cc81cd30acbda3b87f2b302ee8cdaf1a"/></dir><file name="Grid.php" hash="fe43a5b1464e1059703788bd91f408cf"/><file name="View.php" hash="d00b5b3c9a7d0e36693c026c5de0dd35"/></dir><dir name="TransactionStatus"><dir name="View"><dir name="Tab"><file name="General.php" hash="a80cb470751f948b35aa04f991dd4486"/></dir><file name="Plane.php" hash="e7fee81fb6ee269bab8186972e0093a1"/><file name="Tabs.php" hash="aba3d7bf0ab3762a2900237b21a2198a"/></dir><file name="Grid.php" hash="b9e276667ce3599e5250f0026ab4f8d5"/><file name="View.php" hash="b7d782116f5d8d09087bf9eb7110ecdf"/></dir><file name="Api.php" hash="86163b631dabef5538c9d7ba18cb3b04"/><file name="TransactionStatus.php" hash="4aa543fe53ea8c4d0a4c09a61c84d52f"/></dir><dir name="Sales"><dir name="Order"><dir name="Create"><file name="Init.php" hash="3f2f8f8de024565abc1f8e4ced98319b"/></dir><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><file name="Grid.php" hash="8769f1b2708b28af0a4f97574c0b0c92"/></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="f2c335d1818f19984e9bc9aef1e0ce7f"/><file name="Forwarding.php" hash="37db0ebdea18716749598e092070475e"/><file name="Info.php" hash="2c9e6c008ee3d5306f8579ebe01db944"/><file name="PaymentFee.php" hash="755e20786c0203016611bfcfdc6ede90"/><file name="PersonStatusMapping.php" hash="a5450b8e05fa801ec373ac7c21e58b34"/><file name="StatusMapping.php" hash="579e9dfd3e92b3f225140ac7c4041cfe"/></dir><dir name="Payment"><file name="Method.php" hash="322e4976bd8389f5e9627ba5c17ad0e4"/></dir><file name="Field.php" hash="9c7f06f1a79d2308d5bf89c08b986b62"/><file name="Payment.php" hash="812418b9dc6e7d0f7af71c54fa7ad4cf"/></dir><dir name="Payment"><file name="Edit.php" hash="ee890691a35e5b33bfd1a986a4481ace"/><file name="Grid.php" hash="7ff4cfab006c716256b416a1898383e4"/></dir><file name="Hint.php" hash="1da85b64bf8fa8056881f551d553129d"/><file name="Notice.php" hash="466258b59f294048fa48639f3681ad5e"/><file name="Payment.php" hash="759805ac380506f1a68b2d3f6e48694d"/><file name="Tooltip.php" hash="d9905fba960f4a7500265c30f1dfddf9"/></dir></dir><dir name="Transaction"><dir name="View"><dir name="Tab"><file name="General.php" hash="bc901fbe55449792917519c795c58808"/><file name="TransactionStatus.php" hash="6325158ee9acda45dc1b3aa6a34b8cdd"/></dir><file name="Plane.php" hash="161a1c1f5cb58333e4428414397a91f6"/><file name="Tabs.php" hash="127b5f4090f96a1956f2838e7e1bf90f"/></dir><file name="Grid.php" hash="cca8ffb56bc00514d56af6f05c38882f"/><file name="View.php" hash="267ceb1bf113dae62c503c8c9f858a78"/></dir><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><file name="Information.php" hash="cf5fa39d6354791adf8ce2808bd8c99b"/><file name="Transaction.php" hash="9da66e164d1dea5013167c374865a94d"/></dir><dir name="Checkout"><dir name="Onepage"><dir name="Payment"><file name="Additional.php" hash="6fb72c642149f73a73b6ffcdd8249a93"/><file name="Methods.php" hash="a2e4bb44fa3c254bdfcc3f4671dc8968"/></dir></dir></dir><dir name="Payment"><dir name="Method"><dir name="Form"><file name="Abstract.php" hash="0fca396e92fbf021fcbf0cc540caf6db"/><file name="AdvancePayment.php" hash="f8fa142db063838f6e2affd24e605309"/><file name="CashOnDelivery.php" hash="47aa8eae525f0926cfa0ca39dbf16dd8"/><file name="Creditcard.php" hash="8f2b897e1bcb9241e6019424239e368c"/><file name="DebitPayment.php" hash="dad62843e0ba2a3fca495da1cfa88a34"/><file name="Financing.php" hash="e51b6b3464fb350c874e9cbc0ce048a9"/><file name="Invoice.php" hash="792e994d4e724c508c44aa80c2c05377"/><file name="OnlineBankTransfer.php" hash="2880a86040b4a2587b5984b9f95a7bfc"/><file name="SafeInvoice.php" hash="9b9ca38c7d529c0b723ed41be626f786"/><file name="Wallet.php" hash="633b48b85fa7d2088e5a42af95a108f3"/></dir><dir name="Info"><file name="Abstract.php" hash="e053fbb633c2742597631bb1672f404a"/><file name="AdvancePayment.php" hash="5a30ac680ba4b813b8292ee680970815"/><file name="CashOnDelivery.php" hash="7d04a334034ea88615ce260681def17e"/><file name="Creditcard.php" hash="039cde64d6835e601245e46f606d4f66"/><file name="DebitPayment.php" hash="5c699d4119fe82052969b2f6b0058ab6"/><file name="Financing.php" hash="6168f4820caa216f6f30a14069602123"/><file name="Invoice.php" hash="4e39306b2241b19e8d75684307522aaa"/><file name="OnlineBankTransfer.php" hash="a857f0afe1d75337756fb2e3fbd4f52b"/><file name="SafeInvoice.php" hash="d9182b8c27c6306de801e4127e5da63f"/><file name="Wallet.php" hash="1c97123bd3b8c5c10e766dd7749f2076"/></dir></dir></dir></dir><dir name="Controller"><dir name="Adminhtml"><dir name="Configuration"><dir name="Wizard"><file name="Abstract.php" hash="bdfe26c77fbfb08d5eed508b3707129b"/></dir></dir><file name="Abstract.php" hash="fc530c509c8377d4b401b0ad4144ac62"/></dir><file name="Abstract.php" hash="e896d0e966ebb3123c047760fff8c17a"/></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"><dir name="Sales"><file name="Button.php" hash="f9752550b0ba4559a78631ea7240dbfa"/></dir><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"/><file name="Url.php" hash="9ce4dc25c5920247c9b85cccf450ec0e"/><file name="Wizard.php" hash="70b6882f848c703ff0fc26d62dcb376b"/></dir><dir name="Model"><dir name="Config"><dir name="General"><file name="Global.php" hash="34d063c009113a693b4d9b9b634d07e1"/><file name="ParameterInvoice.php" hash="6a58ff0f8c126de0decd22b845d02d40"/><file name="ParameterNarrativeText.php" hash="5f0128073807d017a4f3704c5879e36f"/><file name="PaymentCreditcard.php" hash="d055547ad354429c2c4b061353a9f121"/><file name="StatusMapping.php" hash="e127b6ad927d0fdbf8216d4a100c0974"/></dir><dir name="Misc"><dir name="Email"><file name="Abstract.php" hash="50f7c3519a70855acb69d255cb0056d6"/><file name="Interface.php" hash="d07157b9ca17401277b35f7aea92a7cc"/></dir><file name="Creditmemo.php" hash="f9509d5a67e5ecd3cf029750beea9106"/><file name="Discount.php" hash="4ce56b1b21f8c39961c4bbe860eda20c"/><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><dir name="Payment"><dir name="Method"><file name="Interface.php" hash="3565bc684997b02456b369066cc97c06"/></dir><file name="Method.php" hash="6bb814af1090e38f3db39da32b26a3de"/></dir><dir name="Protect"><file name="AddressCheck.php" hash="7293d9854b25322a66ee00206f3071ce"/><file name="Creditrating.php" hash="ffe6d1d2c95d641535a5027b2afb54cc"/></dir><file name="AreaAbstract.php" hash="e75eacc876e77fa1f540e15a8a89a1d5"/><file name="AreaInterface.php" hash="9822e7864b81dcdade053baea64db83f"/><file name="General.php" hash="8f274fdb68951ab6b5a782d6c7de808c"/><file name="Interface.php" hash="a3de42afc8b6907e64d522aa3ec5cf63"/><file name="Misc.php" hash="bbac6a7fa27f05c7f21071fa01ac3460"/><file name="Payment.php" hash="727160b76efedc58a77dd9d84b28c1cc"/><file name="Protect.php" hash="21be6a05897ce9a155363ce56e0a5e4d"/></dir><dir name="Cronjob"><dir name="TransactionStatus"><file name="Worker.php" hash="1e7090f9b91571176224d97a3e932ede"/></dir><file name="Abstract.php" hash="123c05ac24b16ce69ec970a5da85f10e"/></dir><dir name="Domain"><dir name="Config"><file name="PaymentMethod.php" hash="167c9e718c777e3639f36a86c46c9a43"/></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><dir name="TransactionStatus"><file name="Collection.php" hash="884176fcb71b1a76d2b094bb70644c5e"/></dir><file name="Api.php" hash="bb257184fa77ef1b71f0964168dd78af"/><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="c4c3ce8cc3f69d3684e68b918e20919c"/></dir><dir name="Handler"><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="49112579f8ca4277741224a1073dd10e"/><file name="Creditrating.php" hash="bea1fdc1b47a9e92ea6649ad2d360881"/><file name="Interface.php" hash="601a0d018c10962c13e26c67ecb60deb"/></dir><file name="Abstract.php" hash="7916a63c5d1ca3c7cec27cc6bd038846"/><file name="Interface.php" hash="8137fbb2cea9866c2d6a64421653b1f7"/></dir><dir name="Mapper"><dir name="ApiRequest"><dir name="Management"><file name="GetInvoice.php" hash="3e55c698ee6e54a911c7c8c04854aa68"/></dir><dir name="Payment"><dir name="Authorize"><file name="Abstract.php" hash="885ddecce5017ad01abf0c079f90e765"/></dir><file name="Abstract.php" hash="09d6fd1c30ca578922ff514762c323f1"/><file name="Authorize.php" hash="9e45d9c05036cb7714d7d2221bb0a178"/><file name="Capture.php" hash="40f89e76e34fe5373899034b67c8ab9d"/><file name="Debit.php" hash="754cf7c4e56d3001269a165ac27e0309"/><file name="Interface.php" hash="2ed7debbc0cbe1979be9ad4fa583c63d"/><file name="Preauthorize.php" hash="d8139bb3b8c1ff02a9ab00e19a99c05f"/></dir><dir name="Verification"><file name="Abstract.php" hash="6b492aabd24d09580bb5c8184ebab5dd"/><file name="AddressCheck.php" hash="2661d25a9cdff23f64548782e21d4f8f"/><file name="BankAccountCheck.php" hash="71fdc57d43766fbcf67cbe4fb71261d5"/><file name="Creditrating.php" hash="be7582391431e780fe1bcd8bfb1b016a"/></dir><file name="Abstract.php" hash="67a9f749767b79e7641138f8edc9c788"/></dir><file name="Abstract.php" hash="269e16e71331e002333535450d4d2924"/></dir><dir name="Observer"><dir name="Checkout"><dir name="Onepage"><dir name="Payment"><file name="Methods.php" hash="f1cb2d2e1e155d446b17c0f96e974b65"/></dir></dir><file name="Onepage.php" hash="98d4284c874b732a906244c2f5bf1c08"/></dir><dir name="Protocol"><file name="Api.php" hash="8756084b6e8c4ce3ff7fddfae2cbba8f"/></dir><dir name="Sales"><dir name="Order"><file name="Invoice.php" hash="b3a6f5568225a0c2aafb4014c9974a51"/></dir><dir name="Quote"><file name="Address.php" hash="9a6d3e1e068564fdda82ccfc15fce5d1"/><file name="Payment.php" hash="49864ede5b1ab94fc51a98b4cadc2874"/></dir><file name="Order.php" hash="a227d7c114e95a42f5d820170b4d4048"/></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="1f84f305b85da2575cfe6fdadc7a0df1"/><file name="OrderConfirmation.php" hash="0ba29147ead6d943964be30c2b5aa1a6"/><file name="Reminder.php" hash="e476fbafaec9b3f2fa3d0ec5f57f6dce"/><file name="StoreClearingParameters.php" hash="467c55ce76176e9bcd566e7573f90709"/></dir><file name="Abstract.php" hash="9530c08cad0c830d390eabbdd8ebc3ab"/></dir><dir name="Payment"><dir name="Method"><file name="Abstract.php" hash="4c06126f7c6655df5151b0dd7d4aa640"/><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="fe00dea48a34c307e7b2e92160ef0c2d"/><file name="Invoice.php" hash="b6dc6fd8189c61f04a440b39d72a2c61"/><file name="OnlineBankTransfer.php" hash="5f6e2a08c6f83534f15b05f95bfceb37"/><file name="SafeInvoice.php" hash="845b30b96bb34eabb735f2c9841201fc"/><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"><dir name="Config"><dir name="PaymentMethod"><file name="Create.php" hash="af77caf92d5d7a87f691a571d5300c34"/></dir><file name="XmlGenerate.php" hash="c56dfc7ca026da891944ba87307a0e19"/></dir><dir name="Export"><file name="Collection.php" hash="ba553e1ced6fd131b725c92150e09a78"/></dir><dir name="Management"><file name="GetInvoice.php" hash="16da5759ecfbe625633da5e1e00cfecd"/></dir><dir name="Payment"><file name="Abstract.php" hash="279c23a0b23532b07dcde5c94c0ac69e"/><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="44d6fa966ca4b4fc50bd4e4a754ddf74"/></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="92c549b0a2e53b86578015e4449f83a1"/><file name="StoreClearingParameters.php" hash="e80dbd57772612fffd1b8bd1d5a36b00"/></dir><dir name="Verification"><file name="Abstract.php" hash="0fde90b0db9c18f414e5e90843f0e6ce"/><file name="AddressCheck.php" hash="b6e828cf9dc96d7e9cafae8037aa942f"/><file name="BankAccountCheck.php" hash="80a0a1e3e7954448751dbb3241f8b441"/><file name="Creditrating.php" hash="92e4605a2a83ea61e6fc1308d22e85de"/></dir><file name="Abstract.php" hash="9c2a7aeecb9fc0303ac20a6ddc73ae96"/><file name="InitializeConfig.php" hash="941c42e76ab330f1f2895c026025a009"/><file name="InitializePayment.php" hash="688d23ed08cdc74797818ad84d9359cc"/></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Protect.php" hash="8f7d595e6f8044ea4a1c2dbbdebaa655"/></dir><file name="Abstract.php" hash="b40c21183506dfb5e94f43cd8ec61ac3"/><file name="AddressCheckType.php" hash="11f0297e62f8aa723051bef05b1a1024"/><file name="AuthorizeMethod.php" hash="ab01882f7e8b685bf65c9c2cf630f8dd"/><file name="AuthorizeMethodFinancing.php" hash="4176d6fa53e5d7dc9c3e2f2cc6996450"/><file name="AvsResult.php" hash="b1e3ca79a77286e1e705501a33c13855"/><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="fcaa33aa9d7fc92fd1349253db93dac5"/><file name="HandleResponseError.php" hash="6c92277e38f8256f6fe7b6696107fdd2"/><file name="MethodType.php" hash="a2bb15d6a43746cc1c87a9ee252d87ef"/><file name="Mode.php" hash="f4b7f10abd52f5b5d23873e159e4fc23"/><file name="OnlinebanktransferType.php" hash="804bf6bd18c9903519e48072ab33d1da"/><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="fd78c81867dc96396ac85dbcf99c4c7b"/><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><file name="Config.php" hash="e377c2462e81c4a6caacd784cf6a5d65"/><file name="Factory.php" hash="5a7f66fcf58cc99cdb7e18e0aa05121e"/></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="e3d8e43dfabf4fd2589482574655bdff"/></dir><file name="WizardController.php" hash="cfc6b411102e225a48935cee6e0c7576"/></dir><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="InformationController.php" hash="4fbe3552aff0415f9e6e6574c7dfc080"/><file name="TransactionController.php" hash="59e0e04c5ef04e28a3b781a1c2c3b412"/></dir><dir name="Checkout"><dir name="Onepage"><file name="PaymentController.php" hash="9b23e22c6ea7fb7372649a0ca613e849"/></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="2cdc18c63a7c740fee3e68f3337880fc"/><file name="system.xml" hash="07587c2d5653e9a7bcabad7dfe79dbe8"/></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="040f058a08ea97fd428baf3552988ca3"/><file name="mysql4-upgrade-3.0.8-3.0.9.php" hash="e1167adfd84fecdb908f99698c74aa56"/><file name="mysql4-upgrade-3.1.0-3.1.1.php" hash="d7c545b39a8ec2764fdcadd6656005dd"/><file name="upgrade-3.0.12-3.1.0.sql" hash="bd9827b38f1a1ed0fdb049c889ceb29f"/></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"><dir name="Mapper"><dir name="Config"><file name="General.php" hash="e24eb1f80ab89b37da5bfe333e34ed05"/><file name="Payment.php" hash="37dd103a0f2ff3493a93c3ec03474671"/><file name="Protect.php" hash="7192a4e8e1789401dbb69dc4c1891ed3"/></dir><file name="Abstract.php" hash="a784a82feaf6120184bc5e53331bd519"/></dir><dir name="Service"><dir name="Configuration"><file name="GeneralMigrate.php" hash="044e996b5f7243086d66d85444bef05c"/><file name="PaymentMigrate.php" hash="d1f414eee15c465f5b9f7eedd56dad2f"/><file name="ProtectMigrate.php" hash="1289918e3fb0f87dec2c4d3cd76ad77c"/></dir><dir name="Sales"><file name="PaymentMigrate.php" hash="b0cb16acd822816b82009b5f648eb4f6"/></dir><file name="Abstract.php" hash="2208fd00d748f4e42470c57a90fad2a2"/><file name="Migrate.php" hash="07b0deb7c09a313a2b337b684c76f9da"/></dir><file name="Factory.php" hash="614bc12c240bd0c917fdc090c8018ccc"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Wizard"><file name="MigrationController.php" hash="578c2b786ec293a24bce53806f16c102"/></dir><file name="MigrationController.php" hash="7d9f458c55ee1fe5232c6d7136d86551"/></dir></dir><dir name="etc"><file name="config.xml" hash="849e4742286f7887eaa42a662d16876b"/></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"><dir name="configuration"><dir name="wizard"><dir name="page"><dir name="form"><file name="container.phtml" hash="3c7287c0c40be94a1b1189a6cd7f8812"/></dir><dir name="payment"><dir name="grid"><file name="container.phtml" hash="1b00428676495848907360d99697bd80"/></dir></dir><dir name="view"><file name="container.phtml" hash="042d56bf10158e1944c48f788f48121e"/></dir><file name="finish.phtml" hash="956ddfbe0e9971e647735fe4a45abf0e"/><file name="index.phtml" hash="66e73112887b5c1028fac21d5ce97c71"/><file name="store_switcher.phtml" hash="6871e556b2872ba357ea95be0c543a6a"/></dir><file name="iframe.phtml" hash="186c008f6b31f8276a84aeb7d3c404e4"/><file name="index.phtml" hash="2deddd95d55920eff1ccc96959857b75"/></dir></dir><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="a96f910448206def6eb3ba70fceeb4c7"/><file name="invoice.phtml" hash="b0548563fdacc3cb1757a838d2c03158"/></dir><dir name="info"><file name="advancepayment.phtml" hash="74b458367e5712c859d800b933ed95ff"/><file name="cashondelivery.phtml" hash="1d901a82060a238c89f3940714256a7c"/><file name="creditcard.phtml" hash="2fb283ff1046cf761d6a120c873aa822"/><file name="debitpayment.phtml" hash="f8d0de0ffc00bb87e42d57db03df4854"/><file name="financing.phtml" hash="8719ffe34094d2f0ce884cb9d8ebc04a"/><file name="invoice.phtml" hash="64001ffc31c0eafb832c03edd285fc5d"/><file name="onlinebanktransfer.phtml" hash="d6504ebddc33f064c0acb2736c22f6ac"/><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"><dir name="tab"><file name="exception.phtml" hash="54d0c77b153ff41fa10391b3177fc96a"/><file name="general.phtml" hash="8d4ad5cd56d33fd7fdcf0b4ff7bc0cc9"/></dir><file name="plane.phtml" hash="fcfcb586c7c92606a6c309489c878d53"/></dir></dir><dir name="transactionstatus"><dir name="view"><dir name="tab"><file name="general.phtml" hash="fd318ab622c4aa2c0554d7ce81843361"/></dir><file name="plane.phtml" hash="7d19a22206a2384f5972a313017e4589"/></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="a62e04db5eb68265b72d03984fe03e99"/></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="27d6f761e1ebdce936de0a7d60ac8bfe"/></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="7e2fde2318c46067624775720dcf1bf4"/><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"><dir name="tab"><file name="general.phtml" hash="68caff5aa8efad5e37378e9c7b739842"/></dir><file name="plane.phtml" hash="8f4c2ef7fecfab8eb02d12b35e862b5e"/></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><file name="client_api.phtml" hash="82d735b2326311446896dc12b826d6a5"/><file name="iframe.phtml" hash="9f74308e8b43cad2b15748b9f8368559"/></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="503893a49d142d5a74287c79d5891703"/><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"><dir name="payment"><file name="additional.phtml" hash="3882f895bd113afc428393a71f5d7ccf"/></dir><file name="init.phtml" hash="5c0c3bf8d37efdbf537b5384bc34398e"/></dir><file name="protect.phtml" hash="f99ba7707392621d73df931a3821d691"/></dir><dir name="payment"><dir name="method"><dir name="form"><dir name="onlinebanktransfer"><file name="bankgroup.phtml" hash="bde17175bafd78c3cc78a203ec8bf8c7"/></dir><file name="advancepayment.phtml" hash="53be7d1aebc234604157aa7e6dc47795"/><file name="cashondelivery.phtml" hash="0cad47103bbd341208e6252bd8fe47d1"/><file name="creditcard.phtml" hash="30846a5a6913fe10446a769c3146d416"/><file name="debitpayment.phtml" hash="13add18b63688851e1cdafdbe334cdcb"/><file name="financing.phtml" hash="efd93f7626772c46117a20dd5f121a72"/><file name="invoice.phtml" hash="64ec86d5cdd348a80a43a713abc1f0af"/><file name="onlinebanktransfer.phtml" hash="810398ac639bd3e7e6f9f5efaec91220"/><file name="safe_invoice.phtml" hash="43dabe15a22793a8b3608351e0050b3d"/><file name="wallet.phtml" hash="d07fffb20f29715a3ec4eaf5a266ceb9"/></dir><dir name="info"><file name="advancepayment.phtml" hash="611af85c9ae80aa9c702b34fc0724e79"/><file name="cashondelivery.phtml" hash="5f369ef06729584e8bf094700877386d"/><file name="creditcard.phtml" hash="1ce66b87e2655466b271153981a3b87b"/><file name="debitpayment.phtml" hash="0667cfe80b5b311cdc84fb064c063e1f"/><file name="financing.phtml" hash="25fec413f14104d9d589a88931a87443"/><file name="invoice.phtml" hash="64179e611f39b4b7e68cd367aecb0931"/><file name="onlinebanktransfer.phtml" hash="b84636742b49e7af469cfb97a23f4c0c"/><file name="safe_invoice.phtml" hash="b9431056b8e215694fcbfd56cfd6c344"/><file name="wallet.phtml" hash="099fd47c84a62ad9510a47a24345d317"/></dir></dir></dir><file name="client_api.phtml" hash="1ec0b009b38dc06caa21467c3f4ffb71"/></dir></dir></dir><dir name="layout"><dir name="payone"><file name="core.xml" hash="b727946bc51bcecc665c9c3c6ace8fa3"/></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"><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><file name="Payone_Core.csv" hash="24bc931f1b293b074226b16a589441ed"/></dir><dir name="en_US"><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><file name="Payone_Core.csv" hash="0908ce87a29cbf13b24c8153be7656ed"/></dir></target><target name="mageweb"><dir name="js"><dir name="payone"><dir name="core"><file name="addresscheck.js" hash="2cf457535287d32cd8579e31f3e2ff14"/><file name="client_api.js" hash="dd107fcd812ac77a99e3b72c01672b7a"/><file name="creditcard.js" hash="654c400d98a7da2cd655a2895493d5f4"/><file name="financing.js" hash="77ba32ce7b8c2bebf561709ebc956b41"/><file name="onlinebanktransfer.js" hash="252f5f182cf66a12528932b35f1a2442"/><file name="safe_invoice.js" hash="5cae1f2109ae6bca13ad9966152eebeb"/><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></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><dir name="Enum"><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="FinancingType.php" hash="b15dd3b0d71aa71eb858bc2772e39e1b"/><file name="InvoiceDeliverymode.php" hash="20c0fb5edc752eaa13f7485ae927302b"/><file name="InvoicingItemType.php" hash="6b179cde7ee57c4e2d979836ea0134b6"/><file name="OnlinebanktransferType.php" hash="11438be9127821ed1b160420a5139011"/><file name="RequestType.php" hash="6914b5f56151fce3e97b791bf413962b"/><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"><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="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"/><file name="Timeout.php" hash="0bfdac99f441015b835a218886ae2987"/><file name="UnknownStatus.php" hash="f8bbb8759bdb8104daaed59a31d4b632"/><file name="WritingRequestToServer.php" hash="6bac9fe5228568d57b9492afdc5096e6"/></dir><dir name="Mapper"><dir name="Currency"><file name="Interface.php" hash="a166444b69c22891983b475d98a9c4ba"/></dir><dir name="Request"><dir name="Payment"><file name="Abstract.php" hash="80457e0ca50f31bb491f9c0c30af28d3"/><file name="Authorization.php" hash="24bb9c33163acf92764c5e3d98c8890c"/><file name="Capture.php" hash="1e99a0ee422ad8a049c669ce2b0925a7"/><file name="Debit.php" hash="88646c41c5b422f60c2c71bced0c6180"/><file name="Preauthorization.php" hash="65c3d30b553aa821f77bd98d29e4bb7a"/><file name="Refund.php" hash="323148b00ae50d41058ba9ec09aca2b3"/></dir><file name="Abstract.php" hash="682ab94bfa9d4b4e772c973504b944ca"/><file name="Interface.php" hash="300f24067b5e02cbcad586ae64cd2bd0"/></dir><dir name="Response"><file name="3dsCheck.php" hash="8df0b3a1e60a42037bb428936f1af395"/><file name="Abstract.php" hash="65f949eecff5761fede0017d376613bc"/><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="CreditCardCheck.php" hash="507102173d66ffc8c59643c8c5c8b962"/><file name="Debit.php" hash="0cc821fe414ba12b6f0a47c737032b81"/><file name="GetInvoice.php" hash="e8d48e92395106748609307bf75d9757"/><file name="Interface.php" hash="ec7a85fd32a14f8e3fb6c53999a3b29c"/><file name="Preauthorization.php" hash="61ca02a765f954d8d7ef3787bc998c0b"/><file name="Refund.php" hash="49db64773b4d50e513d0dd0b229f2a94"/></dir><file name="Abstract.php" hash="4b8a025d4e906ee806d025ec9fd8f385"/><file name="Currency.php" hash="f8b9151eb9f4851d9c0b1dcee5dde465"/><file name="currency.properties" hash="eef9fbec34f4f4a2602f6081fcfda371"/></dir><dir name="Persistence"><file name="Interface.php" hash="a77efa3aeb4734aebfe18c9f7e4ccc7f"/></dir><dir name="Request"><dir name="Authorization"><file name="Abstract.php" hash="80971aafc19e11d5e3223a9048b719d1"/></dir><dir name="Parameter"><dir name="Authorization"><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="6f6dac89fdaa2ac4f8cf564be3553ae6"/><file name="Financing.php" hash="2b2ba3e07535705c0382d538110eafdf"/><file name="OnlineBankTransfer.php" hash="4b3f69cbf65904c7d64ee6d8323636c2"/><file name="Wallet.php" hash="f4a72017354b2b8ffba75892e6decddb"/></dir><file name="3dsecure.php" hash="1280e05ad2671b85255b64ebc64d69d0"/><file name="Abstract.php" hash="cf44e93bc1e56cc84df5f4ab4088050b"/><file name="Business.php" hash="b8c430800c69b62410037cf57491c3cb"/><file name="DeliveryData.php" hash="8b021a87ba54850894bbf7c12e8bffe5"/><file name="PersonalData.php" hash="992369ce211f095124f03adfe435441d"/></dir><dir name="Capture"><dir name="Invoicing"><file name="Transaction.php" hash="f6dce30897bbc38eae58ed5bd10d7e0a"/></dir><file name="Business.php" hash="fb5c8262c2eaad6a2ce9cbb88afe0b2a"/></dir><dir name="Debit"><dir name="PaymentMethod"><file name="Abstract.php" hash="10fe457332ef63d231208d5074a87925"/><file name="BankAccount.php" hash="42e4a48e3c794412fa2c99c487c9aa2f"/><file name="CreditCard.php" hash="8c30a4f7a7352bc137a7708b2e35de70"/></dir><file name="Abstract.php" hash="ad7c2f583cd2bb8f2e2799319ec293f3"/><file name="Business.php" hash="cb5ced7f6e449a4572227fd868681e1f"/></dir><dir name="Invoicing"><file name="Item.php" hash="b61d4ceadc6dadc4ba5082d7c6705568"/><file name="Transaction.php" hash="3038d8b62150e0e51763d48c4ff8e239"/></dir><dir name="Refund"><dir name="PaymentMethod"><file name="BankAccount.php" hash="da26a54c7899f2864ace21ecb3729d7d"/></dir><file name="Abstract.php" hash="6e49e729223f6ea7d095d43923928b9d"/></dir><file name="Abstract.php" hash="653a1b46ee15ed2d01a55e2f24a1dc9f"/><file name="Interface.php" hash="6e34e7349bf3eb3ea52418781b6bca31"/></dir><file name="3dsCheck.php" hash="8502019ed3c3057fe05ee3c1a71aca21"/><file name="Abstract.php" hash="5c9806f9f608d5f5e89b9c54927990db"/><file name="AddressCheck.php" hash="aa187c6821e3cef431b119c33a5bf23f"/><file name="Authorization.php" hash="52ed73816ee6887ed4461e5850893182"/><file name="BankAccountCheck.php" hash="c9de3679f926b91603815ea66916450f"/><file name="Capture.php" hash="1f853ee78f5813ee4e68082fff76fa53"/><file name="Consumerscore.php" hash="afc7c64148ff01a2044dc748eb78d8a4"/><file name="CreditCardCheck.php" hash="92abb97fdb171cd07a0af63d51de7fd5"/><file name="Debit.php" hash="f2fcec84c6d37efa17df7598933c7b26"/><file name="GetInvoice.php" hash="a5bf340eef45f0b974badc21899423c6"/><file name="Interface.php" hash="338199100f226bb478a7e79c1594bfc9"/><file name="Preauthorization.php" hash="0a681074560da4069e694892c0064f6c"/><file name="Refund.php" hash="56c0bb2425448b6e0a57bdd35944250b"/></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><dir name="AddressCheck"><file name="Invalid.php" hash="132932a39401c298578935e74c416fbe"/><file name="Valid.php" hash="29793361fab8fffc1216ebf211660dde"/></dir><dir name="Authorization"><file name="Abstract.php" hash="b1073e7d1dfa3f6078d74e8f33f7d9ac"/><file name="Approved.php" hash="a344f89cf8166b673a843e595e92fbff"/><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="d4a89d6174e4e688eb761cb3ef799803"/></dir><dir name="Capture"><file name="Approved.php" hash="8166e09325a3eaa608e1f64103c57743"/></dir><dir name="Consumerscore"><file name="Invalid.php" hash="4ec7a41513ca28e7081e0a7b0fa35f44"/><file name="Valid.php" hash="e0053bb2af649d504dad28f163c0a61c"/></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><dir name="Management"><file name="GetInvoice.php" hash="00cced79a4094cfdcb42a25da88f9fef"/></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><file name="Abstract.php" hash="8aa20c1529cc03a0f6c64d8e4f2690b2"/><file name="Error.php" hash="361aab061dbcd5aade4d2a2ae5224620"/><file name="Interface.php" hash="bfb530e8de56624e9a5a93bb3d8d22d3"/><file name="Invalid.php" hash="d91d1b8f6214e350493c688f3226325b"/></dir><dir name="Service"><dir name="Management"><file name="GetInvoice.php" hash="e7e764daa5ec37aa40905a76236f01f7"/></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="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"/></dir><dir name="ProtocolRequest"><file name="Interface.php" hash="e45a08d8c42675881617033eda0df27b"/></dir><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><file name="Abstract.php" hash="24ef22fd385dd99d6f2bf4413b74cac1"/><file name="Interface.php" hash="a3c79f33b0a9ac10778c088e2b660ad3"/><file name="ProtocolRequest.php" hash="84ff92e03b1ce5237c7384df13dca268"/></dir><dir name="Validator"><file name="Abstract.php" hash="ead86ababa76997e8dd8886ebfc3335c"/><file name="DefaultParameters.php" hash="e4fb2582a213f164d9ca8f2ba764cb06"/><file name="Interface.php" hash="cd0994f06f5cb491f19820e99da952d0"/></dir><file name="Config.php" hash="d5024c64e3e7b543d56fe7999ad00fe5"/><file name="Factory.php" hash="84dd815fe61c749581731ff17034765e"/></dir><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><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><file name="Factory.php" hash="7fe76a15b47eb692360485b2c86d0023"/></dir><dir name="Config"><file name="Abstract.php" hash="57627d0919526793ad2fb0e5d70d32d8"/></dir><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"><dir name="xml"><file name="log4php.dtd" hash="d4da6c96c895b879f6b1924eb8d949d4"/></dir><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><dir name="Protocol"><dir name="Config"><file name="Filter.php" hash="ff54f7b1edd77bc696746ff631d48c14"/></dir><dir name="Exception"><file name="FilterNotFound.php" hash="72b1c4ffa31b18ec27eed40469d222ae"/><file name="InvalidConfig.php" hash="78345f6cd5dd3918747303c9780eda09"/></dir><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"><dir name="Protocol"><file name="Abstract.php" hash="c123ad9b6ed31d34c1236cbbe3c8c0a6"/></dir><file name="ApplyFilters.php" hash="ab881b292dade78add817503e15b68ea"/></dir><file name="Factory.php" hash="690d0411a8e3967091117745bd7290ad"/></dir><dir name="Settings"><dir name="Configuration"><dir name="Api"><file name="RequestType.php" hash="f6b23bf2652034cbc3d50ad0e782f8f1"/><file name="ResponseType.php" hash="b2422c4e38f381bd370176a6b0a0011d"/></dir><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><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><file name="Abstract.php" hash="b535ec70b40d20ab24aa248bcf3f05b4"/><file name="Mode.php" hash="d5b47124f2893bdf3440ec48eb2c646d"/><file name="PaymentMethod.php" hash="e1c8fe981eda7dfbb4330605d0dddbe3"/><file name="Reminderlevel.php" hash="bdc018a59eaab4d13209fc529afd7d51"/></dir><dir name="Data"><dir name="ConfigFile"><dir name="Global"><file name="StatusMapping.php" hash="9abad2df07db470433b8d46d8c4b9321"/></dir><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="c617a33990cda0dcaf467b82b5b466f8"/><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><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="Abstract.php" hash="45594b9218dd0cbf9a2190bbc1b1e5cd"/><file name="Collection.php" hash="2b387c4da779190bc3c774e5012383b2"/><file name="Interface.php" hash="70133ac956846d5151edfeca478b9502"/><file name="Root.php" hash="65fe84a867e02b4e5d1815bb3e94ce32"/><file name="Shop.php" hash="fcde392839c80db0f28811b5178364a6"/></dir></dir><dir name="Service"><file name="XmlGenerate.php" hash="9eda0510f8c572d904097ffb8c838d20"/><file name="XmlParse.php" hash="987a9edf0ca8f2eebcab576ca9270df1"/></dir><file name="Factory.php" hash="e41b108aa4efba5210946af4602df9e6"/></dir><dir name="TransactionStatus"><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><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><dir name="Response"><file name="Abstract.php" hash="559a911ec0743a718dbccf3605500d53"/><file name="Interface.php" hash="1087ea1a0c70040daad6eac2014790e2"/></dir><dir name="Service"><dir name="ProtocolRequest"><file name="Interface.php" hash="7576d86a4061811d9d1508c9d26c7277"/></dir><file name="HandleRequest.php" hash="49cb49d3d99139b87f3361cbf2562e75"/><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><file name="Config.php" hash="5fe7ae51f4e65c69865bc4d2ae48328c"/><file name="Factory.php" hash="cacd4d296964cb8a305eba713092798c"/><file name="Request.php" hash="d34f0d7314064d523896d8a4f916bb4b"/><file name="Response.php" hash="ef77f669ce7c928df87a2d063f6762e4"/></dir><file name="Autoload.php" hash="6f4b9aa2d3652eef4913b624fd00ace5"/><file name="Bootstrap.php" hash="e0e3380ceba6f5315d57f1d3238bfb92"/><file name="Builder.php" hash="4df7346c12f7f039725ffd492cba6ef0"/><file name="Config.php" hash="7f54b177836041bde75611c40d3af759"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="payone"><dir name="core"><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="boxes.css" hash="1a9ef798278e1d1dcc3c8dd86eb8ddca"/><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></target></contents>
38
  <compatible/>
39
  <dependencies/>
40
  </package>