Mage_Payone - Version 3.7.0

Version Notes

Mage_Payone-3.7.0

Download this release

Release Info

Developer PAYONE
Extension Mage_Payone
Version 3.7.0
Comparing to
See all releases


Code changes from version 3.6.1 to 3.7.0

Files changed (670) hide show
  1. app/code/community/Payone/Core/Block/Adminhtml/Configuration/Wizard/Page/Edit.php +12 -6
  2. app/code/community/Payone/Core/Block/Adminhtml/Configuration/Wizard/Page/View.php +14 -6
  3. app/code/community/Payone/Core/Block/Adminhtml/Configuration/Wizard/Page/View/Plane.php +32 -32
  4. app/code/community/Payone/Core/Block/Adminhtml/Information.php +43 -43
  5. app/code/community/Payone/Core/Block/Adminhtml/Information/Abstract.php +46 -46
  6. app/code/community/Payone/Core/Block/Adminhtml/Protocol/Api.php +46 -46
  7. app/code/community/Payone/Core/Block/Adminhtml/Protocol/Api/Grid.php +20 -10
  8. app/code/community/Payone/Core/Block/Adminhtml/Protocol/Api/View.php +5 -2
  9. app/code/community/Payone/Core/Block/Adminhtml/Protocol/Api/View/Tab/Exception.php +1 -0
  10. app/code/community/Payone/Core/Block/Adminhtml/Protocol/TransactionStatus.php +47 -47
  11. app/code/community/Payone/Core/Block/Adminhtml/Protocol/TransactionStatus/Grid.php +32 -16
  12. app/code/community/Payone/Core/Block/Adminhtml/Protocol/TransactionStatus/View.php +11 -5
  13. app/code/community/Payone/Core/Block/Adminhtml/Sales/Order.php +46 -46
  14. app/code/community/Payone/Core/Block/Adminhtml/Sales/Order/Grid.php +68 -34
  15. app/code/community/Payone/Core/Block/Adminhtml/Sales/Order/View/Tab/Api.php +17 -8
  16. app/code/community/Payone/Core/Block/Adminhtml/Sales/Order/View/Tab/Transaction.php +3 -1
  17. app/code/community/Payone/Core/Block/Adminhtml/Sales/Order/View/Tab/TransactionStatus.php +27 -13
  18. app/code/community/Payone/Core/Block/Adminhtml/System/Config/Form/Field/Abstract.php +34 -1
  19. app/code/community/Payone/Core/Block/Adminhtml/System/Config/Form/Field/CcTranslationErrors.php +79 -0
  20. app/code/community/Payone/Core/Block/Adminhtml/System/Config/Form/Field/CcTranslationMonths.php +79 -0
  21. app/code/community/Payone/Core/Block/Adminhtml/System/Config/Form/Field/CcTranslationPlaceholders.php +79 -0
  22. app/code/community/Payone/Core/Block/Adminhtml/System/Config/Form/Field/CreditcardTemplate.php +64 -11
  23. app/code/community/Payone/Core/Block/Adminhtml/System/Config/Form/Field/Forwarding.php +13 -7
  24. app/code/community/Payone/Core/Block/Adminhtml/System/Config/Form/Field/KlarnaStoreId.php +8 -5
  25. app/code/community/Payone/Core/Block/Adminhtml/System/Config/Form/Field/PaymentFee.php +17 -9
  26. app/code/community/Payone/Core/Block/Adminhtml/System/Config/Form/Field/PersonStatusMapping.php +9 -5
  27. app/code/community/Payone/Core/Block/Adminhtml/System/Config/Form/Field/RatePayStoreIds.php +110 -87
  28. app/code/community/Payone/Core/Block/Adminhtml/System/Config/Form/Field/StatusMapping.php +8 -4
  29. app/code/community/Payone/Core/Block/Adminhtml/System/Config/Form/Payment/Method.php +2 -2
  30. app/code/community/Payone/Core/Block/Adminhtml/System/Config/Hint.php +1 -0
  31. app/code/community/Payone/Core/Block/Adminhtml/System/Config/Notice.php +3 -0
  32. app/code/community/Payone/Core/Block/Adminhtml/System/Config/Payment.php +116 -113
  33. app/code/community/Payone/Core/Block/Adminhtml/System/Config/Payment/Edit.php +4 -0
  34. app/code/community/Payone/Core/Block/Adminhtml/System/Config/Payment/Grid.php +2 -3
  35. app/code/community/Payone/Core/Block/Adminhtml/System/Config/Tooltip.php +3 -0
  36. app/code/community/Payone/Core/Block/Adminhtml/Transaction.php +47 -47
  37. app/code/community/Payone/Core/Block/Adminhtml/Transaction/Grid.php +28 -14
  38. app/code/community/Payone/Core/Block/Adminhtml/Transaction/View.php +9 -4
  39. app/code/community/Payone/Core/Block/Adminhtml/Transaction/View/Tab/TransactionStatus.php +28 -14
  40. app/code/community/Payone/Core/Block/Adminhtml/Widget/Grid/Column/Renderer/Datetime.php +1 -0
  41. app/code/community/Payone/Core/Block/Adminhtml/Widget/Grid/Column/Renderer/UnixTimestamp.php +1 -0
  42. app/code/community/Payone/Core/Block/Adminhtml/Widget/Grid/Container.php +38 -38
  43. app/code/community/Payone/Core/Block/Checkout/Onepage/Payment/Additional.php +3 -0
  44. app/code/community/Payone/Core/Block/Checkout/Onepage/Payment/Iframe.php +127 -114
  45. app/code/community/Payone/Core/Block/Checkout/Onepage/Payolution/Installmentplan.php +103 -0
  46. app/code/community/Payone/Core/Block/Checkout/Onepage/Review/SepaMandate.php +1 -0
  47. app/code/community/Payone/Core/Block/Checkout/Onepage/Success/Barzahlen.php +5 -1
  48. app/code/community/Payone/Core/Block/Checkout/Onepage/Success/SepaMandatePdfLink.php +4 -1
  49. app/code/community/Payone/Core/Block/Checkout/RatePayInstallmentplan.php +169 -0
  50. app/code/community/Payone/Core/Block/Payment/Method/Form/Abstract.php +14 -2
  51. app/code/community/Payone/Core/Block/Payment/Method/Form/Barzahlen.php +4 -2
  52. app/code/community/Payone/Core/Block/Payment/Method/Form/Creditcard.php +461 -394
  53. app/code/community/Payone/Core/Block/Payment/Method/Form/CreditcardIframe.php +4 -2
  54. app/code/community/Payone/Core/Block/Payment/Method/Form/DebitPayment.php +3 -2
  55. app/code/community/Payone/Core/Block/Payment/Method/Form/OnlineBankTransfer.php +1 -0
  56. app/code/community/Payone/Core/Block/Payment/Method/Form/Payolution.php +225 -184
  57. app/code/community/Payone/Core/Block/Payment/Method/Form/Ratepay.php +173 -89
  58. app/code/community/Payone/Core/Block/Payment/Method/Form/SafeInvoice.php +2 -0
  59. app/code/community/Payone/Core/Block/Payment/Method/Form/SafeInvoice/Klarna.php +14 -1
  60. app/code/community/Payone/Core/Block/Payment/Method/Form/Wallet.php +1 -0
  61. app/code/community/Payone/Core/Block/Payment/Method/Info/Abstract.php +7 -1
  62. app/code/community/Payone/Core/Block/Payment/Method/Info/Barzahlen.php +4 -2
  63. app/code/community/Payone/Core/Block/Payment/Method/Info/Creditcard.php +18 -2
  64. app/code/community/Payone/Core/Block/Payment/Method/Info/CreditcardIframe.php +4 -2
  65. app/code/community/Payone/Core/Block/Payment/Method/Info/Payolution.php +40 -38
  66. app/code/community/Payone/Core/Block/Payment/Method/Info/Ratepay.php +7 -2
  67. app/code/community/Payone/Core/Block/Payment/Method/Info/SafeInvoice.php +1 -0
  68. app/code/community/Payone/Core/Block/Paypal/Express/Review.php +1 -2
  69. app/code/community/Payone/Core/Block/Paypal/Express/Review/Billing.php +1 -0
  70. app/code/community/Payone/Core/Block/Paypal/Express/Shortcut.php +10 -4
  71. app/code/community/Payone/Core/Controller/Abstract.php +4 -1
  72. app/code/community/Payone/Core/Controller/Adminhtml/Abstract.php +19 -1
  73. app/code/community/Payone/Core/Controller/Adminhtml/Configuration/Wizard/Abstract.php +1 -0
  74. app/code/community/Payone/Core/Helper/Abstract.php +2 -0
  75. app/code/community/Payone/Core/Helper/Compatibility.php +1 -0
  76. app/code/community/Payone/Core/Helper/Config.php +11 -3
  77. app/code/community/Payone/Core/Helper/Data.php +5 -0
  78. app/code/community/Payone/Core/Helper/Email.php +3 -0
  79. app/code/community/Payone/Core/Helper/Score.php +4 -2
  80. app/code/community/Payone/Core/Helper/Url.php +4 -2
  81. app/code/community/Payone/Core/Helper/Wizard.php +3 -0
  82. app/code/community/Payone/Core/Model/Config/AreaAbstract.php +2 -0
  83. app/code/community/Payone/Core/Model/Config/General.php +16 -0
  84. app/code/community/Payone/Core/Model/Config/General/CcHostedTranslations.php +114 -0
  85. app/code/community/Payone/Core/Model/Config/General/Global.php +1 -1
  86. app/code/community/Payone/Core/Model/Config/General/PaymentCreditcard.php +8 -4
  87. app/code/community/Payone/Core/Model/Config/General/StatusMapping.php +12 -0
  88. app/code/community/Payone/Core/Model/Config/Misc/Email/Abstract.php +1 -0
  89. app/code/community/Payone/Core/Model/Config/Misc/EmailAvs.php +1 -0
  90. app/code/community/Payone/Core/Model/Config/Misc/TransactionstatusForwarding.php +12 -5
  91. app/code/community/Payone/Core/Model/Config/Misc/TransactionstatusProcessing.php +2 -0
  92. app/code/community/Payone/Core/Model/Config/Payment.php +3 -0
  93. app/code/community/Payone/Core/Model/Config/Payment/Method.php +76 -1
  94. app/code/community/Payone/Core/Model/Config/Payment/Method/Interface.php +20 -0
  95. app/code/community/Payone/Core/Model/Config/Protect/AddressCheck.php +10 -0
  96. app/code/community/Payone/Core/Model/Config/Protect/Creditrating.php +7 -0
  97. app/code/community/Payone/Core/Model/Cronjob/Abstract.php +1 -0
  98. app/code/community/Payone/Core/Model/Domain/Config/PaymentMethod.php +18 -5
  99. app/code/community/Payone/Core/Model/Domain/Customer.php +3 -0
  100. app/code/community/Payone/Core/Model/Domain/Protocol/TransactionStatus.php +7 -1
  101. app/code/community/Payone/Core/Model/Domain/Resource/Config/PaymentMethod.php +43 -43
  102. app/code/community/Payone/Core/Model/Domain/Resource/Protocol/Api.php +43 -43
  103. app/code/community/Payone/Core/Model/Domain/Resource/Protocol/Api/Collection.php +52 -52
  104. app/code/community/Payone/Core/Model/Domain/Resource/Protocol/TransactionStatus.php +1 -1
  105. app/code/community/Payone/Core/Model/Domain/Resource/Transaction.php +43 -43
  106. app/code/community/Payone/Core/Model/Domain/Resource/Transaction/Collection.php +43 -43
  107. app/code/community/Payone/Core/Model/Domain/Transaction.php +138 -138
  108. app/code/community/Payone/Core/Model/Factory.php +44 -0
  109. app/code/community/Payone/Core/Model/Handler/Abstract.php +1 -0
  110. app/code/community/Payone/Core/Model/Handler/Payment/Abstract.php +29 -20
  111. app/code/community/Payone/Core/Model/Handler/Verification/Abstract.php +1 -0
  112. app/code/community/Payone/Core/Model/Handler/Verification/AddressCheck.php +2 -0
  113. app/code/community/Payone/Core/Model/Handler/Verification/Creditrating.php +2 -0
  114. app/code/community/Payone/Core/Model/Mapper/Abstract.php +3 -0
  115. app/code/community/Payone/Core/Model/Mapper/ApiRequest/Management/ManageMandate.php +2 -0
  116. app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Abstract.php +15 -5
  117. app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Authorize/Abstract.php +181 -49
  118. app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Capture.php +21 -5
  119. app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Debit.php +19 -4
  120. app/code/community/Payone/Core/Model/Mapper/ApiRequest/Payment/Genericpayment.php +207 -34
  121. app/code/community/Payone/Core/Model/Observer/Abstract.php +5 -0
  122. app/code/community/Payone/Core/Model/Observer/Checkout/Onepage.php +4 -3
  123. app/code/community/Payone/Core/Model/Observer/Checkout/Onepage/DebitPayment.php +76 -21
  124. app/code/community/Payone/Core/Model/Observer/Checkout/Onepage/Payment/Methods.php +4 -4
  125. app/code/community/Payone/Core/Model/Observer/Config/Protect.php +2 -1
  126. app/code/community/Payone/Core/Model/Observer/Sales/Order.php +2 -0
  127. app/code/community/Payone/Core/Model/Observer/Sales/Order/Invoice.php +2 -1
  128. app/code/community/Payone/Core/Model/Observer/Sales/Quote/Address.php +7 -2
  129. app/code/community/Payone/Core/Model/Observer/TransactionStatus/InvoiceCreate.php +3 -0
  130. app/code/community/Payone/Core/Model/Observer/TransactionStatus/OrderConfirmation.php +1 -0
  131. app/code/community/Payone/Core/Model/Payment/Method/Abstract.php +24 -5
  132. app/code/community/Payone/Core/Model/Payment/Method/Creditcard.php +2 -1
  133. app/code/community/Payone/Core/Model/Payment/Method/OnlineBankTransfer.php +2 -1
  134. app/code/community/Payone/Core/Model/Payment/Method/Payolution.php +5 -0
  135. app/code/community/Payone/Core/Model/Payment/Method/Ratepay.php +43 -7
  136. app/code/community/Payone/Core/Model/Payment/Method/SafeInvoice.php +1 -1
  137. app/code/community/Payone/Core/Model/Payment/Method/Wallet.php +3 -1
  138. app/code/community/Payone/Core/Model/Repository/Api.php +15 -2
  139. app/code/community/Payone/Core/Model/Repository/TransactionStatus.php +2 -1
  140. app/code/community/Payone/Core/Model/Sales/Quote/Address.php +5 -0
  141. app/code/community/Payone/Core/Model/Sales/Quote/Address/Total/Fee.php +3 -1
  142. app/code/community/Payone/Core/Model/Service/Abstract.php +2 -0
  143. app/code/community/Payone/Core/Model/Service/Config/PaymentMethod/Create.php +0 -1
  144. app/code/community/Payone/Core/Model/Service/Config/ProtectCheck.php +2 -1
  145. app/code/community/Payone/Core/Model/Service/Config/XmlGenerate.php +13 -1
  146. app/code/community/Payone/Core/Model/Service/Export/Collection.php +2 -0
  147. app/code/community/Payone/Core/Model/Service/InitializeConfig.php +10 -1
  148. app/code/community/Payone/Core/Model/Service/Management/GetFile.php +1 -0
  149. app/code/community/Payone/Core/Model/Service/Payment/Abstract.php +1 -1
  150. app/code/community/Payone/Core/Model/Service/Paypal/Express/Checkout.php +22 -1
  151. app/code/community/Payone/Core/Model/Service/Sales/InvoiceCreate.php +2 -0
  152. app/code/community/Payone/Core/Model/Service/Sales/OrderComment.php +28 -5
  153. app/code/community/Payone/Core/Model/Service/Sales/OrderConfirmation.php +2 -2
  154. app/code/community/Payone/Core/Model/Service/TransactionStatus/StoreClearingParameters.php +1 -0
  155. app/code/community/Payone/Core/Model/Service/Verification/Abstract.php +27 -0
  156. app/code/community/Payone/Core/Model/Service/Verification/AddressCheck.php +6 -1
  157. app/code/community/Payone/Core/Model/Service/Verification/Creditrating.php +2 -23
  158. app/code/community/Payone/Core/Model/System/Config/Abstract.php +3 -0
  159. app/code/community/Payone/Core/Model/System/Config/Backend/Protect.php +1 -0
  160. app/code/community/Payone/Core/Model/System/Config/CreditcardCheckCvc.php +39 -39
  161. app/code/community/Payone/Core/Model/System/Config/KlarnaCountry.php +2 -0
  162. app/code/community/Payone/Core/Model/System/Config/MethodType.php +6 -1
  163. app/code/community/Payone/Core/Model/System/Config/OrderStatus.php +4 -0
  164. app/code/community/Payone/Core/Model/System/Config/PaymentFeeType.php +37 -37
  165. app/code/community/Payone/Core/Model/System/Config/PayolutionType.php +1 -1
  166. app/code/community/Payone/Core/Model/System/Config/RatepayType.php +36 -39
  167. app/code/community/Payone/Core/Model/System/Config/TranslationErrors.php +41 -0
  168. app/code/community/Payone/Core/Model/System/Config/TranslationMonths.php +46 -0
  169. app/code/community/Payone/Core/Model/System/Config/TranslationPlaceholders.php +36 -0
  170. app/code/community/Payone/Core/controllers/Adminhtml/Payonecore/Configuration/Wizard/Page/PaymentController.php +62 -62
  171. app/code/community/Payone/Core/controllers/Adminhtml/Payonecore/Configuration/WizardController.php +43 -41
  172. app/code/community/Payone/Core/controllers/Adminhtml/Payonecore/InformationController.php +44 -42
  173. app/code/community/Payone/Core/controllers/Adminhtml/Payonecore/Protocol/ApiController.php +149 -148
  174. app/code/community/Payone/Core/controllers/Adminhtml/Payonecore/Protocol/TransactionStatusController.php +2 -1
  175. app/code/community/Payone/Core/controllers/Adminhtml/Payonecore/Sales/Order/InvoiceController.php +77 -77
  176. app/code/community/Payone/Core/controllers/Adminhtml/Payonecore/Sales/OrderController.php +113 -113
  177. app/code/community/Payone/Core/controllers/Adminhtml/Payonecore/System/Config/PaymentController.php +6 -1
  178. app/code/community/Payone/Core/controllers/Adminhtml/Payonecore/System/ConfigurationController.php +4 -0
  179. app/code/community/Payone/Core/controllers/Adminhtml/Payonecore/TransactionController.php +128 -127
  180. app/code/community/Payone/Core/controllers/Checkout/CartController.php +3 -0
  181. app/code/community/Payone/Core/controllers/Checkout/Onepage/PaymentController.php +55 -1
  182. app/code/community/Payone/Core/controllers/Checkout/OnepageController.php +193 -2
  183. app/code/community/Payone/Core/controllers/IframeController.php +7 -3
  184. app/code/community/Payone/Core/controllers/PexpressController.php +24 -9
  185. app/code/community/Payone/Core/controllers/RatepayController.php +177 -0
  186. app/code/community/Payone/Core/controllers/TransactionStatusController.php +13 -6
  187. app/code/community/Payone/Core/etc/config.xml +9 -1
  188. app/code/community/Payone/Core/etc/system.xml +68 -59
  189. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-install-3.0.0.php +330 -166
  190. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.0.12-3.1.0.php +41 -20
  191. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.0.8-3.0.9.php +1 -3
  192. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.1.0-3.1.1.php +2 -2
  193. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.1.2-3.1.3.php +5 -2
  194. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.1.3-3.1.4.php +4 -2
  195. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.1.4-3.1.5.php +3 -1
  196. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.1.6-3.1.7.php +27 -13
  197. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.1.7-3.1.8.php +17 -8
  198. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.2.1-3.2.2.php +11 -5
  199. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.2.2-3.2.3.php +2 -1
  200. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.2.3-3.3.0.php +4 -2
  201. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.3.12-3.4.0.php +2 -1
  202. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.3.2-3.3.3.php +6 -3
  203. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.3.3-3.3.4.php +2 -1
  204. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.3.5-3.3.6.php +2 -1
  205. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.4.16-3.5.0.php +123 -62
  206. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.4.3-3.4.4.php +2 -2
  207. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.5.10-3.6.0.php +5 -3
  208. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.5.2-3.5.3.php +3 -1
  209. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.5.3-3.5.4.php +150 -140
  210. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.5.6-3.5.7.php +13 -7
  211. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.6.5-3.6.6.php +65 -0
  212. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.6.6-3.6.7.php +98 -0
  213. app/code/community/Payone/Core/sql/payone_core_setup/mysql4-upgrade-3.6.9-3.7.0.php +60 -0
  214. app/code/community/Payone/Core/sql/payone_core_setup/upgrade-3.6.5-3.6.6.sql +13 -0
  215. app/code/community/Payone/Core/sql/payone_core_setup/upgrade-3.6.6-3.6.7.sql +31 -0
  216. app/code/community/Payone/Core/sql/payone_core_setup/upgrade-3.6.9-3.7.0.sql +6 -0
  217. app/code/community/Payone/Licensemanager/Helper/Data.php +1 -0
  218. app/code/community/Payone/Licensemanager/Model/Observer.php +1 -0
  219. app/code/community/Payone/Licensemanager/controllers/Adminhtml/Payonelicensemanager/ActiveController.php +12 -1
  220. app/code/community/Payone/Licensemanager/controllers/Adminhtml/Payonelicensemanager/TestController.php +10 -0
  221. app/code/community/Payone/Migrator/Controller/Adminhtml/Abstract.php +18 -0
  222. app/code/community/Payone/Migrator/Helper/Config.php +7 -0
  223. app/code/community/Payone/Migrator/Helper/Data.php +2 -1
  224. app/code/community/Payone/Migrator/Model/Factory.php +1 -0
  225. app/code/community/Payone/Migrator/Model/Mapper/Abstract.php +2 -0
  226. app/code/community/Payone/Migrator/Model/Mapper/Config/General.php +1 -1
  227. app/code/community/Payone/Migrator/Model/Mapper/Config/Payment.php +5 -2
  228. app/code/community/Payone/Migrator/Model/Mapper/Config/Protect.php +6 -3
  229. app/code/community/Payone/Migrator/Model/Service/Abstract.php +4 -0
  230. app/code/community/Payone/Migrator/Model/Service/Configuration/PaymentMigrate.php +9 -2
  231. app/code/community/Payone/Migrator/Model/Service/Configuration/ProtectMigrate.php +1 -0
  232. app/code/community/Payone/Migrator/Model/Service/Migrate.php +2 -0
  233. app/code/community/Payone/Migrator/Model/Service/Sales/PaymentMigrate.php +2 -1
  234. app/code/community/Payone/Migrator/controllers/Adminhtml/Payonemigrator/MigrationController.php +86 -86
  235. app/code/community/Payone/Migrator/controllers/Adminhtml/Payonemigrator/Wizard/MigrationController.php +63 -63
  236. app/design/adminhtml/default/default/template/payone/core/payment/method/form/creditcard.phtml +14 -0
  237. app/design/adminhtml/default/default/template/payone/core/payment/method/form/payolution.phtml +41 -37
  238. app/design/adminhtml/default/default/template/payone/core/payment/method/info/ratepay.phtml +1 -1
  239. app/design/adminhtml/default/default/template/payone/core/system/config/form/field/creditcard_template.phtml +12 -0
  240. app/design/frontend/base/default/layout/payone/core.xml +18 -2
  241. app/design/frontend/base/default/template/payone/core/checkout/iframe.phtml +18 -18
  242. app/design/frontend/base/default/template/payone/core/checkout/onepage/payolution/installmentplan.phtml +77 -0
  243. app/design/frontend/base/default/template/payone/core/payment/method/form/creditcard.phtml +42 -35
  244. app/design/frontend/base/default/template/payone/core/payment/method/form/payolution.phtml +58 -33
  245. app/design/frontend/base/default/template/payone/core/payment/method/form/ratepay.phtml +127 -6
  246. app/etc/modules/Payone_Core.xml +30 -30
  247. app/etc/modules/Payone_Migrator.xml +30 -30
  248. app/locale/de_DE/Payone_Core.csv +113 -1
  249. app/locale/en_US/Payone_Core.csv +2 -0
  250. js/payone/core/addresscheck.js +13 -7
  251. js/payone/core/client_api.js +97 -97
  252. js/payone/core/creditcard.js +36 -13
  253. js/payone/core/debitpayment.js +24 -9
  254. js/payone/core/onlinebanktransfer.js +24 -9
  255. js/payone/core/payolution.js +145 -24
  256. js/payone/core/ratepay.js +152 -3
  257. js/payone/core/safe_invoice.js +14 -7
  258. js/payone/core/sepa_input.js +11 -5
  259. js/payone/core/sepa_validation.js +18 -6
  260. lib/Payone/Api/Adapter/Http/Abstract.php +1 -0
  261. lib/Payone/Api/Adapter/Http/Curl.php +77 -76
  262. lib/Payone/Api/Adapter/Http/Socket.php +112 -112
  263. lib/Payone/Api/Enum/AccessAction.php +40 -40
  264. lib/Payone/Api/Enum/AddressCheckDivergence.php +39 -39
  265. lib/Payone/Api/Enum/AddressCheckPersonstatus.php +43 -43
  266. lib/Payone/Api/Enum/AddressCheckScore.php +38 -38
  267. lib/Payone/Api/Enum/AddressCheckSecstatus.php +38 -38
  268. lib/Payone/Api/Enum/AddressCheckType.php +38 -38
  269. lib/Payone/Api/Enum/AvsResult.php +40 -40
  270. lib/Payone/Api/Enum/BankaccountCheckType.php +37 -37
  271. lib/Payone/Api/Enum/CaptureMode.php +36 -36
  272. lib/Payone/Api/Enum/ConsumerscoreScore.php +41 -41
  273. lib/Payone/Api/Enum/ConsumerscoreType.php +38 -38
  274. lib/Payone/Api/Enum/CreditcardType.php +53 -53
  275. lib/Payone/Api/Enum/DebitTransactionType.php +42 -42
  276. lib/Payone/Api/Enum/Ecommercemode.php +38 -38
  277. lib/Payone/Api/Enum/FileFormat.php +34 -34
  278. lib/Payone/Api/Enum/FileType.php +34 -34
  279. lib/Payone/Api/Enum/FinancingType.php +39 -39
  280. lib/Payone/Api/Enum/Gender.php +36 -36
  281. lib/Payone/Api/Enum/GenericpaymentAction.php +6 -1
  282. lib/Payone/Api/Enum/InvoiceDeliverymode.php +38 -38
  283. lib/Payone/Api/Enum/InvoicingItemType.php +38 -38
  284. lib/Payone/Api/Enum/OnlinebanktransferType.php +43 -43
  285. lib/Payone/Api/Enum/PayolutionType.php +3 -1
  286. lib/Payone/Api/Enum/PayoutOpenBalance.php +37 -37
  287. lib/Payone/Api/Enum/PeriodUnit.php +38 -38
  288. lib/Payone/Api/Enum/PeriodUnitRecurring.php +39 -39
  289. lib/Payone/Api/Enum/RatepayType.php +2 -2
  290. lib/Payone/Api/Enum/Settleaccount.php +38 -38
  291. lib/Payone/Api/Enum/Shippingprovider.php +37 -37
  292. lib/Payone/Api/Enum/Storecarddata.php +37 -37
  293. lib/Payone/Api/Enum/UseCustomerdata.php +37 -37
  294. lib/Payone/Api/Enum/WalletType.php +2 -1
  295. lib/Payone/Api/Exception/Abstract.php +36 -36
  296. lib/Payone/Api/Exception/InvalidParameters.php +36 -36
  297. lib/Payone/Api/Exception/InvalidResponse.php +36 -36
  298. lib/Payone/Api/Exception/InvalidUrl.php +36 -36
  299. lib/Payone/Api/Exception/MappingNotFound.php +35 -35
  300. lib/Payone/Api/Exception/Payone.php +36 -36
  301. lib/Payone/Api/Exception/Request/InvalidKey.php +36 -36
  302. lib/Payone/Api/Exception/Request/InvalidMid.php +36 -36
  303. lib/Payone/Api/Exception/Request/InvalidMode.php +36 -36
  304. lib/Payone/Api/Exception/Request/InvalidPortalid.php +36 -36
  305. lib/Payone/Api/Exception/Timeout.php +36 -36
  306. lib/Payone/Api/Exception/UnknownStatus.php +36 -36
  307. lib/Payone/Api/Exception/WritingRequestToServer.php +36 -36
  308. lib/Payone/Api/Factory.php +109 -54
  309. lib/Payone/Api/Mapper/Abstract.php +35 -35
  310. lib/Payone/Api/Mapper/Currency.php +324 -308
  311. lib/Payone/Api/Mapper/Currency/Interface.php +60 -60
  312. lib/Payone/Api/Mapper/Request/Abstract.php +56 -56
  313. lib/Payone/Api/Mapper/Request/Interface.php +40 -40
  314. lib/Payone/Api/Mapper/Request/Management/UpdateAccess.php +97 -95
  315. lib/Payone/Api/Mapper/Request/Payment/Abstract.php +82 -80
  316. lib/Payone/Api/Mapper/Request/Payment/Authorization.php +46 -46
  317. lib/Payone/Api/Mapper/Request/Payment/Capture.php +46 -46
  318. lib/Payone/Api/Mapper/Request/Payment/CreateAccess.php +98 -96
  319. lib/Payone/Api/Mapper/Request/Payment/Debit.php +46 -46
  320. lib/Payone/Api/Mapper/Request/Payment/Preauthorization.php +45 -45
  321. lib/Payone/Api/Mapper/Request/Payment/Refund.php +46 -46
  322. lib/Payone/Api/Mapper/Request/Payment/Vauthorization.php +46 -46
  323. lib/Payone/Api/Mapper/Response/3dsCheck.php +64 -64
  324. lib/Payone/Api/Mapper/Response/Abstract.php +175 -167
  325. lib/Payone/Api/Mapper/Response/AddressCheck.php +61 -61
  326. lib/Payone/Api/Mapper/Response/Authorization.php +63 -63
  327. lib/Payone/Api/Mapper/Response/BankAccountCheck.php +65 -65
  328. lib/Payone/Api/Mapper/Response/Capture.php +61 -61
  329. lib/Payone/Api/Mapper/Response/Consumerscore.php +62 -62
  330. lib/Payone/Api/Mapper/Response/CreateAccess.php +61 -61
  331. lib/Payone/Api/Mapper/Response/CreditCardCheck.php +62 -62
  332. lib/Payone/Api/Mapper/Response/Debit.php +60 -60
  333. lib/Payone/Api/Mapper/Response/GetFile.php +64 -64
  334. lib/Payone/Api/Mapper/Response/GetInvoice.php +64 -64
  335. lib/Payone/Api/Mapper/Response/Interface.php +42 -42
  336. lib/Payone/Api/Mapper/Response/ManageMandate.php +60 -60
  337. lib/Payone/Api/Mapper/Response/Preauthorization.php +63 -63
  338. lib/Payone/Api/Mapper/Response/Refund.php +61 -61
  339. lib/Payone/Api/Mapper/Response/UpdateAccess.php +61 -61
  340. lib/Payone/Api/Mapper/Response/Vauthorization.php +60 -60
  341. lib/Payone/Api/Persistence/Interface.php +58 -58
  342. lib/Payone/Api/Request/3dsCheck.php +257 -257
  343. lib/Payone/Api/Request/Abstract.php +10 -3
  344. lib/Payone/Api/Request/AddressCheck.php +317 -317
  345. lib/Payone/Api/Request/Authorization.php +58 -58
  346. lib/Payone/Api/Request/Authorization/Abstract.php +15 -6
  347. lib/Payone/Api/Request/BankAccountCheck.php +237 -237
  348. lib/Payone/Api/Request/Capture.php +219 -217
  349. lib/Payone/Api/Request/Consumerscore.php +337 -337
  350. lib/Payone/Api/Request/CreateAccess.php +526 -526
  351. lib/Payone/Api/Request/CreditCardCheck.php +197 -197
  352. lib/Payone/Api/Request/Debit.php +280 -278
  353. lib/Payone/Api/Request/Genericpayment.php +91 -35
  354. lib/Payone/Api/Request/GetFile.php +98 -98
  355. lib/Payone/Api/Request/GetInvoice.php +57 -57
  356. lib/Payone/Api/Request/ManageMandate.php +161 -161
  357. lib/Payone/Api/Request/Parameter/Abstract.php +3 -0
  358. lib/Payone/Api/Request/Parameter/Authorization/3dsecure.php +96 -96
  359. lib/Payone/Api/Request/Parameter/Authorization/Abstract.php +40 -40
  360. lib/Payone/Api/Request/Parameter/Authorization/Business.php +102 -102
  361. lib/Payone/Api/Request/Parameter/Authorization/DeliveryData.php +221 -221
  362. lib/Payone/Api/Request/Parameter/Authorization/PaymentMethod/Abstract.php +40 -40
  363. lib/Payone/Api/Request/Parameter/Authorization/PaymentMethod/Barzahlen.php +64 -64
  364. lib/Payone/Api/Request/Parameter/Authorization/PaymentMethod/CashOnDelivery.php +56 -56
  365. lib/Payone/Api/Request/Parameter/Authorization/PaymentMethod/CreditCard.php +256 -256
  366. lib/Payone/Api/Request/Parameter/Authorization/PaymentMethod/CreditCardIframe.php +88 -88
  367. lib/Payone/Api/Request/Parameter/Authorization/PaymentMethod/DebitPayment.php +176 -176
  368. lib/Payone/Api/Request/Parameter/Authorization/PaymentMethod/Financing.php +137 -135
  369. lib/Payone/Api/Request/Parameter/Authorization/PaymentMethod/OnlineBankTransfer.php +236 -236
  370. lib/Payone/Api/Request/Parameter/Authorization/PaymentMethod/Payolution.php +4 -2
  371. lib/Payone/Api/Request/Parameter/Authorization/PaymentMethod/RatePay.php +35 -5
  372. lib/Payone/Api/Request/Parameter/Authorization/PaymentMethod/Wallet.php +116 -116
  373. lib/Payone/Api/Request/Parameter/Authorization/PersonalData.php +340 -340
  374. lib/Payone/Api/Request/Parameter/Capture/Business.php +71 -71
  375. lib/Payone/Api/Request/Parameter/Capture/Invoicing/Transaction.php +47 -47
  376. lib/Payone/Api/Request/Parameter/CreateAccess/3dsecure.php +96 -96
  377. lib/Payone/Api/Request/Parameter/CreateAccess/Abstract.php +38 -38
  378. lib/Payone/Api/Request/Parameter/CreateAccess/Billing.php +151 -151
  379. lib/Payone/Api/Request/Parameter/CreateAccess/Invoicing/Transaction.php +132 -132
  380. lib/Payone/Api/Request/Parameter/CreateAccess/PaymentMethod/Abstract.php +36 -36
  381. lib/Payone/Api/Request/Parameter/CreateAccess/PaymentMethod/CreditCard.php +156 -156
  382. lib/Payone/Api/Request/Parameter/CreateAccess/PaymentMethod/DebitPayment.php +176 -176
  383. lib/Payone/Api/Request/Parameter/CreateAccess/PersonalData.php +288 -288
  384. lib/Payone/Api/Request/Parameter/Debit/Abstract.php +37 -37
  385. lib/Payone/Api/Request/Parameter/Debit/Business.php +116 -116
  386. lib/Payone/Api/Request/Parameter/Debit/PaymentMethod/Abstract.php +36 -36
  387. lib/Payone/Api/Request/Parameter/Debit/PaymentMethod/BankAccount.php +216 -216
  388. lib/Payone/Api/Request/Parameter/Debit/PaymentMethod/CreditCard.php +176 -176
  389. lib/Payone/Api/Request/Parameter/Interface.php +63 -63
  390. lib/Payone/Api/Request/Parameter/Invoicing/Access/Item.php +258 -258
  391. lib/Payone/Api/Request/Parameter/Invoicing/Item.php +220 -220
  392. lib/Payone/Api/Request/Parameter/Invoicing/Transaction.php +195 -195
  393. lib/Payone/Api/Request/Parameter/ManageMandate/Abstract.php +40 -40
  394. lib/Payone/Api/Request/Parameter/ManageMandate/PaymentMethod/Abstract.php +40 -40
  395. lib/Payone/Api/Request/Parameter/ManageMandate/PaymentMethod/BankAccount.php +136 -136
  396. lib/Payone/Api/Request/Parameter/ManageMandate/PersonalData.php +200 -200
  397. lib/Payone/Api/Request/Parameter/Paydata/Paydata.php +18 -8
  398. lib/Payone/Api/Request/Parameter/Refund/Abstract.php +40 -40
  399. lib/Payone/Api/Request/Parameter/Refund/PaymentMethod/BankAccount.php +196 -196
  400. lib/Payone/Api/Request/Parameter/UpdateAccess/Invoicing/Transaction.php +90 -90
  401. lib/Payone/Api/Request/Parameter/Vauthorization/Abstract.php +38 -38
  402. lib/Payone/Api/Request/Parameter/Vauthorization/Invoicing/Transaction.php +112 -112
  403. lib/Payone/Api/Request/Parameter/Vauthorization/PaymentMethod/Abstract.php +36 -36
  404. lib/Payone/Api/Request/Parameter/Vauthorization/PaymentMethod/CreditCard.php +177 -177
  405. lib/Payone/Api/Request/Parameter/Vauthorization/PaymentMethod/DebitPayment.php +176 -176
  406. lib/Payone/Api/Request/Parameter/Vauthorization/PersonalData.php +288 -288
  407. lib/Payone/Api/Request/Preauthorization.php +37 -37
  408. lib/Payone/Api/Request/Refund.php +198 -198
  409. lib/Payone/Api/Request/UpdateAccess.php +353 -353
  410. lib/Payone/Api/Request/Vauthorization.php +330 -330
  411. lib/Payone/Api/Response/3dsCheck/Enrolled.php +175 -175
  412. lib/Payone/Api/Response/3dsCheck/Invalid.php +37 -37
  413. lib/Payone/Api/Response/3dsCheck/Valid.php +95 -95
  414. lib/Payone/Api/Response/Abstract.php +9 -0
  415. lib/Payone/Api/Response/AddressCheck/Invalid.php +55 -55
  416. lib/Payone/Api/Response/AddressCheck/Valid.php +245 -244
  417. lib/Payone/Api/Response/Authorization/Abstract.php +437 -429
  418. lib/Payone/Api/Response/Authorization/Approved.php +96 -96
  419. lib/Payone/Api/Response/Authorization/Redirect.php +94 -94
  420. lib/Payone/Api/Response/BankAccountCheck/Blocked.php +35 -35
  421. lib/Payone/Api/Response/BankAccountCheck/Invalid.php +37 -37
  422. lib/Payone/Api/Response/BankAccountCheck/Valid.php +155 -155
  423. lib/Payone/Api/Response/Capture/Approved.php +408 -406
  424. lib/Payone/Api/Response/Consumerscore/Invalid.php +55 -55
  425. lib/Payone/Api/Response/Consumerscore/Valid.php +295 -295
  426. lib/Payone/Api/Response/CreateAccess/Approved.php +95 -95
  427. lib/Payone/Api/Response/CreditCardCheck/Invalid.php +37 -37
  428. lib/Payone/Api/Response/CreditCardCheck/Valid.php +75 -75
  429. lib/Payone/Api/Response/Debit/Approved.php +75 -75
  430. lib/Payone/Api/Response/Error.php +116 -116
  431. lib/Payone/Api/Response/Genericpayment/Abstract.php +4 -2
  432. lib/Payone/Api/Response/Genericpayment/Approved.php +38 -6
  433. lib/Payone/Api/Response/Genericpayment/Ok.php +2 -1
  434. lib/Payone/Api/Response/Interface.php +99 -99
  435. lib/Payone/Api/Response/Invalid.php +116 -116
  436. lib/Payone/Api/Response/Management/GetFile.php +71 -70
  437. lib/Payone/Api/Response/Management/GetInvoice.php +71 -70
  438. lib/Payone/Api/Response/Management/ManageMandate/Approved.php +155 -155
  439. lib/Payone/Api/Response/Management/UpdateAccess/Ok.php +35 -35
  440. lib/Payone/Api/Response/Parameter/Abstract.php +11 -5
  441. lib/Payone/Api/Response/Parameter/Paydata/Paydata.php +19 -10
  442. lib/Payone/Api/Response/Preauthorization/Approved.php +35 -35
  443. lib/Payone/Api/Response/Preauthorization/Redirect.php +35 -35
  444. lib/Payone/Api/Response/Refund/Approved.php +75 -75
  445. lib/Payone/Api/Response/Vauthorization/Approved.php +95 -95
  446. lib/Payone/Api/Service/Abstract.php +171 -171
  447. lib/Payone/Api/Service/Interface.php +54 -54
  448. lib/Payone/Api/Service/Management/GetFile.php +66 -66
  449. lib/Payone/Api/Service/Management/GetInvoice.php +85 -85
  450. lib/Payone/Api/Service/Management/ManageMandate.php +67 -67
  451. lib/Payone/Api/Service/Management/UpdateAccess.php +83 -83
  452. lib/Payone/Api/Service/Payment/Abstract.php +36 -36
  453. lib/Payone/Api/Service/Payment/Authorize.php +87 -87
  454. lib/Payone/Api/Service/Payment/AuthorizeInterface.php +42 -42
  455. lib/Payone/Api/Service/Payment/Capture.php +84 -84
  456. lib/Payone/Api/Service/Payment/CaptureInterface.php +42 -42
  457. lib/Payone/Api/Service/Payment/CreateAccess.php +84 -84
  458. lib/Payone/Api/Service/Payment/CreateAccessInterface.php +42 -42
  459. lib/Payone/Api/Service/Payment/Debit.php +84 -84
  460. lib/Payone/Api/Service/Payment/DebitInterface.php +42 -42
  461. lib/Payone/Api/Service/Payment/Genericpayment.php +4 -2
  462. lib/Payone/Api/Service/Payment/Preauthorize.php +94 -94
  463. lib/Payone/Api/Service/Payment/PreauthorizeInterface.php +42 -42
  464. lib/Payone/Api/Service/Payment/Refund.php +85 -85
  465. lib/Payone/Api/Service/Payment/RefundInterface.php +42 -42
  466. lib/Payone/Api/Service/Payment/Vauthorize.php +83 -83
  467. lib/Payone/Api/Service/Payment/VauthorizeInterface.php +42 -42
  468. lib/Payone/Api/Service/ProtocolRequest/Interface.php +47 -47
  469. lib/Payone/Api/Service/Verification/3dsCheck.php +93 -93
  470. lib/Payone/Api/Service/Verification/AddressCheck.php +87 -87
  471. lib/Payone/Api/Service/Verification/BankAccountCheck.php +86 -86
  472. lib/Payone/Api/Service/Verification/Consumerscore.php +86 -86
  473. lib/Payone/Api/Service/Verification/CreditCardCheck.php +85 -85
  474. lib/Payone/Api/Validator/Abstract.php +35 -35
  475. lib/Payone/Api/Validator/DefaultParameters.php +63 -60
  476. lib/Payone/Api/Validator/Interface.php +41 -41
  477. lib/Payone/Bootstrap.php +48 -48
  478. lib/Payone/Builder.php +59 -26
  479. lib/Payone/ClientApi/Enum/RequestType.php +36 -36
  480. lib/Payone/ClientApi/Enum/ResponseType.php +37 -37
  481. lib/Payone/ClientApi/Exception/Abstract.php +36 -36
  482. lib/Payone/ClientApi/Exception/InvalidParameters.php +36 -36
  483. lib/Payone/ClientApi/Request/Abstract.php +431 -427
  484. lib/Payone/ClientApi/Request/CreditCardCheck.php +116 -116
  485. lib/Payone/ClientApi/Request/Interface.php +173 -173
  486. lib/Payone/ClientApi/Service/GenerateHash.php +110 -108
  487. lib/Payone/Config.php +267 -264
  488. lib/Payone/Config/Abstract.php +1 -2
  489. lib/Payone/Log4php/Logger.php +0 -571
  490. lib/Payone/Log4php/LoggerAppender.php +0 -287
  491. lib/Payone/Log4php/LoggerAppenderConsole.php +0 -105
  492. lib/Payone/Log4php/LoggerAppenderDailyFile.php +0 -110
  493. lib/Payone/Log4php/LoggerAppenderEcho.php +0 -85
  494. lib/Payone/Log4php/LoggerAppenderFile.php +0 -162
  495. lib/Payone/Log4php/LoggerAppenderMail.php +0 -113
  496. lib/Payone/Log4php/LoggerAppenderMailEvent.php +0 -151
  497. lib/Payone/Log4php/LoggerAppenderMongoDB.php +0 -314
  498. lib/Payone/Log4php/LoggerAppenderNull.php +0 -51
  499. lib/Payone/Log4php/LoggerAppenderPDO.php +0 -294
  500. lib/Payone/Log4php/LoggerAppenderPhp.php +0 -56
  501. lib/Payone/Log4php/LoggerAppenderPool.php +0 -99
  502. lib/Payone/Log4php/LoggerAppenderRollingFile.php +0 -231
  503. lib/Payone/Log4php/LoggerAppenderSocket.php +0 -122
  504. lib/Payone/Log4php/LoggerAppenderSyslog.php +0 -305
  505. lib/Payone/Log4php/LoggerAutoloader.php +0 -140
  506. lib/Payone/Log4php/LoggerConfigurable.php +0 -119
  507. lib/Payone/Log4php/LoggerConfigurationAdapter.php +0 -40
  508. lib/Payone/Log4php/LoggerConfigurationAdapterINI.php +0 -300
  509. lib/Payone/Log4php/LoggerConfigurationAdapterPHP.php +0 -85
  510. lib/Payone/Log4php/LoggerConfigurationAdapterXML.php +0 -259
  511. lib/Payone/Log4php/LoggerConfigurator.php +0 -42
  512. lib/Payone/Log4php/LoggerConfiguratorDefault.php +0 -485
  513. lib/Payone/Log4php/LoggerException.php +0 -28
  514. lib/Payone/Log4php/LoggerFilter.php +0 -126
  515. lib/Payone/Log4php/LoggerFilterDenyAll.php +0 -56
  516. lib/Payone/Log4php/LoggerFilterLevelMatch.php +0 -100
  517. lib/Payone/Log4php/LoggerFilterLevelRange.php +0 -138
  518. lib/Payone/Log4php/LoggerFilterStringMatch.php +0 -89
  519. lib/Payone/Log4php/LoggerFormattingInfo.php +0 -54
  520. lib/Payone/Log4php/LoggerHierarchy.php +0 -240
  521. lib/Payone/Log4php/LoggerLayout.php +0 -74
  522. lib/Payone/Log4php/LoggerLayoutHtml.php +0 -214
  523. lib/Payone/Log4php/LoggerLayoutPattern.php +0 -154
  524. lib/Payone/Log4php/LoggerLayoutSerialized.php +0 -55
  525. lib/Payone/Log4php/LoggerLayoutSimple.php +0 -56
  526. lib/Payone/Log4php/LoggerLayoutTTCC.php +0 -197
  527. lib/Payone/Log4php/LoggerLayoutXml.php +0 -210
  528. lib/Payone/Log4php/LoggerLevel.php +0 -256
  529. lib/Payone/Log4php/LoggerLocationInfo.php +0 -110
  530. lib/Payone/Log4php/LoggerLoggingEvent.php +0 -370
  531. lib/Payone/Log4php/LoggerMDC.php +0 -118
  532. lib/Payone/Log4php/LoggerNDC.php +0 -203
  533. lib/Payone/Log4php/LoggerOptionConverter.php +0 -451
  534. lib/Payone/Log4php/LoggerPatternConverter.php +0 -131
  535. lib/Payone/Log4php/LoggerPatternConverterClass.php +0 -34
  536. lib/Payone/Log4php/LoggerPatternConverterCookie.php +0 -33
  537. lib/Payone/Log4php/LoggerPatternConverterDate.php +0 -89
  538. lib/Payone/Log4php/LoggerPatternConverterEnvironment.php +0 -33
  539. lib/Payone/Log4php/LoggerPatternConverterFile.php +0 -32
  540. lib/Payone/Log4php/LoggerPatternConverterLevel.php +0 -32
  541. lib/Payone/Log4php/LoggerPatternConverterLine.php +0 -33
  542. lib/Payone/Log4php/LoggerPatternConverterLiteral.php +0 -38
  543. lib/Payone/Log4php/LoggerPatternConverterLocation.php +0 -37
  544. lib/Payone/Log4php/LoggerPatternConverterLogger.php +0 -114
  545. lib/Payone/Log4php/LoggerPatternConverterMDC.php +0 -53
  546. lib/Payone/Log4php/LoggerPatternConverterMessage.php +0 -32
  547. lib/Payone/Log4php/LoggerPatternConverterMethod.php +0 -33
  548. lib/Payone/Log4php/LoggerPatternConverterNDC.php +0 -33
  549. lib/Payone/Log4php/LoggerPatternConverterNewLine.php +0 -32
  550. lib/Payone/Log4php/LoggerPatternConverterProcess.php +0 -32
  551. lib/Payone/Log4php/LoggerPatternConverterRelative.php +0 -34
  552. lib/Payone/Log4php/LoggerPatternConverterRequest.php +0 -33
  553. lib/Payone/Log4php/LoggerPatternConverterServer.php +0 -33
  554. lib/Payone/Log4php/LoggerPatternConverterSession.php +0 -33
  555. lib/Payone/Log4php/LoggerPatternConverterSessionID.php +0 -31
  556. lib/Payone/Log4php/LoggerPatternConverterSuperglobal.php +0 -99
  557. lib/Payone/Log4php/LoggerPatternConverterThrowable.php +0 -68
  558. lib/Payone/Log4php/LoggerPatternParser.php +0 -238
  559. lib/Payone/Log4php/LoggerReflectionUtils.php +0 -153
  560. lib/Payone/Log4php/LoggerRendererDefault.php +0 -51
  561. lib/Payone/Log4php/LoggerRendererException.php +0 -41
  562. lib/Payone/Log4php/LoggerRendererMap.php +0 -149
  563. lib/Payone/Log4php/LoggerRendererObject.php +0 -46
  564. lib/Payone/Log4php/LoggerRoot.php +0 -70
  565. lib/Payone/Log4php/LoggerThrowableInformation.php +0 -76
  566. lib/Payone/Log4php/LoggerUtils.php +0 -123
  567. lib/Payone/Log4php/xml/log4php.dtd +0 -148
  568. lib/Payone/Protocol/Exception/FilterNotFound.php +36 -36
  569. lib/Payone/Protocol/Exception/InvalidConfig.php +36 -36
  570. lib/Payone/Protocol/Filter/Abstract.php +73 -73
  571. lib/Payone/Protocol/Filter/Interface.php +53 -53
  572. lib/Payone/Protocol/Filter/MaskAllValue.php +2 -1
  573. lib/Payone/Protocol/Filter/MaskValue.php +96 -96
  574. lib/Payone/Protocol/Logger/Interface.php +51 -51
  575. lib/Payone/Protocol/Logger/Log4php.php +139 -219
  576. lib/Payone/Protocol/Service/ApplyFilters.php +10 -2
  577. lib/Payone/Protocol/Service/Protocol/Abstract.php +94 -92
  578. lib/Payone/SessionStatus/Enum/Action.php +42 -42
  579. lib/Payone/SessionStatus/Exception/Abstract.php +36 -36
  580. lib/Payone/SessionStatus/Exception/MissmatchingKeys.php +37 -37
  581. lib/Payone/SessionStatus/Exception/NoPostRequest.php +37 -37
  582. lib/Payone/SessionStatus/Exception/NoRequestData.php +37 -37
  583. lib/Payone/SessionStatus/Exception/Validation.php +37 -37
  584. lib/Payone/SessionStatus/Mapper/RequestInterface.php +42 -42
  585. lib/Payone/SessionStatus/Persistence/Interface.php +53 -53
  586. lib/Payone/SessionStatus/Request.php +1 -0
  587. lib/Payone/SessionStatus/Request/Abstract.php +2 -0
  588. lib/Payone/SessionStatus/Request/Item.php +280 -280
  589. lib/Payone/SessionStatus/Request/Item/Abstract.php +2 -0
  590. lib/Payone/SessionStatus/Response/Abstract.php +2 -0
  591. lib/Payone/SessionStatus/Response/Interface.php +36 -36
  592. lib/Payone/SessionStatus/Service/HandleRequest.php +207 -206
  593. lib/Payone/SessionStatus/Service/ProtocolRequest.php +115 -115
  594. lib/Payone/SessionStatus/Service/ProtocolRequest/Interface.php +76 -76
  595. lib/Payone/SessionStatus/Validator/Abstract.php +39 -39
  596. lib/Payone/SessionStatus/Validator/DefaultParameters.php +70 -70
  597. lib/Payone/SessionStatus/Validator/Interface.php +41 -41
  598. lib/Payone/SessionStatus/Validator/Ip.php +148 -146
  599. lib/Payone/Settings/Configuration/Abstract.php +45 -45
  600. lib/Payone/Settings/Configuration/Api/RequestType.php +48 -48
  601. lib/Payone/Settings/Configuration/Api/ResponseType.php +48 -48
  602. lib/Payone/Settings/Configuration/Mode.php +48 -48
  603. lib/Payone/Settings/Configuration/PaymentMethod.php +50 -49
  604. lib/Payone/Settings/Configuration/PaymentMethod/CreditCard.php +48 -48
  605. lib/Payone/Settings/Configuration/PaymentMethod/Financing.php +48 -48
  606. lib/Payone/Settings/Configuration/PaymentMethod/OnlineBankTransfer.php +48 -48
  607. lib/Payone/Settings/Configuration/PaymentMethod/RatePay.php +54 -0
  608. lib/Payone/Settings/Configuration/PaymentMethod/Wallet.php +48 -48
  609. lib/Payone/Settings/Configuration/Reminderlevel.php +48 -48
  610. lib/Payone/Settings/Configuration/TransactionStatus/Action.php +48 -48
  611. lib/Payone/Settings/Configuration/Verification/AddressCheck.php +48 -48
  612. lib/Payone/Settings/Configuration/Verification/AvsResult.php +48 -48
  613. lib/Payone/Settings/Configuration/Verification/BankaccountCheck.php +48 -48
  614. lib/Payone/Settings/Configuration/Verification/Consumerscore.php +60 -60
  615. lib/Payone/Settings/Configuration/Verification/Personstatus.php +49 -49
  616. lib/Payone/Settings/Data/ConfigFile/Abstract.php +75 -74
  617. lib/Payone/Settings/Data/ConfigFile/Collection.php +36 -36
  618. lib/Payone/Settings/Data/ConfigFile/Global/StatusMapping.php +77 -77
  619. lib/Payone/Settings/Data/ConfigFile/Interface.php +46 -46
  620. lib/Payone/Settings/Data/ConfigFile/Misc/TransactionstatusForwarding.php +72 -71
  621. lib/Payone/Settings/Data/ConfigFile/PaymentMethod/Abstract.php +232 -232
  622. lib/Payone/Settings/Data/ConfigFile/PaymentMethod/AdvancePayment.php +47 -47
  623. lib/Payone/Settings/Data/ConfigFile/PaymentMethod/Barzahlen.php +37 -37
  624. lib/Payone/Settings/Data/ConfigFile/PaymentMethod/CashOnDelivery.php +152 -152
  625. lib/Payone/Settings/Data/ConfigFile/PaymentMethod/Creditcard.php +74 -74
  626. lib/Payone/Settings/Data/ConfigFile/PaymentMethod/CreditcardIframe.php +37 -37
  627. lib/Payone/Settings/Data/ConfigFile/PaymentMethod/DebitPayment.php +171 -171
  628. lib/Payone/Settings/Data/ConfigFile/PaymentMethod/Financing.php +100 -100
  629. lib/Payone/Settings/Data/ConfigFile/PaymentMethod/Invoice.php +152 -152
  630. lib/Payone/Settings/Data/ConfigFile/PaymentMethod/OnlineBankTransfer.php +44 -44
  631. lib/Payone/Settings/Data/ConfigFile/PaymentMethod/Payolution.php +38 -38
  632. lib/Payone/Settings/Data/ConfigFile/PaymentMethod/Ratepay.php +63 -63
  633. lib/Payone/Settings/Data/ConfigFile/PaymentMethod/Wallet.php +43 -43
  634. lib/Payone/Settings/Data/ConfigFile/Protect/Addresscheck.php +179 -179
  635. lib/Payone/Settings/Data/ConfigFile/Protect/Consumerscore.php +198 -198
  636. lib/Payone/Settings/Data/ConfigFile/Root.php +72 -73
  637. lib/Payone/Settings/Data/ConfigFile/Shop.php +180 -180
  638. lib/Payone/Settings/Data/ConfigFile/Shop/ClearingTypes.php +84 -84
  639. lib/Payone/Settings/Data/ConfigFile/Shop/Global.php +206 -206
  640. lib/Payone/Settings/Data/ConfigFile/Shop/Misc.php +84 -84
  641. lib/Payone/Settings/Data/ConfigFile/Shop/Protect.php +84 -84
  642. lib/Payone/Settings/Data/ConfigFile/Shop/System.php +137 -137
  643. lib/Payone/Settings/Service/XmlGenerate.php +477 -475
  644. lib/Payone/Settings/Service/XmlParse.php +36 -36
  645. lib/Payone/TransactionStatus/Enum/Failedcause.php +55 -55
  646. lib/Payone/TransactionStatus/Enum/Txaction.php +47 -47
  647. lib/Payone/TransactionStatus/Exception/Abstract.php +36 -36
  648. lib/Payone/TransactionStatus/Exception/MissmatchingKeys.php +37 -37
  649. lib/Payone/TransactionStatus/Exception/NoPostRequest.php +37 -37
  650. lib/Payone/TransactionStatus/Exception/NoRequestData.php +37 -37
  651. lib/Payone/TransactionStatus/Exception/Validation.php +37 -37
  652. lib/Payone/TransactionStatus/Mapper/Request.php +46 -46
  653. lib/Payone/TransactionStatus/Mapper/RequestInterface.php +42 -42
  654. lib/Payone/TransactionStatus/Persistence/Interface.php +53 -53
  655. lib/Payone/TransactionStatus/Request/Abstract.php +2 -0
  656. lib/Payone/TransactionStatus/Request/Interface.php +300 -300
  657. lib/Payone/TransactionStatus/Response/Abstract.php +2 -0
  658. lib/Payone/TransactionStatus/Service/HandleRequest.php +221 -220
  659. lib/Payone/TransactionStatus/Service/ProtocolRequest/Interface.php +76 -76
  660. lib/Payone/TransactionStatus/Validator/Abstract.php +39 -39
  661. lib/Payone/TransactionStatus/Validator/DefaultParameters.php +70 -70
  662. lib/Payone/TransactionStatus/Validator/Interface.php +41 -41
  663. lib/Payone/TransactionStatus/Validator/Ip.php +148 -146
  664. package.xml +6 -6
  665. skin/frontend/base/default/images/payone/ajaxloader.gif +0 -0
  666. skin/frontend/base/default/images/payone/info-icon.png +0 -0
  667. skin/frontend/base/default/images/payone/ratepay_rate.png +0 -0
  668. skin/frontend/base/default/images/payone/ratepay_ratenrechner.png +0 -0
  669. skin/frontend/base/default/payone/core/payolution.css +20 -7
  670. skin/frontend/base/default/payone/core/ratepay.css +490 -0
