Mage_Payone - Version 3.3.3

Version Notes

Mage_Payone-3.2.0

Download this release

Release Info

Developer PAYONE
Extension Mage_Payone
Version 3.3.3
Comparing to
See all releases


Code changes from version 3.3.1 to 3.3.3

Files changed (93) hide show
  1. app/code/community/Payone/Core/Block/Payment/Method/Form/Abstract.php +1 -1
  2. app/code/community/Payone/Core/Block/Payment/Method/Info/Abstract.php +1 -1
  3. app/code/community/Payone/Core/Block/Paypal/Express/Form.php +37 -0
  4. app/code/community/Payone/Core/Block/Paypal/Express/Review.php +78 -0
  5. app/code/community/Payone/Core/Block/Paypal/Express/Review/Billing.php +59 -0
  6. app/code/community/Payone/Core/Block/Paypal/Express/Review/Details.php +37 -0
  7. app/code/community/Payone/Core/Block/Paypal/Express/Review/Shipping.php +53 -0
  8. app/code/community/Payone/Core/Block/Paypal/Express/Shortcut.php +164 -0
  9. app/code/community/Payone/Core/Model/Config/General.php +21 -0
  10. app/code/community/Payone/Core/Model/Config/General/PaymentPaypalExpressCheckout.php +77 -0
  11. app/code/community/Payone/Core/Model/Config/Payment/Method.php +63 -0
  12. app/code/community/Payone/Core/Model/Config/Payment/Method/Interface.php +30 -0
  13. app/code/community/Payone/Core/Model/Domain/Config/PaymentMethod.php +3 -1
  14. app/code/community/Payone/Core/Model/Factory.php +65 -0
  15. app/code/community/Payone/Core/Model/Handler/Payment/Genericpayment.php +38 -0
  16. app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Abstract.php +2 -1
  17. app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Authorize/Abstract.php +23 -7
  18. app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Capture.php +3 -2
  19. app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Debit.php +2 -1
  20. app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Genericpayment.php +112 -0
  21. app/code/community/Payone/Core/Model/Service/Payment/Genericpayment.php +72 -0
  22. app/code/community/Payone/Core/Model/Service/Paypal/Express/Checkout.php +643 -0
  23. app/code/community/Payone/Core/Model/Session.php +38 -0
  24. app/code/community/Payone/Core/controllers/Checkout/Onepage/PaymentController.php +3 -3
  25. app/code/community/Payone/Core/controllers/PexpressController.php +282 -0
  26. app/code/community/Payone/Core/etc/config.xml +2 -1
  27. app/code/community/Payone/Core/etc/system.xml +32 -1
  28. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.3.2-3.3.3.php +60 -0
  29. app/code/community/Payone/Core/sql/payone_core_setup/upgrade-3.3.2-3.3.3.sql +12 -0
  30. app/code/community/Payone/Licensemanager/etc/config.xml +12 -0
  31. app/design/frontend/base/default/layout/payone/core.xml +55 -0
  32. app/design/frontend/base/default/template/payone/core/paypal/express/shortcut.phtml +38 -0
  33. app/locale/de_DE/Payone_Core.csv +2 -0
  34. lib/Payone/Api/Adapter/Http/Abstract.php +9 -1
  35. lib/Payone/Api/Adapter/Interface.php +0 -10
  36. lib/Payone/Api/Config.php +4 -8
  37. lib/Payone/Api/Enum/GenericpaymentAction.php +32 -0
  38. lib/Payone/Api/Enum/RequestType.php +5 -0
  39. lib/Payone/Api/Enum/ResponseType.php +1 -0
  40. lib/Payone/Api/Enum/WalletType.php +77 -36
  41. lib/Payone/Api/Factory.php +85 -129
  42. lib/Payone/Api/Mapper/Request/Payment/Genericpayment.php +38 -0
  43. lib/Payone/Api/Mapper/Response/Genericpayment.php +56 -0
  44. lib/Payone/Api/Request/Abstract.php +20 -24
  45. lib/Payone/Api/Request/Authorization/Abstract.php +21 -0
  46. lib/Payone/Api/Request/Genericpayment.php +229 -0
  47. lib/Payone/Api/Request/Interface.php +1 -1
  48. lib/Payone/Api/Request/Parameter/Abstract.php +1 -1
  49. lib/Payone/Api/Request/Parameter/Paydata/DataItem.php +1 -1
  50. lib/Payone/Api/Request/Parameter/Paydata/Paydata.php +42 -10
  51. lib/Payone/Api/Response/Abstract.php +20 -5
  52. lib/Payone/Api/Response/Genericpayment/Abstract.php +33 -0
  53. lib/Payone/Api/Response/Genericpayment/Approved.php +88 -0
  54. lib/Payone/Api/Response/Genericpayment/Ok.php +23 -0
  55. lib/Payone/Api/Response/Genericpayment/Redirect.php +44 -0
  56. lib/Payone/Api/Response/Parameter/Abstract.php +81 -0
  57. lib/Payone/Api/Response/Parameter/Interface.php +38 -0
  58. lib/Payone/Api/Response/Parameter/Paydata/DataItem.php +75 -0
  59. lib/Payone/Api/Response/Parameter/Paydata/Paydata.php +128 -0
  60. lib/Payone/Api/Service/Payment/Genericpayment.php +98 -0
  61. lib/Payone/Api/Service/Payment/GenericpaymentInterface.php +34 -0
  62. lib/Payone/Api/Service/ProtocolRequest.php +4 -11
  63. lib/Payone/Autoload.php +0 -10
  64. lib/Payone/Builder.php +58 -69
  65. lib/Payone/ClientApi/Factory.php +0 -9
  66. lib/Payone/Config/Abstract.php +2 -10
  67. lib/Payone/Enum/ClearingType.php +0 -9
  68. lib/Payone/Enum/Mode.php +0 -9
  69. lib/Payone/Enum/Reminderlevel.php +0 -9
  70. lib/Payone/Protocol/Factory.php +5 -37
  71. lib/Payone/Protocol/Filter/Filterable.php +2 -11
  72. lib/Payone/Protocol/Filter/MaskAllValue.php +18 -0
  73. lib/Payone/Protocol/Service/ApplyFilters.php +58 -81
  74. lib/Payone/SessionStatus/Config.php +5 -18
  75. lib/Payone/SessionStatus/Factory.php +0 -9
  76. lib/Payone/SessionStatus/Mapper/Request.php +2 -2
  77. lib/Payone/SessionStatus/Request.php +0 -11
  78. lib/Payone/SessionStatus/Request/Abstract.php +22 -25
  79. lib/Payone/SessionStatus/Request/Interface.php +1 -1
  80. lib/Payone/SessionStatus/Request/Item/Abstract.php +22 -25
  81. lib/Payone/SessionStatus/Request/Item/Interface.php +1 -1
  82. lib/Payone/SessionStatus/Response.php +0 -11
  83. lib/Payone/SessionStatus/Response/Abstract.php +3 -20
  84. lib/Payone/Settings/Factory.php +0 -9
  85. lib/Payone/TransactionStatus/Config.php +4 -8
  86. lib/Payone/TransactionStatus/Factory.php +0 -9
  87. lib/Payone/TransactionStatus/Request.php +0 -1
  88. lib/Payone/TransactionStatus/Request/Abstract.php +22 -25
  89. lib/Payone/TransactionStatus/Response.php +0 -11
  90. lib/Payone/TransactionStatus/Response/Abstract.php +11 -16
  91. lib/Payone/TransactionStatus/Response/Interface.php +1 -1
  92. lib/Payone/TransactionStatus/Service/ProtocolRequest.php +111 -115
  93. package.xml +2 -2
app/code/community/Payone/Core/Block/Payment/Method/Form/Abstract.php CHANGED
@@ -281,7 +281,7 @@ class Payone_Core_Block_Payment_Method_Form_Abstract
281
  * @param string $text
282
  * @return string
283
  */
284
- public function strToXXX(string $text) {
285
  $result = str_repeat('x', strlen($text) - 8);
286
  $result = substr($text, 0, 4).$result.substr($text, -4);
287
  return $result;
281
  * @param string $text
282
  * @return string
283
  */
284
+ public function strToXXX($text) {
285
  $result = str_repeat('x', strlen($text) - 8);
286
  $result = substr($text, 0, 4).$result.substr($text, -4);
287
  return $result;
app/code/community/Payone/Core/Block/Payment/Method/Info/Abstract.php CHANGED
@@ -116,7 +116,7 @@ class Payone_Core_Block_Payment_Method_Info_Abstract
116
  * @param string $text
117
  * @return string
118
  */
119
- public function strToXXX(string $text) {
120
  $result = str_repeat('x', strlen($text) - 8);
121
  $result = substr($text, 0, 4).$result.substr($text, -4);
122
  return $result;
116
  * @param string $text
117
  * @return string
118
  */
119
+ public function strToXXX($text) {
120
  $result = str_repeat('x', strlen($text) - 8);
121
  $result = substr($text, 0, 4).$result.substr($text, -4);
122
  return $result;
app/code/community/Payone/Core/Block/Paypal/Express/Form.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_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 Adminhtml
18
+ * @copyright Copyright (c) 2012 <info@votum.de> - www.votum.de
19
+ * @author Edward Mateja <edward.mateja@votum.de>
20
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
+ * @link http://www.votum.de
22
+ */
23
+
24
+ /**
25
+ *
26
+ * @category Payone
27
+ * @package Payone_Core_Block
28
+ * @subpackage Adminhtml
29
+ * @copyright Copyright (c) 2012 <info@votum.de> - www.votum.de
30
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
+ * @link http://www.votum.de
32
+ */
33
+
34
+ class Payone_Core_Block_Paypal_Express_Form extends Mage_Paypal_Block_Express_Form
35
+ {
36
+
37
+ }
app/code/community/Payone/Core/Block/Paypal/Express/Review.php ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 Adminhtml
18
+ * @copyright Copyright (c) 2012 <info@votum.de> - www.votum.de
19
+ * @author Edward Mateja <edward.mateja@votum.de>
20
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
+ * @link http://www.votum.de
22
+ */
23
+
24
+ /**
25
+ *
26
+ * @category Payone
27
+ * @package Payone_Core_Block
28
+ * @subpackage Adminhtml
29
+ * @copyright Copyright (c) 2012 <info@votum.de> - www.votum.de
30
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
+ * @link http://www.votum.de
32
+ */
33
+
34
+ class Payone_Core_Block_Paypal_Express_Review extends Mage_Paypal_Block_Express_Review
35
+ {
36
+ /**
37
+ * Retrieve payment method and assign additional template values
38
+ *
39
+ * @return Payone_Core_Block_Paypal_Express_Review
40
+ */
41
+ protected function _beforeToHtml()
42
+ {
43
+ $methodInstance = $this->_quote->getPayment()->getMethodInstance();
44
+ $this->setPaymentMethodTitle($methodInstance->getTitle());
45
+ $this->setUpdateOrderSubmitUrl($this->getUrl("{$this->_paypalActionPrefix}/express/updateOrder"));
46
+ $this->setUpdateShippingMethodsUrl($this->getUrl("{$this->_paypalActionPrefix}/express/updateShippingMethods"));
47
+
48
+ $this->setShippingRateRequired(true);
49
+ if ($this->_quote->getIsVirtual()) {
50
+ $this->setShippingRateRequired(false);
51
+ } else {
52
+ // prepare shipping rates
53
+ $this->_address = $this->_quote->getShippingAddress();
54
+ $groups = $this->_address->getGroupedAllShippingRates();
55
+ if ($groups && $this->_address) {
56
+ $this->setShippingRateGroups($groups);
57
+ // determine current selected code & name
58
+ foreach ($groups as $code => $rates) {
59
+ foreach ($rates as $rate) {
60
+ if ($this->_address->getShippingMethod() == $rate->getCode()) {
61
+ $this->_currentShippingRate = $rate;
62
+ break(2);
63
+ }
64
+ }
65
+ }
66
+ }
67
+
68
+ // misc shipping parameters
69
+ $this->setShippingMethodSubmitUrl($this->getUrl("{$this->_paypalActionPrefix}/express/saveShippingMethod"))
70
+ ->setCanEditShippingAddress(false)
71
+ ->setCanEditShippingMethod($this->_quote->getMayEditShippingMethod())
72
+ ;
73
+ }
74
+
75
+ $this->setEditUrl(null) //$this->getUrl("{$this->_paypalActionPrefix}/express/edit")
76
+ ->setPlaceOrderUrl($this->getUrl("payone_core/pexpress/placeOrder"));
77
+ }
78
+ }
app/code/community/Payone/Core/Block/Paypal/Express/Review/Billing.php ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the GNU General Public License (GPL 3)
7
+ * that is bundled with this package in the file LICENSE.txt
8
+ *
9
+ * DISCLAIMER
10
+ *
11
+ * Do not edit or add to this file if you wish to upgrade Payone_Core to newer
12
+ * versions in the future. If you wish to customize Payone_Core for your
13
+ * needs please refer to http://www.payone.de for more information.
14
+ *
15
+ * @category Payone
16
+ * @package Payone_Core_Block
17
+ * @subpackage Adminhtml
18
+ * @copyright Copyright (c) 2012 <info@votum.de> - www.votum.de
19
+ * @author Edward Mateja <edward.mateja@votum.de>
20
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
+ * @link http://www.votum.de
22
+ */
23
+
24
+ /**
25
+ *
26
+ * @category Payone
27
+ * @package Payone_Core_Block
28
+ * @subpackage Adminhtml
29
+ * @copyright Copyright (c) 2012 <info@votum.de> - www.votum.de
30
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
+ * @link http://www.votum.de
32
+ */
33
+
34
+ class Payone_Core_Block_Paypal_Express_Review_Billing extends Mage_Checkout_Block_Onepage_Billing
35
+ {
36
+ /**
37
+ * Return Sales Quote Address model
38
+ *
39
+ * @return Mage_Sales_Model_Quote_Address
40
+ */
41
+ public function getAddress()
42
+ {
43
+ if (is_null($this->_address)) {
44
+ if ($this->isCustomerLoggedIn() || $this->getQuote()->getBillingAddress()) {
45
+ $this->_address = $this->getQuote()->getBillingAddress();
46
+ if (!$this->_address->getFirstname()) {
47
+ $this->_address->setFirstname($this->getQuote()->getCustomer()->getFirstname());
48
+ }
49
+ if (!$this->_address->getLastname()) {
50
+ $this->_address->setLastname($this->getQuote()->getCustomer()->getLastname());
51
+ }
52
+ } else {
53
+ $this->_address = Mage::getModel('sales/quote_address');
54
+ }
55
+ }
56
+
57
+ return $this->_address;
58
+ }
59
+ }
app/code/community/Payone/Core/Block/Paypal/Express/Review/Details.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_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 Adminhtml
18
+ * @copyright Copyright (c) 2012 <info@votum.de> - www.votum.de
19
+ * @author Edward Mateja <edward.mateja@votum.de>
20
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
+ * @link http://www.votum.de
22
+ */
23
+
24
+ /**
25
+ *
26
+ * @category Payone
27
+ * @package Payone_Core_Block
28
+ * @subpackage Adminhtml
29
+ * @copyright Copyright (c) 2012 <info@votum.de> - www.votum.de
30
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
+ * @link http://www.votum.de
32
+ */
33
+
34
+ class Payone_Core_Block_Paypal_Express_Review_Details extends Mage_Paypal_Block_Express_Review_Details
35
+ {
36
+
37
+ }
app/code/community/Payone/Core/Block/Paypal/Express/Review/Shipping.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 Adminhtml
18
+ * @copyright Copyright (c) 2012 <info@votum.de> - www.votum.de
19
+ * @author Edward Mateja <edward.mateja@votum.de>
20
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
+ * @link http://www.votum.de
22
+ */
23
+
24
+ /**
25
+ *
26
+ * @category Payone
27
+ * @package Payone_Core_Block
28
+ * @subpackage Adminhtml
29
+ * @copyright Copyright (c) 2012 <info@votum.de> - www.votum.de
30
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
+ * @link http://www.votum.de
32
+ */
33
+
34
+ class Payone_Core_Block_Paypal_Express_Review_Shipping extends Mage_Checkout_Block_Onepage_Shipping
35
+ {
36
+ /**
37
+ * Return Sales Quote Address model (shipping address)
38
+ *
39
+ * @return Mage_Sales_Model_Quote_Address
40
+ */
41
+ public function getAddress()
42
+ {
43
+ if (is_null($this->_address)) {
44
+ if ($this->isCustomerLoggedIn() || $this->getQuote()->getShippingAddress()) {
45
+ $this->_address = $this->getQuote()->getShippingAddress();
46
+ } else {
47
+ $this->_address = Mage::getModel('sales/quote_address');
48
+ }
49
+ }
50
+
51
+ return $this->_address;
52
+ }
53
+ }
app/code/community/Payone/Core/Block/Paypal/Express/Shortcut.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 Adminhtml
18
+ * @copyright Copyright (c) 2012 <info@votum.de> - www.votum.de
19
+ * @author Edward Mateja <edward.mateja@votum.de>
20
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
+ * @link http://www.votum.de
22
+ */
23
+
24
+ /**
25
+ *
26
+ * @category Payone
27
+ * @package Payone_Core_Block
28
+ * @subpackage Adminhtml
29
+ * @copyright Copyright (c) 2012 <info@votum.de> - www.votum.de
30
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
+ * @link http://www.votum.de
32
+ */
33
+
34
+ class Payone_Core_Block_Paypal_Express_Shortcut extends Mage_Core_Block_Template
35
+ {
36
+ /**
37
+ * Position of "OR" label against shortcut
38
+ */
39
+ const POSITION_BEFORE = 'before';
40
+ const POSITION_AFTER = 'after';
41
+
42
+ /** @var Payone_Core_Model_Factory */
43
+ private $factory = null;
44
+
45
+ /**
46
+ * Whether the block should be eventually rendered
47
+ *
48
+ * @var bool
49
+ */
50
+ protected $_shouldRender = true;
51
+
52
+ /**
53
+ * Payment method code
54
+ *
55
+ * @var string
56
+ */
57
+ protected $_paymentMethodCode = Payone_Core_Model_System_Config_PaymentMethodCode::WALLET;
58
+
59
+ /**
60
+ * Payment method type for Paypal Express
61
+ *
62
+ * @var string
63
+ */
64
+ protected $_paymentMethodType = Payone_Api_Enum_WalletType::PAYPAL_EXPRESS;
65
+
66
+ /**
67
+ * Start express action
68
+ *
69
+ * @var string
70
+ */
71
+ protected $_startAction = 'payone_core/pexpress/start';
72
+
73
+ protected function _beforeToHtml()
74
+ {
75
+ $result = parent::_beforeToHtml();
76
+ $quote = Mage::getSingleton('checkout/session')->getQuote();
77
+
78
+ // check payment method availability
79
+ $methodInstance = Mage::helper('payment')->getMethodInstance($this->_paymentMethodCode);
80
+ if (!$methodInstance || !$methodInstance->isAvailable($quote)) {
81
+ $this->_shouldRender = false;
82
+ return $result;
83
+ }
84
+
85
+ // check payment method type availability
86
+ $configMethod = $methodInstance->getConfigForQuote($quote);
87
+ $methodTypes = $configMethod->getTypes();
88
+ if(!in_array($this->_paymentMethodType, $methodTypes)) {
89
+ $this->_shouldRender = false;
90
+ return $result;
91
+ }
92
+
93
+ // check visibility button on shopping cart
94
+ $shortcutOnShoppingCart = $this->getHelperConfig()->getConfigGeneral($quote->getStoreId())->getPaymentPaypalExpressCheckout()->getPaypalExpressCheckoutVisibleOnCart();
95
+ if(empty($shortcutOnShoppingCart)) {
96
+ $this->_shouldRender = false;
97
+ return $result;
98
+ }
99
+
100
+ // set misc data
101
+ $this->setShortcutHtmlId($this->helper('core')->uniqHash('ppe_shortcut_'))
102
+ ->setCheckoutUrl($this->getUrl($this->_startAction));
103
+
104
+ $this->setImageUrl(Mage::getModel('payone_core/service_paypal_express_checkout', array(
105
+ 'quote' => $quote,
106
+ 'config' => $configMethod
107
+ ))->getCheckoutShortcutImageUrl());
108
+
109
+
110
+ return $result;
111
+ }
112
+
113
+ /**
114
+ * Render the block if needed
115
+ *
116
+ * @return string
117
+ */
118
+ protected function _toHtml()
119
+ {
120
+ if (!$this->_shouldRender) {
121
+ return '';
122
+ }
123
+ return parent::_toHtml();
124
+ }
125
+
126
+ /**
127
+ * Check is "OR" label position before shortcut
128
+ *
129
+ * @return bool
130
+ */
131
+ public function isOrPositionBefore()
132
+ {
133
+ return ($this->getShowOrPosition() && $this->getShowOrPosition() == self::POSITION_BEFORE);
134
+ }
135
+
136
+ /**
137
+ * Check is "OR" label position after shortcut
138
+ *
139
+ * @return bool
140
+ */
141
+ public function isOrPositionAfter()
142
+ {
143
+ return ($this->getShowOrPosition() && $this->getShowOrPosition() == self::POSITION_AFTER);
144
+ }
145
+
146
+ /**
147
+ * @return Payone_Core_Helper_Config
148
+ */
149
+ protected function getHelperConfig()
150
+ {
151
+ return $this->getFactory()->helperConfig();
152
+ }
153
+ /**
154
+ * @return Payone_Core_Model_Factory
155
+ */
156
+
157
+ protected function getFactory()
158
+ {
159
+ if ($this->factory === null) {
160
+ $this->factory = new Payone_Core_Model_Factory();
161
+ }
162
+ return $this->factory;
163
+ }
164
+ }
app/code/community/Payone/Core/Model/Config/General.php CHANGED
@@ -48,6 +48,10 @@ class Payone_Core_Model_Config_General extends Payone_Core_Model_Config_AreaAbst
48
  * @var Payone_Core_Model_Config_General_PaymentCreditcard
49
  */
50
  protected $payment_creditcard;
 
 
 
 
51
 
52
  /**
53
  * @var Payone_Core_Model_Config_General_ParameterNarrativeText
@@ -86,6 +90,7 @@ class Payone_Core_Model_Config_General extends Payone_Core_Model_Config_AreaAbst
86
  return $this->parameter_invoice;
87
  }
88
 
 
89
  /**
90
  * @param Payone_Core_Model_Config_General_PaymentCreditcard $payment_creditcard
91
  */
@@ -102,6 +107,22 @@ class Payone_Core_Model_Config_General extends Payone_Core_Model_Config_AreaAbst
102
  return $this->payment_creditcard;
103
  }
104
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
105
  /**
106
  * @param Payone_Core_Model_Config_General_StatusMapping $status_mapping
107
  */
48
  * @var Payone_Core_Model_Config_General_PaymentCreditcard
49
  */
50
  protected $payment_creditcard;
51
+ /**
52
+ * @var Payone_Core_Model_Config_General_PaymentPaypalExpressCheckout
53
+ */
54
+ protected $payment_paypal_express_checkout;
55
 
56
  /**
57
  * @var Payone_Core_Model_Config_General_ParameterNarrativeText
90
  return $this->parameter_invoice;
91
  }
92
 
93
+
94
  /**
95
  * @param Payone_Core_Model_Config_General_PaymentCreditcard $payment_creditcard
96
  */
107
  return $this->payment_creditcard;
108
  }
109
 
110
+ /**
111
+ * @param Payone_Core_Model_Config_General_PaymentPaypalExpressCheckout $payment_paypal_express_checkout
112
+ */
113
+ public function setPaymentPaypalExpressCheckout(Payone_Core_Model_Config_General_PaymentPaypalExpressCheckout $payment_paypal_express_checkout)
114
+ {
115
+ $this->payment_paypal_express_checkout = $payment_paypal_express_checkout;
116
+ }
117
+
118
+ /**
119
+ * @return Payone_Core_Model_Config_General_PaymentPaypalExpressCheckout
120
+ */
121
+ public function getPaymentPaypalExpressCheckout()
122
+ {
123
+ return $this->payment_paypal_express_checkout;
124
+ }
125
+
126
  /**
127
  * @param Payone_Core_Model_Config_General_StatusMapping $status_mapping
128
  */
app/code/community/Payone/Core/Model/Config/General/PaymentPaypalExpressCheckout.php ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the GNU General Public License (GPL 3)
7
+ * that is bundled with this package in the file LICENSE.txt
8
+ *
9
+ * DISCLAIMER
10
+ *
11
+ * Do not edit or add to this file if you wish to upgrade Payone_Core to newer
12
+ * versions in the future. If you wish to customize Payone_Core for your
13
+ * needs please refer to http://www.payone.de for more information.
14
+ *
15
+ * @category Payone
16
+ * @package Payone_Core_Model
17
+ * @subpackage Config
18
+ * @copyright Copyright (c) 2012 <info@votum.de> - www.votum.de
19
+ * @author Edward Mateja <edward.mateja@votum.de>
20
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
+ * @link http://www.votum.de
22
+ */
23
+
24
+ /**
25
+ *
26
+ * @category Payone
27
+ * @package Payone_Core_Model
28
+ * @subpackage Config
29
+ * @copyright Copyright (c) 2012 <info@votum.de> - www.votum.de
30
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
+ * @link http://www.votum.de
32
+ */
33
+ class Payone_Core_Model_Config_General_PaymentPaypalExpressCheckout extends Payone_Core_Model_Config_AreaAbstract
34
+ {
35
+ /**
36
+ * @var int
37
+ */
38
+ protected $paypal_express_checkout_visible_on_cart = 0;
39
+
40
+ /**
41
+ * @var string
42
+ */
43
+ protected $paypal_express_checkout_image = '';
44
+
45
+
46
+ /**
47
+ * @param int $paypal_express_checkout_visible_on_cart
48
+ */
49
+ public function setPaypalExpressCheckoutVisibleOnCart($paypal_express_checkout_visible_on_cart)
50
+ {
51
+ $this->paypal_express_checkout_visible_on_cart = $paypal_express_checkout_visible_on_cart;
52
+ }
53
+
54
+ /**
55
+ * @return int
56
+ */
57
+ public function getPaypalExpressCheckoutVisibleOnCart()
58
+ {
59
+ return $this->paypal_express_checkout_visible_on_cart;
60
+ }
61
+
62
+ /**
63
+ * @param string $paypal_express_checkout_image
64
+ */
65
+ public function setPaypalExpressCheckoutImage($paypal_express_checkout_image)
66
+ {
67
+ $this->paypal_express_checkout_image = $paypal_express_checkout_image;
68
+ }
69
+
70
+ /**
71
+ * @return string
72
+ */
73
+ public function getPaypalExpressCheckoutImage()
74
+ {
75
+ return $this->paypal_express_checkout_image;
76
+ }
77
+ }
app/code/community/Payone/Core/Model/Config/Payment/Method.php CHANGED
@@ -126,6 +126,21 @@ class Payone_Core_Model_Config_Payment_Method
126
  */
127
  protected $klarna_campaign_code = '';
128
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
129
  /**
130
  * @var int
131
  */
@@ -493,6 +508,54 @@ class Payone_Core_Model_Config_Payment_Method
493
  return $this->klarna_campaign_code;
494
  }
495
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
496
  /**
497
  * @param int $mid
498
  */
126
  */
127
  protected $klarna_campaign_code = '';
128
 
129
+ /**
130
+ * @var int
131
+ */
132
+ // protected $paypal_express_checkout_visible_on_cart = 0;
133
+
134
+ /**
135
+ * @var int
136
+ */
137
+ // protected $paypal_express_address = 0;
138
+
139
+ /**
140
+ * @var string
141
+ */
142
+ protected $paypal_express_image = '';
143
+
144
  /**
145
  * @var int
146
  */
508
  return $this->klarna_campaign_code;
509
  }
510
 
511
+ /**
512
+ * @param int $paypal_express_checkout_visible_on_cart
513
+ */
514
+ // public function setPaypalExpressCheckoutVisibleOnCart($paypal_express_checkout_visible_on_cart)
515
+ // {
516
+ // $this->paypal_express_checkout_visible_on_cart = $paypal_express_checkout_visible_on_cart;
517
+ // }
518
+
519
+ /**
520
+ * @return int
521
+ */
522
+ // public function getPaypalExpressCheckoutVisibleOnCart()
523
+ // {
524
+ // return $this->paypal_express_checkout_visible_on_cart;
525
+ // }
526
+
527
+ /**
528
+ * @param int $paypal_express_address
529
+ */
530
+ // public function setPaypalExpressAddress($paypal_express_address)
531
+ // {
532
+ // $this->paypal_express_address = $paypal_express_address;
533
+ // }
534
+
535
+ /**
536
+ * @return int
537
+ */
538
+ // public function getPaypalExpressAddress()
539
+ // {
540
+ // return $this->paypal_express_address;
541
+ // }
542
+
543
+ /**
544
+ * @param string $paypal_express_image
545
+ */
546
+ public function setPaypalExpressImage($paypal_express_image)
547
+ {
548
+ $this->paypal_express_image = $paypal_express_image;
549
+ }
550
+
551
+ /**
552
+ * @return string
553
+ */
554
+ public function getPaypalExpressImage()
555
+ {
556
+ return $this->paypal_express_image;
557
+ }
558
+
559
  /**
560
  * @param int $mid
561
  */
app/code/community/Payone/Core/Model/Config/Payment/Method/Interface.php CHANGED
@@ -293,6 +293,36 @@ interface Payone_Core_Model_Config_Payment_Method_Interface
293
  */
294
  public function getKlarnaCampaignCode();
295
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
296
  /**
297
  * @param int $mid
298
  */
293
  */
294
  public function getKlarnaCampaignCode();
295
 
296
+ /**
297
+ * @param int $paypal_express_checkout_visible_on_cart)
298
+ */
299
+ // public function setPaypalExpressCheckoutVisibleOnCart($paypal_express_checkout_visible_on_cart);
300
+
301
+ /**
302
+ * @return int
303
+ */
304
+ // public function getPaypalExpressCheckoutVisibleOnCart();
305
+
306
+ /**
307
+ * @param int $paypal_express_address
308
+ */
309
+ // public function setPaypalExpressAddress($paypal_express_address);
310
+
311
+ /**
312
+ * @return int
313
+ */
314
+ // public function getPaypalExpressAddress();
315
+
316
+ /**
317
+ * @param string $paypal_express_image
318
+ */
319
+ public function setPaypalExpressImage($paypal_express_image);
320
+
321
+ /**
322
+ * @return string
323
+ */
324
+ public function getPaypalExpressImage();
325
+
326
  /**
327
  * @param int $mid
328
  */
app/code/community/Payone/Core/Model/Domain/Config/PaymentMethod.php CHANGED
@@ -427,7 +427,9 @@ class Payone_Core_Model_Domain_Config_PaymentMethod
427
  $keyPrefix = Payone_Core_Block_Adminhtml_System_Config_Form_Payment_Method::SECTION_PAYONE_PAYMENT . '/';
428
  $keyPrefix .= Payone_Core_Block_Adminhtml_System_Config_Form_Payment_Method::GROUP_TEMPLATE_PREFIX . $methodType . '/';
429
  foreach ($data as $key => $value) {
430
- $configData[$keyPrefix . $key] = $value;
 
 
431
  }
432
 
433
  return $configData;
427
  $keyPrefix = Payone_Core_Block_Adminhtml_System_Config_Form_Payment_Method::SECTION_PAYONE_PAYMENT . '/';
428
  $keyPrefix .= Payone_Core_Block_Adminhtml_System_Config_Form_Payment_Method::GROUP_TEMPLATE_PREFIX . $methodType . '/';
429
  foreach ($data as $key => $value) {
430
+ if(!is_null($value)) {
431
+ $configData[$keyPrefix . $key] = $value;
432
+ }
433
  }
434
 
435
  return $configData;
app/code/community/Payone/Core/Model/Factory.php CHANGED
@@ -202,6 +202,21 @@ class Payone_Core_Model_Factory
202
  return $mapper;
203
  }
204
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
205
  /**
206
  * @param Payone_Core_Model_Config_Protect_AddressCheck $configAddresscheck
207
  * @return Payone_Core_Model_Mapper_ApiRequest_Verification_AddressCheck
@@ -369,6 +384,24 @@ class Payone_Core_Model_Factory
369
  return $service;
370
  }
371
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
372
  /**
373
  * @return Payone_Core_Model_Service_Management_GetInvoice
374
  */
@@ -548,6 +581,17 @@ class Payone_Core_Model_Factory
548
  return $handler;
549
  }
550
 
 
 
 
 
 
 
 
 
 
 
 
551
  /**
552
  * @return Payone_Core_Model_Handler_Management_GetInvoice
553
  */
@@ -613,6 +657,14 @@ class Payone_Core_Model_Factory
613
  return $request;
614
  }
615
 
 
 
 
 
 
 
 
 
616
 
617
  /**
618
  * @return Payone_Api_Request_AddressCheck
@@ -721,6 +773,19 @@ class Payone_Core_Model_Factory
721
  return $service;
722
  }
723
 
 
 
 
 
 
 
 
 
 
 
 
 
 
724
  /**
725
  * @return Payone_ClientApi_Service_GenerateHash
726
  */
202
  return $mapper;
203
  }
204
 
205
+ /**
206
+ * @param Payone_Core_Model_Config_Payment_Method_Interface $config
207
+ * @return Payone_Core_Model_Mapper_ApiRequest_Payment_Genericpayment
208
+ */
209
+ public function getMapperPaymentRequestGenericpayment(Payone_Core_Model_Config_Payment_Method_Interface $config)
210
+ {
211
+ /** @var $mapper Payone_Core_Model_Mapper_ApiRequest_Payment_Genericpayment */
212
+ $mapper = Mage::getModel('payone_core/mapper_apiRequest_payment_genericpayment');
213
+ $mapper->setConfigPayment($config);
214
+ $mapper->setFactory($this);
215
+ $mapper->setIsAdmin($this->getIsAdmin());
216
+
217
+ return $mapper;
218
+ }
219
+
220
  /**
221
  * @param Payone_Core_Model_Config_Protect_AddressCheck $configAddresscheck
222
  * @return Payone_Core_Model_Mapper_ApiRequest_Verification_AddressCheck
384
  return $service;
385
  }
386
 
387
+ /**
388
+ * @param Payone_Core_Model_Config_Payment_Method_Interface $config
389
+ * @return Payone_Core_Model_Service_Payment_Genericpayment
390
+ */
391
+ public function getServicePaymentGenericpayment(Payone_Core_Model_Config_Payment_Method_Interface $config)
392
+ {
393
+ $mapper = $this->getMapperPaymentRequestGenericpayment($config);
394
+ $handler = $this->getHandlerPaymentGenericpayment($config);
395
+
396
+ /** @var $service Payone_Core_Model_Service_Payment_Genericpayment */
397
+ $service = Mage::getModel('payone_core/service_payment_genericpayment');
398
+ $service->setMapper($mapper);
399
+ $service->setHandler($handler);
400
+ $service->setServiceApiPayment($this->getServiceApiPaymentGenericpayment());
401
+
402
+ return $service;
403
+ }
404
+
405
  /**
406
  * @return Payone_Core_Model_Service_Management_GetInvoice
407
  */
581
  return $handler;
582
  }
583
 
584
+ /**
585
+ * @param Payone_Core_Model_Config_Payment_Method_Interface $config
586
+ * @return Payone_Core_Model_Handler_Payment_Abstract|Payone_Core_Model_Handler_Payment_Genericpayment
587
+ */
588
+ public function getHandlerPaymentGenericpayment(Payone_Core_Model_Config_Payment_Method_Interface $config)
589
+ {
590
+ /** @var $handler Payone_Core_Model_Handler_Payment_Genericpayment */
591
+ $handler = $this->getHandlerPayment('payone_core/handler_payment_genericpayment', $config);
592
+ return $handler;
593
+ }
594
+
595
  /**
596
  * @return Payone_Core_Model_Handler_Management_GetInvoice
597
  */
657
  return $request;
658
  }
659
 
660
+ /**
661
+ * @return Payone_Api_Request_Genericpayment
662
+ */
663
+ public function getRequestPaymentGenericpayment()
664
+ {
665
+ $request = new Payone_Api_Request_Genericpayment();
666
+ return $request;
667
+ }
668
 
669
  /**
670
  * @return Payone_Api_Request_AddressCheck
773
  return $service;
774
  }
775
 
776
+ /**
777
+ * @return Payone_Api_Service_Payment_Genericpayment
778
+ */
779
+ public function getServiceApiPaymentGenericpayment()
780
+ {
781
+ $builder = $this->getBuilder();
782
+ $service = $builder->buildServicePaymentGenericpayment();
783
+
784
+ $this->afterBuildServiceApi($service);
785
+
786
+ return $service;
787
+ }
788
+
789
  /**
790
  * @return Payone_ClientApi_Service_GenerateHash
791
  */
app/code/community/Payone/Core/Model/Handler/Payment/Genericpayment.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 Handler
18
+ * @copyright Copyright (c) 2012 <info@votum.de> - www.votum.de
19
+ * @author Edward Mateja <edward.mateja@votum.de>
20
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
+ * @link http://www.votum.de
22
+ */
23
+
24
+ /**
25
+ *
26
+ * @category Payone
27
+ * @package Payone_Core_Model
28
+ * @subpackage Handler
29
+ * @copyright Copyright (c) 2012 <info@votum.de> - www.votum.de
30
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
+ * @link http://www.votum.de
32
+ */
33
+ class Payone_Core_Model_Handler_Payment_Genericpayment
34
+ extends Payone_Core_Model_Handler_Payment_Abstract
35
+ implements Payone_Core_Model_Handler_Payment_Interface
36
+ {
37
+
38
+ }
app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Abstract.php CHANGED
@@ -112,7 +112,8 @@ abstract class Payone_Core_Model_Mapper_ApiRequest_Payment_Abstract
112
  $params['de'] = $order->getShippingDescription();
113
  $params['no'] = 1;
114
  $params['pr'] = $order->getShippingInclTax();
115
- $params['va'] = $this->getShippingTaxRate();
 
116
 
117
  if ($this->getPaymentMethod()->mustTransmitInvoicingItemTypes()) {
118
  $params['it'] = Payone_Api_Enum_InvoicingItemType::SHIPMENT;
112
  $params['de'] = $order->getShippingDescription();
113
  $params['no'] = 1;
114
  $params['pr'] = $order->getShippingInclTax();
115
+ // $params['va'] = $this->getShippingTaxRate();
116
+ $params['va'] = round( $this->getShippingTaxRate() * 100 ); // transfer vat in basis point format [#MAGE-186]
117
 
118
  if ($this->getPaymentMethod()->mustTransmitInvoicingItemTypes()) {
119
  $params['it'] = Payone_Api_Enum_InvoicingItemType::SHIPMENT;
app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Authorize/Abstract.php CHANGED
@@ -72,6 +72,11 @@ abstract class Payone_Core_Model_Mapper_ApiRequest_Payment_Authorize_Abstract
72
  $request->setInvoicing($invoicing);
73
  }
74
 
 
 
 
 
 
75
  $payment = $this->mapPaymentParameters();
76
 
77
  // Not every Paymentmethod has an extra Parameter Set
@@ -197,9 +202,14 @@ abstract class Payone_Core_Model_Mapper_ApiRequest_Payment_Authorize_Abstract
197
  $personalData->setIp($ip);
198
  }
199
 
200
- // US and CA always need state and shipping_state paramters
201
- if ($billingCountry == 'US' or $billingCountry == 'CA') {
202
- $personalData->setState($billingAddress->getRegionCode());
 
 
 
 
 
203
  }
204
 
205
  // Safe Invoice "Klarna" specific personal parameters mapping
@@ -338,9 +348,14 @@ abstract class Payone_Core_Model_Mapper_ApiRequest_Payment_Authorize_Abstract
338
  $deliveryData->setShippingCity($address->getCity());
339
  $deliveryData->setShippingCountry($shippingCountry);
340
 
341
- // US and CA always need shipping_state paramters
342
- if ($shippingCountry == 'US' or $shippingCountry == 'CA') {
343
- $deliveryData->setShippingState($address->getRegionCode());
 
 
 
 
 
344
  }
345
 
346
  // Safe Invoice type "Klarna"
@@ -389,7 +404,8 @@ abstract class Payone_Core_Model_Mapper_ApiRequest_Payment_Authorize_Abstract
389
  $params['pr'] = $itemData->getPriceInclTax();
390
  $params['no'] = $number;
391
  $params['de'] = $itemData->getName();
392
- $params['va'] = number_format($itemData->getTaxPercent(), 0, '.', '');
 
393
 
394
  if ($this->getPaymentMethod()->mustTransmitInvoicingItemTypes()) {
395
  $params['it'] = Payone_Api_Enum_InvoicingItemType::GOODS;
72
  $request->setInvoicing($invoicing);
73
  }
74
 
75
+ //Add workorderid when wollet and checkout express
76
+ if($workOrderId = $payment->getAdditionalInformation(Payone_Core_Model_Service_Paypal_Express_Checkout::PAYONE_EXPRESS_CHECKOUT_WORKORDERID)) {
77
+ $request->setWorkorderId($workOrderId);
78
+ }
79
+
80
  $payment = $this->mapPaymentParameters();
81
 
82
  // Not every Paymentmethod has an extra Parameter Set
202
  $personalData->setIp($ip);
203
  }
204
 
205
+ // US, CA, CN, JP, MX, BR, AR, ID, TH, IN always need state and shipping_state paramters
206
+ if ($billingCountry == 'US' or $billingCountry == 'CA' or $billingCountry == 'CN' or $billingCountry == 'JP' or $billingCountry == 'MX' or
207
+ $billingCountry == 'BR' or $billingCountry == 'AR' or $billingCountry == 'ID' or $billingCountry == 'TH' or $billingCountry == 'IN') {
208
+ $regionCode = $billingAddress->getRegionCode();
209
+ if(empty($regionCode)) {
210
+ $regionCode = $billingAddress->getRegion();
211
+ }
212
+ $personalData->setState($regionCode);
213
  }
214
 
215
  // Safe Invoice "Klarna" specific personal parameters mapping
348
  $deliveryData->setShippingCity($address->getCity());
349
  $deliveryData->setShippingCountry($shippingCountry);
350
 
351
+ // US, CA, CN, JP, MX, BR, AR, ID, TH, IN always need shipping_state paramters
352
+ if ($shippingCountry == 'US' or $shippingCountry == 'CA' or $shippingCountry == 'CN' or $shippingCountry == 'JP' or $shippingCountry == 'MX' or
353
+ $shippingCountry == 'BR' or $shippingCountry == 'AR' or $shippingCountry == 'ID' or $shippingCountry == 'TH' or $shippingCountry == 'IN') {
354
+ $regionCode = $address->getRegionCode();
355
+ if(empty($regionCode)) {
356
+ $regionCode = $address->getRegion();
357
+ }
358
+ $deliveryData->setShippingState($regionCode);
359
  }
360
 
361
  // Safe Invoice type "Klarna"
404
  $params['pr'] = $itemData->getPriceInclTax();
405
  $params['no'] = $number;
406
  $params['de'] = $itemData->getName();
407
+ // $params['va'] = number_format($itemData->getTaxPercent(), 0, '.', '');
408
+ $params['va'] = round( $itemData->getTaxPercent() * 100 ); // transfer vat in basis point format [#MAGE-186]
409
 
410
  if ($this->getPaymentMethod()->mustTransmitInvoicingItemTypes()) {
411
  $params['it'] = Payone_Api_Enum_InvoicingItemType::GOODS;
app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Capture.php CHANGED
@@ -187,7 +187,8 @@ class Payone_Core_Model_Mapper_ApiRequest_Payment_Capture
187
  }
188
 
189
  // We have to load the tax percentage from the order item
190
- $params['va'] = number_format($orderItem->getTaxPercent(), 0, '.', '');
 
191
 
192
  $item = new Payone_Api_Request_Parameter_Invoicing_Item();
193
  $item->init($params);
@@ -200,7 +201,7 @@ class Payone_Core_Model_Mapper_ApiRequest_Payment_Capture
200
  }
201
 
202
  // Discounts:
203
- $discountAmount = $invoice->getDiscountAmount(); // Discount Amount is positive on invoice.
204
  if ($discountAmount > 0) {
205
  $invoicing->addItem($this->mapDiscountAsItem(-1 * $discountAmount));
206
  }
187
  }
188
 
189
  // We have to load the tax percentage from the order item
190
+ // $params['va'] = number_format($orderItem->getTaxPercent(), 0, '.', '');
191
+ $params['va'] = round( $orderItem->getTaxPercent() * 100 ); // transfer vat in basis point format [#MAGE-186]
192
 
193
  $item = new Payone_Api_Request_Parameter_Invoicing_Item();
194
  $item->init($params);
201
  }
202
 
203
  // Discounts:
204
+ $discountAmount = abs($invoice->getDiscountAmount()); // Discount Amount is positive on invoice.
205
  if ($discountAmount > 0) {
206
  $invoicing->addItem($this->mapDiscountAsItem(-1 * $discountAmount));
207
  }
app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Debit.php CHANGED
@@ -164,7 +164,8 @@ class Payone_Core_Model_Mapper_ApiRequest_Payment_Debit
164
 
165
 
166
  // We have to load the tax percentage from the order item
167
- $params['va'] = number_format($orderItem->getTaxPercent(), 0, '.', '');
 
168
 
169
  $item = new Payone_Api_Request_Parameter_Invoicing_Item();
170
  $item->init($params);
164
 
165
 
166
  // We have to load the tax percentage from the order item
167
+ // $params['va'] = number_format($orderItem->getTaxPercent(), 0, '.', '');
168
+ $params['va'] = round( $orderItem->getTaxPercent() * 100 ); // transfer vat in basis point format [#MAGE-186]
169
 
170
  $item = new Payone_Api_Request_Parameter_Invoicing_Item();
171
  $item->init($params);
app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Genericpayment.php ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the GNU General Public License (GPL 3)
7
+ * that is bundled with this package in the file LICENSE.txt
8
+ *
9
+ * DISCLAIMER
10
+ *
11
+ * Do not edit or add to this file if you wish to upgrade Payone_Core to newer
12
+ * versions in the future. If you wish to customize Payone_Core for your
13
+ * needs please refer to http://www.payone.de for more information.
14
+ *
15
+ * @category Payone
16
+ * @package Payone_Core_Model
17
+ * @subpackage Mapper
18
+ * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
19
+ * @author Matthias Walter <info@noovias.com>
20
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
+ * @link http://www.noovias.com
22
+ */
23
+
24
+ /**
25
+ *
26
+ * @category Payone
27
+ * @package Payone_Core_Model
28
+ * @subpackage Mapper
29
+ * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
30
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
+ * @link http://www.noovias.com
32
+ */
33
+ class Payone_Core_Model_Mapper_ApiRequest_Payment_Genericpayment
34
+ extends Payone_Core_Model_Mapper_ApiRequest_Payment_Abstract
35
+ {
36
+ const EVENT_TYPE = 'genericpayment';
37
+
38
+ /**
39
+ * @return Payone_Api_Request_Genericpayment
40
+ */
41
+ public function getRequest()
42
+ {
43
+ return $this->getFactory()->getRequestPaymentGenericpayment();
44
+ }
45
+
46
+ /**
47
+ * @param Mage_Sales_Model_Order_Payment $payment
48
+ * @return Payone_Api_Request_Genericpayment
49
+ */
50
+ public function mapFromPayment(Mage_Sales_Model_Order_Payment $payment)
51
+ {
52
+ $this->init($payment);
53
+
54
+ $request = $this->getRequest();
55
+
56
+ $this->mapDefaultParameters($request);
57
+
58
+ // $this->mapDefaultDebitParameters($request);
59
+ // $business = $this->mapBusinessParameters();
60
+ // $request->setBusiness($business);
61
+
62
+ /** Set Invoiceing-Parameter only if enabled in Config */
63
+ // if ($this->mustTransmitInvoiceData()) {
64
+ // $invoicing = $this->mapInvoicingParameters();
65
+ // $request->setInvoicing($invoicing);
66
+ // }
67
+
68
+ $this->dispatchEvent($this->getEventName(), array('request' => $request));
69
+ $this->dispatchEvent($this->getEventPrefix() . '_all', array('request' => $request));
70
+ return $request;
71
+ }
72
+
73
+ /**
74
+ * @param Mage_Sales_Model_Quote $quote
75
+ */
76
+ public function mapExpressCheckoutParameters($quote, $workOrderId = null)
77
+ {
78
+ $request = $this->getRequest();
79
+ $this->mapDefaultParameters($request);
80
+ $paydata = new Payone_Api_Request_Parameter_Paydata_Paydata();
81
+ if(null === $workOrderId) {
82
+ $paydata->addItem(new Payone_Api_Request_Parameter_Paydata_DataItem(
83
+ array('key' => 'action', 'data' => Payone_Api_Enum_GenericpaymentAction::PAYPAL_ECS_SET_EXPRESSCHECKOUT)
84
+ ));
85
+ } else {
86
+ $paydata->addItem(new Payone_Api_Request_Parameter_Paydata_DataItem(
87
+ array('key' => 'action', 'data' => Payone_Api_Enum_GenericpaymentAction::PAYPAL_ECS_GET_EXPRESSCHECKOUTDETAILS)
88
+ ));
89
+ $request->setWorkorderId($workOrderId);
90
+ }
91
+ $request->setPaydata($paydata);
92
+ $request->setAid($this->getConfigPayment()->getAid());
93
+ $request->setClearingtype(Payone_Enum_ClearingType::WALLET);
94
+ $request->setAmount($quote->getGrandTotal());
95
+ $request->setCurrency($quote->getQuoteCurrencyCode());
96
+ $request->setWallet(new Payone_Api_Request_Parameter_Authorization_PaymentMethod_Wallet(array(
97
+ 'wallettype' => Payone_Api_Enum_WalletType::PAYPAL_EXPRESS,
98
+ 'successurl' => Mage::getUrl('*/*/return'),
99
+ 'errorurl' => Mage::getUrl('*/*/error'),
100
+ 'backurl' => Mage::getUrl('*/*/cancel')
101
+ )));
102
+ return $request;
103
+ }
104
+
105
+ /**
106
+ * @return string
107
+ */
108
+ public function getEventType()
109
+ {
110
+ return self::EVENT_TYPE;
111
+ }
112
+ }
app/code/community/Payone/Core/Model/Service/Payment/Genericpayment.php ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@votum.de> - www.votum.de
19
+ * @author Edward Mateja <edward.mateja@votum.de>
20
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
+ * @link http://www.votum.de
22
+ */
23
+
24
+ /**
25
+ *
26
+ * @category Payone
27
+ * @package Payone_Core_Model
28
+ * @subpackage Service
29
+ * @copyright Copyright (c) 2012 <info@votum.de> - www.votum.de
30
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
+ * @link http://www.votum.de
32
+ */
33
+ class Payone_Core_Model_Service_Payment_Genericpayment
34
+ extends Payone_Core_Model_Service_Payment_Abstract
35
+ {
36
+ const EVENT_TYPE = 'genericpayment';
37
+
38
+ /** @var Payone_Api_Service_Payment_GenericpaymentInterface */
39
+ protected $serviceApiPayment = null;
40
+
41
+ /**
42
+ * @param Payone_Api_Request_Interface $request
43
+ * @return mixed
44
+ */
45
+ protected function perform(Payone_Api_Request_Interface $request)
46
+ {
47
+ return $this->getServiceApiPayment()->request($request);
48
+ }
49
+
50
+ /**
51
+ * @param Payone_Api_Service_Payment_DebitInterface $serviceApiPayment
52
+ */
53
+ public function setServiceApiPayment(Payone_Api_Service_Payment_GenericpaymentInterface $serviceApiPayment)
54
+ {
55
+ $this->serviceApiPayment = $serviceApiPayment;
56
+ }
57
+
58
+ /**
59
+ * @return Payone_Api_Service_Payment_DebitInterface
60
+ */
61
+ public function getServiceApiPayment()
62
+ {
63
+ return $this->serviceApiPayment;
64
+ }
65
+ /**
66
+ * @return string
67
+ */
68
+ public function getEventType()
69
+ {
70
+ return self::EVENT_TYPE;
71
+ }
72
+ }
app/code/community/Payone/Core/Model/Service/Paypal/Express/Checkout.php ADDED
@@ -0,0 +1,643 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * @copyright Copyright (c) 2012 <info@votum.de> - www.votum.de
18
+ * @author Edward Mateja <edward.mateja@votum.de>
19
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
20
+ * @link http://www.votum.de
21
+ */
22
+
23
+ /**
24
+ *
25
+ * @category Payone
26
+ * @package Payone_Core_Model
27
+ * @copyright Copyright (c) 2012 <info@votum.de> - www.votum.de
28
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
29
+ * @link http://www.votum.de
30
+ */
31
+
32
+ class Payone_Core_Model_Service_Paypal_Express_Checkout
33
+ {
34
+ const PAYONE_EXPRESS_CHECKOUT_WORKORDERID = 'payone_express_checkout_workorderid';
35
+ const PAYMENT_INFO_TRANSPORT_SHIPPING_OVERRIDEN = 'paypal_express_checkout_shipping_overriden';
36
+ const PAYMENT_INFO_TRANSPORT_SHIPPING_METHOD = 'paypal_express_checkout_shipping_method';
37
+ const PAYMENT_INFO_TRANSPORT_PAYER_ID = 'paypal_express_checkout_payer_id';
38
+
39
+ /**
40
+ * @var Mage_Sales_Model_Quote
41
+ */
42
+ protected $_quote = null;
43
+
44
+ /**
45
+ * Payone method config instance
46
+ * @var Payone_Core_Model_Config_Payment_Method
47
+ */
48
+ protected $_config = null;
49
+
50
+ /** @var Payone_Core_Model_Factory */
51
+ protected $factory = null;
52
+
53
+ /**
54
+ * State helper variables
55
+ * @var string
56
+ */
57
+ protected $_redirectUrl = '';
58
+ protected $_workorderid;
59
+
60
+ /**
61
+ * Order
62
+ *
63
+ * @var Mage_Sales_Model_Order
64
+ */
65
+ protected $_order = null;
66
+
67
+ /**
68
+ * Recurring payment profiles
69
+ *
70
+ * @var array
71
+ */
72
+ protected $_recurringPaymentProfiles = array();
73
+
74
+ /**
75
+ * Billing agreement that might be created during order placing
76
+ *
77
+ * @var Mage_Sales_Model_Billing_Agreement
78
+ */
79
+ protected $_billingAgreement = null;
80
+
81
+ /**
82
+ * Locale codes supported by misc images (marks, shortcuts etc)
83
+ *
84
+ * @var array
85
+ * @link https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_ECButtonIntegration#id089QD0O0TX4__id08AH904I0YK
86
+ */
87
+ protected $_supportedImageLocales = array('de_DE', 'en_AU', 'en_GB', 'en_US', 'es_ES', 'es_XC', 'fr_FR',
88
+ 'fr_XC', 'it_IT', 'ja_JP', 'nl_NL', 'pl_PL', 'zh_CN', 'zh_XC',
89
+ );
90
+
91
+ /**
92
+ * @var Mage_Customer_Model_Session
93
+ */
94
+ protected $_customerSession;
95
+
96
+ /**
97
+ * Set quote and config instances
98
+ * @param array $params
99
+ */
100
+ public function __construct($params = array())
101
+ {
102
+ if (isset($params['quote']) && $params['quote'] instanceof Mage_Sales_Model_Quote) {
103
+ $this->_quote = $params['quote'];
104
+ } else {
105
+ throw new Exception('Quote instance is required.');
106
+ }
107
+
108
+ if (isset($params['config']) && $params['config'] instanceof Payone_Core_Model_Config_Payment_Method) {
109
+ $this->_config = $params['config'];
110
+ } else {
111
+ throw new Exception('Config instance is required.');
112
+ }
113
+ $this->_customerSession = Mage::getSingleton('customer/session');
114
+ }
115
+
116
+ /**
117
+ * Checkout with PayPal image URL getter
118
+ * @return string
119
+ */
120
+ public function getCheckoutShortcutImageUrl()
121
+ {
122
+
123
+ $localUrl = $this->getHelperConfig()->getConfigGeneral($this->_quote->getStoreId())->getPaymentPaypalExpressCheckout()->getPaypalExpressCheckoutImage();
124
+ if($localUrl) {
125
+ return Mage::getBaseUrl('media') . 'payone' . DS . $localUrl;
126
+ }
127
+ return sprintf('https://www.paypal.com/%s/i/btn/btn_xpressCheckout.gif', $this->_getSupportedLocaleCode(Mage::app()->getLocale()->getLocaleCode()));
128
+ }
129
+
130
+ /**
131
+ * Specify quote payment method
132
+ *
133
+ * @param array $data
134
+ * @return array
135
+ */
136
+ public function savePayment($data)
137
+ {
138
+ if ($this->_quote->isVirtual()) {
139
+ $this->_quote->getBillingAddress()->setPaymentMethod(isset($data['method']) ? $data['method'] : null);
140
+ } else {
141
+ $this->_quote->getShippingAddress()->setPaymentMethod(isset($data['method']) ? $data['method'] : null);
142
+ }
143
+
144
+ // shipping totals may be affected by payment method
145
+ if (!$this->_quote->isVirtual() && $this->_quote->getShippingAddress()) {
146
+ $this->_quote->getShippingAddress()->setCollectShippingRates(true);
147
+ }
148
+
149
+ // $data['checks'] = Mage_Payment_Model_Method_Abstract::CHECK_USE_CHECKOUT
150
+ // | Mage_Payment_Model_Method_Abstract::CHECK_USE_FOR_COUNTRY
151
+ // | Mage_Payment_Model_Method_Abstract::CHECK_USE_FOR_CURRENCY
152
+ // | Mage_Payment_Model_Method_Abstract::CHECK_ORDER_TOTAL_MIN_MAX
153
+ // | Mage_Payment_Model_Method_Abstract::CHECK_ZERO_TOTAL;
154
+
155
+ $data['checks'] = array();
156
+
157
+ $payment = $this->_quote->getPayment();
158
+
159
+ $payment->importData($data);
160
+
161
+ $this->_quote->save();
162
+ }
163
+
164
+ /**
165
+ * Reserve order ID for specified quote and start checkout on PayPal
166
+ *
167
+ * @return mixed
168
+ */
169
+ public function start()
170
+ {
171
+ $this->_quote->collectTotals();
172
+
173
+ if (!$this->_quote->getGrandTotal() && !$this->_quote->hasNominalItems()) {
174
+ Mage::throwException(Mage::helper('payone_core')->__('PayPal does not support processing orders with zero amount. To complete your purchase, proceed to the standard checkout process.'));
175
+ }
176
+
177
+ $this->_quote->reserveOrderId()->save();
178
+
179
+ $service = $this->getFactory()->getServicePaymentGenericpayment($this->_config);
180
+ $mapper = $service->getMapper();
181
+ $request = $mapper->mapExpressCheckoutParameters($this->_quote);
182
+ $response = $this->getFactory()->getServiceApiPaymentGenericpayment()->request($request);
183
+
184
+ if($response instanceof Payone_Api_Response_Genericpayment_Redirect) {
185
+ $this->_redirectUrl = $response->getRedirecturl();
186
+ $this->_workorderid = $response->getWorkorderId();
187
+ }
188
+ }
189
+
190
+ /**
191
+ * Request with $workOrderId and saving the address
192
+ *
193
+ * @param string $workOrderId
194
+ */
195
+ public function returnFromPaypal($workOrderId)
196
+ {
197
+ $service = $this->getFactory()->getServicePaymentGenericpayment($this->_config);
198
+ $mapper = $service->getMapper();
199
+ $request = $mapper->mapExpressCheckoutParameters($this->_quote, $workOrderId);
200
+
201
+ $response = $this->getFactory()->getServiceApiPaymentGenericpayment()->request($request);
202
+
203
+ $this->_ignoreAddressValidation();
204
+
205
+ if($response instanceof Payone_Api_Response_Genericpayment_Ok) {
206
+ // @var Mage_Sales_Model_Quote_Address
207
+ $billingAddress = $this->_quote->getBillingAddress();
208
+ // @var Mage_Sales_Model_Quote_Address
209
+ $shippingAddress = $this->_quote->getShippingAddress();
210
+ foreach($response->getPayData()->getItems() as $item) {
211
+ if($item->getKey() == 'email') {
212
+ $billingAddress->setEmail($item->getData());
213
+ $shippingAddress->setEmail($item->getData());
214
+ }
215
+ if($item->getKey() == 'shipping_zip') {
216
+ $billingAddress->setPostcode($item->getData());
217
+ $shippingAddress->setPostcode($item->getData());
218
+ }
219
+ if($item->getKey() == 'shipping_country') {
220
+ $billingAddress->setCountryId($item->getData());
221
+ $shippingAddress->setCountryId($item->getData());
222
+ }
223
+ if($item->getKey() == 'shipping_state' && $item->getData() != 'Empty') {
224
+ $billingAddress->setRegion($item->getData());
225
+ $shippingAddress->setRegion($item->getData());
226
+ }
227
+ if($item->getKey() == 'shipping_city') {
228
+ $billingAddress->setCity($item->getData());
229
+ $shippingAddress->setCity($item->getData());
230
+ }
231
+ if($item->getKey() == 'shipping_street') {
232
+ $billingAddress->setStreet($item->getData());
233
+ $shippingAddress->setStreet($item->getData());
234
+ }
235
+ if($item->getKey() == 'shipping_firstname') {
236
+ $billingAddress->setFirstname($item->getData());
237
+ $shippingAddress->setFirstname($item->getData());
238
+ $this->_quote->setCustomerFirstname($item->getData());
239
+ }
240
+ if($item->getKey() == 'shipping_lastname') {
241
+ $billingAddress->setLastname($item->getData());
242
+ $shippingAddress->setLastname($item->getData());
243
+ $this->_quote->setCustomerLastname($item->getData());
244
+ }
245
+ }
246
+ $this->_quote->setBillingAddress($billingAddress);
247
+ if (!$this->_quote->getIsVirtual()) {
248
+ $shippingAddress->setCollectShippingRates(true);
249
+ $shippingAddress->setSameAsBilling(0);
250
+ $this->_quote->setShippingAddress($shippingAddress);
251
+
252
+ }
253
+
254
+ $this->_quote->getPayment()->setAdditionalInformation(self::PAYONE_EXPRESS_CHECKOUT_WORKORDERID, $workOrderId)
255
+ ->setAdditionalInformation(self::PAYMENT_INFO_TRANSPORT_PAYER_ID, $workOrderId);
256
+
257
+ $this->_quote->collectTotals()->save();
258
+ }
259
+
260
+ }
261
+
262
+ /**
263
+ * Preparing order review
264
+ */
265
+ public function prepareOrderReview()
266
+ {
267
+ $payment = $this->_quote->getPayment();
268
+ if (!$payment || !$payment->getAdditionalInformation(self::PAYMENT_INFO_TRANSPORT_PAYER_ID)) {
269
+ Mage::throwException(Mage::helper('paypal')->__('Payer is not identified.'));
270
+ }
271
+ $this->_quote->setMayEditShippingAddress(
272
+ 1 != $this->_quote->getPayment()->getAdditionalInformation(self::PAYMENT_INFO_TRANSPORT_SHIPPING_OVERRIDEN)
273
+ );
274
+ $this->_quote->setMayEditShippingMethod(
275
+ '' == $this->_quote->getPayment()->getAdditionalInformation(self::PAYMENT_INFO_TRANSPORT_SHIPPING_METHOD)
276
+ );
277
+ $this->_ignoreAddressValidation();
278
+ $this->_quote->collectTotals()->save();
279
+ }
280
+
281
+ /**
282
+ * Place the order and recurring payment profiles when customer returned from paypal
283
+ * Until this moment all quote data must be valid
284
+ *
285
+ * @param string $workOrderId
286
+ * @param string $shippingMethodCode
287
+ */
288
+ public function place($workOrderId, $shippingMethodCode = null)
289
+ {
290
+ if ($shippingMethodCode) {
291
+ $this->updateShippingMethod($shippingMethodCode);
292
+ }
293
+
294
+ $isNewCustomer = false;
295
+ switch ($this->getCheckoutMethod()) {
296
+ case Mage_Checkout_Model_Type_Onepage::METHOD_GUEST:
297
+ $this->_prepareGuestQuote();
298
+ break;
299
+ case Mage_Checkout_Model_Type_Onepage::METHOD_REGISTER:
300
+ $this->_prepareNewCustomerQuote();
301
+ $isNewCustomer = true;
302
+ break;
303
+ default:
304
+ $this->_prepareCustomerQuote();
305
+ break;
306
+ }
307
+
308
+ $this->_ignoreAddressValidation();
309
+ $this->_quote->collectTotals();
310
+ $service = Mage::getModel('sales/service_quote', $this->_quote);
311
+ $service->submitAll();
312
+ $this->_quote->save();
313
+
314
+ if ($isNewCustomer) {
315
+ try {
316
+ $this->_involveNewCustomer();
317
+ } catch (Exception $e) {
318
+ Mage::logException($e);
319
+ }
320
+ }
321
+
322
+ $this->_recurringPaymentProfiles = $service->getRecurringPaymentProfiles();
323
+
324
+ $order = $service->getOrder();
325
+ if (!$order) {
326
+ return;
327
+ }
328
+ $this->_billingAgreement = $order->getPayment()->getBillingAgreement();
329
+
330
+ switch ($order->getState()) {
331
+ // even after placement paypal can disallow to authorize/capture, but will wait until bank transfers money
332
+ case Mage_Sales_Model_Order::STATE_PENDING_PAYMENT:
333
+ // TODO
334
+ break;
335
+ // regular placement, when everything is ok
336
+ case Mage_Sales_Model_Order::STATE_PROCESSING:
337
+ case Mage_Sales_Model_Order::STATE_COMPLETE:
338
+ case Mage_Sales_Model_Order::STATE_PAYMENT_REVIEW:
339
+ $order->sendNewOrderEmail();
340
+ break;
341
+ }
342
+ $this->_order = $order;
343
+
344
+
345
+ }
346
+
347
+ /**
348
+ * Return order
349
+ *
350
+ * @return Mage_Sales_Model_Order
351
+ */
352
+ public function getOrder()
353
+ {
354
+ return $this->_order;
355
+ }
356
+
357
+ /**
358
+ * Set shipping method to quote, if needed
359
+ * @param string $methodCode
360
+ */
361
+ public function updateShippingMethod($methodCode)
362
+ {
363
+ if (!$this->_quote->getIsVirtual() && $shippingAddress = $this->_quote->getShippingAddress()) {
364
+ if ($methodCode != $shippingAddress->getShippingMethod()) {
365
+ $this->_ignoreAddressValidation();
366
+ $shippingAddress->setShippingMethod($methodCode)->setCollectShippingRates(true);
367
+ $this->_quote->collectTotals();
368
+ }
369
+ }
370
+ }
371
+
372
+ /**
373
+ * Make sure addresses will be saved without validation errors
374
+ */
375
+ private function _ignoreAddressValidation()
376
+ {
377
+ $this->_quote->getBillingAddress()->setShouldIgnoreValidation(true);
378
+ if (!$this->_quote->getIsVirtual()) {
379
+ $this->_quote->getShippingAddress()->setShouldIgnoreValidation(true);
380
+ }
381
+ }
382
+
383
+
384
+ /**
385
+ * @param Payone_Core_Model_Factory $factory
386
+ */
387
+ public function setFactory(Payone_Core_Model_Factory $factory)
388
+ {
389
+ $this->factory = $factory;
390
+ }
391
+
392
+ /**
393
+ * @return Payone_Core_Model_Factory
394
+ */
395
+ public function getFactory()
396
+ {
397
+ if ($this->factory === null) {
398
+ $this->factory = Mage::getModel('payone_core/factory');
399
+ }
400
+ return $this->factory;
401
+ }
402
+
403
+ /**
404
+ * @return Payone_Core_Helper_Config
405
+ */
406
+ protected function getHelperConfig()
407
+ {
408
+ return $this->getFactory()->helperConfig();
409
+ }
410
+
411
+ /**
412
+ * Check whether specified locale code is supported. Fallback to en_US
413
+ *
414
+ * @param string $localeCode
415
+ * @return string
416
+ */
417
+ protected function _getSupportedLocaleCode($localeCode = null)
418
+ {
419
+ if (!$localeCode || !in_array($localeCode, $this->_supportedImageLocales)) {
420
+ return 'en_US';
421
+ }
422
+ return $localeCode;
423
+ }
424
+
425
+ /**
426
+ * Determine whether redirect somewhere specifically is required
427
+ *
428
+ * @return string
429
+ */
430
+ public function getRedirectUrl()
431
+ {
432
+ return $this->_redirectUrl;
433
+ }
434
+
435
+ /**
436
+ * Determine whether redirect somewhere specifically is required
437
+ *
438
+ * @return integer
439
+ */
440
+ public function getWorkOrderId()
441
+ {
442
+ return $this->_workorderid;
443
+ }
444
+
445
+ /**
446
+ * Get checkout method
447
+ *
448
+ * @return string
449
+ */
450
+ public function getCheckoutMethod()
451
+ {
452
+ if ($this->getCustomerSession()->isLoggedIn()) {
453
+ return Mage_Checkout_Model_Type_Onepage::METHOD_CUSTOMER;
454
+ }
455
+ if (!$this->_quote->getCheckoutMethod()) {
456
+ if (Mage::helper('checkout')->isAllowedGuestCheckout($this->_quote)) {
457
+ $this->_quote->setCheckoutMethod(Mage_Checkout_Model_Type_Onepage::METHOD_GUEST);
458
+ } else {
459
+ $this->_quote->setCheckoutMethod(Mage_Checkout_Model_Type_Onepage::METHOD_REGISTER);
460
+ }
461
+ }
462
+ return $this->_quote->getCheckoutMethod();
463
+ }
464
+
465
+ /**
466
+ * Get customer session object
467
+ *
468
+ * @return Mage_Customer_Model_Session
469
+ */
470
+ public function getCustomerSession()
471
+ {
472
+ return $this->_customerSession;
473
+ }
474
+
475
+ /**
476
+ * Prepare quote for guest checkout order submit
477
+ *
478
+ * @return Mage_Paypal_Model_Express_Checkout
479
+ */
480
+ protected function _prepareGuestQuote()
481
+ {
482
+ $quote = $this->_quote;
483
+ $quote->setCustomerId(null)
484
+ ->setCustomerEmail($quote->getBillingAddress()->getEmail())
485
+ ->setCustomerIsGuest(true)
486
+ ->setCustomerGroupId(Mage_Customer_Model_Group::NOT_LOGGED_IN_ID);
487
+ return $this;
488
+ }
489
+
490
+ /**
491
+ * Prepare quote for customer registration and customer order submit
492
+ * and restore magento customer data from quote
493
+ *
494
+ * @return Mage_Paypal_Model_Express_Checkout
495
+ */
496
+ protected function _prepareNewCustomerQuote()
497
+ {
498
+ $quote = $this->_quote;
499
+ $billing = $quote->getBillingAddress();
500
+ $shipping = $quote->isVirtual() ? null : $quote->getShippingAddress();
501
+
502
+ $customerId = $this->_lookupCustomerId();
503
+ if ($customerId) {
504
+ $this->getCustomerSession()->loginById($customerId);
505
+ return $this->_prepareCustomerQuote();
506
+ }
507
+
508
+ $customer = $quote->getCustomer();
509
+ /** @var $customer Mage_Customer_Model_Customer */
510
+ $customerBilling = $billing->exportCustomerAddress();
511
+ $customer->addAddress($customerBilling);
512
+ $billing->setCustomerAddress($customerBilling);
513
+ $customerBilling->setIsDefaultBilling(true);
514
+ if ($shipping && !$shipping->getSameAsBilling()) {
515
+ $customerShipping = $shipping->exportCustomerAddress();
516
+ $customer->addAddress($customerShipping);
517
+ $shipping->setCustomerAddress($customerShipping);
518
+ $customerShipping->setIsDefaultShipping(true);
519
+ } elseif ($shipping) {
520
+ $customerBilling->setIsDefaultShipping(true);
521
+ }
522
+ /**
523
+ * @todo integration with dynamica attributes customer_dob, customer_taxvat, customer_gender
524
+ */
525
+ if ($quote->getCustomerDob() && !$billing->getCustomerDob()) {
526
+ $billing->setCustomerDob($quote->getCustomerDob());
527
+ }
528
+
529
+ if ($quote->getCustomerTaxvat() && !$billing->getCustomerTaxvat()) {
530
+ $billing->setCustomerTaxvat($quote->getCustomerTaxvat());
531
+ }
532
+
533
+ if ($quote->getCustomerGender() && !$billing->getCustomerGender()) {
534
+ $billing->setCustomerGender($quote->getCustomerGender());
535
+ }
536
+
537
+ Mage::helper('core')->copyFieldset('checkout_onepage_billing', 'to_customer', $billing, $customer);
538
+ $customer->setEmail($quote->getCustomerEmail());
539
+ $customer->setPrefix($quote->getCustomerPrefix());
540
+ $customer->setFirstname($quote->getCustomerFirstname());
541
+ $customer->setMiddlename($quote->getCustomerMiddlename());
542
+ $customer->setLastname($quote->getCustomerLastname());
543
+ $customer->setSuffix($quote->getCustomerSuffix());
544
+ $customer->setPassword($customer->decryptPassword($quote->getPasswordHash()));
545
+ $customer->setPasswordHash($customer->hashPassword($customer->getPassword()));
546
+ $customer->save();
547
+ $quote->setCustomer($customer);
548
+
549
+ return $this;
550
+ }
551
+
552
+ /**
553
+ * Prepare quote for customer order submit
554
+ *
555
+ * @return Mage_Paypal_Model_Express_Checkout
556
+ */
557
+ protected function _prepareCustomerQuote()
558
+ {
559
+ $quote = $this->_quote;
560
+ $billing = $quote->getBillingAddress();
561
+ $shipping = $quote->isVirtual() ? null : $quote->getShippingAddress();
562
+
563
+ $customer = $this->getCustomerSession()->getCustomer();
564
+ if (!$billing->getCustomerId() || $billing->getSaveInAddressBook()) {
565
+ $customerBilling = $billing->exportCustomerAddress();
566
+ $customer->addAddress($customerBilling);
567
+ $billing->setCustomerAddress($customerBilling);
568
+ }
569
+ if ($shipping && ((!$shipping->getCustomerId() && !$shipping->getSameAsBilling())
570
+ || (!$shipping->getSameAsBilling() && $shipping->getSaveInAddressBook()))) {
571
+ $customerShipping = $shipping->exportCustomerAddress();
572
+ $customer->addAddress($customerShipping);
573
+ $shipping->setCustomerAddress($customerShipping);
574
+ }
575
+
576
+ if (isset($customerBilling) && !$customer->getDefaultBilling()) {
577
+ $customerBilling->setIsDefaultBilling(true);
578
+ }
579
+ if ($shipping && isset($customerBilling) && !$customer->getDefaultShipping() && $shipping->getSameAsBilling()) {
580
+ $customerBilling->setIsDefaultShipping(true);
581
+ } elseif ($shipping && isset($customerShipping) && !$customer->getDefaultShipping()) {
582
+ $customerShipping->setIsDefaultShipping(true);
583
+ }
584
+ $quote->setCustomer($customer);
585
+
586
+ return $this;
587
+ }
588
+
589
+ /**
590
+ * Checks if customer with email coming from Express checkout exists
591
+ *
592
+ * @return int
593
+ */
594
+ protected function _lookupCustomerId()
595
+ {
596
+ return Mage::getModel('customer/customer')
597
+ ->setWebsiteId(Mage::app()->getWebsite()->getId())
598
+ ->loadByEmail($this->_quote->getCustomerEmail())
599
+ ->getId();
600
+ }
601
+
602
+ /**
603
+ * Involve new customer to system
604
+ *
605
+ * @return Mage_Paypal_Model_Express_Checkout
606
+ */
607
+ protected function _involveNewCustomer()
608
+ {
609
+ $customer = $this->_quote->getCustomer();
610
+ if ($customer->isConfirmationRequired()) {
611
+ $customer->sendNewAccountEmail('confirmation');
612
+ $url = Mage::helper('customer')->getEmailConfirmationUrl($customer->getEmail());
613
+ $this->getCustomerSession()->addSuccess(
614
+ Mage::helper('customer')->__('Account confirmation is required. Please, check your e-mail for confirmation link. To resend confirmation email please <a href="%s">click here</a>.', $url)
615
+ );
616
+ } else {
617
+ $customer->sendNewAccountEmail();
618
+ $this->getCustomerSession()->loginById($customer->getId());
619
+ }
620
+ return $this;
621
+ }
622
+
623
+ /**
624
+ * Return recurring payment profiles
625
+ *
626
+ * @return array
627
+ */
628
+ public function getRecurringPaymentProfiles()
629
+ {
630
+ return $this->_recurringPaymentProfiles;
631
+ }
632
+
633
+ /**
634
+ * Get created billing agreement
635
+ *
636
+ * @return Mage_Sales_Model_Billing_Agreement|null
637
+ */
638
+ public function getBillingAgreement()
639
+ {
640
+ return $this->_billingAgreement;
641
+ }
642
+
643
+ }
app/code/community/Payone/Core/Model/Session.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * @copyright Copyright (c) 2012 <info@votum.de> - www.votum.de
18
+ * @author Edward Mateja <edward.mateja@votum.de>
19
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
20
+ * @link http://www.votum.de
21
+ */
22
+
23
+ /**
24
+ *
25
+ * @category Payone
26
+ * @package Payone_Core_Model
27
+ * @copyright Copyright (c) 2012 <info@votum.de> - www.votum.de
28
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
29
+ * @link http://www.votum.de
30
+ */
31
+
32
+ class Payone_Core_Model_Session extends Mage_Core_Model_Session_Abstract
33
+ {
34
+ public function __construct()
35
+ {
36
+ $this->init('payone');
37
+ }
38
+ }
app/code/community/Payone/Core/controllers/Checkout/Onepage/PaymentController.php CHANGED
@@ -106,11 +106,11 @@ class Payone_Core_Checkout_Onepage_PaymentController extends Payone_Core_Control
106
  }
107
 
108
  // Load transaction status via order id, check for APPOINTED:
109
- $txStatus = $this->getFactory()->getModelTransactionStatus();
110
  $txStatus->load($order->getIncrementId(), 'reference');
111
 
112
- if (!$txStatus->hasData() or !$txStatus->getId() or !$txStatus->isAppointed()) {
113
- // Wrong or no transactionStatus for this order, failure.
114
  $message = $helper->__('Sorry, your payment has not been confirmed by the payment provider.');
115
  $checkoutSession->addError($message);
116
  return false;
106
  }
107
 
108
  // Load transaction status via order id, check for APPOINTED:
109
+ $txStatus = $this->getFactory()->getModelTransaction();
110
  $txStatus->load($order->getIncrementId(), 'reference');
111
 
112
+ if (!$txStatus->hasData() or !$txStatus->getId()) {// or !$txStatus->isAppointed()
113
+ // Wrong or no transaction for this order, failure.
114
  $message = $helper->__('Sorry, your payment has not been confirmed by the payment provider.');
115
  $checkoutSession->addError($message);
116
  return false;
app/code/community/Payone/Core/controllers/PexpressController.php ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the GNU General Public License (GPL 3)
7
+ * that is bundled with this package in the file LICENSE.txt
8
+ *
9
+ * DISCLAIMER
10
+ *
11
+ * Do not edit or add to this file if you wish to upgrade Payone_Core to newer
12
+ * versions in the future. If you wish to customize Payone_Core for your
13
+ * needs please refer to http://www.payone.de for more information.
14
+ *
15
+ * @category Payone
16
+ * @package Payone_Core_controllers
17
+ * @subpackage
18
+ * @copyright Copyright (c) 2012 <info@votum.de> - www.votum.de
19
+ * @author Edward Mateja <edward.mateja@votum.de>
20
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
+ * @link http://www.votum.de
22
+ */
23
+
24
+ /**
25
+ *
26
+ * @category Payone
27
+ * @package Payone_Core_controllers
28
+ * @subpackage
29
+ * @copyright Copyright (c) 2012 <info@votum.de> - www.votum.de
30
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
+ * @link http://www.votum.de
32
+ */
33
+
34
+ class Payone_Core_PexpressController extends Payone_Core_Controller_Abstract
35
+ {
36
+ /**
37
+ * @var Payone_Core_Model_Service_Paypal_Express_Checkout
38
+ */
39
+ protected $_checkout = null;
40
+
41
+ /**
42
+ * @var Payone_Core_Model_Config_Payment_Method
43
+ */
44
+ protected $_config = null;
45
+
46
+ /**
47
+ * @var Mage_Sales_Model_Quote
48
+ */
49
+ protected $_quote = false;
50
+
51
+ /**
52
+ * Instantiate config
53
+ */
54
+ // protected function _construct()
55
+ // {
56
+ // parent::_construct();
57
+ // $methodInstance = Mage::helper('payment')->getMethodInstance(Payone_Core_Model_System_Config_PaymentMethodCode::WALLET);
58
+ // $this->_config = $methodInstance->getConfigForQuote($this->_getQuote());
59
+ // }
60
+
61
+ public function startAction()
62
+ {
63
+ try {
64
+ $this->_initCheckout();
65
+
66
+ if ($this->_getQuote()->getIsMultiShipping()) {
67
+ $this->_getQuote()->setIsMultiShipping(false);
68
+ $this->_getQuote()->removeAllAddresses();
69
+ }
70
+
71
+ $this->_checkout->savePayment(array(
72
+ 'method' => Payone_Core_Model_System_Config_PaymentMethodCode::WALLET,
73
+ 'payone_wallet_type' => Payone_Api_Enum_WalletType::PAYPAL_EXPRESS,
74
+ 'payone_config_payment_method_id' => $this->_config->getId()
75
+ ));
76
+
77
+ $this->_checkout->start();
78
+
79
+ if (($workOrderId = $this->_checkout->getWorkOrderId()) && ($url = $this->_checkout->getRedirectUrl())) {
80
+ $this->_initWorkOrderId($workOrderId);
81
+ $this->getResponse()->setRedirect($url);
82
+ return;
83
+ }
84
+
85
+ } catch (Mage_Core_Exception $e) {
86
+ $this->_getCheckoutSession()->addError($e->getMessage());
87
+ } catch (Exception $e) {
88
+ $this->_getCheckoutSession()->addError($this->__('Unable to start Express Checkout.'));
89
+ Mage::logException($e);
90
+ }
91
+
92
+ $this->_redirect('checkout/cart');
93
+ }
94
+
95
+ public function returnAction()
96
+ {
97
+ try {
98
+ $this->_initCheckout();
99
+ $workOrderId = $this->_initWorkOrderId();
100
+
101
+ $this->_checkout->returnFromPaypal($workOrderId);
102
+ $this->_redirect('*/*/review');
103
+ return;
104
+ } catch (Mage_Core_Exception $e) {
105
+ $this->_getCheckoutSession()->addError($e->getMessage());
106
+ } catch (Exception $e) {
107
+ $this->_getCheckoutSession()->addError($this->__('Unable to start Express Checkout.'));
108
+ Mage::logException($e);
109
+ }
110
+ $this->_redirect('checkout/cart');
111
+ }
112
+
113
+ /**
114
+ * Review order after returning from PayPal
115
+ */
116
+ public function reviewAction()
117
+ {
118
+ try {
119
+ $this->_initCheckout();
120
+ $this->_checkout->prepareOrderReview();
121
+
122
+ $this->loadLayout();
123
+ $this->_initLayoutMessages('payone_core/session');
124
+ $reviewBlock = $this->getLayout()->getBlock('paypal.express.review');
125
+ $reviewBlock->setQuote($this->_getQuote());
126
+ $reviewBlock->getChild('details')->setQuote($this->_getQuote());
127
+ if ($reviewBlock->getChild('shipping_method')) {
128
+ $reviewBlock->getChild('shipping_method')->setQuote($this->_getQuote());
129
+ }
130
+ $this->renderLayout();
131
+ return;
132
+ }
133
+ catch (Mage_Core_Exception $e) {
134
+ Mage::getSingleton('checkout/session')->addError($e->getMessage());
135
+ }
136
+ catch (Exception $e) {
137
+ Mage::getSingleton('checkout/session')->addError(
138
+ $this->__('Unable to initialize Express Checkout review.')
139
+ );
140
+ Mage::logException($e);
141
+ }
142
+ $this->_redirect('checkout/cart');
143
+ }
144
+
145
+ /**
146
+ * Submit the order
147
+ */
148
+ public function placeOrderAction()
149
+ {
150
+ try {
151
+ $requiredAgreements = Mage::helper('checkout')->getRequiredAgreementIds();
152
+ if ($requiredAgreements) {
153
+ $postedAgreements = array_keys($this->getRequest()->getPost('agreement', array()));
154
+ if (array_diff($requiredAgreements, $postedAgreements)) {
155
+ Mage::throwException(Mage::helper('payone_core')->__('Please agree to all the terms and conditions before placing the order.'));
156
+ }
157
+ }
158
+
159
+ $this->_initCheckout();
160
+ $this->_checkout->place($this->_initWorkOrderId());
161
+
162
+ // prepare session to success or cancellation page
163
+ $session = $this->_getCheckoutSession();
164
+ $session->clearHelperData();
165
+
166
+ // "last successful quote"
167
+ $quoteId = $this->_getQuote()->getId();
168
+ $session->setLastQuoteId($quoteId)->setLastSuccessQuoteId($quoteId);
169
+
170
+ // an order may be created
171
+ $order = $this->_checkout->getOrder();
172
+ if ($order) {
173
+ $session->setLastOrderId($order->getId())
174
+ ->setLastRealOrderId($order->getIncrementId());
175
+ // as well a billing agreement can be created
176
+ $agreement = $this->_checkout->getBillingAgreement();
177
+ if ($agreement) {
178
+ $session->setLastBillingAgreementId($agreement->getId());
179
+ }
180
+ }
181
+
182
+ // recurring profiles may be created along with the order or without it
183
+ $profiles = $this->_checkout->getRecurringPaymentProfiles();
184
+ if ($profiles) {
185
+ $ids = array();
186
+ foreach($profiles as $profile) {
187
+ $ids[] = $profile->getId();
188
+ }
189
+ $session->setLastRecurringProfileIds($ids);
190
+ }
191
+
192
+ $this->_initWorkOrderId(false); // no need in WorkOrderId anymore
193
+ $this->_redirect('checkout/onepage/success');
194
+ return;
195
+ }
196
+ catch (Mage_Core_Exception $e) {
197
+ $this->_getSession()->addError($e->getMessage());
198
+ }
199
+ catch (Exception $e) {
200
+ $this->_getSession()->addError($this->__('Unable to place the order.'));
201
+ Mage::logException($e);
202
+ }
203
+ $this->_redirect('*/*/review');
204
+ }
205
+
206
+ /**
207
+ * Instantiate quote and checkout
208
+ * @throws Mage_Core_Exception
209
+ */
210
+ private function _initCheckout()
211
+ {
212
+ $quote = $this->_getQuote();
213
+ if (!$quote->hasItems() || $quote->getHasError()) {
214
+ $this->getResponse()->setHeader('HTTP/1.1','403 Forbidden');
215
+ Mage::throwException(Mage::helper('payone_core')->__('Unable to initialize Payone Express Checkout.'));
216
+ }
217
+ $methodInstance = Mage::helper('payment')->getMethodInstance(Payone_Core_Model_System_Config_PaymentMethodCode::WALLET);
218
+ $this->_config = $methodInstance->getConfigForQuote($quote);
219
+
220
+ $this->_checkout = Mage::getModel('payone_core/service_paypal_express_checkout', array(
221
+ 'quote' => $quote,
222
+ 'config' => $this->_config,
223
+ ));
224
+ }
225
+
226
+ /**
227
+ * Set and get $workOrderId to the session
228
+ *
229
+ * @param int $workOrderId
230
+ */
231
+ private function _initWorkOrderId($workOrderId = null)
232
+ {
233
+ if(null !== $workOrderId) {
234
+ if (false === $workOrderId) {
235
+ // security measure for avoid unsetting token twice
236
+ if (!$this->_getSession()->getWorkOrderId()) {
237
+ Mage::throwException($this->__('PayPal Express Checkout Token does not exist.'));
238
+ }
239
+ $this->_getSession()->unsWorkOrderId();
240
+ } else {
241
+ $this->_getSession()->setWorkOrderId($workOrderId);
242
+ }
243
+ return $this;
244
+ } else {
245
+ return $this->_getSession()->getWorkOrderId();
246
+ }
247
+ }
248
+
249
+ /**
250
+ * Return checkout session object
251
+ *
252
+ * @return Mage_Checkout_Model_Session
253
+ */
254
+ private function _getCheckoutSession()
255
+ {
256
+ return Mage::getSingleton('checkout/session');
257
+ }
258
+
259
+ /**
260
+ * Return checkout quote object
261
+ *
262
+ * @return Mage_Sale_Model_Quote
263
+ */
264
+ private function _getQuote()
265
+ {
266
+ if (!$this->_quote) {
267
+ $this->_quote = $this->_getCheckoutSession()->getQuote();
268
+ }
269
+ return $this->_quote;
270
+ }
271
+
272
+ /**
273
+ * Payone session instance getter
274
+ *
275
+ * @return Payone_Core_Model_Session
276
+ */
277
+ private function _getSession()
278
+ {
279
+ return Mage::getSingleton('payone_core/session');
280
+ }
281
+
282
+ }
app/code/community/Payone/Core/etc/config.xml CHANGED
@@ -24,7 +24,7 @@
24
  <config>
25
  <modules>
26
  <Payone_Core>
27
- <version>3.3.1</version>
28
  </Payone_Core>
29
  </modules>
30
 
@@ -652,6 +652,7 @@ Detaillierte Informationen zur Arbeitsweise der ABC finde ich unter www.abc.de/f
652
  <cron_expr>* * * * *</cron_expr>
653
  <valid_ips><![CDATA[213.178.72.196
654
  213.178.72.197
 
655
  217.70.200.*]]></valid_ips>
656
  <proxy_mode>0</proxy_mode>
657
  </transactionstatus_processing>
24
  <config>
25
  <modules>
26
  <Payone_Core>
27
+ <version>3.3.3</version>
28
  </Payone_Core>
29
  </modules>
30
 
652
  <cron_expr>* * * * *</cron_expr>
653
  <valid_ips><![CDATA[213.178.72.196
654
  213.178.72.197
655
+ 185.60.20.0
656
  217.70.200.*]]></valid_ips>
657
  <proxy_mode>0</proxy_mode>
658
  </transactionstatus_processing>
app/code/community/Payone/Core/etc/system.xml CHANGED
@@ -360,10 +360,41 @@
360
  </min_validity_period>
361
  </fields>
362
  </payment_creditcard>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
363
  <parameter_narrative_text>
364
  <label>Narrative Text</label>
365
  <frontend_type>text</frontend_type>
366
- <sort_order>110</sort_order>
367
  <show_in_default>1</show_in_default>
368
  <show_in_website>1</show_in_website>
369
  <show_in_store>1</show_in_store>
360
  </min_validity_period>
361
  </fields>
362
  </payment_creditcard>
363
+ <payment_paypal_express_checkout>
364
+ <label>Payment Paypal Express Checkout</label>
365
+ <frontend_type>text</frontend_type>
366
+ <sort_order>110</sort_order>
367
+ <show_in_default>1</show_in_default>
368
+ <show_in_website>1</show_in_website>
369
+ <show_in_store>1</show_in_store>
370
+ <fields>
371
+ <paypal_express_checkout_visible_on_cart translate="label">
372
+ <label>PayPal Express Checkout Shortcut on Shopping Cart</label>
373
+ <frontend_type>select</frontend_type>
374
+ <source_model>adminhtml/system_config_source_yesno</source_model>
375
+ <sort_order>10</sort_order>
376
+ <show_in_default>1</show_in_default>
377
+ <show_in_website>1</show_in_website>
378
+ <show_in_store>1</show_in_store>
379
+ </paypal_express_checkout_visible_on_cart>
380
+ <paypal_express_checkout_image translate="label">
381
+ <label>Paypal Express Image Button</label>
382
+ <frontend_type>image</frontend_type>
383
+ <backend_model>adminhtml/system_config_backend_image</backend_model>
384
+ <upload_dir config="system/filesystem/media" scope_info="1">payone</upload_dir>
385
+ <base_url type="media" scope_info="1">payone</base_url>
386
+ <sort_order>20</sort_order>
387
+ <show_in_default>1</show_in_default>
388
+ <show_in_website>1</show_in_website>
389
+ <show_in_store>1</show_in_store>
390
+ <comment>Allowed file types: jpeg, gif, png.</comment>
391
+ </paypal_express_checkout_image>
392
+ </fields>
393
+ </payment_paypal_express_checkout>
394
  <parameter_narrative_text>
395
  <label>Narrative Text</label>
396
  <frontend_type>text</frontend_type>
397
+ <sort_order>120</sort_order>
398
  <show_in_default>1</show_in_default>
399
  <show_in_website>1</show_in_website>
400
  <show_in_store>1</show_in_store>
app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.3.2-3.3.3.php ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the GNU General Public License (GPL 3)
7
+ * that is bundled with this package in the file LICENSE.txt
8
+ *
9
+ * DISCLAIMER
10
+ *
11
+ * Do not edit or add to this file if you wish to upgrade Payone_Core to newer
12
+ * versions in the future. If you wish to customize Payone_Core for your
13
+ * needs please refer to http://www.payone.de for more information.
14
+ *
15
+ * @category Payone
16
+ * @package Payone_Core
17
+ * @subpackage sql
18
+ * @copyright Copyright (c) 2013 <info@votum.de> - www.votum.de
19
+ * @author Edward Mateja <edward.mateja@votum.de>
20
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
+ * @link http://www.votum.de
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
+ $tableCustomer = $this->getTable('payone_core/customer');
30
+ $tablePaymentMethod = $this->getTable('payone_core/config_payment_method');
31
+
32
+ /** @var $helper Payone_Core_Helper_Data */
33
+ $helper = Mage::helper('payone_core');
34
+ $useSqlInstaller = $helper->mustUseSqlInstaller();
35
+
36
+ if ($useSqlInstaller) {
37
+ $sql = file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'upgrade-3.3.2-3.3.3.sql');
38
+
39
+ $installSqlConfig = array(
40
+ '{{payone_config_payment_method}}' => $tablePaymentMethod,
41
+ );
42
+
43
+ $installSql = str_replace(array_keys($installSqlConfig), array_values($installSqlConfig), $sql);
44
+ $installer->run($installSql);
45
+ } else {
46
+ $connection = $installer->getConnection();
47
+
48
+ // Update table payone_config_payment_method
49
+ $connection->addColumn($tablePaymentMethod, 'paypal_express_visible_on_cart',
50
+ 'INT(1) COMMENT \'Paypal Express Visible on Cart\' AFTER `klarna_campaign_code`'
51
+ );
52
+ $connection->addColumn($tablePaymentMethod, 'paypal_express_address',
53
+ 'INT(1) COMMENT \'Paypal Express Address\' AFTER `paypal_express_visible_on_cart`'
54
+ );
55
+ $connection->addColumn($tablePaymentMethod, 'paypal_express_image',
56
+ 'VARCHAR(250) COMMENT \'Paypal Express Image\' AFTER `paypal_express_address`'
57
+ );
58
+ }
59
+
60
+ $installer->endSetup();
app/code/community/Payone/Core/sql/payone_core_setup/upgrade-3.3.2-3.3.3.sql ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #-----------------------------------------------------------------
2
+ #-- Alter Table payone_config_payment_method, add paypal_express_visible_on_cart, paypal_express_address, paypal_express_image
3
+ #-----------------------------------------------------------------
4
+
5
+ ALTER TABLE `{{payone_config_payment_method}}`
6
+ ADD `paypal_express_visible_on_cart` INT(1) COMMENT 'Paypal Express Visible on Cart' AFTER `klarna_campaign_code`;
7
+
8
+ ALTER TABLE `{{payone_config_payment_method}}`
9
+ ADD `paypal_express_address` INT(1) COMMENT 'Paypal Express Address' AFTER `paypal_express_visible_on_cart`;
10
+
11
+ ALTER TABLE `{{payone_config_payment_method}}`
12
+ ADD `paypal_express_image` VARCHAR(250) COMMENT 'Paypal Express Image' AFTER `paypal_express_address`;
app/code/community/Payone/Licensemanager/etc/config.xml CHANGED
@@ -69,6 +69,18 @@
69
  </routers>
70
  </frontend>
71
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  <adminhtml>
73
  <translate>
74
  <modules>
69
  </routers>
70
  </frontend>
71
 
72
+ <admin>
73
+ <routers>
74
+ <payone_licensemanager>
75
+ <use>admin</use>
76
+ <args>
77
+ <module>Payone_Licensemanager</module>
78
+ <frontName>payonelicensemanager</frontName>
79
+ </args>
80
+ </payone_licensemanager>
81
+ </routers>
82
+ </admin>
83
+
84
  <adminhtml>
85
  <translate>
86
  <modules>
app/design/frontend/base/default/layout/payone/core.xml CHANGED
@@ -22,6 +22,61 @@
22
  */
23
  -->
24
  <layout>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  <checkout_onepage_index>
26
  <reference name="head">
27
  <action method="addJs"><script>payone/core/client_api.js</script></action>
22
  */
23
  -->
24
  <layout>
25
+ <payone_core_pexpress_review translate="label">
26
+ <label>Payone PayPal Express Order Review Form</label>
27
+ <remove name="right"/>
28
+ <remove name="left"/>
29
+
30
+ <reference name="root">
31
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
32
+ </reference>
33
+ <reference name="content">
34
+ <block type="payone_core/paypal_express_review" name="paypal.express.review" template="paypal/express/review.phtml">
35
+ <block type="payone_core/paypal_express_review_billing" name="express.review.billing" as="billing" template="paypal/express/review/address.phtml"/>
36
+ <block type="payone_core/paypal_express_review_shipping" name="express.review.shipping" as="shipping" template="paypal/express/review/address.phtml"/>
37
+ <block type="payone_core/paypal_express_review" name="express.review.shipping.method" as="shipping_method" template="paypal/express/review/shipping/method.phtml"/>
38
+ <block type="payone_core/paypal_express_review_details" name="paypal.express.review.details" as="details" template="paypal/express/review/details.phtml">
39
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
40
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
41
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
42
+ <block type="checkout/cart_totals" name="paypal.express.review.details.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
43
+ </block>
44
+ <block type="checkout/agreements" name="paypal.express.review.details.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
45
+ </block>
46
+ </reference>
47
+ <reference name="head">
48
+ <action method="addItem"><type>skin_js</type><name>js/checkout/review.js</name></action>
49
+ </reference>
50
+ <block type="core/text_list" name="additional.product.info" />
51
+ </payone_core_pexpress_review>
52
+
53
+ <checkout_cart_index>
54
+ <reference name="checkout.cart.top_methods">
55
+ <block type="payone_core/paypal_express_shortcut" name="payone.checkout.cart.methods.paypal_express.top" before="-" template="payone/core/paypal/express/shortcut.phtml">
56
+ <action method="setIsQuoteAllowed"><value>1</value></action>
57
+ <action method="setShowOrPosition"><value>after</value></action>
58
+ </block>
59
+ </reference>
60
+
61
+ <reference name="checkout.cart.methods">
62
+ <block type="payone_core/paypal_express_shortcut" name="payone.checkout.cart.methods.paypal_express.bottom" before="-" template="payone/core/paypal/express/shortcut.phtml">
63
+ <action method="setIsQuoteAllowed"><value>1</value></action>
64
+ <action method="setShowOrPosition"><value>after</value></action>
65
+ </block>
66
+ </reference>
67
+
68
+ <!--<update handle="SHORTCUT_popup" />-->
69
+ </checkout_cart_index>
70
+
71
+ <default>
72
+ <reference name="topCart.extra_actions">
73
+ <block type="payone_core/paypal_express_shortcut" name="payone.paypal.partner.top_cart.shortcut" template="payone/core/paypal/express/shortcut.phtml"/>
74
+ </reference>
75
+ <reference name="cart_sidebar.extra_actions">
76
+ <block type="payone_core/paypal_express_shortcut" name="payone.paypal.partner.cart_sidebar.shortcut" template="payone/core/paypal/express/shortcut.phtml"/>
77
+ </reference>
78
+ </default>
79
+
80
  <checkout_onepage_index>
81
  <reference name="head">
82
  <action method="addJs"><script>payone/core/client_api.js</script></action>
app/design/frontend/base/default/template/payone/core/paypal/express/shortcut.phtml ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@votum.de> - www.votum.de
19
+ * @author Edward Mateja <edward.mateja@votum.de>
20
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
+ * @link http://www.votum.de
22
+ */
23
+ ?>
24
+ <?php
25
+ /**
26
+ * @var $this Payone_Core_Block_Paypal_Express_Shortcut
27
+ */
28
+ ?>
29
+ <p class="paypal-logo">
30
+ <?php $shortcutHtmlId = $this->getShortcutHtmlId() ?>
31
+ <?php if ($this->isOrPositionBefore()): ?>
32
+ <span class="paypal-or"><?php echo $this->__('-OR-');?></span>
33
+ <?php endif; ?>
34
+ <a id="<?php echo $shortcutHtmlId ?>" href="<?php echo $this->getCheckoutUrl()?>"><img src="<?php echo $this->getImageUrl()?>" alt="<?php echo Mage::helper('payone_core')->__('Checkout with PayPal Express');?>" title="<?php echo Mage::helper('payone_core')->__('Checkout with PayPal');?>"/></a>
35
+ <?php if ($this->isOrPositionAfter()): ?>
36
+ <span class="paypal-or"><?php echo $this->__('-OR-');?></span>
37
+ <?php endif; ?>
38
+ </p>
app/locale/de_DE/Payone_Core.csv CHANGED
@@ -908,3 +908,5 @@
908
  "Credit checks should only be used with payment methods that have the risk of shortfall in payment or fraud, for instance invoice or direct debit.","Die Bonitätsprüfung sollte lediglich bei Zahlungsarten eingesetzt werden, die ein Zahlungsausfallrisiko für Sie nach sich ziehen (z.B. offene Rechnung oder Lastschrift)."
909
  "You can configure this behaviour through the credit rating index setting in the configuration of the respective payment method.","Sie konfigurieren dies über die Einstellung "Bonitätsindex" in der Konfiguration der jeweiligen Zahlart."
910
  "You should advise your customers that you perform credit checks with the InfoScore Consumer Data GmbH.","Sie sollten in Ihrem Shop außerdem in geeigneter Weise darauf hinweisen, dass Sie Bonitätsprüfungen über die InfoScore Consumer Data GmbH durchführen."
 
 
908
  "Credit checks should only be used with payment methods that have the risk of shortfall in payment or fraud, for instance invoice or direct debit.","Die Bonitätsprüfung sollte lediglich bei Zahlungsarten eingesetzt werden, die ein Zahlungsausfallrisiko für Sie nach sich ziehen (z.B. offene Rechnung oder Lastschrift)."
909
  "You can configure this behaviour through the credit rating index setting in the configuration of the respective payment method.","Sie konfigurieren dies über die Einstellung "Bonitätsindex" in der Konfiguration der jeweiligen Zahlart."
910
  "You should advise your customers that you perform credit checks with the InfoScore Consumer Data GmbH.","Sie sollten in Ihrem Shop außerdem in geeigneter Weise darauf hinweisen, dass Sie Bonitätsprüfungen über die InfoScore Consumer Data GmbH durchführen."
911
+
912
+ "Checkout with PayPal Express","Checkout mit PayPal Express"
lib/Payone/Api/Adapter/Http/Abstract.php CHANGED
@@ -37,7 +37,12 @@ abstract class Payone_Api_Adapter_Http_Abstract
37
  * @todo refactor to use some kind of config
38
  * @todo use timeout from config and fallback to default
39
  */
40
- const DEFAULT_TIMEOUT = 45;
 
 
 
 
 
41
 
42
  /**
43
  * @var string
@@ -64,6 +69,9 @@ abstract class Payone_Api_Adapter_Http_Abstract
64
 
65
  $this->validate();
66
 
 
 
 
67
  $responseRaw = $this->doRequest();
68
 
69
  $result = $this->parseResponse($responseRaw);
37
  * @todo refactor to use some kind of config
38
  * @todo use timeout from config and fallback to default
39
  */
40
+ const DEFAULT_TIMEOUT = 45;
41
+
42
+ const SDK_VERSION_KEY = 'sdk_version';
43
+ const SDK_TYPE_KEY = 'sdk_type';
44
+ const SDK_VERSION = '2.0.0';
45
+ const SDK_TYPE = 'php';
46
 
47
  /**
48
  * @var string
69
 
70
  $this->validate();
71
 
72
+ $this->params[self::SDK_TYPE_KEY] = self::SDK_TYPE;
73
+ $this->params[self::SDK_VERSION_KEY] = self::SDK_VERSION;
74
+
75
  $responseRaw = $this->doRequest();
76
 
77
  $result = $this->parseResponse($responseRaw);
lib/Payone/Api/Adapter/Interface.php CHANGED
@@ -20,16 +20,6 @@
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 Adapter
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
  interface Payone_Api_Adapter_Interface
34
  {
35
  /**
20
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
  * @link http://www.noovias.com
22
  */
 
 
 
 
 
 
 
 
 
 
23
  interface Payone_Api_Adapter_Interface
24
  {
25
  /**
lib/Payone/Api/Config.php CHANGED
@@ -40,16 +40,12 @@ class Payone_Api_Config extends Payone_Config_Abstract
40
  'validator' => 'Payone_Api_Validator_DefaultParameters',
41
  'protocol' => array(
42
  'filter' => array(
43
- 'mask_value' => array(
44
  'enabled' => 1,
45
  'percent' => 100
46
- )
47
- ),
48
- 'loggers' => array(
49
- 'Payone_Protocol_Logger_Log4php' => array(
50
- 'filename' => 'payone_api.log',
51
- 'max_file_size' => '1MB',
52
- 'max_file_count' => 20
53
  )
54
  ),
55
  ),
40
  'validator' => 'Payone_Api_Validator_DefaultParameters',
41
  'protocol' => array(
42
  'filter' => array(
43
+ Payone_Protocol_Filter_MaskValue::FILTER_KEY => array(
44
  'enabled' => 1,
45
  'percent' => 100
46
+ ),
47
+ Payone_Protocol_Filter_MaskAllValue::FILTER_KEY => array(
48
+ 'enabled' => 1
 
 
 
 
49
  )
50
  ),
51
  ),
lib/Payone/Api/Enum/GenericpaymentAction.php 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 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
+ * @author Ronny Schröder
19
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
20
+ */
21
+ class Payone_Api_Enum_GenericpaymentAction
22
+ {
23
+ /**
24
+ * initalize paypal express checkout process
25
+ */
26
+ const PAYPAL_ECS_SET_EXPRESSCHECKOUT='setexpresscheckout';
27
+
28
+ /**
29
+ * get customer shipping address from paypal
30
+ */
31
+ const PAYPAL_ECS_GET_EXPRESSCHECKOUTDETAILS='getexpresscheckoutdetails';
32
+ }
lib/Payone/Api/Enum/RequestType.php CHANGED
@@ -48,4 +48,9 @@ class Payone_Api_Enum_RequestType
48
  const MANAGEMANDATE = 'managemandate';
49
  const GETFILE = 'getfile';
50
  const VAUTHORIZATION = 'vauthorization';
 
 
 
 
 
51
  }
48
  const MANAGEMANDATE = 'managemandate';
49
  const GETFILE = 'getfile';
50
  const VAUTHORIZATION = 'vauthorization';
51
+
52
+ /*
53
+ * init paypal express checkout
54
+ */
55
+ const GENERICPAYMENT = 'genericpayment';
56
  }
lib/Payone/Api/Enum/ResponseType.php CHANGED
@@ -39,4 +39,5 @@ class Payone_Api_Enum_ResponseType
39
  const BLOCKED = 'BLOCKED';
40
  const ENROLLED = 'ENROLLED';
41
  const ERROR = 'ERROR';
 
42
  }
39
  const BLOCKED = 'BLOCKED';
40
  const ENROLLED = 'ENROLLED';
41
  const ERROR = 'ERROR';
42
+ const OK = 'OK'; //GenericPayment Requests
43
  }
lib/Payone/Api/Enum/WalletType.php CHANGED
@@ -1,36 +1,77 @@
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_WalletType
34
- {
35
- const PAYPAL_EXPRESS = 'PPE';
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_Api
18
+ * @subpackage Enum
19
+ * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
20
+ * @author Matthias Walter <info@noovias.com>
21
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
22
+ * @link http://www.noovias.com
23
+ */
24
+
25
+ /**
26
+ *
27
+ * @category Payone
28
+ * @package Payone_Api
29
+ * @subpackage Enum
30
+ * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
31
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
32
+ * @link http://www.noovias.com
33
+ */
34
+ class Payone_Api_Enum_WalletType {
35
+
36
+ const PAYPAL_EXPRESS = 'PPE';
37
+
38
+ /* Example
39
+ *
40
+ *
41
+ * $builder = new Payone_Builder();
42
+ * $service = $builder->buildServicePaymentAuthorize();
43
+ *
44
+ * $requestData = array(
45
+ * 'clearingtype' => Payone_Enum_ClearingType::WALLET,
46
+ * 'reference' => 'your order number',
47
+ * 'amount' => 12.95,
48
+ * 'currency' => 'EUR',
49
+ * 'personalData' => new Payone_Api_Request_Parameter_Authorization_PersonalData(array(...customer data ...)),
50
+ * 'payment' => new Payone_Api_Request_Parameter_Authorization_PaymentMethod_Wallet(array(
51
+ * 'wallettype' => Payone_Api_Enum_WalletType::YAPITAL,
52
+ * 'successurl' => 'http://your-shop.com/success.php',
53
+ * 'errorurl' => 'http://your-shop.com/error.php',
54
+ * 'backurl' => 'http://your-shop.com/back.php'
55
+ * ))
56
+ * );
57
+ *
58
+ * $authorization = new Payone_Api_Request_Authorization(array_merge($this->getAccountData(), $requestData));
59
+ *
60
+ * $response = $service->authorize($authorization);
61
+ *
62
+ * Response:
63
+ *
64
+ * Payone_Api_Response_Authorization_Redirect Object
65
+ * (
66
+ * [txid:protected] => 155901830
67
+ * [userid:protected] => 57080810
68
+ * [redirecturl:protected] => https://demo.dev.yapital.com/web-ui/widget.html?id=01-9XXX
69
+ * [status:protected] => REDIRECT
70
+ * ...
71
+ * )
72
+ *
73
+ * If response status is REDIRECT, send customer to the redirecturl (Yapital).
74
+ */
75
+ const YAPITAL = 'YPL';
76
+
77
+ }
lib/Payone/Api/Factory.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  *
4
  * NOTICE OF LICENSE
@@ -19,17 +20,8 @@
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_Api
27
- * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
28
- * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
29
- * @link http://www.noovias.com
30
- */
31
- class Payone_Api_Factory
32
- {
33
  /** @var Payone_Api_Config */
34
  protected $config = null;
35
 
@@ -37,20 +29,17 @@ class Payone_Api_Factory
37
  * @constructor
38
  * @param Payone_Api_Config $config
39
  */
40
- public function __construct(Payone_Api_Config $config = null)
41
- {
42
  $this->config = $config;
43
  }
44
 
45
  /**
46
  * @return Payone_Api_Adapter_Interface
47
  */
48
- protected function buildHttpClient()
49
- {
50
  if ($this->isEnabledCurl()) {
51
  $adapter = new Payone_Api_Adapter_Http_Curl();
52
- }
53
- else {
54
  $adapter = new Payone_Api_Adapter_Http_Socket();
55
  }
56
  $adapter->setUrl('https://api.pay1.de/post-gateway/');
@@ -60,8 +49,7 @@ class Payone_Api_Factory
60
  /**
61
  * @return bool
62
  */
63
- protected function isEnabledCurl()
64
- {
65
  return extension_loaded('curl');
66
  }
67
 
@@ -70,15 +58,13 @@ class Payone_Api_Factory
70
  * @return Payone_Api_Service_Payment_Authorize|Payone_Api_Service_Payment_Debit|Payone_Api_Service_Payment_Preauthorize|Payone_Api_Service_Payment_Refund
71
  * @throws Exception
72
  */
73
- public function buildService($key)
74
- {
75
  $methodKey = str_replace(' ', '', ucwords(str_replace('/', ' ', $key)));
76
 
77
  $methodName = 'buildService' . $methodKey;
78
  if (method_exists($this, $methodName)) {
79
  return $this->$methodName();
80
- }
81
- else {
82
  throw new Exception('Could not build service with key "' . $key . '"');
83
  }
84
  }
@@ -86,8 +72,7 @@ class Payone_Api_Factory
86
  /**
87
  * @return Payone_Api_Mapper_Currency
88
  */
89
- public function buildMapperCurrency()
90
- {
91
  $mapper = new Payone_Api_Mapper_Currency();
92
  $mapper->setPathToProperties($this->getCurrencyPropertiesPath());
93
  return $mapper;
@@ -97,16 +82,14 @@ class Payone_Api_Factory
97
  * Returns Path to currency.properties file
98
  * @return string
99
  */
100
- protected function getCurrencyPropertiesPath()
101
- {
102
  return $this->getConfig()->getValue('default/mapper/currency/currency_properties');
103
  }
104
 
105
  /**
106
  * @return Payone_Api_Mapper_Request_Payment_Preauthorization
107
  */
108
- public function buildMapperRequestPreauthorize()
109
- {
110
  $mapper = new Payone_Api_Mapper_Request_Payment_Preauthorization();
111
  $mapper->setMapperCurrency($this->buildMapperCurrency());
112
  return $mapper;
@@ -115,8 +98,7 @@ class Payone_Api_Factory
115
  /**
116
  * @return Payone_Api_Mapper_Request_Payment_Authorization
117
  */
118
- public function buildMapperRequestAuthorize()
119
- {
120
  $mapper = new Payone_Api_Mapper_Request_Payment_Authorization();
121
  $mapper->setMapperCurrency($this->buildMapperCurrency());
122
  return $mapper;
@@ -125,8 +107,7 @@ class Payone_Api_Factory
125
  /**
126
  * @return Payone_Api_Mapper_Request_Payment_Capture
127
  */
128
- public function buildMapperRequestCapture()
129
- {
130
  $mapper = new Payone_Api_Mapper_Request_Payment_Capture();
131
  $mapper->setMapperCurrency($this->buildMapperCurrency());
132
  return $mapper;
@@ -135,8 +116,7 @@ class Payone_Api_Factory
135
  /**
136
  * @return Payone_Api_Mapper_Request_Payment_Debit
137
  */
138
- public function buildMapperRequestDebit()
139
- {
140
  $mapper = new Payone_Api_Mapper_Request_Payment_Debit();
141
  $mapper->setMapperCurrency($this->buildMapperCurrency());
142
  return $mapper;
@@ -145,8 +125,7 @@ class Payone_Api_Factory
145
  /**
146
  * @return Payone_Api_Mapper_Request_Payment_Refund
147
  */
148
- public function buildMapperRequestRefund()
149
- {
150
  $mapper = new Payone_Api_Mapper_Request_Payment_Refund();
151
  $mapper->setMapperCurrency($this->buildMapperCurrency());
152
  return $mapper;
@@ -155,8 +134,7 @@ class Payone_Api_Factory
155
  /**
156
  * @return Payone_Api_Mapper_Request_Payment_Vauthorization
157
  */
158
- public function buildMapperRequestVauthorize()
159
- {
160
  $mapper = new Payone_Api_Mapper_Request_Payment_Vauthorization();
161
  $mapper->setMapperCurrency($this->buildMapperCurrency());
162
  return $mapper;
@@ -165,18 +143,25 @@ class Payone_Api_Factory
165
  /**
166
  * @return Payone_Api_Mapper_Request_Payment_CreateAccess
167
  */
168
- public function buildMapperRequestCreateAccess()
169
- {
170
  $mapper = new Payone_Api_Mapper_Request_Payment_CreateAccess();
171
  $mapper->setMapperCurrency($this->buildMapperCurrency());
172
  return $mapper;
173
  }
 
 
 
 
 
 
 
 
 
174
 
175
  /**
176
  * @return Payone_Api_Mapper_Request_Management_UpdateAccess
177
  */
178
- public function buildMapperRequestUpdateAccess()
179
- {
180
  $mapper = new Payone_Api_Mapper_Request_Management_UpdateAccess();
181
  $mapper->setMapperCurrency($this->buildMapperCurrency());
182
  return $mapper;
@@ -185,8 +170,7 @@ class Payone_Api_Factory
185
  /**
186
  * @return Payone_Api_Mapper_Response_Preauthorization
187
  */
188
- protected function buildMapperResponsePreauthorize()
189
- {
190
  $mapper = new Payone_Api_Mapper_Response_Preauthorization();
191
  return $mapper;
192
  }
@@ -194,8 +178,7 @@ class Payone_Api_Factory
194
  /**
195
  * @return Payone_Api_Mapper_Response_Authorization
196
  */
197
- protected function buildMapperResponseAuthorize()
198
- {
199
  $mapper = new Payone_Api_Mapper_Response_Authorization();
200
  return $mapper;
201
  }
@@ -203,8 +186,7 @@ class Payone_Api_Factory
203
  /**
204
  * @return Payone_Api_Mapper_Response_Capture
205
  */
206
- protected function buildMapperResponseCapture()
207
- {
208
  $mapper = new Payone_Api_Mapper_Response_Capture();
209
  return $mapper;
210
  }
@@ -212,8 +194,7 @@ class Payone_Api_Factory
212
  /**
213
  * @return Payone_Api_Mapper_Response_Debit
214
  */
215
- protected function buildMapperResponseDebit()
216
- {
217
  $mapper = new Payone_Api_Mapper_Response_Debit();
218
  return $mapper;
219
  }
@@ -221,8 +202,7 @@ class Payone_Api_Factory
221
  /**
222
  * @return Payone_Api_Mapper_Response_Refund
223
  */
224
- protected function buildMapperResponseRefund()
225
- {
226
  $mapper = new Payone_Api_Mapper_Response_Refund();
227
  return $mapper;
228
  }
@@ -230,8 +210,7 @@ class Payone_Api_Factory
230
  /**
231
  * @return Payone_Api_Mapper_Response_3dsCheck
232
  */
233
- protected function buildMapperResponse3dsCheck()
234
- {
235
  $mapper = new Payone_Api_Mapper_Response_3dsCheck();
236
  return $mapper;
237
  }
@@ -239,18 +218,15 @@ class Payone_Api_Factory
239
  /**
240
  * @return Payone_Api_Mapper_Response_AddressCheck
241
  */
242
- protected function buildMapperResponseAddressCheck()
243
- {
244
  $mapper = new Payone_Api_Mapper_Response_AddressCheck();
245
  return $mapper;
246
  }
247
 
248
-
249
  /**
250
  * @return Payone_Api_Mapper_Response_BankAccountCheck
251
  */
252
- protected function buildMapperResponseBankAccountCheck()
253
- {
254
  $mapper = new Payone_Api_Mapper_Response_BankAccountCheck();
255
  return $mapper;
256
  }
@@ -258,8 +234,7 @@ class Payone_Api_Factory
258
  /**
259
  * @return Payone_Api_Mapper_Response_Consumerscore
260
  */
261
- protected function buildMapperResponseConsumerscore()
262
- {
263
  $mapper = new Payone_Api_Mapper_Response_Consumerscore();
264
  return $mapper;
265
  }
@@ -267,8 +242,7 @@ class Payone_Api_Factory
267
  /**
268
  * @return Payone_Api_Mapper_Response_CreditCardCheck
269
  */
270
- protected function buildMapperResponseCreditCardCheck()
271
- {
272
  $mapper = new Payone_Api_Mapper_Response_CreditCardCheck();
273
  return $mapper;
274
  }
@@ -276,8 +250,7 @@ class Payone_Api_Factory
276
  /**
277
  * @return Payone_Api_Mapper_Response_GetInvoice
278
  */
279
- protected function buildMapperResponseGetInvoice()
280
- {
281
  $mapper = new Payone_Api_Mapper_Response_GetInvoice();
282
  return $mapper;
283
  }
@@ -285,8 +258,7 @@ class Payone_Api_Factory
285
  /**
286
  * @return Payone_Api_Mapper_Response_GetFile
287
  */
288
- protected function buildMapperResponseGetFile()
289
- {
290
  $mapper = new Payone_Api_Mapper_Response_GetFile();
291
  return $mapper;
292
  }
@@ -294,8 +266,7 @@ class Payone_Api_Factory
294
  /**
295
  * @return Payone_Api_Mapper_Response_Vauthorization
296
  */
297
- public function buildMapperResponseVauthorize()
298
- {
299
  $mapper = new Payone_Api_Mapper_Response_Vauthorization();
300
  return $mapper;
301
  }
@@ -303,17 +274,23 @@ class Payone_Api_Factory
303
  /**
304
  * @return Payone_Api_Mapper_Response_CreateAccess
305
  */
306
- public function buildMapperResponseCreateAccess()
307
- {
308
  $mapper = new Payone_Api_Mapper_Response_CreateAccess();
309
  return $mapper;
310
  }
 
 
 
 
 
 
 
 
311
 
312
  /**
313
  * @return Payone_Api_Mapper_Response_UpdateAccess
314
  */
315
- public function buildMapperResponseUpdateAccess()
316
- {
317
  $mapper = new Payone_Api_Mapper_Response_UpdateAccess();
318
  return $mapper;
319
  }
@@ -321,8 +298,7 @@ class Payone_Api_Factory
321
  /**
322
  * @return Payone_Api_Mapper_Response_ManageMandate
323
  */
324
- public function buildMapperResponseManageMandate()
325
- {
326
  $mapper = new Payone_Api_Mapper_Response_ManageMandate();
327
  return $mapper;
328
  }
@@ -330,8 +306,7 @@ class Payone_Api_Factory
330
  /**
331
  * @return Payone_Api_Service_Payment_Preauthorize
332
  */
333
- public function buildServicePaymentPreauthorize()
334
- {
335
  $service = new Payone_Api_Service_Payment_Preauthorize();
336
  $service->setAdapter($this->buildHttpClient());
337
  $service->setMapperRequest($this->buildMapperRequestPreauthorize());
@@ -340,12 +315,10 @@ class Payone_Api_Factory
340
  return $service;
341
  }
342
 
343
-
344
  /**
345
  * @return Payone_Api_Service_Payment_Authorize
346
  */
347
- public function buildServicePaymentAuthorize()
348
- {
349
  $service = new Payone_Api_Service_Payment_Authorize();
350
  $service->setAdapter($this->buildHttpClient());
351
  $service->setMapperRequest($this->buildMapperRequestAuthorize());
@@ -354,159 +327,134 @@ class Payone_Api_Factory
354
  return $service;
355
  }
356
 
357
-
358
  /**
359
  * @return Payone_Api_Service_Payment_Capture
360
  */
361
- public function buildServicePaymentCapture()
362
- {
363
  $service = new Payone_Api_Service_Payment_Capture();
364
  $service->setAdapter($this->buildHttpClient());
365
  $service->setMapperRequest($this->buildMapperRequestCapture());
366
  $service->setMapperResponse($this->buildMapperResponseCapture());
367
  $service->setValidator($this->buildValidatorDefault());
368
  return $service;
369
-
370
  }
371
 
372
-
373
  /**
374
  * @return Payone_Api_Service_Payment_Debit
375
  */
376
- public function buildServicePaymentDebit()
377
- {
378
  $service = new Payone_Api_Service_Payment_Debit();
379
  $service->setAdapter($this->buildHttpClient());
380
  $service->setMapperRequest($this->buildMapperRequestDebit());
381
  $service->setMapperResponse($this->buildMapperResponseDebit());
382
  $service->setValidator($this->buildValidatorDefault());
383
  return $service;
384
-
385
  }
386
 
387
  /**
388
  * @return Payone_Api_Service_Payment_Refund
389
  */
390
- public function buildServicePaymentRefund()
391
- {
392
  $service = new Payone_Api_Service_Payment_Refund();
393
  $service->setAdapter($this->buildHttpClient());
394
  $service->setMapperRequest($this->buildMapperRequestRefund());
395
  $service->setMapperResponse($this->buildMapperResponseRefund());
396
  $service->setValidator($this->buildValidatorDefault());
397
  return $service;
398
-
399
  }
400
 
401
  /**
402
  * @return Payone_Api_Service_Verification_3dsCheck
403
  */
404
- public function buildServiceVerification3dscheck()
405
- {
406
  $service = new Payone_Api_Service_Verification_3dsCheck();
407
  $service->setAdapter($this->buildHttpClient());
408
  $service->setMapperResponse($this->buildMapperResponse3dsCheck());
409
  $service->setValidator($this->buildValidatorDefault());
410
  return $service;
411
-
412
  }
413
 
414
  /**
415
  * @return Payone_Api_Service_Verification_AddressCheck
416
  */
417
- public function buildServiceVerificationAddressCheck()
418
- {
419
  $service = new Payone_Api_Service_Verification_AddressCheck();
420
  $service->setAdapter($this->buildHttpClient());
421
  $service->setMapperResponse($this->buildMapperResponseAddressCheck());
422
  $service->setValidator($this->buildValidatorDefault());
423
  return $service;
424
-
425
  }
426
 
427
  /**
428
  * @return Payone_Api_Service_Verification_BankAccountCheck
429
  */
430
- public function buildServiceVerificationBankAccountCheck()
431
- {
432
  $service = new Payone_Api_Service_Verification_BankAccountCheck();
433
  $service->setAdapter($this->buildHttpClient());
434
  $service->setMapperResponse($this->buildMapperResponseBankAccountCheck());
435
  $service->setValidator($this->buildValidatorDefault());
436
  return $service;
437
-
438
  }
439
 
440
  /**
441
  * @return Payone_Api_Service_Verification_Consumerscore
442
  */
443
- public function buildServiceVerificationConsumerscore()
444
- {
445
  $service = new Payone_Api_Service_Verification_Consumerscore();
446
  $service->setAdapter($this->buildHttpClient());
447
  $service->setMapperResponse($this->buildMapperResponseConsumerscore());
448
  $service->setValidator($this->buildValidatorDefault());
449
  return $service;
450
-
451
  }
452
 
453
  /**
454
  * @return Payone_Api_Service_Verification_CreditCardCheck
455
  */
456
- public function buildServiceVerificationCreditCardCheck()
457
- {
458
  $service = new Payone_Api_Service_Verification_CreditCardCheck();
459
  $service->setAdapter($this->buildHttpClient());
460
  $service->setMapperResponse($this->buildMapperResponseCreditCardCheck());
461
  $service->setValidator($this->buildValidatorDefault());
462
  return $service;
463
-
464
  }
465
 
466
  /**
467
  * @return Payone_Api_Service_Management_GetInvoice
468
  */
469
- public function buildServiceManagementGetInvoice()
470
- {
471
  $service = new Payone_Api_Service_Management_GetInvoice();
472
  $service->setAdapter($this->buildHttpClient());
473
  $service->setMapperResponse($this->buildMapperResponseGetInvoice());
474
  $service->setValidator($this->buildValidatorDefault());
475
  return $service;
476
-
477
  }
478
 
479
  /**
480
  * @return Payone_Api_Service_Management_GetFile
481
  */
482
- public function buildServiceManagementGetFile()
483
- {
484
  $service = new Payone_Api_Service_Management_GetFile();
485
  $service->setAdapter($this->buildHttpClient());
486
  $service->setMapperResponse($this->buildMapperResponseGetFile());
487
  $service->setValidator($this->buildValidatorDefault());
488
  return $service;
489
-
490
  }
491
 
492
  /**
493
  * @return Payone_Api_Service_Management_ManageMandate
494
  */
495
- public function buildServiceManagementManageMandate()
496
- {
497
  $service = new Payone_Api_Service_Management_ManageMandate();
498
  $service->setAdapter($this->buildHttpClient());
499
  $service->setMapperResponse($this->buildMapperResponseManageMandate());
500
  $service->setValidator($this->buildValidatorDefault());
501
  return $service;
502
-
503
  }
504
 
505
  /**
506
  * @return Payone_Api_Service_Payment_Vauthorize
507
  */
508
- public function buildServicePaymentVauthorize()
509
- {
510
  $service = new Payone_Api_Service_Payment_Vauthorize();
511
  $service->setAdapter($this->buildHttpClient());
512
  $service->setMapperRequest($this->buildMapperRequestVauthorize());
@@ -518,8 +466,7 @@ class Payone_Api_Factory
518
  /**
519
  * @return Payone_Api_Service_Payment_CreateAccess
520
  */
521
- public function buildServicePaymentCreateAccess()
522
- {
523
  $service = new Payone_Api_Service_Payment_CreateAccess();
524
  $service->setAdapter($this->buildHttpClient());
525
  $service->setMapperRequest($this->buildMapperRequestCreateAccess());
@@ -528,11 +475,23 @@ class Payone_Api_Factory
528
  return $service;
529
  }
530
 
 
 
 
 
 
 
 
 
 
 
 
 
 
531
  /**
532
  * @return Payone_Api_Service_Management_UpdateAccess
533
  */
534
- public function buildServiceManagementUpdateAccess()
535
- {
536
  $service = new Payone_Api_Service_Management_UpdateAccess();
537
  $service->setAdapter($this->buildHttpClient());
538
  $service->setMapperRequest($this->buildMapperRequestUpdateAccess());
@@ -544,8 +503,7 @@ class Payone_Api_Factory
544
  /**
545
  * @return Payone_Api_Service_ProtocolRequest
546
  */
547
- public function buildServiceProtocolRequest()
548
- {
549
  $servicePR = new Payone_Api_Service_ProtocolRequest();
550
 
551
  return $servicePR;
@@ -554,8 +512,7 @@ class Payone_Api_Factory
554
  /**
555
  * @return Payone_Api_Validator_DefaultParameters
556
  */
557
- public function buildValidatorDefault()
558
- {
559
  $validator = new Payone_Api_Validator_DefaultParameters();
560
 
561
  return $validator;
@@ -564,16 +521,15 @@ class Payone_Api_Factory
564
  /**
565
  * @param Payone_Api_Config $config
566
  */
567
- public function setConfig($config)
568
- {
569
  $this->config = $config;
570
  }
571
 
572
  /**
573
  * @return Payone_Api_Config
574
  */
575
- public function getConfig()
576
- {
577
  return $this->config;
578
  }
 
579
  }
1
  <?php
2
+
3
  /**
4
  *
5
  * NOTICE OF LICENSE
20
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
  * @link http://www.noovias.com
22
  */
23
+ class Payone_Api_Factory {
24
 
 
 
 
 
 
 
 
 
 
 
25
  /** @var Payone_Api_Config */
26
  protected $config = null;
27
 
29
  * @constructor
30
  * @param Payone_Api_Config $config
31
  */
32
+ public function __construct(Payone_Api_Config $config = null) {
 
33
  $this->config = $config;
34
  }
35
 
36
  /**
37
  * @return Payone_Api_Adapter_Interface
38
  */
39
+ protected function buildHttpClient() {
 
40
  if ($this->isEnabledCurl()) {
41
  $adapter = new Payone_Api_Adapter_Http_Curl();
42
+ } else {
 
43
  $adapter = new Payone_Api_Adapter_Http_Socket();
44
  }
45
  $adapter->setUrl('https://api.pay1.de/post-gateway/');
49
  /**
50
  * @return bool
51
  */
52
+ protected function isEnabledCurl() {
 
53
  return extension_loaded('curl');
54
  }
55
 
58
  * @return Payone_Api_Service_Payment_Authorize|Payone_Api_Service_Payment_Debit|Payone_Api_Service_Payment_Preauthorize|Payone_Api_Service_Payment_Refund
59
  * @throws Exception
60
  */
61
+ public function buildService($key) {
 
62
  $methodKey = str_replace(' ', '', ucwords(str_replace('/', ' ', $key)));
63
 
64
  $methodName = 'buildService' . $methodKey;
65
  if (method_exists($this, $methodName)) {
66
  return $this->$methodName();
67
+ } else {
 
68
  throw new Exception('Could not build service with key "' . $key . '"');
69
  }
70
  }
72
  /**
73
  * @return Payone_Api_Mapper_Currency
74
  */
75
+ public function buildMapperCurrency() {
 
76
  $mapper = new Payone_Api_Mapper_Currency();
77
  $mapper->setPathToProperties($this->getCurrencyPropertiesPath());
78
  return $mapper;
82
  * Returns Path to currency.properties file
83
  * @return string
84
  */
85
+ protected function getCurrencyPropertiesPath() {
 
86
  return $this->getConfig()->getValue('default/mapper/currency/currency_properties');
87
  }
88
 
89
  /**
90
  * @return Payone_Api_Mapper_Request_Payment_Preauthorization
91
  */
92
+ public function buildMapperRequestPreauthorize() {
 
93
  $mapper = new Payone_Api_Mapper_Request_Payment_Preauthorization();
94
  $mapper->setMapperCurrency($this->buildMapperCurrency());
95
  return $mapper;
98
  /**
99
  * @return Payone_Api_Mapper_Request_Payment_Authorization
100
  */
101
+ public function buildMapperRequestAuthorize() {
 
102
  $mapper = new Payone_Api_Mapper_Request_Payment_Authorization();
103
  $mapper->setMapperCurrency($this->buildMapperCurrency());
104
  return $mapper;
107
  /**
108
  * @return Payone_Api_Mapper_Request_Payment_Capture
109
  */
110
+ public function buildMapperRequestCapture() {
 
111
  $mapper = new Payone_Api_Mapper_Request_Payment_Capture();
112
  $mapper->setMapperCurrency($this->buildMapperCurrency());
113
  return $mapper;
116
  /**
117
  * @return Payone_Api_Mapper_Request_Payment_Debit
118
  */
119
+ public function buildMapperRequestDebit() {
 
120
  $mapper = new Payone_Api_Mapper_Request_Payment_Debit();
121
  $mapper->setMapperCurrency($this->buildMapperCurrency());
122
  return $mapper;
125
  /**
126
  * @return Payone_Api_Mapper_Request_Payment_Refund
127
  */
128
+ public function buildMapperRequestRefund() {
 
129
  $mapper = new Payone_Api_Mapper_Request_Payment_Refund();
130
  $mapper->setMapperCurrency($this->buildMapperCurrency());
131
  return $mapper;
134
  /**
135
  * @return Payone_Api_Mapper_Request_Payment_Vauthorization
136
  */
137
+ public function buildMapperRequestVauthorize() {
 
138
  $mapper = new Payone_Api_Mapper_Request_Payment_Vauthorization();
139
  $mapper->setMapperCurrency($this->buildMapperCurrency());
140
  return $mapper;
143
  /**
144
  * @return Payone_Api_Mapper_Request_Payment_CreateAccess
145
  */
146
+ public function buildMapperRequestCreateAccess() {
 
147
  $mapper = new Payone_Api_Mapper_Request_Payment_CreateAccess();
148
  $mapper->setMapperCurrency($this->buildMapperCurrency());
149
  return $mapper;
150
  }
151
+
152
+ /**
153
+ * @return Payone_Api_Mapper_Request_Payment_Genericpayment
154
+ */
155
+ public function buildMapperRequestGenericpayment() {
156
+ $mapper = new Payone_Api_Mapper_Request_Payment_Genericpayment();
157
+ $mapper->setMapperCurrency($this->buildMapperCurrency());
158
+ return $mapper;
159
+ }
160
 
161
  /**
162
  * @return Payone_Api_Mapper_Request_Management_UpdateAccess
163
  */
164
+ public function buildMapperRequestUpdateAccess() {
 
165
  $mapper = new Payone_Api_Mapper_Request_Management_UpdateAccess();
166
  $mapper->setMapperCurrency($this->buildMapperCurrency());
167
  return $mapper;
170
  /**
171
  * @return Payone_Api_Mapper_Response_Preauthorization
172
  */
173
+ protected function buildMapperResponsePreauthorize() {
 
174
  $mapper = new Payone_Api_Mapper_Response_Preauthorization();
175
  return $mapper;
176
  }
178
  /**
179
  * @return Payone_Api_Mapper_Response_Authorization
180
  */
181
+ protected function buildMapperResponseAuthorize() {
 
182
  $mapper = new Payone_Api_Mapper_Response_Authorization();
183
  return $mapper;
184
  }
186
  /**
187
  * @return Payone_Api_Mapper_Response_Capture
188
  */
189
+ protected function buildMapperResponseCapture() {
 
190
  $mapper = new Payone_Api_Mapper_Response_Capture();
191
  return $mapper;
192
  }
194
  /**
195
  * @return Payone_Api_Mapper_Response_Debit
196
  */
197
+ protected function buildMapperResponseDebit() {
 
198
  $mapper = new Payone_Api_Mapper_Response_Debit();
199
  return $mapper;
200
  }
202
  /**
203
  * @return Payone_Api_Mapper_Response_Refund
204
  */
205
+ protected function buildMapperResponseRefund() {
 
206
  $mapper = new Payone_Api_Mapper_Response_Refund();
207
  return $mapper;
208
  }
210
  /**
211
  * @return Payone_Api_Mapper_Response_3dsCheck
212
  */
213
+ protected function buildMapperResponse3dsCheck() {
 
214
  $mapper = new Payone_Api_Mapper_Response_3dsCheck();
215
  return $mapper;
216
  }
218
  /**
219
  * @return Payone_Api_Mapper_Response_AddressCheck
220
  */
221
+ protected function buildMapperResponseAddressCheck() {
 
222
  $mapper = new Payone_Api_Mapper_Response_AddressCheck();
223
  return $mapper;
224
  }
225
 
 
226
  /**
227
  * @return Payone_Api_Mapper_Response_BankAccountCheck
228
  */
229
+ protected function buildMapperResponseBankAccountCheck() {
 
230
  $mapper = new Payone_Api_Mapper_Response_BankAccountCheck();
231
  return $mapper;
232
  }
234
  /**
235
  * @return Payone_Api_Mapper_Response_Consumerscore
236
  */
237
+ protected function buildMapperResponseConsumerscore() {
 
238
  $mapper = new Payone_Api_Mapper_Response_Consumerscore();
239
  return $mapper;
240
  }
242
  /**
243
  * @return Payone_Api_Mapper_Response_CreditCardCheck
244
  */
245
+ protected function buildMapperResponseCreditCardCheck() {
 
246
  $mapper = new Payone_Api_Mapper_Response_CreditCardCheck();
247
  return $mapper;
248
  }
250
  /**
251
  * @return Payone_Api_Mapper_Response_GetInvoice
252
  */
253
+ protected function buildMapperResponseGetInvoice() {
 
254
  $mapper = new Payone_Api_Mapper_Response_GetInvoice();
255
  return $mapper;
256
  }
258
  /**
259
  * @return Payone_Api_Mapper_Response_GetFile
260
  */
261
+ protected function buildMapperResponseGetFile() {
 
262
  $mapper = new Payone_Api_Mapper_Response_GetFile();
263
  return $mapper;
264
  }
266
  /**
267
  * @return Payone_Api_Mapper_Response_Vauthorization
268
  */
269
+ public function buildMapperResponseVauthorize() {
 
270
  $mapper = new Payone_Api_Mapper_Response_Vauthorization();
271
  return $mapper;
272
  }
274
  /**
275
  * @return Payone_Api_Mapper_Response_CreateAccess
276
  */
277
+ public function buildMapperResponseCreateAccess() {
 
278
  $mapper = new Payone_Api_Mapper_Response_CreateAccess();
279
  return $mapper;
280
  }
281
+
282
+ /**
283
+ * @return Payone_Api_Mapper_Response_Genericpayment
284
+ */
285
+ public function buildMapperResponseGenericpayment() {
286
+ $mapper = new Payone_Api_Mapper_Response_Genericpayment();
287
+ return $mapper;
288
+ }
289
 
290
  /**
291
  * @return Payone_Api_Mapper_Response_UpdateAccess
292
  */
293
+ public function buildMapperResponseUpdateAccess() {
 
294
  $mapper = new Payone_Api_Mapper_Response_UpdateAccess();
295
  return $mapper;
296
  }
298
  /**
299
  * @return Payone_Api_Mapper_Response_ManageMandate
300
  */
301
+ public function buildMapperResponseManageMandate() {
 
302
  $mapper = new Payone_Api_Mapper_Response_ManageMandate();
303
  return $mapper;
304
  }
306
  /**
307
  * @return Payone_Api_Service_Payment_Preauthorize
308
  */
309
+ public function buildServicePaymentPreauthorize() {
 
310
  $service = new Payone_Api_Service_Payment_Preauthorize();
311
  $service->setAdapter($this->buildHttpClient());
312
  $service->setMapperRequest($this->buildMapperRequestPreauthorize());
315
  return $service;
316
  }
317
 
 
318
  /**
319
  * @return Payone_Api_Service_Payment_Authorize
320
  */
321
+ public function buildServicePaymentAuthorize() {
 
322
  $service = new Payone_Api_Service_Payment_Authorize();
323
  $service->setAdapter($this->buildHttpClient());
324
  $service->setMapperRequest($this->buildMapperRequestAuthorize());
327
  return $service;
328
  }
329
 
 
330
  /**
331
  * @return Payone_Api_Service_Payment_Capture
332
  */
333
+ public function buildServicePaymentCapture() {
 
334
  $service = new Payone_Api_Service_Payment_Capture();
335
  $service->setAdapter($this->buildHttpClient());
336
  $service->setMapperRequest($this->buildMapperRequestCapture());
337
  $service->setMapperResponse($this->buildMapperResponseCapture());
338
  $service->setValidator($this->buildValidatorDefault());
339
  return $service;
 
340
  }
341
 
 
342
  /**
343
  * @return Payone_Api_Service_Payment_Debit
344
  */
345
+ public function buildServicePaymentDebit() {
 
346
  $service = new Payone_Api_Service_Payment_Debit();
347
  $service->setAdapter($this->buildHttpClient());
348
  $service->setMapperRequest($this->buildMapperRequestDebit());
349
  $service->setMapperResponse($this->buildMapperResponseDebit());
350
  $service->setValidator($this->buildValidatorDefault());
351
  return $service;
 
352
  }
353
 
354
  /**
355
  * @return Payone_Api_Service_Payment_Refund
356
  */
357
+ public function buildServicePaymentRefund() {
 
358
  $service = new Payone_Api_Service_Payment_Refund();
359
  $service->setAdapter($this->buildHttpClient());
360
  $service->setMapperRequest($this->buildMapperRequestRefund());
361
  $service->setMapperResponse($this->buildMapperResponseRefund());
362
  $service->setValidator($this->buildValidatorDefault());
363
  return $service;
 
364
  }
365
 
366
  /**
367
  * @return Payone_Api_Service_Verification_3dsCheck
368
  */
369
+ public function buildServiceVerification3dscheck() {
 
370
  $service = new Payone_Api_Service_Verification_3dsCheck();
371
  $service->setAdapter($this->buildHttpClient());
372
  $service->setMapperResponse($this->buildMapperResponse3dsCheck());
373
  $service->setValidator($this->buildValidatorDefault());
374
  return $service;
 
375
  }
376
 
377
  /**
378
  * @return Payone_Api_Service_Verification_AddressCheck
379
  */
380
+ public function buildServiceVerificationAddressCheck() {
 
381
  $service = new Payone_Api_Service_Verification_AddressCheck();
382
  $service->setAdapter($this->buildHttpClient());
383
  $service->setMapperResponse($this->buildMapperResponseAddressCheck());
384
  $service->setValidator($this->buildValidatorDefault());
385
  return $service;
 
386
  }
387
 
388
  /**
389
  * @return Payone_Api_Service_Verification_BankAccountCheck
390
  */
391
+ public function buildServiceVerificationBankAccountCheck() {
 
392
  $service = new Payone_Api_Service_Verification_BankAccountCheck();
393
  $service->setAdapter($this->buildHttpClient());
394
  $service->setMapperResponse($this->buildMapperResponseBankAccountCheck());
395
  $service->setValidator($this->buildValidatorDefault());
396
  return $service;
 
397
  }
398
 
399
  /**
400
  * @return Payone_Api_Service_Verification_Consumerscore
401
  */
402
+ public function buildServiceVerificationConsumerscore() {
 
403
  $service = new Payone_Api_Service_Verification_Consumerscore();
404
  $service->setAdapter($this->buildHttpClient());
405
  $service->setMapperResponse($this->buildMapperResponseConsumerscore());
406
  $service->setValidator($this->buildValidatorDefault());
407
  return $service;
 
408
  }
409
 
410
  /**
411
  * @return Payone_Api_Service_Verification_CreditCardCheck
412
  */
413
+ public function buildServiceVerificationCreditCardCheck() {
 
414
  $service = new Payone_Api_Service_Verification_CreditCardCheck();
415
  $service->setAdapter($this->buildHttpClient());
416
  $service->setMapperResponse($this->buildMapperResponseCreditCardCheck());
417
  $service->setValidator($this->buildValidatorDefault());
418
  return $service;
 
419
  }
420
 
421
  /**
422
  * @return Payone_Api_Service_Management_GetInvoice
423
  */
424
+ public function buildServiceManagementGetInvoice() {
 
425
  $service = new Payone_Api_Service_Management_GetInvoice();
426
  $service->setAdapter($this->buildHttpClient());
427
  $service->setMapperResponse($this->buildMapperResponseGetInvoice());
428
  $service->setValidator($this->buildValidatorDefault());
429
  return $service;
 
430
  }
431
 
432
  /**
433
  * @return Payone_Api_Service_Management_GetFile
434
  */
435
+ public function buildServiceManagementGetFile() {
 
436
  $service = new Payone_Api_Service_Management_GetFile();
437
  $service->setAdapter($this->buildHttpClient());
438
  $service->setMapperResponse($this->buildMapperResponseGetFile());
439
  $service->setValidator($this->buildValidatorDefault());
440
  return $service;
 
441
  }
442
 
443
  /**
444
  * @return Payone_Api_Service_Management_ManageMandate
445
  */
446
+ public function buildServiceManagementManageMandate() {
 
447
  $service = new Payone_Api_Service_Management_ManageMandate();
448
  $service->setAdapter($this->buildHttpClient());
449
  $service->setMapperResponse($this->buildMapperResponseManageMandate());
450
  $service->setValidator($this->buildValidatorDefault());
451
  return $service;
 
452
  }
453
 
454
  /**
455
  * @return Payone_Api_Service_Payment_Vauthorize
456
  */
457
+ public function buildServicePaymentVauthorize() {
 
458
  $service = new Payone_Api_Service_Payment_Vauthorize();
459
  $service->setAdapter($this->buildHttpClient());
460
  $service->setMapperRequest($this->buildMapperRequestVauthorize());
466
  /**
467
  * @return Payone_Api_Service_Payment_CreateAccess
468
  */
469
+ public function buildServicePaymentCreateAccess() {
 
470
  $service = new Payone_Api_Service_Payment_CreateAccess();
471
  $service->setAdapter($this->buildHttpClient());
472
  $service->setMapperRequest($this->buildMapperRequestCreateAccess());
475
  return $service;
476
  }
477
 
478
+ /**
479
+ * Create service for genericpayment request.
480
+ * @return Payone_Api_Service_Payment_Genericpayment
481
+ */
482
+ public function buildServicePaymentGenericpayment() {
483
+ $service = new Payone_Api_Service_Payment_Genericpayment();
484
+ $service->setAdapter($this->buildHttpClient());
485
+ $service->setMapperRequest($this->buildMapperRequestGenericpayment());
486
+ $service->setMapperResponse($this->buildMapperResponseGenericpayment());
487
+ $service->setValidator($this->buildValidatorDefault());
488
+ return $service;
489
+ }
490
+
491
  /**
492
  * @return Payone_Api_Service_Management_UpdateAccess
493
  */
494
+ public function buildServiceManagementUpdateAccess() {
 
495
  $service = new Payone_Api_Service_Management_UpdateAccess();
496
  $service->setAdapter($this->buildHttpClient());
497
  $service->setMapperRequest($this->buildMapperRequestUpdateAccess());
503
  /**
504
  * @return Payone_Api_Service_ProtocolRequest
505
  */
506
+ public function buildServiceProtocolRequest() {
 
507
  $servicePR = new Payone_Api_Service_ProtocolRequest();
508
 
509
  return $servicePR;
512
  /**
513
  * @return Payone_Api_Validator_DefaultParameters
514
  */
515
+ public function buildValidatorDefault() {
 
516
  $validator = new Payone_Api_Validator_DefaultParameters();
517
 
518
  return $validator;
521
  /**
522
  * @param Payone_Api_Config $config
523
  */
524
+ public function setConfig($config) {
 
525
  $this->config = $config;
526
  }
527
 
528
  /**
529
  * @return Payone_Api_Config
530
  */
531
+ public function getConfig() {
 
532
  return $this->config;
533
  }
534
+
535
  }
lib/Payone/Api/Mapper/Request/Payment/Genericpayment.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 Mapper
18
+ * @author Ronny Schröder
19
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
20
+ */
21
+ class Payone_Api_Mapper_Request_Payment_Genericpayment
22
+ extends Payone_Api_Mapper_Request_Payment_Abstract
23
+ implements Payone_Api_Mapper_Request_Interface
24
+ {
25
+ /**
26
+ * Convert amount for payone service request
27
+ * @param Payone_Api_Request_Interface $request
28
+ * @return type
29
+ */
30
+ public function map(Payone_Api_Request_Interface $request)
31
+ {
32
+ /** @var $request Payone_Api_Request_Authorization */
33
+ $this->mapAmount($request);
34
+
35
+ return $request->toArray();
36
+ }
37
+
38
+ }
lib/Payone/Api/Mapper/Response/Genericpayment.php ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 Mapper
18
+ * @author Ronny Schröder
19
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
20
+ */
21
+ class Payone_Api_Mapper_Response_Genericpayment
22
+ extends Payone_Api_Mapper_Response_Abstract
23
+ implements Payone_Api_Mapper_Response_Interface
24
+ {
25
+ /**
26
+ * @param array $params
27
+ *
28
+ * @return Payone_Api_Response_Authorization_Approved|Payone_Api_Response_Authorization_Redirect|Payone_Api_Response_Error
29
+ * @throws Payone_Api_Exception_UnknownStatus
30
+ */
31
+ public function map(array $params)
32
+ {
33
+ $this->setParams($params);
34
+
35
+ if ($this->isApproved()) {
36
+ $response = new Payone_Api_Response_Genericpayment_Approved($params);
37
+ }
38
+ elseif ($this->isOk()) {
39
+ $response = new Payone_Api_Response_Genericpayment_Ok($params);
40
+ }
41
+ elseif ($this->isRedirect()) {
42
+ $response = new Payone_Api_Response_Genericpayment_Redirect($params);
43
+ }
44
+ elseif ($this->isError()) {
45
+ $response = new Payone_Api_Response_Error($params);
46
+ }
47
+ else {
48
+ throw new Payone_Api_Exception_UnknownStatus();
49
+ }
50
+
51
+ $response->setRawResponse($params);
52
+
53
+ return $response;
54
+ }
55
+
56
+ }
lib/Payone/Api/Request/Abstract.php CHANGED
@@ -33,7 +33,7 @@
33
 
34
 
35
  abstract class Payone_Api_Request_Abstract
36
- implements Payone_Api_Request_Interface, Payone_Protocol_Filter_Filterable
37
  {
38
  /**
39
  * @var int
@@ -93,6 +93,11 @@ abstract class Payone_Api_Request_Abstract
93
  */
94
  protected $integrator_version = NULL;
95
 
 
 
 
 
 
96
  /**
97
  * @param array $data
98
  */
@@ -136,7 +141,7 @@ abstract class Payone_Api_Request_Abstract
136
  */
137
  $result = array_merge($result, $data->toArray());
138
  }
139
- else {
140
  $result[$key] = $data;
141
  }
142
  }
@@ -151,33 +156,17 @@ abstract class Payone_Api_Request_Abstract
151
  */
152
  public function __toString()
153
  {
154
- $stringArray = array();
155
- foreach ($this->toArray() as $key => $value) {
156
- $stringArray[] = $key . '=' . $value;
 
 
 
157
  }
158
 
159
- $result = implode('|', $stringArray);
160
  return $result;
161
  }
162
 
163
- /**
164
- * @param string $key
165
- * @return null|mixed
166
- */
167
- public function getValue($key)
168
- {
169
- return $this->get($key);
170
- }
171
-
172
- /**
173
- * @param string $key
174
- * @param string $name
175
- * @return boolean|null
176
- */
177
- public function setValue($key, $name)
178
- {
179
- return $this->set($key, $name);
180
- }
181
 
182
  /**
183
  * @param $name
@@ -411,4 +400,11 @@ abstract class Payone_Api_Request_Abstract
411
  return $this->solution_version;
412
  }
413
 
 
 
 
 
 
 
 
414
  }
33
 
34
 
35
  abstract class Payone_Api_Request_Abstract
36
+ implements Payone_Api_Request_Interface
37
  {
38
  /**
39
  * @var int
93
  */
94
  protected $integrator_version = NULL;
95
 
96
+ /**
97
+ * @var Payone_Protocol_Service_ApplyFilters
98
+ */
99
+ private $applyFilters = NULL;
100
+
101
  /**
102
  * @param array $data
103
  */
141
  */
142
  $result = array_merge($result, $data->toArray());
143
  }
144
+ elseif ($data instanceof Payone_Protocol_Service_ApplyFilters == false) {
145
  $result[$key] = $data;
146
  }
147
  }
156
  */
157
  public function __toString()
158
  {
159
+ if($this->applyFilters) {
160
+ $result = $this->applyFilters->apply($this->toArray());
161
+ } else {
162
+ $protocolFactory = new Payone_Protocol_Factory();
163
+ $defaultApplyFilters = $protocolFactory->buildServiceApplyFilters();
164
+ $result = $defaultApplyFilters->apply($this->toArray());
165
  }
166
 
 
167
  return $result;
168
  }
169
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
170
 
171
  /**
172
  * @param $name
400
  return $this->solution_version;
401
  }
402
 
403
+ /**
404
+ * @param Payone_Protocol_Service_ApplyFilters $applyFilters
405
+ */
406
+ public function setApplyFilters(Payone_Protocol_Service_ApplyFilters $applyFilters)
407
+ {
408
+ $this->applyFilters = $applyFilters;
409
+ }
410
  }
lib/Payone/Api/Request/Authorization/Abstract.php CHANGED
@@ -95,6 +95,13 @@ abstract class Payone_Api_Request_Authorization_Abstract
95
  * @var Payone_Api_Request_Parameter_Invoicing_Transaction
96
  */
97
  protected $invoicing = null;
 
 
 
 
 
 
 
98
 
99
 
100
  /**
@@ -289,5 +296,19 @@ abstract class Payone_Api_Request_Authorization_Abstract
289
  {
290
  return $this->invoicing;
291
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
292
 
293
  }
95
  * @var Payone_Api_Request_Parameter_Invoicing_Transaction
96
  */
97
  protected $invoicing = null;
98
+
99
+ /**
100
+ * Mandatory for PayPal Express Checkout
101
+ * Alphanumeric max 16 chars
102
+ * @var string
103
+ */
104
+ protected $workorderid = null;
105
 
106
 
107
  /**
296
  {
297
  return $this->invoicing;
298
  }
299
+
300
+ /**
301
+ * @return string
302
+ */
303
+ function getWorkorderId() {
304
+ return $this->workorderid;
305
+ }
306
+
307
+ /**
308
+ * @param string $workorderid
309
+ */
310
+ function setWorkorderId($workorderid) {
311
+ $this->workorderid = $workorderid;
312
+ }
313
 
314
  }
lib/Payone/Api/Request/Genericpayment.php ADDED
@@ -0,0 +1,229 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * For PayPal ECS the request type genericpayment ist mandatory
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_Api
18
+ * @subpackage Request
19
+ * @author Ronny Schröder
20
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
+ */
22
+ class Payone_Api_Request_Genericpayment extends Payone_Api_Request_Abstract {
23
+
24
+ /**
25
+ * Sub account ID
26
+ *
27
+ * @var int
28
+ */
29
+ protected $aid = NULL;
30
+
31
+ /**
32
+ * @var string
33
+ */
34
+ protected $clearingtype = NULL;
35
+
36
+ /**
37
+ * Total amount (in smallest currency unit! e.g. cent)
38
+ *
39
+ * @var int
40
+ */
41
+ protected $amount = NULL;
42
+
43
+ /**
44
+ * Currency (ISO-4217)
45
+ *
46
+ * @var string
47
+ */
48
+ protected $currency = NULL;
49
+
50
+ /**
51
+ * dynamic text for debit and creditcard payments
52
+ *
53
+ * @var string
54
+ */
55
+ protected $narrative_text = NULL;
56
+
57
+ /**
58
+ * @var Payone_Api_Request_Parameter_Authorization_DeliveryData
59
+ */
60
+ protected $deliveryData = null;
61
+
62
+ /**
63
+ * With the first genericpayment the workorderid will be generated from the
64
+ * PAYONE platform and will be sent to you in the response. The ID is unique.
65
+ * The returned workorderid is mandatory for the following requests of
66
+ * PayPal Express Checkout.
67
+ *
68
+ * @var string
69
+ */
70
+ protected $workorderid = NULL;
71
+
72
+ /**
73
+ * Wallet provider PPE: PayPal Express
74
+ * @var Payone_Api_Request_Parameter_Authorization_PaymentMethod_Wallet
75
+ */
76
+ protected $wallet = null;
77
+
78
+ /**
79
+ * Mandatory for PayPal ECS:
80
+ * 1. action=setexpresscheckout
81
+ * 2. action=getexpresscheckoutdetails
82
+ *
83
+ * @var Payone_Api_Request_Parameter_Paydata_Paydata
84
+ */
85
+ protected $paydata = NULL;
86
+
87
+
88
+ /**
89
+ * @param array $data
90
+ */
91
+ public function __construct(array $data = array())
92
+ {
93
+ $this->request = Payone_Api_Enum_RequestType::GENERICPAYMENT;
94
+ parent::__construct($data);
95
+ }
96
+
97
+
98
+ /**
99
+ * @param int $aid
100
+ */
101
+ public function setAid($aid) {
102
+ $this->aid = $aid;
103
+ }
104
+
105
+ /**
106
+ * @return int
107
+ */
108
+ public function getAid() {
109
+ return $this->aid;
110
+ }
111
+
112
+ /**
113
+ * @param int $amount
114
+ */
115
+ public function setAmount($amount) {
116
+ $this->amount = $amount;
117
+ }
118
+
119
+ /**
120
+ * @return int
121
+ */
122
+ public function getAmount() {
123
+ return $this->amount;
124
+ }
125
+
126
+ /**
127
+ * @param string $clearingtype
128
+ */
129
+ public function setClearingtype($clearingtype) {
130
+ $this->clearingtype = $clearingtype;
131
+ }
132
+
133
+ /**
134
+ * @return string
135
+ */
136
+ public function getClearingtype() {
137
+ return $this->clearingtype;
138
+ }
139
+
140
+ /**
141
+ * @param string $currency
142
+ */
143
+ public function setCurrency($currency) {
144
+ $this->currency = $currency;
145
+ }
146
+
147
+ /**
148
+ * @return string
149
+ */
150
+ public function getCurrency() {
151
+ return $this->currency;
152
+ }
153
+
154
+ /**
155
+ * @param string $narrative_text
156
+ */
157
+ public function setNarrativeText($narrative_text) {
158
+ $this->narrative_text = $narrative_text;
159
+ }
160
+
161
+ /**
162
+ * @return string
163
+ */
164
+ public function getNarrativeText() {
165
+ return $this->narrative_text;
166
+ }
167
+
168
+ /**
169
+ * @param Payone_Api_Request_Parameter_Authorization_DeliveryData $deliveryData
170
+ */
171
+ public function setDeliveryData(Payone_Api_Request_Parameter_Authorization_DeliveryData $deliveryData) {
172
+ $this->deliveryData = $deliveryData;
173
+ }
174
+
175
+ /**
176
+ * @return Payone_Api_Request_Parameter_Authorization_DeliveryData
177
+ */
178
+ public function getDeliveryData() {
179
+ return $this->deliveryData;
180
+ }
181
+
182
+ /**
183
+ *
184
+ * @return string
185
+ */
186
+ function getWorkorderId() {
187
+ return $this->workorderid;
188
+ }
189
+
190
+ /**
191
+ *
192
+ * @param string $workorderid
193
+ */
194
+ function setWorkorderId($workorderid) {
195
+ $this->workorderid = $workorderid;
196
+ }
197
+
198
+ /**
199
+ *
200
+ * @return Payone_Api_Request_Parameter_Authorization_PaymentMethod_Wallet
201
+ */
202
+ function getWallet() {
203
+ return $this->wallet;
204
+ }
205
+
206
+ /**
207
+ *
208
+ * @param Payone_Api_Request_Parameter_Authorization_PaymentMethod_Wallet $wallet
209
+ */
210
+ function setWallet(Payone_Api_Request_Parameter_Authorization_PaymentMethod_Wallet $wallet) {
211
+ $this->wallet = $wallet;
212
+ }
213
+
214
+ /**
215
+ * @param Payone_Api_Request_Parameter_Paydata_Paydata $paydata
216
+ */
217
+ public function setPaydata($paydata) {
218
+ $this->paydata = $paydata;
219
+ }
220
+
221
+ /**
222
+ *
223
+ * @return Payone_Api_Request_Parameter_Paydata_Paydata
224
+ */
225
+ public function getPaydata() {
226
+ return $this->paydata;
227
+ }
228
+
229
+ }
lib/Payone/Api/Request/Interface.php CHANGED
@@ -30,7 +30,7 @@
30
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
  * @link http://www.noovias.com
32
  */
33
- interface Payone_Api_Request_Interface
34
  {
35
  /**
36
  * @abstract
30
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
  * @link http://www.noovias.com
32
  */
33
+ interface Payone_Api_Request_Interface extends Payone_Protocol_Filter_Filterable
34
  {
35
  /**
36
  * @abstract
lib/Payone/Api/Request/Parameter/Abstract.php CHANGED
@@ -31,7 +31,7 @@
31
  * @link http://www.noovias.com
32
  */
33
  abstract class Payone_Api_Request_Parameter_Abstract
34
- implements Payone_Api_Request_Parameter_Interface, Payone_Protocol_Filter_Filterable
35
  {
36
  /**
37
  * @param array $data
31
  * @link http://www.noovias.com
32
  */
33
  abstract class Payone_Api_Request_Parameter_Abstract
34
+ implements Payone_Api_Request_Parameter_Interface
35
  {
36
  /**
37
  * @param array $data
lib/Payone/Api/Request/Parameter/Paydata/DataItem.php CHANGED
@@ -15,7 +15,7 @@
15
  * @category Payone
16
  * @package Payone_Api
17
  * @subpackage Request
18
- * @author Ronny Schröder <www.imk24.de>
19
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
20
  */
21
 
15
  * @category Payone
16
  * @package Payone_Api
17
  * @subpackage Request
18
+ * @author Ronny Schröder
19
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
20
  */
21
 
lib/Payone/Api/Request/Parameter/Paydata/Paydata.php CHANGED
@@ -16,16 +16,7 @@
16
  * @category Payone
17
  * @package Payone_Api
18
  * @subpackage Request
19
- * @author Ronny Schröder <www.imk24.de>
20
- * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
- */
22
-
23
- /**
24
- *
25
- * @category Payone
26
- * @package Payone_Api
27
- * @subpackage Request
28
- * @copyright Copyright (c) 2014
29
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
30
  */
31
  class Payone_Api_Request_Parameter_Paydata_Paydata extends Payone_Api_Request_Parameter_Abstract {
@@ -48,6 +39,47 @@ class Payone_Api_Request_Parameter_Paydata_Paydata extends Payone_Api_Request_Pa
48
  return $data;
49
  }
50
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  /**
52
  * @return bool
53
  */
16
  * @category Payone
17
  * @package Payone_Api
18
  * @subpackage Request
19
+ * @author Ronny Schröder
 
 
 
 
 
 
 
 
 
20
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
  */
22
  class Payone_Api_Request_Parameter_Paydata_Paydata extends Payone_Api_Request_Parameter_Abstract {
39
  return $data;
40
  }
41
 
42
+ /**
43
+ * Returns paydata as assoc array
44
+ * Array
45
+ * (
46
+ * [shipping_zip] => 79111
47
+ * [shipping_country] => DE
48
+ * [shipping_state] => Empty
49
+ * [shipping_city] => Freiburg
50
+ * [shipping_street] => ESpachstr. 1
51
+ * [shipping_firstname] => Max
52
+ * [shipping_lastname] => Mustermann
53
+ * )
54
+ *
55
+ * @return array
56
+ */
57
+ public function toAssocArray() {
58
+ $tmp = array();
59
+
60
+ foreach ($this->getItems() as $item) {
61
+ $tmp[$item->getKey()] = $item->getData();
62
+ }
63
+ return $tmp;
64
+ }
65
+
66
+ /**
67
+ * @return string
68
+ */
69
+ public function __toString() {
70
+ $stringArray = array();
71
+ foreach ($this->toArray() as $key => $value) {
72
+ if ($key instanceof Payone_Api_Response_Interface) {
73
+ $stringArray[] = $key->__toString();
74
+ } else {
75
+ $stringArray[] = $key . '=' . $value;
76
+ }
77
+ }
78
+
79
+ $result = implode('|', $stringArray);
80
+ return $result;
81
+ }
82
+
83
  /**
84
  * @return bool
85
  */
lib/Payone/Api/Response/Abstract.php CHANGED
@@ -36,6 +36,11 @@ abstract class Payone_Api_Response_Abstract implements Payone_Api_Response_Inter
36
 
37
  protected $rawResponse = NULL;
38
 
 
 
 
 
 
39
  /**
40
  * @param array $params
41
  */
@@ -71,7 +76,7 @@ abstract class Payone_Api_Response_Abstract implements Payone_Api_Response_Inter
71
  if ($data === null) {
72
  continue;
73
  }
74
- else {
75
  $result[$key] = $data;
76
  }
77
  }
@@ -84,12 +89,14 @@ abstract class Payone_Api_Response_Abstract implements Payone_Api_Response_Inter
84
  */
85
  public function __toString()
86
  {
87
- $stringArray = array();
88
- foreach ($this->toArray() as $key => $value) {
89
- $stringArray[] = $key . '=' . $value;
 
 
 
90
  }
91
 
92
- $result = implode('|', $stringArray);
93
  return $result;
94
  }
95
 
@@ -246,4 +253,12 @@ abstract class Payone_Api_Response_Abstract implements Payone_Api_Response_Inter
246
  {
247
  return $this->rawResponse;
248
  }
 
 
 
 
 
 
 
 
249
  }
36
 
37
  protected $rawResponse = NULL;
38
 
39
+ /**
40
+ * @var Payone_Protocol_Service_ApplyFilters
41
+ */
42
+ private $applyFilters = NULL;
43
+
44
  /**
45
  * @param array $params
46
  */
76
  if ($data === null) {
77
  continue;
78
  }
79
+ elseif ($data instanceof Payone_Protocol_Service_ApplyFilters == false) {
80
  $result[$key] = $data;
81
  }
82
  }
89
  */
90
  public function __toString()
91
  {
92
+ if($this->applyFilters) {
93
+ $result = $this->applyFilters->apply($this->toArray());
94
+ } else {
95
+ $protocolFactory = new Payone_Protocol_Factory();
96
+ $defaultApplyFilters = $protocolFactory->buildServiceApplyFilters();
97
+ $result = $defaultApplyFilters->apply($this->toArray());
98
  }
99
 
 
100
  return $result;
101
  }
102
 
253
  {
254
  return $this->rawResponse;
255
  }
256
+
257
+ /**
258
+ * @param Payone_Protocol_Service_ApplyFilters $applyFilters
259
+ */
260
+ public function setApplyFilters(Payone_Protocol_Service_ApplyFilters $applyFilters)
261
+ {
262
+ $this->applyFilters = $applyFilters;
263
+ }
264
  }
lib/Payone/Api/Response/Genericpayment/Abstract.php ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the GNU General Public License (GPL 3)
7
+ * that is bundled with this package in the file LICENSE.txt
8
+ *
9
+ * DISCLAIMER
10
+ *
11
+ * Do not edit or add to this file if you wish to upgrade Payone 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 Response
18
+ * @author Ronny Schröder
19
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
20
+ */
21
+ abstract class Payone_Api_Response_Genericpayment_Abstract
22
+ extends Payone_Api_Response_Abstract
23
+ {
24
+ protected $workorderid = null;
25
+ function getWorkorderId() {
26
+ return $this->workorderid;
27
+ }
28
+
29
+ function setWorkorderId($workorderid) {
30
+ $this->workorderid = $workorderid;
31
+ }
32
+
33
+ }
lib/Payone/Api/Response/Genericpayment/Approved.php ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_Api
18
+ * @subpackage Response
19
+ * @author Ronny Schröder
20
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
+ */
22
+ class Payone_Api_Response_Genericpayment_Approved extends Payone_Api_Response_Genericpayment_Abstract {
23
+
24
+ /**
25
+ * add_paydata[workorderid] = workorderid from payone
26
+ * add_paydata[...] = delivery data
27
+ * @var Payone_Api_Response_Parameter_Paydata_Paydata
28
+ */
29
+ protected $paydata = NULL;
30
+
31
+ /**
32
+ * @param array $params
33
+ */
34
+ function __construct(array $params = array()) {
35
+ parent::__construct($params);
36
+
37
+ $this->setRawResponse($params);
38
+ $this->initPaydata($params);
39
+ }
40
+
41
+ protected function initPaydata($param) {
42
+
43
+ $payData = new Payone_Api_Response_Parameter_Paydata_Paydata($param);
44
+
45
+ if ($payData->hasItems()) {
46
+ $this->setPaydata($payData);
47
+ } else {
48
+ $this->setPaydata(NULL);
49
+ }
50
+ }
51
+
52
+
53
+ /**
54
+ * usage:
55
+ * $request = new Payone_Api_Request_Genericpayment(array_merge($this->getAccountData(), $requestData));
56
+ * $builder = $this->getPayoneBuilder();
57
+ *
58
+ * $service = $builder->buildServicePaymentGenericpayment();
59
+ * $response = $service->request($request);
60
+ * print_r($response->getPaydata()->toAssocArray());
61
+ *
62
+ * you get an array like that:
63
+ *
64
+ * Array
65
+ * (
66
+ * [shipping_zip] => 79111
67
+ * [shipping_country] => DE
68
+ * [shipping_state] => Empty
69
+ * [shipping_city] => Freiburg
70
+ * [shipping_street] => ESpachstr. 1
71
+ * [shipping_firstname] => Max
72
+ * [shipping_lastname] => Mustermann
73
+ * )
74
+ *
75
+ * @return Payone_Api_Response_Parameter_Paydata_Paydata
76
+ */
77
+ public function getPaydata() {
78
+ return $this->paydata;
79
+ }
80
+
81
+ /**
82
+ * @param Payone_Api_Response_Parameter_Paydata_Paydata $paydata
83
+ */
84
+ public function setPaydata($paydata) {
85
+ $this->paydata = $paydata;
86
+ }
87
+
88
+ }
lib/Payone/Api/Response/Genericpayment/Ok.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 Response
18
+ * @author Ronny Schröder
19
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
20
+ */
21
+ class Payone_Api_Response_Genericpayment_Ok extends Payone_Api_Response_Genericpayment_Approved {
22
+
23
+ }
lib/Payone/Api/Response/Genericpayment/Redirect.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 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 Response
18
+ * @author Ronny Schröder
19
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
20
+ */
21
+ class Payone_Api_Response_Genericpayment_Redirect extends Payone_Api_Response_Genericpayment_Abstract
22
+ {
23
+
24
+ /**
25
+ * @var string
26
+ */
27
+ protected $redirecturl = NULL;
28
+
29
+ /**
30
+ * @param string $redirecturl
31
+ */
32
+ public function setRedirecturl($redirecturl)
33
+ {
34
+ $this->redirecturl = $redirecturl;
35
+ }
36
+
37
+ /**
38
+ * @return string
39
+ */
40
+ public function getRedirecturl()
41
+ {
42
+ return $this->redirecturl;
43
+ }
44
+ }
lib/Payone/Api/Response/Parameter/Abstract.php ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the GNU General Public License (GPL 3)
7
+ * that is bundled with this package in the file LICENSE.txt
8
+ *
9
+ * DISCLAIMER
10
+ *
11
+ * Do not edit or add to this file if you wish to upgrade Payone 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 Response
18
+ * @author Ronny Schröder
19
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
20
+ */
21
+ abstract class Payone_Api_Response_Parameter_Abstract implements Payone_Api_Response_Parameter_Interface {
22
+
23
+ /**
24
+ * @param array $data
25
+ */
26
+ public function __construct(array $data = array()) {
27
+ if (count($data) > 0) {
28
+ $this->init($data);
29
+ }
30
+ }
31
+
32
+ /**
33
+ * @param array $data
34
+ */
35
+ public function init(array $data = array()) {
36
+ foreach ($data as $key => $value) {
37
+ $key = ucwords(str_replace('_', ' ', $key));
38
+ $method = 'set' . str_replace(' ', '', $key);
39
+
40
+ if (method_exists($this, $method)) {
41
+ $this->{$method}($value);
42
+ }
43
+ }
44
+ }
45
+
46
+ /**
47
+ * @return array
48
+ */
49
+ public function toArray() {
50
+ $result = array();
51
+ foreach ($this as $key => $data) {
52
+ if (!is_array($data) and ! is_object($data)) {
53
+ $result[$key] = $data;
54
+ } else if ($data instanceof Payone_Api_Response_Parameter_Interface) {
55
+ /**
56
+ * @var Payone_Api_Request_Parameter_Interface $data
57
+ */
58
+ $result = array_merge($result, $data->toArray());
59
+ }
60
+ }
61
+ return $result;
62
+ }
63
+
64
+ /**
65
+ * @return string
66
+ */
67
+ public function __toString() {
68
+ $stringArray = array();
69
+ foreach ($this->toArray() as $key => $value) {
70
+ if ($key instanceof Payone_Api_Response_Parameter_Interface) {
71
+ $stringArray[] = $key->__toString();
72
+ } else {
73
+ $stringArray[] = $key . '=' . $value;
74
+ }
75
+ }
76
+
77
+ $result = implode('|', $stringArray);
78
+ return $result;
79
+ }
80
+
81
+ }
lib/Payone/Api/Response/Parameter/Interface.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 Response
18
+ * @author Ronny Schröder
19
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
20
+ */
21
+ interface Payone_Api_Response_Parameter_Interface
22
+ {
23
+ /**
24
+ * @abstract
25
+ * @param array $data
26
+ */
27
+ public function init(array $data = array());
28
+
29
+ /**
30
+ * @return array
31
+ */
32
+ public function toArray();
33
+
34
+ /**
35
+ * @return string
36
+ */
37
+ public function __toString();
38
+ }
lib/Payone/Api/Response/Parameter/Paydata/DataItem.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 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 Response
18
+ * @author Ronny Schröder
19
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
20
+ */
21
+ class Payone_Api_Response_Parameter_Paydata_DataItem extends Payone_Api_Response_Parameter_Abstract
22
+ {
23
+ /**
24
+ * @var string
25
+ */
26
+ protected $key = NULL;
27
+ /**
28
+ * @var string
29
+ */
30
+ protected $data = NULL;
31
+
32
+ /**
33
+ * @param int $key
34
+ * @return array
35
+ */
36
+ public function toArray()
37
+ {
38
+ $data = array(); //parent::toArray();
39
+ $data['add_paydata[' . $this->key . ']'] = $this->getData();
40
+ return $data;
41
+ }
42
+
43
+ /**
44
+ * @param string $key
45
+ */
46
+ public function setKey($key)
47
+ {
48
+ $this->key = $key;
49
+ }
50
+
51
+ /**
52
+ * @return string
53
+ */
54
+ public function getKey()
55
+ {
56
+ return $this->key;
57
+ }
58
+
59
+ /**
60
+ * @param string $data
61
+ */
62
+ public function setData($data)
63
+ {
64
+ $this->data = $data;
65
+ }
66
+
67
+ /**
68
+ * @return string
69
+ */
70
+ public function getData()
71
+ {
72
+ return $this->data;
73
+ }
74
+
75
+ }
lib/Payone/Api/Response/Parameter/Paydata/Paydata.php ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_Api
18
+ * @subpackage Response
19
+ * @author Ronny Schröder
20
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
+ */
22
+ class Payone_Api_Response_Parameter_Paydata_Paydata extends Payone_Api_Response_Parameter_Abstract {
23
+
24
+ const PAYDATA_PARAM = 'add_paydata';
25
+
26
+ /**
27
+ * @var Payone_Api_Response_Parameter_Paydata_DataItem[]
28
+ */
29
+ protected $items = array();
30
+
31
+ /**
32
+ * @param array $data
33
+ */
34
+ public function __construct(array $data = array()) {
35
+ if (count($data) > 0) {
36
+ $this->init($data);
37
+ }
38
+ }
39
+
40
+ /**
41
+ * @param array $data
42
+ */
43
+ public function init(array $data = array()) {
44
+
45
+ $addPaydata = array();
46
+
47
+ foreach ($data as $key => $value) {
48
+ $part = explode('[', $key);
49
+ if (($part[0] === self::PAYDATA_PARAM) && (count($part) > 1)) {
50
+ $k = trim($part[1], ']');
51
+
52
+ $dataItem = new Payone_Api_Response_Parameter_Paydata_DataItem(array('key' => $k, 'data' => $value));
53
+
54
+ $addPaydata[] = $dataItem;
55
+ }
56
+ }
57
+
58
+ if (count($addPaydata) > 0) {
59
+ $this->setItems($addPaydata);
60
+ }
61
+ }
62
+
63
+ public function toArray() {
64
+ $data = array(); //parent::toArray();
65
+ /**
66
+ * @var Payone_Api_Response_Parameter_Paydata_DataItem $item
67
+ */
68
+ foreach ($this->items as $item) {
69
+
70
+ $data = array_merge($data, $item->toArray());
71
+ }
72
+
73
+ return $data;
74
+ }
75
+
76
+ /**
77
+ * Returns paydata as assoc array
78
+ * Array
79
+ * (
80
+ * [shipping_zip] => 79111
81
+ * [shipping_country] => DE
82
+ * [shipping_state] => Empty
83
+ * [shipping_city] => Freiburg
84
+ * [shipping_street] => ESpachstr. 1
85
+ * [shipping_firstname] => Max
86
+ * [shipping_lastname] => Mustermann
87
+ * )
88
+ *
89
+ * @return array
90
+ */
91
+ public function toAssocArray() {
92
+ $tmp = array();
93
+
94
+ foreach ($this->getItems() as $item) {
95
+ $tmp[$item->getKey()] = $item->getData();
96
+ }
97
+ return $tmp;
98
+ }
99
+
100
+ /**
101
+ * @return bool
102
+ */
103
+ public function hasItems() {
104
+ return count($this->items) ? true : false;
105
+ }
106
+
107
+ /**
108
+ * @param Payone_Api_Response_Parameter_Paydata_DataItem $item
109
+ */
110
+ public function addItem(Payone_Api_Response_Parameter_Paydata_DataItem $item) {
111
+ $this->items[] = $item;
112
+ }
113
+
114
+ /**
115
+ * @param Payone_Api_Response_Parameter_Paydata_DataItem[] $items
116
+ */
117
+ public function setItems($items) {
118
+ $this->items = $items;
119
+ }
120
+
121
+ /**
122
+ * @return Payone_Api_Response_Parameter_Paydata_DataItem[]
123
+ */
124
+ public function getItems() {
125
+ return $this->items;
126
+ }
127
+
128
+ }
lib/Payone/Api/Service/Payment/Genericpayment.php ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
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 to newer
11
+ * versions in the future. If you wish to customize Payone for your
12
+ * needs please refer to http://www.payone.de for more information.
13
+ * With the "genericpayment" request you will initiate the PayPal
14
+ * Express Checkout process.
15
+ * Process:
16
+ *
17
+ * 1. you have to use the request “genericpayment” with
18
+ * “add_paydata[action]=setexpresscheckout” and you get an
19
+ * unique “workorderid” and a redirect-url to paypal-login from the
20
+ * PAYONE platform
21
+ * 2. After the successful request you do another “genericpayment” request
22
+ * with “add_paydata[action]=getexpresscheckoutdetails” to get the
23
+ * shipment-data of the customer
24
+ * 3. To charge the customers PayPal account you have to do
25
+ * a request “preauthorization/capture” or an “authorization”
26
+ * with the unique “workorderid”
27
+ *
28
+ * <b>Example Using the Api Builder</b>
29
+ * <pre class="prettyprint">
30
+ * // Construct the service (Builder handles dependencies):
31
+ * // custom config can be injected, see Payone_Config
32
+ * $builder = new Payone_Builder();
33
+ *
34
+ * $service = $builder->buildServicePaymentGenericpayment();
35
+ *
36
+ * // Construct a valid request:
37
+ * $paydata = new Payone_Api_Request_Parameter_Paydata_Paydata();
38
+ * $paydata->addItem(new Payone_Api_Request_Parameter_Paydata_DataItem(
39
+ * array('key' => 'action', 'data' => Payone_Api_Enum_GenericpaymentAction::PAYPAL_ECS_SET_EXPRESSCHECKOUT)
40
+ * ));
41
+ * $requestData = array(
42
+ * 'clearingtype' => Payone_Enum_ClearingType::WALLET,
43
+ * 'amount' => 12.00,
44
+ * 'currency' => 'EUR',
45
+ * 'narrative_text' => 'Paypal ECS Step1',
46
+ * 'paydata' => $paydata,
47
+ * 'wallet' => new Payone_Api_Request_Parameter_Authorization_PaymentMethod_Wallet(array(
48
+ * 'wallettype' => Payone_Api_Enum_WalletType::PAYPAL_EXPRESS,
49
+ * 'successurl' => 'http://your-shop.com/payone/success.php',
50
+ * 'errorurl' => 'http://your-shop.com/payone/error.php',
51
+ * 'backurl' => 'http://your-shop.com/payone/back.php'
52
+ * ))
53
+ * );
54
+ * $request = new Payone_Api_Request_Genericpayment(array_merge($this->getAccountData(), $requestData));
55
+ *
56
+ * // Start genericpayment request:
57
+ * $response = $service->request($request);
58
+ *
59
+ * </pre>
60
+ *
61
+ * @category Payone
62
+ * @package Payone_Api
63
+ * @subpackage Service
64
+ * @author Ronny Schröder
65
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
66
+ *
67
+ * @api
68
+ */
69
+ class Payone_Api_Service_Payment_Genericpayment extends Payone_Api_Service_Payment_Abstract implements Payone_Api_Service_Payment_GenericpaymentInterface {
70
+
71
+ /**
72
+ * Execute Genericpayment Request
73
+ *
74
+ * @api
75
+ * @param Payone_Api_Request_Genericpayment $request
76
+ * @return Payone_Api_Response_Error|Payone_Api_Response_Genericpayment_Approved|Payone_Api_Response_Genericpayment_Redirect
77
+ * @throws Exception
78
+ */
79
+ public function request(Payone_Api_Request_Genericpayment $request) {
80
+ try {
81
+ $this->validateRequest($request);
82
+
83
+ $requestParams = $this->getMapperRequest()->map($request);
84
+
85
+ $responseRaw = $this->getAdapter()->request($requestParams);
86
+
87
+ $response = $this->getMapperResponse()->map($responseRaw);
88
+
89
+ $this->protocol($request, $response);
90
+ } catch (Exception $e) {
91
+ $this->protocolException($e, $request);
92
+ throw $e;
93
+ }
94
+
95
+ return $response;
96
+ }
97
+
98
+ }
lib/Payone/Api/Service/Payment/GenericpaymentInterface.php ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * With the "genericpayment" request you will initiate the
4
+ * PayPal Express Checkout process. *
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the GNU General Public License (GPL 3)
9
+ * that is bundled with this package in the file LICENSE.txt
10
+ *
11
+ * DISCLAIMER
12
+ *
13
+ * Do not edit or add to this file if you wish to upgrade Payone to newer
14
+ * versions in the future. If you wish to customize Payone for your
15
+ * needs please refer to http://www.payone.de for more information.
16
+ *
17
+ * @category Payone
18
+ * @package Payone_Api
19
+ * @subpackage Service
20
+ * @author Ronny Schröder
21
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
22
+ * @api
23
+ */
24
+ interface Payone_Api_Service_Payment_GenericpaymentInterface
25
+ {
26
+ /**
27
+ * Execute genericpayment request
28
+ * @param Payone_Api_Request_Genericpayment $request
29
+ * @return Payone_Api_Response_Error|Payone_Api_Response_Genericpayment_Approved|Payone_Api_Response_Genericpayment_Redirect
30
+ * @throws Exception
31
+ */
32
+ public function request(Payone_Api_Request_Genericpayment $request);
33
+
34
+ }
lib/Payone/Api/Service/ProtocolRequest.php CHANGED
@@ -46,16 +46,13 @@ class Payone_Api_Service_ProtocolRequest
46
  public function protocol(Payone_Api_Request_Interface $request,
47
  Payone_Api_Response_Interface $response = null)
48
  {
49
- // @todo hs: This Service can not work without a service apply filters.
50
- $this->getServiceApplyFilters()->apply($request);
51
- $this->getServiceApplyFilters()->apply($response);
 
52
 
53
 
54
  foreach ($this->loggers as $key => $logger) {
55
- /** @var $logger Payone_Protocol_Logger_Interface */
56
- $requestAsString = $request->__toString();
57
- $responseAsString = $response->__toString();
58
-
59
  $logger->log($requestAsString);
60
  $logger->log($responseAsString);
61
  }
@@ -72,10 +69,6 @@ class Payone_Api_Service_ProtocolRequest
72
  */
73
  public function protocolException(Exception $e, Payone_Api_Request_Interface $request = null)
74
  {
75
- if ($request !== null) {
76
- $this->getServiceApplyFilters()->apply($request);
77
- }
78
-
79
  foreach ($this->loggers as $key => $logger) {
80
  /** @var $logger Payone_Protocol_Logger_Interface */
81
  $logger->log(get_class($e) . ' ' . $e->getMessage(), Payone_Protocol_Logger_Interface::LEVEL_ERROR);
46
  public function protocol(Payone_Api_Request_Interface $request,
47
  Payone_Api_Response_Interface $response = null)
48
  {
49
+ $request->setApplyFilters($this->getServiceApplyFilters());
50
+ $response->setApplyFilters($this->getServiceApplyFilters());
51
+ $requestAsString = $request->__toString();
52
+ $responseAsString = $response->__toString();
53
 
54
 
55
  foreach ($this->loggers as $key => $logger) {
 
 
 
 
56
  $logger->log($requestAsString);
57
  $logger->log($responseAsString);
58
  }
69
  */
70
  public function protocolException(Exception $e, Payone_Api_Request_Interface $request = null)
71
  {
 
 
 
 
72
  foreach ($this->loggers as $key => $logger) {
73
  /** @var $logger Payone_Protocol_Logger_Interface */
74
  $logger->log(get_class($e) . ' ' . $e->getMessage(), Payone_Protocol_Logger_Interface::LEVEL_ERROR);
lib/Payone/Autoload.php CHANGED
@@ -19,16 +19,6 @@
19
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
20
  * @link http://www.noovias.com
21
  */
22
-
23
- /**
24
- * This class provides an autoloader for the PAYONE SDK
25
- *
26
- * @category Payone
27
- * @package Payone
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_Autoload
33
  {
34
  /**
19
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
20
  * @link http://www.noovias.com
21
  */
 
 
 
 
 
 
 
 
 
 
22
  class Payone_Autoload
23
  {
24
  /**
lib/Payone/Builder.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  *
4
  * NOTICE OF LICENSE
@@ -28,8 +29,8 @@
28
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
29
  * @link http://www.noovias.com
30
  */
31
- class Payone_Builder
32
- {
33
  const KEY_API = 'api';
34
  const KEY_CLIENTAPI = 'client_api';
35
  const KEY_PROTOCOL = 'protocol';
@@ -39,6 +40,7 @@ class Payone_Builder
39
 
40
  /** @var array */
41
  protected $factories = array();
 
42
  /** @var Payone_Config */
43
  protected $config = null;
44
 
@@ -46,8 +48,7 @@ class Payone_Builder
46
  * @constructor
47
  * @param null|Payone_Config $config config can be set via constructor or setConfig()
48
  */
49
- public function __construct(Payone_Config $config = null)
50
- {
51
  if ($config === null) {
52
  $config = new Payone_Config(); // Default config
53
  }
@@ -59,7 +60,6 @@ class Payone_Builder
59
  $this->factories[self::KEY_SETTINGS] = new Payone_Settings_Factory();
60
  $this->factories[self::KEY_TRANSACTIONSTATUS] = new Payone_TransactionStatus_Factory($config->getTransactionStatusConfig());
61
  $this->factories[self::KEY_SESSIONSTATUS] = new Payone_SessionStatus_Factory($config->getSessionStatusConfig());
62
-
63
  }
64
 
65
  /**
@@ -67,8 +67,7 @@ class Payone_Builder
67
  *
68
  * @return Payone_ClientApi_Service_GenerateHash
69
  */
70
- public function buildServiceClientApiGenerateHash()
71
- {
72
  return $this->buildService(self::KEY_CLIENTAPI . '/generateHash');
73
  }
74
 
@@ -77,8 +76,7 @@ class Payone_Builder
77
  *
78
  * @return Payone_Api_Service_Payment_Authorize
79
  */
80
- public function buildServicePaymentAuthorize()
81
- {
82
  return $this->buildService(self::KEY_API . '/payment/authorize');
83
  }
84
 
@@ -87,8 +85,7 @@ class Payone_Builder
87
  *
88
  * @return Payone_Api_Service_Payment_Preauthorize
89
  */
90
- public function buildServicePaymentPreauthorize()
91
- {
92
  return $this->buildService(self::KEY_API . '/payment/preauthorize');
93
  }
94
 
@@ -97,8 +94,7 @@ class Payone_Builder
97
  *
98
  * @return Payone_Api_Service_Payment_Capture
99
  */
100
- public function buildServicePaymentCapture()
101
- {
102
  return $this->buildService(self::KEY_API . '/payment/capture');
103
  }
104
 
@@ -107,8 +103,7 @@ class Payone_Builder
107
  *
108
  * @return Payone_Api_Service_Payment_Debit
109
  */
110
- public function buildServicePaymentDebit()
111
- {
112
  return $this->buildService(self::KEY_API . '/payment/debit');
113
  }
114
 
@@ -117,8 +112,7 @@ class Payone_Builder
117
  *
118
  * @return Payone_Api_Service_Payment_Refund
119
  */
120
- public function buildServicePaymentRefund()
121
- {
122
  return $this->buildService(self::KEY_API . '/payment/refund');
123
  }
124
 
@@ -127,8 +121,7 @@ class Payone_Builder
127
  *
128
  * @return Payone_Api_Service_Verification_3dsCheck
129
  */
130
- public function buildServiceVerification3dsCheck()
131
- {
132
  return $this->buildService(self::KEY_API . '/verification/3dscheck');
133
  }
134
 
@@ -137,8 +130,7 @@ class Payone_Builder
137
  *
138
  * @return Payone_Api_Service_Management_GetInvoice
139
  */
140
- public function buildServiceManagementGetInvoice()
141
- {
142
  return $this->buildService(self::KEY_API . '/management/getInvoice');
143
  }
144
 
@@ -147,8 +139,7 @@ class Payone_Builder
147
  *
148
  * @return Payone_Api_Service_Management_GetFile
149
  */
150
- public function buildServiceManagementGetFile()
151
- {
152
  return $this->buildService(self::KEY_API . '/management/getFile');
153
  }
154
 
@@ -157,8 +148,7 @@ class Payone_Builder
157
  *
158
  * @return Payone_Api_Service_Management_ManageMandate
159
  */
160
- public function buildServiceManagementManageMandate()
161
- {
162
  return $this->buildService(self::KEY_API . '/management/manageMandate');
163
  }
164
 
@@ -167,8 +157,7 @@ class Payone_Builder
167
  *
168
  * @return Payone_Api_Service_Verification_AddressCheck
169
  */
170
- public function buildServiceVerificationAddressCheck()
171
- {
172
  return $this->buildService(self::KEY_API . '/verification/addressCheck');
173
  }
174
 
@@ -177,8 +166,7 @@ class Payone_Builder
177
  *
178
  * @return Payone_Api_Service_Verification_CreditCardCheck
179
  */
180
- public function buildServiceVerificationCreditCardCheck()
181
- {
182
  return $this->buildService(self::KEY_API . '/verification/creditCardCheck');
183
  }
184
 
@@ -187,8 +175,7 @@ class Payone_Builder
187
  *
188
  * @return Payone_Api_Service_Verification_BankAccountCheck
189
  */
190
- public function buildServiceVerificationBankAccountCheck()
191
- {
192
  return $this->buildService(self::KEY_API . '/verification/bankAccountCheck');
193
  }
194
 
@@ -197,8 +184,7 @@ class Payone_Builder
197
  *
198
  * @return Payone_Api_Service_Verification_Consumerscore
199
  */
200
- public function buildServiceVerificationConsumerscore()
201
- {
202
  return $this->buildService(self::KEY_API . '/verification/consumerscore');
203
  }
204
 
@@ -207,19 +193,32 @@ class Payone_Builder
207
  *
208
  * @return Payone_Settings_Service_XmlGenerate
209
  */
210
- public function buildServiceSettingsXmlGenerate()
211
- {
212
  return $this->buildService(self::KEY_SETTINGS . '/xmlgenerate');
213
  }
214
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
215
  /**
216
  * @api
217
  * @param $key
218
  * @param array $validIps
219
  * @return Payone_TransactionStatus_Service_HandleRequest
220
  */
221
- public function buildServiceTransactionStatusHandleRequest($key, array $validIps)
222
- {
223
  /** @var $service Payone_TransactionStatus_Service_HandleRequest */
224
  $service = $this->buildService(self::KEY_TRANSACTIONSTATUS . '/handlerequest');
225
  $validators = $service->getValidators();
@@ -228,9 +227,7 @@ class Payone_Builder
228
  if ($validator instanceof Payone_TransactionStatus_Validator_DefaultParameters) {
229
  /** @var $validator Payone_TransactionStatus_Validator_DefaultParameters */
230
  $validator->setKey($key);
231
- }
232
- elseif($validator instanceof Payone_TransactionStatus_Validator_Ip)
233
- {
234
  /** @var $validator Payone_TransactionStatus_Validator_Ip */
235
  $validator->setValidIps($validIps);
236
  $validator->setConfig($this->getConfig()->getTransactionStatusConfig());
@@ -246,8 +243,7 @@ class Payone_Builder
246
  * @param array $validIps
247
  * @return Payone_SessionStatus_Service_HandleRequest
248
  */
249
- public function buildServiceSessionStatusHandleRequest($key, array $validIps)
250
- {
251
  /** @var $service Payone_SessionStatus_Service_HandleRequest */
252
  $service = $this->buildService(self::KEY_SESSIONSTATUS . '/handlerequest');
253
  $validators = $service->getValidators();
@@ -256,9 +252,7 @@ class Payone_Builder
256
  if ($validator instanceof Payone_SessionStatus_Validator_DefaultParameters) {
257
  /** @var $validator Payone_SessionStatus_Validator_DefaultParameters */
258
  $validator->setKey($key);
259
- }
260
- elseif($validator instanceof Payone_SessionStatus_Validator_Ip)
261
- {
262
  /** @var $validator Payone_SessionStatus_Validator_Ip */
263
  $validator->setValidIps($validIps);
264
  $validator->setConfig($this->getConfig()->getSessionStatusConfig());
@@ -273,8 +267,7 @@ class Payone_Builder
273
  * @return Payone_Api_Service_Payment_Abstract
274
  * @throws Exception
275
  */
276
- protected function buildService($key)
277
- {
278
  $config = $this->getConfig();
279
 
280
  $keyArray = explode('/', $key);
@@ -326,8 +319,7 @@ class Payone_Builder
326
  * @param string $factoryKey
327
  * @return Payone_Protocol_Service_Protocol_Abstract
328
  */
329
- protected function buildServiceProtocol(array $protocolConfig, $factoryKey)
330
- {
331
  $serviceProtocol = $this->getFactory($factoryKey)->buildServiceProtocolRequest();
332
  $serviceApplyFilters = $this->getFactory(self::KEY_PROTOCOL)->buildServiceApplyFilters();
333
 
@@ -342,6 +334,10 @@ class Payone_Builder
342
  $filterMaskValue->setConfig('percent', $options['percent']);
343
  $serviceApplyFilters->addFilter($filterMaskValue);
344
  break;
 
 
 
 
345
  }
346
  }
347
  }
@@ -353,7 +349,7 @@ class Payone_Builder
353
  if (is_array($loggerConfig) and count($loggerConfig) > 0) {
354
  foreach ($loggerConfig as $className => $options) {
355
  if (class_exists($className)) {
356
- /** @var $logger Payone_Protocol_Logger_Interface **/
357
  $logger = new $className;
358
  if (method_exists($logger, 'setConfig')) {
359
  $logger->setConfig($options);
@@ -371,7 +367,7 @@ class Payone_Builder
371
  foreach ($respositoryConfig as $className => $options) {
372
  if (class_exists($className)) {
373
  // @todo hs: what do we do with Payone_Api_Persistence_Interface?
374
- /** @var $repository Payone_TransactionStatus_Persistence_Interface **/
375
  $repository = new $className;
376
  if (method_exists($repository, 'setConfig')) {
377
  $repository->setConfig($options);
@@ -389,27 +385,23 @@ class Payone_Builder
389
  * @param $validatorConfig
390
  * @return null|validator
391
  */
392
- protected function buildServiceValidation($validatorConfig)
393
- {
394
  if (is_array($validatorConfig)) {
395
  $validator = array();
396
  foreach ($validatorConfig as $config) {
397
- if ($config === 'default' or !class_exists($config)) {
398
  return null;
399
- }
400
- else {
401
  $validator[] = new $config();
402
  }
403
  }
404
 
405
  return $validator;
406
- }
407
- else {
408
  // Load validator by config (if non-default):
409
- if ($validatorConfig === 'default' or !class_exists($validatorConfig)) {
410
  return null;
411
- }
412
- else {
413
  $validator = new $validatorConfig();
414
  return $validator;
415
  }
@@ -419,16 +411,14 @@ class Payone_Builder
419
  /**
420
  * @param \Payone_Config $config
421
  */
422
- public function setConfig(Payone_Config $config)
423
- {
424
  $this->config = $config;
425
  }
426
 
427
  /**
428
  * @return \Payone_Config
429
  */
430
- protected function getConfig()
431
- {
432
  return $this->config;
433
  }
434
 
@@ -437,13 +427,12 @@ class Payone_Builder
437
  * @return null|Payone_Api_Factory|Payone_Protocol_Factory|Payone_Settings_Factory|Payone_TransactionStatus_Factory
438
  * @throws Exception
439
  */
440
- protected function getFactory($key)
441
- {
442
  if (array_key_exists($key, $this->factories)) {
443
  return $this->factories[$key];
444
- }
445
- else {
446
  throw new Exception('Could not get internal factory with key "' . $key . '"');
447
  }
448
  }
 
449
  }
1
  <?php
2
+
3
  /**
4
  *
5
  * NOTICE OF LICENSE
29
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
30
  * @link http://www.noovias.com
31
  */
32
+ class Payone_Builder {
33
+
34
  const KEY_API = 'api';
35
  const KEY_CLIENTAPI = 'client_api';
36
  const KEY_PROTOCOL = 'protocol';
40
 
41
  /** @var array */
42
  protected $factories = array();
43
+
44
  /** @var Payone_Config */
45
  protected $config = null;
46
 
48
  * @constructor
49
  * @param null|Payone_Config $config config can be set via constructor or setConfig()
50
  */
51
+ public function __construct(Payone_Config $config = null) {
 
52
  if ($config === null) {
53
  $config = new Payone_Config(); // Default config
54
  }
60
  $this->factories[self::KEY_SETTINGS] = new Payone_Settings_Factory();
61
  $this->factories[self::KEY_TRANSACTIONSTATUS] = new Payone_TransactionStatus_Factory($config->getTransactionStatusConfig());
62
  $this->factories[self::KEY_SESSIONSTATUS] = new Payone_SessionStatus_Factory($config->getSessionStatusConfig());
 
63
  }
64
 
65
  /**
67
  *
68
  * @return Payone_ClientApi_Service_GenerateHash
69
  */
70
+ public function buildServiceClientApiGenerateHash() {
 
71
  return $this->buildService(self::KEY_CLIENTAPI . '/generateHash');
72
  }
73
 
76
  *
77
  * @return Payone_Api_Service_Payment_Authorize
78
  */
79
+ public function buildServicePaymentAuthorize() {
 
80
  return $this->buildService(self::KEY_API . '/payment/authorize');
81
  }
82
 
85
  *
86
  * @return Payone_Api_Service_Payment_Preauthorize
87
  */
88
+ public function buildServicePaymentPreauthorize() {
 
89
  return $this->buildService(self::KEY_API . '/payment/preauthorize');
90
  }
91
 
94
  *
95
  * @return Payone_Api_Service_Payment_Capture
96
  */
97
+ public function buildServicePaymentCapture() {
 
98
  return $this->buildService(self::KEY_API . '/payment/capture');
99
  }
100
 
103
  *
104
  * @return Payone_Api_Service_Payment_Debit
105
  */
106
+ public function buildServicePaymentDebit() {
 
107
  return $this->buildService(self::KEY_API . '/payment/debit');
108
  }
109
 
112
  *
113
  * @return Payone_Api_Service_Payment_Refund
114
  */
115
+ public function buildServicePaymentRefund() {
 
116
  return $this->buildService(self::KEY_API . '/payment/refund');
117
  }
118
 
121
  *
122
  * @return Payone_Api_Service_Verification_3dsCheck
123
  */
124
+ public function buildServiceVerification3dsCheck() {
 
125
  return $this->buildService(self::KEY_API . '/verification/3dscheck');
126
  }
127
 
130
  *
131
  * @return Payone_Api_Service_Management_GetInvoice
132
  */
133
+ public function buildServiceManagementGetInvoice() {
 
134
  return $this->buildService(self::KEY_API . '/management/getInvoice');
135
  }
136
 
139
  *
140
  * @return Payone_Api_Service_Management_GetFile
141
  */
142
+ public function buildServiceManagementGetFile() {
 
143
  return $this->buildService(self::KEY_API . '/management/getFile');
144
  }
145
 
148
  *
149
  * @return Payone_Api_Service_Management_ManageMandate
150
  */
151
+ public function buildServiceManagementManageMandate() {
 
152
  return $this->buildService(self::KEY_API . '/management/manageMandate');
153
  }
154
 
157
  *
158
  * @return Payone_Api_Service_Verification_AddressCheck
159
  */
160
+ public function buildServiceVerificationAddressCheck() {
 
161
  return $this->buildService(self::KEY_API . '/verification/addressCheck');
162
  }
163
 
166
  *
167
  * @return Payone_Api_Service_Verification_CreditCardCheck
168
  */
169
+ public function buildServiceVerificationCreditCardCheck() {
 
170
  return $this->buildService(self::KEY_API . '/verification/creditCardCheck');
171
  }
172
 
175
  *
176
  * @return Payone_Api_Service_Verification_BankAccountCheck
177
  */
178
+ public function buildServiceVerificationBankAccountCheck() {
 
179
  return $this->buildService(self::KEY_API . '/verification/bankAccountCheck');
180
  }
181
 
184
  *
185
  * @return Payone_Api_Service_Verification_Consumerscore
186
  */
187
+ public function buildServiceVerificationConsumerscore() {
 
188
  return $this->buildService(self::KEY_API . '/verification/consumerscore');
189
  }
190
 
193
  *
194
  * @return Payone_Settings_Service_XmlGenerate
195
  */
196
+ public function buildServiceSettingsXmlGenerate() {
 
197
  return $this->buildService(self::KEY_SETTINGS . '/xmlgenerate');
198
  }
199
 
200
+ /**
201
+ * Service to start the paypal express checkout and
202
+ * in step two get customers shipping address from paypal.
203
+ * usage:
204
+ * $builder = $this->getPayoneBuilder();
205
+ * $service = $builder->buildServicePaymentGenericpayment();
206
+ * $response = $service->request($request);
207
+ *
208
+ * @api
209
+ * @return Payone_Api_Service_Payment_Genericpayment
210
+ */
211
+ public function buildServicePaymentGenericpayment() {
212
+ return $this->buildService(self::KEY_API . '/payment/genericpayment');
213
+ }
214
+
215
  /**
216
  * @api
217
  * @param $key
218
  * @param array $validIps
219
  * @return Payone_TransactionStatus_Service_HandleRequest
220
  */
221
+ public function buildServiceTransactionStatusHandleRequest($key, array $validIps) {
 
222
  /** @var $service Payone_TransactionStatus_Service_HandleRequest */
223
  $service = $this->buildService(self::KEY_TRANSACTIONSTATUS . '/handlerequest');
224
  $validators = $service->getValidators();
227
  if ($validator instanceof Payone_TransactionStatus_Validator_DefaultParameters) {
228
  /** @var $validator Payone_TransactionStatus_Validator_DefaultParameters */
229
  $validator->setKey($key);
230
+ } elseif ($validator instanceof Payone_TransactionStatus_Validator_Ip) {
 
 
231
  /** @var $validator Payone_TransactionStatus_Validator_Ip */
232
  $validator->setValidIps($validIps);
233
  $validator->setConfig($this->getConfig()->getTransactionStatusConfig());
243
  * @param array $validIps
244
  * @return Payone_SessionStatus_Service_HandleRequest
245
  */
246
+ public function buildServiceSessionStatusHandleRequest($key, array $validIps) {
 
247
  /** @var $service Payone_SessionStatus_Service_HandleRequest */
248
  $service = $this->buildService(self::KEY_SESSIONSTATUS . '/handlerequest');
249
  $validators = $service->getValidators();
252
  if ($validator instanceof Payone_SessionStatus_Validator_DefaultParameters) {
253
  /** @var $validator Payone_SessionStatus_Validator_DefaultParameters */
254
  $validator->setKey($key);
255
+ } elseif ($validator instanceof Payone_SessionStatus_Validator_Ip) {
 
 
256
  /** @var $validator Payone_SessionStatus_Validator_Ip */
257
  $validator->setValidIps($validIps);
258
  $validator->setConfig($this->getConfig()->getSessionStatusConfig());
267
  * @return Payone_Api_Service_Payment_Abstract
268
  * @throws Exception
269
  */
270
+ protected function buildService($key) {
 
271
  $config = $this->getConfig();
272
 
273
  $keyArray = explode('/', $key);
319
  * @param string $factoryKey
320
  * @return Payone_Protocol_Service_Protocol_Abstract
321
  */
322
+ protected function buildServiceProtocol(array $protocolConfig, $factoryKey) {
 
323
  $serviceProtocol = $this->getFactory($factoryKey)->buildServiceProtocolRequest();
324
  $serviceApplyFilters = $this->getFactory(self::KEY_PROTOCOL)->buildServiceApplyFilters();
325
 
334
  $filterMaskValue->setConfig('percent', $options['percent']);
335
  $serviceApplyFilters->addFilter($filterMaskValue);
336
  break;
337
+ case Payone_Protocol_Filter_MaskAllValue::FILTER_KEY :
338
+ $filterMaskAllValue = new Payone_Protocol_Filter_MaskAllValue();
339
+ $serviceApplyFilters->addFilter($filterMaskAllValue);
340
+ break;
341
  }
342
  }
343
  }
349
  if (is_array($loggerConfig) and count($loggerConfig) > 0) {
350
  foreach ($loggerConfig as $className => $options) {
351
  if (class_exists($className)) {
352
+ /** @var $logger Payone_Protocol_Logger_Interface * */
353
  $logger = new $className;
354
  if (method_exists($logger, 'setConfig')) {
355
  $logger->setConfig($options);
367
  foreach ($respositoryConfig as $className => $options) {
368
  if (class_exists($className)) {
369
  // @todo hs: what do we do with Payone_Api_Persistence_Interface?
370
+ /** @var $repository Payone_TransactionStatus_Persistence_Interface * */
371
  $repository = new $className;
372
  if (method_exists($repository, 'setConfig')) {
373
  $repository->setConfig($options);
385
  * @param $validatorConfig
386
  * @return null|validator
387
  */
388
+ protected function buildServiceValidation($validatorConfig) {
 
389
  if (is_array($validatorConfig)) {
390
  $validator = array();
391
  foreach ($validatorConfig as $config) {
392
+ if ($config === 'default' or ! class_exists($config)) {
393
  return null;
394
+ } else {
 
395
  $validator[] = new $config();
396
  }
397
  }
398
 
399
  return $validator;
400
+ } else {
 
401
  // Load validator by config (if non-default):
402
+ if ($validatorConfig === 'default' or ! class_exists($validatorConfig)) {
403
  return null;
404
+ } else {
 
405
  $validator = new $validatorConfig();
406
  return $validator;
407
  }
411
  /**
412
  * @param \Payone_Config $config
413
  */
414
+ public function setConfig(Payone_Config $config) {
 
415
  $this->config = $config;
416
  }
417
 
418
  /**
419
  * @return \Payone_Config
420
  */
421
+ protected function getConfig() {
 
422
  return $this->config;
423
  }
424
 
427
  * @return null|Payone_Api_Factory|Payone_Protocol_Factory|Payone_Settings_Factory|Payone_TransactionStatus_Factory
428
  * @throws Exception
429
  */
430
+ protected function getFactory($key) {
 
431
  if (array_key_exists($key, $this->factories)) {
432
  return $this->factories[$key];
433
+ } else {
 
434
  throw new Exception('Could not get internal factory with key "' . $key . '"');
435
  }
436
  }
437
+
438
  }
lib/Payone/ClientApi/Factory.php CHANGED
@@ -19,15 +19,6 @@
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_ClientApi
27
- * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
28
- * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
29
- * @link http://www.noovias.com
30
- */
31
  class Payone_ClientApi_Factory
32
  {
33
 
19
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
20
  * @link http://www.noovias.com
21
  */
 
 
 
 
 
 
 
 
 
22
  class Payone_ClientApi_Factory
23
  {
24
 
lib/Payone/Config/Abstract.php CHANGED
@@ -12,15 +12,6 @@
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
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
  * Configuration for Payone SDK
25
  *
26
  * <b>Example: Replacing the default logging mechanism for Payone Api</b>
@@ -63,8 +54,9 @@
63
  * </pre>
64
  *
65
  * @category Payone
66
- * @package Payone
67
  * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
 
68
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
69
  * @link http://www.noovias.com
70
  */
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
  * Configuration for Payone SDK
16
  *
17
  * <b>Example: Replacing the default logging mechanism for Payone Api</b>
54
  * </pre>
55
  *
56
  * @category Payone
57
+ * @package Payone_Config
58
  * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
59
+ * @author Matthias Walter <info@noovias.com>
60
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
61
  * @link http://www.noovias.com
62
  */
lib/Payone/Enum/ClearingType.php CHANGED
@@ -19,15 +19,6 @@
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_Enum
27
- * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
28
- * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
29
- * @link http://www.noovias.com
30
- */
31
  class Payone_Enum_ClearingType
32
  {
33
  const DEBITPAYMENT = 'elv';
19
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
20
  * @link http://www.noovias.com
21
  */
 
 
 
 
 
 
 
 
 
22
  class Payone_Enum_ClearingType
23
  {
24
  const DEBITPAYMENT = 'elv';
lib/Payone/Enum/Mode.php CHANGED
@@ -19,15 +19,6 @@
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_Enum
27
- * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
28
- * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
29
- * @link http://www.noovias.com
30
- */
31
  class Payone_Enum_Mode
32
  {
33
  const TEST = 'test';
19
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
20
  * @link http://www.noovias.com
21
  */
 
 
 
 
 
 
 
 
 
22
  class Payone_Enum_Mode
23
  {
24
  const TEST = 'test';
lib/Payone/Enum/Reminderlevel.php CHANGED
@@ -19,15 +19,6 @@
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_Enum
27
- * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
28
- * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
29
- * @link http://www.noovias.com
30
- */
31
  class Payone_Enum_Reminderlevel
32
  {
33
  const LVL_1 = '1';
19
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
20
  * @link http://www.noovias.com
21
  */
 
 
 
 
 
 
 
 
 
22
  class Payone_Enum_Reminderlevel
23
  {
24
  const LVL_1 = '1';
lib/Payone/Protocol/Factory.php CHANGED
@@ -19,15 +19,6 @@
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_Protocol
27
- * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
28
- * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
29
- * @link http://www.noovias.com
30
- */
31
  class Payone_Protocol_Factory
32
  {
33
  /**
@@ -37,49 +28,26 @@ class Payone_Protocol_Factory
37
  {
38
  $serviceAF = new Payone_Protocol_Service_ApplyFilters();
39
 
40
- $config = $this->buildConfigFilter();
41
-
42
  $filters = $this->buildFiltersDefault();
43
 
44
- $serviceAF->setConfig($config);
45
  $serviceAF->setFilters($filters);
46
 
47
  return $serviceAF;
48
  }
49
 
50
- /**
51
- * @return Payone_Protocol_Config_Filter
52
- */
53
- protected function buildConfigFilter()
54
- {
55
- $config = new Payone_Protocol_Config_Filter();
56
-
57
- return $config;
58
- }
59
-
60
  /**
61
  * @return Payone_Protocol_Filter_Interface[]
62
  */
63
  protected function buildFiltersDefault()
64
  {
 
65
  $filterMaskValue = new Payone_Protocol_Filter_MaskValue();
66
  $filterMaskValue->setConfigPercent(50); // @todo hs: This default value should be defined somewhere else, configuration?.
67
- $filters = array(0 => $filterMaskValue);
68
-
69
- return $filters;
70
- }
71
-
72
- /**
73
- * @return Payone_Protocol_Logger_Log4php
74
- */
75
- public function buildLoggerDefault()
76
- {
77
- $config = array(
78
- 'filename' => 'payone.log'
79
- );
80
 
81
- $logger = new Payone_Protocol_Logger_Log4php($config);
 
82
 
83
- return $logger;
84
  }
85
  }
19
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
20
  * @link http://www.noovias.com
21
  */
 
 
 
 
 
 
 
 
 
22
  class Payone_Protocol_Factory
23
  {
24
  /**
28
  {
29
  $serviceAF = new Payone_Protocol_Service_ApplyFilters();
30
 
 
 
31
  $filters = $this->buildFiltersDefault();
32
 
 
33
  $serviceAF->setFilters($filters);
34
 
35
  return $serviceAF;
36
  }
37
 
 
 
 
 
 
 
 
 
 
 
38
  /**
39
  * @return Payone_Protocol_Filter_Interface[]
40
  */
41
  protected function buildFiltersDefault()
42
  {
43
+ $filters = array();
44
  $filterMaskValue = new Payone_Protocol_Filter_MaskValue();
45
  $filterMaskValue->setConfigPercent(50); // @todo hs: This default value should be defined somewhere else, configuration?.
46
+ array_push($filters, $filterMaskValue);
 
 
 
 
 
 
 
 
 
 
 
 
47
 
48
+ $filterMaskAllValue = new Payone_Protocol_Filter_MaskAllValue();
49
+ array_push($filters, $filterMaskAllValue);
50
 
51
+ return $filters;
52
  }
53
  }
lib/Payone/Protocol/Filter/Filterable.php CHANGED
@@ -33,16 +33,7 @@
33
  interface Payone_Protocol_Filter_Filterable
34
  {
35
  /**
36
- * @abstract
37
- * @param string $key
38
  */
39
- public function getValue($key);
40
-
41
- /**
42
- * @abstract
43
- * @param string $key
44
- * @param string $name
45
- */
46
- public function setValue($key, $name);
47
-
48
  }
33
  interface Payone_Protocol_Filter_Filterable
34
  {
35
  /**
36
+ * @param Payone_Protocol_Service_ApplyFilters $applyFilters
 
37
  */
38
+ public function setApplyFilters(Payone_Protocol_Service_ApplyFilters $applyFilters);
 
 
 
 
 
 
 
 
39
  }
lib/Payone/Protocol/Filter/MaskAllValue.php ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Payone_Protocol_Filter_MaskAllValue
4
+ extends Payone_Protocol_Filter_Abstract {
5
+
6
+ const MASK_CHAR = 'x';
7
+ const FILTER_KEY = 'mask_all_value';
8
+ protected $key = self::FILTER_KEY;
9
+
10
+ /**
11
+ * @param mixed $value
12
+ * @return mixed
13
+ */
14
+ public function filterValue($value)
15
+ {
16
+ return str_repeat(self::MASK_CHAR, strlen($value));
17
+ }
18
+ }
lib/Payone/Protocol/Service/ApplyFilters.php CHANGED
@@ -32,87 +32,65 @@
32
  */
33
  class Payone_Protocol_Service_ApplyFilters
34
  {
35
- const CONFIG_FILTER_KEY = 'filter_key';
36
- const CONFIG_FILTER_CONFIG = 'config';
37
-
38
- /**
39
- * @var Payone_Protocol_Config_Filter
40
- */
41
- protected $config = null;
42
-
43
  /**
44
  * @var Payone_Protocol_Filter_Interface[]
45
  */
46
  protected $filters = array();
47
 
48
- /**
49
- * @param null|Payone_Protocol_Config_Filter $config
50
- */
51
- public function __construct(Payone_Protocol_Config_Filter $config = null)
52
- {
53
- if ($config !== null) {
54
- $this->setConfig($config);
55
- }
56
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
 
58
  /**
59
- * @param Payone_Protocol_Filter_Filterable $object
60
- * @return bool
61
- * @throws Payone_Protocol_Exception_FilterNotFound|Payone_Protocol_Exception_InvalidConfig
62
  */
63
- public function apply(Payone_Protocol_Filter_Filterable $object)
64
  {
65
- $class = get_class($object);
66
 
67
- if ($this->getConfig() === null) {
68
- throw new Payone_Protocol_Exception_InvalidConfig();
69
- }
70
 
71
- $filtersForClass = $this->getConfig()->getFiltersByClass($class);
 
 
 
72
 
73
- // No Filters found for this Class
74
- if (!is_array($filtersForClass)) {
75
- return false;
76
- }
77
-
78
- foreach ($filtersForClass as $key => $filterConfig)
79
- {
80
- $config = null;
81
- $filterKey = '';
82
-
83
- // Init
84
- if (is_array($filterConfig) and array_key_exists(self::CONFIG_FILTER_KEY, $filterConfig)) {
85
- $filterKey = $filterConfig[self::CONFIG_FILTER_KEY];
86
- if (array_key_exists(self::CONFIG_FILTER_CONFIG, $filterConfig)) {
87
- $config = $filterConfig[self::CONFIG_FILTER_CONFIG];
88
  }
89
  }
90
- else {
91
- $filterKey = $filterConfig;
92
- }
93
 
94
- // Fetch Filter
95
- $filter = $this->getFilter($filterKey);
96
- /**
97
- * @var Payone_Protocol_Filter_Interface|null $filter
98
- */
99
- if (!($filter instanceof Payone_Protocol_Filter_Interface)) {
100
- throw new Payone_Protocol_Exception_FilterNotFound($filterKey);
101
- }
102
-
103
- if (is_array($config)) {
104
- $filter->initConfig($config);
105
- }
106
-
107
- // Filter Value
108
- $objectValue = $object->getValue($key);
109
- if ($objectValue !== null) {
110
- $filteredValue = $filter->filterValue($objectValue);
111
- $object->setValue($key, $filteredValue);
112
- }
113
  }
114
 
115
- return true;
116
  }
117
 
118
  /**
@@ -136,22 +114,6 @@ class Payone_Protocol_Service_ApplyFilters
136
  return false;
137
  }
138
 
139
- /**
140
- * @param \Payone_Protocol_Config_Filter $config
141
- */
142
- public function setConfig(Payone_Protocol_Config_Filter $config)
143
- {
144
- $this->config = $config;
145
- }
146
-
147
- /**
148
- * @return \Payone_Protocol_Config_Filter
149
- */
150
- public function getConfig()
151
- {
152
- return $this->config;
153
- }
154
-
155
  /**
156
  * @param Payone_Protocol_Filter_Interface[] $filters
157
  */
@@ -174,13 +136,28 @@ class Payone_Protocol_Service_ApplyFilters
174
 
175
  /**
176
  * @param $key
177
- * @return null|Payone_Protocol_Filter_Interface
178
  */
179
  public function getFilter($key)
180
  {
181
  if (array_key_exists($key, $this->filters)) {
182
  return $this->filters[$key];
183
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
184
  return null;
185
  }
186
 
32
  */
33
  class Payone_Protocol_Service_ApplyFilters
34
  {
 
 
 
 
 
 
 
 
35
  /**
36
  * @var Payone_Protocol_Filter_Interface[]
37
  */
38
  protected $filters = array();
39
 
40
+ protected $filters_config = array(
41
+ Payone_Protocol_Filter_MaskAllValue::FILTER_KEY => array(
42
+ 'bankaccount',
43
+ 'iban',
44
+ 'cardpan',
45
+ 'cardcvc2',
46
+ 'cardexpiredate',
47
+ 'key'
48
+ ),
49
+ Payone_Protocol_Filter_MaskValue::FILTER_KEY => array(
50
+ 'bankaccountholder',
51
+ 'cardholder',
52
+ 'firstname',
53
+ 'lastname',
54
+ 'company',
55
+ 'street',
56
+ 'streetname',
57
+ 'streetnumber',
58
+ 'addressaddition',
59
+ 'email',
60
+ 'telephonenumber',
61
+ 'birthday',
62
+ 'shipping_firstname',
63
+ 'shipping_lastname',
64
+ 'shipping_company',
65
+ 'shipping_street',
66
+ 'shipping_addressaddition',
67
+ ),
68
+ );
69
 
70
  /**
71
+ * @param array $objectArray
72
+ * @return string
 
73
  */
74
+ public function apply(array $objectArray)
75
  {
76
+ $stringArray = array();
77
 
78
+ foreach ($objectArray as $key => $value) {
 
 
79
 
80
+ if($value instanceof Payone_Api_Response_Parameter_Interface){
81
+ $stringArray[] = $this->apply($value->toArray());
82
+ } elseif ($value !== null) {
83
+ $filter = $this->getFilterConfig($key);
84
 
85
+ if ($filter != null) {
86
+ $value = $filter->filterValue($value);
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  }
88
  }
 
 
 
89
 
90
+ $stringArray[] = $key . '=' . $value;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
  }
92
 
93
+ return implode('|', $stringArray);
94
  }
95
 
96
  /**
114
  return false;
115
  }
116
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
117
  /**
118
  * @param Payone_Protocol_Filter_Interface[] $filters
119
  */
136
 
137
  /**
138
  * @param $key
139
+ * @return Payone_Protocol_Filter_Interface
140
  */
141
  public function getFilter($key)
142
  {
143
  if (array_key_exists($key, $this->filters)) {
144
  return $this->filters[$key];
145
  }
146
+ // if the requested filter was not found return Payone_Protocol_Filter_MaskAllValue
147
+ return new Payone_Protocol_Filter_MaskAllValue();
148
+ }
149
+
150
+ /**
151
+ * @param $key
152
+ * @return null|Payone_Protocol_Filter_Interface
153
+ */
154
+ public function getFilterConfig($key)
155
+ {
156
+ foreach($this->filters_config as $filter => $config) {
157
+ if(in_array($key, $config)) {
158
+ return $this->getFilter($filter);
159
+ }
160
+ }
161
  return null;
162
  }
163
 
lib/Payone/SessionStatus/Config.php CHANGED
@@ -13,21 +13,12 @@
13
  * needs please refer to http://www.payone.de for more information.
14
  *
15
  * @category Payone
16
- * @package Payone_Api
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
- *
25
- * @category Payone
26
- * @package Payone_Api
27
- * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
28
- * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
29
- * @link http://www.noovias.com
30
- */
31
  class Payone_SessionStatus_Config extends Payone_Config_Abstract
32
  {
33
  /**
@@ -43,16 +34,12 @@ class Payone_SessionStatus_Config extends Payone_Config_Abstract
43
  ),
44
  'protocol' => array(
45
  'filter' => array(
46
- 'mask_value' => array(
47
  'enabled' => 1,
48
  'percent' => 100
49
- )
50
- ),
51
- 'loggers' => array(
52
- 'Payone_Protocol_Logger_Log4php' => array(
53
- 'filename' => 'payone_sessionstatus.log',
54
- 'max_file_size' => '1MB',
55
- 'max_file_count' => 20
56
  )
57
  ),
58
  ),
13
  * needs please refer to http://www.payone.de for more information.
14
  *
15
  * @category Payone
16
+ * @package Payone_SessionStatus
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
  class Payone_SessionStatus_Config extends Payone_Config_Abstract
23
  {
24
  /**
34
  ),
35
  'protocol' => array(
36
  'filter' => array(
37
+ Payone_Protocol_Filter_MaskValue::FILTER_KEY => array(
38
  'enabled' => 1,
39
  'percent' => 100
40
+ ),
41
+ Payone_Protocol_Filter_MaskAllValue::FILTER_KEY => array(
42
+ 'enabled' => 1
 
 
 
 
43
  )
44
  ),
45
  ),
lib/Payone/SessionStatus/Factory.php CHANGED
@@ -19,15 +19,6 @@
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_SessionStatus
27
- * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
28
- * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
29
- * @link http://www.noovias.com
30
- */
31
  class Payone_SessionStatus_Factory
32
  {
33
 
19
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
20
  * @link http://www.noovias.com
21
  */
 
 
 
 
 
 
 
 
 
22
  class Payone_SessionStatus_Factory
23
  {
24
 
lib/Payone/SessionStatus/Mapper/Request.php CHANGED
@@ -38,8 +38,8 @@ class Payone_SessionStatus_Mapper_Request
38
  $request = new Payone_SessionStatus_Request();
39
 
40
  // @todo currently simple mapping, could be more complex
41
- $this->mapDefaultParameters($data, &$request);
42
- $this->mapStatusItems($data, &$request);
43
 
44
  return $request;
45
  }
38
  $request = new Payone_SessionStatus_Request();
39
 
40
  // @todo currently simple mapping, could be more complex
41
+ $this->mapDefaultParameters($data, $request);
42
+ $this->mapStatusItems($data, $request);
43
 
44
  return $request;
45
  }
lib/Payone/SessionStatus/Request.php CHANGED
@@ -14,22 +14,11 @@
14
  *
15
  * @category Payone
16
  * @package Payone_SessionStatus
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_SessionStatus
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_SessionStatus_Request extends Payone_SessionStatus_Request_Abstract
34
  {
35
  /**
14
  *
15
  * @category Payone
16
  * @package Payone_SessionStatus
 
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
  class Payone_SessionStatus_Request extends Payone_SessionStatus_Request_Abstract
23
  {
24
  /**
lib/Payone/SessionStatus/Request/Abstract.php CHANGED
@@ -34,8 +34,14 @@
34
 
35
 
36
  abstract class Payone_SessionStatus_Request_Abstract
37
- implements Payone_SessionStatus_Request_Interface, Payone_Protocol_Filter_Filterable
38
  {
 
 
 
 
 
 
39
  function __construct(array $params = array())
40
  {
41
  if (count($params) > 0) {
@@ -56,12 +62,14 @@ abstract class Payone_SessionStatus_Request_Abstract
56
  */
57
  public function __toString()
58
  {
59
- $stringArray = array();
60
- foreach ($this->toArray() as $key => $value) {
61
- $stringArray[] = $key . '=' . $value;
 
 
 
62
  }
63
 
64
- $result = implode('|', $stringArray);
65
  return $result;
66
  }
67
 
@@ -76,7 +84,7 @@ abstract class Payone_SessionStatus_Request_Abstract
76
  if ($data === null) {
77
  continue;
78
  }
79
- else {
80
  $result[$key] = $data;
81
  }
82
  }
@@ -86,25 +94,6 @@ abstract class Payone_SessionStatus_Request_Abstract
86
  return $result;
87
  }
88
 
89
- /**
90
- * @param string $key
91
- * @return null|mixed
92
- */
93
- public function getValue($key)
94
- {
95
- return $this->get($key);
96
- }
97
-
98
- /**
99
- * @param string $key
100
- * @param string $name
101
- * @return boolean|null
102
- */
103
- public function setValue($key, $name)
104
- {
105
- return $this->set($key, $name);
106
- }
107
-
108
  /**
109
  * @param $name
110
  * @return null|mixed
@@ -130,4 +119,12 @@ abstract class Payone_SessionStatus_Request_Abstract
130
  }
131
  return null;
132
  }
 
 
 
 
 
 
 
 
133
  }
34
 
35
 
36
  abstract class Payone_SessionStatus_Request_Abstract
37
+ implements Payone_SessionStatus_Request_Interface
38
  {
39
+
40
+ /**
41
+ * @var Payone_Protocol_Service_ApplyFilters
42
+ */
43
+ private $applyFilters = NULL;
44
+
45
  function __construct(array $params = array())
46
  {
47
  if (count($params) > 0) {
62
  */
63
  public function __toString()
64
  {
65
+ if($this->applyFilters) {
66
+ $result = $this->applyFilters->apply($this->toArray());
67
+ } else {
68
+ $protocolFactory = new Payone_Protocol_Factory();
69
+ $defaultApplyFilters = $protocolFactory->buildServiceApplyFilters();
70
+ $result = $defaultApplyFilters->apply($this->toArray());
71
  }
72
 
 
73
  return $result;
74
  }
75
 
84
  if ($data === null) {
85
  continue;
86
  }
87
+ elseif ($data instanceof Payone_Protocol_Service_ApplyFilters == false) {
88
  $result[$key] = $data;
89
  }
90
  }
94
  return $result;
95
  }
96
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  /**
98
  * @param $name
99
  * @return null|mixed
119
  }
120
  return null;
121
  }
122
+
123
+ /**
124
+ * @param Payone_Protocol_Service_ApplyFilters $applyFilters
125
+ */
126
+ public function setApplyFilters(Payone_Protocol_Service_ApplyFilters $applyFilters)
127
+ {
128
+ $this->applyFilters = $applyFilters;
129
+ }
130
  }
lib/Payone/SessionStatus/Request/Interface.php CHANGED
@@ -30,7 +30,7 @@
30
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
  * @link http://www.noovias.com
32
  */
33
- interface Payone_SessionStatus_Request_Interface
34
  {
35
  /**
36
  * @abstract
30
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
  * @link http://www.noovias.com
32
  */
33
+ interface Payone_SessionStatus_Request_Interface extends Payone_Protocol_Filter_Filterable
34
  {
35
  /**
36
  * @abstract
lib/Payone/SessionStatus/Request/Item/Abstract.php CHANGED
@@ -34,8 +34,14 @@
34
 
35
 
36
  abstract class Payone_SessionStatus_Request_Item_Abstract
37
- implements Payone_SessionStatus_Request_Item_Interface, Payone_Protocol_Filter_Filterable
38
  {
 
 
 
 
 
 
39
  function __construct(array $params = array())
40
  {
41
  if (count($params) > 0) {
@@ -56,12 +62,14 @@ abstract class Payone_SessionStatus_Request_Item_Abstract
56
  */
57
  public function __toString()
58
  {
59
- $stringArray = array();
60
- foreach ($this->toArray() as $key => $value) {
61
- $stringArray[] = $key . '=' . $value;
 
 
 
62
  }
63
 
64
- $result = implode('|', $stringArray);
65
  return $result;
66
  }
67
 
@@ -76,7 +84,7 @@ abstract class Payone_SessionStatus_Request_Item_Abstract
76
  if ($data === null) {
77
  continue;
78
  }
79
- else {
80
  $result[$key] = $data;
81
  }
82
  }
@@ -86,25 +94,6 @@ abstract class Payone_SessionStatus_Request_Item_Abstract
86
  return $result;
87
  }
88
 
89
- /**
90
- * @param string $key
91
- * @return null|mixed
92
- */
93
- public function getValue($key)
94
- {
95
- return $this->get($key);
96
- }
97
-
98
- /**
99
- * @param string $key
100
- * @param string $name
101
- * @return boolean|null
102
- */
103
- public function setValue($key, $name)
104
- {
105
- return $this->set($key, $name);
106
- }
107
-
108
  /**
109
  * @param $name
110
  * @return null|mixed
@@ -130,4 +119,12 @@ abstract class Payone_SessionStatus_Request_Item_Abstract
130
  }
131
  return null;
132
  }
 
 
 
 
 
 
 
 
133
  }
34
 
35
 
36
  abstract class Payone_SessionStatus_Request_Item_Abstract
37
+ implements Payone_SessionStatus_Request_Item_Interface
38
  {
39
+
40
+ /**
41
+ * @var Payone_Protocol_Service_ApplyFilters
42
+ */
43
+ private $applyFilters = NULL;
44
+
45
  function __construct(array $params = array())
46
  {
47
  if (count($params) > 0) {
62
  */
63
  public function __toString()
64
  {
65
+ if($this->applyFilters) {
66
+ $result = $this->applyFilters->apply($this->toArray());
67
+ } else {
68
+ $protocolFactory = new Payone_Protocol_Factory();
69
+ $defaultApplyFilters = $protocolFactory->buildServiceApplyFilters();
70
+ $result = $defaultApplyFilters->apply($this->toArray());
71
  }
72
 
 
73
  return $result;
74
  }
75
 
84
  if ($data === null) {
85
  continue;
86
  }
87
+ elseif ($data instanceof Payone_Protocol_Service_ApplyFilters == false) {
88
  $result[$key] = $data;
89
  }
90
  }
94
  return $result;
95
  }
96
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  /**
98
  * @param $name
99
  * @return null|mixed
119
  }
120
  return null;
121
  }
122
+
123
+ /**
124
+ * @param Payone_Protocol_Service_ApplyFilters $applyFilters
125
+ */
126
+ public function setApplyFilters(Payone_Protocol_Service_ApplyFilters $applyFilters)
127
+ {
128
+ $this->applyFilters = $applyFilters;
129
+ }
130
  }
lib/Payone/SessionStatus/Request/Item/Interface.php CHANGED
@@ -30,7 +30,7 @@
30
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
  * @link http://www.noovias.com
32
  */
33
- interface Payone_SessionStatus_Request_Item_Interface
34
  {
35
  /**
36
  * @abstract
30
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
  * @link http://www.noovias.com
32
  */
33
+ interface Payone_SessionStatus_Request_Item_Interface extends Payone_Protocol_Filter_Filterable
34
  {
35
  /**
36
  * @abstract
lib/Payone/SessionStatus/Response.php CHANGED
@@ -14,22 +14,11 @@
14
  *
15
  * @category Payone
16
  * @package Payone_SessionStatus
17
- * @subpackage Response
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_SessionStatus
28
- * @subpackage Response
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_SessionStatus_Response extends Payone_SessionStatus_Response_Abstract
34
  {
35
  const STATUS_OK = 'SSOK';
14
  *
15
  * @category Payone
16
  * @package Payone_SessionStatus
 
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
  class Payone_SessionStatus_Response extends Payone_SessionStatus_Response_Abstract
23
  {
24
  const STATUS_OK = 'SSOK';
lib/Payone/SessionStatus/Response/Abstract.php CHANGED
@@ -34,27 +34,8 @@
34
 
35
 
36
  abstract class Payone_SessionStatus_Response_Abstract
37
- implements Payone_SessionStatus_Response_Interface, Payone_Protocol_Filter_Filterable
38
  {
39
- /**
40
- * @param string $key
41
- * @return null|mixed
42
- */
43
- public function getValue($key)
44
- {
45
- return $this->get($key);
46
- }
47
-
48
- /**
49
- * @param string $key
50
- * @param string $name
51
- * @return boolean|null
52
- */
53
- public function setValue($key, $name)
54
- {
55
- return $this->set($key, $name);
56
- }
57
-
58
  /**
59
  * @param $name
60
  * @return null|mixed
@@ -81,4 +62,6 @@ abstract class Payone_SessionStatus_Response_Abstract
81
  return null;
82
  }
83
 
 
 
84
  }
34
 
35
 
36
  abstract class Payone_SessionStatus_Response_Abstract
37
+ implements Payone_SessionStatus_Response_Interface
38
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  /**
40
  * @param $name
41
  * @return null|mixed
62
  return null;
63
  }
64
 
65
+
66
+
67
  }
lib/Payone/Settings/Factory.php CHANGED
@@ -19,15 +19,6 @@
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_Settings
27
- * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
28
- * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
29
- * @link http://www.noovias.com
30
- */
31
  class Payone_Settings_Factory
32
  {
33
  /**
19
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
20
  * @link http://www.noovias.com
21
  */
 
 
 
 
 
 
 
 
 
22
  class Payone_Settings_Factory
23
  {
24
  /**
lib/Payone/TransactionStatus/Config.php CHANGED
@@ -43,16 +43,12 @@ class Payone_TransactionStatus_Config extends Payone_Config_Abstract
43
  ),
44
  'protocol' => array(
45
  'filter' => array(
46
- 'mask_value' => array(
47
  'enabled' => 1,
48
  'percent' => 100
49
- )
50
- ),
51
- 'loggers' => array(
52
- 'Payone_Protocol_Logger_Log4php' => array(
53
- 'filename' => 'payone_transactionstatus.log',
54
- 'max_file_size' => '1MB',
55
- 'max_file_count' => 20
56
  )
57
  ),
58
  ),
43
  ),
44
  'protocol' => array(
45
  'filter' => array(
46
+ Payone_Protocol_Filter_MaskValue::FILTER_KEY => array(
47
  'enabled' => 1,
48
  'percent' => 100
49
+ ),
50
+ Payone_Protocol_Filter_MaskAllValue::FILTER_KEY => array(
51
+ 'enabled' => 1
 
 
 
 
52
  )
53
  ),
54
  ),
lib/Payone/TransactionStatus/Factory.php CHANGED
@@ -19,15 +19,6 @@
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_TransactionStatus
27
- * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
28
- * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
29
- * @link http://www.noovias.com
30
- */
31
  class Payone_TransactionStatus_Factory
32
  {
33
 
19
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
20
  * @link http://www.noovias.com
21
  */
 
 
 
 
 
 
 
 
 
22
  class Payone_TransactionStatus_Factory
23
  {
24
 
lib/Payone/TransactionStatus/Request.php CHANGED
@@ -14,7 +14,6 @@
14
  *
15
  * @category Payone
16
  * @package Payone_TransactionStatus
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)
14
  *
15
  * @category Payone
16
  * @package Payone_TransactionStatus
 
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)
lib/Payone/TransactionStatus/Request/Abstract.php CHANGED
@@ -34,8 +34,14 @@
34
 
35
 
36
  abstract class Payone_TransactionStatus_Request_Abstract
37
- implements Payone_TransactionStatus_Request_Interface, Payone_Protocol_Filter_Filterable
38
  {
 
 
 
 
 
 
39
  function __construct(array $params = array())
40
  {
41
  if (count($params) > 0) {
@@ -56,12 +62,14 @@ abstract class Payone_TransactionStatus_Request_Abstract
56
  */
57
  public function __toString()
58
  {
59
- $stringArray = array();
60
- foreach ($this->toArray() as $key => $value) {
61
- $stringArray[] = $key . '=' . $value;
 
 
 
62
  }
63
 
64
- $result = implode('|', $stringArray);
65
  return $result;
66
  }
67
 
@@ -76,7 +84,7 @@ abstract class Payone_TransactionStatus_Request_Abstract
76
  if ($data === null) {
77
  continue;
78
  }
79
- else {
80
  $result[$key] = $data;
81
  }
82
  }
@@ -86,25 +94,6 @@ abstract class Payone_TransactionStatus_Request_Abstract
86
  return $result;
87
  }
88
 
89
- /**
90
- * @param string $key
91
- * @return null|mixed
92
- */
93
- public function getValue($key)
94
- {
95
- return $this->get($key);
96
- }
97
-
98
- /**
99
- * @param string $key
100
- * @param string $name
101
- * @return boolean|null
102
- */
103
- public function setValue($key, $name)
104
- {
105
- return $this->set($key, $name);
106
- }
107
-
108
  /**
109
  * @param $name
110
  * @return null|mixed
@@ -130,4 +119,12 @@ abstract class Payone_TransactionStatus_Request_Abstract
130
  }
131
  return null;
132
  }
 
 
 
 
 
 
 
 
133
  }
34
 
35
 
36
  abstract class Payone_TransactionStatus_Request_Abstract
37
+ implements Payone_TransactionStatus_Request_Interface
38
  {
39
+
40
+ /**
41
+ * @var Payone_Protocol_Service_ApplyFilters
42
+ */
43
+ private $applyFilters = NULL;
44
+
45
  function __construct(array $params = array())
46
  {
47
  if (count($params) > 0) {
62
  */
63
  public function __toString()
64
  {
65
+ if($this->applyFilters) {
66
+ $result = $this->applyFilters->apply($this->toArray());
67
+ } else {
68
+ $protocolFactory = new Payone_Protocol_Factory();
69
+ $defaultApplyFilters = $protocolFactory->buildServiceApplyFilters();
70
+ $result = $defaultApplyFilters->apply($this->toArray());
71
  }
72
 
 
73
  return $result;
74
  }
75
 
84
  if ($data === null) {
85
  continue;
86
  }
87
+ elseif ($data instanceof Payone_Protocol_Service_ApplyFilters == false) {
88
  $result[$key] = $data;
89
  }
90
  }
94
  return $result;
95
  }
96
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  /**
98
  * @param $name
99
  * @return null|mixed
119
  }
120
  return null;
121
  }
122
+
123
+ /**
124
+ * @param Payone_Protocol_Service_ApplyFilters $applyFilters
125
+ */
126
+ public function setApplyFilters(Payone_Protocol_Service_ApplyFilters $applyFilters)
127
+ {
128
+ $this->applyFilters = $applyFilters;
129
+ }
130
  }
lib/Payone/TransactionStatus/Response.php CHANGED
@@ -14,22 +14,11 @@
14
  *
15
  * @category Payone
16
  * @package Payone_TransactionStatus
17
- * @subpackage Response
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_TransactionStatus
28
- * @subpackage Response
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_TransactionStatus_Response extends Payone_TransactionStatus_Response_Abstract
34
  {
35
  const STATUS_OK = 'TSOK';
14
  *
15
  * @category Payone
16
  * @package Payone_TransactionStatus
 
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
  class Payone_TransactionStatus_Response extends Payone_TransactionStatus_Response_Abstract
23
  {
24
  const STATUS_OK = 'TSOK';
lib/Payone/TransactionStatus/Response/Abstract.php CHANGED
@@ -34,26 +34,13 @@
34
 
35
 
36
  abstract class Payone_TransactionStatus_Response_Abstract
37
- implements Payone_TransactionStatus_Response_Interface, Payone_Protocol_Filter_Filterable
38
  {
39
- /**
40
- * @param string $key
41
- * @return null|mixed
42
- */
43
- public function getValue($key)
44
- {
45
- return $this->get($key);
46
- }
47
 
48
  /**
49
- * @param string $key
50
- * @param string $name
51
- * @return boolean|null
52
  */
53
- public function setValue($key, $name)
54
- {
55
- return $this->set($key, $name);
56
- }
57
 
58
  /**
59
  * @param $name
@@ -81,4 +68,12 @@ abstract class Payone_TransactionStatus_Response_Abstract
81
  return null;
82
  }
83
 
 
 
 
 
 
 
 
 
84
  }
34
 
35
 
36
  abstract class Payone_TransactionStatus_Response_Abstract
37
+ implements Payone_TransactionStatus_Response_Interface
38
  {
 
 
 
 
 
 
 
 
39
 
40
  /**
41
+ * @var Payone_Protocol_Service_ApplyFilters
 
 
42
  */
43
+ private $applyFilters = NULL;
 
 
 
44
 
45
  /**
46
  * @param $name
68
  return null;
69
  }
70
 
71
+ /**
72
+ * @param Payone_Protocol_Service_ApplyFilters $applyFilters
73
+ */
74
+ public function setApplyFilters(Payone_Protocol_Service_ApplyFilters $applyFilters)
75
+ {
76
+ $this->applyFilters = $applyFilters;
77
+ }
78
+
79
  }
lib/Payone/TransactionStatus/Response/Interface.php CHANGED
@@ -30,7 +30,7 @@
30
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
  * @link http://www.noovias.com
32
  */
33
- interface Payone_TransactionStatus_Response_Interface
34
  {
35
  public function __toString();
36
  }
30
  * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
  * @link http://www.noovias.com
32
  */
33
+ interface Payone_TransactionStatus_Response_Interface extends Payone_Protocol_Filter_Filterable
34
  {
35
  public function __toString();
36
  }
lib/Payone/TransactionStatus/Service/ProtocolRequest.php CHANGED
@@ -1,116 +1,112 @@
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_TransactionStatus
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_TransactionStatus
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_TransactionStatus_Service_ProtocolRequest
34
- extends Payone_Protocol_Service_Protocol_Abstract
35
- implements Payone_TransactionStatus_Service_ProtocolRequest_Interface
36
- {
37
- /**
38
- * @var Payone_TransactionStatus_Persistence_Interface[]
39
- */
40
- protected $repositories = array();
41
-
42
- /**
43
- * @param Payone_TransactionStatus_Request_Interface $request
44
- * @param null|Payone_TransactionStatus_Response_Interface $response
45
- */
46
- public function protocol(
47
- Payone_TransactionStatus_Request_Interface $request,
48
- Payone_TransactionStatus_Response_Interface $response = null
49
- )
50
- {
51
- $this->getServiceApplyFilters()->apply($request);
52
- $this->getServiceApplyFilters()->apply($response);
53
-
54
-
55
- foreach ($this->loggers as $key => $logger)
56
- {
57
- /** @var $logger Payone_Protocol_Logger_Interface */
58
- $requestAsString = $request->__toString();
59
- $responseAsString = $response->__toString();
60
-
61
- $logger->log($requestAsString, Payone_Protocol_Logger_Interface::LEVEL_INFO);
62
- $logger->log($responseAsString, Payone_Protocol_Logger_Interface::LEVEL_INFO);
63
- }
64
-
65
- foreach ($this->repositories as $key => $repository)
66
- {
67
- /** @var $repository Payone_TransactionStatus_Persistence_Interface */
68
- $repository->save($request, $response);
69
- }
70
- }
71
-
72
- /**
73
- * @param Exception $e
74
- * @param null|Payone_TransactionStatus_Request_Interface $request
75
- */
76
- public function protocolException(Exception $e, Payone_TransactionStatus_Request_Interface $request = null)
77
- {
78
- if ($request !== null) {
79
- $this->getServiceApplyFilters()->apply($request);
80
- }
81
-
82
- foreach ($this->loggers as $key => $logger)
83
- {
84
- /** @var $logger Payone_Protocol_Logger_Interface */
85
- $logger->log(get_class($e) . ' ' . $e->getMessage());
86
-
87
- if ($request !== null) {
88
- $requestAsString = $request->__toString();
89
- $logger->log($requestAsString, Payone_Protocol_Logger_Interface::LEVEL_ERROR);
90
- }
91
- }
92
- }
93
-
94
- /**
95
- * @param Payone_TransactionStatus_Persistence_Interface $repository
96
- */
97
- public function addRepository(Payone_TransactionStatus_Persistence_Interface $repository)
98
- {
99
- $this->repositories[$repository->getKey()] = $repository;
100
- }
101
-
102
- /**
103
- * @param $key
104
- * @return bool
105
- */
106
- public function removeRepository($key)
107
- {
108
- if (array_key_exists($key, $this->repositories)) {
109
- unset($this->repositories[$key]);
110
- return true;
111
- }
112
- return false;
113
- }
114
-
115
-
116
  }
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_TransactionStatus
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_TransactionStatus
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_TransactionStatus_Service_ProtocolRequest
34
+ extends Payone_Protocol_Service_Protocol_Abstract
35
+ implements Payone_TransactionStatus_Service_ProtocolRequest_Interface
36
+ {
37
+ /**
38
+ * @var Payone_TransactionStatus_Persistence_Interface[]
39
+ */
40
+ protected $repositories = array();
41
+
42
+ /**
43
+ * @param Payone_TransactionStatus_Request_Interface $request
44
+ * @param null|Payone_TransactionStatus_Response_Interface $response
45
+ */
46
+ public function protocol(
47
+ Payone_TransactionStatus_Request_Interface $request,
48
+ Payone_TransactionStatus_Response_Interface $response = null
49
+ )
50
+ {
51
+ foreach ($this->loggers as $key => $logger)
52
+ {
53
+ /** @var $logger Payone_Protocol_Logger_Interface */
54
+ $requestAsString = $request->__toString();
55
+ $responseAsString = $response->__toString();
56
+
57
+ $logger->log($requestAsString, Payone_Protocol_Logger_Interface::LEVEL_INFO);
58
+ $logger->log($responseAsString, Payone_Protocol_Logger_Interface::LEVEL_INFO);
59
+ }
60
+
61
+ foreach ($this->repositories as $key => $repository)
62
+ {
63
+ /** @var $repository Payone_TransactionStatus_Persistence_Interface */
64
+ $repository->save($request, $response);
65
+ }
66
+ }
67
+
68
+ /**
69
+ * @param Exception $e
70
+ * @param null|Payone_TransactionStatus_Request_Interface $request
71
+ */
72
+ public function protocolException(Exception $e, Payone_TransactionStatus_Request_Interface $request = null)
73
+ {
74
+ if ($request !== null) {
75
+ $this->getServiceApplyFilters()->apply($request);
76
+ }
77
+
78
+ foreach ($this->loggers as $key => $logger)
79
+ {
80
+ /** @var $logger Payone_Protocol_Logger_Interface */
81
+ $logger->log(get_class($e) . ' ' . $e->getMessage());
82
+
83
+ if ($request !== null) {
84
+ $requestAsString = $request->__toString();
85
+ $logger->log($requestAsString, Payone_Protocol_Logger_Interface::LEVEL_ERROR);
86
+ }
87
+ }
88
+ }
89
+
90
+ /**
91
+ * @param Payone_TransactionStatus_Persistence_Interface $repository
92
+ */
93
+ public function addRepository(Payone_TransactionStatus_Persistence_Interface $repository)
94
+ {
95
+ $this->repositories[$repository->getKey()] = $repository;
96
+ }
97
+
98
+ /**
99
+ * @param $key
100
+ * @return bool
101
+ */
102
+ public function removeRepository($key)
103
+ {
104
+ if (array_key_exists($key, $this->repositories)) {
105
+ unset($this->repositories[$key]);
106
+ return true;
107
+ }
108
+ return false;
109
+ }
110
+
111
+
 
 
 
 
112
  }
package.xml CHANGED
@@ -1,5 +1,5 @@
1
  <?xml version="1.0"?>
2
- <package><name>Mage_Payone</name><version>3.3.1</version><stability>stable</stability><license>Open Software License (OSL)</license><channel>community</channel><extends></extends><summary>PAYONE FinanceGate payment gateway for all german online and offline payment methods including PayPal, all major Credit Cards and Maestro.</summary><description>The extension provides PAYONE FinanceGate payment integration which enables payment proccessing through an existing PAYONE merchant account. No user accounts for your customers needed!&amp;#xD;
3
  &amp;#xD;
4
  The extension supports the following payment types:&amp;#xD;
5
  - Credit Card (Visa, MasterCard, American Express, Diners Club, JCB)&amp;#xD;
@@ -21,4 +21,4 @@
21
  &amp;#xD;
22
  With FinanceGate Business even account receivable management, dunning and debt collection can be done by FinanceGate automatically.&amp;#xD;
23
  &amp;#xD;
24
- Notice: Remember this extension is still beta. We recommend to test all transaction types in your application carefully before going live.</description><notes>Mage_Payone-3.2.0</notes><authors><author><name>PAYONE</name><user>jgerle</user><email>tech.support@payone.de</email></author></authors><date>2015-03-12</date><time>8:23:50</time><compatible></compatible><dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies><contents><target name="mage"><dir name="lib"><dir name="Payone"><file name="Autoload.php" hash="abd312c31dd8a49e589dbf16e94e26e2"/><file name="Bootstrap.php" hash="7287b7485c6df7a0d9ce31537fe6534b"/><file name="Builder.php" hash="fed3ab0252cfe5e5028f4c960b45b82d"/><file name="Config.php" hash="826ca1aa4b6ccac52972aa257c53cb25"/><dir name="Log4php"><file name="Logger.php" hash="fddde1cc9bdcca7521419c6420da19bb"/><file name="LoggerAppender.php" hash="b2424ba907d62c68f079529dba54feae"/><file name="LoggerAppenderConsole.php" hash="f2208d2f2f2fe4408be85e3008372f5a"/><file name="LoggerAppenderDailyFile.php" hash="bb4cfca31c83a613efef8d0b08a00bfa"/><file name="LoggerAppenderEcho.php" hash="e56cf56319d463a6047202bf053bddc5"/><file name="LoggerAppenderFile.php" hash="c4024ee55ceb5eeb2c46ab21a6ff20d8"/><file name="LoggerAppenderMail.php" hash="ad0a7e196d14d27545eaa3452c3ecaae"/><file name="LoggerAppenderMailEvent.php" hash="ea556db2d8b74637f02b1da7846a4349"/><file name="LoggerAppenderMongoDB.php" hash="ccfb66a44a273375ed5d6eab6042db7b"/><file name="LoggerAppenderNull.php" hash="248d6eeed9b84b959c4ae82c0d6daaba"/><file name="LoggerAppenderPDO.php" hash="356490ffaaad56675db83322d53b5c73"/><file name="LoggerAppenderPhp.php" hash="8a7d58987d7905e92d1f268c604087d9"/><file name="LoggerAppenderPool.php" hash="9b0d55088306772bd34c00b1ac440bf4"/><file name="LoggerAppenderRollingFile.php" hash="b705522052e8c359877e2ba271744790"/><file name="LoggerAppenderSocket.php" hash="f9bdaf50bb8978fe41098320a7e5246d"/><file name="LoggerAppenderSyslog.php" hash="27574b740b0d5312396159d8d7e12e63"/><file name="LoggerAutoloader.php" hash="a0b75450405b5febb023005265d4818e"/><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="712f07e7f3616570770b1a7673dcffa2"/><file name="LoggerConfiguratorDefault.php" hash="e01b6a93b7c4bff6b4cc82b7bda3c257"/><file name="LoggerException.php" hash="07fb71118915292280c330ca3e685c1c"/><file name="LoggerFilter.php" hash="ec564b521fe88298fe33b2dcf6005676"/><file name="LoggerFilterDenyAll.php" hash="53c74073fdf43bd7636608541866c119"/><file name="LoggerFilterLevelMatch.php" hash="60ee4c3c71a3b9144162169213a80617"/><file name="LoggerFilterLevelRange.php" hash="47dc7ccc561775c3e6e3c8532eea2171"/><file name="LoggerFilterStringMatch.php" hash="a042f17a4c84a39a82686aaa64d379f9"/><file name="LoggerFormattingInfo.php" hash="d57affba3a4f3f97970dfe40fa86d52d"/><file name="LoggerHierarchy.php" hash="a270105e860c20c909587e6b49e8f8b5"/><file name="LoggerLayout.php" hash="30d28c7bc9c0ea76fb049443f484b882"/><file name="LoggerLayoutHtml.php" hash="b620a59d84919ba7967d2719245f1f86"/><file name="LoggerLayoutPattern.php" hash="bf3b331de61b6ff8f0a732f04e1d6c23"/><file name="LoggerLayoutSerialized.php" hash="00a06131613a91c7c7ee6a5ba3947435"/><file name="LoggerLayoutSimple.php" hash="dcb84998b3330fb3a22ebd945ce0cd5f"/><file name="LoggerLayoutTTCC.php" hash="e368135278a1fca6b2e504ffc6111d3f"/><file name="LoggerLayoutXml.php" hash="c49e0fa7239c3bfd074f227e9b1acdd6"/><file name="LoggerLevel.php" hash="36a8d511ee74cb1c7c2aabcbe8b498e8"/><file name="LoggerLocationInfo.php" hash="188d3351daa27320359bec0302acc9aa"/><file name="LoggerLoggingEvent.php" hash="9ddc530baeef4bbd31ff53d364984107"/><file name="LoggerMDC.php" hash="779ebb5f26440b8d7dd6951ba38ea656"/><file name="LoggerNDC.php" hash="ec7fa35d571fa5cb53a4e91ddbe9ab22"/><file name="LoggerOptionConverter.php" hash="1c71069d10b3b8fa059746314f27db81"/><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="a1ae906f01046609c2ff2ba8a5e4f867"/><file name="LoggerReflectionUtils.php" hash="8416f23b1cf8b0b05f311bb5be3da682"/><file name="LoggerRendererDefault.php" hash="443469d3bd64cd82b1c07f279c358eb6"/><file name="LoggerRendererException.php" hash="bd3aab85ee3c9753277a8eb4b49e83d9"/><file name="LoggerRendererMap.php" hash="e253ff2dec83beff52ab329cc83d93a0"/><file name="LoggerRendererObject.php" hash="0fa3070986bc410792a43628c51daa7d"/><file name="LoggerRoot.php" hash="1c46358d43e0671cc2a7dcc3101a6e7f"/><file name="LoggerThrowableInformation.php" hash="fb6aada7a39faba0d6a3b0ce6c284321"/><file name="LoggerUtils.php" hash="400c7578fb86bc02f9153da5d982576c"/><dir name="xml"><file name="log4php.dtd" hash="81fddcc2738a2ea91ad88de4644c947a"/></dir></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="SessionStatus"><file name="Config.php" hash="0057a291fc33d96d46b00c201387ce48"/><file name="Factory.php" hash="158da95caf6b9146f52b3ef1407f06fe"/><file name="Request.php" hash="33c3d7d1fbe705dd1345b93af9de5ea9"/><file name="Response.php" hash="4b07f4e1f1a83609206bf9c3addddf57"/><dir name="Response"><file name="Abstract.php" hash="cf4341d0544b36f542ab4a9b47679add"/><file name="Interface.php" hash="a5ff6298e316d6e66bef5778896cb370"/></dir><dir name="Persistence"><file name="Interface.php" hash="7a0b0478154cdb2a878c7db2527ae5eb"/></dir><dir name="Enum"><file name="Action.php" hash="7eb0ffda19e436cd48f41a3ea89c248f"/></dir><dir name="Service"><file name="HandleRequest.php" hash="4f86ccfa7ab1e7f87c10636920a1f13e"/><file name="ProtocolRequest.php" hash="7199c23af5e24f8330ccf45a1b771be4"/><dir name="ProtocolRequest"><file name="Interface.php" hash="fb885835634e3b0f2590a0d5e99c8115"/></dir></dir><dir name="Mapper"><file name="Request.php" hash="8ec870251f12c9d067b5aef628ad56d4"/><file name="RequestInterface.php" hash="cdd99d6c58cf4b05f864c3a369a01752"/></dir><dir name="Request"><file name="Abstract.php" hash="0ad0ad8e49f2d31664ca34fcf4ae32a1"/><file name="Interface.php" hash="e8c06647011871c9da566392b45f256e"/><file name="Item.php" hash="0ea4383aa48bd44492a39af695a33053"/><dir name="Item"><file name="Abstract.php" hash="ff9ea330efbb8cce8b4e1749f2b6d0e6"/><file name="Interface.php" hash="cfc5e6e7f3d04a3ece7fe4886af94b05"/></dir></dir><dir name="Exception"><file name="Abstract.php" hash="e35bfb41c7228620143dd6c9d9e86121"/><file name="MissmatchingKeys.php" hash="734a2167efbc6bfbaa9829a377c4c7cd"/><file name="NoPostRequest.php" hash="f2e07cebe97b9275a287e66d27258ee6"/><file name="NoRequestData.php" hash="a3148abb91560cbafddee466686abbe5"/><file name="Validation.php" hash="c127e48496a51b149359a62839544a55"/></dir><dir name="Validator"><file name="Abstract.php" hash="e4ac1dedef2f8673172fe97fe7e63059"/><file name="DefaultParameters.php" hash="3e8e5aba4908963c2a39afd1f18d4367"/><file name="Interface.php" hash="5d348843ead07b105338d065c4326d7c"/><file name="Ip.php" hash="0c0c94d438927da3da5c979a1c537fa2"/></dir></dir><dir name="TransactionStatus"><file name="Config.php" hash="5fe7ae51f4e65c69865bc4d2ae48328c"/><file name="Factory.php" hash="cacd4d296964cb8a305eba713092798c"/><file name="Request.php" hash="beb71a270ee91f71ef81fbbd61d0d705"/><file name="Response.php" hash="ef77f669ce7c928df87a2d063f6762e4"/><dir name="Response"><file name="Abstract.php" hash="559a911ec0743a718dbccf3605500d53"/><file name="Interface.php" hash="1087ea1a0c70040daad6eac2014790e2"/></dir><dir name="Persistence"><file name="Interface.php" hash="2df04eff13f76ae9931b9b0fc906b61e"/></dir><dir name="Enum"><file name="Failedcause.php" hash="117498c6d47f339ab9b9cd99f5463713"/><file name="Txaction.php" hash="456c892d4004efa52f2ec4ef4e43709f"/></dir><dir name="Service"><file name="HandleRequest.php" hash="e022e91df959f32923cb315645bcfa95"/><file name="ProtocolRequest.php" hash="0841b6d11225f5902cdeef422b902a1d"/><dir name="ProtocolRequest"><file name="Interface.php" hash="167d45bbee2208242808800fd07e288e"/></dir></dir><dir name="Mapper"><file name="Request.php" hash="8f32a412e6ff5aee9687adcf276c90d6"/><file name="RequestInterface.php" hash="0da0be95a86d17301adcd2978752321a"/></dir><dir name="Request"><file name="Abstract.php" hash="dfeadc0e413f145747b08130831744c0"/><file name="Interface.php" hash="40f697d1de9b8a9e8a40003b7e766151"/></dir><dir name="Exception"><file name="Abstract.php" hash="632395a010faf55bb0a7f7b4e0a13de5"/><file name="MissmatchingKeys.php" hash="97ac63f21e2fcded47d5f84c1288f76a"/><file name="NoPostRequest.php" hash="24f51d9128d9f39a5eea73a4c2c45e2f"/><file name="NoRequestData.php" hash="7531903cb3ecbfcfe94ed0a8344d6c38"/><file name="Validation.php" hash="9422a5f6adde1c92cd402bdfc42aab5c"/></dir><dir name="Validator"><file name="Abstract.php" hash="aa1bee35692eb6a95e1c46ea671264dc"/><file name="DefaultParameters.php" hash="655f08e7da277673a62bea4364ad789c"/><file name="Interface.php" hash="16cb84d2eef9bd2aac89a1368a148ee4"/><file name="Ip.php" hash="8e29ede7e0217a05ce4522f1ee0622bd"/></dir></dir><dir name="Settings"><file name="Factory.php" hash="e41b108aa4efba5210946af4602df9e6"/><dir name="Service"><file name="XmlGenerate.php" hash="c4641438d959cc081694d4267407a184"/><file name="XmlParse.php" hash="1c7eb375b49fb2269d95492e3b62f022"/></dir><dir name="Data"><dir name="ConfigFile"><file name="Abstract.php" hash="be0f0346b0aa15c497f0081b0b6155a9"/><file name="Collection.php" hash="a7263f8efc3a1a079bcf12e176dc9ac2"/><file name="Interface.php" hash="1fe7136e991f3619f6e5a73e2d70a9e1"/><file name="Root.php" hash="9d4d579eb0b7d2bfa4f9d3bfd876fad8"/><file name="Shop.php" hash="7e291a39ffdeb1072772d88ba94d4e28"/><dir name="Global"><file name="StatusMapping.php" hash="3279b2f48bdac717ddf721d9ed5a2b03"/></dir><dir name="Protect"><file name="Addresscheck.php" hash="31afb2d81cebbfbce44e607f58060f79"/><file name="Consumerscore.php" hash="98452e35ecdd74e682d47a1d08e31575"/></dir><dir name="Shop"><file name="ClearingTypes.php" hash="2653246018e2cb62ba1a7a2ebeda0acf"/><file name="Global.php" hash="ee9cc234afcd67f1479bd86642fadea3"/><file name="Misc.php" hash="3392d70def6b9982e8ee96355e4a41e0"/><file name="Protect.php" hash="f18ca572c638b36c947cdc0fad0f7c71"/><file name="System.php" hash="d4d60ab9e103ec5746ff2b707c145a6f"/></dir><dir name="PaymentMethod"><file name="Abstract.php" hash="9eb23c7e797e68ca04bc04b5beb81012"/><file name="AdvancePayment.php" hash="5d939d5bd4d01999b812ec301d9056d2"/><file name="CashOnDelivery.php" hash="30871b68d6548d36da2730a3ab4ab2e8"/><file name="Creditcard.php" hash="82eef73b281c81aa07acd1457b89a777"/><file name="DebitPayment.php" hash="a196e908c35a4feca64ba1fc0133d1fb"/><file name="Financing.php" hash="ccf3303c1f3d7f719989d2b2af1b2d53"/><file name="Invoice.php" hash="0a648fea43888179f5a90b5aa356acca"/><file name="OnlineBankTransfer.php" hash="ec60c2dbe9113ec7473da98daf56d38f"/><file name="Wallet.php" hash="f540d8dbe35ae31cae52f11c33b9592f"/></dir><dir name="Misc"><file name="TransactionstatusForwarding.php" hash="9fdf0331c563cdfd64976164f07169f9"/></dir></dir></dir><dir name="Configuration"><file name="Abstract.php" hash="f15afcda690a5207944202f37e3c8e4b"/><file name="Mode.php" hash="a2ab66af34d2e20c3ce7fe8dcbb8603d"/><file name="PaymentMethod.php" hash="f91a6cb847afe46e7419058005aac27f"/><file name="Reminderlevel.php" hash="571623cdf2e9e9870b92ad45c6756f46"/><dir name="TransactionStatus"><file name="Action.php" hash="72213ba2746ec3b7e4e4b7a87bc35968"/></dir><dir name="Api"><file name="RequestType.php" hash="09bd4b26418c492924f8d5ac5223ef40"/><file name="ResponseType.php" hash="48dd933cb3fa752551327516e30d991d"/></dir><dir name="Verification"><file name="AddressCheck.php" hash="5dc1acc18bea2223022073a939011c2d"/><file name="AvsResult.php" hash="3e6c8c0f4d79bf174c57f7c566a0c9c7"/><file name="BankaccountCheck.php" hash="8546a79bae6184fd40fcb43aee102e18"/><file name="Consumerscore.php" hash="14b516aeae796212aa6f44476f6a8cb0"/><file name="Personstatus.php" hash="7554fe19329245980db3e492b7faae93"/></dir><dir name="PaymentMethod"><file name="CreditCard.php" hash="fc08438200314b07c4e128917c1a634c"/><file name="Financing.php" hash="a530a06d26a99912b3e0748fc67810ed"/><file name="OnlineBankTransfer.php" hash="df445f5f9f909fec6a3d2685e8f956c4"/><file name="Wallet.php" hash="7db782973c76541f73d35c60276c3eaa"/></dir></dir></dir><dir name="Api"><file name="Config.php" hash="d5024c64e3e7b543d56fe7999ad00fe5"/><file name="Factory.php" hash="7137d53aa65fd143ca480198f897c316"/><dir name="Response"><file name="Abstract.php" hash="8aa20c1529cc03a0f6c64d8e4f2690b2"/><file name="Error.php" hash="5b244a184285b0b155fdda18a0a5f4e9"/><file name="Interface.php" hash="4b0c18516850283078423ae02db27665"/><file name="Invalid.php" hash="2e70169805114abc447cbc54e12dfe7d"/><dir name="CreditCardCheck"><file name="Invalid.php" hash="1360c4a19989b39c221637f549cf6dcf"/><file name="Valid.php" hash="4b2cd6a3d7002af64e9b2fdd25e2d666"/></dir><dir name="Management"><file name="GetFile.php" hash="2a71fc77a2e4c5ead30c73f900708642"/><file name="GetInvoice.php" hash="4561a181783547f3f62f51dc8e6cc161"/><dir name="UpdateAccess"><file name="Ok.php" hash="8da6117cadf1db521221efc9bd123da9"/></dir><dir name="ManageMandate"><file name="Approved.php" hash="296bf34a77bd42a56b4f83ed3a77e03a"/></dir></dir><dir name="Refund"><file name="Approved.php" hash="98ae8425ae0497b66a131eeaa86bd318"/></dir><dir name="3dsCheck"><file name="Enrolled.php" hash="761d1b85854600d3036453dcf861e5a8"/><file name="Invalid.php" hash="35d3cf082577a49239def28304bec09c"/><file name="Valid.php" hash="229b019a8e23c5912ee60f5490ea4b95"/></dir><dir name="Capture"><file name="Approved.php" hash="7e19559bbd9c43106664528a3a1544e1"/></dir><dir name="BankAccountCheck"><file name="Blocked.php" hash="f2d2bfa8d00f285720551e0b8cf24ff1"/><file name="Invalid.php" hash="38a969437ef746262b9ab896d82de378"/><file name="Valid.php" hash="840cb9d43b09f59f78e6e43e6bc8c1cf"/></dir><dir name="Preauthorization"><file name="Approved.php" hash="e0a8f78ede823d6bf0a6788f02b8ed9b"/><file name="Redirect.php" hash="8b21473eb2742c4669bc53fc072f5f1b"/></dir><dir name="Consumerscore"><file name="Invalid.php" hash="02f0b89201e907bdd1af588ea30726e1"/><file name="Valid.php" hash="f136c9413b19cda1d6703934220d347a"/></dir><dir name="Vauthorization"><file name="Approved.php" hash="1fa7ebdc580b6cfff2aa91b10e410307"/></dir><dir name="Authorization"><file name="Abstract.php" hash="588af4b4ddccb0b3a9606930cf1deba2"/><file name="Approved.php" hash="2ee24e646337a522efe5f192d422e31b"/><file name="Redirect.php" hash="93baae52db091d32ee929f46b3b23ea4"/></dir><dir name="AddressCheck"><file name="Invalid.php" hash="f31f0bcdd6c2cf43cccaa98bf88dfa8f"/><file name="Valid.php" hash="9b2d37f9fe2a94c7613a1fe318fed34d"/></dir><dir name="CreateAccess"><file name="Approved.php" hash="77c1885ddcf64ea000118c1339efc06d"/></dir><dir name="Debit"><file name="Approved.php" hash="83caebd649e0d4cfdce294a9282e3740"/></dir></dir><dir name="Persistence"><file name="Interface.php" hash="783670fa2ec0bb82977f1b4548d8d77b"/></dir><dir name="Enum"><file name="AccessAction.php" hash="06f335b4a7915b38a39f65c15fb67852"/><file name="AddressCheckDivergence.php" hash="53c7accd75e2eb0c7f3a59e7c1d5c246"/><file name="AddressCheckPersonstatus.php" hash="834734b30c3f1979e84b487b44d20aef"/><file name="AddressCheckScore.php" hash="689d5042f08872c2e0f9cc7c839dd9e8"/><file name="AddressCheckSecstatus.php" hash="8fcf203cfb088a618ddf1436acfcd467"/><file name="AddressCheckType.php" hash="22c992dfd61bcbc66348b4d6f15c2101"/><file name="AvsResult.php" hash="b0386b93d4897ff9c425a64bc8440511"/><file name="BankaccountCheckType.php" hash="9e7bdb92cc66475ce71eb7cd4bfac903"/><file name="CaptureMode.php" hash="8063239d52293c4d681c0574e1d1ba18"/><file name="ConsumerscoreScore.php" hash="0698bad35ff8d2c777148038e6b881da"/><file name="ConsumerscoreType.php" hash="089cea7e978c2eaeb316726a78da1483"/><file name="CreditcardType.php" hash="e68edc3d4b9f5506239a037e0bc38473"/><file name="DebitTransactionType.php" hash="1aedd895d59618a5f1385001fd7291f4"/><file name="Ecommercemode.php" hash="7180d9c7c4b535d2b19e95ac740b9c60"/><file name="FileFormat.php" hash="23f747ea956c096bbbed4e7461e7fd2c"/><file name="FileType.php" hash="df5f5bb76244c8a81a59f8f4201b9986"/><file name="FinancingType.php" hash="7f18d69f522984f5bcd5ec169c346f09"/><file name="Gender.php" hash="d58bbf2a4019ec8c3b375f50ea2b3ffc"/><file name="InvoiceDeliverymode.php" hash="b449ae8492973f1735746571fdc62153"/><file name="InvoicingItemType.php" hash="898ead3cd513b0156cda33035f5cefc2"/><file name="OnlinebanktransferType.php" hash="fc5b1a811e948aa75f27c3181f27a07f"/><file name="PayoutOpenBalance.php" hash="d263156eafb88ed7e74556b1b1924e94"/><file name="PeriodUnit.php" hash="08673a4c85ade8967011b05d34eef33b"/><file name="PeriodUnitRecurring.php" hash="3a665fa2bd8b15f0b2fc455dd2b58d7c"/><file name="RequestType.php" hash="b200d265b70e7ba609dfb64ebd5c6fb5"/><file name="ResponseType.php" hash="98652b6dcb80cdc36cec7454785082aa"/><file name="Settleaccount.php" hash="a6a4c23be40837c9eec24f5342f69f80"/><file name="Shippingprovider.php" hash="cc47d7bb11f9633cb06ace20c1d3defc"/><file name="Storecarddata.php" hash="f5b8c68a66d61b788e4c068671858ff4"/><file name="UseCustomerdata.php" hash="1c6a5dd06e4447cb1f22cb819e9ebc5f"/><file name="WalletType.php" hash="0f3dda8e6294ee160068963d9d4caa5f"/></dir><dir name="Service"><file name="Abstract.php" hash="b8d9512e815eb84a4a585fe57b1701ea"/><file name="Interface.php" hash="1d854d9104dfcf22b131f460dc3eeb04"/><file name="ProtocolRequest.php" hash="84ff92e03b1ce5237c7384df13dca268"/><dir name="Management"><file name="GetFile.php" hash="565ca32e98ac32749737d4b84b305a9a"/><file name="GetInvoice.php" hash="1e2f7f6f63535aec6d7cb6470cf5a87a"/><file name="ManageMandate.php" hash="f393a553f7951812af4bb95f1c7eaa10"/><file name="UpdateAccess.php" hash="f45f64f5baf33a65440b7963fe444c19"/></dir><dir name="Payment"><file name="Abstract.php" hash="6969db1c619b363ae91b0d263be57964"/><file name="Authorize.php" hash="db21b827cf39363220d5d2b0ff44cc50"/><file name="AuthorizeInterface.php" hash="4a3399ce8b72cd43b271d19a3a560b95"/><file name="Capture.php" hash="8c731d7a3a50811ab12f0fe6a569330f"/><file name="CaptureInterface.php" hash="580ffaf8f16891ceab328d74a02f2f9a"/><file name="CreateAccess.php" hash="2ef787938b1d58225648f20a4c4b55f7"/><file name="CreateAccessInterface.php" hash="c6d6eba3cd6fb415a8ab8e9a10393c8b"/><file name="Debit.php" hash="4ab986b335928ceb86c562dc0261f8cf"/><file name="DebitInterface.php" hash="685c013fd6cf139ea18576dce58a2215"/><file name="Preauthorize.php" hash="0072d971575c6de8b4445b0b6831eb47"/><file name="PreauthorizeInterface.php" hash="b0fec4bf035c791846d969b1c089f31b"/><file name="Refund.php" hash="cdb182edf4ef2d5ff3869d492e23f0c4"/><file name="RefundInterface.php" hash="8ce11a13475480ad9cb2d4df9a1ec02e"/><file name="Vauthorize.php" hash="eab21489ca608fd38b2548a6ec3ca6bd"/><file name="VauthorizeInterface.php" hash="2baddc081baab0f6194620635fbd01b5"/></dir><dir name="Verification"><file name="3dsCheck.php" hash="084a38ece457af196c664cef63a58187"/><file name="AddressCheck.php" hash="252ba67326f698391984e5cd743912ab"/><file name="BankAccountCheck.php" hash="35daae8d7bd3df68e6cb05c09ef834c5"/><file name="Consumerscore.php" hash="a7b4e0251400725892fb689724109130"/><file name="CreditCardCheck.php" hash="5fdb19049e5349894db3d91c4167d09e"/></dir><dir name="ProtocolRequest"><file name="Interface.php" hash="eab9d1fd07792532d7c470a8de602749"/></dir></dir><dir name="Mapper"><file name="Abstract.php" hash="cca8cbf754f938d0680c34d8dfb62581"/><file name="Currency.php" hash="d12f01a77c738e4f9807b5e75f5b3e1c"/><file name="currency.properties" hash="eef9fbec34f4f4a2602f6081fcfda371"/><dir name="Response"><file name="3dsCheck.php" hash="045096f3cb31429dc4d722ce2e519d9e"/><file name="Abstract.php" hash="c4a9c2972e67bc7d15e886eebb1ce5d6"/><file name="AddressCheck.php" hash="084b59a4216344eb13a5f3b21eb59f14"/><file name="Authorization.php" hash="9d19b05a3bdecd83cee8ea5a839f9453"/><file name="BankAccountCheck.php" hash="21b75a9386768830bfb230b06ada37b6"/><file name="Capture.php" hash="74df2833fecd483c81ebcfbc565a7533"/><file name="Consumerscore.php" hash="bb77021437781ae4c53af7b765226377"/><file name="CreateAccess.php" hash="1f55381b4c373debd047118728b590c9"/><file name="CreditCardCheck.php" hash="13b068754c45682ba531e606bd913fa2"/><file name="Debit.php" hash="c90741eaca2368f606b2563ac62883aa"/><file name="GetFile.php" hash="0656a7a3bbaf8731b603e933232c0eff"/><file name="GetInvoice.php" hash="f8f054ec2ac431b8b23ff35d812dddc0"/><file name="Interface.php" hash="3c036e02bb08de61eb26310138f738ae"/><file name="ManageMandate.php" hash="114676edb47ac6a20ca83be0c645ee4f"/><file name="Preauthorization.php" hash="7107262bb6ddd490d895be0a0db575a0"/><file name="Refund.php" hash="1b0f61f792c2e1afc6894d61793ab686"/><file name="UpdateAccess.php" hash="d37f044a3b21d10df368b9ec232897ad"/><file name="Vauthorization.php" hash="677a7fa3d73cd834fae60d2a9028af4c"/></dir><dir name="Currency"><file name="Interface.php" hash="bf48bcda959ddea8ee3e32952e60949c"/></dir><dir name="Request"><file name="Abstract.php" hash="b4161ceec23a7151d2bbc3c0fc95e71f"/><file name="Interface.php" hash="dfb550ad191f80669ccdeef763c7b59a"/><dir name="Management"><file name="UpdateAccess.php" hash="1c0454de087a657611578625cd4cbaba"/></dir><dir name="Payment"><file name="Abstract.php" hash="b3b1e2756395d8e08bed10cbcc9eab7e"/><file name="Authorization.php" hash="4314798721f70470e2c38a540c7146a8"/><file name="Capture.php" hash="dd8813205e0c3c512e589300a9e8a986"/><file name="CreateAccess.php" hash="2a8ff9db0d6a575eed3dde00a92c69c4"/><file name="Debit.php" hash="8cc7c0cea1d57afe566d1e0fe43ce46e"/><file name="Preauthorization.php" hash="34b624ec8b2a2dac64febb900908ca05"/><file name="Refund.php" hash="7150d816db33148714233b83422c8162"/><file name="Vauthorization.php" hash="e7b128a72020208335864d76d675a902"/></dir></dir></dir><dir name="Request"><file name="3dsCheck.php" hash="94bba3316832ca7c88260eef39cfbb4c"/><file name="Abstract.php" hash="5c9806f9f608d5f5e89b9c54927990db"/><file name="AddressCheck.php" hash="10740f6cdaffc9f78ed8bbae8fb6de63"/><file name="Authorization.php" hash="5d3316d77bceedb62004632d16198b4a"/><file name="BankAccountCheck.php" hash="40ccd3f30fd53a31df0383185d060dd5"/><file name="Capture.php" hash="b33a01d76f1ed59cdfa40a0dcc024d53"/><file name="Consumerscore.php" hash="8dba5007ea234d999cbd8b0d02b154ce"/><file name="CreateAccess.php" hash="0fd67979ab701b54d568bcf5b39aef4e"/><file name="CreditCardCheck.php" hash="c6f35c53ef0e26796205abf2c6e81723"/><file name="Debit.php" hash="ce7deb0382877001222f4410be14a309"/><file name="GetFile.php" hash="95f3f6b3cfaaf4cd83211dc90617f55b"/><file name="GetInvoice.php" hash="f83b623168d6fae921199b9859bb43ae"/><file name="Interface.php" hash="338199100f226bb478a7e79c1594bfc9"/><file name="ManageMandate.php" hash="80b16691ad7360253ed1ccd264704ae0"/><file name="Preauthorization.php" hash="6438ce17257c0f184dc8af180c9ad21c"/><file name="Refund.php" hash="42b3b4a7c07972b8d193bf1670625d0d"/><file name="UpdateAccess.php" hash="470d91884118674ec80378c0e65700f3"/><file name="Vauthorization.php" hash="da8f7714adf754df13ce9622c3a0ee35"/><dir name="Authorization"><file name="Abstract.php" hash="80971aafc19e11d5e3223a9048b719d1"/></dir><dir name="Parameter"><file name="Abstract.php" hash="b8a6666ef18172134db3afd306db6fb2"/><file name="Interface.php" hash="7b3b6208ca9e3186be261ae7862c6479"/><dir name="Invoicing"><file name="Item.php" hash="6d0c539503ea3d16ea991e4cc3a193e4"/><file name="Transaction.php" hash="4002529d89dd7b9ce13de9b8524d0726"/><dir name="Access"><file name="Item.php" hash="78f0781d244fe77459933fa5aca9bbb4"/></dir></dir><dir name="Refund"><file name="Abstract.php" hash="47c0b8a357b935e69c88f376022e0c83"/><dir name="PaymentMethod"><file name="BankAccount.php" hash="0e9bdd3e279803cad2572b51544cb6da"/></dir></dir><dir name="UpdateAccess"><dir name="Invoicing"><file name="Transaction.php" hash="609113dd7f6c6380b65721e18ed95116"/></dir></dir><dir name="Capture"><file name="Business.php" hash="fa0c5cfdc78f19c93d22c570d4392217"/><dir name="Invoicing"><file name="Transaction.php" hash="ab8f6f2872d035bb676f49bb74c84eaa"/></dir></dir><dir name="Vauthorization"><file name="Abstract.php" hash="87698493477461e0dd6a0a23502c313e"/><file name="PersonalData.php" hash="dbc89f4208436ed7f8442d0ed1c5af85"/><dir name="Invoicing"><file name="Transaction.php" hash="77cddd9a739d4fa9449c4b23739cd088"/></dir><dir name="PaymentMethod"><file name="Abstract.php" hash="64ea4df92a938c222524fd843a793c21"/><file name="CreditCard.php" hash="4c9d27ac565d6ac6954ff6e00bc31644"/><file name="DebitPayment.php" hash="b9cb83751d1acf2559d121a16dda17b9"/></dir></dir><dir name="Authorization"><file name="3dsecure.php" hash="c81ad086656fb07f173cb1c7006effcc"/><file name="Abstract.php" hash="8225edba0ff5e6a062361359f0b35a79"/><file name="Business.php" hash="becef5a6e46a7126eb4b07d3d4e2dabd"/><file name="DeliveryData.php" hash="62f5e16900673f02c7c86a6fe2d31da1"/><file name="PersonalData.php" hash="5c9b2ae75aa18ada0eb14b654031da97"/><dir name="PaymentMethod"><file name="Abstract.php" hash="9a237eff832a99a6990b036a780e88ec"/><file name="CashOnDelivery.php" hash="2e89d3baf895baef3b512acc36ea9831"/><file name="CreditCard.php" hash="c871f5e2c00492e2232bccdd0c60c4e7"/><file name="DebitPayment.php" hash="6c5bd3473b6edc5fc923bbb7718fc293"/><file name="Financing.php" hash="9bf3eabd7ff2e91b07905188ebec82e8"/><file name="OnlineBankTransfer.php" hash="f556ef8b1fa09eb5c216eb79fdbf9a9c"/><file name="Wallet.php" hash="3ff0949925f424d1737e27b9eac0ae37"/></dir></dir><dir name="CreateAccess"><file name="3dsecure.php" hash="ddc7dc0f2611502d94bebdea95e337e1"/><file name="Abstract.php" hash="357c8471022e76fe08791cd47f4ebdbc"/><file name="Billing.php" hash="72fcc2befe91d5b851bc0d80b33670a4"/><file name="PersonalData.php" hash="cf16bc56d4d72d0a733a1034a71e5865"/><dir name="Invoicing"><file name="Transaction.php" hash="4b5e9f8da6754d4ee12486e87c2df806"/></dir><dir name="PaymentMethod"><file name="Abstract.php" hash="a1b8579bf21a7550b817e23217c004b6"/><file name="CreditCard.php" hash="832e55197a2df95b09ef9d77e0179af9"/><file name="DebitPayment.php" hash="bc4c4197336fde464087a075da559888"/></dir></dir><dir name="Debit"><file name="Abstract.php" hash="e66574f79bfde6d722882ba0680cf35f"/><file name="Business.php" hash="849ad8b9663563be3f1576cd9e964af9"/><dir name="PaymentMethod"><file name="Abstract.php" hash="78974c85893ffc40807fc7b13309245b"/><file name="BankAccount.php" hash="57fec9893d145f3d801399b8c008d86d"/><file name="CreditCard.php" hash="c74b103174b4021bbcabf0cb175034d2"/></dir></dir><dir name="Paydata"><file name="DataItem.php" hash="82b1054225715a4b520a15d3055d917e"/><file name="Paydata.php" hash="0c25a82656cc5639234b905d50b27929"/></dir><dir name="ManageMandate"><file name="Abstract.php" hash="b0a31171c9d4a899eb1fa5899ebaa11a"/><file name="PersonalData.php" hash="a1c61541639a60731aeea95eb014e985"/><dir name="PaymentMethod"><file name="Abstract.php" hash="7089b377e576ef5529b55cefadc2555e"/><file name="BankAccount.php" hash="34c46f12b9edce8a8a2740ab64c6c66e"/></dir></dir></dir></dir><dir name="Exception"><file name="Abstract.php" hash="09266153140106c4177f1ec616e82b75"/><file name="InvalidParameters.php" hash="a7d9a56d5f1f1492e39f7bf128abd845"/><file name="InvalidResponse.php" hash="216f9e035f04fc0340f3960c92d2b209"/><file name="InvalidUrl.php" hash="61c4c388a90361e1de18d8b68fb914e7"/><file name="MappingNotFound.php" hash="e465bf155d207e86b420e20963113c97"/><file name="Payone.php" hash="63e447068676c3f62578f1392558e506"/><file name="Timeout.php" hash="112670215f70139a4ab30a3a9d459fe3"/><file name="UnknownStatus.php" hash="767e935b0bca23c581db594cb71dcb88"/><file name="WritingRequestToServer.php" hash="16437699dd39c2307aca6aec944c3cb3"/><dir name="Request"><file name="InvalidKey.php" hash="45f6aea3a604026ea53732805c97998c"/><file name="InvalidMid.php" hash="8a215505065c1ad96d5ab24ce7bdb2c0"/><file name="InvalidMode.php" hash="97fd778214be1297e5a2639ac03edb17"/><file name="InvalidPortalid.php" hash="1346da51642cd24c3c8c49094a3760be"/></dir></dir><dir name="Adapter"><file name="Interface.php" hash="8d398fe489610c76b237847b5e05b300"/><dir name="Http"><file name="Abstract.php" hash="8d37bc6e9bd6acd0e5b1350542e43f9d"/><file name="Curl.php" hash="09107f0d1fe82d4d3c58b73fd61c2481"/><file name="Socket.php" hash="76ff8d8ff010537d56f266acc47c7092"/></dir></dir><dir name="Validator"><file name="Abstract.php" hash="a3bbebe0cf3f455bacf1716c0b67779a"/><file name="DefaultParameters.php" hash="21171914c65583c046fe5a3df8c138e6"/><file name="Interface.php" hash="c7e52165e76fb9f0815b90b8609dfe14"/></dir></dir><dir name="Config"><file name="Abstract.php" hash="57627d0919526793ad2fb0e5d70d32d8"/></dir><dir name="ClientApi"><file name="Factory.php" hash="7fe76a15b47eb692360485b2c86d0023"/><dir name="Enum"><file name="RequestType.php" hash="e496e1ec9291a3bd2619ace4e9201bbe"/><file name="ResponseType.php" hash="907e66abd764e267ba5905e69d8905b3"/></dir><dir name="Service"><file name="GenerateHash.php" hash="9e19af747d9ec92c483cfe8ff8ec1da5"/></dir><dir name="Request"><file name="Abstract.php" hash="257aa6e406500795ae1f992d0b2e48cc"/><file name="CreditCardCheck.php" hash="9281308800e3ce3e2af375d0f038d66b"/><file name="Interface.php" hash="ac65dc86b506183ab0e32f6f8e7865c9"/></dir><dir name="Exception"><file name="Abstract.php" hash="be912f22feedcbfa15a433b322e4e765"/><file name="InvalidParameters.php" hash="3640c7b8610936874c0d10b07301f0fe"/></dir></dir><dir name="Protocol"><file name="Factory.php" hash="690d0411a8e3967091117745bd7290ad"/><dir name="Service"><file name="ApplyFilters.php" hash="ab881b292dade78add817503e15b68ea"/><dir name="Protocol"><file name="Abstract.php" hash="2c0df0e7ef13add24edd2d4ef3ffdd04"/></dir></dir><dir name="Filter"><file name="Abstract.php" hash="65aa27b167ea5cd15471e2f159bce487"/><file name="Filterable.php" hash="a9d19c275d9c0930dbdcd1f38b99c4bf"/><file name="Interface.php" hash="00f3f383e303bed2a0a92e81621098ac"/><file name="MaskValue.php" hash="aa0fdcb99504e5118046d3c8b664c1ec"/></dir><dir name="Config"><file name="Filter.php" hash="f8781db0de4e426e3c2b107eca7bf13d"/></dir><dir name="Logger"><file name="Interface.php" hash="fed7e42b92d6a4e4555d3563f4ff7cf2"/><file name="Log4php.php" hash="774e39045504986ca0c2ca609b616993"/></dir><dir name="Exception"><file name="FilterNotFound.php" hash="d08881829222d1cb677318776cdaefaf"/><file name="InvalidConfig.php" hash="211505ea0e1d0b3b63dfdb5c6cd56469"/></dir></dir></dir></dir><dir name="skin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="payone"><dir name="migrator"><file name="migration.css" hash="c27e9fc8fa891b5ae3ca7480ba90cb02"/><dir name="images"><file name="ajax-loader.gif" hash="32dc1f5901143d36fbd7a6df3950819f"/><file name="failure.gif" hash="4d785bcecfbe716fa4d749d20738a8f0"/><file name="success.gif" hash="3f9b9025551da6963a9ecf8d184a204a"/></dir></dir><dir name="core"><file name="boxes.css" hash="1a9ef798278e1d1dcc3c8dd86eb8ddca"/><file name="wizard.css" hash="c2be3f8f3b7012f015fcd76aceebe32b"/><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></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="payone"><dir name="core"><file name="mandate.css" hash="246dc6bbdca6c0eda2972b5abcb2b24b"/></dir></dir></dir></dir></dir></dir><dir name="js"><dir name="prototype"><dir name="windows"><dir name="themes"><file name="payone.css" hash="ca84a0501c8f6f794c08bc34c013aa01"/><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></dir></dir></dir><dir name="payone"><dir name="migrator"><file name="migration.js" hash="602a23b295cf6b241845fa626b089c91"/></dir><dir name="core"><file name="addresscheck.js" hash="6568d29af003fa91f0b5c469ff464e3c"/><file name="client_api.js" hash="5bc2aa3a184a17c33a099d74912d5d0d"/><file name="creditcard.js" hash="e97b2e9ee74b192b28e0d1763521012e"/><file name="debitpayment.js" hash="12e2cbe8050c26afb71eb4eab8ffa238"/><file name="financing.js" hash="dd40ebd51ff10cf811211c29b73d142c"/><file name="klarna.js" hash="22de283a0a0b98aa880d4f2f55f245af"/><file name="onlinebanktransfer.js" hash="7647f634804c80a28d8252524c3ee484"/><file name="safe_invoice.js" hash="18e2937400142d0e26fd0fe068e5e293"/><file name="sepa_input.js" hash="c791b60e714058e0864891619f1ebd80"/><file name="sepa_validation.js" hash="e8b50fd2da5bd35bf5acfd6450838efe"/><file name="wallet.js" hash="8b52a7055252923888319dd057aa1e4e"/></dir></dir></dir><dir name="app"><dir name="locale"><dir name="en_US"><file name="Payone_Core.csv" hash="5848c5f3bebf667f0e78dfe15e1a0230"/><file name="Payone_Licensemanager.csv" hash="7271c2b5890d4ad709d5b1268c31575f"/><dir name="template"><dir name="email"><dir name="payone"><dir name="core"><file name="avs_template.phtml" hash="fb6ebbfa5d1f95d58b321cf6feb81dba"/><file name="error_template.phtml" hash="009959ada1dabe51d7e1bbc36027a65f"/></dir></dir></dir></dir></dir><dir name="de_DE"><file name="Payone_Core.csv" hash="b1279d6b4dc05c5d04f633b18a1bf836"/><file name="Payone_Licensemanager.csv" hash="d36e77ad14ad0db2a294ab6e38afe426"/><dir name="template"><dir name="email"><dir name="payone"><dir name="core"><file name="avs_template.phtml" hash="fb6ebbfa5d1f95d58b321cf6feb81dba"/><file name="error_template.phtml" hash="009959ada1dabe51d7e1bbc36027a65f"/></dir></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="Payone_Core.xml" hash="26082ff2574ca87302556c5c3a39b246"/><file name="Payone_Licensemanager.xml" hash="cb7bcac54336595c25214557382e6c55"/><file name="Payone_Migrator.xml" hash="9af684dec6dc50d9e863538773350fb7"/></dir></dir><dir name="code"><dir name="community"><dir name="Payone"><dir name="Core"><dir name="sql"><dir name="payone_core_setup"><file name="install-3.0.0.sql" hash="28a783cc46e235b6c13dd502651ff7e7"/><file name="mysql4-install-3.0.0.php" hash="e570826a7a6b3d94ec7a4731a1962a6f"/><file name="mysql4-upgrade-3.0.12-3.1.0.php" hash="bca5f3758f786378978834b89c29f141"/><file name="mysql4-upgrade-3.0.3-3.0.4.php" hash="864709102446d37f8b0ad1c7d7b3ab60"/><file name="mysql4-upgrade-3.0.8-3.0.9.php" hash="b8b666e1cef07ae385278a454b885d77"/><file name="mysql4-upgrade-3.1.0-3.1.1.php" hash="d7c545b39a8ec2764fdcadd6656005dd"/><file name="mysql4-upgrade-3.1.2-3.1.3.php" hash="22d8f0e22f537cec9564d177f5ebeac4"/><file name="mysql4-upgrade-3.1.3-3.1.4.php" hash="fdb019dcd5a75d24fee65d2fae768ef6"/><file name="mysql4-upgrade-3.1.4-3.1.5.php" hash="07861bdab5b1db51dcef427891c2bd5f"/><file name="mysql4-upgrade-3.1.6-3.1.7.php" hash="e3d5404bae141f641ddb0e32d28ec8a3"/><file name="mysql4-upgrade-3.1.7-3.1.8.php" hash="bde5b06ffb9d254458c03d875a22ff79"/><file name="mysql4-upgrade-3.2.1-3.2.2.php" hash="f69e68b839573bf5c69ef51d22955ab5"/><file name="mysql4-upgrade-3.2.2-3.2.3.php" hash="589d0a609cc844aadf4379f6deea2666"/><file name="mysql4-upgrade-3.2.3-3.3.0.php" hash="16cdd1b5d738cc8f038b0a96edbd766b"/><file name="upgrade-3.0.12-3.1.0.sql" hash="bd9827b38f1a1ed0fdb049c889ceb29f"/><file name="upgrade-3.1.2-3.1.3.sql" hash="d3e3fc1f9402bb6295124f4750a476d4"/><file name="upgrade-3.1.3-3.1.4.sql" hash="b9ae52a8c4fcf6f97727b3310b6db1a2"/><file name="upgrade-3.1.4-3.1.5.sql" hash="4cc6ee67329dbaa3ad119b6d117ba9af"/><file name="upgrade-3.1.6-3.1.7.sql" hash="9839cc9c41207a4bd7608d91c5ee83a2"/><file name="upgrade-3.1.7-3.1.8.sql" hash="ac5279de707324fe4f2ea4711e6bd851"/><file name="upgrade-3.2.1-3.2.2.sql" hash="feb5a8265a5495a7a9614a79e9fa98fe"/><file name="upgrade-3.2.2-3.2.3.sql" hash="1ae4bcc6626e9a9e3179b0ae83a4b9d0"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="80661f3ff3f6782efad26e377413aeb3"/><file name="config.xml" hash="0240cca21d8d50b709c6cf339c0034f9"/><file name="system.xml" hash="84861ca8b569a3700a6e514bcc94f346"/></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="Block"><dir name="Payment"><dir name="Method"><dir name="Info"><file name="Abstract.php" hash="bf35fcee29c7128e694488d004fbef22"/><file name="AdvancePayment.php" hash="5a30ac680ba4b813b8292ee680970815"/><file name="CashOnDelivery.php" hash="f98ff0c449f5fd265aeb1e0bba189d88"/><file name="Creditcard.php" hash="039cde64d6835e601245e46f606d4f66"/><file name="DebitPayment.php" hash="f7e390fae84439f5003578a81699eef1"/><file name="Financing.php" hash="6168f4820caa216f6f30a14069602123"/><file name="Invoice.php" hash="4e39306b2241b19e8d75684307522aaa"/><file name="OnlineBankTransfer.php" hash="a6b327b86716a748cbf24e789c25a5f7"/><file name="SafeInvoice.php" hash="fca91084fb3fff9c6ff82bee1f182490"/><file name="Wallet.php" hash="1c97123bd3b8c5c10e766dd7749f2076"/></dir><dir name="Form"><file name="Abstract.php" hash="a0540c26cb9981a29efd68e715180a2d"/><file name="AdvancePayment.php" hash="f8fa142db063838f6e2affd24e605309"/><file name="CashOnDelivery.php" hash="47aa8eae525f0926cfa0ca39dbf16dd8"/><file name="Creditcard.php" hash="078bfa9c24baa817df8e6684f21ed082"/><file name="DebitPayment.php" hash="ca62636d4ab7b961ac04bb66d5a09810"/><file name="Financing.php" hash="e6a7e1323868ceb97815d793be291afd"/><file name="Invoice.php" hash="792e994d4e724c508c44aa80c2c05377"/><file name="OnlineBankTransfer.php" hash="bd8aa5ce3a5579294418544dbb10a477"/><file name="SafeInvoice.php" hash="3cfd8a05e6bab685a19c64c93632ff84"/><file name="Wallet.php" hash="da09f18c16574eac09b9a1d2bc2a67db"/><dir name="SafeInvoice"><file name="Klarna.php" hash="d8f2ba8fe76f594acd15d9c292084c70"/></dir><dir name="Financing"><file name="Klarna.php" hash="f5d570edd1ebcf3db3982c5086a23221"/></dir></dir></dir></dir><dir name="Adminhtml"><file name="Information.php" hash="2459128787e623cebf78be3634eb7514"/><file name="Transaction.php" hash="9da66e164d1dea5013167c374865a94d"/><dir name="Protocol"><file name="Api.php" hash="86163b631dabef5538c9d7ba18cb3b04"/><file name="TransactionStatus.php" hash="4aa543fe53ea8c4d0a4c09a61c84d52f"/><dir name="TransactionStatus"><file name="Grid.php" hash="b9e276667ce3599e5250f0026ab4f8d5"/><file name="View.php" hash="b7d782116f5d8d09087bf9eb7110ecdf"/><dir name="View"><file name="Plane.php" hash="e7fee81fb6ee269bab8186972e0093a1"/><file name="Tabs.php" hash="aba3d7bf0ab3762a2900237b21a2198a"/><dir name="Tab"><file name="General.php" hash="a80cb470751f948b35aa04f991dd4486"/></dir></dir></dir><dir name="Api"><file name="Grid.php" hash="fe43a5b1464e1059703788bd91f408cf"/><file name="View.php" hash="d00b5b3c9a7d0e36693c026c5de0dd35"/><dir name="View"><file name="Plane.php" hash="daf40463ac56195f9d2181e35062baa2"/><file name="Tabs.php" hash="cc81cd30acbda3b87f2b302ee8cdaf1a"/><dir name="Tab"><file name="Exception.php" hash="1825ebf171f264b6c74ed7e1fe9d6fbd"/><file name="General.php" hash="9a5d35a92a9d622a2ddfb0edafa76092"/></dir></dir></dir></dir><dir name="Widget"><dir name="View"><file name="Container.php" hash="dfd28e3f3205c9ab6f1d5ba5cdd1222c"/></dir><dir name="Grid"><file name="Container.php" hash="f035c12b7bf696a0222ce0b3f50dfd46"/><dir name="Column"><dir name="Renderer"><file name="Datetime.php" hash="52a793dde88b725b9b9d5f27842b1705"/><file name="UnixTimestamp.php" hash="9da03743ed591e5f24f1f682c5f4fb5f"/></dir></dir></dir></dir><dir name="Configuration"><dir name="Wizard"><dir name="Page"><file name="Edit.php" hash="1f1b820d0f2d50230f8cdf762c80bc5c"/><file name="View.php" hash="9ab4a5083eebc1961ea5c0acb0ba2cf2"/></dir><dir name="Config"><file name="Form.php" hash="7e48e792893e9a64f7001e96b003e382"/></dir></dir></dir><dir name="Information"><file name="Abstract.php" hash="89033bd457bcd46a7ceb13462360a5e6"/></dir><dir name="System"><dir name="Config"><file name="Hint.php" hash="621ffcb807a4175d274dcb4d4f99bb7d"/><file name="Notice.php" hash="466258b59f294048fa48639f3681ad5e"/><file name="Payment.php" hash="0c9f0cd463afa2bbb5eec693ae1da597"/><file name="Tooltip.php" hash="d9905fba960f4a7500265c30f1dfddf9"/><dir name="Payment"><file name="Edit.php" hash="ee890691a35e5b33bfd1a986a4481ace"/><file name="Grid.php" hash="7ff4cfab006c716256b416a1898383e4"/></dir><dir name="Form"><file name="Field.php" hash="9c7f06f1a79d2308d5bf89c08b986b62"/><file name="Payment.php" hash="812418b9dc6e7d0f7af71c54fa7ad4cf"/><dir name="Field"><file name="Abstract.php" hash="77de293a1573d415a0560d1f3366ed12"/><file name="Forwarding.php" hash="37db0ebdea18716749598e092070475e"/><file name="Info.php" hash="403bb1317e88e67abbc8da62d5249411"/><file name="KlarnaStoreId.php" hash="a250983a9d5969f90a772e13893cb580"/><file name="PaymentFee.php" hash="755e20786c0203016611bfcfdc6ede90"/><file name="PersonStatusMapping.php" hash="a5450b8e05fa801ec373ac7c21e58b34"/><file name="StatusMapping.php" hash="cf91819c4d98a270e3725f9af4b9b88c"/></dir><dir name="Payment"><file name="Method.php" hash="322e4976bd8389f5e9627ba5c17ad0e4"/></dir></dir></dir></dir><dir name="Transaction"><file name="Grid.php" hash="cca8ffb56bc00514d56af6f05c38882f"/><file name="View.php" hash="267ceb1bf113dae62c503c8c9f858a78"/><dir name="View"><file name="Plane.php" hash="161a1c1f5cb58333e4428414397a91f6"/><file name="Tabs.php" hash="127b5f4090f96a1956f2838e7e1bf90f"/><dir name="Tab"><file name="General.php" hash="bc901fbe55449792917519c795c58808"/><file name="TransactionStatus.php" hash="6325158ee9acda45dc1b3aa6a34b8cdd"/></dir></dir></dir><dir name="Sales"><file name="Order.php" hash="d9b85ad2061f9fe9552f5ffed60d0797"/><dir name="Order"><file name="Grid.php" hash="8769f1b2708b28af0a4f97574c0b0c92"/><dir name="View"><dir name="Tab"><file name="Api.php" hash="add6c7c0adbd91114b3eed850569b65a"/><file name="Transaction.php" hash="a6001e58c3ce4d6737f4928ccac66176"/><file name="TransactionStatus.php" hash="44541e398ab29db4720b2109f6e0607c"/></dir></dir><dir name="Create"><file name="Init.php" hash="3f2f8f8de024565abc1f8e4ced98319b"/></dir></dir></dir></dir><dir name="Checkout"><dir name="Onepage"><dir name="Success"><file name="SepaMandatePdfLink.php" hash="73c3a6035c989697c447f7572986a815"/></dir><dir name="Review"><file name="SepaMandate.php" hash="c6ab2e1b5d3cc046682985342ddec6a1"/></dir><dir name="Payment"><file name="Additional.php" hash="6fb72c642149f73a73b6ffcdd8249a93"/><file name="Methods.php" hash="a2e4bb44fa3c254bdfcc3f4671dc8968"/></dir></dir></dir></dir><dir name="Model"><file name="Config.php" hash="e377c2462e81c4a6caacd784cf6a5d65"/><file name="Factory.php" hash="e3d7fd809e4de89a85d3ceb0e34af804"/><dir name="Cronjob"><file name="Abstract.php" hash="123c05ac24b16ce69ec970a5da85f10e"/><dir name="TransactionStatus"><file name="Worker.php" hash="1e7090f9b91571176224d97a3e932ede"/></dir></dir><dir name="Service"><file name="Abstract.php" hash="9c2a7aeecb9fc0303ac20a6ddc73ae96"/><file name="InitializeConfig.php" hash="941c42e76ab330f1f2895c026025a009"/><file name="InitializePayment.php" hash="688d23ed08cdc74797818ad84d9359cc"/><dir name="Export"><file name="Collection.php" hash="ba553e1ced6fd131b725c92150e09a78"/></dir><dir name="Management"><file name="GetFile.php" hash="dca7b664b32e217ab50cd88e5919b8d4"/><file name="GetInvoice.php" hash="16da5759ecfbe625633da5e1e00cfecd"/><file name="ManageMandate.php" hash="8bea957a3e67e3f611bd927263161a72"/></dir><dir name="TransactionStatus"><file name="Execute.php" hash="d4dff27a2cc271faaba576f9161a7f89"/><file name="Forward.php" hash="8dacb47c9a0db8e76669158aa15303b6"/><file name="Process.php" hash="be3b935bdea0b665b6ba660df1e43cb0"/><file name="StoreClearingParameters.php" hash="29f9570fb39da143e6b0edae80c126a7"/></dir><dir name="Payment"><file name="Abstract.php" hash="78f1f27d510d88c8ffa3575b1fdd5877"/><file name="Authorize.php" hash="fa22191f012150eb5bd4ab2b183522dc"/><file name="Capture.php" hash="58bee25ef7c318f53a00d608cf16d0bf"/><file name="Debit.php" hash="4320627bc743c5ae303296417c64c232"/><file name="Interface.php" hash="5a6669702b6f966cdca52378e96e60d2"/><file name="Preauthorize.php" hash="b13323bc57512b9244a217dcc8106625"/></dir><dir name="Config"><file name="ProtectCheck.php" hash="81e93c3cd18c39b9cf52e94374cd341c"/><file name="XmlGenerate.php" hash="6a2ea0a941738a70b7bf510d8cf22369"/><dir name="PaymentMethod"><file name="Create.php" hash="af77caf92d5d7a87f691a571d5300c34"/></dir></dir><dir name="Verification"><file name="Abstract.php" hash="0fde90b0db9c18f414e5e90843f0e6ce"/><file name="AddressCheck.php" hash="b6e828cf9dc96d7e9cafae8037aa942f"/><file name="BankAccountCheck.php" hash="a78e4e65d55c07e5b6f0dd2139219a53"/><file name="Creditrating.php" hash="7dfbcaf8dbb3c11625a3a9943fa3a793"/></dir><dir name="Protocol"><dir name="TransactionStatus"><file name="Export.php" hash="1265210a4dcc3475e3cef56a70e073c2"/></dir><dir name="Api"><file name="Export.php" hash="ae95ecb8c8e7b8418c8d3dd361c751c0"/></dir></dir><dir name="Transaction"><file name="Create.php" hash="95d9079e7fd9a85597b62e96f7a4d77b"/><file name="Update.php" hash="f25e151fd02916472e7792360699a988"/></dir><dir name="Sales"><file name="InvoiceCreate.php" hash="84148ef78256e3daad76395fbb30e9a5"/><file name="OrderComment.php" hash="41433c126e5254b985d900f704b31ae9"/><file name="OrderConfirmation.php" hash="ea36bf39b5759943b38a7390d7242822"/><file name="OrderStatus.php" hash="fe3f8df1627c19363f21a29b4e8085f2"/></dir></dir><dir name="Mapper"><file name="Abstract.php" hash="269e16e71331e002333535450d4d2924"/><dir name="ApiRequest"><file name="Abstract.php" hash="67a9f749767b79e7641138f8edc9c788"/><dir name="Management"><file name="GetFile.php" hash="2c4dd75523f2479a1d3f352123ce93d6"/><file name="GetInvoice.php" hash="18e670a377141a7c37d37a336cddba92"/><file name="ManageMandate.php" hash="36f2ccf6e5b5aa6317632700a73d394b"/></dir><dir name="Payment"><file name="Abstract.php" hash="e19b926ca94471192834d6127ca243f3"/><file name="Authorize.php" hash="7b4b3ee3e5fe3614158a2538878ba4f0"/><file name="Capture.php" hash="5cade3ae90ed302b03518efbbc7836d0"/><file name="Debit.php" hash="5c4aec11abe8e99085374d3f5b9a2f9e"/><file name="Interface.php" hash="2ed7debbc0cbe1979be9ad4fa583c63d"/><file name="Preauthorize.php" hash="5de50d89d2c8bde9f64029fe787191ff"/><dir name="Authorize"><file name="Abstract.php" hash="7095af6729dea8f3caae5b76135275e9"/></dir></dir><dir name="Verification"><file name="Abstract.php" hash="6b492aabd24d09580bb5c8184ebab5dd"/><file name="AddressCheck.php" hash="6c30ca669aa897159418d4e6c857d550"/><file name="BankAccountCheck.php" hash="f963c0a703501bdacdf3acbe37dd929d"/><file name="Creditrating.php" hash="aa5dc04063a6d8b4fedf05b4d82ba244"/></dir></dir></dir><dir name="Handler"><file name="Abstract.php" hash="7916a63c5d1ca3c7cec27cc6bd038846"/><file name="Interface.php" hash="8137fbb2cea9866c2d6a64421653b1f7"/><dir name="Management"><file name="GetInvoice.php" hash="4fc10247b8969f9dbe447d3003a052a0"/></dir><dir name="Payment"><file name="Abstract.php" hash="44a3373698eadce21a6a88a67e7f62bb"/><file name="Authorize.php" hash="0693282e074f6c22824c5eab347aa9a2"/><file name="Capture.php" hash="d6d7dd0dfc16066faebc9678bb98b0ca"/><file name="Debit.php" hash="3dcee9f980aa64fb8d2ee93e4cdc91cb"/><file name="Interface.php" hash="3ff3b7247a7f69dd84b0999259f24bf8"/><file name="Preauthorize.php" hash="377a4242911f900ad046edc03da31891"/></dir><dir name="Verification"><file name="Abstract.php" hash="04be41f4fde5091816cb2dc650b53306"/><file name="AddressCheck.php" hash="603f95a45583c5a9fc61fe747915c094"/><file name="Creditrating.php" hash="df5e854c7814b05fae05ccb0d4eb09f9"/><file name="Interface.php" hash="601a0d018c10962c13e26c67ecb60deb"/></dir></dir><dir name="Observer"><file name="Abstract.php" hash="7818d67d38868e56e44260d5eaeeb74d"/><dir name="Store"><file name="PaymentConfig.php" hash="fdf9db06695c1ef6a90a1695a8df58b0"/></dir><dir name="TransactionStatus"><file name="Forwarding.php" hash="72e93b7a9fc67b3c817a8a3086b3c58d"/><file name="InvoiceCreate.php" hash="d15502d5794acf2a35fae589e9c60b25"/><file name="OrderConfirmation.php" hash="0ba29147ead6d943964be30c2b5aa1a6"/><file name="Reminder.php" hash="e476fbafaec9b3f2fa3d0ec5f57f6dce"/></dir><dir name="Config"><file name="Protect.php" hash="a9b87d00e3f7a3294046efb7b6ace00e"/></dir><dir name="Protocol"><file name="Api.php" hash="8756084b6e8c4ce3ff7fddfae2cbba8f"/></dir><dir name="Checkout"><file name="Onepage.php" hash="739313c22c4082dca0c640f72c745d79"/><dir name="Onepage"><file name="DebitPayment.php" hash="07bda3094ce9ad4518008a57fb8d0347"/><dir name="Payment"><file name="Methods.php" hash="f52a00f21e196656b3546ed7d647373c"/></dir></dir></dir><dir name="Sales"><file name="Order.php" hash="5f9a27fd6ccfd8f9476924729ba362fb"/><dir name="Order"><file name="Invoice.php" hash="ce15847f18e76b7e1518d7584a82c818"/></dir><dir name="Quote"><file name="Address.php" hash="a978a502b2b5bda43d300b3327ae85f0"/><file name="Payment.php" hash="49864ede5b1ab94fc51a98b4cadc2874"/></dir></dir></dir><dir name="Payment"><dir name="Method"><file name="Abstract.php" hash="9ddf98c48e125d3e515578e45d59b1ed"/><file name="AdvancePayment.php" hash="c165fc2cb0402478db74782a38f89ec5"/><file name="CashOnDelivery.php" hash="247d715b663369c27111ece38dfb7803"/><file name="Creditcard.php" hash="4d778e393876187bd89d1c2c3e326c98"/><file name="DebitPayment.php" hash="98868e4cf9cbda62e7e193f945d3d212"/><file name="Financing.php" hash="fb7c2c1f9b417affd028f4a2ad2e324a"/><file name="Invoice.php" hash="b6dc6fd8189c61f04a440b39d72a2c61"/><file name="OnlineBankTransfer.php" hash="5f6e2a08c6f83534f15b05f95bfceb37"/><file name="SafeInvoice.php" hash="84d93f1ccf6a72134e351a534a2c14fc"/><file name="Wallet.php" hash="009d360a81b7a9527d192e4011df9749"/></dir></dir><dir name="Config"><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 name="Protect"><file name="AddressCheck.php" hash="3637d686c50702120d791b6f5e695569"/><file name="Creditrating.php" hash="ffe6d1d2c95d641535a5027b2afb54cc"/></dir><dir name="Payment"><file name="Method.php" hash="ed7b3106baeebda5954b366ec42556ed"/><dir name="Method"><file name="Interface.php" hash="7dc2731e7a47815d87915182bd0b59e9"/></dir></dir><dir name="General"><file name="Global.php" hash="8dccc2d180777584499d13a0ef028ba0"/><file name="ParameterInvoice.php" hash="6a58ff0f8c126de0decd22b845d02d40"/><file name="ParameterNarrativeText.php" hash="5f0128073807d017a4f3704c5879e36f"/><file name="PaymentCreditcard.php" hash="d055547ad354429c2c4b061353a9f121"/><file name="StatusMapping.php" hash="444346141aafa48049b22418ba65c8fe"/></dir><dir name="Misc"><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 name="Email"><file name="Abstract.php" hash="50f7c3519a70855acb69d255cb0056d6"/><file name="Interface.php" hash="d07157b9ca17401277b35f7aea92a7cc"/></dir></dir></dir><dir name="Repository"><file name="Api.php" hash="215b63473d061699b64fbc698f95a1f7"/><file name="TransactionStatus.php" hash="633e3ea0f01a27374fd8d3b721c064b8"/></dir><dir name="Domain"><file name="Customer.php" hash="fdd681797cc6a3cfb05f0c4a059b034c"/><file name="Transaction.php" hash="32129c443a4218374a20920198dfe73c"/><dir name="Resource"><file name="Customer.php" hash="f1cf269f52b8aee82fab4911908fac99"/><file name="Transaction.php" hash="a05356964069784a9c46b61c9c77c26c"/><dir name="Customer"><file name="Collection.php" hash="f43cdb8f3038d92f60982492948c0535"/></dir><dir name="Config"><file name="PaymentMethod.php" hash="7261f0a45bff60e891cf24820a565670"/><dir name="PaymentMethod"><file name="Collection.php" hash="92fcb0cf48eada524e326942f1dd5c4b"/></dir></dir><dir name="Protocol"><file name="Api.php" hash="bb257184fa77ef1b71f0964168dd78af"/><file name="TransactionStatus.php" hash="d4a202ea0d7ce2afeff4b3da4f18a237"/><dir name="TransactionStatus"><file name="Collection.php" hash="884176fcb71b1a76d2b094bb70644c5e"/></dir><dir name="Api"><file name="Collection.php" hash="2ce71ea52eb4aa11fbc546001ed22fc8"/></dir></dir><dir name="Transaction"><file name="Collection.php" hash="f3dd454961a551357eb95b73912c411c"/></dir></dir><dir name="Config"><file name="PaymentMethod.php" hash="35977e41b9c2588e56d278da9ef99273"/></dir><dir name="Protocol"><file name="Api.php" hash="70d1c4920f0637e28ec95cf8b9ca1bdb"/><file name="TransactionStatus.php" hash="681a1936ddbf0b519d6b97ded83d4a1a"/></dir></dir><dir name="System"><dir name="Config"><file name="Abstract.php" hash="3a0050936a4c51a407acca82d5290b99"/><file name="AddressCheckType.php" hash="11f0297e62f8aa723051bef05b1a1024"/><file name="AuthorizeMethod.php" hash="ab01882f7e8b685bf65c9c2cf630f8dd"/><file name="AuthorizeMethodFinancing.php" hash="4176d6fa53e5d7dc9c3e2f2cc6996450"/><file name="AvsResult.php" hash="b1e3ca79a77286e1e705501a33c13855"/><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="CurrencyUsage.php" hash="b4884c120331479be761f61841782a8c"/><file name="FinancingType.php" hash="3ea24f49efc63b5ee37644dfd8a3c5c6"/><file name="HandleResponseError.php" hash="6c92277e38f8256f6fe7b6696107fdd2"/><file name="KlarnaCountry.php" hash="49e1a250427eb1a66da63901e47bb3e5"/><file name="MethodType.php" hash="a2bb15d6a43746cc1c87a9ee252d87ef"/><file name="Mode.php" hash="f4b7f10abd52f5b5d23873e159e4fc23"/><file name="OnlinebanktransferType.php" hash="804bf6bd18c9903519e48072ab33d1da"/><file name="OrderStatus.php" hash="929fde9dd5ed62286fdb0c3292d1544a"/><file name="PaymentMethodCode.php" hash="be2c8473e58dea95fbf7e9ffe5aac06a"/><file name="PaymentMethodType.php" hash="1da77ef4656e965fd12f2ae8fc853c53"/><file name="PersonStatus.php" hash="8d909a2f468207880d3b431dbfbfdef8"/><file name="ReminderLevel.php" hash="cac22bfaece3ccca9a51adc59efdf44b"/><file name="RequestType.php" hash="f43e32fd32329193252190746f0a8571"/><file name="ResponseType.php" hash="d6a64bbe4ea58d2126ff8d7f76795bcf"/><file name="SafeInvoiceType.php" hash="e33c155d6eb7b8b05bb2eef81c492bd4"/><file name="SepaCountry.php" hash="1d53612b26e8cc6e90f6ae8903dae50d"/><file name="Status.php" hash="2612834bc2a1ed7c43a2cc3342adf63d"/><file name="StatusTransaction.php" hash="53271af6dbe8195a8fa1e12a79a56c68"/><file name="TransactionStatus.php" hash="8c1f59103ba441a3bddbf454bc4c3129"/><file name="WalletType.php" hash="c49c188f400e808a58348716a9fa421e"/><dir name="Backend"><file name="Protect.php" hash="65562d422ca71b7bac0e0157a12b7ac2"/></dir></dir></dir><dir name="Sales"><dir name="Quote"><file name="Address.php" hash="61dcd092801b9f88e0627c6d69343eeb"/><dir name="Address"><dir name="Total"><file name="Fee.php" hash="3bac7e6e8f51348c8b4c55d419b4b1f5"/></dir></dir></dir></dir></dir><dir name="controllers"><file name="TransactionStatusController.php" hash="f6660bc654ef08ccb3adcd58dfda0596"/><dir name="Adminhtml"><file name="InformationController.php" hash="4fbe3552aff0415f9e6e6574c7dfc080"/><file name="TransactionController.php" hash="59e0e04c5ef04e28a3b781a1c2c3b412"/><dir name="Protocol"><file name="ApiController.php" hash="1af6ef54bfb5a870f482895c0fc5f769"/><file name="TransactionStatusController.php" hash="97a5933efe3633ce5c370c1e67eaa37d"/></dir><dir name="Configuration"><file name="WizardController.php" hash="cfc6b411102e225a48935cee6e0c7576"/><dir name="Wizard"><file name="PageController.php" hash="a6565671b73edb8b30b27e325b3ee6c0"/><dir name="Page"><file name="PaymentController.php" hash="836c77b7dcc77cae37ae101ad28b2169"/></dir></dir></dir><dir name="System"><file name="ConfigurationController.php" hash="0cd99975387d248d9583d6804c3c5a4c"/><dir name="Config"><file name="PaymentController.php" hash="47bda106aafbcbbc8a04a1da28ce136e"/></dir></dir><dir name="Sales"><file name="OrderController.php" hash="ac4a0fe89896111ea5dfff2ae01f0e90"/><dir name="Order"><file name="InvoiceController.php" hash="16c96795a7e9c8dd546c4c69a5568987"/></dir></dir></dir><dir name="Checkout"><file name="OnepageController.php" hash="5c206fbba8832d67269f480facca40a0"/><dir name="Onepage"><file name="PaymentController.php" hash="696a5f987608c65fada4849081c0576f"/><file name="SuccessController.php" hash="1de90543c4a4fda2ad63841a5b3a5c5b"/></dir></dir></dir><dir name="Controller"><file name="Abstract.php" hash="e896d0e966ebb3123c047760fff8c17a"/><dir name="Adminhtml"><file name="Abstract.php" hash="fc530c509c8377d4b401b0ad4144ac62"/><dir name="Configuration"><dir name="Wizard"><file name="Abstract.php" hash="bdfe26c77fbfb08d5eed508b3707129b"/></dir></dir></dir></dir><dir name="Helper"><file name="Abstract.php" hash="614b70f3acf925a3b544e91e5a0085d3"/><file name="Compatibility.php" hash="40ec8b9e8f5bff66181d9d257d7f6a0e"/><file name="Config.php" hash="8672eb13e5051e0f1aefeb714b75f419"/><file name="Data.php" hash="b2886731b945327dcdcf65c1aa860902"/><file name="Email.php" hash="395561eb7a6c319055270706e6d32226"/><file name="Registry.php" hash="da6aee13a620bd78e6aa12e1a1700bfc"/><file name="Score.php" hash="bed6e4c0d668ebbb83ea99235728a063"/><file name="Url.php" hash="9ce4dc25c5920247c9b85cccf450ec0e"/><file name="Wizard.php" hash="70b6882f848c703ff0fc26d62dcb376b"/><dir name="Sales"><file name="Button.php" hash="f9752550b0ba4559a78631ea7240dbfa"/></dir></dir></dir><dir name="Migrator"><dir name="etc"><file name="config.xml" hash="9fb5870a66cfe557beba5b9780fcdff5"/></dir><dir name="Model"><file name="Factory.php" hash="614bc12c240bd0c917fdc090c8018ccc"/><dir name="Service"><file name="Abstract.php" hash="2208fd00d748f4e42470c57a90fad2a2"/><file name="Migrate.php" hash="07b0deb7c09a313a2b337b684c76f9da"/><dir name="Configuration"><file name="GeneralMigrate.php" hash="044e996b5f7243086d66d85444bef05c"/><file name="PaymentMigrate.php" hash="0d65e45786eac7a4d36d00fbac7d1188"/><file name="ProtectMigrate.php" hash="1289918e3fb0f87dec2c4d3cd76ad77c"/></dir><dir name="Sales"><file name="PaymentMigrate.php" hash="b0cb16acd822816b82009b5f648eb4f6"/></dir></dir><dir name="Mapper"><file name="Abstract.php" hash="a784a82feaf6120184bc5e53331bd519"/><dir name="Config"><file name="General.php" hash="e24eb1f80ab89b37da5bfe333e34ed05"/><file name="Payment.php" hash="37dd103a0f2ff3493a93c3ec03474671"/><file name="Protect.php" hash="7192a4e8e1789401dbb69dc4c1891ed3"/></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="MigrationController.php" hash="7d9f458c55ee1fe5232c6d7136d86551"/><dir name="Wizard"><file name="MigrationController.php" hash="578c2b786ec293a24bce53806f16c102"/></dir></dir></dir><dir name="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><dir name="Licensemanager"><dir name="etc"><file name="config.xml" hash="cfd32477c9a8b04abc011358d730c835"/></dir><dir name="Block"><dir name="Adminhtml"><dir name="Notification"><file name="Toolbar.php" hash="1541b50b2dd5b30d607706083e27b553"/><file name="Window.php" hash="3eac23541a377348c46beeaee75aa0bf"/></dir></dir></dir><dir name="Model"><file name="Observer.php" hash="944b1efc0f9a92473a5b0da0b03d5e80"/></dir><dir name="controllers"><file name="ActiveController.php" hash="70c33ad2159aa89535693ba441276444"/><dir name="Adminhtml"><file name="TestController.php" hash="f3de560bf4a3c3916d46b942f791eb8e"/></dir></dir><dir name="Helper"><file name="Data.php" hash="806cbd7cb3002984015373b728f04fd0"/></dir></dir></dir></dir></dir><dir name="design"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="payone"><dir name="licensemanager"><file name="toolbar.phtml" hash="d26c581014a5e81fe20998e78d6c4cfb"/><file name="window.phtml" hash="12d097e099fb1c7e035dfd4cf27bc364"/></dir><dir name="migrator"><dir name="migration"><file name="index.phtml" hash="e61197db7ef214108863c79ddeb9815b"/></dir></dir><dir name="core"><file name="client_api.phtml" hash="82d735b2326311446896dc12b826d6a5"/><file name="iframe.phtml" hash="9f74308e8b43cad2b15748b9f8368559"/><dir name="information"><file name="iframe.phtml" hash="c4e39d236151492940e32a0563a6a4b8"/></dir><dir name="configuration"><dir name="wizard"><file name="iframe.phtml" hash="186c008f6b31f8276a84aeb7d3c404e4"/><file name="index.phtml" hash="2deddd95d55920eff1ccc96959857b75"/><dir name="page"><file name="finish.phtml" hash="956ddfbe0e9971e647735fe4a45abf0e"/><file name="index.phtml" hash="66e73112887b5c1028fac21d5ce97c71"/><file name="store_switcher.phtml" hash="6871e556b2872ba357ea95be0c543a6a"/><dir name="view"><file name="container.phtml" hash="042d56bf10158e1944c48f788f48121e"/></dir><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></dir></dir><dir name="transaction"><dir name="view"><file name="plane.phtml" hash="8f4c2ef7fecfab8eb02d12b35e862b5e"/><dir name="tab"><file name="general.phtml" hash="68caff5aa8efad5e37378e9c7b739842"/></dir></dir></dir><dir name="protocol"><dir name="api"><dir name="view"><file name="plane.phtml" hash="fcfcb586c7c92606a6c309489c878d53"/><dir name="tab"><file name="exception.phtml" hash="54d0c77b153ff41fa10391b3177fc96a"/><file name="general.phtml" hash="8d4ad5cd56d33fd7fdcf0b4ff7bc0cc9"/></dir></dir></dir><dir name="transactionstatus"><dir name="view"><file name="plane.phtml" hash="7d19a22206a2384f5972a313017e4589"/><dir name="tab"><file name="general.phtml" hash="fd318ab622c4aa2c0554d7ce81843361"/></dir></dir></dir></dir><dir name="payment"><dir name="method"><dir name="form"><file name="advancepayment.phtml" hash="ccba1332be108f51e27afaf713805dfe"/><file name="cashondelivery.phtml" hash="ad4e7185825b32b69ca06083c03c7a46"/><file name="creditcard.phtml" hash="6988cb1c2f870a93c93491776f2a6e84"/><file name="debitpayment.phtml" hash="0f260a75d9948f707b03c5e1bd3960b6"/><file name="invoice.phtml" hash="b0548563fdacc3cb1757a838d2c03158"/></dir><dir name="info"><file name="advancepayment.phtml" hash="74b458367e5712c859d800b933ed95ff"/><file name="cashondelivery.phtml" hash="91f410d394f3040641468425d39a537c"/><file name="creditcard.phtml" hash="c89761dabea8e6c31b8f400586619f21"/><file name="debitpayment.phtml" hash="d6064c3b4ac949d3cd13d50da428fd75"/><file name="financing.phtml" hash="8719ffe34094d2f0ce884cb9d8ebc04a"/><file name="invoice.phtml" hash="64001ffc31c0eafb832c03edd285fc5d"/><file name="onlinebanktransfer.phtml" hash="c9a2962511e29aa68999a41f5787340f"/><file name="safe_invoice.phtml" hash="8db49727920c0bd0f8ec98d168b8803e"/><file name="wallet.phtml" hash="bd71ab9ff89f2cfa590307c9e29e0ead"/></dir><dir name="pdf"><file name="safe_invoice.phtml" hash="667afd9640f1c34c1116c1939951e8d5"/></dir></dir></dir><dir name="system"><dir name="config"><file name="tooltip.phtml" hash="15f2dc92646a8d8533c7f1c1d0bb10b0"/><dir name="hint"><file name="payment.phtml" hash="4b4466ca1692e274d6e5fb7987f08118"/><file name="payment_reference.phtml" hash="2497578443d7d0455e7d75e1000aed32"/><file name="protect.phtml" hash="a74b775620a7f04c9270fc2be84d8663"/></dir><dir name="form"><file name="iframe.phtml" hash="67366b7e745ab1a2a1f359360df88e07"/><dir name="field"><file name="array.phtml" hash="1aee5fb9b33232708fe242601e4de701"/></dir></dir><dir name="payment"><dir name="grid"><file name="container.phtml" hash="952f87bb71dfd75d126e3196f863dba6"/></dir></dir><dir name="tooltip"><file name="window.phtml" hash="b7de8be932ff20ab238c8882f50e4801"/><dir name="misc"><file name="creditmemo.phtml" hash="c8cd996ead752e92c2d846be336f87e7"/><file name="discount.phtml" hash="d7d0199dd43b147cb0de1c153da84b76"/><file name="email_avs.phtml" hash="9a3814369fdaf6c50ec982e492a9e6e0"/><file name="email_error.phtml" hash="ad1332058c196e799a4e6491b541edea"/><file name="shipping_costs.phtml" hash="2f454c80f83d8751ac03fa47fa577920"/><file name="transaction_status_forwarding.phtml" hash="2f38a7934acdc8690fe3e4bb2a11c716"/><file name="transactionstatus_forwarding.phtml" hash="d51ede956575e0ec46fa01278d3bf6ed"/><file name="transactionstatus_processing.phtml" hash="c50425a16765bdfeab57c50fc92652de"/></dir><dir name="payment"><file name="creditcard.phtml" hash="97b7354aab2ba7b3819454f9d61b02fb"/><file name="debit_payment.phtml" hash="ab78f96997475fbd2a479dbaea433c23"/><file name="financing.phtml" hash="b86925660a1ae2f8d538435a54287d40"/><file name="method.phtml" hash="b73fd750132f0fe30a79e0188b6f0ce6"/><file name="online_bank_transfer.phtml" hash="b375b82162e8b98c5b662206d40e050a"/><file name="safe_invoice.phtml" hash="7087e169885c5193653a5b141a22d3c4"/><file name="wallet.phtml" hash="f79baa38b5b23a55e2f890a1862b8d56"/></dir><dir name="protect"><file name="addresscheck.phtml" hash="c7c1dff4417ebfdf3ac52d3713adc947"/><file name="addresscheck_type.phtml" hash="ecad494863d2f38c5b7f66705af621f0"/><file name="creditrating.phtml" hash="c5ce65e9bea965ca34264a8e585f2c8b"/><file name="creditrating_agreement_message.phtml" hash="a664e5c7a1383b75e6c1f89d9ac6aa94"/><file name="creditrating_lifetime.phtml" hash="7ee1a92e923f8c5d52284d280ac333f2"/><file name="creditrating_type.phtml" hash="eae6bcb8c942f80d9f86b98e6f94e461"/></dir><dir name="general"><file name="global.phtml" hash="bf390501c5f46d49e19fbad1198e41b9"/><file name="narrative_text.phtml" hash="39a12ae97238f3789ca5fb6a84fb2f8d"/><file name="parameter_invoice.phtml" hash="b8c23adab22eb1a571b4faebbabf8699"/><file name="payment_creditcard.phtml" hash="62c33af2d3ce3ac15674547f76865ed6"/><file name="status_mapping.phtml" hash="918d84d9874bba0e31f814b0f4afa8fb"/></dir></dir></dir></dir><dir name="widget"><dir name="view"><file name="container.phtml" hash="b750b77783092c218e3326734681c2f2"/></dir><dir name="form"><file name="container.phtml" hash="2ed5809647722a4a4358a89732100029"/></dir></dir><dir name="sales"><dir name="order"><dir name="view"><dir name="tab"><file name="transaction.phtml" hash="4af63c9829a7bd466eafc54ae9dd889a"/></dir></dir><dir name="create"><file name="init.phtml" hash="468a133c8dff06c7292b6e7d4de8068f"/></dir></dir></dir></dir></dir></dir><dir name="layout"><dir name="payone"><file name="configuration.xml" hash="e27c94d22f89de34b111eb755ded3d0e"/><file name="core.xml" hash="4c2937ab9409c8cdaf0833f064288f05"/><file name="licensemanager.xml" hash="709dccc8694f15e29277243d99b40441"/><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"><file name="client_api.phtml" hash="1ec0b009b38dc06caa21467c3f4ffb71"/><dir name="checkout"><file name="protect.phtml" hash="f99ba7707392621d73df931a3821d691"/><dir name="onepage"><file name="init.phtml" hash="5c0c3bf8d37efdbf537b5384bc34398e"/><dir name="success"><file name="sepamandatepdflink.phtml" hash="79198bd920f3ad9093a7ecfa6da65718"/></dir><dir name="review"><file name="sepamandate.phtml" hash="0b063330ec99a140acc5c2ddf90e80c5"/></dir><dir name="payment"><file name="additional.phtml" hash="3882f895bd113afc428393a71f5d7ccf"/></dir></dir></dir><dir name="payment"><dir name="method"><dir name="form"><file name="advancepayment.phtml" hash="53be7d1aebc234604157aa7e6dc47795"/><file name="cashondelivery.phtml" hash="0cad47103bbd341208e6252bd8fe47d1"/><file name="creditcard.phtml" hash="be08e9f0c9586de5ac61b916d95b4904"/><file name="debitpayment.phtml" hash="41845416e7669d2bba8707bfd950b192"/><file name="financing.phtml" hash="300380c002a7df80336792273676a50c"/><file name="invoice.phtml" hash="64ec86d5cdd348a80a43a713abc1f0af"/><file name="onlinebanktransfer.phtml" hash="a9614deb6f221ea3b88013cc85b51b9d"/><file name="safe_invoice.phtml" hash="34ac7632459b1062ceb63e256a69ae6d"/><file name="wallet.phtml" hash="32fe1f2fc914b2c11b8c3506d03e0890"/><dir name="onlinebanktransfer"><file name="bankgroup.phtml" hash="489d1ed76bfddf13680873277f114605"/></dir><dir name="safe_invoice"><file name="klarna.phtml" hash="8f18e6818c2f4d1cd0a80a9e951ad754"/><dir name="klarna"><file name="scripts.phtml" hash="c86c08b139497ae4619ac163333a4c51"/></dir></dir><dir name="financing"><file name="klarna.phtml" hash="7b15ed9ec043a973e132a382d6f85366"/></dir></dir><dir name="info"><file name="advancepayment.phtml" hash="611af85c9ae80aa9c702b34fc0724e79"/><file name="cashondelivery.phtml" hash="5f369ef06729584e8bf094700877386d"/><file name="creditcard.phtml" hash="dc5ecc29deed279f93928e307c6d1ba2"/><file name="debitpayment.phtml" hash="62b9c771fc1a45d376e990bb9d3c9bd2"/><file name="financing.phtml" hash="25fec413f14104d9d589a88931a87443"/><file name="invoice.phtml" hash="64179e611f39b4b7e68cd367aecb0931"/><file name="onlinebanktransfer.phtml" hash="8480970cb94182a8e59069a5b2a6b044"/><file name="safe_invoice.phtml" hash="7195fccdfde46f248cff5dcca6e55db8"/><file name="wallet.phtml" hash="099fd47c84a62ad9510a47a24345d317"/></dir></dir></dir></dir></dir></dir><dir name="layout"><dir name="payone"><file name="core.xml" hash="773966e328709591d8b0cc3c5e6cc927"/></dir></dir></dir></dir></dir></dir></dir></target></contents></package>
1
  <?xml version="1.0"?>
2
+ <package><name>Mage_Payone</name><version>3.3.3</version><stability>stable</stability><license>Open Software License (OSL)</license><channel>community</channel><extends></extends><summary>PAYONE FinanceGate payment gateway for all german online and offline payment methods including PayPal, all major Credit Cards and Maestro.</summary><description>The extension provides PAYONE FinanceGate payment integration which enables payment proccessing through an existing PAYONE merchant account. No user accounts for your customers needed!&amp;#xD;
3
  &amp;#xD;
4
  The extension supports the following payment types:&amp;#xD;
5
  - Credit Card (Visa, MasterCard, American Express, Diners Club, JCB)&amp;#xD;
21
  &amp;#xD;
22
  With FinanceGate Business even account receivable management, dunning and debt collection can be done by FinanceGate automatically.&amp;#xD;
23
  &amp;#xD;
24
+ Notice: Remember this extension is still beta. We recommend to test all transaction types in your application carefully before going live.</description><notes>Mage_Payone-3.2.0</notes><authors><author><name>PAYONE</name><user>jgerle</user><email>tech.support@payone.de</email></author><author><name>VOTUM</name><user>votum</user><email>info@votum.de</email></author><author><name>Edward Mateja</name><user>emateja</user><email>edward.mateja@votum.de</email></author></authors><date>2015-04-20</date><time>2:30:14</time><compatible></compatible><dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies><contents><target name="mage"><dir name="lib"><dir name="Payone"><file name="Autoload.php" hash="56707f5883c217f5cf2fd54d6a3d86f3"/><file name="Bootstrap.php" hash="7287b7485c6df7a0d9ce31537fe6534b"/><file name="Builder.php" hash="a5f8720bb0c2760511626804b5eb027f"/><file name="Config.php" hash="826ca1aa4b6ccac52972aa257c53cb25"/><dir name="Log4php"><file name="Logger.php" hash="fddde1cc9bdcca7521419c6420da19bb"/><file name="LoggerAppender.php" hash="b2424ba907d62c68f079529dba54feae"/><file name="LoggerAppenderConsole.php" hash="f2208d2f2f2fe4408be85e3008372f5a"/><file name="LoggerAppenderDailyFile.php" hash="bb4cfca31c83a613efef8d0b08a00bfa"/><file name="LoggerAppenderEcho.php" hash="e56cf56319d463a6047202bf053bddc5"/><file name="LoggerAppenderFile.php" hash="c4024ee55ceb5eeb2c46ab21a6ff20d8"/><file name="LoggerAppenderMail.php" hash="ad0a7e196d14d27545eaa3452c3ecaae"/><file name="LoggerAppenderMailEvent.php" hash="ea556db2d8b74637f02b1da7846a4349"/><file name="LoggerAppenderMongoDB.php" hash="ccfb66a44a273375ed5d6eab6042db7b"/><file name="LoggerAppenderNull.php" hash="248d6eeed9b84b959c4ae82c0d6daaba"/><file name="LoggerAppenderPDO.php" hash="356490ffaaad56675db83322d53b5c73"/><file name="LoggerAppenderPhp.php" hash="8a7d58987d7905e92d1f268c604087d9"/><file name="LoggerAppenderPool.php" hash="9b0d55088306772bd34c00b1ac440bf4"/><file name="LoggerAppenderRollingFile.php" hash="b705522052e8c359877e2ba271744790"/><file name="LoggerAppenderSocket.php" hash="f9bdaf50bb8978fe41098320a7e5246d"/><file name="LoggerAppenderSyslog.php" hash="27574b740b0d5312396159d8d7e12e63"/><file name="LoggerAutoloader.php" hash="a0b75450405b5febb023005265d4818e"/><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="712f07e7f3616570770b1a7673dcffa2"/><file name="LoggerConfiguratorDefault.php" hash="e01b6a93b7c4bff6b4cc82b7bda3c257"/><file name="LoggerException.php" hash="07fb71118915292280c330ca3e685c1c"/><file name="LoggerFilter.php" hash="ec564b521fe88298fe33b2dcf6005676"/><file name="LoggerFilterDenyAll.php" hash="53c74073fdf43bd7636608541866c119"/><file name="LoggerFilterLevelMatch.php" hash="60ee4c3c71a3b9144162169213a80617"/><file name="LoggerFilterLevelRange.php" hash="47dc7ccc561775c3e6e3c8532eea2171"/><file name="LoggerFilterStringMatch.php" hash="a042f17a4c84a39a82686aaa64d379f9"/><file name="LoggerFormattingInfo.php" hash="d57affba3a4f3f97970dfe40fa86d52d"/><file name="LoggerHierarchy.php" hash="a270105e860c20c909587e6b49e8f8b5"/><file name="LoggerLayout.php" hash="30d28c7bc9c0ea76fb049443f484b882"/><file name="LoggerLayoutHtml.php" hash="b620a59d84919ba7967d2719245f1f86"/><file name="LoggerLayoutPattern.php" hash="bf3b331de61b6ff8f0a732f04e1d6c23"/><file name="LoggerLayoutSerialized.php" hash="00a06131613a91c7c7ee6a5ba3947435"/><file name="LoggerLayoutSimple.php" hash="dcb84998b3330fb3a22ebd945ce0cd5f"/><file name="LoggerLayoutTTCC.php" hash="e368135278a1fca6b2e504ffc6111d3f"/><file name="LoggerLayoutXml.php" hash="c49e0fa7239c3bfd074f227e9b1acdd6"/><file name="LoggerLevel.php" hash="36a8d511ee74cb1c7c2aabcbe8b498e8"/><file name="LoggerLocationInfo.php" hash="188d3351daa27320359bec0302acc9aa"/><file name="LoggerLoggingEvent.php" hash="9ddc530baeef4bbd31ff53d364984107"/><file name="LoggerMDC.php" hash="779ebb5f26440b8d7dd6951ba38ea656"/><file name="LoggerNDC.php" hash="ec7fa35d571fa5cb53a4e91ddbe9ab22"/><file name="LoggerOptionConverter.php" hash="1c71069d10b3b8fa059746314f27db81"/><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="a1ae906f01046609c2ff2ba8a5e4f867"/><file name="LoggerReflectionUtils.php" hash="8416f23b1cf8b0b05f311bb5be3da682"/><file name="LoggerRendererDefault.php" hash="443469d3bd64cd82b1c07f279c358eb6"/><file name="LoggerRendererException.php" hash="bd3aab85ee3c9753277a8eb4b49e83d9"/><file name="LoggerRendererMap.php" hash="e253ff2dec83beff52ab329cc83d93a0"/><file name="LoggerRendererObject.php" hash="0fa3070986bc410792a43628c51daa7d"/><file name="LoggerRoot.php" hash="1c46358d43e0671cc2a7dcc3101a6e7f"/><file name="LoggerThrowableInformation.php" hash="fb6aada7a39faba0d6a3b0ce6c284321"/><file name="LoggerUtils.php" hash="400c7578fb86bc02f9153da5d982576c"/><dir name="xml"><file name="log4php.dtd" hash="81fddcc2738a2ea91ad88de4644c947a"/></dir></dir><dir name="Enum"><file name="ClearingType.php" hash="1877487ad4c5253ce466657255f6fe2b"/><file name="Mode.php" hash="fc06f871f7260eb219f1a70c035a4643"/><file name="Reminderlevel.php" hash="56155ec0e4a65d721c35b376c1619fe0"/></dir><dir name="SessionStatus"><file name="Config.php" hash="6d334a0289e62ff4dc733bd0921487c5"/><file name="Factory.php" hash="cb54b2d7bc0796482d757b9a0ab1d799"/><file name="Request.php" hash="1b983280cfddd2457c305179f1c53727"/><file name="Response.php" hash="9ccca133335feee635fdd0ca780c0620"/><dir name="Response"><file name="Abstract.php" hash="fee8d73aef2eb2256ebb05ed17d0a82f"/><file name="Interface.php" hash="a5ff6298e316d6e66bef5778896cb370"/></dir><dir name="Persistence"><file name="Interface.php" hash="7a0b0478154cdb2a878c7db2527ae5eb"/></dir><dir name="Enum"><file name="Action.php" hash="7eb0ffda19e436cd48f41a3ea89c248f"/></dir><dir name="Service"><file name="HandleRequest.php" hash="4f86ccfa7ab1e7f87c10636920a1f13e"/><file name="ProtocolRequest.php" hash="7199c23af5e24f8330ccf45a1b771be4"/><dir name="ProtocolRequest"><file name="Interface.php" hash="fb885835634e3b0f2590a0d5e99c8115"/></dir></dir><dir name="Mapper"><file name="Request.php" hash="134124f1325df30d07d89c31ab995547"/><file name="RequestInterface.php" hash="cdd99d6c58cf4b05f864c3a369a01752"/></dir><dir name="Request"><file name="Abstract.php" hash="d72876194302d694c10768fe00361bc0"/><file name="Interface.php" hash="35c176b9c92f34678e2ab5beca41dbac"/><file name="Item.php" hash="0ea4383aa48bd44492a39af695a33053"/><dir name="Item"><file name="Abstract.php" hash="10a1d89a7adeda8536fd3b6c1e0c2e6c"/><file name="Interface.php" hash="8290c4e00daa898dc4a84700e74bd9b3"/></dir></dir><dir name="Exception"><file name="Abstract.php" hash="e35bfb41c7228620143dd6c9d9e86121"/><file name="MissmatchingKeys.php" hash="734a2167efbc6bfbaa9829a377c4c7cd"/><file name="NoPostRequest.php" hash="f2e07cebe97b9275a287e66d27258ee6"/><file name="NoRequestData.php" hash="a3148abb91560cbafddee466686abbe5"/><file name="Validation.php" hash="c127e48496a51b149359a62839544a55"/></dir><dir name="Validator"><file name="Abstract.php" hash="e4ac1dedef2f8673172fe97fe7e63059"/><file name="DefaultParameters.php" hash="3e8e5aba4908963c2a39afd1f18d4367"/><file name="Interface.php" hash="5d348843ead07b105338d065c4326d7c"/><file name="Ip.php" hash="0c0c94d438927da3da5c979a1c537fa2"/></dir></dir><dir name="TransactionStatus"><file name="Config.php" hash="30a54bc4e88eadc7ec027cd485fdb0ee"/><file name="Factory.php" hash="3caccda2074acae7f1a6771851fe7ecd"/><file name="Request.php" hash="3dd9c60acceb49bfef505afd5eee1a96"/><file name="Response.php" hash="30e355b348b7fd48fea3accf18cce097"/><dir name="Response"><file name="Abstract.php" hash="706ea8218bd41f4c05bb06cb7f1755db"/><file name="Interface.php" hash="a34045aa333c842e554847492f289d8b"/></dir><dir name="Persistence"><file name="Interface.php" hash="2df04eff13f76ae9931b9b0fc906b61e"/></dir><dir name="Enum"><file name="Failedcause.php" hash="117498c6d47f339ab9b9cd99f5463713"/><file name="Txaction.php" hash="456c892d4004efa52f2ec4ef4e43709f"/></dir><dir name="Service"><file name="HandleRequest.php" hash="e022e91df959f32923cb315645bcfa95"/><file name="ProtocolRequest.php" hash="9042686a7acdfcd2a7ddda89b7c650a8"/><dir name="ProtocolRequest"><file name="Interface.php" hash="167d45bbee2208242808800fd07e288e"/></dir></dir><dir name="Mapper"><file name="Request.php" hash="8f32a412e6ff5aee9687adcf276c90d6"/><file name="RequestInterface.php" hash="0da0be95a86d17301adcd2978752321a"/></dir><dir name="Request"><file name="Abstract.php" hash="6d59526e5c3cef44d3d9048e12d8cfa5"/><file name="Interface.php" hash="40f697d1de9b8a9e8a40003b7e766151"/></dir><dir name="Exception"><file name="Abstract.php" hash="632395a010faf55bb0a7f7b4e0a13de5"/><file name="MissmatchingKeys.php" hash="97ac63f21e2fcded47d5f84c1288f76a"/><file name="NoPostRequest.php" hash="24f51d9128d9f39a5eea73a4c2c45e2f"/><file name="NoRequestData.php" hash="7531903cb3ecbfcfe94ed0a8344d6c38"/><file name="Validation.php" hash="9422a5f6adde1c92cd402bdfc42aab5c"/></dir><dir name="Validator"><file name="Abstract.php" hash="aa1bee35692eb6a95e1c46ea671264dc"/><file name="DefaultParameters.php" hash="655f08e7da277673a62bea4364ad789c"/><file name="Interface.php" hash="16cb84d2eef9bd2aac89a1368a148ee4"/><file name="Ip.php" hash="8e29ede7e0217a05ce4522f1ee0622bd"/></dir></dir><dir name="Settings"><file name="Factory.php" hash="49c3a3f962dacfceda808cd029d39385"/><dir name="Service"><file name="XmlGenerate.php" hash="c4641438d959cc081694d4267407a184"/><file name="XmlParse.php" hash="1c7eb375b49fb2269d95492e3b62f022"/></dir><dir name="Data"><dir name="ConfigFile"><file name="Abstract.php" hash="be0f0346b0aa15c497f0081b0b6155a9"/><file name="Collection.php" hash="a7263f8efc3a1a079bcf12e176dc9ac2"/><file name="Interface.php" hash="1fe7136e991f3619f6e5a73e2d70a9e1"/><file name="Root.php" hash="9d4d579eb0b7d2bfa4f9d3bfd876fad8"/><file name="Shop.php" hash="7e291a39ffdeb1072772d88ba94d4e28"/><dir name="Global"><file name="StatusMapping.php" hash="3279b2f48bdac717ddf721d9ed5a2b03"/></dir><dir name="Protect"><file name="Addresscheck.php" hash="31afb2d81cebbfbce44e607f58060f79"/><file name="Consumerscore.php" hash="98452e35ecdd74e682d47a1d08e31575"/></dir><dir name="Shop"><file name="ClearingTypes.php" hash="2653246018e2cb62ba1a7a2ebeda0acf"/><file name="Global.php" hash="ee9cc234afcd67f1479bd86642fadea3"/><file name="Misc.php" hash="3392d70def6b9982e8ee96355e4a41e0"/><file name="Protect.php" hash="f18ca572c638b36c947cdc0fad0f7c71"/><file name="System.php" hash="d4d60ab9e103ec5746ff2b707c145a6f"/></dir><dir name="PaymentMethod"><file name="Abstract.php" hash="9eb23c7e797e68ca04bc04b5beb81012"/><file name="AdvancePayment.php" hash="5d939d5bd4d01999b812ec301d9056d2"/><file name="CashOnDelivery.php" hash="30871b68d6548d36da2730a3ab4ab2e8"/><file name="Creditcard.php" hash="82eef73b281c81aa07acd1457b89a777"/><file name="DebitPayment.php" hash="a196e908c35a4feca64ba1fc0133d1fb"/><file name="Financing.php" hash="ccf3303c1f3d7f719989d2b2af1b2d53"/><file name="Invoice.php" hash="0a648fea43888179f5a90b5aa356acca"/><file name="OnlineBankTransfer.php" hash="ec60c2dbe9113ec7473da98daf56d38f"/><file name="Wallet.php" hash="f540d8dbe35ae31cae52f11c33b9592f"/></dir><dir name="Misc"><file name="TransactionstatusForwarding.php" hash="9fdf0331c563cdfd64976164f07169f9"/></dir></dir></dir><dir name="Configuration"><file name="Abstract.php" hash="f15afcda690a5207944202f37e3c8e4b"/><file name="Mode.php" hash="a2ab66af34d2e20c3ce7fe8dcbb8603d"/><file name="PaymentMethod.php" hash="f91a6cb847afe46e7419058005aac27f"/><file name="Reminderlevel.php" hash="571623cdf2e9e9870b92ad45c6756f46"/><dir name="TransactionStatus"><file name="Action.php" hash="72213ba2746ec3b7e4e4b7a87bc35968"/></dir><dir name="Api"><file name="RequestType.php" hash="09bd4b26418c492924f8d5ac5223ef40"/><file name="ResponseType.php" hash="48dd933cb3fa752551327516e30d991d"/></dir><dir name="Verification"><file name="AddressCheck.php" hash="5dc1acc18bea2223022073a939011c2d"/><file name="AvsResult.php" hash="3e6c8c0f4d79bf174c57f7c566a0c9c7"/><file name="BankaccountCheck.php" hash="8546a79bae6184fd40fcb43aee102e18"/><file name="Consumerscore.php" hash="14b516aeae796212aa6f44476f6a8cb0"/><file name="Personstatus.php" hash="7554fe19329245980db3e492b7faae93"/></dir><dir name="PaymentMethod"><file name="CreditCard.php" hash="fc08438200314b07c4e128917c1a634c"/><file name="Financing.php" hash="a530a06d26a99912b3e0748fc67810ed"/><file name="OnlineBankTransfer.php" hash="df445f5f9f909fec6a3d2685e8f956c4"/><file name="Wallet.php" hash="7db782973c76541f73d35c60276c3eaa"/></dir></dir></dir><dir name="Api"><file name="Config.php" hash="004c459ae31c87ba73419148bb236f09"/><file name="Factory.php" hash="d5b3aab8ad2f77303213e7d5e3a4b8a2"/><dir name="Response"><file name="Abstract.php" hash="6747283465eb23bea7ef0b6f4cb81df1"/><file name="Error.php" hash="5b244a184285b0b155fdda18a0a5f4e9"/><file name="Interface.php" hash="4b0c18516850283078423ae02db27665"/><file name="Invalid.php" hash="2e70169805114abc447cbc54e12dfe7d"/><dir name="CreditCardCheck"><file name="Invalid.php" hash="1360c4a19989b39c221637f549cf6dcf"/><file name="Valid.php" hash="4b2cd6a3d7002af64e9b2fdd25e2d666"/></dir><dir name="Management"><file name="GetFile.php" hash="2a71fc77a2e4c5ead30c73f900708642"/><file name="GetInvoice.php" hash="4561a181783547f3f62f51dc8e6cc161"/><dir name="UpdateAccess"><file name="Ok.php" hash="8da6117cadf1db521221efc9bd123da9"/></dir><dir name="ManageMandate"><file name="Approved.php" hash="296bf34a77bd42a56b4f83ed3a77e03a"/></dir></dir><dir name="Refund"><file name="Approved.php" hash="98ae8425ae0497b66a131eeaa86bd318"/></dir><dir name="3dsCheck"><file name="Enrolled.php" hash="761d1b85854600d3036453dcf861e5a8"/><file name="Invalid.php" hash="35d3cf082577a49239def28304bec09c"/><file name="Valid.php" hash="229b019a8e23c5912ee60f5490ea4b95"/></dir><dir name="Capture"><file name="Approved.php" hash="7e19559bbd9c43106664528a3a1544e1"/></dir><dir name="BankAccountCheck"><file name="Blocked.php" hash="f2d2bfa8d00f285720551e0b8cf24ff1"/><file name="Invalid.php" hash="38a969437ef746262b9ab896d82de378"/><file name="Valid.php" hash="840cb9d43b09f59f78e6e43e6bc8c1cf"/></dir><dir name="Preauthorization"><file name="Approved.php" hash="e0a8f78ede823d6bf0a6788f02b8ed9b"/><file name="Redirect.php" hash="8b21473eb2742c4669bc53fc072f5f1b"/></dir><dir name="Genericpayment"><file name="Abstract.php" hash="103bad64823c32a9f3718057a5903b0e"/><file name="Approved.php" hash="275135ef1d6fbdd5e67ebea7ea219b36"/><file name="Ok.php" hash="78b5a6648a11ce4fa60b50b44de55a38"/><file name="Redirect.php" hash="1a7d28339213878685bd04ce0199173f"/></dir><dir name="Consumerscore"><file name="Invalid.php" hash="02f0b89201e907bdd1af588ea30726e1"/><file name="Valid.php" hash="f136c9413b19cda1d6703934220d347a"/></dir><dir name="Vauthorization"><file name="Approved.php" hash="1fa7ebdc580b6cfff2aa91b10e410307"/></dir><dir name="Authorization"><file name="Abstract.php" hash="588af4b4ddccb0b3a9606930cf1deba2"/><file name="Approved.php" hash="2ee24e646337a522efe5f192d422e31b"/><file name="Redirect.php" hash="93baae52db091d32ee929f46b3b23ea4"/></dir><dir name="AddressCheck"><file name="Invalid.php" hash="f31f0bcdd6c2cf43cccaa98bf88dfa8f"/><file name="Valid.php" hash="9b2d37f9fe2a94c7613a1fe318fed34d"/></dir><dir name="CreateAccess"><file name="Approved.php" hash="77c1885ddcf64ea000118c1339efc06d"/></dir><dir name="Parameter"><file name="Abstract.php" hash="539bd05687ba1fc3e3b096a60aff0976"/><file name="Interface.php" hash="167d2b75fc768a4138d8dfc9f8844a86"/><dir name="Paydata"><file name="DataItem.php" hash="be3f172a2d658ac0c3fc42a63ade5ae4"/><file name="Paydata.php" hash="1c2c4a6c47c64c5b0c2d3360e2d75a46"/></dir></dir><dir name="Debit"><file name="Approved.php" hash="83caebd649e0d4cfdce294a9282e3740"/></dir></dir><dir name="Persistence"><file name="Interface.php" hash="783670fa2ec0bb82977f1b4548d8d77b"/></dir><dir name="Enum"><file name="AccessAction.php" hash="06f335b4a7915b38a39f65c15fb67852"/><file name="AddressCheckDivergence.php" hash="53c7accd75e2eb0c7f3a59e7c1d5c246"/><file name="AddressCheckPersonstatus.php" hash="834734b30c3f1979e84b487b44d20aef"/><file name="AddressCheckScore.php" hash="689d5042f08872c2e0f9cc7c839dd9e8"/><file name="AddressCheckSecstatus.php" hash="8fcf203cfb088a618ddf1436acfcd467"/><file name="AddressCheckType.php" hash="22c992dfd61bcbc66348b4d6f15c2101"/><file name="AvsResult.php" hash="b0386b93d4897ff9c425a64bc8440511"/><file name="BankaccountCheckType.php" hash="9e7bdb92cc66475ce71eb7cd4bfac903"/><file name="CaptureMode.php" hash="8063239d52293c4d681c0574e1d1ba18"/><file name="ConsumerscoreScore.php" hash="0698bad35ff8d2c777148038e6b881da"/><file name="ConsumerscoreType.php" hash="089cea7e978c2eaeb316726a78da1483"/><file name="CreditcardType.php" hash="e68edc3d4b9f5506239a037e0bc38473"/><file name="DebitTransactionType.php" hash="1aedd895d59618a5f1385001fd7291f4"/><file name="Ecommercemode.php" hash="7180d9c7c4b535d2b19e95ac740b9c60"/><file name="FileFormat.php" hash="23f747ea956c096bbbed4e7461e7fd2c"/><file name="FileType.php" hash="df5f5bb76244c8a81a59f8f4201b9986"/><file name="FinancingType.php" hash="7f18d69f522984f5bcd5ec169c346f09"/><file name="Gender.php" hash="d58bbf2a4019ec8c3b375f50ea2b3ffc"/><file name="GenericpaymentAction.php" hash="a784ca76d4a4a38f680530f565319902"/><file name="InvoiceDeliverymode.php" hash="b449ae8492973f1735746571fdc62153"/><file name="InvoicingItemType.php" hash="898ead3cd513b0156cda33035f5cefc2"/><file name="OnlinebanktransferType.php" hash="fc5b1a811e948aa75f27c3181f27a07f"/><file name="PayoutOpenBalance.php" hash="d263156eafb88ed7e74556b1b1924e94"/><file name="PeriodUnit.php" hash="08673a4c85ade8967011b05d34eef33b"/><file name="PeriodUnitRecurring.php" hash="3a665fa2bd8b15f0b2fc455dd2b58d7c"/><file name="RequestType.php" hash="0f46029990e12dee9e6a29e70eb4881b"/><file name="ResponseType.php" hash="092e28de767b844d119975e55c65d2b4"/><file name="Settleaccount.php" hash="a6a4c23be40837c9eec24f5342f69f80"/><file name="Shippingprovider.php" hash="cc47d7bb11f9633cb06ace20c1d3defc"/><file name="Storecarddata.php" hash="f5b8c68a66d61b788e4c068671858ff4"/><file name="UseCustomerdata.php" hash="1c6a5dd06e4447cb1f22cb819e9ebc5f"/><file name="WalletType.php" hash="64fa28a5d60a133d736d671b0d4f4100"/></dir><dir name="Service"><file name="Abstract.php" hash="b8d9512e815eb84a4a585fe57b1701ea"/><file name="Interface.php" hash="1d854d9104dfcf22b131f460dc3eeb04"/><file name="ProtocolRequest.php" hash="338deff5b5f4d30c927c1e4b708f658a"/><dir name="Management"><file name="GetFile.php" hash="565ca32e98ac32749737d4b84b305a9a"/><file name="GetInvoice.php" hash="1e2f7f6f63535aec6d7cb6470cf5a87a"/><file name="ManageMandate.php" hash="f393a553f7951812af4bb95f1c7eaa10"/><file name="UpdateAccess.php" hash="f45f64f5baf33a65440b7963fe444c19"/></dir><dir name="Payment"><file name="Abstract.php" hash="6969db1c619b363ae91b0d263be57964"/><file name="Authorize.php" hash="db21b827cf39363220d5d2b0ff44cc50"/><file name="AuthorizeInterface.php" hash="4a3399ce8b72cd43b271d19a3a560b95"/><file name="Capture.php" hash="8c731d7a3a50811ab12f0fe6a569330f"/><file name="CaptureInterface.php" hash="580ffaf8f16891ceab328d74a02f2f9a"/><file name="CreateAccess.php" hash="2ef787938b1d58225648f20a4c4b55f7"/><file name="CreateAccessInterface.php" hash="c6d6eba3cd6fb415a8ab8e9a10393c8b"/><file name="Debit.php" hash="4ab986b335928ceb86c562dc0261f8cf"/><file name="DebitInterface.php" hash="685c013fd6cf139ea18576dce58a2215"/><file name="Genericpayment.php" hash="619c9291799c049124ccb618870e1fe6"/><file name="GenericpaymentInterface.php" hash="feef6095776d0406cb390b7a2902d2d9"/><file name="Preauthorize.php" hash="0072d971575c6de8b4445b0b6831eb47"/><file name="PreauthorizeInterface.php" hash="b0fec4bf035c791846d969b1c089f31b"/><file name="Refund.php" hash="cdb182edf4ef2d5ff3869d492e23f0c4"/><file name="RefundInterface.php" hash="8ce11a13475480ad9cb2d4df9a1ec02e"/><file name="Vauthorize.php" hash="eab21489ca608fd38b2548a6ec3ca6bd"/><file name="VauthorizeInterface.php" hash="2baddc081baab0f6194620635fbd01b5"/></dir><dir name="Verification"><file name="3dsCheck.php" hash="084a38ece457af196c664cef63a58187"/><file name="AddressCheck.php" hash="252ba67326f698391984e5cd743912ab"/><file name="BankAccountCheck.php" hash="35daae8d7bd3df68e6cb05c09ef834c5"/><file name="Consumerscore.php" hash="a7b4e0251400725892fb689724109130"/><file name="CreditCardCheck.php" hash="5fdb19049e5349894db3d91c4167d09e"/></dir><dir name="ProtocolRequest"><file name="Interface.php" hash="eab9d1fd07792532d7c470a8de602749"/></dir></dir><dir name="Mapper"><file name="Abstract.php" hash="cca8cbf754f938d0680c34d8dfb62581"/><file name="Currency.php" hash="d12f01a77c738e4f9807b5e75f5b3e1c"/><file name="currency.properties" hash="eef9fbec34f4f4a2602f6081fcfda371"/><dir name="Response"><file name="3dsCheck.php" hash="045096f3cb31429dc4d722ce2e519d9e"/><file name="Abstract.php" hash="c4a9c2972e67bc7d15e886eebb1ce5d6"/><file name="AddressCheck.php" hash="084b59a4216344eb13a5f3b21eb59f14"/><file name="Authorization.php" hash="9d19b05a3bdecd83cee8ea5a839f9453"/><file name="BankAccountCheck.php" hash="21b75a9386768830bfb230b06ada37b6"/><file name="Capture.php" hash="74df2833fecd483c81ebcfbc565a7533"/><file name="Consumerscore.php" hash="bb77021437781ae4c53af7b765226377"/><file name="CreateAccess.php" hash="1f55381b4c373debd047118728b590c9"/><file name="CreditCardCheck.php" hash="13b068754c45682ba531e606bd913fa2"/><file name="Debit.php" hash="c90741eaca2368f606b2563ac62883aa"/><file name="Genericpayment.php" hash="afa63b219ef83c9f9af6a58937dab5c6"/><file name="GetFile.php" hash="0656a7a3bbaf8731b603e933232c0eff"/><file name="GetInvoice.php" hash="f8f054ec2ac431b8b23ff35d812dddc0"/><file name="Interface.php" hash="3c036e02bb08de61eb26310138f738ae"/><file name="ManageMandate.php" hash="114676edb47ac6a20ca83be0c645ee4f"/><file name="Preauthorization.php" hash="7107262bb6ddd490d895be0a0db575a0"/><file name="Refund.php" hash="1b0f61f792c2e1afc6894d61793ab686"/><file name="UpdateAccess.php" hash="d37f044a3b21d10df368b9ec232897ad"/><file name="Vauthorization.php" hash="677a7fa3d73cd834fae60d2a9028af4c"/></dir><dir name="Currency"><file name="Interface.php" hash="bf48bcda959ddea8ee3e32952e60949c"/></dir><dir name="Request"><file name="Abstract.php" hash="b4161ceec23a7151d2bbc3c0fc95e71f"/><file name="Interface.php" hash="dfb550ad191f80669ccdeef763c7b59a"/><dir name="Management"><file name="UpdateAccess.php" hash="1c0454de087a657611578625cd4cbaba"/></dir><dir name="Payment"><file name="Abstract.php" hash="b3b1e2756395d8e08bed10cbcc9eab7e"/><file name="Authorization.php" hash="4314798721f70470e2c38a540c7146a8"/><file name="Capture.php" hash="dd8813205e0c3c512e589300a9e8a986"/><file name="CreateAccess.php" hash="2a8ff9db0d6a575eed3dde00a92c69c4"/><file name="Debit.php" hash="8cc7c0cea1d57afe566d1e0fe43ce46e"/><file name="Genericpayment.php" hash="b27ef61d7a7e784636a602a54140b0d0"/><file name="Preauthorization.php" hash="34b624ec8b2a2dac64febb900908ca05"/><file name="Refund.php" hash="7150d816db33148714233b83422c8162"/><file name="Vauthorization.php" hash="e7b128a72020208335864d76d675a902"/></dir></dir></dir><dir name="Request"><file name="3dsCheck.php" hash="94bba3316832ca7c88260eef39cfbb4c"/><file name="Abstract.php" hash="833bb81463d5da883aea05b874db8b0d"/><file name="AddressCheck.php" hash="10740f6cdaffc9f78ed8bbae8fb6de63"/><file name="Authorization.php" hash="5d3316d77bceedb62004632d16198b4a"/><file name="BankAccountCheck.php" hash="40ccd3f30fd53a31df0383185d060dd5"/><file name="Capture.php" hash="b33a01d76f1ed59cdfa40a0dcc024d53"/><file name="Consumerscore.php" hash="8dba5007ea234d999cbd8b0d02b154ce"/><file name="CreateAccess.php" hash="0fd67979ab701b54d568bcf5b39aef4e"/><file name="CreditCardCheck.php" hash="c6f35c53ef0e26796205abf2c6e81723"/><file name="Debit.php" hash="ce7deb0382877001222f4410be14a309"/><file name="Genericpayment.php" hash="aaa045479467cfee8ef681c87ba28462"/><file name="GetFile.php" hash="95f3f6b3cfaaf4cd83211dc90617f55b"/><file name="GetInvoice.php" hash="f83b623168d6fae921199b9859bb43ae"/><file name="Interface.php" hash="558d7665a4c3404e6d89ad13a122367a"/><file name="ManageMandate.php" hash="80b16691ad7360253ed1ccd264704ae0"/><file name="Preauthorization.php" hash="6438ce17257c0f184dc8af180c9ad21c"/><file name="Refund.php" hash="42b3b4a7c07972b8d193bf1670625d0d"/><file name="UpdateAccess.php" hash="470d91884118674ec80378c0e65700f3"/><file name="Vauthorization.php" hash="da8f7714adf754df13ce9622c3a0ee35"/><dir name="Authorization"><file name="Abstract.php" hash="2c36d715a02d214d05130fff0d5017ac"/></dir><dir name="Parameter"><file name="Abstract.php" hash="b193968a62a9eef3dfac086a891e85d1"/><file name="Interface.php" hash="7b3b6208ca9e3186be261ae7862c6479"/><dir name="Invoicing"><file name="Item.php" hash="6d0c539503ea3d16ea991e4cc3a193e4"/><file name="Transaction.php" hash="4002529d89dd7b9ce13de9b8524d0726"/><dir name="Access"><file name="Item.php" hash="78f0781d244fe77459933fa5aca9bbb4"/></dir></dir><dir name="Refund"><file name="Abstract.php" hash="47c0b8a357b935e69c88f376022e0c83"/><dir name="PaymentMethod"><file name="BankAccount.php" hash="0e9bdd3e279803cad2572b51544cb6da"/></dir></dir><dir name="UpdateAccess"><dir name="Invoicing"><file name="Transaction.php" hash="609113dd7f6c6380b65721e18ed95116"/></dir></dir><dir name="Capture"><file name="Business.php" hash="fa0c5cfdc78f19c93d22c570d4392217"/><dir name="Invoicing"><file name="Transaction.php" hash="ab8f6f2872d035bb676f49bb74c84eaa"/></dir></dir><dir name="Vauthorization"><file name="Abstract.php" hash="87698493477461e0dd6a0a23502c313e"/><file name="PersonalData.php" hash="dbc89f4208436ed7f8442d0ed1c5af85"/><dir name="Invoicing"><file name="Transaction.php" hash="77cddd9a739d4fa9449c4b23739cd088"/></dir><dir name="PaymentMethod"><file name="Abstract.php" hash="64ea4df92a938c222524fd843a793c21"/><file name="CreditCard.php" hash="4c9d27ac565d6ac6954ff6e00bc31644"/><file name="DebitPayment.php" hash="b9cb83751d1acf2559d121a16dda17b9"/></dir></dir><dir name="Authorization"><file name="3dsecure.php" hash="c81ad086656fb07f173cb1c7006effcc"/><file name="Abstract.php" hash="8225edba0ff5e6a062361359f0b35a79"/><file name="Business.php" hash="becef5a6e46a7126eb4b07d3d4e2dabd"/><file name="DeliveryData.php" hash="62f5e16900673f02c7c86a6fe2d31da1"/><file name="PersonalData.php" hash="5c9b2ae75aa18ada0eb14b654031da97"/><dir name="PaymentMethod"><file name="Abstract.php" hash="9a237eff832a99a6990b036a780e88ec"/><file name="CashOnDelivery.php" hash="2e89d3baf895baef3b512acc36ea9831"/><file name="CreditCard.php" hash="c871f5e2c00492e2232bccdd0c60c4e7"/><file name="DebitPayment.php" hash="6c5bd3473b6edc5fc923bbb7718fc293"/><file name="Financing.php" hash="9bf3eabd7ff2e91b07905188ebec82e8"/><file name="OnlineBankTransfer.php" hash="f556ef8b1fa09eb5c216eb79fdbf9a9c"/><file name="Wallet.php" hash="3ff0949925f424d1737e27b9eac0ae37"/></dir></dir><dir name="CreateAccess"><file name="3dsecure.php" hash="ddc7dc0f2611502d94bebdea95e337e1"/><file name="Abstract.php" hash="357c8471022e76fe08791cd47f4ebdbc"/><file name="Billing.php" hash="72fcc2befe91d5b851bc0d80b33670a4"/><file name="PersonalData.php" hash="cf16bc56d4d72d0a733a1034a71e5865"/><dir name="Invoicing"><file name="Transaction.php" hash="4b5e9f8da6754d4ee12486e87c2df806"/></dir><dir name="PaymentMethod"><file name="Abstract.php" hash="a1b8579bf21a7550b817e23217c004b6"/><file name="CreditCard.php" hash="832e55197a2df95b09ef9d77e0179af9"/><file name="DebitPayment.php" hash="bc4c4197336fde464087a075da559888"/></dir></dir><dir name="Debit"><file name="Abstract.php" hash="e66574f79bfde6d722882ba0680cf35f"/><file name="Business.php" hash="849ad8b9663563be3f1576cd9e964af9"/><dir name="PaymentMethod"><file name="Abstract.php" hash="78974c85893ffc40807fc7b13309245b"/><file name="BankAccount.php" hash="57fec9893d145f3d801399b8c008d86d"/><file name="CreditCard.php" hash="c74b103174b4021bbcabf0cb175034d2"/></dir></dir><dir name="Paydata"><file name="DataItem.php" hash="d24f141d08f652c563f13a13971f7f7e"/><file name="Paydata.php" hash="afad7b461b71f6e6bbb3405676b7067e"/></dir><dir name="ManageMandate"><file name="Abstract.php" hash="b0a31171c9d4a899eb1fa5899ebaa11a"/><file name="PersonalData.php" hash="a1c61541639a60731aeea95eb014e985"/><dir name="PaymentMethod"><file name="Abstract.php" hash="7089b377e576ef5529b55cefadc2555e"/><file name="BankAccount.php" hash="34c46f12b9edce8a8a2740ab64c6c66e"/></dir></dir></dir></dir><dir name="Exception"><file name="Abstract.php" hash="09266153140106c4177f1ec616e82b75"/><file name="InvalidParameters.php" hash="a7d9a56d5f1f1492e39f7bf128abd845"/><file name="InvalidResponse.php" hash="216f9e035f04fc0340f3960c92d2b209"/><file name="InvalidUrl.php" hash="61c4c388a90361e1de18d8b68fb914e7"/><file name="MappingNotFound.php" hash="e465bf155d207e86b420e20963113c97"/><file name="Payone.php" hash="63e447068676c3f62578f1392558e506"/><file name="Timeout.php" hash="112670215f70139a4ab30a3a9d459fe3"/><file name="UnknownStatus.php" hash="767e935b0bca23c581db594cb71dcb88"/><file name="WritingRequestToServer.php" hash="16437699dd39c2307aca6aec944c3cb3"/><dir name="Request"><file name="InvalidKey.php" hash="45f6aea3a604026ea53732805c97998c"/><file name="InvalidMid.php" hash="8a215505065c1ad96d5ab24ce7bdb2c0"/><file name="InvalidMode.php" hash="97fd778214be1297e5a2639ac03edb17"/><file name="InvalidPortalid.php" hash="1346da51642cd24c3c8c49094a3760be"/></dir></dir><dir name="Adapter"><file name="Interface.php" hash="12e6dcf75c76cf5a44fe92ea3f92dc8f"/><dir name="Http"><file name="Abstract.php" hash="50e5a129e9c406c82745288d35c869ee"/><file name="Curl.php" hash="09107f0d1fe82d4d3c58b73fd61c2481"/><file name="Socket.php" hash="76ff8d8ff010537d56f266acc47c7092"/></dir></dir><dir name="Validator"><file name="Abstract.php" hash="a3bbebe0cf3f455bacf1716c0b67779a"/><file name="DefaultParameters.php" hash="21171914c65583c046fe5a3df8c138e6"/><file name="Interface.php" hash="c7e52165e76fb9f0815b90b8609dfe14"/></dir></dir><dir name="Config"><file name="Abstract.php" hash="3e38cf8907fc388aa053b76154c5f8a6"/></dir><dir name="ClientApi"><file name="Factory.php" hash="1c986f90b6735fd77b61114a92b8364f"/><dir name="Enum"><file name="RequestType.php" hash="e496e1ec9291a3bd2619ace4e9201bbe"/><file name="ResponseType.php" hash="907e66abd764e267ba5905e69d8905b3"/></dir><dir name="Service"><file name="GenerateHash.php" hash="9e19af747d9ec92c483cfe8ff8ec1da5"/></dir><dir name="Request"><file name="Abstract.php" hash="257aa6e406500795ae1f992d0b2e48cc"/><file name="CreditCardCheck.php" hash="9281308800e3ce3e2af375d0f038d66b"/><file name="Interface.php" hash="ac65dc86b506183ab0e32f6f8e7865c9"/></dir><dir name="Exception"><file name="Abstract.php" hash="be912f22feedcbfa15a433b322e4e765"/><file name="InvalidParameters.php" hash="3640c7b8610936874c0d10b07301f0fe"/></dir></dir><dir name="Protocol"><file name="Factory.php" hash="ef0b2fce1ab02d70f9ed1a3e0f4b87d0"/><dir name="Service"><file name="ApplyFilters.php" hash="a527ea04a30bd9150171af9b2b733ad1"/><dir name="Protocol"><file name="Abstract.php" hash="2c0df0e7ef13add24edd2d4ef3ffdd04"/></dir></dir><dir name="Filter"><file name="Abstract.php" hash="65aa27b167ea5cd15471e2f159bce487"/><file name="Filterable.php" hash="da27430330796e57a2b06d86fd834537"/><file name="Interface.php" hash="00f3f383e303bed2a0a92e81621098ac"/><file name="MaskAllValue.php" hash="61812846bd2f44a10c9dbf967746380f"/><file name="MaskValue.php" hash="aa0fdcb99504e5118046d3c8b664c1ec"/></dir><dir name="Config"><file name="Filter.php" hash="f8781db0de4e426e3c2b107eca7bf13d"/></dir><dir name="Logger"><file name="Interface.php" hash="fed7e42b92d6a4e4555d3563f4ff7cf2"/><file name="Log4php.php" hash="774e39045504986ca0c2ca609b616993"/></dir><dir name="Exception"><file name="FilterNotFound.php" hash="d08881829222d1cb677318776cdaefaf"/><file name="InvalidConfig.php" hash="211505ea0e1d0b3b63dfdb5c6cd56469"/></dir></dir></dir></dir><dir name="skin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="payone"><dir name="migrator"><file name="migration.css" hash="c27e9fc8fa891b5ae3ca7480ba90cb02"/><dir name="images"><file name="ajax-loader.gif" hash="32dc1f5901143d36fbd7a6df3950819f"/><file name="failure.gif" hash="4d785bcecfbe716fa4d749d20738a8f0"/><file name="success.gif" hash="3f9b9025551da6963a9ecf8d184a204a"/></dir></dir><dir name="core"><file name="boxes.css" hash="1a9ef798278e1d1dcc3c8dd86eb8ddca"/><file name="wizard.css" hash="c2be3f8f3b7012f015fcd76aceebe32b"/><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></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="payone"><dir name="core"><file name="mandate.css" hash="246dc6bbdca6c0eda2972b5abcb2b24b"/></dir></dir></dir></dir></dir></dir><dir name="js"><dir name="prototype"><dir name="windows"><dir name="themes"><file name="payone.css" hash="ca84a0501c8f6f794c08bc34c013aa01"/><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></dir></dir></dir><dir name="payone"><dir name="migrator"><file name="migration.js" hash="602a23b295cf6b241845fa626b089c91"/></dir><dir name="core"><file name="addresscheck.js" hash="6568d29af003fa91f0b5c469ff464e3c"/><file name="client_api.js" hash="5bc2aa3a184a17c33a099d74912d5d0d"/><file name="creditcard.js" hash="e97b2e9ee74b192b28e0d1763521012e"/><file name="debitpayment.js" hash="12e2cbe8050c26afb71eb4eab8ffa238"/><file name="financing.js" hash="dd40ebd51ff10cf811211c29b73d142c"/><file name="klarna.js" hash="22de283a0a0b98aa880d4f2f55f245af"/><file name="onlinebanktransfer.js" hash="7647f634804c80a28d8252524c3ee484"/><file name="safe_invoice.js" hash="18e2937400142d0e26fd0fe068e5e293"/><file name="sepa_input.js" hash="c791b60e714058e0864891619f1ebd80"/><file name="sepa_validation.js" hash="e8b50fd2da5bd35bf5acfd6450838efe"/><file name="wallet.js" hash="8b52a7055252923888319dd057aa1e4e"/></dir></dir></dir><dir name="app"><dir name="locale"><dir name="en_US"><file name="Payone_Core.csv" hash="5848c5f3bebf667f0e78dfe15e1a0230"/><file name="Payone_Licensemanager.csv" hash="7271c2b5890d4ad709d5b1268c31575f"/><dir name="template"><dir name="email"><dir name="payone"><dir name="core"><file name="avs_template.phtml" hash="fb6ebbfa5d1f95d58b321cf6feb81dba"/><file name="error_template.phtml" hash="009959ada1dabe51d7e1bbc36027a65f"/></dir></dir></dir></dir></dir><dir name="de_DE"><file name="Payone_Core.csv" hash="7abb4933cb2c67f7d87b10c86d4d8270"/><file name="Payone_Licensemanager.csv" hash="d36e77ad14ad0db2a294ab6e38afe426"/><dir name="template"><dir name="email"><dir name="payone"><dir name="core"><file name="avs_template.phtml" hash="fb6ebbfa5d1f95d58b321cf6feb81dba"/><file name="error_template.phtml" hash="009959ada1dabe51d7e1bbc36027a65f"/></dir></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="Payone_Core.xml" hash="26082ff2574ca87302556c5c3a39b246"/><file name="Payone_Licensemanager.xml" hash="cb7bcac54336595c25214557382e6c55"/><file name="Payone_Migrator.xml" hash="9af684dec6dc50d9e863538773350fb7"/></dir></dir><dir name="code"><dir name="community"><dir name="Payone"><dir name="Core"><dir name="sql"><dir name="payone_core_setup"><file name="install-3.0.0.sql" hash="28a783cc46e235b6c13dd502651ff7e7"/><file name="mysql4-install-3.0.0.php" hash="e570826a7a6b3d94ec7a4731a1962a6f"/><file name="mysql4-upgrade-3.0.12-3.1.0.php" hash="bca5f3758f786378978834b89c29f141"/><file name="mysql4-upgrade-3.0.3-3.0.4.php" hash="864709102446d37f8b0ad1c7d7b3ab60"/><file name="mysql4-upgrade-3.0.8-3.0.9.php" hash="b8b666e1cef07ae385278a454b885d77"/><file name="mysql4-upgrade-3.1.0-3.1.1.php" hash="d7c545b39a8ec2764fdcadd6656005dd"/><file name="mysql4-upgrade-3.1.2-3.1.3.php" hash="22d8f0e22f537cec9564d177f5ebeac4"/><file name="mysql4-upgrade-3.1.3-3.1.4.php" hash="fdb019dcd5a75d24fee65d2fae768ef6"/><file name="mysql4-upgrade-3.1.4-3.1.5.php" hash="07861bdab5b1db51dcef427891c2bd5f"/><file name="mysql4-upgrade-3.1.6-3.1.7.php" hash="e3d5404bae141f641ddb0e32d28ec8a3"/><file name="mysql4-upgrade-3.1.7-3.1.8.php" hash="bde5b06ffb9d254458c03d875a22ff79"/><file name="mysql4-upgrade-3.2.1-3.2.2.php" hash="f69e68b839573bf5c69ef51d22955ab5"/><file name="mysql4-upgrade-3.2.2-3.2.3.php" hash="589d0a609cc844aadf4379f6deea2666"/><file name="mysql4-upgrade-3.2.3-3.3.0.php" hash="16cdd1b5d738cc8f038b0a96edbd766b"/><file name="mysql4-upgrade-3.3.2-3.3.3.php" hash="977a848bd6148f8337daf514f89b3302"/><file name="upgrade-3.0.12-3.1.0.sql" hash="bd9827b38f1a1ed0fdb049c889ceb29f"/><file name="upgrade-3.1.2-3.1.3.sql" hash="d3e3fc1f9402bb6295124f4750a476d4"/><file name="upgrade-3.1.3-3.1.4.sql" hash="b9ae52a8c4fcf6f97727b3310b6db1a2"/><file name="upgrade-3.1.4-3.1.5.sql" hash="4cc6ee67329dbaa3ad119b6d117ba9af"/><file name="upgrade-3.1.6-3.1.7.sql" hash="9839cc9c41207a4bd7608d91c5ee83a2"/><file name="upgrade-3.1.7-3.1.8.sql" hash="ac5279de707324fe4f2ea4711e6bd851"/><file name="upgrade-3.2.1-3.2.2.sql" hash="feb5a8265a5495a7a9614a79e9fa98fe"/><file name="upgrade-3.2.2-3.2.3.sql" hash="1ae4bcc6626e9a9e3179b0ae83a4b9d0"/><file name="upgrade-3.3.2-3.3.3.sql" hash="66915e375a44c6451bf5fd57b0b1b365"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="80661f3ff3f6782efad26e377413aeb3"/><file name="config.xml" hash="f465521dff1d3886eca707bbefd03527"/><file name="system.xml" hash="c6bb575259a891d8d331e7bb1e43c058"/></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="Block"><dir name="Payment"><dir name="Method"><dir name="Info"><file name="Abstract.php" hash="6223f872dc5236037673414cbb0690bf"/><file name="AdvancePayment.php" hash="5a30ac680ba4b813b8292ee680970815"/><file name="CashOnDelivery.php" hash="f98ff0c449f5fd265aeb1e0bba189d88"/><file name="Creditcard.php" hash="039cde64d6835e601245e46f606d4f66"/><file name="DebitPayment.php" hash="f7e390fae84439f5003578a81699eef1"/><file name="Financing.php" hash="6168f4820caa216f6f30a14069602123"/><file name="Invoice.php" hash="4e39306b2241b19e8d75684307522aaa"/><file name="OnlineBankTransfer.php" hash="a6b327b86716a748cbf24e789c25a5f7"/><file name="SafeInvoice.php" hash="fca91084fb3fff9c6ff82bee1f182490"/><file name="Wallet.php" hash="1c97123bd3b8c5c10e766dd7749f2076"/></dir><dir name="Form"><file name="Abstract.php" hash="69f5a91b970098111ffe71a1f91bcfdc"/><file name="AdvancePayment.php" hash="f8fa142db063838f6e2affd24e605309"/><file name="CashOnDelivery.php" hash="47aa8eae525f0926cfa0ca39dbf16dd8"/><file name="Creditcard.php" hash="078bfa9c24baa817df8e6684f21ed082"/><file name="DebitPayment.php" hash="ca62636d4ab7b961ac04bb66d5a09810"/><file name="Financing.php" hash="e6a7e1323868ceb97815d793be291afd"/><file name="Invoice.php" hash="792e994d4e724c508c44aa80c2c05377"/><file name="OnlineBankTransfer.php" hash="bd8aa5ce3a5579294418544dbb10a477"/><file name="SafeInvoice.php" hash="3cfd8a05e6bab685a19c64c93632ff84"/><file name="Wallet.php" hash="da09f18c16574eac09b9a1d2bc2a67db"/><dir name="SafeInvoice"><file name="Klarna.php" hash="d8f2ba8fe76f594acd15d9c292084c70"/></dir><dir name="Financing"><file name="Klarna.php" hash="f5d570edd1ebcf3db3982c5086a23221"/></dir></dir></dir></dir><dir name="Adminhtml"><file name="Information.php" hash="2459128787e623cebf78be3634eb7514"/><file name="Transaction.php" hash="9da66e164d1dea5013167c374865a94d"/><dir name="Protocol"><file name="Api.php" hash="86163b631dabef5538c9d7ba18cb3b04"/><file name="TransactionStatus.php" hash="4aa543fe53ea8c4d0a4c09a61c84d52f"/><dir name="TransactionStatus"><file name="Grid.php" hash="b9e276667ce3599e5250f0026ab4f8d5"/><file name="View.php" hash="b7d782116f5d8d09087bf9eb7110ecdf"/><dir name="View"><file name="Plane.php" hash="e7fee81fb6ee269bab8186972e0093a1"/><file name="Tabs.php" hash="aba3d7bf0ab3762a2900237b21a2198a"/><dir name="Tab"><file name="General.php" hash="a80cb470751f948b35aa04f991dd4486"/></dir></dir></dir><dir name="Api"><file name="Grid.php" hash="fe43a5b1464e1059703788bd91f408cf"/><file name="View.php" hash="d00b5b3c9a7d0e36693c026c5de0dd35"/><dir name="View"><file name="Plane.php" hash="daf40463ac56195f9d2181e35062baa2"/><file name="Tabs.php" hash="cc81cd30acbda3b87f2b302ee8cdaf1a"/><dir name="Tab"><file name="Exception.php" hash="1825ebf171f264b6c74ed7e1fe9d6fbd"/><file name="General.php" hash="9a5d35a92a9d622a2ddfb0edafa76092"/></dir></dir></dir></dir><dir name="Widget"><dir name="View"><file name="Container.php" hash="dfd28e3f3205c9ab6f1d5ba5cdd1222c"/></dir><dir name="Grid"><file name="Container.php" hash="f035c12b7bf696a0222ce0b3f50dfd46"/><dir name="Column"><dir name="Renderer"><file name="Datetime.php" hash="52a793dde88b725b9b9d5f27842b1705"/><file name="UnixTimestamp.php" hash="9da03743ed591e5f24f1f682c5f4fb5f"/></dir></dir></dir></dir><dir name="Configuration"><dir name="Wizard"><dir name="Page"><file name="Edit.php" hash="1f1b820d0f2d50230f8cdf762c80bc5c"/><file name="View.php" hash="9ab4a5083eebc1961ea5c0acb0ba2cf2"/></dir><dir name="Config"><file name="Form.php" hash="7e48e792893e9a64f7001e96b003e382"/></dir></dir></dir><dir name="Information"><file name="Abstract.php" hash="89033bd457bcd46a7ceb13462360a5e6"/></dir><dir name="System"><dir name="Config"><file name="Hint.php" hash="621ffcb807a4175d274dcb4d4f99bb7d"/><file name="Notice.php" hash="466258b59f294048fa48639f3681ad5e"/><file name="Payment.php" hash="0c9f0cd463afa2bbb5eec693ae1da597"/><file name="Tooltip.php" hash="d9905fba960f4a7500265c30f1dfddf9"/><dir name="Payment"><file name="Edit.php" hash="ee890691a35e5b33bfd1a986a4481ace"/><file name="Grid.php" hash="7ff4cfab006c716256b416a1898383e4"/></dir><dir name="Form"><file name="Field.php" hash="9c7f06f1a79d2308d5bf89c08b986b62"/><file name="Payment.php" hash="812418b9dc6e7d0f7af71c54fa7ad4cf"/><dir name="Field"><file name="Abstract.php" hash="77de293a1573d415a0560d1f3366ed12"/><file name="Forwarding.php" hash="37db0ebdea18716749598e092070475e"/><file name="Info.php" hash="403bb1317e88e67abbc8da62d5249411"/><file name="KlarnaStoreId.php" hash="a250983a9d5969f90a772e13893cb580"/><file name="PaymentFee.php" hash="755e20786c0203016611bfcfdc6ede90"/><file name="PersonStatusMapping.php" hash="a5450b8e05fa801ec373ac7c21e58b34"/><file name="StatusMapping.php" hash="cf91819c4d98a270e3725f9af4b9b88c"/></dir><dir name="Payment"><file name="Method.php" hash="322e4976bd8389f5e9627ba5c17ad0e4"/></dir></dir></dir></dir><dir name="Transaction"><file name="Grid.php" hash="cca8ffb56bc00514d56af6f05c38882f"/><file name="View.php" hash="267ceb1bf113dae62c503c8c9f858a78"/><dir name="View"><file name="Plane.php" hash="161a1c1f5cb58333e4428414397a91f6"/><file name="Tabs.php" hash="127b5f4090f96a1956f2838e7e1bf90f"/><dir name="Tab"><file name="General.php" hash="bc901fbe55449792917519c795c58808"/><file name="TransactionStatus.php" hash="6325158ee9acda45dc1b3aa6a34b8cdd"/></dir></dir></dir><dir name="Sales"><file name="Order.php" hash="d9b85ad2061f9fe9552f5ffed60d0797"/><dir name="Order"><file name="Grid.php" hash="8769f1b2708b28af0a4f97574c0b0c92"/><dir name="View"><dir name="Tab"><file name="Api.php" hash="add6c7c0adbd91114b3eed850569b65a"/><file name="Transaction.php" hash="a6001e58c3ce4d6737f4928ccac66176"/><file name="TransactionStatus.php" hash="44541e398ab29db4720b2109f6e0607c"/></dir></dir><dir name="Create"><file name="Init.php" hash="3f2f8f8de024565abc1f8e4ced98319b"/></dir></dir></dir></dir><dir name="Paypal"><dir name="Express"><file name="Form.php" hash="ba423a9b4a05a29e42ccec59ee6d92c6"/><file name="Review.php" hash="af55e28dea7aa5a0b203072ad51e1eed"/><file name="Shortcut.php" hash="067f4fd7cf2a01187057b56e10ba39dd"/><dir name="Review"><file name="Billing.php" hash="978428adda7eb6096c3f809b6e80bfca"/><file name="Details.php" hash="84667d363b6e065a0b10b2fa1f1e23b1"/><file name="Shipping.php" hash="a5b92c87f7ce44a65b7057e2f5ee84d2"/></dir></dir></dir><dir name="Checkout"><dir name="Onepage"><dir name="Success"><file name="SepaMandatePdfLink.php" hash="73c3a6035c989697c447f7572986a815"/></dir><dir name="Review"><file name="SepaMandate.php" hash="c6ab2e1b5d3cc046682985342ddec6a1"/></dir><dir name="Payment"><file name="Additional.php" hash="6fb72c642149f73a73b6ffcdd8249a93"/><file name="Methods.php" hash="a2e4bb44fa3c254bdfcc3f4671dc8968"/></dir></dir></dir></dir><dir name="Model"><file name="Config.php" hash="e377c2462e81c4a6caacd784cf6a5d65"/><file name="Factory.php" hash="de434373104157a1cdb8db5294a4b7f8"/><file name="Session.php" hash="938080bfc84b9a0ef6c46d0aa9e32cc6"/><dir name="Cronjob"><file name="Abstract.php" hash="123c05ac24b16ce69ec970a5da85f10e"/><dir name="TransactionStatus"><file name="Worker.php" hash="1e7090f9b91571176224d97a3e932ede"/></dir></dir><dir name="Service"><file name="Abstract.php" hash="9c2a7aeecb9fc0303ac20a6ddc73ae96"/><file name="InitializeConfig.php" hash="941c42e76ab330f1f2895c026025a009"/><file name="InitializePayment.php" hash="688d23ed08cdc74797818ad84d9359cc"/><dir name="Export"><file name="Collection.php" hash="ba553e1ced6fd131b725c92150e09a78"/></dir><dir name="Management"><file name="GetFile.php" hash="dca7b664b32e217ab50cd88e5919b8d4"/><file name="GetInvoice.php" hash="16da5759ecfbe625633da5e1e00cfecd"/><file name="ManageMandate.php" hash="8bea957a3e67e3f611bd927263161a72"/></dir><dir name="TransactionStatus"><file name="Execute.php" hash="d4dff27a2cc271faaba576f9161a7f89"/><file name="Forward.php" hash="8dacb47c9a0db8e76669158aa15303b6"/><file name="Process.php" hash="be3b935bdea0b665b6ba660df1e43cb0"/><file name="StoreClearingParameters.php" hash="29f9570fb39da143e6b0edae80c126a7"/></dir><dir name="Payment"><file name="Abstract.php" hash="78f1f27d510d88c8ffa3575b1fdd5877"/><file name="Authorize.php" hash="fa22191f012150eb5bd4ab2b183522dc"/><file name="Capture.php" hash="58bee25ef7c318f53a00d608cf16d0bf"/><file name="Debit.php" hash="4320627bc743c5ae303296417c64c232"/><file name="Genericpayment.php" hash="c1f53f413810ffec500def8743cb9c0f"/><file name="Interface.php" hash="5a6669702b6f966cdca52378e96e60d2"/><file name="Preauthorize.php" hash="b13323bc57512b9244a217dcc8106625"/></dir><dir name="Config"><file name="ProtectCheck.php" hash="81e93c3cd18c39b9cf52e94374cd341c"/><file name="XmlGenerate.php" hash="6a2ea0a941738a70b7bf510d8cf22369"/><dir name="PaymentMethod"><file name="Create.php" hash="af77caf92d5d7a87f691a571d5300c34"/></dir></dir><dir name="Verification"><file name="Abstract.php" hash="0fde90b0db9c18f414e5e90843f0e6ce"/><file name="AddressCheck.php" hash="b6e828cf9dc96d7e9cafae8037aa942f"/><file name="BankAccountCheck.php" hash="a78e4e65d55c07e5b6f0dd2139219a53"/><file name="Creditrating.php" hash="7dfbcaf8dbb3c11625a3a9943fa3a793"/></dir><dir name="Protocol"><dir name="TransactionStatus"><file name="Export.php" hash="1265210a4dcc3475e3cef56a70e073c2"/></dir><dir name="Api"><file name="Export.php" hash="ae95ecb8c8e7b8418c8d3dd361c751c0"/></dir></dir><dir name="Paypal"><dir name="Express"><file name="Checkout.php" hash="6445da311d049f4d014c62ce823ac7b4"/></dir></dir><dir name="Transaction"><file name="Create.php" hash="95d9079e7fd9a85597b62e96f7a4d77b"/><file name="Update.php" hash="f25e151fd02916472e7792360699a988"/></dir><dir name="Sales"><file name="InvoiceCreate.php" hash="84148ef78256e3daad76395fbb30e9a5"/><file name="OrderComment.php" hash="41433c126e5254b985d900f704b31ae9"/><file name="OrderConfirmation.php" hash="ea36bf39b5759943b38a7390d7242822"/><file name="OrderStatus.php" hash="fe3f8df1627c19363f21a29b4e8085f2"/></dir></dir><dir name="Mapper"><file name="Abstract.php" hash="269e16e71331e002333535450d4d2924"/><dir name="ApiRequest"><file name="Abstract.php" hash="67a9f749767b79e7641138f8edc9c788"/><dir name="Management"><file name="GetFile.php" hash="2c4dd75523f2479a1d3f352123ce93d6"/><file name="GetInvoice.php" hash="18e670a377141a7c37d37a336cddba92"/><file name="ManageMandate.php" hash="36f2ccf6e5b5aa6317632700a73d394b"/></dir><dir name="Payment"><file name="Abstract.php" hash="6efd8c7edec6017059c977bd503747a7"/><file name="Authorize.php" hash="7b4b3ee3e5fe3614158a2538878ba4f0"/><file name="Capture.php" hash="7893b25f0f1fb8c7e48308fa1a06a024"/><file name="Debit.php" hash="c3db864a77047846ba67de4da8237b15"/><file name="Genericpayment.php" hash="03995aae6ff033f919b4bfedcabd86a5"/><file name="Interface.php" hash="2ed7debbc0cbe1979be9ad4fa583c63d"/><file name="Preauthorize.php" hash="5de50d89d2c8bde9f64029fe787191ff"/><dir name="Authorize"><file name="Abstract.php" hash="cb52f9c63e9edd645fd464d2e107b58f"/></dir></dir><dir name="Verification"><file name="Abstract.php" hash="6b492aabd24d09580bb5c8184ebab5dd"/><file name="AddressCheck.php" hash="6c30ca669aa897159418d4e6c857d550"/><file name="BankAccountCheck.php" hash="f963c0a703501bdacdf3acbe37dd929d"/><file name="Creditrating.php" hash="aa5dc04063a6d8b4fedf05b4d82ba244"/></dir></dir></dir><dir name="Handler"><file name="Abstract.php" hash="7916a63c5d1ca3c7cec27cc6bd038846"/><file name="Interface.php" hash="8137fbb2cea9866c2d6a64421653b1f7"/><dir name="Management"><file name="GetInvoice.php" hash="4fc10247b8969f9dbe447d3003a052a0"/></dir><dir name="Payment"><file name="Abstract.php" hash="44a3373698eadce21a6a88a67e7f62bb"/><file name="Authorize.php" hash="0693282e074f6c22824c5eab347aa9a2"/><file name="Capture.php" hash="d6d7dd0dfc16066faebc9678bb98b0ca"/><file name="Debit.php" hash="3dcee9f980aa64fb8d2ee93e4cdc91cb"/><file name="Genericpayment.php" hash="50ec7f11bd99ec553208908e387ba8bc"/><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="603f95a45583c5a9fc61fe747915c094"/><file name="Creditrating.php" hash="df5e854c7814b05fae05ccb0d4eb09f9"/><file name="Interface.php" hash="601a0d018c10962c13e26c67ecb60deb"/></dir></dir><dir name="Observer"><file name="Abstract.php" hash="7818d67d38868e56e44260d5eaeeb74d"/><dir name="Store"><file name="PaymentConfig.php" hash="fdf9db06695c1ef6a90a1695a8df58b0"/></dir><dir name="TransactionStatus"><file name="Forwarding.php" hash="72e93b7a9fc67b3c817a8a3086b3c58d"/><file name="InvoiceCreate.php" hash="d15502d5794acf2a35fae589e9c60b25"/><file name="OrderConfirmation.php" hash="0ba29147ead6d943964be30c2b5aa1a6"/><file name="Reminder.php" hash="e476fbafaec9b3f2fa3d0ec5f57f6dce"/></dir><dir name="Config"><file name="Protect.php" hash="a9b87d00e3f7a3294046efb7b6ace00e"/></dir><dir name="Protocol"><file name="Api.php" hash="8756084b6e8c4ce3ff7fddfae2cbba8f"/></dir><dir name="Checkout"><file name="Onepage.php" hash="739313c22c4082dca0c640f72c745d79"/><dir name="Onepage"><file name="DebitPayment.php" hash="07bda3094ce9ad4518008a57fb8d0347"/><dir name="Payment"><file name="Methods.php" hash="f52a00f21e196656b3546ed7d647373c"/></dir></dir></dir><dir name="Sales"><file name="Order.php" hash="5f9a27fd6ccfd8f9476924729ba362fb"/><dir name="Order"><file name="Invoice.php" hash="ce15847f18e76b7e1518d7584a82c818"/></dir><dir name="Quote"><file name="Address.php" hash="a978a502b2b5bda43d300b3327ae85f0"/><file name="Payment.php" hash="49864ede5b1ab94fc51a98b4cadc2874"/></dir></dir></dir><dir name="Payment"><dir name="Method"><file name="Abstract.php" hash="9ddf98c48e125d3e515578e45d59b1ed"/><file name="AdvancePayment.php" hash="c165fc2cb0402478db74782a38f89ec5"/><file name="CashOnDelivery.php" hash="247d715b663369c27111ece38dfb7803"/><file name="Creditcard.php" hash="4d778e393876187bd89d1c2c3e326c98"/><file name="DebitPayment.php" hash="98868e4cf9cbda62e7e193f945d3d212"/><file name="Financing.php" hash="fb7c2c1f9b417affd028f4a2ad2e324a"/><file name="Invoice.php" hash="b6dc6fd8189c61f04a440b39d72a2c61"/><file name="OnlineBankTransfer.php" hash="5f6e2a08c6f83534f15b05f95bfceb37"/><file name="SafeInvoice.php" hash="84d93f1ccf6a72134e351a534a2c14fc"/><file name="Wallet.php" hash="009d360a81b7a9527d192e4011df9749"/></dir></dir><dir name="Config"><file name="AreaAbstract.php" hash="e75eacc876e77fa1f540e15a8a89a1d5"/><file name="AreaInterface.php" hash="9822e7864b81dcdade053baea64db83f"/><file name="General.php" hash="ed2d6a546cdd1a4ab4d3d619edc2ee3d"/><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 name="Protect"><file name="AddressCheck.php" hash="3637d686c50702120d791b6f5e695569"/><file name="Creditrating.php" hash="ffe6d1d2c95d641535a5027b2afb54cc"/></dir><dir name="Payment"><file name="Method.php" hash="aff746e77e950931bb9ff82ef8099673"/><dir name="Method"><file name="Interface.php" hash="632affbdf429b37f2a3511354d7c0afe"/></dir></dir><dir name="General"><file name="Global.php" hash="8dccc2d180777584499d13a0ef028ba0"/><file name="ParameterInvoice.php" hash="6a58ff0f8c126de0decd22b845d02d40"/><file name="ParameterNarrativeText.php" hash="5f0128073807d017a4f3704c5879e36f"/><file name="PaymentCreditcard.php" hash="d055547ad354429c2c4b061353a9f121"/><file name="PaymentPaypalExpressCheckout.php" hash="ee32ca1227bf056788be16e2e5e51e0d"/><file name="StatusMapping.php" hash="444346141aafa48049b22418ba65c8fe"/></dir><dir name="Misc"><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 name="Email"><file name="Abstract.php" hash="50f7c3519a70855acb69d255cb0056d6"/><file name="Interface.php" hash="d07157b9ca17401277b35f7aea92a7cc"/></dir></dir></dir><dir name="Repository"><file name="Api.php" hash="215b63473d061699b64fbc698f95a1f7"/><file name="TransactionStatus.php" hash="633e3ea0f01a27374fd8d3b721c064b8"/></dir><dir name="Domain"><file name="Customer.php" hash="fdd681797cc6a3cfb05f0c4a059b034c"/><file name="Transaction.php" hash="32129c443a4218374a20920198dfe73c"/><dir name="Resource"><file name="Customer.php" hash="f1cf269f52b8aee82fab4911908fac99"/><file name="Transaction.php" hash="a05356964069784a9c46b61c9c77c26c"/><dir name="Customer"><file name="Collection.php" hash="f43cdb8f3038d92f60982492948c0535"/></dir><dir name="Config"><file name="PaymentMethod.php" hash="7261f0a45bff60e891cf24820a565670"/><dir name="PaymentMethod"><file name="Collection.php" hash="92fcb0cf48eada524e326942f1dd5c4b"/></dir></dir><dir name="Protocol"><file name="Api.php" hash="bb257184fa77ef1b71f0964168dd78af"/><file name="TransactionStatus.php" hash="d4a202ea0d7ce2afeff4b3da4f18a237"/><dir name="TransactionStatus"><file name="Collection.php" hash="884176fcb71b1a76d2b094bb70644c5e"/></dir><dir name="Api"><file name="Collection.php" hash="2ce71ea52eb4aa11fbc546001ed22fc8"/></dir></dir><dir name="Transaction"><file name="Collection.php" hash="f3dd454961a551357eb95b73912c411c"/></dir></dir><dir name="Config"><file name="PaymentMethod.php" hash="4fba9c1c12810186c7566720b4502ee0"/></dir><dir name="Protocol"><file name="Api.php" hash="70d1c4920f0637e28ec95cf8b9ca1bdb"/><file name="TransactionStatus.php" hash="681a1936ddbf0b519d6b97ded83d4a1a"/></dir></dir><dir name="System"><dir name="Config"><file name="Abstract.php" hash="3a0050936a4c51a407acca82d5290b99"/><file name="AddressCheckType.php" hash="11f0297e62f8aa723051bef05b1a1024"/><file name="AuthorizeMethod.php" hash="ab01882f7e8b685bf65c9c2cf630f8dd"/><file name="AuthorizeMethodFinancing.php" hash="4176d6fa53e5d7dc9c3e2f2cc6996450"/><file name="AvsResult.php" hash="b1e3ca79a77286e1e705501a33c13855"/><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="CurrencyUsage.php" hash="b4884c120331479be761f61841782a8c"/><file name="FinancingType.php" hash="3ea24f49efc63b5ee37644dfd8a3c5c6"/><file name="HandleResponseError.php" hash="6c92277e38f8256f6fe7b6696107fdd2"/><file name="KlarnaCountry.php" hash="49e1a250427eb1a66da63901e47bb3e5"/><file name="MethodType.php" hash="a2bb15d6a43746cc1c87a9ee252d87ef"/><file name="Mode.php" hash="f4b7f10abd52f5b5d23873e159e4fc23"/><file name="OnlinebanktransferType.php" hash="804bf6bd18c9903519e48072ab33d1da"/><file name="OrderStatus.php" hash="929fde9dd5ed62286fdb0c3292d1544a"/><file name="PaymentMethodCode.php" hash="be2c8473e58dea95fbf7e9ffe5aac06a"/><file name="PaymentMethodType.php" hash="1da77ef4656e965fd12f2ae8fc853c53"/><file name="PersonStatus.php" hash="8d909a2f468207880d3b431dbfbfdef8"/><file name="ReminderLevel.php" hash="cac22bfaece3ccca9a51adc59efdf44b"/><file name="RequestType.php" hash="f43e32fd32329193252190746f0a8571"/><file name="ResponseType.php" hash="d6a64bbe4ea58d2126ff8d7f76795bcf"/><file name="SafeInvoiceType.php" hash="e33c155d6eb7b8b05bb2eef81c492bd4"/><file name="SepaCountry.php" hash="1d53612b26e8cc6e90f6ae8903dae50d"/><file name="Status.php" hash="2612834bc2a1ed7c43a2cc3342adf63d"/><file name="StatusTransaction.php" hash="53271af6dbe8195a8fa1e12a79a56c68"/><file name="TransactionStatus.php" hash="8c1f59103ba441a3bddbf454bc4c3129"/><file name="WalletType.php" hash="c49c188f400e808a58348716a9fa421e"/><dir name="Backend"><file name="Protect.php" hash="65562d422ca71b7bac0e0157a12b7ac2"/></dir></dir></dir><dir name="Sales"><dir name="Quote"><file name="Address.php" hash="61dcd092801b9f88e0627c6d69343eeb"/><dir name="Address"><dir name="Total"><file name="Fee.php" hash="3bac7e6e8f51348c8b4c55d419b4b1f5"/></dir></dir></dir></dir></dir><dir name="controllers"><file name="PexpressController.php" hash="d056f377571ceedac91e5e238b326491"/><file name="TransactionStatusController.php" hash="f6660bc654ef08ccb3adcd58dfda0596"/><dir name="Adminhtml"><file name="InformationController.php" hash="4fbe3552aff0415f9e6e6574c7dfc080"/><file name="TransactionController.php" hash="59e0e04c5ef04e28a3b781a1c2c3b412"/><dir name="Protocol"><file name="ApiController.php" hash="1af6ef54bfb5a870f482895c0fc5f769"/><file name="TransactionStatusController.php" hash="97a5933efe3633ce5c370c1e67eaa37d"/></dir><dir name="Configuration"><file name="WizardController.php" hash="cfc6b411102e225a48935cee6e0c7576"/><dir name="Wizard"><file name="PageController.php" hash="a6565671b73edb8b30b27e325b3ee6c0"/><dir name="Page"><file name="PaymentController.php" hash="836c77b7dcc77cae37ae101ad28b2169"/></dir></dir></dir><dir name="System"><file name="ConfigurationController.php" hash="0cd99975387d248d9583d6804c3c5a4c"/><dir name="Config"><file name="PaymentController.php" hash="47bda106aafbcbbc8a04a1da28ce136e"/></dir></dir><dir name="Sales"><file name="OrderController.php" hash="ac4a0fe89896111ea5dfff2ae01f0e90"/><dir name="Order"><file name="InvoiceController.php" hash="16c96795a7e9c8dd546c4c69a5568987"/></dir></dir></dir><dir name="Checkout"><file name="OnepageController.php" hash="5c206fbba8832d67269f480facca40a0"/><dir name="Onepage"><file name="PaymentController.php" hash="2af269f961ca62364cc719c7ab112e42"/><file name="SuccessController.php" hash="1de90543c4a4fda2ad63841a5b3a5c5b"/></dir></dir></dir><dir name="Controller"><file name="Abstract.php" hash="e896d0e966ebb3123c047760fff8c17a"/><dir name="Adminhtml"><file name="Abstract.php" hash="fc530c509c8377d4b401b0ad4144ac62"/><dir name="Configuration"><dir name="Wizard"><file name="Abstract.php" hash="bdfe26c77fbfb08d5eed508b3707129b"/></dir></dir></dir></dir><dir name="Helper"><file name="Abstract.php" hash="614b70f3acf925a3b544e91e5a0085d3"/><file name="Compatibility.php" hash="40ec8b9e8f5bff66181d9d257d7f6a0e"/><file name="Config.php" hash="8672eb13e5051e0f1aefeb714b75f419"/><file name="Data.php" hash="b2886731b945327dcdcf65c1aa860902"/><file name="Email.php" hash="395561eb7a6c319055270706e6d32226"/><file name="Registry.php" hash="da6aee13a620bd78e6aa12e1a1700bfc"/><file name="Score.php" hash="bed6e4c0d668ebbb83ea99235728a063"/><file name="Url.php" hash="9ce4dc25c5920247c9b85cccf450ec0e"/><file name="Wizard.php" hash="70b6882f848c703ff0fc26d62dcb376b"/><dir name="Sales"><file name="Button.php" hash="f9752550b0ba4559a78631ea7240dbfa"/></dir></dir></dir><dir name="Migrator"><dir name="etc"><file name="config.xml" hash="9fb5870a66cfe557beba5b9780fcdff5"/></dir><dir name="Model"><file name="Factory.php" hash="614bc12c240bd0c917fdc090c8018ccc"/><dir name="Service"><file name="Abstract.php" hash="2208fd00d748f4e42470c57a90fad2a2"/><file name="Migrate.php" hash="07b0deb7c09a313a2b337b684c76f9da"/><dir name="Configuration"><file name="GeneralMigrate.php" hash="044e996b5f7243086d66d85444bef05c"/><file name="PaymentMigrate.php" hash="0d65e45786eac7a4d36d00fbac7d1188"/><file name="ProtectMigrate.php" hash="1289918e3fb0f87dec2c4d3cd76ad77c"/></dir><dir name="Sales"><file name="PaymentMigrate.php" hash="b0cb16acd822816b82009b5f648eb4f6"/></dir></dir><dir name="Mapper"><file name="Abstract.php" hash="a784a82feaf6120184bc5e53331bd519"/><dir name="Config"><file name="General.php" hash="e24eb1f80ab89b37da5bfe333e34ed05"/><file name="Payment.php" hash="37dd103a0f2ff3493a93c3ec03474671"/><file name="Protect.php" hash="7192a4e8e1789401dbb69dc4c1891ed3"/></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="MigrationController.php" hash="7d9f458c55ee1fe5232c6d7136d86551"/><dir name="Wizard"><file name="MigrationController.php" hash="578c2b786ec293a24bce53806f16c102"/></dir></dir></dir><dir name="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><dir name="Licensemanager"><dir name="etc"><file name="config.xml" hash="9320d37054de0f353446be3922c850da"/></dir><dir name="Block"><dir name="Adminhtml"><dir name="Notification"><file name="Toolbar.php" hash="1541b50b2dd5b30d607706083e27b553"/><file name="Window.php" hash="3eac23541a377348c46beeaee75aa0bf"/></dir></dir></dir><dir name="Model"><file name="Observer.php" hash="944b1efc0f9a92473a5b0da0b03d5e80"/></dir><dir name="controllers"><file name="ActiveController.php" hash="70c33ad2159aa89535693ba441276444"/><dir name="Adminhtml"><file name="TestController.php" hash="f3de560bf4a3c3916d46b942f791eb8e"/></dir></dir><dir name="Helper"><file name="Data.php" hash="806cbd7cb3002984015373b728f04fd0"/></dir></dir></dir></dir></dir><dir name="design"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="payone"><dir name="licensemanager"><file name="toolbar.phtml" hash="d26c581014a5e81fe20998e78d6c4cfb"/><file name="window.phtml" hash="12d097e099fb1c7e035dfd4cf27bc364"/></dir><dir name="migrator"><dir name="migration"><file name="index.phtml" hash="e61197db7ef214108863c79ddeb9815b"/></dir></dir><dir name="core"><file name="client_api.phtml" hash="82d735b2326311446896dc12b826d6a5"/><file name="iframe.phtml" hash="9f74308e8b43cad2b15748b9f8368559"/><dir name="information"><file name="iframe.phtml" hash="c4e39d236151492940e32a0563a6a4b8"/></dir><dir name="configuration"><dir name="wizard"><file name="iframe.phtml" hash="186c008f6b31f8276a84aeb7d3c404e4"/><file name="index.phtml" hash="2deddd95d55920eff1ccc96959857b75"/><dir name="page"><file name="finish.phtml" hash="956ddfbe0e9971e647735fe4a45abf0e"/><file name="index.phtml" hash="66e73112887b5c1028fac21d5ce97c71"/><file name="store_switcher.phtml" hash="6871e556b2872ba357ea95be0c543a6a"/><dir name="view"><file name="container.phtml" hash="042d56bf10158e1944c48f788f48121e"/></dir><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></dir></dir><dir name="transaction"><dir name="view"><file name="plane.phtml" hash="8f4c2ef7fecfab8eb02d12b35e862b5e"/><dir name="tab"><file name="general.phtml" hash="68caff5aa8efad5e37378e9c7b739842"/></dir></dir></dir><dir name="protocol"><dir name="api"><dir name="view"><file name="plane.phtml" hash="fcfcb586c7c92606a6c309489c878d53"/><dir name="tab"><file name="exception.phtml" hash="54d0c77b153ff41fa10391b3177fc96a"/><file name="general.phtml" hash="8d4ad5cd56d33fd7fdcf0b4ff7bc0cc9"/></dir></dir></dir><dir name="transactionstatus"><dir name="view"><file name="plane.phtml" hash="7d19a22206a2384f5972a313017e4589"/><dir name="tab"><file name="general.phtml" hash="fd318ab622c4aa2c0554d7ce81843361"/></dir></dir></dir></dir><dir name="payment"><dir name="method"><dir name="form"><file name="advancepayment.phtml" hash="ccba1332be108f51e27afaf713805dfe"/><file name="cashondelivery.phtml" hash="ad4e7185825b32b69ca06083c03c7a46"/><file name="creditcard.phtml" hash="6988cb1c2f870a93c93491776f2a6e84"/><file name="debitpayment.phtml" hash="0f260a75d9948f707b03c5e1bd3960b6"/><file name="invoice.phtml" hash="b0548563fdacc3cb1757a838d2c03158"/></dir><dir name="info"><file name="advancepayment.phtml" hash="74b458367e5712c859d800b933ed95ff"/><file name="cashondelivery.phtml" hash="91f410d394f3040641468425d39a537c"/><file name="creditcard.phtml" hash="c89761dabea8e6c31b8f400586619f21"/><file name="debitpayment.phtml" hash="d6064c3b4ac949d3cd13d50da428fd75"/><file name="financing.phtml" hash="8719ffe34094d2f0ce884cb9d8ebc04a"/><file name="invoice.phtml" hash="64001ffc31c0eafb832c03edd285fc5d"/><file name="onlinebanktransfer.phtml" hash="c9a2962511e29aa68999a41f5787340f"/><file name="safe_invoice.phtml" hash="8db49727920c0bd0f8ec98d168b8803e"/><file name="wallet.phtml" hash="bd71ab9ff89f2cfa590307c9e29e0ead"/></dir><dir name="pdf"><file name="safe_invoice.phtml" hash="667afd9640f1c34c1116c1939951e8d5"/></dir></dir></dir><dir name="system"><dir name="config"><file name="tooltip.phtml" hash="15f2dc92646a8d8533c7f1c1d0bb10b0"/><dir name="hint"><file name="payment.phtml" hash="4b4466ca1692e274d6e5fb7987f08118"/><file name="payment_reference.phtml" hash="2497578443d7d0455e7d75e1000aed32"/><file name="protect.phtml" hash="a74b775620a7f04c9270fc2be84d8663"/></dir><dir name="form"><file name="iframe.phtml" hash="67366b7e745ab1a2a1f359360df88e07"/><dir name="field"><file name="array.phtml" hash="1aee5fb9b33232708fe242601e4de701"/></dir></dir><dir name="payment"><dir name="grid"><file name="container.phtml" hash="952f87bb71dfd75d126e3196f863dba6"/></dir></dir><dir name="tooltip"><file name="window.phtml" hash="b7de8be932ff20ab238c8882f50e4801"/><dir name="misc"><file name="creditmemo.phtml" hash="c8cd996ead752e92c2d846be336f87e7"/><file name="discount.phtml" hash="d7d0199dd43b147cb0de1c153da84b76"/><file name="email_avs.phtml" hash="9a3814369fdaf6c50ec982e492a9e6e0"/><file name="email_error.phtml" hash="ad1332058c196e799a4e6491b541edea"/><file name="shipping_costs.phtml" hash="2f454c80f83d8751ac03fa47fa577920"/><file name="transaction_status_forwarding.phtml" hash="2f38a7934acdc8690fe3e4bb2a11c716"/><file name="transactionstatus_forwarding.phtml" hash="d51ede956575e0ec46fa01278d3bf6ed"/><file name="transactionstatus_processing.phtml" hash="c50425a16765bdfeab57c50fc92652de"/></dir><dir name="payment"><file name="creditcard.phtml" hash="97b7354aab2ba7b3819454f9d61b02fb"/><file name="debit_payment.phtml" hash="ab78f96997475fbd2a479dbaea433c23"/><file name="financing.phtml" hash="b86925660a1ae2f8d538435a54287d40"/><file name="method.phtml" hash="b73fd750132f0fe30a79e0188b6f0ce6"/><file name="online_bank_transfer.phtml" hash="b375b82162e8b98c5b662206d40e050a"/><file name="safe_invoice.phtml" hash="7087e169885c5193653a5b141a22d3c4"/><file name="wallet.phtml" hash="f79baa38b5b23a55e2f890a1862b8d56"/></dir><dir name="protect"><file name="addresscheck.phtml" hash="c7c1dff4417ebfdf3ac52d3713adc947"/><file name="addresscheck_type.phtml" hash="ecad494863d2f38c5b7f66705af621f0"/><file name="creditrating.phtml" hash="c5ce65e9bea965ca34264a8e585f2c8b"/><file name="creditrating_agreement_message.phtml" hash="a664e5c7a1383b75e6c1f89d9ac6aa94"/><file name="creditrating_lifetime.phtml" hash="7ee1a92e923f8c5d52284d280ac333f2"/><file name="creditrating_type.phtml" hash="eae6bcb8c942f80d9f86b98e6f94e461"/></dir><dir name="general"><file name="global.phtml" hash="bf390501c5f46d49e19fbad1198e41b9"/><file name="narrative_text.phtml" hash="39a12ae97238f3789ca5fb6a84fb2f8d"/><file name="parameter_invoice.phtml" hash="b8c23adab22eb1a571b4faebbabf8699"/><file name="payment_creditcard.phtml" hash="62c33af2d3ce3ac15674547f76865ed6"/><file name="status_mapping.phtml" hash="918d84d9874bba0e31f814b0f4afa8fb"/></dir></dir></dir></dir><dir name="widget"><dir name="view"><file name="container.phtml" hash="b750b77783092c218e3326734681c2f2"/></dir><dir name="form"><file name="container.phtml" hash="2ed5809647722a4a4358a89732100029"/></dir></dir><dir name="sales"><dir name="order"><dir name="view"><dir name="tab"><file name="transaction.phtml" hash="4af63c9829a7bd466eafc54ae9dd889a"/></dir></dir><dir name="create"><file name="init.phtml" hash="468a133c8dff06c7292b6e7d4de8068f"/></dir></dir></dir></dir></dir></dir><dir name="layout"><dir name="payone"><file name="configuration.xml" hash="e27c94d22f89de34b111eb755ded3d0e"/><file name="core.xml" hash="4c2937ab9409c8cdaf0833f064288f05"/><file name="licensemanager.xml" hash="709dccc8694f15e29277243d99b40441"/><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"><file name="client_api.phtml" hash="1ec0b009b38dc06caa21467c3f4ffb71"/><dir name="checkout"><file name="protect.phtml" hash="f99ba7707392621d73df931a3821d691"/><dir name="onepage"><file name="init.phtml" hash="5c0c3bf8d37efdbf537b5384bc34398e"/><dir name="success"><file name="sepamandatepdflink.phtml" hash="79198bd920f3ad9093a7ecfa6da65718"/></dir><dir name="review"><file name="sepamandate.phtml" hash="0b063330ec99a140acc5c2ddf90e80c5"/></dir><dir name="payment"><file name="additional.phtml" hash="3882f895bd113afc428393a71f5d7ccf"/></dir></dir></dir><dir name="paypal"><dir name="express"><file name="shortcut.phtml" hash="985799b85b94dab0ec9f036747f6b90d"/></dir></dir><dir name="payment"><dir name="method"><dir name="form"><file name="advancepayment.phtml" hash="53be7d1aebc234604157aa7e6dc47795"/><file name="cashondelivery.phtml" hash="0cad47103bbd341208e6252bd8fe47d1"/><file name="creditcard.phtml" hash="be08e9f0c9586de5ac61b916d95b4904"/><file name="debitpayment.phtml" hash="41845416e7669d2bba8707bfd950b192"/><file name="financing.phtml" hash="300380c002a7df80336792273676a50c"/><file name="invoice.phtml" hash="64ec86d5cdd348a80a43a713abc1f0af"/><file name="onlinebanktransfer.phtml" hash="a9614deb6f221ea3b88013cc85b51b9d"/><file name="safe_invoice.phtml" hash="34ac7632459b1062ceb63e256a69ae6d"/><file name="wallet.phtml" hash="32fe1f2fc914b2c11b8c3506d03e0890"/><dir name="onlinebanktransfer"><file name="bankgroup.phtml" hash="489d1ed76bfddf13680873277f114605"/></dir><dir name="safe_invoice"><file name="klarna.phtml" hash="8f18e6818c2f4d1cd0a80a9e951ad754"/><dir name="klarna"><file name="scripts.phtml" hash="c86c08b139497ae4619ac163333a4c51"/></dir></dir><dir name="financing"><file name="klarna.phtml" hash="7b15ed9ec043a973e132a382d6f85366"/></dir></dir><dir name="info"><file name="advancepayment.phtml" hash="611af85c9ae80aa9c702b34fc0724e79"/><file name="cashondelivery.phtml" hash="5f369ef06729584e8bf094700877386d"/><file name="creditcard.phtml" hash="dc5ecc29deed279f93928e307c6d1ba2"/><file name="debitpayment.phtml" hash="62b9c771fc1a45d376e990bb9d3c9bd2"/><file name="financing.phtml" hash="25fec413f14104d9d589a88931a87443"/><file name="invoice.phtml" hash="64179e611f39b4b7e68cd367aecb0931"/><file name="onlinebanktransfer.phtml" hash="8480970cb94182a8e59069a5b2a6b044"/><file name="safe_invoice.phtml" hash="7195fccdfde46f248cff5dcca6e55db8"/><file name="wallet.phtml" hash="099fd47c84a62ad9510a47a24345d317"/></dir></dir></dir></dir></dir></dir><dir name="layout"><dir name="payone"><file name="core.xml" hash="efe15e0e97752ad6706c82a698634d84"/></dir></dir></dir></dir></dir></dir></dir></target></contents></package>