app/code/community/Payone/Core/Block/Adminhtml/Configuration/Wizard/Page/Edit.php CHANGED
@@ -49,23 +49,29 @@ class Payone_Core_Block_Adminhtml_Configuration_Wizard_Page_Edit
49
$this->_removeButton('back');
50
$this->_removeButton('save');
51
52
- $this->_addButton('cancel', array(
53
'label' => Mage::helper('payone_core')->__('Cancel'),
54
'onclick' => 'parent.window.wizardPopup.close()',
55
'class' => 'default',
56
- ));
57
58
- $this->_addButton('back', array(
59
'label' => Mage::helper('payone_core')->__('Back'),
60
'onclick' => 'setLocation(\'' . $this->getBackUrl() . '\')',
61
'class' => 'default',
62
- ));
63
64
- $this->_addButton('save', array(
65
'label' => Mage::helper('payone_core')->__('Save & Continue'),
66
'onclick' => 'editForm.submit();',
67
'class' => 'default',
68
- ));
69
70
$this->setData('edit_form_id', 'edit_form_wizard_page');
71
}
49
$this->_removeButton('back');
50
$this->_removeButton('save');
51
52
+ $this->_addButton(
53
+ 'cancel', array(
54
'label' => Mage::helper('payone_core')->__('Cancel'),
55
'onclick' => 'parent.window.wizardPopup.close()',
56
'class' => 'default',
57
+ )
58
+ );
59
60
+ $this->_addButton(
61
+ 'back', array(
62
'label' => Mage::helper('payone_core')->__('Back'),
63
'onclick' => 'setLocation(\'' . $this->getBackUrl() . '\')',
64
'class' => 'default',
65
+ )
66
+ );
67
68
+ $this->_addButton(
69
+ 'save', array(
70
'label' => Mage::helper('payone_core')->__('Save & Continue'),
71
'onclick' => 'editForm.submit();',
72
'class' => 'default',
73
+ )
74
+ );
75
76
$this->setData('edit_form_id', 'edit_form_wizard_page');
77
}
app/code/community/Payone/Core/Block/Adminhtml/Configuration/Wizard/Page/View.php CHANGED
@@ -46,23 +46,29 @@ class Payone_Core_Block_Adminhtml_Configuration_Wizard_Page_View
46
$this->_removeButton('edit');
47
$this->_removeButton('back');
48
49
- $this->_addButton('cancel', array(
50
'label' => Mage::helper('adminhtml')->__('Cancel'),
51
'onclick' => 'parent.window.wizardPopup.close()',
52
'class' => 'default'
53
- ));
54
55
- $this->_addButton('back', array(
56
'label' => Mage::helper('adminhtml')->__('Back'),
57
'onclick' => 'window.location.href=\'' . $this->getBackUrl() . '\'',
58
'class' => 'default',
59
- ));
60
61
- $this->_addButton('save', array(
62
'label' => Mage::helper('adminhtml')->__('Continue'),
63
'class' => 'default',
64
'onclick' => 'window.location.href=\'' . $this->getNextUrl() . '\'',
65
- ));
66
67
$this->setId('wizard_page_view');
68
}
@@ -75,6 +81,7 @@ class Payone_Core_Block_Adminhtml_Configuration_Wizard_Page_View
75
/** @var $child Mage_Adminhtml_Block_Abstract */
76
$html .= $child->toHtml();
77
}
78
return $html;
79
}
80
@@ -126,6 +133,7 @@ class Payone_Core_Block_Adminhtml_Configuration_Wizard_Page_View
126
$this->_addButtonChildBlock($childId);
127
}
128
}
129
$this->setChild('plane', $this->getLayout()->createBlock('payone_core/adminhtml_configuration_wizard_page_view_plane'));
130
return $this;
131
}
46
$this->_removeButton('edit');
47
$this->_removeButton('back');
48
49
+ $this->_addButton(
50
+ 'cancel', array(
51
'label' => Mage::helper('adminhtml')->__('Cancel'),
52
'onclick' => 'parent.window.wizardPopup.close()',
53
'class' => 'default'
54
+ )
55
+ );
56
57
+ $this->_addButton(
58
+ 'back', array(
59
'label' => Mage::helper('adminhtml')->__('Back'),
60
'onclick' => 'window.location.href=\'' . $this->getBackUrl() . '\'',
61
'class' => 'default',
62
+ )
63
+ );
64
65
+ $this->_addButton(
66
+ 'save', array(
67
'label' => Mage::helper('adminhtml')->__('Continue'),
68
'class' => 'default',
69
'onclick' => 'window.location.href=\'' . $this->getNextUrl() . '\'',
70
+ )
71
+ );
72
73
$this->setId('wizard_page_view');
74
}
81
/** @var $child Mage_Adminhtml_Block_Abstract */
82
$html .= $child->toHtml();
83
}
84
+
85
return $html;
86
}
87
133
$this->_addButtonChildBlock($childId);
134
}
135
}
136
+
137
$this->setChild('plane', $this->getLayout()->createBlock('payone_core/adminhtml_configuration_wizard_page_view_plane'));
138
return $this;
139
}
app/code/community/Payone/Core/Block/Adminhtml/Configuration/Wizard/Page/View/Plane.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- *
4
- * NOTICE OF LICENSE
5
- *
6
- * This source file is subject to the GNU General Public License (GPL 3)
7
- * that is bundled with this package in the file LICENSE.txt
8
- *
9
- * DISCLAIMER
10
- *
11
- * Do not edit or add to this file if you wish to upgrade Payone_Core to newer
12
- * versions in the future. If you wish to customize Payone_Core for your
13
- * needs please refer to http://www.payone.de for more information.
14
- *
15
- * @category Payone
16
- * @package Payone_Core_Block
17
- * @subpackage Adminhtml_Protocol
18
- * @copyright Copyright (c) 2015 <kontakt@fatchip.de> - www.fatchip.com
19
- * @author Robert M�ller <robert.mueller@fatchip.de>
20
- * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
- * @link http://www.fatchip.com
22
- */
23
- class Payone_Core_Block_Adminhtml_Configuration_Wizard_Page_View_Plane extends Mage_Adminhtml_Block_Widget
24
- {
25
- /**
26
- *
27
- */
28
- public function __construct()
29
- {
30
- parent::__construct();
31
- $this->setTemplate('payone/core/configuration/wizard/page/view/plane.phtml');
32
- }
33
}
1
+ <?php
2
+ /**
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the GNU General Public License (GPL 3)
7
+ * that is bundled with this package in the file LICENSE.txt
8
+ *
9
+ * DISCLAIMER
10
+ *
11
+ * Do not edit or add to this file if you wish to upgrade Payone_Core to newer
12
+ * versions in the future. If you wish to customize Payone_Core for your
13
+ * needs please refer to http://www.payone.de for more information.
14
+ *
15
+ * @category Payone
16
+ * @package Payone_Core_Block
17
+ * @subpackage Adminhtml_Protocol
18
+ * @copyright Copyright (c) 2015 <kontakt@fatchip.de> - www.fatchip.com
19
+ * @author Robert M�ller <robert.mueller@fatchip.de>
20
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
+ * @link http://www.fatchip.com
22
+ */
23
+ class Payone_Core_Block_Adminhtml_Configuration_Wizard_Page_View_Plane extends Mage_Adminhtml_Block_Widget
24
+ {
25
+ /**
26
+ *
27
+ */
28
+ public function __construct()
29
+ {
30
+ parent::__construct();
31
+ $this->setTemplate('payone/core/configuration/wizard/page/view/plane.phtml');
32
+ }
33
}
app/code/community/Payone/Core/Block/Adminhtml/Information.php CHANGED
@@ -1,44 +1,44 @@
1
- <?php
2
- /**
3
- *
4
- * NOTICE OF LICENSE
5
- *
6
- * This source file is subject to the GNU General Public License (GPL 3)
7
- * that is bundled with this package in the file LICENSE.txt
8
- *
9
- * DISCLAIMER
10
- *
11
- * Do not edit or add to this file if you wish to upgrade Payone_Core to newer
12
- * versions in the future. If you wish to customize Payone_Core for your
13
- * needs please refer to http://www.payone.de for more information.
14
- *
15
- * @category Payone
16
- * @package Payone_Core_Block
17
- * @subpackage Adminhtml
18
- * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
19
- * @author Matthias Walter <info@noovias.com>
20
- * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
- * @link http://www.noovias.com
22
- */
23
-
24
- /**
25
- *
26
- * @category Payone
27
- * @package Payone_Core_Block
28
- * @subpackage Adminhtml
29
- * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
30
- * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
- * @link http://www.noovias.com
32
- */
33
- class Payone_Core_Block_Adminhtml_Information extends Payone_Core_Block_Adminhtml_Information_Abstract
34
- {
35
-
36
- /**
37
- * @return string
38
- */
39
- public function getPayoneUrl()
40
- {
41
- $url = $this->escapeUrl('http://www.payone.de/embedded-sites/magento/information/');
42
- return $url;
43
- }
44
}
1
+ <?php
2
+ /**
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the GNU General Public License (GPL 3)
7
+ * that is bundled with this package in the file LICENSE.txt
8
+ *
9
+ * DISCLAIMER
10
+ *
11
+ * Do not edit or add to this file if you wish to upgrade Payone_Core to newer
12
+ * versions in the future. If you wish to customize Payone_Core for your
13
+ * needs please refer to http://www.payone.de for more information.
14
+ *
15
+ * @category Payone
16
+ * @package Payone_Core_Block
17
+ * @subpackage Adminhtml
18
+ * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
19
+ * @author Matthias Walter <info@noovias.com>
20
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
+ * @link http://www.noovias.com
22
+ */
23
+
24
+ /**
25
+ *
26
+ * @category Payone
27
+ * @package Payone_Core_Block
28
+ * @subpackage Adminhtml
29
+ * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
30
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
+ * @link http://www.noovias.com
32
+ */
33
+ class Payone_Core_Block_Adminhtml_Information extends Payone_Core_Block_Adminhtml_Information_Abstract
34
+ {
35
+
36
+ /**
37
+ * @return string
38
+ */
39
+ public function getPayoneUrl()
40
+ {
41
+ $url = $this->escapeUrl('http://www.payone.de/embedded-sites/magento/information/');
42
+ return $url;
43
+ }
44
}
app/code/community/Payone/Core/Block/Adminhtml/Information/Abstract.php CHANGED
@@ -1,47 +1,47 @@
1
- <?php
2
- /**
3
- *
4
- * NOTICE OF LICENSE
5
- *
6
- * This source file is subject to the GNU General Public License (GPL 3)
7
- * that is bundled with this package in the file LICENSE.txt
8
- *
9
- * DISCLAIMER
10
- *
11
- * Do not edit or add to this file if you wish to upgrade Payone_Core to newer
12
- * versions in the future. If you wish to customize Payone_Core for your
13
- * needs please refer to http://www.payone.de for more information.
14
- *
15
- * @category Payone
16
- * @package Payone_Core_Block
17
- * @subpackage Adminhtml_Information
18
- * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
19
- * @author Matthias Walter <info@noovias.com>
20
- * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
- * @link http://www.noovias.com
22
- */
23
-
24
- /**
25
- *
26
- * @category Payone
27
- * @package Payone_Core_Block
28
- * @subpackage Adminhtml_Information
29
- * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
30
- * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
- * @link http://www.noovias.com
32
- */
33
- abstract class Payone_Core_Block_Adminhtml_Information_Abstract extends Mage_Adminhtml_Block_Template
34
- {
35
- /**
36
- *
37
- */
38
- public function _construct()
39
- {
40
- $this->setTemplate("payone/core/information/iframe.phtml");
41
- }
42
- /**
43
- * @abstract
44
- * @return mixed
45
- */
46
- abstract public function getPayoneUrl();
47
}
1
+ <?php
2
+ /**
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the GNU General Public License (GPL 3)
7
+ * that is bundled with this package in the file LICENSE.txt
8
+ *
9
+ * DISCLAIMER
10
+ *
11
+ * Do not edit or add to this file if you wish to upgrade Payone_Core to newer
12
+ * versions in the future. If you wish to customize Payone_Core for your
13
+ * needs please refer to http://www.payone.de for more information.
14
+ *
15
+ * @category Payone
16
+ * @package Payone_Core_Block
17
+ * @subpackage Adminhtml_Information
18
+ * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
19
+ * @author Matthias Walter <info@noovias.com>
20
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
+ * @link http://www.noovias.com
22
+ */
23
+
24
+ /**
25
+ *
26
+ * @category Payone
27
+ * @package Payone_Core_Block
28
+ * @subpackage Adminhtml_Information
29
+ * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
30
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
+ * @link http://www.noovias.com
32
+ */
33
+ abstract class Payone_Core_Block_Adminhtml_Information_Abstract extends Mage_Adminhtml_Block_Template
34
+ {
35
+ /**
36
+ *
37
+ */
38
+ public function _construct()
39
+ {
40
+ $this->setTemplate("payone/core/information/iframe.phtml");
41
+ }
42
+ /**
43
+ * @abstract
44
+ * @return mixed
45
+ */
46
+ abstract public function getPayoneUrl();
47
}
app/code/community/Payone/Core/Block/Adminhtml/Protocol/Api.php CHANGED
@@ -1,47 +1,47 @@
1
- <?php
2
- /**
3
- *
4
- * NOTICE OF LICENSE
5
- *
6
- * This source file is subject to the GNU General Public License (GPL 3)
7
- * that is bundled with this package in the file LICENSE.txt
8
- *
9
- * DISCLAIMER
10
- *
11
- * Do not edit or add to this file if you wish to upgrade Payone_Core to newer
12
- * versions in the future. If you wish to customize Payone_Core for your
13
- * needs please refer to http://www.payone.de for more information.
14
- *
15
- * @category Payone
16
- * @package Payone_Core_Block
17
- * @subpackage Adminhtml_Protocol
18
- * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
19
- * @author Matthias Walter <info@noovias.com>
20
- * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
- * @link http://www.noovias.com
22
- */
23
-
24
- /**
25
- *
26
- * @category Payone
27
- * @package Payone_Core_Block
28
- * @subpackage Adminhtml_Protocol
29
- * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
30
- * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
- * @link http://www.noovias.com
32
- */
33
- class Payone_Core_Block_Adminhtml_Protocol_Api extends Payone_Core_Block_Adminhtml_Widget_Grid_Container
34
- {
35
- /**
36
- *
37
- */
38
- public function __construct()
39
- {
40
- $this->_blockGroup = 'payone_core';
41
- $this->_controller = 'adminhtml_protocol_api';
42
- $this->_headerText = Mage::helper('payone_core')->__('Protocol - Api');
43
-
44
- parent::__construct();
45
- $this->removeButton('add');
46
- }
47
}
1
+ <?php
2
+ /**
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the GNU General Public License (GPL 3)
7
+ * that is bundled with this package in the file LICENSE.txt
8
+ *
9
+ * DISCLAIMER
10
+ *
11
+ * Do not edit or add to this file if you wish to upgrade Payone_Core to newer
12
+ * versions in the future. If you wish to customize Payone_Core for your
13
+ * needs please refer to http://www.payone.de for more information.
14
+ *
15
+ * @category Payone
16
+ * @package Payone_Core_Block
17
+ * @subpackage Adminhtml_Protocol
18
+ * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
19
+ * @author Matthias Walter <info@noovias.com>
20
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
+ * @link http://www.noovias.com
22
+ */
23
+
24
+ /**
25
+ *
26
+ * @category Payone
27
+ * @package Payone_Core_Block
28
+ * @subpackage Adminhtml_Protocol
29
+ * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
30
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
+ * @link http://www.noovias.com
32
+ */
33
+ class Payone_Core_Block_Adminhtml_Protocol_Api extends Payone_Core_Block_Adminhtml_Widget_Grid_Container
34
+ {
35
+ /**
36
+ *
37
+ */
38
+ public function __construct()
39
+ {
40
+ $this->_blockGroup = 'payone_core';
41
+ $this->_controller = 'adminhtml_protocol_api';
42
+ $this->_headerText = Mage::helper('payone_core')->__('Protocol - Api');
43
+
44
+ parent::__construct();
45
+ $this->removeButton('add');
46
+ }
47
}
app/code/community/Payone/Core/Block/Adminhtml/Protocol/Api/Grid.php CHANGED
@@ -73,7 +73,8 @@ class Payone_Core_Block_Adminhtml_Protocol_Api_Grid extends Mage_Adminhtml_Block
73
'type' => 'text',
74
'filter' => false,
75
'index' => 'id',
76
- ));
77
78
$this->addColumn(
79
'request',
@@ -82,7 +83,8 @@ class Payone_Core_Block_Adminhtml_Protocol_Api_Grid extends Mage_Adminhtml_Block
82
'index' => 'request',
83
'type' => 'options',
84
'options' => $this->getFactory()->getModelSystemConfigRequestType()->toSelectArray()
85
- ));
86
87
$this->addColumn(
88
'response',
@@ -91,7 +93,8 @@ class Payone_Core_Block_Adminhtml_Protocol_Api_Grid extends Mage_Adminhtml_Block
91
'index' => 'response',
92
'type' => 'options',
93
'options' => $this->getFactory()->getModelSystemConfigResponseType()->toSelectArray()
94
- ));
95
96
$this->addColumn(
97
'mode',
@@ -100,7 +103,8 @@ class Payone_Core_Block_Adminhtml_Protocol_Api_Grid extends Mage_Adminhtml_Block
100
'index' => 'mode',
101
'type' => 'options',
102
'options' => $this->getFactory()->getModelSystemConfigMode()->toSelectArray()
103
- ));
104
105
$this->addColumn(
106
'mid',
@@ -108,7 +112,8 @@ class Payone_Core_Block_Adminhtml_Protocol_Api_Grid extends Mage_Adminhtml_Block
108
'header' => $this->helperPayone()->__('Merchant-ID'),
109
'type' => 'text',
110
'index' => 'mid',
111
- ));
112
113
$this->addColumn(
114
'portalid',
@@ -116,7 +121,8 @@ class Payone_Core_Block_Adminhtml_Protocol_Api_Grid extends Mage_Adminhtml_Block
116
'header' => $this->helperPayone()->__('Portal ID'),
117
'type' => 'text',
118
'index' => 'portalid',
119
- ));
120
121
$this->addColumn(
122
'created_at',
@@ -126,10 +132,12 @@ class Payone_Core_Block_Adminhtml_Protocol_Api_Grid extends Mage_Adminhtml_Block
126
'type' => 'datetime',
127
'width' => '80px',
128
'renderer' => 'payone_core/adminhtml_widget_grid_column_renderer_datetime',
129
- ));
130
131
if (Mage::getSingleton('admin/session')->isAllowed('payone/protocol/api/view')) {
132
- $this->addColumn('action',
133
array(
134
'header' => $this->helperPayone()->__('Action'),
135
'width' => '50px',
@@ -146,7 +154,8 @@ class Payone_Core_Block_Adminhtml_Protocol_Api_Grid extends Mage_Adminhtml_Block
146
'sortable' => false,
147
'index' => 'stores',
148
'is_system' => true,
149
- ));
150
}
151
152
if (Mage::getSingleton('admin/session')->isAllowed('payone/protocol/api/export')) {
@@ -187,7 +196,8 @@ class Payone_Core_Block_Adminhtml_Protocol_Api_Grid extends Mage_Adminhtml_Block
187
/**
188
* @return Payone_Core_Model_Factory
189
*/
190
- public function getFactory(){
191
return $this->helperPayone()->getFactory();
192
}
193
73
'type' => 'text',
74
'filter' => false,
75
'index' => 'id',
76
+ )
77
+ );
78
79
$this->addColumn(
80
'request',
83
'index' => 'request',
84
'type' => 'options',
85
'options' => $this->getFactory()->getModelSystemConfigRequestType()->toSelectArray()
86
+ )
87
+ );
88
89
$this->addColumn(
90
'response',
93
'index' => 'response',
94
'type' => 'options',
95
'options' => $this->getFactory()->getModelSystemConfigResponseType()->toSelectArray()
96
+ )
97
+ );
98
99
$this->addColumn(
100
'mode',
103
'index' => 'mode',
104
'type' => 'options',
105
'options' => $this->getFactory()->getModelSystemConfigMode()->toSelectArray()
106
+ )
107
+ );
108
109
$this->addColumn(
110
'mid',
112
'header' => $this->helperPayone()->__('Merchant-ID'),
113
'type' => 'text',
114
'index' => 'mid',
115
+ )
116
+ );
117
118
$this->addColumn(
119
'portalid',
121
'header' => $this->helperPayone()->__('Portal ID'),
122
'type' => 'text',
123
'index' => 'portalid',
124
+ )
125
+ );
126
127
$this->addColumn(
128
'created_at',
132
'type' => 'datetime',
133
'width' => '80px',
134
'renderer' => 'payone_core/adminhtml_widget_grid_column_renderer_datetime',
135
+ )
136
+ );
137
138
if (Mage::getSingleton('admin/session')->isAllowed('payone/protocol/api/view')) {
139
+ $this->addColumn(
140
+ 'action',
141
array(
142
'header' => $this->helperPayone()->__('Action'),
143
'width' => '50px',
154
'sortable' => false,
155
'index' => 'stores',
156
'is_system' => true,
157
+ )
158
+ );
159
}
160
161
if (Mage::getSingleton('admin/session')->isAllowed('payone/protocol/api/export')) {
196
/**
197
* @return Payone_Core_Model_Factory
198
*/
199
+ public function getFactory()
200
+ {
201
return $this->helperPayone()->getFactory();
202
}
203
app/code/community/Payone/Core/Block/Adminhtml/Protocol/Api/View.php CHANGED
@@ -71,8 +71,11 @@ class Payone_Core_Block_Adminhtml_Protocol_Api_View
71
$this->_addButtonChildBlock($childId);
72
}
73
}
74
- $this->setChild('plane', $this->getLayout()
75
- ->createBlock('payone_core/adminhtml_protocol_api_view_plane', 'payone_core_adminhtml_protocol_api_view_plane'));
76
return $this;
77
}
78
71
$this->_addButtonChildBlock($childId);
72
}
73
}
74
+
75
+ $this->setChild(
76
+ 'plane', $this->getLayout()
77
+ ->createBlock('payone_core/adminhtml_protocol_api_view_plane', 'payone_core_adminhtml_protocol_api_view_plane')
78
+ );
79
return $this;
80
}
81
app/code/community/Payone/Core/Block/Adminhtml/Protocol/Api/View/Tab/Exception.php CHANGED
@@ -53,6 +53,7 @@ class Payone_Core_Block_Adminhtml_Protocol_Api_View_Tab_Exception extends Mage_A
53
{
54
return true;
55
}
56
return false;
57
}
58
53
{
54
return true;
55
}
56
+
57
return false;
58
}
59
app/code/community/Payone/Core/Block/Adminhtml/Protocol/TransactionStatus.php CHANGED
@@ -1,48 +1,48 @@
1
- <?php
2
- /**
3
- *
4
- * NOTICE OF LICENSE
5
- *
6
- * This source file is subject to the GNU General Public License (GPL 3)
7
- * that is bundled with this package in the file LICENSE.txt
8
- *
9
- * DISCLAIMER
10
- *
11
- * Do not edit or add to this file if you wish to upgrade Payone_Core to newer
12
- * versions in the future. If you wish to customize Payone_Core for your
13
- * needs please refer to http://www.payone.de for more information.
14
- *
15
- * @category Payone
16
- * @package Payone_Core_Block
17
- * @subpackage Adminhtml_Protocol
18
- * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
19
- * @author Matthias Walter <info@noovias.com>
20
- * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
- * @link http://www.noovias.com
22
- */
23
-
24
- /**
25
- *
26
- * @category Payone
27
- * @package Payone_Core_Block
28
- * @subpackage Adminhtml_Protocol
29
- * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
30
- * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
- * @link http://www.noovias.com
32
- */
33
- class Payone_Core_Block_Adminhtml_Protocol_TransactionStatus
34
- extends Payone_Core_Block_Adminhtml_Widget_Grid_Container
35
- {
36
- /**
37
- *
38
- */
39
- public function __construct()
40
- {
41
- $this->_blockGroup = 'payone_core';
42
- $this->_controller = 'adminhtml_protocol_transactionStatus';
43
- $this->_headerText = Mage::helper('payone_core')->__('Protocol - TransactionStatus');
44
-
45
- parent::__construct();
46
- $this->removeButton('add');
47
- }
48
}
1
+ <?php
2
+ /**
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the GNU General Public License (GPL 3)
7
+ * that is bundled with this package in the file LICENSE.txt
8
+ *
9
+ * DISCLAIMER
10
+ *
11
+ * Do not edit or add to this file if you wish to upgrade Payone_Core to newer
12
+ * versions in the future. If you wish to customize Payone_Core for your
13
+ * needs please refer to http://www.payone.de for more information.
14
+ *
15
+ * @category Payone
16
+ * @package Payone_Core_Block
17
+ * @subpackage Adminhtml_Protocol
18
+ * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
19
+ * @author Matthias Walter <info@noovias.com>
20
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
+ * @link http://www.noovias.com
22
+ */
23
+
24
+ /**
25
+ *
26
+ * @category Payone
27
+ * @package Payone_Core_Block
28
+ * @subpackage Adminhtml_Protocol
29
+ * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
30
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
+ * @link http://www.noovias.com
32
+ */
33
+ class Payone_Core_Block_Adminhtml_Protocol_TransactionStatus
34
+ extends Payone_Core_Block_Adminhtml_Widget_Grid_Container
35
+ {
36
+ /**
37
+ *
38
+ */
39
+ public function __construct()
40
+ {
41
+ $this->_blockGroup = 'payone_core';
42
+ $this->_controller = 'adminhtml_protocol_transactionStatus';
43
+ $this->_headerText = Mage::helper('payone_core')->__('Protocol - TransactionStatus');
44
+
45
+ parent::__construct();
46
+ $this->removeButton('add');
47
+ }
48
}
app/code/community/Payone/Core/Block/Adminhtml/Protocol/TransactionStatus/Grid.php CHANGED
@@ -73,7 +73,8 @@ class Payone_Core_Block_Adminhtml_Protocol_TransactionStatus_Grid extends Mage_A
73
'type' => 'text',
74
'index' => 'id',
75
'filter' => false,
76
- ));
77
78
$this->addColumn(
79
'txid',
@@ -81,7 +82,8 @@ class Payone_Core_Block_Adminhtml_Protocol_TransactionStatus_Grid extends Mage_A
81
'header' => $this->helperPayone()->__('Txid'),
82
'type' => 'text',
83
'index' => 'txid',
84
- ));
85
86
$this->addColumn(
87
'reference',
@@ -89,7 +91,8 @@ class Payone_Core_Block_Adminhtml_Protocol_TransactionStatus_Grid extends Mage_A
89
'header' => $this->helperPayone()->__('Reference'),
90
'type' => 'text',
91
'index' => 'reference',
92
- ));
93
94
$this->addColumn(
95
'txaction',
@@ -98,7 +101,8 @@ class Payone_Core_Block_Adminhtml_Protocol_TransactionStatus_Grid extends Mage_A
98
'index' => 'txaction',
99
'type' => 'options',
100
'options' => $this->getPayoneFactory()->getModelSystemConfigTransactionStatus()->toSelectArray()
101
- ));
102
103
$this->addColumn(
104
'txtime',
@@ -106,7 +110,8 @@ class Payone_Core_Block_Adminhtml_Protocol_TransactionStatus_Grid extends Mage_A
106
'header' => $this->helperPayone()->__('TxTime'),
107
'index' => 'txtime',
108
'type' => 'text',
109
- ));
110
111
$this->addColumn(
112
'sequencenumber',
@@ -114,7 +119,8 @@ class Payone_Core_Block_Adminhtml_Protocol_TransactionStatus_Grid extends Mage_A
114
'header' => $this->helperPayone()->__('Sequencenumber'),
115
'index' => 'sequencenumber',
116
'type' => 'text',
117
- ));
118
119
$this->addColumn(
120
'clearingtype',
@@ -123,7 +129,8 @@ class Payone_Core_Block_Adminhtml_Protocol_TransactionStatus_Grid extends Mage_A
123
'index' => 'clearingtype',
124
'type' => 'options',
125
'options' => $this->getPayoneFactory()->getModelSystemConfigClearingType()->toSelectArray()
126
- ));
127
128
$this->addColumn(
129
'mode',
@@ -132,7 +139,8 @@ class Payone_Core_Block_Adminhtml_Protocol_TransactionStatus_Grid extends Mage_A
132
'index' => 'mode',
133
'type' => 'options',
134
'options' => $this->getPayoneFactory()->getModelSystemConfigMode()->toSelectArray()
135
- ));
136
137
$this->addColumn(
138
'portalid',
@@ -140,7 +148,8 @@ class Payone_Core_Block_Adminhtml_Protocol_TransactionStatus_Grid extends Mage_A
140
'header' => $this->helperPayone()->__('Portal-ID'),
141
'index' => 'portalid',
142
'type' => 'text',
143
- ));
144
145
$this->addColumn(
146
'receivable',
@@ -148,7 +157,8 @@ class Payone_Core_Block_Adminhtml_Protocol_TransactionStatus_Grid extends Mage_A
148
'header' => $this->helperPayone()->__('Receivable'),
149
'index' => 'receivable',
150
'type' => 'text',
151
- ));
152
153
$this->addColumn(
154
'balance',
@@ -156,7 +166,8 @@ class Payone_Core_Block_Adminhtml_Protocol_TransactionStatus_Grid extends Mage_A
156
'header' => $this->helperPayone()->__('Balance'),
157
'index' => 'balance',
158
'type' => 'text',
159
- ));
160
161
$this->addColumn(
162
'created_at',
@@ -166,7 +177,8 @@ class Payone_Core_Block_Adminhtml_Protocol_TransactionStatus_Grid extends Mage_A
166
'type' => 'datetime',
167
'width' => '80px',
168
'renderer' => 'payone_core/adminhtml_widget_grid_column_renderer_datetime',
169
- ));
170
171
$this->addColumn(
172
'updated_at',
@@ -176,10 +188,12 @@ class Payone_Core_Block_Adminhtml_Protocol_TransactionStatus_Grid extends Mage_A
176
'type' => 'datetime',
177
'width' => '80px',
178
'renderer' => 'payone_core/adminhtml_widget_grid_column_renderer_datetime',
179
- ));
180
181
if (Mage::getSingleton('admin/session')->isAllowed('payone/protocol/transactionStatus/view')) {
182
- $this->addColumn('action',
183
array(
184
'header' => $this->helperPayone()->__('Action'),
185
'width' => '50px',
@@ -196,7 +210,8 @@ class Payone_Core_Block_Adminhtml_Protocol_TransactionStatus_Grid extends Mage_A
196
'sortable' => false,
197
'index' => 'stores',
198
'is_system' => true,
199
- ));
200
}
201
202
if (Mage::getSingleton('admin/session')->isAllowed('payone/protocol/transactionStatus/export')) {
@@ -237,7 +252,8 @@ class Payone_Core_Block_Adminhtml_Protocol_TransactionStatus_Grid extends Mage_A
237
/**
238
* @return Payone_Core_Model_Factory
239
*/
240
- public function getPayoneFactory(){
241
return $this->helperPayone()->getFactory();
242
}
243
73
'type' => 'text',
74
'index' => 'id',
75
'filter' => false,
76
+ )
77
+ );
78
79
$this->addColumn(
80
'txid',
82
'header' => $this->helperPayone()->__('Txid'),
83
'type' => 'text',
84
'index' => 'txid',
85
+ )
86
+ );
87
88
$this->addColumn(
89
'reference',
91
'header' => $this->helperPayone()->__('Reference'),
92
'type' => 'text',
93
'index' => 'reference',
94
+ )
95
+ );
96
97
$this->addColumn(
98
'txaction',
101
'index' => 'txaction',
102
'type' => 'options',
103
'options' => $this->getPayoneFactory()->getModelSystemConfigTransactionStatus()->toSelectArray()
104
+ )
105
+ );
106
107
$this->addColumn(
108
'txtime',
110
'header' => $this->helperPayone()->__('TxTime'),
111
'index' => 'txtime',
112
'type' => 'text',
113
+ )
114
+ );
115
116
$this->addColumn(
117
'sequencenumber',
119
'header' => $this->helperPayone()->__('Sequencenumber'),
120
'index' => 'sequencenumber',
121
'type' => 'text',
122
+ )
123
+ );
124
125
$this->addColumn(
126
'clearingtype',
129
'index' => 'clearingtype',
130
'type' => 'options',
131
'options' => $this->getPayoneFactory()->getModelSystemConfigClearingType()->toSelectArray()
132
+ )
133
+ );
134
135
$this->addColumn(
136
'mode',
139
'index' => 'mode',
140
'type' => 'options',
141
'options' => $this->getPayoneFactory()->getModelSystemConfigMode()->toSelectArray()
142
+ )
143
+ );
144
145
$this->addColumn(
146
'portalid',
148
'header' => $this->helperPayone()->__('Portal-ID'),
149
'index' => 'portalid',
150
'type' => 'text',
151
+ )
152
+ );
153
154
$this->addColumn(
155
'receivable',
157
'header' => $this->helperPayone()->__('Receivable'),
158
'index' => 'receivable',
159
'type' => 'text',
160
+ )
161
+ );
162
163
$this->addColumn(
164
'balance',
166
'header' => $this->helperPayone()->__('Balance'),
167
'index' => 'balance',
168
'type' => 'text',
169
+ )
170
+ );
171
172
$this->addColumn(
173
'created_at',
177
'type' => 'datetime',
178
'width' => '80px',
179
'renderer' => 'payone_core/adminhtml_widget_grid_column_renderer_datetime',
180
+ )
181
+ );
182
183
$this->addColumn(
184
'updated_at',
188
'type' => 'datetime',
189
'width' => '80px',
190
'renderer' => 'payone_core/adminhtml_widget_grid_column_renderer_datetime',
191
+ )
192
+ );
193
194
if (Mage::getSingleton('admin/session')->isAllowed('payone/protocol/transactionStatus/view')) {
195
+ $this->addColumn(
196
+ 'action',
197
array(
198
'header' => $this->helperPayone()->__('Action'),
199
'width' => '50px',
210
'sortable' => false,
211
'index' => 'stores',
212
'is_system' => true,
213
+ )
214
+ );
215
}
216
217
if (Mage::getSingleton('admin/session')->isAllowed('payone/protocol/transactionStatus/export')) {
252
/**
253
* @return Payone_Core_Model_Factory
254
*/
255
+ public function getPayoneFactory()
256
+ {
257
return $this->helperPayone()->getFactory();
258
}
259
app/code/community/Payone/Core/Block/Adminhtml/Protocol/TransactionStatus/View.php CHANGED
@@ -43,17 +43,21 @@ class Payone_Core_Block_Adminhtml_Protocol_TransactionStatus_View
43
$this->_blockGroup = 'payone_core_transactionstatus_view';
44
$this->_controller = 'adminhtml_protocol_transactionStatus';
45
46
- $this->_addButton('forward_to_order', array(
47
'label' => Mage::helper('payone_core')->__('Go to Order'),
48
'onclick' => 'setLocation(\'' . $this->getForwardToOrderUrl() . '\')',
49
'class' => 'go',
50
- ), 0, 250);
51
52
- $this->_addButton('forward_to_transaction', array(
53
'label' => Mage::helper('payone_core')->__('Go to Transaction'),
54
'onclick' => 'setLocation(\'' . $this->getForwardToTransactionUrl() . '\')',
55
'class' => 'go',
56
- ), 0, 500);
57
58
parent::__construct();
59
@@ -106,7 +110,9 @@ class Payone_Core_Block_Adminhtml_Protocol_TransactionStatus_View
106
$this->_addButtonChildBlock($childId);
107
}
108
}
109
- $this->setChild('plane',
110
$this->getLayout()->createBlock(
111
'payone_core/adminhtml_protocol_transactionStatus_view_plane',
112
'payone_core_adminhtml_protocol_transactionstatus_view_plane'
43
$this->_blockGroup = 'payone_core_transactionstatus_view';
44
$this->_controller = 'adminhtml_protocol_transactionStatus';
45
46
+ $this->_addButton(
47
+ 'forward_to_order', array(
48
'label' => Mage::helper('payone_core')->__('Go to Order'),
49
'onclick' => 'setLocation(\'' . $this->getForwardToOrderUrl() . '\')',
50
'class' => 'go',
51
+ ), 0, 250
52
+ );
53
54
+ $this->_addButton(
55
+ 'forward_to_transaction', array(
56
'label' => Mage::helper('payone_core')->__('Go to Transaction'),
57
'onclick' => 'setLocation(\'' . $this->getForwardToTransactionUrl() . '\')',
58
'class' => 'go',
59
+ ), 0, 500
60
+ );
61
62
parent::__construct();
63
110
$this->_addButtonChildBlock($childId);
111
}
112
}
113
+
114
+ $this->setChild(
115
+ 'plane',
116
$this->getLayout()->createBlock(
117
'payone_core/adminhtml_protocol_transactionStatus_view_plane',
118
'payone_core_adminhtml_protocol_transactionstatus_view_plane'
app/code/community/Payone/Core/Block/Adminhtml/Sales/Order.php CHANGED
@@ -1,47 +1,47 @@
1
- <?php
2
- /**
3
- *
4
- * NOTICE OF LICENSE
5
- *
6
- * This source file is subject to the GNU General Public License (GPL 3)
7
- * that is bundled with this package in the file LICENSE.txt
8
- *
9
- * DISCLAIMER
10
- *
11
- * Do not edit or add to this file if you wish to upgrade Payone_Core to newer
12
- * versions in the future. If you wish to customize Payone_Core for your
13
- * needs please refer to http://www.payone.de for more information.
14
- *
15
- * @category Payone
16
- * @package Payone_Core_Block
17
- * @subpackage Adminhtml_Sales
18
- * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
19
- * @author Matthias Walter <info@noovias.com>
20
- * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
- * @link http://www.noovias.com
22
- */
23
-
24
- /**
25
- *
26
- * @category Payone
27
- * @package Payone_Core_Block
28
- * @subpackage Adminhtml_Sales
29
- * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
30
- * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
- * @link http://www.noovias.com
32
- */
33
- class Payone_Core_Block_Adminhtml_Sales_Order extends Payone_Core_Block_Adminhtml_Widget_Grid_Container
34
- {
35
- /**
36
- *
37
- */
38
- public function __construct()
39
- {
40
- $this->_blockGroup = 'payone_core';
41
- $this->_controller = 'adminhtml_sales_order';
42
- $this->_headerText = Mage::helper('payone_core')->__('Orders');
43
-
44
- parent::__construct();
45
- $this->removeButton('add');
46
- }
47
}
1
+ <?php
2
+ /**
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the GNU General Public License (GPL 3)
7
+ * that is bundled with this package in the file LICENSE.txt
8
+ *
9
+ * DISCLAIMER
10
+ *
11
+ * Do not edit or add to this file if you wish to upgrade Payone_Core to newer
12
+ * versions in the future. If you wish to customize Payone_Core for your
13
+ * needs please refer to http://www.payone.de for more information.
14
+ *
15
+ * @category Payone
16
+ * @package Payone_Core_Block
17
+ * @subpackage Adminhtml_Sales
18
+ * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
19
+ * @author Matthias Walter <info@noovias.com>
20
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
+ * @link http://www.noovias.com
22
+ */
23
+
24
+ /**
25
+ *
26
+ * @category Payone
27
+ * @package Payone_Core_Block
28
+ * @subpackage Adminhtml_Sales
29
+ * @copyright Copyright (c) 2012 <info@noovias.com> - www.noovias.com
30
+ * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
31
+ * @link http://www.noovias.com
32
+ */
33
+ class Payone_Core_Block_Adminhtml_Sales_Order extends Payone_Core_Block_Adminhtml_Widget_Grid_Container
34
+ {
35
+ /**
36
+ *
37
+ */
38
+ public function __construct()
39
+ {
40
+ $this->_blockGroup = 'payone_core';
41
+ $this->_controller = 'adminhtml_sales_order';
42
+ $this->_headerText = Mage::helper('payone_core')->__('Orders');
43
+
44
+ parent::__construct();
45
+ $this->removeButton('add');
46
+ }
47
}
app/code/community/Payone/Core/Block/Adminhtml/Sales/Order/Grid.php CHANGED
@@ -72,61 +72,77 @@ class Payone_Core_Block_Adminhtml_Sales_Order_Grid extends Mage_Adminhtml_Block_
72
public function _prepareColumns()
73
{
74
75
- $this->addColumn('real_order_id', array(
76
'header'=> Mage::helper('sales')->__('Order #'),
77
'width' => '80px',
78
'type' => 'text',
79
'index' => 'increment_id',
80
- ));
81
82
if (!Mage::app()->isSingleStoreMode()) {
83
- $this->addColumn('store_id', array(
84
'header' => Mage::helper('sales')->__('Purchased From (Store)'),
85
'index' => 'store_id',
86
'type' => 'store',
87
'store_view'=> true,
88
'display_deleted' => true,
89
- ));
90
}
91
92
- $this->addColumn('created_at', array(
93
'header' => Mage::helper('sales')->__('Purchased On'),
94
'index' => 'created_at',
95
'type' => 'datetime',
96
'width' => '100px',
97
- ));
98
99
- $this->addColumn('billing_name', array(
100
'header' => Mage::helper('sales')->__('Bill to Name'),
101
'index' => 'billing_name',
102
- ));
103
104
- $this->addColumn('shipping_name', array(
105
'header' => Mage::helper('sales')->__('Ship to Name'),
106
'index' => 'shipping_name',
107
- ));
108
109
- $this->addColumn('base_grand_total', array(
110
'header' => Mage::helper('sales')->__('G.T. (Base)'),
111
'index' => 'base_grand_total',
112
'type' => 'currency',
113
'currency' => 'base_currency_code',
114
- ));
115
116
- $this->addColumn('grand_total', array(
117
'header' => Mage::helper('sales')->__('G.T. (Purchased)'),
118
'index' => 'grand_total',
119
'type' => 'currency',
120
'currency' => 'order_currency_code',
121
- ));
122
123
- $this->addColumn('status', array(
124
'header' => Mage::helper('sales')->__('Status'),
125
'index' => 'status',
126
'type' => 'options',
127
'width' => '70px',
128
'options' => Mage::getSingleton('sales/order_config')->getStatuses(),
129
- ));
130
131
$this->addColumnAfter(
132
'payone_status',
@@ -182,7 +198,8 @@ class Payone_Core_Block_Adminhtml_Sales_Order_Grid extends Mage_Adminhtml_Block_
182
);
183
184
if (Mage::getSingleton('admin/session')->isAllowed('sales/order/actions/view')) {
185
- $this->addColumn('action',
186
array(
187
'header' => Mage::helper('sales')->__('Action'),
188
'width' => '50px',
@@ -199,7 +216,8 @@ class Payone_Core_Block_Adminhtml_Sales_Order_Grid extends Mage_Adminhtml_Block_
199
'sortable' => false,
200
'index' => 'stores',
201
'is_system' => true,
202
- ));
203
}
204
205
$this->setDefaultSort('created_at');
@@ -224,50 +242,66 @@ class Payone_Core_Block_Adminhtml_Sales_Order_Grid extends Mage_Adminhtml_Block_
224
$this->getMassactionBlock()->setUseSelectAll(false);
225
226
if (Mage::getSingleton('admin/session')->isAllowed('sales/order/actions/cancel')) {
227
- $this->getMassactionBlock()->addItem('cancel_order', array(
228
'label'=> Mage::helper('sales')->__('Cancel'),
229
'url' => $this->getUrl('*/*/massCancel'),
230
- ));
231
}
232
233
if (Mage::getSingleton('admin/session')->isAllowed('sales/order/actions/hold')) {
234
- $this->getMassactionBlock()->addItem('hold_order', array(
235
'label'=> Mage::helper('sales')->__('Hold'),
236
'url' => $this->getUrl('*/*/massHold'),
237
- ));
238
}
239
240
if (Mage::getSingleton('admin/session')->isAllowed('sales/order/actions/unhold')) {
241
- $this->getMassactionBlock()->addItem('unhold_order', array(
242
'label'=> Mage::helper('sales')->__('Unhold'),
243
'url' => $this->getUrl('*/*/massUnhold'),
244
- ));
245
}
246
247
- $this->getMassactionBlock()->addItem('pdfinvoices_order', array(
248
'label'=> Mage::helper('sales')->__('Print Invoices'),
249
'url' => $this->getUrl('*/*/pdfinvoices'),
250
- ));
251
252
- $this->getMassactionBlock()->addItem('pdfshipments_order', array(
253
'label'=> Mage::helper('sales')->__('Print Packingslips'),
254
'url' => $this->getUrl('*/*/pdfshipments'),
255
- ));
256
257
- $this->getMassactionBlock()->addItem('pdfcreditmemos_order', array(
258
'label'=> Mage::helper('sales')->__('Print Credit Memos'),
259
'url' => $this->getUrl('*/*/pdfcreditmemos'),
260
- ));
261
262
- $this->getMassactionBlock()->addItem('pdfdocs_order', array(
263
'label'=> Mage::helper('sales')->__('Print All'),
264
'url' => $this->getUrl('*/*/pdfdocs'),
265
- ));
266
267
- $this->getMassactionBlock()->addItem('print_shipping_label', array(
268
'label'=> Mage::helper('sales')->__('Print Shipping Labels'),
269
'url' => $this->getUrl('adminhtml/sales_order_shipment/massPrintShippingLabel'),
270
- ));
271
272
return $this;
273
}
72
public function _prepareColumns()
73
{
74
75
+ $this->addColumn(
76
+ 'real_order_id', array(
77
'header'=> Mage::helper('sales')->__('Order #'),
78
'width' => '80px',
79
'type' => 'text',
80
'index' => 'increment_id',
81
+ )
82
+ );
83
84
if (!Mage::app()->isSingleStoreMode()) {
85
+ $this->addColumn(
86
+ 'store_id', array(
87
'header' => Mage::helper('sales')->__('Purchased From (Store)'),
88
'index' => 'store_id',
89
'type' => 'store',
90
'store_view'=> true,
91
'display_deleted' => true,
92
+ )
93
+ );
94
}
95
96
+ $this->addColumn(
97
+ 'created_at', array(
98
'header' => Mage::helper('sales')->__('Purchased On'),
99
'index' => 'created_at',
100
'type' => 'datetime',
101
'width' => '100px',
102
+ )
103
+ );
104
105
+ $this->addColumn(
106
+ 'billing_name', array(
107
'header' => Mage::helper('sales')->__('Bill to Name'),
108
'index' => 'billing_name',
109
+ )
110
+ );
111
112
+ $this->addColumn(
113
+ 'shipping_name', array(
114
'header' => Mage::helper('sales')->__('Ship to Name'),
115
'index' => 'shipping_name',
116
+ )
117
+ );
118
119
+ $this->addColumn(
120
+ 'base_grand_total', array(
121
'header' => Mage::helper('sales')->__('G.T. (Base)'),
122
'index' => 'base_grand_total',
123
'type' => 'currency',
124
'currency' => 'base_currency_code',
125
+ )
126
+ );
127
128
+ $this->addColumn(
129
+ 'grand_total', array(
130
'header' => Mage::helper('sales')->__('G.T. (Purchased)'),
131
'index' => 'grand_total',
132
'type' => 'currency',
133
'currency' => 'order_currency_code',
134
+ )
135
+ );
136
137
+ $this->addColumn(
138
+ 'status', array(
139
'header' => Mage::helper('sales')->__('Status'),
140
'index' => 'status',
141
'type' => 'options',
142
'width' => '70px',
143
'options' => Mage::getSingleton('sales/order_config')->getStatuses(),
144
+ )
145
+ );
146
147
$this->addColumnAfter(
148
'payone_status',
198
);
199
200
if (Mage::getSingleton('admin/session')->isAllowed('sales/order/actions/view')) {
201
+ $this->addColumn(
202
+ 'action',
203
array(
204
'header' => Mage::helper('sales')->__('Action'),
205
'width' => '50px',
216
'sortable' => false,
217
'index' => 'stores',
218
'is_system' => true,
219
+ )
220
+ );
221
}
222
223
$this->setDefaultSort('created_at');
242
$this->getMassactionBlock()->setUseSelectAll(false);
243
244
if (Mage::getSingleton('admin/session')->isAllowed('sales/order/actions/cancel')) {
245
+ $this->getMassactionBlock()->addItem(
246
+ 'cancel_order', array(
247
'label'=> Mage::helper('sales')->__('Cancel'),
248
'url' => $this->getUrl('*/*/massCancel'),
249
+ )
250
+ );
251
}
252
253
if (Mage::getSingleton('admin/session')->isAllowed('sales/order/actions/hold')) {
254
+ $this->getMassactionBlock()->addItem(
255
+ 'hold_order', array(
256
'label'=> Mage::helper('sales')->__('Hold'),
257
'url' => $this->getUrl('*/*/massHold'),
258
+ )
259
+ );
260
}
261
262
if (Mage::getSingleton('admin/session')->isAllowed('sales/order/actions/unhold')) {
263
+ $this->getMassactionBlock()->addItem(
264
+ 'unhold_order', array(
265
'label'=> Mage::helper('sales')->__('Unhold'),
266
'url' => $this->getUrl('*/*/massUnhold'),
267
+ )
268
+ );
269
}
270
271
+ $this->getMassactionBlock()->addItem(
272
+ 'pdfinvoices_order', array(
273
'label'=> Mage::helper('sales')->__('Print Invoices'),
274
'url' => $this->getUrl('*/*/pdfinvoices'),
275
+ )
276
+ );
277
278
+ $this->getMassactionBlock()->addItem(
279
+ 'pdfshipments_order', array(
280
'label'=> Mage::helper('sales')->__('Print Packingslips'),
281
'url' => $this->getUrl('*/*/pdfshipments'),
282
+ )
283
+ );
284
285
+ $this->getMassactionBlock()->addItem(
286
+ 'pdfcreditmemos_order', array(
287
'label'=> Mage::helper('sales')->__('Print Credit Memos'),
288
'url' => $this->getUrl('*/*/pdfcreditmemos'),
289
+ )
290
+ );
291
292
+ $this->getMassactionBlock()->addItem(
293
+ 'pdfdocs_order', array(
294
'label'=> Mage::helper('sales')->__('Print All'),
295
'url' => $this->getUrl('*/*/pdfdocs'),
296
+ )
297
+ );
298
299
+ $this->getMassactionBlock()->addItem(
300
+ 'print_shipping_label', array(
301
'label'=> Mage::helper('sales')->__('Print Shipping Labels'),
302
'url' => $this->getUrl('adminhtml/sales_order_shipment/massPrintShippingLabel'),
303
+ )
304
+ );
305
306
return $this;
307
}
app/code/community/Payone/Core/Block/Adminhtml/Sales/Order/View/Tab/Api.php CHANGED
@@ -144,6 +144,7 @@ class Payone_Core_Block_Adminhtml_Sales_Order_View_Tab_Api
144
$apiCollection->getByOrder($order);
145
Mage::register('payone_core_protocol_api_collection', $apiCollection);
146
}
147
return Mage::registry('payone_core_protocol_api_collection');
148
}
149
@@ -160,7 +161,8 @@ class Payone_Core_Block_Adminhtml_Sales_Order_View_Tab_Api
160
'type' => 'text',
161
'filter' => false,
162
'index' => 'id',
163
- ));
164
165
$this->addColumn(
166
'request',
@@ -171,7 +173,8 @@ class Payone_Core_Block_Adminhtml_Sales_Order_View_Tab_Api
171
'index' => 'request',
172
'type' => 'options',
173
'options' => $this->getPayoneFactory()->getModelSystemConfigRequestType()->toSelectArray()
174
- ));
175
176
$this->addColumn(
177
'response',
@@ -182,7 +185,8 @@ class Payone_Core_Block_Adminhtml_Sales_Order_View_Tab_Api
182
'index' => 'response',
183
'type' => 'options',
184
'options' => $this->getPayoneFactory()->getModelSystemConfigResponseType()->toSelectArray()
185
- ));
186
187
$this->addColumn(
188
'mode',
@@ -190,7 +194,8 @@ class Payone_Core_Block_Adminhtml_Sales_Order_View_Tab_Api
190
'header' => $this->helperPayoneCore()->__('Mode'),
191
'type' => 'text',
192
'index' => 'mode',
193
- ));
194
195
$this->addColumn(
196
'mid',
@@ -198,7 +203,8 @@ class Payone_Core_Block_Adminhtml_Sales_Order_View_Tab_Api
198
'header' => $this->helperPayoneCore()->__('Merchant-ID'),
199
'type' => 'text',
200
'index' => 'mid',
201
- ));
202
203
$this->addColumn(
204
'portalid',
@@ -206,7 +212,8 @@ class Payone_Core_Block_Adminhtml_Sales_Order_View_Tab_Api
206
'header' => $this->helperPayoneCore()->__('Portal-ID'),
207
'type' => 'text',
208
'index' => 'portalid',
209
- ));
210
211
$this->addColumn(
212
'aid',
@@ -214,7 +221,8 @@ class Payone_Core_Block_Adminhtml_Sales_Order_View_Tab_Api
214
'header' => $this->helperPayoneCore()->__('Sub-Account-ID'),
215
'type' => 'text',
216
'index' => 'aid',
217
- ));
218
219
$this->addColumn(
220
'created_at',
@@ -225,7 +233,8 @@ class Payone_Core_Block_Adminhtml_Sales_Order_View_Tab_Api
225
'width' => '80px',
226
'filter' => false,
227
'renderer' => 'payone_core/adminhtml_widget_grid_column_renderer_datetime',
228
- ));
229
230
return parent::_prepareColumns();
231
}
144
$apiCollection->getByOrder($order);
145
Mage::register('payone_core_protocol_api_collection', $apiCollection);
146
}
147
+
148
return Mage::registry('payone_core_protocol_api_collection');
149
}
150
161
'type' => 'text',
162
'filter' => false,
163
'index' => 'id',
164
+ )
165
+ );
166
167
$this->addColumn(
168
'request',
173
'index' => 'request',
174
'type' => 'options',
175
'options' => $this->getPayoneFactory()->getModelSystemConfigRequestType()->toSelectArray()
176
+ )
177
+ );
178
179
$this->addColumn(
180
'response',
185
'index' => 'response',
186
'type' => 'options',
187
'options' => $this->getPayoneFactory()->getModelSystemConfigResponseType()->toSelectArray()
188
+ )
189
+ );
190
191
$this->addColumn(
192
'mode',
194
'header' => $this->helperPayoneCore()->__('Mode'),
195
'type' => 'text',
196
'index' => 'mode',
197
+ )
198
+ );
199
200
$this->addColumn(
201
'mid',
203
'header' => $this->helperPayoneCore()->__('Merchant-ID'),
204
'type' => 'text',
205
'index' => 'mid',
206
+ )
207
+ );
208
209
$this->addColumn(
210
'portalid',
212
'header' => $this->helperPayoneCore()->__('Portal-ID'),
213
'type' => 'text',
214
'index' => 'portalid',
215
+ )
216
+ );
217
218
$this->addColumn(
219
'aid',
221
'header' => $this->helperPayoneCore()->__('Sub-Account-ID'),
222
'type' => 'text',
223
'index' => 'aid',
224
+ )
225
+ );
226
227
$this->addColumn(
228
'created_at',
233
'width' => '80px',
234
'filter' => false,
235
'renderer' => 'payone_core/adminhtml_widget_grid_column_renderer_datetime',
236
+ )
237
+ );
238
239
return parent::_prepareColumns();
240
}
app/code/community/Payone/Core/Block/Adminhtml/Sales/Order/View/Tab/Transaction.php CHANGED
@@ -96,6 +96,7 @@ class Payone_Core_Block_Adminhtml_Sales_Order_View_Tab_Transaction
96
$transaction->loadByPayment($payment);
97
Mage::register('payone_core_protocol_transaction', $transaction);
98
}
99
return Mage::registry('payone_core_protocol_transaction');
100
}
101
@@ -110,7 +111,8 @@ class Payone_Core_Block_Adminhtml_Sales_Order_View_Tab_Transaction
110
/**
111
* @return Payone_Core_Model_Factory
112
*/