mPAY24 - Version 1.4.7

Version Notes

Upgrades and fixes:

1.Payment charges (percent or absoulte value) could be defined for each payment system

2. SQL installation scripts fixed

3. In case of an error or cancelation of the payment, the shopping cart will be not deleted and the customer will be redirected to the checkout process

Download this release

Release Info

Developer Filipp Akinfiev
Extension mPAY24
Version 1.4.7
Comparing to
See all releases


Code changes from version 1.4.6 to 1.4.7

Files changed (140) hide show
  1. app/code/community/Mpay24/Mpay24/Block/Adminhtml/Sales/Order/Creditmemo/Totals.php +62 -0
  2. app/code/community/Mpay24/Mpay24/Block/Adminhtml/Sales/Order/Invoice/Totals.php +50 -0
  3. app/code/community/Mpay24/Mpay24/Block/Adminhtml/Sales/Order/Totals.php +56 -0
  4. app/code/community/Mpay24/Mpay24/Block/Adminhtml/Sales/Totals.php +67 -0
  5. app/code/community/Mpay24/Mpay24/Block/Adminhtml/System/Config/Fieldset/Fieldset.php +7 -3
  6. app/code/community/Mpay24/Mpay24/Block/Form.php +2 -1
  7. app/code/community/Mpay24/Mpay24/Block/Form/Selectpayment.php +2 -1
  8. app/code/community/Mpay24/Mpay24/Block/Info/Selectpayment.php +2 -1
  9. app/code/community/Mpay24/Mpay24/Block/Mpay24.php +2 -1
  10. app/code/community/Mpay24/Mpay24/Block/ParentRedirect.php +2 -1
  11. app/code/community/Mpay24/Mpay24/Block/Sales/Order/Creditmemo/Totals.php +80 -0
  12. app/code/community/Mpay24/Mpay24/Block/Sales/Order/Invoice/Totals.php +60 -0
  13. app/code/community/Mpay24/Mpay24/Block/Sales/Order/Totals.php +65 -0
  14. app/code/community/Mpay24/Mpay24/Helper/Data.php +40 -2
  15. app/code/community/Mpay24/Mpay24/Model/Api/MPay24Api.php +7 -7
  16. app/code/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php +32 -9
  17. app/code/community/Mpay24/Mpay24/Model/Api/MPay24Shop.php +3 -3
  18. app/code/community/Mpay24/Mpay24/Model/Api/cacert.pem +1 -1
  19. app/code/community/Mpay24/Mpay24/Model/Api/curllog.log +99 -0
  20. app/code/community/Mpay24/Mpay24/Model/Api/curllog.log~ +0 -51
  21. app/code/community/Mpay24/Mpay24/Model/Api/orderXML.php +1 -1
  22. app/code/community/Mpay24/Mpay24/Model/Config.php +2 -1
  23. app/code/community/Mpay24/Mpay24/Model/Entity/Setup.php +2 -1
  24. app/code/community/Mpay24/Mpay24/Model/Method/Abstract.php +2 -1
  25. app/code/community/Mpay24/Mpay24/Model/Method/Selectpayment.php +12 -4
  26. app/code/community/Mpay24/Mpay24/Model/Mpay24/Debug.php +2 -1
  27. app/code/community/Mpay24/Mpay24/Model/Mysql4/Mpay24/Debug.php +2 -1
  28. app/code/community/Mpay24/Mpay24/Model/Mysql4/Mpay24/Debug/Collection.php +2 -1
  29. app/code/community/Mpay24/Mpay24/Model/Mysql4/Setup.php +2 -1
  30. app/code/community/Mpay24/Mpay24/Model/Observer.php +2 -1
  31. app/code/community/Mpay24/Mpay24/Model/Sales/Order/Creditmemo/Total/Paymentcharge.php +46 -0
  32. app/code/community/Mpay24/Mpay24/Model/Sales/Order/Invoice/Total/Paymentcharge.php +46 -0
  33. app/code/community/Mpay24/Mpay24/Model/Sales/Quote/Address/Total/Paymentcharge.php +84 -0
  34. app/code/community/Mpay24/Mpay24/Model/Selectpayment.php +2 -1
  35. app/code/community/Mpay24/Mpay24/Model/Session.php +2 -1
  36. app/code/community/Mpay24/Mpay24/Model/Source/AllowedIPs.php +2 -1
  37. app/code/community/Mpay24/Mpay24/Model/Source/BillAddr.php +2 -1
  38. app/code/community/Mpay24/Mpay24/Model/Source/ClearingAction.php +2 -1
  39. app/code/community/Mpay24/Mpay24/Model/Source/FormTemplate.php +15 -14
  40. app/code/community/Mpay24/Mpay24/Model/Source/PaidOrder.php +12 -11
  41. app/code/community/Mpay24/Mpay24/{sql/mpay24_setup/mysql4-install-1.4.6.php → Model/Source/PaymentCharge.php} +28 -32
  42. app/code/community/Mpay24/Mpay24/Model/Source/PaymentsActive.php +2 -1
  43. app/code/community/Mpay24/Mpay24/Model/Source/Request.php +2 -1
  44. app/code/community/Mpay24/Mpay24/Model/Source/Result.php +2 -1
  45. app/code/community/Mpay24/Mpay24/Model/Source/ShoppingCartRowsAction.php +2 -1
  46. app/code/community/Mpay24/Mpay24/Model/Source/System.php +2 -1
  47. app/code/community/Mpay24/Mpay24/Model/System/Config/Backend/Encrypted.php +2 -1
  48. app/code/community/Mpay24/Mpay24/controllers/IndexController.php +2 -1
  49. app/code/community/Mpay24/Mpay24/controllers/PaymentController.php +43 -21
  50. app/code/community/Mpay24/Mpay24/etc/config.xml +69 -3
  51. app/code/community/Mpay24/Mpay24/etc/system.xml +1197 -234
  52. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-install-1.4.3.php +0 -53
  53. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-install-1.4.4.php +0 -32
  54. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-install-1.4.5.php +0 -32
  55. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-install-1.4.7.php +48 -0
  56. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-0.6.2-1.4.3.php +0 -38
  57. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-0.6.2-1.4.4.php +0 -38
  58. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-0.6.2-1.4.5.php +0 -38
  59. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-0.6.2-1.4.6.php +0 -38
  60. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.0-1.4.3.php +0 -38
  61. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.0-1.4.4.php +0 -38
  62. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.0-1.4.5.php +0 -38
  63. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.0-1.4.6.php +0 -38
  64. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.4-1.4.3.php +0 -38
  65. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.4-1.4.4.php +0 -38
  66. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.4-1.4.5.php +0 -38
  67. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.4-1.4.6.php +0 -38
  68. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.6-1.4.3.php +0 -38
  69. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.6-1.4.4.php +0 -38
  70. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.6-1.4.5.php +0 -38
  71. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.6-1.4.6.php +0 -38
  72. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.7-1.4.3.php +0 -38
  73. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.7-1.4.4.php +0 -38
  74. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.7-1.4.5.php +0 -38
  75. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.7-1.4.6.php +0 -38
  76. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.1-1.4.3.php +0 -38
  77. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.1-1.4.4.php +0 -38
  78. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.1-1.4.5.php +0 -38
  79. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.1-1.4.6.php +0 -38
  80. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.7-1.4.3.php +0 -38
  81. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.7-1.4.4.php +0 -38
  82. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.7-1.4.5.php +0 -38
  83. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.7-1.4.6.php +0 -38
  84. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.8-1.4.3.php +0 -38
  85. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.8-1.4.4.php +0 -38
  86. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.8-1.4.5.php +0 -38
  87. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.8-1.4.6.php +0 -38
  88. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.9-1.4.3.php +0 -38
  89. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.9-1.4.4.php +0 -38
  90. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.9-1.4.5.php +0 -38
  91. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.9-1.4.6.php +0 -38
  92. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.2.0-1.4.3.php +0 -38
  93. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.2.0-1.4.4.php +0 -38
  94. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.2.0-1.4.5.php +0 -38
  95. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.2.0-1.4.6.php +0 -38
  96. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.2.1-1.4.3.php +0 -38
  97. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.2.1-1.4.4.php +0 -38
  98. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.2.1-1.4.5.php +0 -38
  99. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.2.1-1.4.6.php +0 -38
  100. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.2.2-1.4.3.php +0 -38
  101. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.2.2-1.4.4.php +0 -38
  102. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.2.2-1.4.5.php +0 -38
  103. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.2.2-1.4.6.php +0 -38
  104. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.3.0-1.4.3.php +0 -38
  105. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.3.0-1.4.4.php +0 -38
  106. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.3.0-1.4.5.php +0 -38
  107. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.3.0-1.4.6.php +0 -38
  108. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.0-1.4.3.php +0 -38
  109. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.0-1.4.4.php +0 -38
  110. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.0-1.4.5.php +0 -38
  111. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.0-1.4.6.php +0 -38
  112. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.1-1.4..php +0 -38
  113. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.1-1.4.3.php +0 -38
  114. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.1-1.4.4.php +0 -38
  115. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.1-1.4.5.php +0 -38
  116. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.2-1.4.3.php +0 -38
  117. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.2-1.4.4.php +0 -38
  118. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.2-1.4.5.php +0 -38
  119. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.2-1.4.6.php +0 -38
  120. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.3-1.4.4.php +0 -38
  121. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.3-1.4.5.php +0 -38
  122. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.3-1.4.6.php +0 -38
  123. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.4-1.4.5.php +24 -14
  124. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.4-1.4.6.php +24 -14
  125. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.4-1.4.7.php +48 -0
  126. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.5-1.4.6.php +24 -14
  127. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.5-1.4.7.php +48 -0
  128. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.6-1.4.7.php +48 -0
  129. app/design/adminhtml/default/default/template/mpay24/info/pdf/selectpayment.phtml +27 -0
  130. app/design/adminhtml/default/default/template/mpay24/info/selectpayment.phtml +4 -3
  131. app/design/frontend/default/default/layout/mpay24.xml +4 -11
  132. app/design/frontend/default/default/template/mpay24/form/area.phtml +53 -14
  133. app/design/frontend/default/default/template/mpay24/form/dropDown.phtml +55 -13
  134. app/design/frontend/default/default/template/mpay24/info/selectpayment.phtml +4 -3
  135. app/etc/modules/Mpay24_Mpay24.xml +4 -1
  136. app/locale/de_AT/Mpay24_Mpay24.csv +12 -1
  137. app/locale/de_CH/Mpay24_Mpay24.csv +12 -1
  138. app/locale/de_DE/Mpay24_Mpay24.csv +12 -1
  139. app/locale/en_US/Mpay24_Mpay24.csv +12 -1
  140. package.xml +13 -8
app/code/community/Mpay24/Mpay24/Block/Adminhtml/Sales/Order/Creditmemo/Totals.php ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Totals.php 5 2013-10-10 13:08:44Z sapolhei $
20
+ */
21
+
22
+ class Mpay24_Mpay24_Block_Adminhtml_Sales_order_Creditmemo_Totals extends Mpay24_Mpay24_Block_Adminhtml_Sales_Totals {
23
+ protected $_creditmemo;
24
+
25
+ public function getCreditmemo() {
26
+ if ($this->_creditmemo === null)
27
+ if ($this->hasData('creditmemo'))
28
+ $this->_creditmemo = $this->_getData('creditmemo');
29
+ elseif (Mage::registry('current_creditmemo'))
30
+ $this->_creditmemo = Mage::registry('current_creditmemo');
31
+ elseif ($this->getParentBlock() && $this->getParentBlock()->getCreditmemo())
32
+ $this->_creditmemo = $this->getParentBlock()->getCreditmemo();
33
+
34
+ return $this->_creditmemo;
35
+ }
36
+
37
+ public function getSource() {
38
+ return $this->getCreditmemo();
39
+ }
40
+
41
+ /**
42
+ * Initialize creditmemo totals array
43
+ *
44
+ * @return Mage_Sales_Block_Order_Totals
45
+ */
46
+ protected function _initTotals() {
47
+ parent::_initTotals();
48
+ $this->addTotal(new Varien_Object(array(
49
+ 'code' => 'adjustment_positive',
50
+ 'value' => $this->getSource()->getAdjustmentPositive(),
51
+ 'base_value'=> $this->getSource()->getBaseAdjustmentPositive(),
52
+ 'label' => $this->helper('sales')->__('Adjustment Refund')
53
+ )));
54
+ $this->addTotal(new Varien_Object(array(
55
+ 'code' => 'adjustment_negative',
56
+ 'value' => $this->getSource()->getAdjustmentNegative(),
57
+ 'base_value'=> $this->getSource()->getBaseAdjustmentNegative(),
58
+ 'label' => $this->helper('sales')->__('Adjustment Fee')
59
+ )));
60
+ return $this;
61
+ }
62
+ }
app/code/community/Mpay24/Mpay24/Block/Adminhtml/Sales/Order/Invoice/Totals.php ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Totals.php 5 2013-10-10 13:08:44Z sapolhei $
20
+ */
21
+
22
+ class Mpay24_Mpay24_Block_Adminhtml_Sales_order_Invoice_Totals extends Mpay24_Mpay24_Block_Adminhtml_Sales_Totals {
23
+ protected $_invoice = null;
24
+
25
+ public function getInvoice() {
26
+ if ($this->_invoice === null)
27
+ if ($this->hasData('invoice'))
28
+ $this->_invoice = $this->_getData('invoice');
29
+ elseif (Mage::registry('current_invoice'))
30
+ $this->_invoice = Mage::registry('current_invoice');
31
+ elseif ($this->getParentBlock()->getInvoice())
32
+ $this->_invoice = $this->getParentBlock()->getInvoice();
33
+
34
+ return $this->_invoice;
35
+ }
36
+
37
+ public function getSource() {
38
+ return $this->getInvoice();
39
+ }
40
+
41
+ /**
42
+ * Initialize order totals array
43
+ *
44
+ * @return Mage_Sales_Block_Order_Totals
45
+ */
46
+ protected function _initTotals() {
47
+ parent::_initTotals();
48
+ return $this;
49
+ }
50
+ }
app/code/community/Mpay24/Mpay24/Block/Adminhtml/Sales/Order/Totals.php ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Totals.php 5 2013-10-10 13:08:44Z sapolhei $
20
+ */
21
+
22
+ class Mpay24_Mpay24_Block_Adminhtml_Sales_order_Totals extends Mpay24_Mpay24_Block_Adminhtml_Sales_Totals {
23
+ /**
24
+ * Initialize order totals array
25
+ *
26
+ * @return Mage_Sales_Block_Order_Totals
27
+ */
28
+ protected function _initTotals() {
29
+ parent::_initTotals();
30
+ $this->_totals['paid'] = new Varien_Object(array(
31
+ 'code' => 'paid',
32
+ 'strong' => true,
33
+ 'value' => $this->getSource()->getTotalPaid(),
34
+ 'base_value'=> $this->getSource()->getBaseTotalPaid(),
35
+ 'label' => $this->helper('sales')->__('Total Paid'),
36
+ 'area' => 'footer'
37
+ ));
38
+ $this->_totals['refunded'] = new Varien_Object(array(
39
+ 'code' => 'refunded',
40
+ 'strong' => true,
41
+ 'value' => $this->getSource()->getTotalRefunded(),
42
+ 'base_value'=> $this->getSource()->getBaseTotalRefunded(),
43
+ 'label' => $this->helper('sales')->__('Total Refunded'),
44
+ 'area' => 'footer'
45
+ ));
46
+ $this->_totals['due'] = new Varien_Object(array(
47
+ 'code' => 'due',
48
+ 'strong' => true,
49
+ 'value' => $this->getSource()->getTotalDue(),
50
+ 'base_value'=> $this->getSource()->getBaseTotalDue(),
51
+ 'label' => $this->helper('sales')->__('Total Due'),
52
+ 'area' => 'footer'
53
+ ));
54
+ return $this;
55
+ }
56
+ }
app/code/community/Mpay24/Mpay24/Block/Adminhtml/Sales/Totals.php ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Totals.php 5 2013-10-10 13:08:44Z sapolhei $
20
+ */
21
+
22
+ class Mpay24_Mpay24_Block_Adminhtml_Sales_Totals extends Mage_Adminhtml_Block_Sales_Totals {
23
+ /**
24
+ * Initialize order totals array
25
+ *
26
+ * @return Mage_Sales_Block_Order_Totals
27
+ */
28
+ protected function _initTotals() {
29
+ parent::_initTotals();
30
+
31
+ $source = $this->getSource();
32
+
33
+ /**
34
+ * Add store rewards
35
+ */
36
+ $totals = $this->_totals;
37
+ $newTotals = array();
38
+
39
+ if (count($totals)>0) {
40
+ foreach ($totals as $index=>$arr) {
41
+ if ($index == "grand_total")
42
+ if (((float)$source->getPaymentCharge()) != 0) {
43
+ if($source->getPaymentChargeType() == "percent") {
44
+ $label = Mage::helper('mpay24')->__("Payment charge") . "(" . number_format($source->getPaymentCharge(),2,'.','') . "%)";
45
+ $amount = $source->getSubtotal()*$source->getPaymentCharge()/100;
46
+ } else {
47
+ $label = Mage::helper('mpay24')->__("Payment charge") . "(" . Mage::helper('mpay24')->__("Absolute value") . ")";
48
+ $amount = $source->getPaymentCharge();
49
+ }
50
+
51
+ $newTotals['payment_charge'] = new Varien_Object(array(
52
+ 'code' => 'payment_charge',
53
+ 'field' => 'payment_charge',
54
+ 'value' => $amount,
55
+ 'label' => $label
56
+ ));
57
+ }
58
+
59
+ $newTotals[$index] = $arr;
60
+ }
61
+
62
+ $this->_totals = $newTotals;
63
+ }
64
+
65
+ return $this;
66
+ }
67
+ }
app/code/community/Mpay24/Mpay24/Block/Adminhtml/System/Config/Fieldset/Fieldset.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
 
21
  include_once "app/code/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
@@ -40,9 +41,10 @@ class Mpay24_Mpay24_Block_Adminhtml_System_Config_Fieldset_Fieldset
40
  $payments = Mage::getStoreConfig('mpay24/mpay24/active_payments');
41
  $paymentsArray = unserialize($payments);
42
  $keys = array_keys($paymentsArray);
 
43
 
44
  foreach ($element->getSortedElements() as $field) {
45
- if(substr($field->getHtmlId(), strrpos($field->getHtmlId(), "_")+1) <= Mage::getStoreConfig('mpay24/mpay24/payments_count')) {
46
  $first_paymentID = array_shift($keys);
47
  $payment = array_shift($paymentsArray);
48
 
@@ -53,7 +55,9 @@ class Mpay24_Mpay24_Block_Adminhtml_System_Config_Fieldset_Fieldset
53
 
54
  $field->setLabel("<img src='https://www.mpay24.com/merchadm/img/ptypes/$first_paymentID.png' alt='" . $payment['BRAND'] . ":" . $payment['DESCR'] . "' title='" . $payment['P_TYPE'] . ":" . $payment['DESCR'] . "'>");
55
  $html.= $field->toHtml();
56
- } elseif(substr($field->getHtmlId(), 0, 17) != 'mpay24_mpay24_ps_')
 
 
57
  $html.= $field->toHtml();
58
  }
59
  } else
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Fieldset.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
 
22
  include_once "app/code/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
41
  $payments = Mage::getStoreConfig('mpay24/mpay24/active_payments');
42
  $paymentsArray = unserialize($payments);
43
  $keys = array_keys($paymentsArray);
44
+ $j = 0;
45
 
46
  foreach ($element->getSortedElements() as $field) {
47
+ if(substr($field->getHtmlId(), strrpos($field->getHtmlId(), "_")+1) <= Mage::getStoreConfig('mpay24/mpay24/payments_count') && strpos($field->getHtmlId(), 'mpay24_mpay24_tax_') === false) {
48
  $first_paymentID = array_shift($keys);
49
  $payment = array_shift($paymentsArray);
50
 
55
 
56
  $field->setLabel("<img src='https://www.mpay24.com/merchadm/img/ptypes/$first_paymentID.png' alt='" . $payment['BRAND'] . ":" . $payment['DESCR'] . "' title='" . $payment['P_TYPE'] . ":" . $payment['DESCR'] . "'>");
57
  $html.= $field->toHtml();
58
+ } elseif(substr($field->getHtmlId(), 0, 17) != 'mpay24_mpay24_ps_' && strpos($field->getHtmlId(), 'mpay24_mpay24_tax_') === false )
59
+ $html.= $field->toHtml();
60
+ elseif(strpos($field->getHtmlId(), 'mpay24_mpay24_tax_') !== false && substr($field->getHtmlId(), strrpos($field->getHtmlId(), "_")+1) <= Mage::getStoreConfig('mpay24/mpay24/payments_count'))
61
  $html.= $field->toHtml();
62
  }
63
  } else
app/code/community/Mpay24/Mpay24/Block/Form.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
 
21
  class Mpay24_Mpay24_Block_Form extends Mage_Core_Block_Template {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Form.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
 
22
  class Mpay24_Mpay24_Block_Form extends Mage_Core_Block_Template {
app/code/community/Mpay24/Mpay24/Block/Form/Selectpayment.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
 
21
  class Mpay24_Mpay24_Block_Form_Selectpayment extends Mage_Payment_Block_Form {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Selectpayment.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
 
22
  class Mpay24_Mpay24_Block_Form_Selectpayment extends Mage_Payment_Block_Form {
app/code/community/Mpay24/Mpay24/Block/Info/Selectpayment.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
 
21
  class Mpay24_Mpay24_Block_Info_Selectpayment extends Mage_Payment_Block_Info {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Selectpayment.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
 
22
  class Mpay24_Mpay24_Block_Info_Selectpayment extends Mage_Payment_Block_Info {
app/code/community/Mpay24/Mpay24/Block/Mpay24.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
 
21
  class Mpay24_Mpay24_Block_Mpay24 extends Mage_Core_Block_Template {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Mpay24.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
 
22
  class Mpay24_Mpay24_Block_Mpay24 extends Mage_Core_Block_Template {
app/code/community/Mpay24/Mpay24/Block/ParentRedirect.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
 
21
  class Mpay24_Mpay24_Block_ParentRedirect extends Mage_Core_Block_Abstract {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: ParentRedirect.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
 
22
  class Mpay24_Mpay24_Block_ParentRedirect extends Mage_Core_Block_Abstract {
app/code/community/Mpay24/Mpay24/Block/Sales/Order/Creditmemo/Totals.php ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Totals.php 5 2013-10-10 13:08:44Z sapolhei $
20
+ */
21
+
22
+ class Mpay24_Mpay24_Block_Sales_order_Creditmemo_Totals extends Mpay24_Mpay24_Block_Sales_Order_Totals {
23
+ protected $_creditmemo = null;
24
+
25
+ public function getCreditmemo() {
26
+ if ($this->_creditmemo === null)
27
+ if ($this->hasData('creditmemo'))
28
+ $this->_creditmemo = $this->_getData('creditmemo');
29
+ elseif (Mage::registry('current_creditmemo'))
30
+ $this->_creditmemo = Mage::registry('current_creditmemo');
31
+ elseif ($this->getParentBlock()->getCreditmemo())
32
+ $this->_creditmemo = $this->getParentBlock()->getCreditmemo();
33
+
34
+ return $this->_creditmemo;
35
+ }
36
+
37
+ public function setCreditmemo($creditmemo) {
38
+ $this->_creditmemo = $creditmemo;
39
+ return $this;
40
+ }
41
+
42
+ /**
43
+ * Get totals source object
44
+ *
45
+ * @return Mage_Sales_Model_Order
46
+ */
47
+ public function getSource() {
48
+ return $this->getCreditmemo();
49
+ }
50
+
51
+ /**
52
+ * Initialize order totals array
53
+ *
54
+ * @return Mage_Sales_Block_Order_Totals
55
+ */
56
+ protected function _initTotals() {
57
+ parent::_initTotals();
58
+ $this->removeTotal('base_grandtotal');
59
+
60
+ if ((float) $this->getSource()->getAdjustmentPositive()) {
61
+ $total = new Varien_Object(array(
62
+ 'code' => 'adjustment_positive',
63
+ 'value' => $this->getSource()->getAdjustmentPositive(),
64
+ 'label' => $this->__('Adjustment Refund')
65
+ ));
66
+ $this->addTotal($total);
67
+ }
68
+
69
+ if ((float) $this->getSource()->getAdjustmentNegative()) {
70
+ $total = new Varien_Object(array(
71
+ 'code' => 'adjustment_negative',
72
+ 'value' => $this->getSource()->getAdjustmentNegative(),
73
+ 'label' => $this->__('Adjustment Fee')
74
+ ));
75
+ $this->addTotal($total);
76
+ }
77
+
78
+ return $this;
79
+ }
80
+ }
app/code/community/Mpay24/Mpay24/Block/Sales/Order/Invoice/Totals.php ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Totals.php 5 2013-10-10 13:08:44Z sapolhei $
20
+ */
21
+
22
+ class Mpay24_Mpay24_Block_Sales_order_Invoice_Totals extends Mpay24_Mpay24_Block_Sales_Order_Totals {
23
+ protected $_invoice = null;
24
+
25
+ public function getInvoice() {
26
+ if ($this->_invoice === null)
27
+ if ($this->hasData('invoice'))
28
+ $this->_invoice = $this->_getData('invoice');
29
+ elseif (Mage::registry('current_invoice'))
30
+ $this->_invoice = Mage::registry('current_invoice');
31
+ elseif ($this->getParentBlock()->getInvoice())
32
+ $this->_invoice = $this->getParentBlock()->getInvoice();
33
+ return $this->_invoice;
34
+ }
35
+
36
+ public function setInvoice($invoice) {
37
+ $this->_invoice = $invoice;
38
+ return $this;
39
+ }
40
+
41
+ /**
42
+ * Get totals source object
43
+ *
44
+ * @return Mage_Sales_Model_Order
45
+ */
46
+ public function getSource() {
47
+ return $this->getInvoice();
48
+ }
49
+
50
+ /**
51
+ * Initialize order totals array
52
+ *
53
+ * @return Mage_Sales_Block_Order_Totals
54
+ */
55
+ protected function _initTotals() {
56
+ parent::_initTotals();
57
+ $this->removeTotal('base_grandtotal');
58
+ return $this;
59
+ }
60
+ }
app/code/community/Mpay24/Mpay24/Block/Sales/Order/Totals.php ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Totals.php 5 2013-10-10 13:08:44Z sapolhei $
20
+ */
21
+
22
+ class Mpay24_Mpay24_Block_Sales_Order_Totals extends Mage_Sales_Block_Order_Totals {
23
+ /**
24
+ * Initialize order totals array
25
+ *
26
+ * @return Mage_Sales_Block_Order_Totals
27
+ */
28
+ protected function _initTotals() {
29
+ parent::_initTotals();
30
+
31
+ $source = $this->getSource();
32
+
33
+ /**
34
+ * Add store rewards
35
+ */
36
+ $totals = $this->_totals;
37
+ $newTotals = array();
38
+
39
+ if (count($totals)>0) {
40
+ foreach ($totals as $index=>$arr) {
41
+ if ($index == "grand_total")
42
+ if (((float)$source->getPaymentCharge()) != 0) {
43
+ if($source->getPaymentChargeType() == "percent") {
44
+ $label = Mage::helper('mpay24')->__("Payment charge") . "(" . number_format($source->getPaymentCharge(),2,'.','') . "%)";
45
+ $amount = $source->getSubtotal()*$source->getPaymentCharge()/100;
46
+ } else {
47
+ $label = Mage::helper('mpay24')->__("Payment charge") . "(" . Mage::helper('mpay24')->__("Absolute value") . ")";
48
+ $amount = $source->getPaymentCharge();
49
+ }
50
+
51
+ $newTotals['payment_charge'] = new Varien_Object(array(
52
+ 'code' => 'payment_charge',
53
+ 'field' => 'payment_charge',
54
+ 'value' => $amount,
55
+ 'label' => $label
56
+ ));
57
+ }
58
+ $newTotals[$index] = $arr;
59
+ }
60
+ $this->_totals = $newTotals;
61
+ }
62
+
63
+ return $this;
64
+ }
65
+ }
app/code/community/Mpay24/Mpay24/Helper/Data.php CHANGED
@@ -14,8 +14,46 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
 
21
- class Mpay24_Mpay24_Helper_Data extends Mage_Core_Helper_Abstract {}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Data.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
 
22
+ class Mpay24_Mpay24_Helper_Data extends Mage_Core_Helper_Abstract {
23
+ /**
24
+ * Get payment charge
25
+ * @param string $code
26
+ * @param Mage_Sales_Model_Quote $quote
27
+ * @return float
28
+ */
29
+ public function getPaymentCharge($code, $quote=null) {
30
+ if (is_null($quote))
31
+ $quote = Mage::getSingleton('checkout/session')->getQuote();
32
+
33
+ $amount = array();
34
+ $address = $quote->isVirtual() ? $quote->getBillingAddress() : $quote->getShippingAddress();
35
+
36
+ $charges = array();
37
+ if ($code == 'mpay24') {
38
+ $paymentsCount = Mage::getStoreConfig("mpay24/mpay24/payments_count");
39
+ for($i=1; $i<=$paymentsCount; $i++) {
40
+ $charges[$i]["type"] = Mage::getStoreConfig("mpay24/mpay24/tax_type_$i");
41
+ $charges[$i]["value"] = Mage::getStoreConfig("mpay24/mpay24/tax_$i");
42
+
43
+ if ($charges[$i]["value"]) {
44
+ $amount[$i]["type"] = $charges[$i]["type"];
45
+ $amount[$i]["value"] = $charges[$i]["value"];
46
+
47
+ if ($charges[$i]["type"] =="percent") {
48
+ $subTotal = $address->getSubtotal();
49
+ $tax = $address->getBaseTaxAmount();
50
+ $amount[$i]["endValue"] = ($subTotal + $tax) * floatval($charges[$i]["value"]) / 100;
51
+ } else
52
+ $amount[$i]["endValue"] = floatval($charges[$i]["value"]);
53
+ }
54
+ }
55
+ }
56
+
57
+ return $amount;
58
+ }
59
+ }
app/code/community/Mpay24/Mpay24/Model/Api/MPay24Api.php CHANGED
@@ -4,7 +4,7 @@
4
  * build the SOAP request, sent to mPAY24
5
  *
6
  * @author mPAY24 GmbH <support@mpay24.com>
7
- * @version $Id: MPay24Api.php 5522 2013-06-24 13:08:35Z anna $
8
  * @filesource MPay24Api.php
9
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
10
  */
@@ -677,7 +677,7 @@ class MPay24Api {
677
  * Create a curl request and send the cretaed SOAP XML
678
  */
679
  private function send() {
680
- $userAgent = 'mPAY24 PHP API $Rev: 5522 $ ($Date:: 2013-06-24 #$)';
681
 
682
  if($this->shop != '') {
683
  $userAgent = $this->shop;
@@ -775,7 +775,7 @@ class MPay24Api {
775
  * The GeneralResponse class contains the status of a response and return code, which was delivered by mPAY24 as an answer of your request
776
  *
777
  * @author mPAY24 GmbH <support@mpay24.com>
778
- * @version $Id: MPay24Api.php 5522 2013-06-24 13:08:35Z anna $
779
  * @filesource MPay24Api.php
780
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
781
  */
@@ -851,7 +851,7 @@ class GeneralResponse {
851
  * The PaymentResponse class contains a generalResponse object and the location(URL), which will be used for the payment session
852
  *
853
  * @author mPAY24 GmbH <support@mpay24.com>
854
- * @version $Id: MPay24Api.php 5522 2013-06-24 13:08:35Z anna $
855
  * @filesource MPay24Api.php
856
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
857
  */
@@ -907,7 +907,7 @@ class PaymentResponse extends GeneralResponse {
907
  * The ManagePaymentResponse class contains a generalResponse object and the mPAYTID and/or tid of the transaction which was managed
908
  *
909
  * @author mPAY24 GmbH <support@mpay24.com>
910
- * @version $Id: MPay24Api.php 5522 2013-06-24 13:08:35Z anna $
911
  * @filesource MPay24Api.php
912
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
913
  */
@@ -978,7 +978,7 @@ class ManagePaymentResponse extends GeneralResponse {
978
  * The ListPaymentMethodsResponse class contains a generalResponse object and all the needed informarion for the active payment mothods (payment methods count, payment types, brands and descriptions)
979
  *
980
  * @author mPAY24 GmbH <support@mpay24.com>
981
- * @version $Id: MPay24Api.php 5522 2013-06-24 13:08:35Z anna $
982
  * @filesource MPay24Api.php
983
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
984
  */
@@ -1131,7 +1131,7 @@ class ListPaymentMethodsResponse extends GeneralResponse {
1131
  * The TransactionStatusResponse class contains a generalResponse object and all the parameters, returned with the confirmation from mPAY24
1132
  *
1133
  * @author mPAY24 GmbH <support@mpay24.com>
1134
- * @version $Id: MPay24Api.php 5522 2013-06-24 13:08:35Z anna $
1135
  * @filesource MPay24Api.php
1136
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
1137
  */
4
  * build the SOAP request, sent to mPAY24
5
  *
6
  * @author mPAY24 GmbH <support@mpay24.com>
7
+ * @version $Id: MPay24Api.php 5 2013-10-10 13:08:44Z sapolhei $
8
  * @filesource MPay24Api.php
9
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
10
  */
677
  * Create a curl request and send the cretaed SOAP XML
678
  */
679
  private function send() {
680
+ $userAgent = 'mPAY24 PHP API $Rev: 5 $ ($Date:: 2013-10-10 #$)';
681
 
682
  if($this->shop != '') {
683
  $userAgent = $this->shop;
775
  * The GeneralResponse class contains the status of a response and return code, which was delivered by mPAY24 as an answer of your request
776
  *
777
  * @author mPAY24 GmbH <support@mpay24.com>
778
+ * @version $Id: MPay24Api.php 5 2013-10-10 13:08:44Z sapolhei $
779
  * @filesource MPay24Api.php
780
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
781
  */
851
  * The PaymentResponse class contains a generalResponse object and the location(URL), which will be used for the payment session
852
  *
853
  * @author mPAY24 GmbH <support@mpay24.com>
854
+ * @version $Id: MPay24Api.php 5 2013-10-10 13:08:44Z sapolhei $
855
  * @filesource MPay24Api.php
856
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
857
  */
907
  * The ManagePaymentResponse class contains a generalResponse object and the mPAYTID and/or tid of the transaction which was managed
908
  *
909
  * @author mPAY24 GmbH <support@mpay24.com>
910
+ * @version $Id: MPay24Api.php 5 2013-10-10 13:08:44Z sapolhei $
911
  * @filesource MPay24Api.php
912
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
913
  */
978
  * The ListPaymentMethodsResponse class contains a generalResponse object and all the needed informarion for the active payment mothods (payment methods count, payment types, brands and descriptions)
979
  *
980
  * @author mPAY24 GmbH <support@mpay24.com>
981
+ * @version $Id: MPay24Api.php 5 2013-10-10 13:08:44Z sapolhei $
982
  * @filesource MPay24Api.php
983
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
984
  */
1131
  * The TransactionStatusResponse class contains a generalResponse object and all the parameters, returned with the confirmation from mPAY24
1132
  *
1133
  * @author mPAY24 GmbH <support@mpay24.com>
1134
+ * @version $Id: MPay24Api.php 5 2013-10-10 13:08:44Z sapolhei $
1135
  * @filesource MPay24Api.php
1136
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
1137
  */
app/code/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @author support@mpay24.com
4
- * @version $Id: test.php 5230 2012-10-25 14:42:49Z anna $
5
  * @filesource test.php
6
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
7
  */
@@ -20,7 +20,7 @@ class MPay24MagentoShop extends MPay24Shop {
20
 
21
  const CANCEL_URL = 'mpay24/payment/cancel';
22
 
23
- const MAGENTO_VERSION = "Magento 1.4.6 ";
24
 
25
  var $tid;
26
  var $price;
@@ -46,7 +46,7 @@ class MPay24MagentoShop extends MPay24Shop {
46
 
47
  function updateStatusToCancel($tid) {
48
  $order = $this->getOrder($tid);
49
- Mage::log('updateStatusToCancel called for order '.$order->getData('increment_id'));
50
  $confirmationCalled = "Payment ";
51
 
52
  $status = "";
@@ -282,6 +282,7 @@ class MPay24MagentoShop extends MPay24Shop {
282
 
283
 
284
  if($this->ps) {
 
285
  $mdxi->Order->PaymentTypes->setEnable('true');
286
 
287
  $mdxi->Order->PaymentTypes->Payment(1)->setType($this->type);
@@ -402,6 +403,11 @@ class MPay24MagentoShop extends MPay24Shop {
402
  $mdxi->Order->ShoppingCart->Item($linecount)->ItemPrice->setStyle($style);
403
  }
404
  }
 
 
 
 
 
405
  }
406
  }
407
 
@@ -432,6 +438,7 @@ class MPay24MagentoShop extends MPay24Shop {
432
  $mdxi->Order->ShoppingCart->ShippingCosts = number_format($this->order->getData('shipping_amount'), 2, '.', '');
433
  }
434
 
 
435
  if(number_format($this->order->getData('tax_amount'),2,'.','') !== '0.00') {
436
  $array = $this->order->getFullTaxInfo();
437
  $taxInfo = array();
@@ -450,13 +457,28 @@ class MPay24MagentoShop extends MPay24Shop {
450
  } else
451
  $inklText = "";
452
 
453
- $mdxi->Order->ShoppingCart->Tax->setHeader($inklText . $taxArray['id']);
454
- $mdxi->Order->ShoppingCart->Tax->setHeaderStyle(Mage::getStoreConfig('mpay24/mpay24spsc/tax_headerstyle'));
455
- $mdxi->Order->ShoppingCart->Tax->setStyle(Mage::getStoreConfig('mpay24/mpay24spsc/tax_style'));
456
- $mdxi->Order->ShoppingCart->Tax->setPercent(number_format($taxArray['rates'][0]['percent'],0,'.',''));
457
-
458
- $mdxi->Order->ShoppingCart->Tax = number_format($taxArray['amount'],2,'.','');
 
 
 
 
 
 
 
 
 
 
 
 
459
  }
 
 
 
460
  }
461
 
462
  $billingCountry = "";
@@ -480,6 +502,7 @@ class MPay24MagentoShop extends MPay24Shop {
480
  }
481
 
482
  $mdxi->Order->Price = $transaction->PRICE;
 
483
  $mdxi->Order->Price->setHeader(Mage::getStoreConfig('mpay24/mpay24spsc/price_header'));
484
  $mdxi->Order->Price->setHeaderStyle(Mage::getStoreConfig('mpay24/mpay24spsc/price_headerstyle'));
485
  $mdxi->Order->Price->setStyle(Mage::getStoreConfig('mpay24/mpay24spsc/price_style'));
1
  <?php
2
  /**
3
  * @author support@mpay24.com
4
+ * @version $Id: MPay24MagentoShop.php 5 2013-10-10 13:08:44Z sapolhei $
5
  * @filesource test.php
6
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
7
  */
20
 
21
  const CANCEL_URL = 'mpay24/payment/cancel';
22
 
23
+ const MAGENTO_VERSION = "Magento 1.4.7 ";
24
 
25
  var $tid;
26
  var $price;
46
 
47
  function updateStatusToCancel($tid) {
48
  $order = $this->getOrder($tid);
49
+ Mage::log('mPAY24 Extension: updateStatusToCancel called for order '.$order->getData('increment_id'));
50
  $confirmationCalled = "Payment ";
51
 
52
  $status = "";
282
 
283
 
284
  if($this->ps) {
285
+ $this->order->getPayment()->setCcType($this->type . " => " . $this->brand)->save();
286
  $mdxi->Order->PaymentTypes->setEnable('true');
287
 
288
  $mdxi->Order->PaymentTypes->Payment(1)->setType($this->type);
403
  $mdxi->Order->ShoppingCart->Item($linecount)->ItemPrice->setStyle($style);
404
  }
405
  }
406
+
407
+ if(in_array('Price',$conf)) {
408
+ $mdxi->Order->ShoppingCart->Item($linecount)->Price = number_format(($_item->getData('price')*1),2,'.','') * (int)$_item->getQtyOrdered();
409
+ $mdxi->Order->ShoppingCart->Item($linecount)->Price->setStyle($style);
410
+ }
411
  }
412
  }
413
 
438
  $mdxi->Order->ShoppingCart->ShippingCosts = number_format($this->order->getData('shipping_amount'), 2, '.', '');
439
  }
440
 
441
+ $t=1;
442
  if(number_format($this->order->getData('tax_amount'),2,'.','') !== '0.00') {
443
  $array = $this->order->getFullTaxInfo();
444
  $taxInfo = array();
457
  } else
458
  $inklText = "";
459
 
460
+ $mdxi->Order->ShoppingCart->Tax($t, number_format($taxArray['amount'],2,'.',''));
461
+
462
+ $mdxi->Order->ShoppingCart->Tax($t)->setHeader($inklText . $taxArray['id']);
463
+ $mdxi->Order->ShoppingCart->Tax($t)->setHeaderStyle(Mage::getStoreConfig('mpay24/mpay24spsc/tax_headerstyle'));
464
+ $mdxi->Order->ShoppingCart->Tax($t)->setStyle(Mage::getStoreConfig('mpay24/mpay24spsc/tax_style'));
465
+ $mdxi->Order->ShoppingCart->Tax($t)->setPercent(number_format($taxArray['rates'][0]['percent'],0,'.',''));
466
+
467
+ $t++;
468
+ }
469
+ }
470
+
471
+ if($this->order->getPaymentCharge() > 0) {
472
+ if($this->order->getPaymentChargeType() == "percent") {
473
+ $mdxi->Order->ShoppingCart->Tax($t, number_format($this->order->getData('subtotal')*$this->order->getPaymentCharge()/100,2,'.',''));
474
+ $mdxi->Order->ShoppingCart->Tax($t)->setHeader(Mage::helper('mpay24')->__("Payment charge") . " (" . $this->order->getPaymentCharge() . "%)");
475
+ } else {
476
+ $mdxi->Order->ShoppingCart->Tax($t, number_format($this->order->getPaymentCharge(),2,'.',''));
477
+ $mdxi->Order->ShoppingCart->Tax($t)->setHeader(Mage::helper('mpay24')->__("Payment charge") . " (" . Mage::helper('mpay24')->__("Absolute value") . ")");
478
  }
479
+
480
+ $mdxi->Order->ShoppingCart->Tax($t)->setHeaderStyle(Mage::getStoreConfig('mpay24/mpay24spsc/tax_headerstyle'));
481
+ $mdxi->Order->ShoppingCart->Tax($t)->setStyle(Mage::getStoreConfig('mpay24/mpay24spsc/tax_style'));
482
  }
483
 
484
  $billingCountry = "";
502
  }
503
 
504
  $mdxi->Order->Price = $transaction->PRICE;
505
+
506
  $mdxi->Order->Price->setHeader(Mage::getStoreConfig('mpay24/mpay24spsc/price_header'));
507
  $mdxi->Order->Price->setHeaderStyle(Mage::getStoreConfig('mpay24/mpay24spsc/price_headerstyle'));
508
  $mdxi->Order->Price->setStyle(Mage::getStoreConfig('mpay24/mpay24spsc/price_style'));
app/code/community/Mpay24/Mpay24/Model/Api/MPay24Shop.php CHANGED
@@ -6,7 +6,7 @@ include_once("orderXML.php");
6
  * The abstract MPay24Shop class provides abstract functions, which are used from the other functions in order to make a payment or a request to mPAY24
7
  *
8
  * @author mPAY24 GmbH <support@mpay24.com>
9
- * @version $Id: MPay24Shop.php 5522 2013-06-24 13:08:35Z anna $
10
  * @filesource MPay24Shop.php
11
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
12
  */
@@ -634,7 +634,7 @@ define("TRANSACTION_PROPERTIES", "SECRET,TID,STATUS,MPAYTID,APPR_CODE,P_TYPE,
634
  * * STRING: FILTER_STATUS
635
  * * STRING: APPR_CODE
636
  * @author mPAY24 GmbH <support@mpay24.com>
637
- * @version $Id: MPay24Shop.php 5522 2013-06-24 13:08:35Z anna $
638
  * @filesource MPay24Shop.php
639
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
640
  */
@@ -706,7 +706,7 @@ class Transaction {
706
  * The abstract MPay24flexLINK class provides abstract functions, which are used from the other functions in order to create a flexLINK
707
  *
708
  * @author mPAY24 GmbH <support@mpay24.com>
709
- * @version $Id: MPay24Shop.php 5522 2013-06-24 13:08:35Z anna $
710
  * @filesource MPay24Shop.php
711
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
712
  */
6
  * The abstract MPay24Shop class provides abstract functions, which are used from the other functions in order to make a payment or a request to mPAY24
7
  *
8
  * @author mPAY24 GmbH <support@mpay24.com>
9
+ * @version $Id: MPay24Shop.php 5 2013-10-10 13:08:44Z sapolhei $
10
  * @filesource MPay24Shop.php
11
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
12
  */
634
  * * STRING: FILTER_STATUS
635
  * * STRING: APPR_CODE
636
  * @author mPAY24 GmbH <support@mpay24.com>
637
+ * @version $Id: MPay24Shop.php 5 2013-10-10 13:08:44Z sapolhei $
638
  * @filesource MPay24Shop.php
639
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
640
  */
706
  * The abstract MPay24flexLINK class provides abstract functions, which are used from the other functions in order to create a flexLINK
707
  *
708
  * @author mPAY24 GmbH <support@mpay24.com>
709
+ * @version $Id: MPay24Shop.php 5 2013-10-10 13:08:44Z sapolhei $
710
  * @filesource MPay24Shop.php
711
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
712
  */
app/code/community/Mpay24/Mpay24/Model/Api/cacert.pem CHANGED
@@ -49,7 +49,7 @@
49
  # the terms of any one of the MPL, the GPL or the LGPL.
50
  #
51
  # ***** END LICENSE BLOCK *****
52
- # @(#) $RCSfile: certdata.txt,v $ $Revision: 1.79 $ $Date: 2011/09/02 19:40:56 $
53
 
54
  GTE CyberTrust Global Root
55
  ==========================
49
  # the terms of any one of the MPL, the GPL or the LGPL.
50
  #
51
  # ***** END LICENSE BLOCK *****
52
+ # @(#) $RCSfile: certdata.txt,v $ $Revision: 5 $ $Date: 2013-10-10 15:08:44 +0200 (Do, 10 Okt 2013) $
53
 
54
  GTE CyberTrust Global Root
55
  ==========================
app/code/community/Mpay24/Mpay24/Model/Api/curllog.log CHANGED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ * About to connect() to www.mpay24.com port 443 (#0)
2
+ * Trying 213.164.25.234...
3
+ * connected
4
+ * Connected to www.mpay24.com (213.164.25.234) port 443 (#0)
5
+ * successfully set certificate verify locations:
6
+ * CAfile: C:\Users\anna\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
7
+ CApath: none
8
+ * SSL connection using RC4-SHA
9
+ * Server certificate:
10
+ * subject: 1.3.6.1.4.1.311.60.2.1.3=AT; businessCategory=Private Organization; serialNumber=199939d; C=AT; ST=Wien; L=Wien; O=mPAY24 GmbH; OU=Terms of use at www.verisign.com/rpa (c)05; CN=www.mpay24.com
11
+ * start date: 2011-10-18 00:00:00 GMT
12
+ * expire date: 2013-12-02 23:59:59 GMT
13
+ * common name: www.mpay24.com (matched)
14
+ * issuer: C=US; O=VeriSign, Inc.; OU=VeriSign Trust Network; OU=Terms of use at https://www.verisign.com/rpa (c)06; CN=VeriSign Class 3 Extended Validation SSL SGC CA
15
+ * SSL certificate verify ok.
16
+ * Server auth using Basic with user 'u72169'
17
+ > POST /app/bin/etpproxy_v15 HTTP/1.1
18
+ Authorization: Basic dTcyMTY5OkJydXNldmE4Ng==
19
+ User-Agent: mPAY24 PHP API $Rev: 7 $ ($Date:: 2013-10-10 #$)
20
+ Host: www.mpay24.com
21
+ Accept: */*
22
+ Content-Length: 423
23
+ Content-Type: application/x-www-form-urlencoded
24
+
25
+ * upload completely sent off: 423 out of 423 bytes
26
+ < HTTP/1.1 200 OK
27
+ < Date: Thu, 10 Oct 2013 13:35:08 GMT
28
+ < Server:
29
+ < Content-Length: 1311
30
+ < Content-Type: text/xml; charset=utf-8
31
+ <
32
+ * Connection #0 to host www.mpay24.com left intact
33
+ * Closing connection #0
34
+ * About to connect() to www.mpay24.com port 443 (#0)
35
+ * Trying 213.164.25.234...
36
+ * connected
37
+ * Connected to www.mpay24.com (213.164.25.234) port 443 (#0)
38
+ * successfully set certificate verify locations:
39
+ * CAfile: C:\Users\anna\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
40
+ CApath: none
41
+ * SSL connection using RC4-SHA
42
+ * Server certificate:
43
+ * subject: 1.3.6.1.4.1.311.60.2.1.3=AT; businessCategory=Private Organization; serialNumber=199939d; C=AT; ST=Wien; L=Wien; O=mPAY24 GmbH; OU=Terms of use at www.verisign.com/rpa (c)05; CN=www.mpay24.com
44
+ * start date: 2011-10-18 00:00:00 GMT
45
+ * expire date: 2013-12-02 23:59:59 GMT
46
+ * common name: www.mpay24.com (matched)
47
+ * issuer: C=US; O=VeriSign, Inc.; OU=VeriSign Trust Network; OU=Terms of use at https://www.verisign.com/rpa (c)06; CN=VeriSign Class 3 Extended Validation SSL SGC CA
48
+ * SSL certificate verify ok.
49
+ * Server auth using Basic with user 'u72169'
50
+ > POST /app/bin/etpproxy_v15 HTTP/1.1
51
+ Authorization: Basic dTcyMTY5OkJydXNldmE4Ng==
52
+ User-Agent: mPAY24 PHP API $Rev: 7 $ ($Date:: 2013-10-10 #$)
53
+ Host: www.mpay24.com
54
+ Accept: */*
55
+ Content-Length: 423
56
+ Content-Type: application/x-www-form-urlencoded
57
+
58
+ * upload completely sent off: 423 out of 423 bytes
59
+ < HTTP/1.1 200 OK
60
+ < Date: Thu, 10 Oct 2013 13:38:00 GMT
61
+ < Server:
62
+ < Content-Length: 1311
63
+ < Content-Type: text/xml; charset=utf-8
64
+ <
65
+ * Connection #0 to host www.mpay24.com left intact
66
+ * Closing connection #0
67
+ * About to connect() to www.mpay24.com port 443 (#0)
68
+ * Trying 213.164.25.234...
69
+ * connected
70
+ * Connected to www.mpay24.com (213.164.25.234) port 443 (#0)
71
+ * successfully set certificate verify locations:
72
+ * CAfile: C:\Users\anna\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
73
+ CApath: none
74
+ * SSL connection using RC4-SHA
75
+ * Server certificate:
76
+ * subject: 1.3.6.1.4.1.311.60.2.1.3=AT; businessCategory=Private Organization; serialNumber=199939d; C=AT; ST=Wien; L=Wien; O=mPAY24 GmbH; OU=Terms of use at www.verisign.com/rpa (c)05; CN=www.mpay24.com
77
+ * start date: 2011-10-18 00:00:00 GMT
78
+ * expire date: 2013-12-02 23:59:59 GMT
79
+ * common name: www.mpay24.com (matched)
80
+ * issuer: C=US; O=VeriSign, Inc.; OU=VeriSign Trust Network; OU=Terms of use at https://www.verisign.com/rpa (c)06; CN=VeriSign Class 3 Extended Validation SSL SGC CA
81
+ * SSL certificate verify ok.
82
+ * Server auth using Basic with user 'u72169'
83
+ > POST /app/bin/etpproxy_v15 HTTP/1.1
84
+ Authorization: Basic dTcyMTY5OkJydXNldmE4Ng==
85
+ User-Agent: mPAY24 PHP API $Rev: 7 $ ($Date:: 2013-10-10 #$)
86
+ Host: www.mpay24.com
87
+ Accept: */*
88
+ Content-Length: 423
89
+ Content-Type: application/x-www-form-urlencoded
90
+
91
+ * upload completely sent off: 423 out of 423 bytes
92
+ < HTTP/1.1 200 OK
93
+ < Date: Thu, 10 Oct 2013 13:38:54 GMT
94
+ < Server:
95
+ < Content-Length: 1311
96
+ < Content-Type: text/xml; charset=utf-8
97
+ <
98
+ * Connection #0 to host www.mpay24.com left intact
99
+ * Closing connection #0
app/code/community/Mpay24/Mpay24/Model/Api/curllog.log~ DELETED
@@ -1,51 +0,0 @@
1
- * About to connect() to proxy 208.110.83.206 port 8089 (#0)
2
- * Trying 208.110.83.206...
3
- * Connection refused
4
- * Failed connect to test.mpay24.com:8089; Connection refused
5
- * Closing connection 0
6
- * About to connect() to proxy 194.141.96.247 port 8080 (#0)
7
- * Trying 194.141.96.247...
8
- * Connection timed out
9
- * Failed connect to test.mpay24.com:8080; Connection timed out
10
- * Closing connection 0
11
- * About to connect() to proxy 60.190.129.52 port 3128 (#0)
12
- * Trying 60.190.129.52...
13
- * Connected to 60.190.129.52 (60.190.129.52) port 3128 (#0)
14
- * Establish HTTP proxy tunnel to test.mpay24.com:443
15
- * Server auth using Basic with user 'u99999'
16
- > CONNECT test.mpay24.com:443 HTTP/1.1
17
- Host: test.mpay24.com:443
18
- User-Agent: mPAY24 PHP API $Rev: 5522 $ ($Date:: 2013-06-24 #$)
19
- Proxy-Connection: Keep-Alive
20
-
21
- < HTTP/1.0 200 Connection established
22
- <
23
- * Proxy replied OK to CONNECT request
24
- * successfully set certificate verify locations:
25
- * CAfile: /var/www/magento/app/code/community/Mpay24/Mpay24/Model/Api/cacert.pem
26
- CApath: /etc/ssl/certs
27
- * SSL connection using RC4-SHA
28
- * Server certificate:
29
- * subject: OU=Domain Control Validated; OU=Provided by EUNETIC GmbH; OU=EuropeanSSL Single; CN=test.mpay24.com
30
- * start date: 2013-05-13 00:00:00 GMT
31
- * expire date: 2015-05-13 23:59:59 GMT
32
- * subjectAltName: test.mpay24.com matched
33
- * issuer: C=DE; O=EUNETIC GmbH; CN=EuropeanSSL Server CA
34
- * SSL certificate verify ok.
35
- * Server auth using Basic with user 'u99999'
36
- > POST /app/bin/etpproxy_v15 HTTP/1.1
37
- Authorization: Basic dTk5OTk5OkJydXNldmE4Ng==
38
- User-Agent: mPAY24 PHP API $Rev: 5522 $ ($Date:: 2013-06-24 #$)
39
- Host: test.mpay24.com
40
- Accept: */*
41
- Content-Length: 423
42
- Content-Type: application/x-www-form-urlencoded
43
-
44
- * upload completely sent off: 423 out of 423 bytes
45
- < HTTP/1.1 200 OK
46
- < Date: Tue, 23 Jul 2013 11:26:38 GMT
47
- < Server: Apache
48
- < Content-Length: 1455
49
- < Content-Type: text/xml; charset=utf-8
50
- <
51
- * Connection #0 to host 60.190.129.52 left intact
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/Model/Api/orderXML.php CHANGED
@@ -9,7 +9,7 @@ define ("MDXI_SCHEMA","https://www.mpay24.com/schemas/MDXI/v3.0/MDXI.xsd");
9
  * The ORDER class provides the functioanallity to create a XML, which is validatable with the MDXI.xsd
10
  *
11
  * @author mPAY24 GmbH <support@mpay24.com>
12
- * @version $Id: orderXML.php 5477 2013-06-18 13:00:17Z anna $
13
  * @filesource orderXML.php
14
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
15
  */
9
  * The ORDER class provides the functioanallity to create a XML, which is validatable with the MDXI.xsd
10
  *
11
  * @author mPAY24 GmbH <support@mpay24.com>
12
+ * @version $Id: orderXML.php 5 2013-10-10 13:08:44Z sapolhei $
13
  * @filesource orderXML.php
14
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
15
  */
app/code/community/Mpay24/Mpay24/Model/Config.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
 
21
  class Mpay24_Mpay24_Model_Config extends Mage_Payment_Model_Config {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Config.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
 
22
  class Mpay24_Mpay24_Model_Config extends Mage_Payment_Model_Config {
app/code/community/Mpay24/Mpay24/Model/Entity/Setup.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
 
21
  class Mpay24_Mpay24_Model_Entity_Setup extends Mage_Eav_Model_Entity_Setup {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Setup.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
 
22
  class Mpay24_Mpay24_Model_Entity_Setup extends Mage_Eav_Model_Entity_Setup {
app/code/community/Mpay24/Mpay24/Model/Method/Abstract.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
 
21
  abstract class Mpay24_Mpay24_Model_Method_Abstract extends Mage_Payment_Model_Method_Abstract {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Abstract.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
 
22
  abstract class Mpay24_Mpay24_Model_Method_Abstract extends Mage_Payment_Model_Method_Abstract {
app/code/community/Mpay24/Mpay24/Model/Method/Selectpayment.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
 
21
  include_once "app/code/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
@@ -29,7 +30,8 @@ abstract class Mpay24_Mpay24_Model_Method_Selectpayment extends Mpay24_Mpay24_Mo
29
 
30
  $payments = array();
31
  $paymentsArray = unserialize(Mage::getStoreConfig('mpay24/mpay24/active_payments'));
32
-
 
33
  foreach($paymentsArray as $id => $paymentType) {
34
  if(strlen($id) == 1)
35
  $id = "00$id";
@@ -37,12 +39,15 @@ abstract class Mpay24_Mpay24_Model_Method_Selectpayment extends Mpay24_Mpay24_Mo
37
  $id = "0$id";
38
 
39
  $payments[$id] = $paymentType;
 
 
 
40
  }
41
 
42
  if(isset($_REQUEST['mpay24_ps']) && $_REQUEST['mpay24_ps'] != 'false') {
43
  $ps = true;
44
- $brand = $payments[$_REQUEST['mpay24_ps']]['BRAND'];
45
- $type = $payments[$_REQUEST['mpay24_ps']]['P_TYPE'];
46
  }
47
 
48
  $this->clearSession();
@@ -61,6 +66,9 @@ abstract class Mpay24_Mpay24_Model_Method_Selectpayment extends Mpay24_Mpay24_Mo
61
  $this->getPayment()->setAuth(true);
62
  $this->getSession()->setUrl($soapResult->getLocation());
63
  $payment->setAdditionalInformation('user_field', MPay24MagentoShop::MAGENTO_VERSION.substr($payment->getOrder()->getIncrementId(),0,100).'_'.date('Y-m-d'));
 
 
 
64
  } else
65
  $error = $soapResult->getGeneralResponse()->getReturnCode();
66
  } else {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Selectpayment.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
 
22
  include_once "app/code/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
30
 
31
  $payments = array();
32
  $paymentsArray = unserialize(Mage::getStoreConfig('mpay24/mpay24/active_payments'));
33
+ $i = 1;
34
+
35
  foreach($paymentsArray as $id => $paymentType) {
36
  if(strlen($id) == 1)
37
  $id = "00$id";
39
  $id = "0$id";
40
 
41
  $payments[$id] = $paymentType;
42
+ $payments[$id]['PS'] = $i;
43
+
44
+ $i++;
45
  }
46
 
47
  if(isset($_REQUEST['mpay24_ps']) && $_REQUEST['mpay24_ps'] != 'false') {
48
  $ps = true;
49
+ $brand = $payments[substr($_REQUEST['mpay24_ps'],0,3)]['BRAND'];
50
+ $type = $payments[substr($_REQUEST['mpay24_ps'],0,3)]['P_TYPE'];
51
  }
52
 
53
  $this->clearSession();
66
  $this->getPayment()->setAuth(true);
67
  $this->getSession()->setUrl($soapResult->getLocation());
68
  $payment->setAdditionalInformation('user_field', MPay24MagentoShop::MAGENTO_VERSION.substr($payment->getOrder()->getIncrementId(),0,100).'_'.date('Y-m-d'));
69
+
70
+ $payment->setIsTransactionPending(true);
71
+ $payment->getOrder()->addStatusToHistory(Mage_Sales_Model_Order::STATE_PENDING_PAYMENT, Mage::helper('mpay24')->__("Redirected to mPAY24 pay page"))->save();
72
  } else
73
  $error = $soapResult->getGeneralResponse()->getReturnCode();
74
  } else {
app/code/community/Mpay24/Mpay24/Model/Mpay24/Debug.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
 
21
  class Mpay24_Mpay24_Model_Mpay24_Debug extends Mage_Core_Model_Abstract {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Debug.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
 
22
  class Mpay24_Mpay24_Model_Mpay24_Debug extends Mage_Core_Model_Abstract {
app/code/community/Mpay24/Mpay24/Model/Mysql4/Mpay24/Debug.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
 
21
  class Mpay24_Mpay24_Model_Mysql4_Mpay24_Debug extends Mage_Core_Model_Mysql4_Abstract {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Debug.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
 
22
  class Mpay24_Mpay24_Model_Mysql4_Mpay24_Debug extends Mage_Core_Model_Mysql4_Abstract {
app/code/community/Mpay24/Mpay24/Model/Mysql4/Mpay24/Debug/Collection.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
 
21
  class Mpay24_Mpay24_Model_Mysql4_Mpay24_Debug_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Collection.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
 
22
  class Mpay24_Mpay24_Model_Mysql4_Mpay24_Debug_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
app/code/community/Mpay24/Mpay24/Model/Mysql4/Setup.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
 
21
  class Mpay24_Mpay24_Model_Mysql4_Setup extends Mage_Core_Model_Resource_Setup {}
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Setup.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
 
22
  class Mpay24_Mpay24_Model_Mysql4_Setup extends Mage_Core_Model_Resource_Setup {}
app/code/community/Mpay24/Mpay24/Model/Observer.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
  include_once "app/code/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
21
 
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Observer.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
  include_once "app/code/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
22
 
app/code/community/Mpay24/Mpay24/Model/Sales/Order/Creditmemo/Total/Paymentcharge.php ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Paymentcharge.php 5 2013-10-10 13:08:44Z sapolhei $
20
+ */
21
+
22
+ class Mpay24_Mpay24_Model_Sales_Order_Creditmemo_Total_Paymentcharge extends Mage_Sales_Model_Order_Creditmemo_Total_Abstract {
23
+ public function collect(Mage_Sales_Model_Order_Creditmemo $creditmemo) {
24
+ $creditmemo->setPaymentCharge(0);
25
+ $creditmemo->setBasePaymentCharge(0);
26
+
27
+ $amount = $creditmemo->getOrder()->getPaymentCharge();
28
+ $creditmemo->setPaymentCharge($amount);
29
+
30
+ $amount = $creditmemo->getOrder()->getBasePaymentCharge();
31
+ $creditmemo->setBasePaymentCharge($amount);
32
+
33
+ $type = $creditmemo->getOrder()->getPaymentChargeType();
34
+ $creditmemo->setPaymentChargeType($type);
35
+
36
+ if($type == 'percent') {
37
+ $creditmemo->setGrandTotal($creditmemo->getGrandTotal() + $creditmemo->getSubtotal()*$creditmemo->getPaymentCharge()/100);
38
+ $creditmemo->setBaseGrandTotal($creditmemo->getBaseGrandTotal() + $creditmemo->getSubtotal()*$creditmemo->getBasePaymentCharge()/100);
39
+ } else {
40
+ $creditmemo->setGrandTotal($creditmemo->getGrandTotal() + $creditmemo->getPaymentCharge());
41
+ $creditmemo->setBaseGrandTotal($creditmemo->getBaseGrandTotal() + $creditmemo->getBasePaymentCharge());
42
+ }
43
+
44
+ return $this;
45
+ }
46
+ }
app/code/community/Mpay24/Mpay24/Model/Sales/Order/Invoice/Total/Paymentcharge.php ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Paymentcharge.php 5 2013-10-10 13:08:44Z sapolhei $
20
+ */
21
+
22
+ class Mpay24_Mpay24_Model_Sales_Order_Invoice_Total_Paymentcharge extends Mage_Sales_Model_Order_Invoice_Total_Abstract {
23
+ public function collect(Mage_Sales_Model_Order_Invoice $invoice) {
24
+ $invoice->setPaymentCharge(0);
25
+ $invoice->setBasePaymentCharge(0);
26
+
27
+ $amount = $invoice->getOrder()->getPaymentCharge();
28
+ $invoice->setPaymentCharge($amount);
29
+
30
+ $amount = $invoice->getOrder()->getBasePaymentCharge();
31
+ $invoice->setBasePaymentCharge($amount);
32
+
33
+ $type = $invoice->getOrder()->getPaymentChargeType();
34
+ $invoice->setPaymentChargeType($type);
35
+
36
+ if($type == 'percent') {
37
+ $invoice->setGrandTotal($invoice->getGrandTotal() + $invoice->getSubtotal()*$invoice->getPaymentCharge()/100);
38
+ $invoice->setBaseGrandTotal($invoice->getBaseGrandTotal() + $invoice->getSubtotal()*$invoice->getBasePaymentCharge()/100);
39
+ } else {
40
+ $invoice->setGrandTotal($invoice->getGrandTotal() + $invoice->getPaymentCharge());
41
+ $invoice->setBaseGrandTotal($invoice->getBaseGrandTotal() + $invoice->getBasePaymentCharge());
42
+ }
43
+
44
+ return $this;
45
+ }
46
+ }
app/code/community/Mpay24/Mpay24/Model/Sales/Quote/Address/Total/Paymentcharge.php ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Paymentcharge.php 5 2013-10-10 13:08:44Z sapolhei $
20
+ */
21
+
22
+ class Mpay24_Mpay24_Model_Sales_Quote_Address_Total_Paymentcharge extends Mage_Sales_Model_Quote_Address_Total_Abstract {
23
+ public function __construct() {
24
+ $this->setCode('payment_charge');
25
+ }
26
+
27
+ public function collect(Mage_Sales_Model_Quote_Address $address) {
28
+ if(isset($_REQUEST['mpay24_ps'])) {
29
+ $address->setPaymentCharge(0);
30
+ $address->setBasePaymentCharge(0);
31
+ $address->setPaymentChargeType("absolute");
32
+
33
+ $items = $address->getAllItems();
34
+
35
+ if (!count($items))
36
+ return $this;
37
+
38
+ $paymentMethod = $address->getQuote()->getPayment()->getMethod();
39
+
40
+ if ($paymentMethod) {
41
+ $amount = Mage::helper('mpay24')->getPaymentCharge($paymentMethod, $address->getQuote());
42
+
43
+ if(isset($amount[substr($_REQUEST['mpay24_ps'],4)])) {
44
+ $address->setPaymentChargeType($amount[substr($_REQUEST['mpay24_ps'],4)]['type']);
45
+ $address->setPaymentCharge($amount[substr($_REQUEST['mpay24_ps'],4)]['value']);
46
+ $address->setBasePaymentCharge($amount[substr($_REQUEST['mpay24_ps'],4)]['value']);
47
+ }
48
+ }
49
+
50
+ $charge = $address->getPaymentCharge();
51
+ $baseCharge = $address->getBasePaymentCharge();
52
+
53
+ if($address->getPaymentChargeType() == "percent") {
54
+ $address->setGrandTotal($address->getGrandTotal() + $address->getSubtotal()*$charge/100);
55
+ $address->setBaseGrandTotal($address->getBaseGrandTotal() + $address->getSubtotal()*$baseCharge/100);
56
+ } else {
57
+ $address->setGrandTotal($address->getGrandTotal() + $charge);
58
+ $address->setBaseGrandTotal($address->getBaseGrandTotal() + $baseCharge);
59
+ }
60
+ }
61
+
62
+ return $this;
63
+ }
64
+
65
+ public function fetch(Mage_Sales_Model_Quote_Address $address) {
66
+ $charge = $address->getPaymentCharge();
67
+
68
+ if($address->getPaymentChargeType() == "percent") {
69
+ $label = Mage::helper('mpay24')->__("Payment charge") . " (" . number_format($charge,2,'.','') . "%)";
70
+ $charge = $address->getSubtotal()*$charge/100;
71
+ } else
72
+ $label = Mage::helper('mpay24')->__("Payment charge") . " (" . Mage::helper('mpay24')->__("Absolute value") . ")";
73
+
74
+ if ($charge && $charge!=0 && $charge != "")
75
+ $address->addTotal(array(
76
+ 'code' => $this->getCode(),
77
+ 'title' => $label,
78
+ 'full_info' => array(),
79
+ 'value' => $charge
80
+ ));
81
+
82
+ return $this;
83
+ }
84
+ }
app/code/community/Mpay24/Mpay24/Model/Selectpayment.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
 
21
  include_once "app/code/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Selectpayment.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
 
22
  include_once "app/code/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
app/code/community/Mpay24/Mpay24/Model/Session.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
 
21
  class Mpay24_Mpay24_Model_Session extends Mage_Core_Model_Session_Abstract {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Session.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
 
22
  class Mpay24_Mpay24_Model_Session extends Mage_Core_Model_Session_Abstract {
app/code/community/Mpay24/Mpay24/Model/Source/AllowedIPs.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
  class Mpay24_Mpay24_Model_Source_AllowedIPs {
21
  public function toOptionArray() {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: AllowedIPs.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
  class Mpay24_Mpay24_Model_Source_AllowedIPs {
22
  public function toOptionArray() {
app/code/community/Mpay24/Mpay24/Model/Source/BillAddr.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
 
21
  class Mpay24_Mpay24_Model_Source_BillAddr {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: BillAddr.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
 
22
  class Mpay24_Mpay24_Model_Source_BillAddr {
app/code/community/Mpay24/Mpay24/Model/Source/ClearingAction.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
 
21
  include_once "app/code/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: ClearingAction.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
 
22
  include_once "app/code/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
app/code/community/Mpay24/Mpay24/Model/Source/FormTemplate.php CHANGED
@@ -14,20 +14,21 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
- class Mpay24_Mpay24_Model_Source_FormTemplate {
21
-
22
- /**
23
- * Options getter
24
- *
25
- * @return array
26
- */
27
- public function toOptionArray() {
28
- return array(
29
- array('value' => 'dropDown.phtml', 'label'=>'Drop-Down'),
30
- array('value' => 'area.phtml', 'label'=>'Icons'),
31
- );
32
- }
33
  }
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: FormTemplate.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
+ class Mpay24_Mpay24_Model_Source_FormTemplate {
22
+
23
+ /**
24
+ * Options getter
25
+ *
26
+ * @return array
27
+ */
28
+ public function toOptionArray() {
29
+ return array(
30
+ array('value' => 'dropDown.phtml', 'label'=>'Drop-Down'),
31
+ array('value' => 'area.phtml', 'label'=>'Icons'),
32
+ );
33
+ }
34
  }
app/code/community/Mpay24/Mpay24/Model/Source/PaidOrder.php CHANGED
@@ -14,20 +14,21 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
  class Mpay24_Mpay24_Model_Source_PaidOrder {
21
 
22
- /**
23
- * Options getter
24
- *
25
- * @return array
26
- */
27
- public function toOptionArray() {
28
- return array(
29
- array('value' => Mage_Sales_Model_Order::STATE_PROCESSING, 'label'=>'Processing'),
30
- array('value' => Mage_Sales_Model_Order::STATE_COMPLETE, 'label'=>'Complete'),
31
- );
32
  }
33
  }
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: PaidOrder.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
  class Mpay24_Mpay24_Model_Source_PaidOrder {
22
 
23
+ /**
24
+ * Options getter
25
+ *
26
+ * @return array
27
+ */
28
+ public function toOptionArray() {
29
+ return array(
30
+ array('value' => Mage_Sales_Model_Order::STATE_PROCESSING, 'label'=>'Processing'),
31
+ array('value' => Mage_Sales_Model_Order::STATE_COMPLETE, 'label'=>'Complete'),
32
+ );
33
  }
34
  }
app/code/community/Mpay24/Mpay24/{sql/mpay24_setup/mysql4-install-1.4.6.php → Model/Source/PaymentCharge.php} RENAMED
@@ -1,32 +1,28 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $this->startSetup();
22
-
23
- $this->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
24
-
25
- $this->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
26
-
27
- $this->run("UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';");
28
-
29
- $this->run("UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';");
30
-
31
- $this->endSetup();
32
- ?>
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: PaymentCharge.php 5 2013-10-10 13:08:44Z sapolhei $
20
+ */
21
+ class Mpay24_Mpay24_Model_Source_PaymentCharge {
22
+ public function toOptionArray() {
23
+ return array(
24
+ array('value' => 'percent', 'label' => Mage::helper('mpay24')->__('Percent')),
25
+ array('value' => 'absolute', 'label' => Mage::helper('mpay24')->__('Absolute value'))
26
+ );
27
+ }
28
+ }
 
 
 
 
app/code/community/Mpay24/Mpay24/Model/Source/PaymentsActive.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
  class Mpay24_Mpay24_Model_Source_PaymentsActive {
21
 
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: PaymentsActive.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
  class Mpay24_Mpay24_Model_Source_PaymentsActive {
22
 
app/code/community/Mpay24/Mpay24/Model/Source/Request.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
 
21
  class Mpay24_Mpay24_Model_Source_Request extends Varien_Object {}
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Request.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
 
22
  class Mpay24_Mpay24_Model_Source_Request extends Varien_Object {}
app/code/community/Mpay24/Mpay24/Model/Source/Result.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
 
21
  class Mpay24_Mpay24_Model_Source_Result extends Varien_Object {}
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Result.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
 
22
  class Mpay24_Mpay24_Model_Source_Result extends Varien_Object {}
app/code/community/Mpay24/Mpay24/Model/Source/ShoppingCartRowsAction.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
  class Mpay24_Mpay24_Model_Source_ShoppingCartRowsAction {
21
  public function toOptionArray() {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: ShoppingCartRowsAction.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
  class Mpay24_Mpay24_Model_Source_ShoppingCartRowsAction {
22
  public function toOptionArray() {
app/code/community/Mpay24/Mpay24/Model/Source/System.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
  class Mpay24_Mpay24_Model_Source_System {
21
 
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: System.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
  class Mpay24_Mpay24_Model_Source_System {
22
 
app/code/community/Mpay24/Mpay24/Model/System/Config/Backend/Encrypted.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
 
21
  class Mpay24_Mpay24_Model_System_Config_Backend_Encrypted extends Mage_Core_Model_Config_Data {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Encrypted.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
 
22
  class Mpay24_Mpay24_Model_System_Config_Backend_Encrypted extends Mage_Core_Model_Config_Data {
app/code/community/Mpay24/Mpay24/controllers/IndexController.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
 
21
  class Mpay24_Mpay24_IndexController extends Mage_Core_Controller_Front_Action {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: IndexController.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
 
22
  class Mpay24_Mpay24_IndexController extends Mage_Core_Controller_Front_Action {
app/code/community/Mpay24/Mpay24/controllers/PaymentController.php CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
  include_once "app/code/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
21
 
@@ -33,10 +34,7 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
33
  * Redirect to mPAY24 pay page
34
  */
35
  public function redirectAction() {
36
- Mage::log('mPAY24 Extension: redirect action called');
37
- $order = $this->getOrder();
38
- $order->addStatusToHistory($order->getStatus(), Mage::helper('mpay24')->__("Redirected to mPAY24 pay page"));
39
- $order->save();
40
  $this->_redirectUrl(urldecode(Mage::getSingleton('mpay24/session')->getUrl()));
41
  }
42
 
@@ -94,7 +92,6 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
94
  public function guestsuccessAction() {
95
  Mage::log('mPAY24 Extension: guest success action called for order '.$_REQUEST['TID']);
96
  $order = $this->getOrder($_REQUEST['TID']);
97
- Mage::log('success guest action called for order '.$order->getData('increment_id'));
98
  $order->getPayment()->setAdditionalInformation('success', true)->save();
99
  $this->getTransactionStatus($_REQUEST['TID']);
100
  $this->_redirect('checkout/onepage/success/');
@@ -106,16 +103,15 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
106
  public function errorAction() {
107
  Mage::log('mPAY24 Extension: error action called for order '.$_REQUEST['TID']);
108
  $order = $this->getOrder($_REQUEST['TID']);
109
- Mage::log('error action called for order '.$order->getData('increment_id'));
110
  $order->getPayment()->setAdditionalInformation('error_text', utf8_encode($_REQUEST['ERROR']))->save();
111
  $order->getPayment()->setAdditionalInformation('error', true)->save();
112
- $this->getTransactionStatus($_REQUEST['TID']);
113
-
114
- //@todo cancel an order only if the customer is back to the shop
115
  if($order->canCancel() && $order->getState() != Mage_Sales_Model_Order::STATE_CANCELED && $order->getData('status') != Mage_Sales_Model_Order::STATE_CANCELED)
116
  $order->cancel($order->getPayment())->save();
117
 
118
- Mage::getSingleton('mpay24/session')->setParentRedirectUrl('sales/order/view/order_id/'.$order->getId().'/');
 
 
119
  $this->getResponse()->setBody($this->getLayout()->createBlock("mpay24/parentRedirect")->toHtml());
120
  }
121
 
@@ -125,12 +121,39 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
125
  public function cancelAction() {
126
  Mage::log('mPAY24 Extension: cancel action called for order '.$_REQUEST['TID']);
127
  $order = $this->getOrder($_REQUEST['TID']);
128
- Mage::log('cancel action called for order '.$order->getData('increment_id'));
129
  $order->getPayment()->setAdditionalInformation('cancelButton', true)->save();
130
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
131
  $this->getTransactionStatus($_REQUEST['TID']);
132
 
133
- Mage::getSingleton('mpay24/session')->setParentRedirectUrl('sales/order/view/order_id/'.$order->getId().'/');
134
  $this->getResponse()->setBody($this->getLayout()->createBlock("mpay24/parentRedirect")->toHtml());
135
  }
136
 
@@ -222,7 +245,8 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
222
  $order->getPayment()->setAdditionalInformation('appr_code', $apprCode)->save();
223
  $order->getPayment()->setAmountAuthorized($mPAY24Result->getParam('PRICE')/100)->save();
224
  $order->getPayment()->setAdditionalInformation('error', false)->save();
225
- $order->addStatusToHistory($s, Mage::helper('mpay24')->__("$confirmationCalled") . Mage::helper('mpay24')->__("RESERVED") . ' [ ' . $mPAY24Result->getParam('CURRENCY') . " " .$order->formatPriceTxt($mPAY24Result->getParam('PRICE')/100).' ]');
 
226
  $order->sendNewOrderEmail();
227
 
228
  if($order->getInvoiceCollection()->count() == 0)
@@ -252,6 +276,8 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
252
  $order->getPayment()->setAdditionalInformation('error', false)->save();
253
  $order->sendOrderUpdateEmail();
254
 
 
 
255
  if($order->getInvoiceCollection()->count() == 0) {
256
  if($confirmation)
257
  $this->_createInvoice($order, true, true, $onlineCapture);
@@ -317,10 +343,6 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
317
  $order->getPayment()->setAdditionalInformation('appr_code', $apprCode)->save();
318
  $order->getPayment()->setAdditionalInformation('error', true)->save();
319
 
320
- //@todo cancel an order only if the customer is back to the shop
321
- //if($order->canCancel() && $order->getState() != Mage_Sales_Model_Order::STATE_CANCELED && $order->getData('status') != Mage_Sales_Model_Order::STATE_CANCELED)
322
- //$order->cancel($order->getPayment())->save();
323
-
324
  $order->addStatusToHistory($order->getStatus(), Mage::helper('mpay24')->__("$confirmationCalled") . Mage::helper('mpay24')->__("ERROR") . " " . $order->getPayment()->getAdditionalInformation('error_text'));
325
  $order->save();
326
 
@@ -480,7 +502,7 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
480
  $addressId = $order->getBillingAddress()->getId();
481
  $address = Mage::getModel('sales/order_address')->load($addressId);
482
  $address->addData($_billing_address);
483
- $address->implodeStreetAddress()->save();Mage::log($_billing_address);
484
 
485
  $order->setBillingAddress($address);
486
  $order->save();
@@ -497,10 +519,10 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
497
  }
498
  break;
499
  case "ERROR":
500
- if($mPAY24Result->getReturnCode() == 'NOT_FOUND' && $order->getPayment()->getAdditionalInformation('cancelButton'))
501
  $updateResult = 'The order was canceled by the customer';
502
  else
503
- $updateResult = Mage::helper('mpay24')->__("The transaction was not found!");
504
 
505
  // if($order->canCancel() && $order->getState() != Mage_Sales_Model_Order::STATE_CANCELED && $order->getData('status') != Mage_Sales_Model_Order::STATE_CANCELED)
506
  // $order->cancel($order->getPayment())->save();
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: PaymentController.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
  include_once "app/code/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
22
 
34
  * Redirect to mPAY24 pay page
35
  */
36
  public function redirectAction() {
37
+ Mage::log('mPAY24 Extension: redirect action called: redirected to ' . urldecode(Mage::getSingleton('mpay24/session')->getUrl()));
 
 
 
38
  $this->_redirectUrl(urldecode(Mage::getSingleton('mpay24/session')->getUrl()));
39
  }
40
 
92
  public function guestsuccessAction() {
93
  Mage::log('mPAY24 Extension: guest success action called for order '.$_REQUEST['TID']);
94
  $order = $this->getOrder($_REQUEST['TID']);
 
95
  $order->getPayment()->setAdditionalInformation('success', true)->save();
96
  $this->getTransactionStatus($_REQUEST['TID']);
97
  $this->_redirect('checkout/onepage/success/');
103
  public function errorAction() {
104
  Mage::log('mPAY24 Extension: error action called for order '.$_REQUEST['TID']);
105
  $order = $this->getOrder($_REQUEST['TID']);
 
106
  $order->getPayment()->setAdditionalInformation('error_text', utf8_encode($_REQUEST['ERROR']))->save();
107
  $order->getPayment()->setAdditionalInformation('error', true)->save();
108
+
 
 
109
  if($order->canCancel() && $order->getState() != Mage_Sales_Model_Order::STATE_CANCELED && $order->getData('status') != Mage_Sales_Model_Order::STATE_CANCELED)
110
  $order->cancel($order->getPayment())->save();
111
 
112
+ $this->getTransactionStatus($_REQUEST['TID']);
113
+
114
+ Mage::getSingleton('mpay24/session')->setParentRedirectUrl('checkout/onepage/');
115
  $this->getResponse()->setBody($this->getLayout()->createBlock("mpay24/parentRedirect")->toHtml());
116
  }
117
 
121
  public function cancelAction() {
122
  Mage::log('mPAY24 Extension: cancel action called for order '.$_REQUEST['TID']);
123
  $order = $this->getOrder($_REQUEST['TID']);
 
124
  $order->getPayment()->setAdditionalInformation('cancelButton', true)->save();
125
 
126
+ $session = Mage::getSingleton('checkout/session');
127
+ $cart = Mage::getSingleton('checkout/cart');
128
+
129
+ $items = $order->getItemsCollection();
130
+ foreach ($items as $item) {
131
+ try {
132
+ $cart->addOrderItem($item,$item->getQty());
133
+ }
134
+ catch (Mage_Core_Exception $e){
135
+ if (Mage::getSingleton('checkout/session')->getUseNotice(true)) {
136
+ Mage::getSingleton('checkout/session')->addNotice($e->getMessage());
137
+ }
138
+ else {
139
+ Mage::getSingleton('checkout/session')->addError($e->getMessage());
140
+ }
141
+ }
142
+ catch (Exception $e) {
143
+ Mage::getSingleton('checkout/session')->addException($e,
144
+ Mage::helper('checkout')->__('Cannot add the item to shopping cart.')
145
+ );
146
+ }
147
+ }
148
+
149
+ $cart->save();
150
+
151
+ if($order->canCancel() && $order->getState() != Mage_Sales_Model_Order::STATE_CANCELED && $order->getData('status') != Mage_Sales_Model_Order::STATE_CANCELED)
152
+ $order->cancel($order->getPayment())->save();
153
+
154
  $this->getTransactionStatus($_REQUEST['TID']);
155
 
156
+ Mage::getSingleton('mpay24/session')->setParentRedirectUrl('checkout/onepage/');
157
  $this->getResponse()->setBody($this->getLayout()->createBlock("mpay24/parentRedirect")->toHtml());
158
  }
159
 
245
  $order->getPayment()->setAdditionalInformation('appr_code', $apprCode)->save();
246
  $order->getPayment()->setAmountAuthorized($mPAY24Result->getParam('PRICE')/100)->save();
247
  $order->getPayment()->setAdditionalInformation('error', false)->save();
248
+ $order->addStatusToHistory(Mage_Sales_Model_Order::STATE_PROCESSING, Mage::helper('mpay24')->__("$confirmationCalled") . Mage::helper('mpay24')->__("RESERVED") . ' [ ' . $mPAY24Result->getParam('CURRENCY') . " " .$order->formatPriceTxt($mPAY24Result->getParam('PRICE')/100).' ]');
249
+ $order->setState(Mage_Sales_Model_Order::STATE_PROCESSING)->save();
250
  $order->sendNewOrderEmail();
251
 
252
  if($order->getInvoiceCollection()->count() == 0)
276
  $order->getPayment()->setAdditionalInformation('error', false)->save();
277
  $order->sendOrderUpdateEmail();
278
 
279
+ $order->setState(Mage_Sales_Model_Order::STATE_PROCESSING)->save();
280
+
281
  if($order->getInvoiceCollection()->count() == 0) {
282
  if($confirmation)
283
  $this->_createInvoice($order, true, true, $onlineCapture);
343
  $order->getPayment()->setAdditionalInformation('appr_code', $apprCode)->save();
344
  $order->getPayment()->setAdditionalInformation('error', true)->save();
345
 
 
 
 
 
346
  $order->addStatusToHistory($order->getStatus(), Mage::helper('mpay24')->__("$confirmationCalled") . Mage::helper('mpay24')->__("ERROR") . " " . $order->getPayment()->getAdditionalInformation('error_text'));
347
  $order->save();
348
 
502
  $addressId = $order->getBillingAddress()->getId();
503
  $address = Mage::getModel('sales/order_address')->load($addressId);
504
  $address->addData($_billing_address);
505
+ $address->implodeStreetAddress()->save();
506
 
507
  $order->setBillingAddress($address);
508
  $order->save();
519
  }
520
  break;
521
  case "ERROR":
522
+ if($mPAY24Result->getGeneralResponse()->getReturnCode() == 'NOT_FOUND' && $order->getPayment()->getAdditionalInformation('cancelButton'))
523
  $updateResult = 'The order was canceled by the customer';
524
  else
525
+ $updateResult = 'The transaction was not found!';
526
 
527
  // if($order->canCancel() && $order->getState() != Mage_Sales_Model_Order::STATE_CANCELED && $order->getData('status') != Mage_Sales_Model_Order::STATE_CANCELED)
528
  // $order->cancel($order->getPayment())->save();
app/code/community/Mpay24/Mpay24/etc/config.xml CHANGED
@@ -1,8 +1,11 @@
1
  <?xml version="1.0"?>
 
 
 
2
  <config>
3
  <modules>
4
  <Mpay24_Mpay24>
5
- <version>1.4.6</version>
6
  </Mpay24_Mpay24>
7
  </modules>
8
 
@@ -39,8 +42,30 @@
39
  <mpay24>
40
  <class>Mpay24_Mpay24_Block</class>
41
  </mpay24>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  </blocks>
43
-
 
 
 
 
 
 
 
44
  <helpers>
45
  <mpay24>
46
  <class>Mpay24_Mpay24_Helper</class>
@@ -70,6 +95,47 @@
70
  </mpay24_read>
71
  </resources>
72
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  <payment>
74
  <groups>
75
  <mpay24>mPAY24</mpay24>
@@ -234,7 +300,7 @@
234
  <active_payments></active_payments>
235
  <active_payment_types></active_payment_types>
236
  <payments_count>0</payments_count>
237
- <payments_error></payments_error>
238
  <payment_action>authorize</payment_action>
239
  <paid_order_status>processing</paid_order_status>
240
  <group>mpay24</group>
1
  <?xml version="1.0"?>
2
+ <!--
3
+ @version $Id: config.xml 5 2013-10-10 13:08:44Z sapolhei $
4
+ -->
5
  <config>
6
  <modules>
7
  <Mpay24_Mpay24>
8
+ <version>1.4.7</version>
9
  </Mpay24_Mpay24>
10
  </modules>
11
 
42
  <mpay24>
43
  <class>Mpay24_Mpay24_Block</class>
44
  </mpay24>
45
+ <sales>
46
+ <rewrite>
47
+ <order_totals>Mpay24_Mpay24_Block_Sales_Order_Totals</order_totals>
48
+ <order_invoice_totals>Mpay24_Mpay24_Block_Sales_order_Invoice_Totals</order_invoice_totals>
49
+ <order_creditmemo_totals>Mpay24_Mpay24_Block_Sales_order_Creditmemo_Totals</order_creditmemo_totals>
50
+ </rewrite>
51
+ </sales>
52
+ <adminhtml>
53
+ <rewrite>
54
+ <sales_totals>Mpay24_Mpay24_Block_Adminhtml_Sales_Totals</sales_totals>
55
+ <sales_order_totals>Mpay24_Mpay24_Block_Adminhtml_Sales_order_Totals</sales_order_totals>
56
+ <sales_order_invoice_totals>Mpay24_Mpay24_Block_Adminhtml_Sales_order_Invoice_Totals</sales_order_invoice_totals>
57
+ <sales_order_creditmemo_totals>Mpay24_Mpay24_Block_Adminhtml_Sales_order_Creditmemo_Totals</sales_order_creditmemo_totals>
58
+ </rewrite>
59
+ </adminhtml>
60
  </blocks>
61
+ <fieldsets>
62
+ <sales_convert_quote_address>
63
+ <payment_charge><to_order>*</to_order></payment_charge>
64
+ <base_payment_charge><to_order>*</to_order></base_payment_charge>
65
+ <payment_charge_type><to_order>*</to_order></payment_charge_type>
66
+ </sales_convert_quote_address>
67
+ </fieldsets>
68
+
69
  <helpers>
70
  <mpay24>
71
  <class>Mpay24_Mpay24_Helper</class>
95
  </mpay24_read>
96
  </resources>
97
 
98
+ <sales>
99
+ <quote>
100
+ <totals>
101
+ <payment_charge>
102
+ <class>mpay24/sales_quote_address_total_paymentcharge</class>
103
+ <after>subtotal,discount,shipping,tax</after>
104
+ <before>grand_total</before>
105
+ </payment_charge>
106
+ </totals>
107
+ </quote>
108
+
109
+ <order_invoice>
110
+ <totals>
111
+ <payment_charge>
112
+ <class>mpay24/sales_order_invoice_total_paymentcharge</class>
113
+ </payment_charge>
114
+ </totals>
115
+ </order_invoice>
116
+
117
+ <order_creditmemo>
118
+ <totals>
119
+ <payment_charge>
120
+ <class>mpay24/sales_order_creditmemo_total_paymentcharge</class>
121
+ </payment_charge>
122
+ </totals>
123
+ </order_creditmemo>
124
+ </sales>
125
+
126
+ <pdf>
127
+ <totals>
128
+ <payment_charge translate="title">
129
+ <title>Payment charge</title>
130
+ <source_field>payment_charge</source_field>
131
+ <amount_prefix></amount_prefix>
132
+ <font_size>7</font_size>
133
+ <display_zero>0</display_zero>
134
+ <sort_order>200</sort_order>
135
+ </payment_charge>
136
+ </totals>
137
+ </pdf>
138
+
139
  <payment>
140
  <groups>
141
  <mpay24>mPAY24</mpay24>
300
  <active_payments></active_payments>
301
  <active_payment_types></active_payment_types>
302
  <payments_count>0</payments_count>
303
+ <payments_error></payments_error>
304
  <payment_action>authorize</payment_action>
305
  <paid_order_status>processing</paid_order_status>
306
  <group>mpay24</group>
app/code/community/Mpay24/Mpay24/etc/system.xml CHANGED
@@ -1,6 +1,26 @@
1
  <?xml version="1.0"?>
 
 
 
2
  <config>
3
  <sections>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  <mpay24 translate="label" module="mpay24">
5
  <label>mPAY24</label>
6
  <tab>sales</tab>
@@ -518,7 +538,7 @@
518
  <show_in_store>0</show_in_store>
519
  </subtotal_style>
520
  </fields>
521
- </mpay24spsc> -->
522
 
523
  <mpay24 translate="label" module="mpay24">
524
  <label>Payment systems</label>
@@ -555,513 +575,1456 @@
555
  <show_in_website>1</show_in_website>
556
  <show_in_store>1</show_in_store>
557
  <comment>Your customers can choose the payment system in the shop only by 'Custom configuration'! The payment systems will be synchronized when the settings are saved!</comment>
558
- </payments_active>
559
  <form_template translate="label comment">
560
  <label>Payment system selection</label>
561
  <frontend_type>select</frontend_type>
562
  <source_model>mpay24/source_formTemplate</source_model>
563
- <sort_order>0</sort_order>
564
- <show_in_default>1</show_in_default>
565
- <show_in_website>1</show_in_website>
566
- <show_in_store>1</show_in_store>
567
- <comment>Choose the way the mPAY24 systems are shown in the fronend (checkout)</comment>
568
- <depends><payments_active>true</payments_active></depends>
569
- </form_template>
570
- <ps_1>
571
- <label>PS_1</label>
572
- <frontend_type>select</frontend_type>
573
- <source_model>adminhtml/system_config_source_yesno</source_model>
574
  <sort_order>1</sort_order>
575
  <show_in_default>1</show_in_default>
576
  <show_in_website>1</show_in_website>
577
  <show_in_store>1</show_in_store>
 
578
  <depends><payments_active>true</payments_active></depends>
579
- </ps_1>
580
- <ps_2>
581
- <label>PS_2</label>
582
  <frontend_type>select</frontend_type>
583
  <source_model>adminhtml/system_config_source_yesno</source_model>
584
  <sort_order>2</sort_order>
585
  <show_in_default>1</show_in_default>
586
  <show_in_website>1</show_in_website>
587
  <show_in_store>1</show_in_store>
 
588
  <depends><payments_active>true</payments_active></depends>
589
- </ps_2>
590
- <ps_3>
591
- <label>PS_3</label>
592
  <frontend_type>select</frontend_type>
593
- <source_model>adminhtml/system_config_source_yesno</source_model>
594
  <sort_order>3</sort_order>
595
  <show_in_default>1</show_in_default>
596
  <show_in_website>1</show_in_website>
597
  <show_in_store>1</show_in_store>
598
  <depends><payments_active>true</payments_active></depends>
599
- </ps_3>
600
- <ps_4>
601
- <label>PS_4</label>
602
  <frontend_type>select</frontend_type>
603
- <source_model>adminhtml/system_config_source_yesno</source_model>
604
  <sort_order>4</sort_order>
605
  <show_in_default>1</show_in_default>
606
  <show_in_website>1</show_in_website>
607
  <show_in_store>1</show_in_store>
608
- <depends><payments_active>true</payments_active></depends>
609
- </ps_4>
610
- <ps_5>
611
- <label>PS_5</label>
612
- <frontend_type>select</frontend_type>
613
- <source_model>adminhtml/system_config_source_yesno</source_model>
614
  <sort_order>5</sort_order>
615
  <show_in_default>1</show_in_default>
616
  <show_in_website>1</show_in_website>
617
  <show_in_store>1</show_in_store>
618
- <depends><payments_active>true</payments_active></depends>
619
- </ps_5>
620
- <ps_6>
621
- <label>PS_6</label>
622
  <frontend_type>select</frontend_type>
623
- <source_model>adminhtml/system_config_source_yesno</source_model>
624
  <sort_order>6</sort_order>
625
  <show_in_default>1</show_in_default>
626
  <show_in_website>1</show_in_website>
627
  <show_in_store>1</show_in_store>
628
  <depends><payments_active>true</payments_active></depends>
629
- </ps_6>
630
- <ps_7>
631
- <label>PS_7</label>
632
  <frontend_type>select</frontend_type>
633
- <source_model>adminhtml/system_config_source_yesno</source_model>
634
  <sort_order>7</sort_order>
635
  <show_in_default>1</show_in_default>
636
  <show_in_website>1</show_in_website>
637
  <show_in_store>1</show_in_store>
638
- <depends><payments_active>true</payments_active></depends>
639
- </ps_7>
640
- <ps_8>
641
- <label>PS_8</label>
642
- <frontend_type>select</frontend_type>
643
- <source_model>adminhtml/system_config_source_yesno</source_model>
644
- <sort_order>8</sort_order>
645
  <show_in_default>1</show_in_default>
646
  <show_in_website>1</show_in_website>
647
  <show_in_store>1</show_in_store>
648
- <depends><payments_active>true</payments_active></depends>
649
- </ps_8>
650
- <ps_9>
651
- <label>PS_9</label>
652
  <frontend_type>select</frontend_type>
653
- <source_model>adminhtml/system_config_source_yesno</source_model>
654
  <sort_order>9</sort_order>
655
  <show_in_default>1</show_in_default>
656
  <show_in_website>1</show_in_website>
657
  <show_in_store>1</show_in_store>
658
  <depends><payments_active>true</payments_active></depends>
659
- </ps_9>
660
- <ps_10>
661
- <label>PS_10</label>
662
  <frontend_type>select</frontend_type>
663
- <source_model>adminhtml/system_config_source_yesno</source_model>
664
  <sort_order>10</sort_order>
665
  <show_in_default>1</show_in_default>
666
  <show_in_website>1</show_in_website>
667
  <show_in_store>1</show_in_store>
668
- <depends><payments_active>true</payments_active></depends>
669
- </ps_10>
670
- <ps_11>
671
- <label>PS_11</label>
672
- <frontend_type>select</frontend_type>
673
- <source_model>adminhtml/system_config_source_yesno</source_model>
674
- <sort_order>11</sort_order>
675
  <show_in_default>1</show_in_default>
676
  <show_in_website>1</show_in_website>
677
  <show_in_store>1</show_in_store>
678
- <depends><payments_active>true</payments_active></depends>
679
- </ps_11>
680
- <ps_12>
681
- <label>PS_12</label>
682
  <frontend_type>select</frontend_type>
683
- <source_model>adminhtml/system_config_source_yesno</source_model>
684
  <sort_order>12</sort_order>
685
  <show_in_default>1</show_in_default>
686
  <show_in_website>1</show_in_website>
687
  <show_in_store>1</show_in_store>
688
  <depends><payments_active>true</payments_active></depends>
689
- </ps_12>
690
- <ps_13>
691
- <label>PS_13</label>
692
  <frontend_type>select</frontend_type>
693
- <source_model>adminhtml/system_config_source_yesno</source_model>
694
  <sort_order>13</sort_order>
695
  <show_in_default>1</show_in_default>
696
  <show_in_website>1</show_in_website>
697
  <show_in_store>1</show_in_store>
698
- <depends><payments_active>true</payments_active></depends>
699
- </ps_13>
700
- <ps_14>
701
- <label>PS_14</label>
702
- <frontend_type>select</frontend_type>
703
- <source_model>adminhtml/system_config_source_yesno</source_model>
704
- <sort_order>14</sort_order>
705
  <show_in_default>1</show_in_default>
706
  <show_in_website>1</show_in_website>
707
  <show_in_store>1</show_in_store>
708
- <depends><payments_active>true</payments_active></depends>
709
- </ps_14>
710
- <ps_15>
711
- <label>PS_15</label>
712
  <frontend_type>select</frontend_type>
713
- <source_model>adminhtml/system_config_source_yesno</source_model>
714
  <sort_order>15</sort_order>
715
  <show_in_default>1</show_in_default>
716
  <show_in_website>1</show_in_website>
717
  <show_in_store>1</show_in_store>
718
  <depends><payments_active>true</payments_active></depends>
719
- </ps_15>
720
- <ps_16>
721
- <label>PS_16</label>
722
  <frontend_type>select</frontend_type>
723
- <source_model>adminhtml/system_config_source_yesno</source_model>
724
  <sort_order>16</sort_order>
725
  <show_in_default>1</show_in_default>
726
  <show_in_website>1</show_in_website>
727
  <show_in_store>1</show_in_store>
728
- <depends><payments_active>true</payments_active></depends>
729
- </ps_16>
730
- <ps_17>
731
- <label>PS_17</label>
732
- <frontend_type>select</frontend_type>
733
- <source_model>adminhtml/system_config_source_yesno</source_model>
734
- <sort_order>17</sort_order>
735
  <show_in_default>1</show_in_default>
736
  <show_in_website>1</show_in_website>
737
  <show_in_store>1</show_in_store>
738
- <depends><payments_active>true</payments_active></depends>
739
- </ps_17>
740
- <ps_18>
741
- <label>PS_18</label>
742
  <frontend_type>select</frontend_type>
743
- <source_model>adminhtml/system_config_source_yesno</source_model>
744
  <sort_order>18</sort_order>
745
  <show_in_default>1</show_in_default>
746
  <show_in_website>1</show_in_website>
747
  <show_in_store>1</show_in_store>
748
  <depends><payments_active>true</payments_active></depends>
749
- </ps_18>
750
- <ps_19>
751
- <label>PS_19</label>
752
  <frontend_type>select</frontend_type>
753
- <source_model>adminhtml/system_config_source_yesno</source_model>
754
  <sort_order>19</sort_order>
755
  <show_in_default>1</show_in_default>
756
  <show_in_website>1</show_in_website>
757
  <show_in_store>1</show_in_store>
758
- <depends><payments_active>true</payments_active></depends>
759
- </ps_19>
760
- <ps_20>
761
- <label>PS_20</label>
762
- <frontend_type>select</frontend_type>
763
- <source_model>adminhtml/system_config_source_yesno</source_model>
764
- <sort_order>20</sort_order>
765
  <show_in_default>1</show_in_default>
766
  <show_in_website>1</show_in_website>
767
  <show_in_store>1</show_in_store>
768
- <depends><payments_active>true</payments_active></depends>
769
- </ps_20>
770
- <ps_21>
771
- <label>PS_21</label>
772
  <frontend_type>select</frontend_type>
773
- <source_model>adminhtml/system_config_source_yesno</source_model>
774
  <sort_order>21</sort_order>
775
  <show_in_default>1</show_in_default>
776
  <show_in_website>1</show_in_website>
777
  <show_in_store>1</show_in_store>
778
  <depends><payments_active>true</payments_active></depends>
779
- </ps_21>
780
- <ps_22>
781
- <label>PS_22</label>
782
  <frontend_type>select</frontend_type>
783
- <source_model>adminhtml/system_config_source_yesno</source_model>
784
  <sort_order>22</sort_order>
785
  <show_in_default>1</show_in_default>
786
  <show_in_website>1</show_in_website>
787
  <show_in_store>1</show_in_store>
788
- <depends><payments_active>true</payments_active></depends>
789
- </ps_22>
790
- <ps_23>
791
- <label>PS_23</label>
792
- <frontend_type>select</frontend_type>
793
- <source_model>adminhtml/system_config_source_yesno</source_model>
794
- <sort_order>23</sort_order>
795
  <show_in_default>1</show_in_default>
796
  <show_in_website>1</show_in_website>
797
  <show_in_store>1</show_in_store>
798
- <depends><payments_active>true</payments_active></depends>
799
- </ps_23>
800
- <ps_24>
801
- <label>PS_24</label>
802
  <frontend_type>select</frontend_type>
803
- <source_model>adminhtml/system_config_source_yesno</source_model>
804
  <sort_order>24</sort_order>
805
  <show_in_default>1</show_in_default>
806
  <show_in_website>1</show_in_website>
807
  <show_in_store>1</show_in_store>
808
  <depends><payments_active>true</payments_active></depends>
809
- </ps_24>
810
- <ps_25>
811
- <label>PS_25</label>
812
  <frontend_type>select</frontend_type>
813
- <source_model>adminhtml/system_config_source_yesno</source_model>
814
  <sort_order>25</sort_order>
815
  <show_in_default>1</show_in_default>
816
  <show_in_website>1</show_in_website>
817
  <show_in_store>1</show_in_store>
818
- <depends><payments_active>true</payments_active></depends>
819
- </ps_25>
820
- <ps_26>
821
- <label>PS_26</label>
822
- <frontend_type>select</frontend_type>
823
- <source_model>adminhtml/system_config_source_yesno</source_model>
824
- <sort_order>26</sort_order>
825
  <show_in_default>1</show_in_default>
826
  <show_in_website>1</show_in_website>
827
  <show_in_store>1</show_in_store>
828
- <depends><payments_active>true</payments_active></depends>
829
- </ps_26>
830
- <ps_27>
831
- <label>PS_27</label>
832
  <frontend_type>select</frontend_type>
833
- <source_model>adminhtml/system_config_source_yesno</source_model>
834
  <sort_order>27</sort_order>
835
  <show_in_default>1</show_in_default>
836
  <show_in_website>1</show_in_website>
837
  <show_in_store>1</show_in_store>
838
  <depends><payments_active>true</payments_active></depends>
839
- </ps_27>
840
- <ps_28>
841
- <label>PS_28</label>
842
  <frontend_type>select</frontend_type>
843
- <source_model>adminhtml/system_config_source_yesno</source_model>
844
  <sort_order>28</sort_order>
845
  <show_in_default>1</show_in_default>
846
  <show_in_website>1</show_in_website>
847
  <show_in_store>1</show_in_store>
848
- <depends><payments_active>true</payments_active></depends>
849
- </ps_28>
850
- <ps_29>
851
- <label>PS_29</label>
852
- <frontend_type>select</frontend_type>
853
- <source_model>adminhtml/system_config_source_yesno</source_model>
854
- <sort_order>29</sort_order>
855
  <show_in_default>1</show_in_default>
856
  <show_in_website>1</show_in_website>
857
  <show_in_store>1</show_in_store>
858
- <depends><payments_active>true</payments_active></depends>
859
- </ps_29>
860
- <ps_30>
861
- <label>PS_30</label>
862
  <frontend_type>select</frontend_type>
863
- <source_model>adminhtml/system_config_source_yesno</source_model>
864
  <sort_order>30</sort_order>
865
  <show_in_default>1</show_in_default>
866
  <show_in_website>1</show_in_website>
867
  <show_in_store>1</show_in_store>
868
  <depends><payments_active>true</payments_active></depends>
869
- </ps_30>
870
- <ps_31>
871
- <label>PS_31</label>
872
  <frontend_type>select</frontend_type>
873
- <source_model>adminhtml/system_config_source_yesno</source_model>
874
  <sort_order>31</sort_order>
875
  <show_in_default>1</show_in_default>
876
  <show_in_website>1</show_in_website>
877
  <show_in_store>1</show_in_store>
878
- <depends><payments_active>true</payments_active></depends>
879
- </ps_31>
880
- <ps_32>
881
- <label>PS_32</label>
882
- <frontend_type>select</frontend_type>
883
- <source_model>adminhtml/system_config_source_yesno</source_model>
884
- <sort_order>32</sort_order>
885
  <show_in_default>1</show_in_default>
886
  <show_in_website>1</show_in_website>
887
  <show_in_store>1</show_in_store>
888
- <depends><payments_active>true</payments_active></depends>
889
- </ps_32>
890
- <ps_33>
891
- <label>PS_33</label>
892
  <frontend_type>select</frontend_type>
893
- <source_model>adminhtml/system_config_source_yesno</source_model>
894
  <sort_order>33</sort_order>
895
  <show_in_default>1</show_in_default>
896
  <show_in_website>1</show_in_website>
897
  <show_in_store>1</show_in_store>
898
  <depends><payments_active>true</payments_active></depends>
899
- </ps_33>
900
- <ps_34>
901
- <label>PS_34</label>
902
  <frontend_type>select</frontend_type>
903
- <source_model>adminhtml/system_config_source_yesno</source_model>
904
  <sort_order>34</sort_order>
905
  <show_in_default>1</show_in_default>
906
  <show_in_website>1</show_in_website>
907
  <show_in_store>1</show_in_store>
908
- <depends><payments_active>true</payments_active></depends>
909
- </ps_34>
910
- <ps_35>
911
- <label>PS_35</label>
912
- <frontend_type>select</frontend_type>
913
- <source_model>adminhtml/system_config_source_yesno</source_model>
914
- <sort_order>35</sort_order>
915
  <show_in_default>1</show_in_default>
916
  <show_in_website>1</show_in_website>
917
  <show_in_store>1</show_in_store>
918
- <depends><payments_active>true</payments_active></depends>
919
- </ps_35>
920
- <ps_36>
921
- <label>PS_36</label>
922
  <frontend_type>select</frontend_type>
923
- <source_model>adminhtml/system_config_source_yesno</source_model>
924
  <sort_order>36</sort_order>
925
  <show_in_default>1</show_in_default>
926
  <show_in_website>1</show_in_website>
927
  <show_in_store>1</show_in_store>
928
  <depends><payments_active>true</payments_active></depends>
929
- </ps_36>
930
- <ps_37>
931
- <label>PS_37</label>
932
  <frontend_type>select</frontend_type>
933
- <source_model>adminhtml/system_config_source_yesno</source_model>
934
  <sort_order>37</sort_order>
935
  <show_in_default>1</show_in_default>
936
  <show_in_website>1</show_in_website>
937
  <show_in_store>1</show_in_store>
938
- <depends><payments_active>true</payments_active></depends>
939
- </ps_37>
940
- <ps_38>
941
- <label>PS_38</label>
 
 
 
 
 
 
 
 
 
942
  <frontend_type>select</frontend_type>
943
- <source_model>adminhtml/system_config_source_yesno</source_model>
944
- <sort_order>38</sort_order>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
945
  <show_in_default>1</show_in_default>
946
  <show_in_website>1</show_in_website>
947
  <show_in_store>1</show_in_store>
948
  <depends><payments_active>true</payments_active></depends>
949
  </ps_38>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
950
  <ps_39>
951
  <label>PS_39</label>
952
  <frontend_type>select</frontend_type>
953
- <source_model>adminhtml/system_config_source_yesno</source_model>
954
- <sort_order>39</sort_order>
955
  <show_in_default>1</show_in_default>
956
  <show_in_website>1</show_in_website>
957
  <show_in_store>1</show_in_store>
958
  <depends><payments_active>true</payments_active></depends>
959
  </ps_39>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
960
  <ps_40>
961
  <label>PS_40</label>
962
  <frontend_type>select</frontend_type>
963
- <source_model>adminhtml/system_config_source_yesno</source_model>
964
- <sort_order>40</sort_order>
965
  <show_in_default>1</show_in_default>
966
  <show_in_website>1</show_in_website>
967
  <show_in_store>1</show_in_store>
968
  <depends><payments_active>true</payments_active></depends>
969
  </ps_40>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
970
  <ps_41>
971
  <label>PS_41</label>
972
  <frontend_type>select</frontend_type>
973
- <source_model>adminhtml/system_config_source_yesno</source_model>
974
- <sort_order>41</sort_order>
975
  <show_in_default>1</show_in_default>
976
  <show_in_website>1</show_in_website>
977
  <show_in_store>1</show_in_store>
978
  <depends><payments_active>true</payments_active></depends>
979
  </ps_41>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
980
  <ps_42>
981
  <label>PS_42</label>
982
  <frontend_type>select</frontend_type>
983
- <source_model>adminhtml/system_config_source_yesno</source_model>
984
- <sort_order>42</sort_order>
985
  <show_in_default>1</show_in_default>
986
  <show_in_website>1</show_in_website>
987
  <show_in_store>1</show_in_store>
988
  <depends><payments_active>true</payments_active></depends>
989
  </ps_42>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
990
  <ps_43>
991
  <label>PS_43</label>
992
  <frontend_type>select</frontend_type>
993
- <source_model>adminhtml/system_config_source_yesno</source_model>
994
- <sort_order>43</sort_order>
995
  <show_in_default>1</show_in_default>
996
  <show_in_website>1</show_in_website>
997
  <show_in_store>1</show_in_store>
998
  <depends><payments_active>true</payments_active></depends>
999
  </ps_43>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1000
  <ps_44>
1001
  <label>PS_44</label>
1002
  <frontend_type>select</frontend_type>
1003
- <source_model>adminhtml/system_config_source_yesno</source_model>
1004
- <sort_order>44</sort_order>
1005
  <show_in_default>1</show_in_default>
1006
  <show_in_website>1</show_in_website>
1007
  <show_in_store>1</show_in_store>
1008
  <depends><payments_active>true</payments_active></depends>
1009
  </ps_44>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1010
  <ps_45>
1011
  <label>PS_45</label>
1012
  <frontend_type>select</frontend_type>
1013
- <source_model>adminhtml/system_config_source_yesno</source_model>
1014
- <sort_order>45</sort_order>
1015
  <show_in_default>1</show_in_default>
1016
  <show_in_website>1</show_in_website>
1017
  <show_in_store>1</show_in_store>
1018
  <depends><payments_active>true</payments_active></depends>
1019
  </ps_45>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1020
  <ps_46>
1021
  <label>PS_46</label>
1022
  <frontend_type>select</frontend_type>
1023
- <source_model>adminhtml/system_config_source_yesno</source_model>
1024
- <sort_order>46</sort_order>
1025
  <show_in_default>1</show_in_default>
1026
  <show_in_website>1</show_in_website>
1027
  <show_in_store>1</show_in_store>
1028
  <depends><payments_active>true</payments_active></depends>
1029
  </ps_46>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1030
  <ps_47>
1031
- <label>PS_47</label>
1032
  <frontend_type>select</frontend_type>
1033
- <source_model>adminhtml/system_config_source_yesno</source_model>
1034
- <sort_order>47</sort_order>
1035
  <show_in_default>1</show_in_default>
1036
  <show_in_website>1</show_in_website>
1037
  <show_in_store>1</show_in_store>
1038
  <depends><payments_active>true</payments_active></depends>
1039
  </ps_47>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1040
  <ps_48>
1041
  <label>PS_48</label>
1042
  <frontend_type>select</frontend_type>
1043
- <source_model>adminhtml/system_config_source_yesno</source_model>
1044
- <sort_order>48</sort_order>
1045
  <show_in_default>1</show_in_default>
1046
  <show_in_website>1</show_in_website>
1047
  <show_in_store>1</show_in_store>
1048
  <depends><payments_active>true</payments_active></depends>
1049
  </ps_48>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1050
  <ps_49>
1051
  <label>PS_49</label>
1052
  <frontend_type>select</frontend_type>
1053
- <source_model>adminhtml/system_config_source_yesno</source_model>
1054
- <sort_order>49</sort_order>
1055
  <show_in_default>1</show_in_default>
1056
  <show_in_website>1</show_in_website>
1057
  <show_in_store>1</show_in_store>
1058
  <depends><payments_active>true</payments_active></depends>
1059
  </ps_49>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1060
  <ps_50>
1061
  <label>PS_50</label>
1062
  <frontend_type>select</frontend_type>
1063
- <source_model>adminhtml/system_config_source_yesno</source_model>
1064
- <sort_order>50</sort_order>
1065
  <show_in_default>1</show_in_default>
1066
  <show_in_website>1</show_in_website>
1067
  <show_in_store>1</show_in_store>
@@ -1072,7 +2035,7 @@
1072
  <frontend_type>select</frontend_type>
1073
  <source_model>mpay24/source_clearingAction</source_model>
1074
  <config_path>payment/mpay24/paid_payment_action</config_path>
1075
- <sort_order>106</sort_order>
1076
  <show_in_default>1</show_in_default>
1077
  <show_in_website>1</show_in_website>
1078
  <show_in_store>1</show_in_store>
@@ -1082,7 +2045,7 @@
1082
  <frontend_type>select</frontend_type>
1083
  <source_model>mpay24/source_paidOrder</source_model>
1084
  <config_path>payment/mpay24/paid_order_status</config_path>
1085
- <sort_order>107</sort_order>
1086
  <show_in_default>1</show_in_default>
1087
  <show_in_website>1</show_in_website>
1088
  <show_in_store>1</show_in_store>
@@ -1091,7 +2054,7 @@
1091
  <label>Billing address mode</label>
1092
  <frontend_type>select</frontend_type>
1093
  <source_model>mpay24/source_billAddr</source_model>
1094
- <sort_order>108</sort_order>
1095
  <show_in_default>1</show_in_default>
1096
  <show_in_website>1</show_in_website>
1097
  <show_in_store>1</show_in_store>
@@ -1101,7 +2064,7 @@
1101
  <label>Show free products</label>
1102
  <frontend_type>select</frontend_type>
1103
  <source_model>adminhtml/system_config_source_yesno</source_model>
1104
- <sort_order>109</sort_order>
1105
  <show_in_default>1</show_in_default>
1106
  <show_in_website>1</show_in_website>
1107
  <show_in_store>1</show_in_store>
1
  <?xml version="1.0"?>
2
+ <!--
3
+ @version $Id: system.xml 5 2013-10-10 13:08:44Z sapolhei $
4
+ -->
5
  <config>
6
  <sections>
7
+ <sales>
8
+ <groups>
9
+ <totals_sort translate="label" module="sales">
10
+ <tab>sales</tab>
11
+ <fields>
12
+ <payment_charge translate="label">
13
+ <label>Payment Charge</label>
14
+ <frontend_type>text</frontend_type>
15
+ <sort_order>3</sort_order>
16
+ <show_in_default>1</show_in_default>
17
+ <show_in_website>1</show_in_website>
18
+ <show_in_store>0</show_in_store>
19
+ </payment_charge>
20
+ </fields>
21
+ </totals_sort>
22
+ </groups>
23
+ </sales>
24
  <mpay24 translate="label" module="mpay24">
25
  <label>mPAY24</label>
26
  <tab>sales</tab>
538
  <show_in_store>0</show_in_store>
539
  </subtotal_style>
540
  </fields>
541
+ </mpay24spsc>-->
542
 
543
  <mpay24 translate="label" module="mpay24">
544
  <label>Payment systems</label>
575
  <show_in_website>1</show_in_website>
576
  <show_in_store>1</show_in_store>
577
  <comment>Your customers can choose the payment system in the shop only by 'Custom configuration'! The payment systems will be synchronized when the settings are saved!</comment>
578
+ </payments_active>
579
  <form_template translate="label comment">
580
  <label>Payment system selection</label>
581
  <frontend_type>select</frontend_type>
582
  <source_model>mpay24/source_formTemplate</source_model>
 
 
 
 
 
 
 
 
 
 
 
583
  <sort_order>1</sort_order>
584
  <show_in_default>1</show_in_default>
585
  <show_in_website>1</show_in_website>
586
  <show_in_store>1</show_in_store>
587
+ <comment>Choose the way the mPAY24 systems are shown in the fronend (checkout)</comment>
588
  <depends><payments_active>true</payments_active></depends>
589
+ </form_template>
590
+ <forced_preselection translate="label comment">
591
+ <label>Forced preselection</label>
592
  <frontend_type>select</frontend_type>
593
  <source_model>adminhtml/system_config_source_yesno</source_model>
594
  <sort_order>2</sort_order>
595
  <show_in_default>1</show_in_default>
596
  <show_in_website>1</show_in_website>
597
  <show_in_store>1</show_in_store>
598
+ <comment>Your customers must choose the payment system before they are forwarded to mPAY24 in order to be possible to charge the specific payment system.</comment>
599
  <depends><payments_active>true</payments_active></depends>
600
+ </forced_preselection>
601
+ <ps_1>
602
+ <label>PS_1</label>
603
  <frontend_type>select</frontend_type>
604
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
605
  <sort_order>3</sort_order>
606
  <show_in_default>1</show_in_default>
607
  <show_in_website>1</show_in_website>
608
  <show_in_store>1</show_in_store>
609
  <depends><payments_active>true</payments_active></depends>
610
+ </ps_1>
611
+ <tax_type_1 translate="label">
612
+ <label>Payment charge type</label>
613
  <frontend_type>select</frontend_type>
614
+ <source_model>mpay24/source_paymentCharge</source_model>
615
  <sort_order>4</sort_order>
616
  <show_in_default>1</show_in_default>
617
  <show_in_website>1</show_in_website>
618
  <show_in_store>1</show_in_store>
619
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_1>1</ps_1></depends>
620
+ </tax_type_1>
621
+ <tax_1 translate="label">
622
+ <label>Payment charge</label>
623
+ <frontend_type>text</frontend_type>
624
+ <validate>validate-not-negative-number</validate>
625
  <sort_order>5</sort_order>
626
  <show_in_default>1</show_in_default>
627
  <show_in_website>1</show_in_website>
628
  <show_in_store>1</show_in_store>
629
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_1>1</ps_1></depends>
630
+ </tax_1>
631
+ <ps_2>
632
+ <label>PS_2</label>
633
  <frontend_type>select</frontend_type>
634
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
635
  <sort_order>6</sort_order>
636
  <show_in_default>1</show_in_default>
637
  <show_in_website>1</show_in_website>
638
  <show_in_store>1</show_in_store>
639
  <depends><payments_active>true</payments_active></depends>
640
+ </ps_2>
641
+ <tax_type_2 translate="label">
642
+ <label>Payment charge type</label>
643
  <frontend_type>select</frontend_type>
644
+ <source_model>mpay24/source_paymentCharge</source_model>
645
  <sort_order>7</sort_order>
646
  <show_in_default>1</show_in_default>
647
  <show_in_website>1</show_in_website>
648
  <show_in_store>1</show_in_store>
649
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_2>1</ps_2></depends>
650
+ </tax_type_2>
651
+ <tax_2 translate="label">
652
+ <label>Payment charge</label>
653
+ <frontend_type>text</frontend_type>
654
+ <validate>validate-not-negative-number</validate><sort_order>8</sort_order>
 
655
  <show_in_default>1</show_in_default>
656
  <show_in_website>1</show_in_website>
657
  <show_in_store>1</show_in_store>
658
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_2>1</ps_2></depends>
659
+ </tax_2>
660
+ <ps_3>
661
+ <label>PS_3</label>
662
  <frontend_type>select</frontend_type>
663
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
664
  <sort_order>9</sort_order>
665
  <show_in_default>1</show_in_default>
666
  <show_in_website>1</show_in_website>
667
  <show_in_store>1</show_in_store>
668
  <depends><payments_active>true</payments_active></depends>
669
+ </ps_3>
670
+ <tax_type_3 translate="label">
671
+ <label>Payment charge type</label>
672
  <frontend_type>select</frontend_type>
673
+ <source_model>mpay24/source_paymentCharge</source_model>
674
  <sort_order>10</sort_order>
675
  <show_in_default>1</show_in_default>
676
  <show_in_website>1</show_in_website>
677
  <show_in_store>1</show_in_store>
678
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_3>1</ps_3></depends>
679
+ </tax_type_3>
680
+ <tax_3 translate="label">
681
+ <label>Payment charge</label>
682
+ <frontend_type>text</frontend_type>
683
+ <validate>validate-not-negative-number</validate><sort_order>11</sort_order>
 
684
  <show_in_default>1</show_in_default>
685
  <show_in_website>1</show_in_website>
686
  <show_in_store>1</show_in_store>
687
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_3>1</ps_3></depends>
688
+ </tax_3>
689
+ <ps_4>
690
+ <label>PS_4</label>
691
  <frontend_type>select</frontend_type>
692
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
693
  <sort_order>12</sort_order>
694
  <show_in_default>1</show_in_default>
695
  <show_in_website>1</show_in_website>
696
  <show_in_store>1</show_in_store>
697
  <depends><payments_active>true</payments_active></depends>
698
+ </ps_4>
699
+ <tax_type_4 translate="label">
700
+ <label>Payment charge type</label>
701
  <frontend_type>select</frontend_type>
702
+ <source_model>mpay24/source_paymentCharge</source_model>
703
  <sort_order>13</sort_order>
704
  <show_in_default>1</show_in_default>
705
  <show_in_website>1</show_in_website>
706
  <show_in_store>1</show_in_store>
707
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_4>1</ps_4></depends>
708
+ </tax_type_4>
709
+ <tax_4 translate="label">
710
+ <label>Payment charge</label>
711
+ <frontend_type>text</frontend_type>
712
+ <validate>validate-not-negative-number</validate><sort_order>14</sort_order>
 
713
  <show_in_default>1</show_in_default>
714
  <show_in_website>1</show_in_website>
715
  <show_in_store>1</show_in_store>
716
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_4>1</ps_4></depends>
717
+ </tax_4>
718
+ <ps_5>
719
+ <label>PS_5</label>
720
  <frontend_type>select</frontend_type>
721
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
722
  <sort_order>15</sort_order>
723
  <show_in_default>1</show_in_default>
724
  <show_in_website>1</show_in_website>
725
  <show_in_store>1</show_in_store>
726
  <depends><payments_active>true</payments_active></depends>
727
+ </ps_5>
728
+ <tax_type_5 translate="label">
729
+ <label>Payment charge type</label>
730
  <frontend_type>select</frontend_type>
731
+ <source_model>mpay24/source_paymentCharge</source_model>
732
  <sort_order>16</sort_order>
733
  <show_in_default>1</show_in_default>
734
  <show_in_website>1</show_in_website>
735
  <show_in_store>1</show_in_store>
736
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_5>1</ps_5></depends>
737
+ </tax_type_5>
738
+ <tax_5 translate="label">
739
+ <label>Payment charge</label>
740
+ <frontend_type>text</frontend_type>
741
+ <validate>validate-not-negative-number</validate><sort_order>17</sort_order>
 
742
  <show_in_default>1</show_in_default>
743
  <show_in_website>1</show_in_website>
744
  <show_in_store>1</show_in_store>
745
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_5>1</ps_5></depends>
746
+ </tax_5>
747
+ <ps_6>
748
+ <label>PS_6</label>
749
  <frontend_type>select</frontend_type>
750
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
751
  <sort_order>18</sort_order>
752
  <show_in_default>1</show_in_default>
753
  <show_in_website>1</show_in_website>
754
  <show_in_store>1</show_in_store>
755
  <depends><payments_active>true</payments_active></depends>
756
+ </ps_6>
757
+ <tax_type_6 translate="label">
758
+ <label>Payment charge type</label>
759
  <frontend_type>select</frontend_type>
760
+ <source_model>mpay24/source_paymentCharge</source_model>
761
  <sort_order>19</sort_order>
762
  <show_in_default>1</show_in_default>
763
  <show_in_website>1</show_in_website>
764
  <show_in_store>1</show_in_store>
765
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_6>1</ps_6></depends>
766
+ </tax_type_6>
767
+ <tax_6 translate="label">
768
+ <label>Payment charge</label>
769
+ <frontend_type>text</frontend_type>
770
+ <validate>validate-not-negative-number</validate><sort_order>20</sort_order>
 
771
  <show_in_default>1</show_in_default>
772
  <show_in_website>1</show_in_website>
773
  <show_in_store>1</show_in_store>
774
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_6>1</ps_6></depends>
775
+ </tax_6>
776
+ <ps_7>
777
+ <label>PS_7</label>
778
  <frontend_type>select</frontend_type>
779
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
780
  <sort_order>21</sort_order>
781
  <show_in_default>1</show_in_default>
782
  <show_in_website>1</show_in_website>
783
  <show_in_store>1</show_in_store>
784
  <depends><payments_active>true</payments_active></depends>
785
+ </ps_7>
786
+ <tax_type_7 translate="label">
787
+ <label>Payment charge type</label>
788
  <frontend_type>select</frontend_type>
789
+ <source_model>mpay24/source_paymentCharge</source_model>
790
  <sort_order>22</sort_order>
791
  <show_in_default>1</show_in_default>
792
  <show_in_website>1</show_in_website>
793
  <show_in_store>1</show_in_store>
794
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_7>1</ps_7></depends>
795
+ </tax_type_7>
796
+ <tax_7 translate="label">
797
+ <label>Payment charge</label>
798
+ <frontend_type>text</frontend_type>
799
+ <validate>validate-not-negative-number</validate><sort_order>23</sort_order>
 
800
  <show_in_default>1</show_in_default>
801
  <show_in_website>1</show_in_website>
802
  <show_in_store>1</show_in_store>
803
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_7>1</ps_7></depends>
804
+ </tax_7>
805
+ <ps_8>
806
+ <label>PS_8</label>
807
  <frontend_type>select</frontend_type>
808
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
809
  <sort_order>24</sort_order>
810
  <show_in_default>1</show_in_default>
811
  <show_in_website>1</show_in_website>
812
  <show_in_store>1</show_in_store>
813
  <depends><payments_active>true</payments_active></depends>
814
+ </ps_8>
815
+ <tax_type_8 translate="label">
816
+ <label>Payment charge type</label>
817
  <frontend_type>select</frontend_type>
818
+ <source_model>mpay24/source_paymentCharge</source_model>
819
  <sort_order>25</sort_order>
820
  <show_in_default>1</show_in_default>
821
  <show_in_website>1</show_in_website>
822
  <show_in_store>1</show_in_store>
823
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_8>1</ps_8></depends>
824
+ </tax_type_8>
825
+ <tax_8 translate="label">
826
+ <label>Payment charge</label>
827
+ <frontend_type>text</frontend_type>
828
+ <validate>validate-not-negative-number</validate><sort_order>26</sort_order>
 
829
  <show_in_default>1</show_in_default>
830
  <show_in_website>1</show_in_website>
831
  <show_in_store>1</show_in_store>
832
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_8>1</ps_8></depends>
833
+ </tax_8>
834
+ <ps_9>
835
+ <label>PS_9</label>
836
  <frontend_type>select</frontend_type>
837
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
838
  <sort_order>27</sort_order>
839
  <show_in_default>1</show_in_default>
840
  <show_in_website>1</show_in_website>
841
  <show_in_store>1</show_in_store>
842
  <depends><payments_active>true</payments_active></depends>
843
+ </ps_9>
844
+ <tax_type_9 translate="label">
845
+ <label>Payment charge type</label>
846
  <frontend_type>select</frontend_type>
847
+ <source_model>mpay24/source_paymentCharge</source_model>
848
  <sort_order>28</sort_order>
849
  <show_in_default>1</show_in_default>
850
  <show_in_website>1</show_in_website>
851
  <show_in_store>1</show_in_store>
852
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_9>1</ps_9></depends>
853
+ </tax_type_9>
854
+ <tax_9 translate="label">
855
+ <label>Payment charge</label>
856
+ <frontend_type>text</frontend_type>
857
+ <validate>validate-not-negative-number</validate><sort_order>29</sort_order>
 
858
  <show_in_default>1</show_in_default>
859
  <show_in_website>1</show_in_website>
860
  <show_in_store>1</show_in_store>
861
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_9>1</ps_9></depends>
862
+ </tax_9>
863
+ <ps_10>
864
+ <label>PS_10</label>
865
  <frontend_type>select</frontend_type>
866
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
867
  <sort_order>30</sort_order>
868
  <show_in_default>1</show_in_default>
869
  <show_in_website>1</show_in_website>
870
  <show_in_store>1</show_in_store>
871
  <depends><payments_active>true</payments_active></depends>
872
+ </ps_10>
873
+ <tax_type_10 translate="label">
874
+ <label>Payment charge type</label>
875
  <frontend_type>select</frontend_type>
876
+ <source_model>mpay24/source_paymentCharge</source_model>
877
  <sort_order>31</sort_order>
878
  <show_in_default>1</show_in_default>
879
  <show_in_website>1</show_in_website>
880
  <show_in_store>1</show_in_store>
881
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_10>1</ps_10></depends>
882
+ </tax_type_10>
883
+ <tax_10 translate="label">
884
+ <label>Payment charge</label>
885
+ <frontend_type>text</frontend_type>
886
+ <validate>validate-not-negative-number</validate><sort_order>32</sort_order>
 
887
  <show_in_default>1</show_in_default>
888
  <show_in_website>1</show_in_website>
889
  <show_in_store>1</show_in_store>
890
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_10>1</ps_10></depends>
891
+ </tax_10>
892
+ <ps_11>
893
+ <label>PS_11</label>
894
  <frontend_type>select</frontend_type>
895
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
896
  <sort_order>33</sort_order>
897
  <show_in_default>1</show_in_default>
898
  <show_in_website>1</show_in_website>
899
  <show_in_store>1</show_in_store>
900
  <depends><payments_active>true</payments_active></depends>
901
+ </ps_11>
902
+ <tax_type_11 translate="label">
903
+ <label>Payment charge type</label>
904
  <frontend_type>select</frontend_type>
905
+ <source_model>mpay24/source_paymentCharge</source_model>
906
  <sort_order>34</sort_order>
907
  <show_in_default>1</show_in_default>
908
  <show_in_website>1</show_in_website>
909
  <show_in_store>1</show_in_store>
910
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_11>1</ps_11></depends>
911
+ </tax_type_11>
912
+ <tax_11 translate="label">
913
+ <label>Payment charge</label>
914
+ <frontend_type>text</frontend_type>
915
+ <validate>validate-not-negative-number</validate><sort_order>35</sort_order>
 
916
  <show_in_default>1</show_in_default>
917
  <show_in_website>1</show_in_website>
918
  <show_in_store>1</show_in_store>
919
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_11>1</ps_11></depends>
920
+ </tax_11>
921
+ <ps_12>
922
+ <label>PS_12</label>
923
  <frontend_type>select</frontend_type>
924
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
925
  <sort_order>36</sort_order>
926
  <show_in_default>1</show_in_default>
927
  <show_in_website>1</show_in_website>
928
  <show_in_store>1</show_in_store>
929
  <depends><payments_active>true</payments_active></depends>
930
+ </ps_12>
931
+ <tax_type_12 translate="label">
932
+ <label>Payment charge type</label>
933
  <frontend_type>select</frontend_type>
934
+ <source_model>mpay24/source_paymentCharge</source_model>
935
  <sort_order>37</sort_order>
936
  <show_in_default>1</show_in_default>
937
  <show_in_website>1</show_in_website>
938
  <show_in_store>1</show_in_store>
939
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_12>1</ps_12></depends>
940
+ </tax_type_12>
941
+ <tax_12 translate="label">
942
+ <label>Payment charge</label>
943
+ <frontend_type>text</frontend_type>
944
+ <validate>validate-not-negative-number</validate><sort_order>38</sort_order>
945
+ <show_in_default>1</show_in_default>
946
+ <show_in_website>1</show_in_website>
947
+ <show_in_store>1</show_in_store>
948
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_12>1</ps_12></depends>
949
+ </tax_12>
950
+ <ps_13>
951
+ <label>PS_13</label>
952
  <frontend_type>select</frontend_type>
953
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
954
+ <sort_order>39</sort_order>
955
+ <show_in_default>1</show_in_default>
956
+ <show_in_website>1</show_in_website>
957
+ <show_in_store>1</show_in_store>
958
+ <depends><payments_active>true</payments_active></depends>
959
+ </ps_13>
960
+ <tax_type_13 translate="label">
961
+ <label>Payment charge type</label>
962
+ <frontend_type>select</frontend_type>
963
+ <source_model>mpay24/source_paymentCharge</source_model>
964
+ <sort_order>40</sort_order>
965
+ <show_in_default>1</show_in_default>
966
+ <show_in_website>1</show_in_website>
967
+ <show_in_store>1</show_in_store>
968
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_13>1</ps_13></depends>
969
+ </tax_type_13>
970
+ <tax_13 translate="label">
971
+ <label>Payment charge</label>
972
+ <frontend_type>text</frontend_type>
973
+ <validate>validate-not-negative-number</validate><sort_order>41</sort_order>
974
+ <show_in_default>1</show_in_default>
975
+ <show_in_website>1</show_in_website>
976
+ <show_in_store>1</show_in_store>
977
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_13>1</ps_13></depends>
978
+ </tax_13>
979
+ <ps_14>
980
+ <label>PS_14</label>
981
+ <frontend_type>select</frontend_type>
982
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
983
+ <sort_order>42</sort_order>
984
+ <show_in_default>1</show_in_default>
985
+ <show_in_website>1</show_in_website>
986
+ <show_in_store>1</show_in_store>
987
+ <depends><payments_active>true</payments_active></depends>
988
+ </ps_14>
989
+ <tax_type_14 translate="label">
990
+ <label>Payment charge type</label>
991
+ <frontend_type>select</frontend_type>
992
+ <source_model>mpay24/source_paymentCharge</source_model>
993
+ <sort_order>43</sort_order>
994
+ <show_in_default>1</show_in_default>
995
+ <show_in_website>1</show_in_website>
996
+ <show_in_store>1</show_in_store>
997
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_14>1</ps_14></depends>
998
+ </tax_type_14>
999
+ <tax_14 translate="label">
1000
+ <label>Payment charge</label>
1001
+ <frontend_type>text</frontend_type>
1002
+ <validate>validate-not-negative-number</validate><sort_order>44</sort_order>
1003
+ <show_in_default>1</show_in_default>
1004
+ <show_in_website>1</show_in_website>
1005
+ <show_in_store>1</show_in_store>
1006
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_14>1</ps_14></depends>
1007
+ </tax_14>
1008
+ <ps_15>
1009
+ <label>PS_15</label>
1010
+ <frontend_type>select</frontend_type>
1011
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1012
+ <sort_order>45</sort_order>
1013
+ <show_in_default>1</show_in_default>
1014
+ <show_in_website>1</show_in_website>
1015
+ <show_in_store>1</show_in_store>
1016
+ <depends><payments_active>true</payments_active></depends>
1017
+ </ps_15>
1018
+ <tax_type_15 translate="label">
1019
+ <label>Payment charge type</label>
1020
+ <frontend_type>select</frontend_type>
1021
+ <source_model>mpay24/source_paymentCharge</source_model>
1022
+ <sort_order>46</sort_order>
1023
+ <show_in_default>1</show_in_default>
1024
+ <show_in_website>1</show_in_website>
1025
+ <show_in_store>1</show_in_store>
1026
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_15>1</ps_15></depends>
1027
+ </tax_type_15>
1028
+ <tax_15 translate="label">
1029
+ <label>Payment charge</label>
1030
+ <frontend_type>text</frontend_type>
1031
+ <validate>validate-not-negative-number</validate><sort_order>47</sort_order>
1032
+ <show_in_default>1</show_in_default>
1033
+ <show_in_website>1</show_in_website>
1034
+ <show_in_store>1</show_in_store>
1035
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_15>1</ps_15></depends>
1036
+ </tax_15>
1037
+ <ps_16>
1038
+ <label>PS_16</label>
1039
+ <frontend_type>select</frontend_type>
1040
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1041
+ <sort_order>48</sort_order>
1042
+ <show_in_default>1</show_in_default>
1043
+ <show_in_website>1</show_in_website>
1044
+ <show_in_store>1</show_in_store>
1045
+ <depends><payments_active>true</payments_active></depends>
1046
+ </ps_16>
1047
+ <tax_type_16 translate="label">
1048
+ <label>Payment charge type</label>
1049
+ <frontend_type>select</frontend_type>
1050
+ <source_model>mpay24/source_paymentCharge</source_model>
1051
+ <sort_order>49</sort_order>
1052
+ <show_in_default>1</show_in_default>
1053
+ <show_in_website>1</show_in_website>
1054
+ <show_in_store>1</show_in_store>
1055
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_16>1</ps_16></depends>
1056
+ </tax_type_16>
1057
+ <tax_16 translate="label">
1058
+ <label>Payment charge</label>
1059
+ <frontend_type>text</frontend_type>
1060
+ <validate>validate-not-negative-number</validate><sort_order>50</sort_order>
1061
+ <show_in_default>1</show_in_default>
1062
+ <show_in_website>1</show_in_website>
1063
+ <show_in_store>1</show_in_store>
1064
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_16>1</ps_16></depends>
1065
+ </tax_16>
1066
+ <ps_17>
1067
+ <label>PS_17</label>
1068
+ <frontend_type>select</frontend_type>
1069
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1070
+ <sort_order>51</sort_order>
1071
+ <show_in_default>1</show_in_default>
1072
+ <show_in_website>1</show_in_website>
1073
+ <show_in_store>1</show_in_store>
1074
+ <depends><payments_active>true</payments_active></depends>
1075
+ </ps_17>
1076
+ <tax_type_17 translate="label">
1077
+ <label>Payment charge type</label>
1078
+ <frontend_type>select</frontend_type>
1079
+ <source_model>mpay24/source_paymentCharge</source_model>
1080
+ <sort_order>52</sort_order>
1081
+ <show_in_default>1</show_in_default>
1082
+ <show_in_website>1</show_in_website>
1083
+ <show_in_store>1</show_in_store>
1084
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_17>1</ps_17></depends>
1085
+ </tax_type_17>
1086
+ <tax_17 translate="label">
1087
+ <label>Payment charge</label>
1088
+ <frontend_type>text</frontend_type>
1089
+ <validate>validate-not-negative-number</validate><sort_order>53</sort_order>
1090
+ <show_in_default>1</show_in_default>
1091
+ <show_in_website>1</show_in_website>
1092
+ <show_in_store>1</show_in_store>
1093
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_17>1</ps_17></depends>
1094
+ </tax_17>
1095
+ <ps_18>
1096
+ <label>PS_18</label>
1097
+ <frontend_type>select</frontend_type>
1098
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1099
+ <sort_order>54</sort_order>
1100
+ <show_in_default>1</show_in_default>
1101
+ <show_in_website>1</show_in_website>
1102
+ <show_in_store>1</show_in_store>
1103
+ <depends><payments_active>true</payments_active></depends>
1104
+ </ps_18>
1105
+ <tax_type_18 translate="label">
1106
+ <label>Payment charge type</label>
1107
+ <frontend_type>select</frontend_type>
1108
+ <source_model>mpay24/source_paymentCharge</source_model>
1109
+ <sort_order>55</sort_order>
1110
+ <show_in_default>1</show_in_default>
1111
+ <show_in_website>1</show_in_website>
1112
+ <show_in_store>1</show_in_store>
1113
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_18>1</ps_18></depends>
1114
+ </tax_type_18>
1115
+ <tax_18 translate="label">
1116
+ <label>Payment charge</label>
1117
+ <frontend_type>text</frontend_type>
1118
+ <validate>validate-not-negative-number</validate><sort_order>56</sort_order>
1119
+ <show_in_default>1</show_in_default>
1120
+ <show_in_website>1</show_in_website>
1121
+ <show_in_store>1</show_in_store>
1122
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_18>1</ps_18></depends>
1123
+ </tax_18>
1124
+ <ps_19>
1125
+ <label>PS_19</label>
1126
+ <frontend_type>select</frontend_type>
1127
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1128
+ <sort_order>57</sort_order>
1129
+ <show_in_default>1</show_in_default>
1130
+ <show_in_website>1</show_in_website>
1131
+ <show_in_store>1</show_in_store>
1132
+ <depends><payments_active>true</payments_active></depends>
1133
+ </ps_19>
1134
+ <tax_type_19 translate="label">
1135
+ <label>Payment charge type</label>
1136
+ <frontend_type>select</frontend_type>
1137
+ <source_model>mpay24/source_paymentCharge</source_model>
1138
+ <sort_order>58</sort_order>
1139
+ <show_in_default>1</show_in_default>
1140
+ <show_in_website>1</show_in_website>
1141
+ <show_in_store>1</show_in_store>
1142
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_19>1</ps_19></depends>
1143
+ </tax_type_19>
1144
+ <tax_19 translate="label">
1145
+ <label>Payment charge</label>
1146
+ <frontend_type>text</frontend_type>
1147
+ <validate>validate-not-negative-number</validate><sort_order>59</sort_order>
1148
+ <show_in_default>1</show_in_default>
1149
+ <show_in_website>1</show_in_website>
1150
+ <show_in_store>1</show_in_store>
1151
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_19>1</ps_19></depends>
1152
+ </tax_19>
1153
+ <ps_20>
1154
+ <label>PS_20</label>
1155
+ <frontend_type>select</frontend_type>
1156
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1157
+ <sort_order>60</sort_order>
1158
+ <show_in_default>1</show_in_default>
1159
+ <show_in_website>1</show_in_website>
1160
+ <show_in_store>1</show_in_store>
1161
+ <depends><payments_active>true</payments_active></depends>
1162
+ </ps_20>
1163
+ <tax_type_20 translate="label">
1164
+ <label>Payment charge type</label>
1165
+ <frontend_type>select</frontend_type>
1166
+ <source_model>mpay24/source_paymentCharge</source_model>
1167
+ <sort_order>61</sort_order>
1168
+ <show_in_default>1</show_in_default>
1169
+ <show_in_website>1</show_in_website>
1170
+ <show_in_store>1</show_in_store>
1171
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_20>1</ps_20></depends>
1172
+ </tax_type_20>
1173
+ <tax_20 translate="label">
1174
+ <label>Payment charge</label>
1175
+ <frontend_type>text</frontend_type>
1176
+ <validate>validate-not-negative-number</validate><sort_order>62</sort_order>
1177
+ <show_in_default>1</show_in_default>
1178
+ <show_in_website>1</show_in_website>
1179
+ <show_in_store>1</show_in_store>
1180
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_20>1</ps_20></depends>
1181
+ </tax_20>
1182
+ <ps_21>
1183
+ <label>PS_21</label>
1184
+ <frontend_type>select</frontend_type>
1185
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1186
+ <sort_order>63</sort_order>
1187
+ <show_in_default>1</show_in_default>
1188
+ <show_in_website>1</show_in_website>
1189
+ <show_in_store>1</show_in_store>
1190
+ <depends><payments_active>true</payments_active></depends>
1191
+ </ps_21>
1192
+ <tax_type_21 translate="label">
1193
+ <label>Payment charge type</label>
1194
+ <frontend_type>select</frontend_type>
1195
+ <source_model>mpay24/source_paymentCharge</source_model>
1196
+ <sort_order>64</sort_order>
1197
+ <show_in_default>1</show_in_default>
1198
+ <show_in_website>1</show_in_website>
1199
+ <show_in_store>1</show_in_store>
1200
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_21>1</ps_21></depends>
1201
+ </tax_type_21>
1202
+ <tax_21 translate="label">
1203
+ <label>Payment charge</label>
1204
+ <frontend_type>text</frontend_type>
1205
+ <validate>validate-not-negative-number</validate><sort_order>65</sort_order>
1206
+ <show_in_default>1</show_in_default>
1207
+ <show_in_website>1</show_in_website>
1208
+ <show_in_store>1</show_in_store>
1209
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_21>1</ps_21></depends>
1210
+ </tax_21>
1211
+ <ps_22>
1212
+ <label>PS_22</label>
1213
+ <frontend_type>select</frontend_type>
1214
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1215
+ <sort_order>66</sort_order>
1216
+ <show_in_default>1</show_in_default>
1217
+ <show_in_website>1</show_in_website>
1218
+ <show_in_store>1</show_in_store>
1219
+ <depends><payments_active>true</payments_active></depends>
1220
+ </ps_22>
1221
+ <tax_type_22 translate="label">
1222
+ <label>Payment charge type</label>
1223
+ <frontend_type>select</frontend_type>
1224
+ <source_model>mpay24/source_paymentCharge</source_model>
1225
+ <sort_order>67</sort_order>
1226
+ <show_in_default>1</show_in_default>
1227
+ <show_in_website>1</show_in_website>
1228
+ <show_in_store>1</show_in_store>
1229
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_22>1</ps_22></depends>
1230
+ </tax_type_22>
1231
+ <tax_22 translate="label">
1232
+ <label>Payment charge</label>
1233
+ <frontend_type>text</frontend_type>
1234
+ <validate>validate-not-negative-number</validate><sort_order>68</sort_order>
1235
+ <show_in_default>1</show_in_default>
1236
+ <show_in_website>1</show_in_website>
1237
+ <show_in_store>1</show_in_store>
1238
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_22>1</ps_22></depends>
1239
+ </tax_22>
1240
+ <ps_23>
1241
+ <label>PS_23</label>
1242
+ <frontend_type>select</frontend_type>
1243
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1244
+ <sort_order>69</sort_order>
1245
+ <show_in_default>1</show_in_default>
1246
+ <show_in_website>1</show_in_website>
1247
+ <show_in_store>1</show_in_store>
1248
+ <depends><payments_active>true</payments_active></depends>
1249
+ </ps_23>
1250
+ <tax_type_23 translate="label">
1251
+ <label>Payment charge type</label>
1252
+ <frontend_type>select</frontend_type>
1253
+ <source_model>mpay24/source_paymentCharge</source_model>
1254
+ <sort_order>70</sort_order>
1255
+ <show_in_default>1</show_in_default>
1256
+ <show_in_website>1</show_in_website>
1257
+ <show_in_store>1</show_in_store>
1258
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_23>1</ps_23></depends>
1259
+ </tax_type_23>
1260
+ <tax_23 translate="label">
1261
+ <label>Payment charge</label>
1262
+ <frontend_type>text</frontend_type>
1263
+ <validate>validate-not-negative-number</validate><sort_order>71</sort_order>
1264
+ <show_in_default>1</show_in_default>
1265
+ <show_in_website>1</show_in_website>
1266
+ <show_in_store>1</show_in_store>
1267
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_23>1</ps_23></depends>
1268
+ </tax_23>
1269
+ <ps_24>
1270
+ <label>PS_24</label>
1271
+ <frontend_type>select</frontend_type>
1272
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1273
+ <sort_order>72</sort_order>
1274
+ <show_in_default>1</show_in_default>
1275
+ <show_in_website>1</show_in_website>
1276
+ <show_in_store>1</show_in_store>
1277
+ <depends><payments_active>true</payments_active></depends>
1278
+ </ps_24>
1279
+ <tax_type_24 translate="label">
1280
+ <label>Payment charge type</label>
1281
+ <frontend_type>select</frontend_type>
1282
+ <source_model>mpay24/source_paymentCharge</source_model>
1283
+ <sort_order>73</sort_order>
1284
+ <show_in_default>1</show_in_default>
1285
+ <show_in_website>1</show_in_website>
1286
+ <show_in_store>1</show_in_store>
1287
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_24>1</ps_24></depends>
1288
+ </tax_type_24>
1289
+ <tax_24 translate="label">
1290
+ <label>Payment charge</label>
1291
+ <frontend_type>text</frontend_type>
1292
+ <validate>validate-not-negative-number</validate><sort_order>74</sort_order>
1293
+ <show_in_default>1</show_in_default>
1294
+ <show_in_website>1</show_in_website>
1295
+ <show_in_store>1</show_in_store>
1296
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_24>1</ps_24></depends>
1297
+ </tax_24>
1298
+ <ps_25>
1299
+ <label>PS_25</label>
1300
+ <frontend_type>select</frontend_type>
1301
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1302
+ <sort_order>75</sort_order>
1303
+ <show_in_default>1</show_in_default>
1304
+ <show_in_website>1</show_in_website>
1305
+ <show_in_store>1</show_in_store>
1306
+ <depends><payments_active>true</payments_active></depends>
1307
+ </ps_25>
1308
+ <tax_type_25 translate="label">
1309
+ <label>Payment charge type</label>
1310
+ <frontend_type>select</frontend_type>
1311
+ <source_model>mpay24/source_paymentCharge</source_model>
1312
+ <sort_order>76</sort_order>
1313
+ <show_in_default>1</show_in_default>
1314
+ <show_in_website>1</show_in_website>
1315
+ <show_in_store>1</show_in_store>
1316
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_25>1</ps_25></depends>
1317
+ </tax_type_25>
1318
+ <tax_25 translate="label">
1319
+ <label>Payment charge</label>
1320
+ <frontend_type>text</frontend_type>
1321
+ <validate>validate-not-negative-number</validate><sort_order>77</sort_order>
1322
+ <show_in_default>1</show_in_default>
1323
+ <show_in_website>1</show_in_website>
1324
+ <show_in_store>1</show_in_store>
1325
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_25>1</ps_25></depends>
1326
+ </tax_25>
1327
+ <ps_26>
1328
+ <label>PS_26</label>
1329
+ <frontend_type>select</frontend_type>
1330
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1331
+ <sort_order>78</sort_order>
1332
+ <show_in_default>1</show_in_default>
1333
+ <show_in_website>1</show_in_website>
1334
+ <show_in_store>1</show_in_store>
1335
+ <depends><payments_active>true</payments_active></depends>
1336
+ </ps_26>
1337
+ <tax_type_26 translate="label">
1338
+ <label>Payment charge type</label>
1339
+ <frontend_type>select</frontend_type>
1340
+ <source_model>mpay24/source_paymentCharge</source_model>
1341
+ <sort_order>79</sort_order>
1342
+ <show_in_default>1</show_in_default>
1343
+ <show_in_website>1</show_in_website>
1344
+ <show_in_store>1</show_in_store>
1345
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_26>1</ps_26></depends>
1346
+ </tax_type_26>
1347
+ <tax_26 translate="label">
1348
+ <label>Payment charge</label>
1349
+ <frontend_type>text</frontend_type>
1350
+ <validate>validate-not-negative-number</validate><sort_order>80</sort_order>
1351
+ <show_in_default>1</show_in_default>
1352
+ <show_in_website>1</show_in_website>
1353
+ <show_in_store>1</show_in_store>
1354
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_26>1</ps_26></depends>
1355
+ </tax_26>
1356
+ <ps_27>
1357
+ <label>PS_27</label>
1358
+ <frontend_type>select</frontend_type>
1359
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1360
+ <sort_order>81</sort_order>
1361
+ <show_in_default>1</show_in_default>
1362
+ <show_in_website>1</show_in_website>
1363
+ <show_in_store>1</show_in_store>
1364
+ <depends><payments_active>true</payments_active></depends>
1365
+ </ps_27>
1366
+ <tax_type_27 translate="label">
1367
+ <label>Payment charge type</label>
1368
+ <frontend_type>select</frontend_type>
1369
+ <source_model>mpay24/source_paymentCharge</source_model>
1370
+ <sort_order>82</sort_order>
1371
+ <show_in_default>1</show_in_default>
1372
+ <show_in_website>1</show_in_website>
1373
+ <show_in_store>1</show_in_store>
1374
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_27>1</ps_27></depends>
1375
+ </tax_type_27>
1376
+ <tax_27 translate="label">
1377
+ <label>Payment charge</label>
1378
+ <frontend_type>text</frontend_type>
1379
+ <validate>validate-not-negative-number</validate><sort_order>83</sort_order>
1380
+ <show_in_default>1</show_in_default>
1381
+ <show_in_website>1</show_in_website>
1382
+ <show_in_store>1</show_in_store>
1383
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_27>1</ps_27></depends>
1384
+ </tax_27>
1385
+ <ps_28>
1386
+ <label>PS_28</label>
1387
+ <frontend_type>select</frontend_type>
1388
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1389
+ <sort_order>84</sort_order>
1390
+ <show_in_default>1</show_in_default>
1391
+ <show_in_website>1</show_in_website>
1392
+ <show_in_store>1</show_in_store>
1393
+ <depends><payments_active>true</payments_active></depends>
1394
+ </ps_28>
1395
+ <tax_type_28 translate="label">
1396
+ <label>Payment charge type</label>
1397
+ <frontend_type>select</frontend_type>
1398
+ <source_model>mpay24/source_paymentCharge</source_model>
1399
+ <sort_order>85</sort_order>
1400
+ <show_in_default>1</show_in_default>
1401
+ <show_in_website>1</show_in_website>
1402
+ <show_in_store>1</show_in_store>
1403
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_28>1</ps_28></depends>
1404
+ </tax_type_28>
1405
+ <tax_28 translate="label">
1406
+ <label>Payment charge</label>
1407
+ <frontend_type>text</frontend_type>
1408
+ <validate>validate-not-negative-number</validate><sort_order>86</sort_order>
1409
+ <show_in_default>1</show_in_default>
1410
+ <show_in_website>1</show_in_website>
1411
+ <show_in_store>1</show_in_store>
1412
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_28>1</ps_28></depends>
1413
+ </tax_28>
1414
+ <ps_29>
1415
+ <label>PS_29</label>
1416
+ <frontend_type>select</frontend_type>
1417
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1418
+ <sort_order>87</sort_order>
1419
+ <show_in_default>1</show_in_default>
1420
+ <show_in_website>1</show_in_website>
1421
+ <show_in_store>1</show_in_store>
1422
+ <depends><payments_active>true</payments_active></depends>
1423
+ </ps_29>
1424
+ <tax_type_29 translate="label">
1425
+ <label>Payment charge type</label>
1426
+ <frontend_type>select</frontend_type>
1427
+ <source_model>mpay24/source_paymentCharge</source_model>
1428
+ <sort_order>88</sort_order>
1429
+ <show_in_default>1</show_in_default>
1430
+ <show_in_website>1</show_in_website>
1431
+ <show_in_store>1</show_in_store>
1432
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_29>1</ps_29></depends>
1433
+ </tax_type_29>
1434
+ <tax_29 translate="label">
1435
+ <label>Payment charge</label>
1436
+ <frontend_type>text</frontend_type>
1437
+ <validate>validate-not-negative-number</validate><sort_order>89</sort_order>
1438
+ <show_in_default>1</show_in_default>
1439
+ <show_in_website>1</show_in_website>
1440
+ <show_in_store>1</show_in_store>
1441
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_29>1</ps_29></depends>
1442
+ </tax_29>
1443
+ <ps_30>
1444
+ <label>PS_30</label>
1445
+ <frontend_type>select</frontend_type>
1446
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1447
+ <sort_order>90</sort_order>
1448
+ <show_in_default>1</show_in_default>
1449
+ <show_in_website>1</show_in_website>
1450
+ <show_in_store>1</show_in_store>
1451
+ <depends><payments_active>true</payments_active></depends>
1452
+ </ps_30>
1453
+ <tax_type_30 translate="label">
1454
+ <label>Payment charge type</label>
1455
+ <frontend_type>select</frontend_type>
1456
+ <source_model>mpay24/source_paymentCharge</source_model>
1457
+ <sort_order>91</sort_order>
1458
+ <show_in_default>1</show_in_default>
1459
+ <show_in_website>1</show_in_website>
1460
+ <show_in_store>1</show_in_store>
1461
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_30>1</ps_30></depends>
1462
+ </tax_type_30>
1463
+ <tax_30 translate="label">
1464
+ <label>Payment charge</label>
1465
+ <frontend_type>text</frontend_type>
1466
+ <validate>validate-not-negative-number</validate><sort_order>92</sort_order>
1467
+ <show_in_default>1</show_in_default>
1468
+ <show_in_website>1</show_in_website>
1469
+ <show_in_store>1</show_in_store>
1470
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_30>1</ps_30></depends>
1471
+ </tax_30>
1472
+ <ps_31>
1473
+ <label>PS_31</label>
1474
+ <frontend_type>select</frontend_type>
1475
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1476
+ <sort_order>93</sort_order>
1477
+ <show_in_default>1</show_in_default>
1478
+ <show_in_website>1</show_in_website>
1479
+ <show_in_store>1</show_in_store>
1480
+ <depends><payments_active>true</payments_active></depends>
1481
+ </ps_31>
1482
+ <tax_type_31 translate="label">
1483
+ <label>Payment charge type</label>
1484
+ <frontend_type>select</frontend_type>
1485
+ <source_model>mpay24/source_paymentCharge</source_model>
1486
+ <sort_order>94</sort_order>
1487
+ <show_in_default>1</show_in_default>
1488
+ <show_in_website>1</show_in_website>
1489
+ <show_in_store>1</show_in_store>
1490
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_31>1</ps_31></depends>
1491
+ </tax_type_31>
1492
+ <tax_31 translate="label">
1493
+ <label>Payment charge</label>
1494
+ <frontend_type>text</frontend_type>
1495
+ <validate>validate-not-negative-number</validate><sort_order>95</sort_order>
1496
+ <show_in_default>1</show_in_default>
1497
+ <show_in_website>1</show_in_website>
1498
+ <show_in_store>1</show_in_store>
1499
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_31>1</ps_31></depends>
1500
+ </tax_31>
1501
+ <ps_32>
1502
+ <label>PS_32</label>
1503
+ <frontend_type>select</frontend_type>
1504
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1505
+ <sort_order>96</sort_order>
1506
+ <show_in_default>1</show_in_default>
1507
+ <show_in_website>1</show_in_website>
1508
+ <show_in_store>1</show_in_store>
1509
+ <depends><payments_active>true</payments_active></depends>
1510
+ </ps_32>
1511
+ <tax_type_32 translate="label">
1512
+ <label>Payment charge type</label>
1513
+ <frontend_type>select</frontend_type>
1514
+ <source_model>mpay24/source_paymentCharge</source_model>
1515
+ <sort_order>97</sort_order>
1516
+ <show_in_default>1</show_in_default>
1517
+ <show_in_website>1</show_in_website>
1518
+ <show_in_store>1</show_in_store>
1519
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_32>1</ps_32></depends>
1520
+ </tax_type_32>
1521
+ <tax_32 translate="label">
1522
+ <label>Payment charge</label>
1523
+ <frontend_type>text</frontend_type>
1524
+ <validate>validate-not-negative-number</validate><sort_order>98</sort_order>
1525
+ <show_in_default>1</show_in_default>
1526
+ <show_in_website>1</show_in_website>
1527
+ <show_in_store>1</show_in_store>
1528
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_32>1</ps_32></depends>
1529
+ </tax_32>
1530
+ <ps_33>
1531
+ <label>PS_33</label>
1532
+ <frontend_type>select</frontend_type>
1533
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1534
+ <sort_order>99</sort_order>
1535
+ <show_in_default>1</show_in_default>
1536
+ <show_in_website>1</show_in_website>
1537
+ <show_in_store>1</show_in_store>
1538
+ <depends><payments_active>true</payments_active></depends>
1539
+ </ps_33>
1540
+ <tax_type_33 translate="label">
1541
+ <label>Payment charge type</label>
1542
+ <frontend_type>select</frontend_type>
1543
+ <source_model>mpay24/source_paymentCharge</source_model>
1544
+ <sort_order>100</sort_order>
1545
+ <show_in_default>1</show_in_default>
1546
+ <show_in_website>1</show_in_website>
1547
+ <show_in_store>1</show_in_store>
1548
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_33>1</ps_33></depends>
1549
+ </tax_type_33>
1550
+ <tax_33 translate="label">
1551
+ <label>Payment charge</label>
1552
+ <frontend_type>text</frontend_type>
1553
+ <validate>validate-not-negative-number</validate><sort_order>101</sort_order>
1554
+ <show_in_default>1</show_in_default>
1555
+ <show_in_website>1</show_in_website>
1556
+ <show_in_store>1</show_in_store>
1557
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_33>1</ps_33></depends>
1558
+ </tax_33>
1559
+ <ps_34>
1560
+ <label>PS_34</label>
1561
+ <frontend_type>select</frontend_type>
1562
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1563
+ <sort_order>102</sort_order>
1564
+ <show_in_default>1</show_in_default>
1565
+ <show_in_website>1</show_in_website>
1566
+ <show_in_store>1</show_in_store>
1567
+ <depends><payments_active>true</payments_active></depends>
1568
+ </ps_34>
1569
+ <tax_type_34 translate="label">
1570
+ <label>Payment charge type</label>
1571
+ <frontend_type>select</frontend_type>
1572
+ <source_model>mpay24/source_paymentCharge</source_model>
1573
+ <sort_order>103</sort_order>
1574
+ <show_in_default>1</show_in_default>
1575
+ <show_in_website>1</show_in_website>
1576
+ <show_in_store>1</show_in_store>
1577
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_34>1</ps_34></depends>
1578
+ </tax_type_34>
1579
+ <tax_34 translate="label">
1580
+ <label>Payment charge</label>
1581
+ <frontend_type>text</frontend_type>
1582
+ <validate>validate-not-negative-number</validate><sort_order>104</sort_order>
1583
+ <show_in_default>1</show_in_default>
1584
+ <show_in_website>1</show_in_website>
1585
+ <show_in_store>1</show_in_store>
1586
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_34>1</ps_34></depends>
1587
+ </tax_34>
1588
+ <ps_35>
1589
+ <label>PS_35</label>
1590
+ <frontend_type>select</frontend_type>
1591
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1592
+ <sort_order>105</sort_order>
1593
+ <show_in_default>1</show_in_default>
1594
+ <show_in_website>1</show_in_website>
1595
+ <show_in_store>1</show_in_store>
1596
+ <depends><payments_active>true</payments_active></depends>
1597
+ </ps_35>
1598
+ <tax_type_35 translate="label">
1599
+ <label>Payment charge type</label>
1600
+ <frontend_type>select</frontend_type>
1601
+ <source_model>mpay24/source_paymentCharge</source_model>
1602
+ <sort_order>106</sort_order>
1603
+ <show_in_default>1</show_in_default>
1604
+ <show_in_website>1</show_in_website>
1605
+ <show_in_store>1</show_in_store>
1606
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_35>1</ps_35></depends>
1607
+ </tax_type_35>
1608
+ <tax_35 translate="label">
1609
+ <label>Payment charge</label>
1610
+ <frontend_type>text</frontend_type>
1611
+ <validate>validate-not-negative-number</validate><sort_order>107</sort_order>
1612
+ <show_in_default>1</show_in_default>
1613
+ <show_in_website>1</show_in_website>
1614
+ <show_in_store>1</show_in_store>
1615
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_35>1</ps_35></depends>
1616
+ </tax_35>
1617
+ <ps_36>
1618
+ <label>PS_36</label>
1619
+ <frontend_type>select</frontend_type>
1620
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1621
+ <sort_order>108</sort_order>
1622
+ <show_in_default>1</show_in_default>
1623
+ <show_in_website>1</show_in_website>
1624
+ <show_in_store>1</show_in_store>
1625
+ <depends><payments_active>true</payments_active></depends>
1626
+ </ps_36>
1627
+ <tax_type_36 translate="label">
1628
+ <label>Payment charge type</label>
1629
+ <frontend_type>select</frontend_type>
1630
+ <source_model>mpay24/source_paymentCharge</source_model>
1631
+ <sort_order>109</sort_order>
1632
+ <show_in_default>1</show_in_default>
1633
+ <show_in_website>1</show_in_website>
1634
+ <show_in_store>1</show_in_store>
1635
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_36>1</ps_36></depends>
1636
+ </tax_type_36>
1637
+ <tax_36 translate="label">
1638
+ <label>Payment charge</label>
1639
+ <frontend_type>text</frontend_type>
1640
+ <validate>validate-not-negative-number</validate><sort_order>110</sort_order>
1641
+ <show_in_default>1</show_in_default>
1642
+ <show_in_website>1</show_in_website>
1643
+ <show_in_store>1</show_in_store>
1644
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_36>1</ps_36></depends>
1645
+ </tax_36>
1646
+ <ps_37>
1647
+ <label>PS_37</label>
1648
+ <frontend_type>select</frontend_type>
1649
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1650
+ <sort_order>111</sort_order>
1651
+ <show_in_default>1</show_in_default>
1652
+ <show_in_website>1</show_in_website>
1653
+ <show_in_store>1</show_in_store>
1654
+ <depends><payments_active>true</payments_active></depends>
1655
+ </ps_37>
1656
+ <tax_type_37 translate="label">
1657
+ <label>Payment charge type</label>
1658
+ <frontend_type>select</frontend_type>
1659
+ <source_model>mpay24/source_paymentCharge</source_model>
1660
+ <sort_order>112</sort_order>
1661
+ <show_in_default>1</show_in_default>
1662
+ <show_in_website>1</show_in_website>
1663
+ <show_in_store>1</show_in_store>
1664
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_37>1</ps_37></depends>
1665
+ </tax_type_37>
1666
+ <tax_37 translate="label">
1667
+ <label>Payment charge</label>
1668
+ <frontend_type>text</frontend_type>
1669
+ <validate>validate-not-negative-number</validate><sort_order>113</sort_order>
1670
+ <show_in_default>1</show_in_default>
1671
+ <show_in_website>1</show_in_website>
1672
+ <show_in_store>1</show_in_store>
1673
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_37>1</ps_37></depends>
1674
+ </tax_37>
1675
+ <ps_38>
1676
+ <label>PS_38</label>
1677
+ <frontend_type>select</frontend_type>
1678
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1679
+ <sort_order>114</sort_order>
1680
  <show_in_default>1</show_in_default>
1681
  <show_in_website>1</show_in_website>
1682
  <show_in_store>1</show_in_store>
1683
  <depends><payments_active>true</payments_active></depends>
1684
  </ps_38>
1685
+ <tax_type_38 translate="label">
1686
+ <label>Payment charge type</label>
1687
+ <frontend_type>select</frontend_type>
1688
+ <source_model>mpay24/source_paymentCharge</source_model>
1689
+ <sort_order>115</sort_order>
1690
+ <show_in_default>1</show_in_default>
1691
+ <show_in_website>1</show_in_website>
1692
+ <show_in_store>1</show_in_store>
1693
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_38>1</ps_38></depends>
1694
+ </tax_type_38>
1695
+ <tax_38 translate="label">
1696
+ <label>Payment charge</label>
1697
+ <frontend_type>text</frontend_type>
1698
+ <validate>validate-not-negative-number</validate><sort_order>116</sort_order>
1699
+ <show_in_default>1</show_in_default>
1700
+ <show_in_website>1</show_in_website>
1701
+ <show_in_store>1</show_in_store>
1702
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_38>1</ps_38></depends>
1703
+ </tax_38>
1704
  <ps_39>
1705
  <label>PS_39</label>
1706
  <frontend_type>select</frontend_type>
1707
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1708
+ <sort_order>117</sort_order>
1709
  <show_in_default>1</show_in_default>
1710
  <show_in_website>1</show_in_website>
1711
  <show_in_store>1</show_in_store>
1712
  <depends><payments_active>true</payments_active></depends>
1713
  </ps_39>
1714
+ <tax_type_39 translate="label">
1715
+ <label>Payment charge type</label>
1716
+ <frontend_type>select</frontend_type>
1717
+ <source_model>mpay24/source_paymentCharge</source_model>
1718
+ <sort_order>118</sort_order>
1719
+ <show_in_default>1</show_in_default>
1720
+ <show_in_website>1</show_in_website>
1721
+ <show_in_store>1</show_in_store>
1722
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_39>1</ps_39></depends>
1723
+ </tax_type_39>
1724
+ <tax_39 translate="label">
1725
+ <label>Payment charge</label>
1726
+ <frontend_type>text</frontend_type>
1727
+ <validate>validate-not-negative-number</validate><sort_order>119</sort_order>
1728
+ <show_in_default>1</show_in_default>
1729
+ <show_in_website>1</show_in_website>
1730
+ <show_in_store>1</show_in_store>
1731
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_39>1</ps_39></depends>
1732
+ </tax_39>
1733
  <ps_40>
1734
  <label>PS_40</label>
1735
  <frontend_type>select</frontend_type>
1736
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1737
+ <sort_order>120</sort_order>
1738
  <show_in_default>1</show_in_default>
1739
  <show_in_website>1</show_in_website>
1740
  <show_in_store>1</show_in_store>
1741
  <depends><payments_active>true</payments_active></depends>
1742
  </ps_40>
1743
+ <tax_type_40 translate="label">
1744
+ <label>Payment charge type</label>
1745
+ <frontend_type>select</frontend_type>
1746
+ <source_model>mpay24/source_paymentCharge</source_model>
1747
+ <sort_order>121</sort_order>
1748
+ <show_in_default>1</show_in_default>
1749
+ <show_in_website>1</show_in_website>
1750
+ <show_in_store>1</show_in_store>
1751
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_40>1</ps_40></depends>
1752
+ </tax_type_40>
1753
+ <tax_40 translate="label">
1754
+ <label>Payment charge</label>
1755
+ <frontend_type>text</frontend_type>
1756
+ <validate>validate-not-negative-number</validate><sort_order>122</sort_order>
1757
+ <show_in_default>1</show_in_default>
1758
+ <show_in_website>1</show_in_website>
1759
+ <show_in_store>1</show_in_store>
1760
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_40>1</ps_40></depends>
1761
+ </tax_40>
1762
  <ps_41>
1763
  <label>PS_41</label>
1764
  <frontend_type>select</frontend_type>
1765
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1766
+ <sort_order>123</sort_order>
1767
  <show_in_default>1</show_in_default>
1768
  <show_in_website>1</show_in_website>
1769
  <show_in_store>1</show_in_store>
1770
  <depends><payments_active>true</payments_active></depends>
1771
  </ps_41>
1772
+ <tax_type_41 translate="label">
1773
+ <label>Payment charge type</label>
1774
+ <frontend_type>select</frontend_type>
1775
+ <source_model>mpay24/source_paymentCharge</source_model>
1776
+ <sort_order>124</sort_order>
1777
+ <show_in_default>1</show_in_default>
1778
+ <show_in_website>1</show_in_website>
1779
+ <show_in_store>1</show_in_store>
1780
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_41>1</ps_41></depends>
1781
+ </tax_type_41>
1782
+ <tax_41 translate="label">
1783
+ <label>Payment charge</label>
1784
+ <frontend_type>text</frontend_type>
1785
+ <validate>validate-not-negative-number</validate><sort_order>125</sort_order>
1786
+ <show_in_default>1</show_in_default>
1787
+ <show_in_website>1</show_in_website>
1788
+ <show_in_store>1</show_in_store>
1789
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_41>1</ps_41></depends>
1790
+ </tax_41>
1791
  <ps_42>
1792
  <label>PS_42</label>
1793
  <frontend_type>select</frontend_type>
1794
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1795
+ <sort_order>126</sort_order>
1796
  <show_in_default>1</show_in_default>
1797
  <show_in_website>1</show_in_website>
1798
  <show_in_store>1</show_in_store>
1799
  <depends><payments_active>true</payments_active></depends>
1800
  </ps_42>
1801
+ <tax_type_42 translate="label">
1802
+ <label>Payment charge type</label>
1803
+ <frontend_type>select</frontend_type>
1804
+ <source_model>mpay24/source_paymentCharge</source_model>
1805
+ <sort_order>127</sort_order>
1806
+ <show_in_default>1</show_in_default>
1807
+ <show_in_website>1</show_in_website>
1808
+ <show_in_store>1</show_in_store>
1809
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_42>1</ps_42></depends>
1810
+ </tax_type_42>
1811
+ <tax_42 translate="label">
1812
+ <label>Payment charge</label>
1813
+ <frontend_type>text</frontend_type>
1814
+ <validate>validate-not-negative-number</validate><sort_order>128</sort_order>
1815
+ <show_in_default>1</show_in_default>
1816
+ <show_in_website>1</show_in_website>
1817
+ <show_in_store>1</show_in_store>
1818
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_42>1</ps_42></depends>
1819
+ </tax_42>
1820
  <ps_43>
1821
  <label>PS_43</label>
1822
  <frontend_type>select</frontend_type>
1823
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1824
+ <sort_order>129</sort_order>
1825
  <show_in_default>1</show_in_default>
1826
  <show_in_website>1</show_in_website>
1827
  <show_in_store>1</show_in_store>
1828
  <depends><payments_active>true</payments_active></depends>
1829
  </ps_43>
1830
+ <tax_type_43 translate="label">
1831
+ <label>Payment charge type</label>
1832
+ <frontend_type>select</frontend_type>
1833
+ <source_model>mpay24/source_paymentCharge</source_model>
1834
+ <sort_order>130</sort_order>
1835
+ <show_in_default>1</show_in_default>
1836
+ <show_in_website>1</show_in_website>
1837
+ <show_in_store>1</show_in_store>
1838
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_43>1</ps_43></depends>
1839
+ </tax_type_43>
1840
+ <tax_43 translate="label">
1841
+ <label>Payment charge</label>
1842
+ <frontend_type>text</frontend_type>
1843
+ <validate>validate-not-negative-number</validate><sort_order>131</sort_order>
1844
+ <show_in_default>1</show_in_default>
1845
+ <show_in_website>1</show_in_website>
1846
+ <show_in_store>1</show_in_store>
1847
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_43>1</ps_43></depends>
1848
+ </tax_43>
1849
  <ps_44>
1850
  <label>PS_44</label>
1851
  <frontend_type>select</frontend_type>
1852
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1853
+ <sort_order>132</sort_order>
1854
  <show_in_default>1</show_in_default>
1855
  <show_in_website>1</show_in_website>
1856
  <show_in_store>1</show_in_store>
1857
  <depends><payments_active>true</payments_active></depends>
1858
  </ps_44>
1859
+ <tax_type_44 translate="label">
1860
+ <label>Payment charge type</label>
1861
+ <frontend_type>select</frontend_type>
1862
+ <source_model>mpay24/source_paymentCharge</source_model>
1863
+ <sort_order>133</sort_order>
1864
+ <show_in_default>1</show_in_default>
1865
+ <show_in_website>1</show_in_website>
1866
+ <show_in_store>1</show_in_store>
1867
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_44>1</ps_44></depends>
1868
+ </tax_type_44>
1869
+ <tax_44 translate="label">
1870
+ <label>Payment charge</label>
1871
+ <frontend_type>text</frontend_type>
1872
+ <validate>validate-not-negative-number</validate><sort_order>134</sort_order>
1873
+ <show_in_default>1</show_in_default>
1874
+ <show_in_website>1</show_in_website>
1875
+ <show_in_store>1</show_in_store>
1876
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_44>1</ps_44></depends>
1877
+ </tax_44>
1878
  <ps_45>
1879
  <label>PS_45</label>
1880
  <frontend_type>select</frontend_type>
1881
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1882
+ <sort_order>135</sort_order>
1883
  <show_in_default>1</show_in_default>
1884
  <show_in_website>1</show_in_website>
1885
  <show_in_store>1</show_in_store>
1886
  <depends><payments_active>true</payments_active></depends>
1887
  </ps_45>
1888
+ <tax_type_45 translate="label">
1889
+ <label>Payment charge type</label>
1890
+ <frontend_type>select</frontend_type>
1891
+ <source_model>mpay24/source_paymentCharge</source_model>
1892
+ <sort_order>136</sort_order>
1893
+ <show_in_default>1</show_in_default>
1894
+ <show_in_website>1</show_in_website>
1895
+ <show_in_store>1</show_in_store>
1896
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_45>1</ps_45></depends>
1897
+ </tax_type_45>
1898
+ <tax_45 translate="label">
1899
+ <label>Payment charge</label>
1900
+ <frontend_type>text</frontend_type>
1901
+ <validate>validate-not-negative-number</validate><sort_order>137</sort_order>
1902
+ <show_in_default>1</show_in_default>
1903
+ <show_in_website>1</show_in_website>
1904
+ <show_in_store>1</show_in_store>
1905
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_45>1</ps_45></depends>
1906
+ </tax_45>
1907
  <ps_46>
1908
  <label>PS_46</label>
1909
  <frontend_type>select</frontend_type>
1910
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1911
+ <sort_order>138</sort_order>
1912
  <show_in_default>1</show_in_default>
1913
  <show_in_website>1</show_in_website>
1914
  <show_in_store>1</show_in_store>
1915
  <depends><payments_active>true</payments_active></depends>
1916
  </ps_46>
1917
+ <tax_type_46 translate="label">
1918
+ <label>Payment charge type</label>
1919
+ <frontend_type>select</frontend_type>
1920
+ <source_model>mpay24/source_paymentCharge</source_model>
1921
+ <sort_order>139</sort_order>
1922
+ <show_in_default>1</show_in_default>
1923
+ <show_in_website>1</show_in_website>
1924
+ <show_in_store>1</show_in_store>
1925
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_46>1</ps_46></depends>
1926
+ </tax_type_46>
1927
+ <tax_46 translate="label">
1928
+ <label>Payment charge</label>
1929
+ <frontend_type>text</frontend_type>
1930
+ <validate>validate-not-negative-number</validate><sort_order>140</sort_order>
1931
+ <show_in_default>1</show_in_default>
1932
+ <show_in_website>1</show_in_website>
1933
+ <show_in_store>1</show_in_store>
1934
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_46>1</ps_46></depends>
1935
+ </tax_46>
1936
  <ps_47>
1937
+ <label>PS_49</label>
1938
  <frontend_type>select</frontend_type>
1939
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1940
+ <sort_order>141</sort_order>
1941
  <show_in_default>1</show_in_default>
1942
  <show_in_website>1</show_in_website>
1943
  <show_in_store>1</show_in_store>
1944
  <depends><payments_active>true</payments_active></depends>
1945
  </ps_47>
1946
+ <tax_type_47 translate="label">
1947
+ <label>Payment charge type</label>
1948
+ <frontend_type>select</frontend_type>
1949
+ <source_model>mpay24/source_paymentCharge</source_model>
1950
+ <sort_order>142</sort_order>
1951
+ <show_in_default>1</show_in_default>
1952
+ <show_in_website>1</show_in_website>
1953
+ <show_in_store>1</show_in_store>
1954
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_47>1</ps_47></depends>
1955
+ </tax_type_47>
1956
+ <tax_47 translate="label">
1957
+ <label>Payment charge</label>
1958
+ <frontend_type>text</frontend_type>
1959
+ <validate>validate-not-negative-number</validate><sort_order>143</sort_order>
1960
+ <show_in_default>1</show_in_default>
1961
+ <show_in_website>1</show_in_website>
1962
+ <show_in_store>1</show_in_store>
1963
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_47>1</ps_47></depends>
1964
+ </tax_47>
1965
  <ps_48>
1966
  <label>PS_48</label>
1967
  <frontend_type>select</frontend_type>
1968
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1969
+ <sort_order>144</sort_order>
1970
  <show_in_default>1</show_in_default>
1971
  <show_in_website>1</show_in_website>
1972
  <show_in_store>1</show_in_store>
1973
  <depends><payments_active>true</payments_active></depends>
1974
  </ps_48>
1975
+ <tax_type_48 translate="label">
1976
+ <label>Payment charge type</label>
1977
+ <frontend_type>select</frontend_type>
1978
+ <source_model>mpay24/source_paymentCharge</source_model>
1979
+ <sort_order>145</sort_order>
1980
+ <show_in_default>1</show_in_default>
1981
+ <show_in_website>1</show_in_website>
1982
+ <show_in_store>1</show_in_store>
1983
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_48>1</ps_48></depends>
1984
+ </tax_type_48>
1985
+ <tax_48 translate="label">
1986
+ <label>Payment charge</label>
1987
+ <frontend_type>text</frontend_type>
1988
+ <validate>validate-not-negative-number</validate><sort_order>146</sort_order>
1989
+ <show_in_default>1</show_in_default>
1990
+ <show_in_website>1</show_in_website>
1991
+ <show_in_store>1</show_in_store>
1992
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_48>1</ps_48></depends>
1993
+ </tax_48>
1994
  <ps_49>
1995
  <label>PS_49</label>
1996
  <frontend_type>select</frontend_type>
1997
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
1998
+ <sort_order>147</sort_order>
1999
  <show_in_default>1</show_in_default>
2000
  <show_in_website>1</show_in_website>
2001
  <show_in_store>1</show_in_store>
2002
  <depends><payments_active>true</payments_active></depends>
2003
  </ps_49>
2004
+ <tax_type_49 translate="label">
2005
+ <label>Payment charge type</label>
2006
+ <frontend_type>select</frontend_type>
2007
+ <source_model>mpay24/source_paymentCharge</source_model>
2008
+ <sort_order>148</sort_order>
2009
+ <show_in_default>1</show_in_default>
2010
+ <show_in_website>1</show_in_website>
2011
+ <show_in_store>1</show_in_store>
2012
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_49>1</ps_49></depends>
2013
+ </tax_type_49>
2014
+ <tax_49 translate="label">
2015
+ <label>Payment charge</label>
2016
+ <frontend_type>text</frontend_type>
2017
+ <validate>validate-not-negative-number</validate><sort_order>149</sort_order>
2018
+ <show_in_default>1</show_in_default>
2019
+ <show_in_website>1</show_in_website>
2020
+ <show_in_store>1</show_in_store>
2021
+ <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_49>1</ps_49></depends>
2022
+ </tax_49>
2023
  <ps_50>
2024
  <label>PS_50</label>
2025
  <frontend_type>select</frontend_type>
2026
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
2027
+ <sort_order>150</sort_order>
2028
  <show_in_default>1</show_in_default>
2029
  <show_in_website>1</show_in_website>
2030
  <show_in_store>1</show_in_store>
2035
  <frontend_type>select</frontend_type>
2036
  <source_model>mpay24/source_clearingAction</source_model>
2037
  <config_path>payment/mpay24/paid_payment_action</config_path>
2038
+ <sort_order>200</sort_order>
2039
  <show_in_default>1</show_in_default>
2040
  <show_in_website>1</show_in_website>
2041
  <show_in_store>1</show_in_store>
2045
  <frontend_type>select</frontend_type>
2046
  <source_model>mpay24/source_paidOrder</source_model>
2047
  <config_path>payment/mpay24/paid_order_status</config_path>
2048
+ <sort_order>210</sort_order>
2049
  <show_in_default>1</show_in_default>
2050
  <show_in_website>1</show_in_website>
2051
  <show_in_store>1</show_in_store>
2054
  <label>Billing address mode</label>
2055
  <frontend_type>select</frontend_type>
2056
  <source_model>mpay24/source_billAddr</source_model>
2057
+ <sort_order>220</sort_order>
2058
  <show_in_default>1</show_in_default>
2059
  <show_in_website>1</show_in_website>
2060
  <show_in_store>1</show_in_store>
2064
  <label>Show free products</label>
2065
  <frontend_type>select</frontend_type>
2066
  <source_model>adminhtml/system_config_source_yesno</source_model>
2067
+ <sort_order>230</sort_order>
2068
  <show_in_default>1</show_in_default>
2069
  <show_in_website>1</show_in_website>
2070
  <show_in_store>1</show_in_store>
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-install-1.4.3.php DELETED
@@ -1,53 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $this->startSetup();
22
-
23
- $this->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
24
-
25
- $this->run("
26
-
27
- -- DROP TABLE if exists {$this->getTable('mpay24_debug')};
28
- CREATE TABLE {$this->getTable('mpay24_debug')} (
29
- `debug_id` int(10) unsigned NOT NULL auto_increment,
30
- `request_body` text,
31
- `response_body` text,
32
- `request_serialized` text,
33
- `result_serialized` text,
34
- `request_dump` text,
35
- `result_dump` text,
36
- `time_stamp` TIMESTAMP DEFAULT CURRENT_TIMESTAMP
37
- ON UPDATE CURRENT_TIMESTAMP,
38
- PRIMARY KEY (`debug_id`)
39
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
40
-
41
- ");
42
-
43
-
44
- $this->run("
45
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
46
- ");
47
-
48
- $this->run("
49
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
50
- ");
51
-
52
- $this->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-install-1.4.4.php DELETED
@@ -1,32 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $this->startSetup();
22
-
23
- $this->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
24
-
25
- $this->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
26
-
27
- $this->run(" UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';");
28
-
29
- $this->run("UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';");
30
-
31
- $this->endSetup();
32
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-install-1.4.5.php DELETED
@@ -1,32 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $this->startSetup();
22
-
23
- $this->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
24
-
25
- $this->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
26
-
27
- $this->run(" UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';");
28
-
29
- $this->run("UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';");
30
-
31
- $this->endSetup();
32
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-install-1.4.7.php ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-install-1.4.7.php 5 2013-10-10 13:08:44Z sapolhei $
20
+ */
21
+ $this->startSetup();
22
+
23
+ $this->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
24
+
25
+ $this->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
26
+
27
+ $this->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
28
+
29
+ $this->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
30
+
31
+ $this->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
32
+ $this->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
33
+ $this->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
34
+
35
+ $this->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
36
+ $this->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
37
+ $this->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
38
+
39
+ $this->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
40
+ $this->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
41
+ $this->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
42
+
43
+ $this->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
44
+ $this->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
45
+ $this->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
46
+
47
+ $this->endSetup();
48
+ ?>
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-0.6.2-1.4.3.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-0.6.2-1.4.4.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-0.6.2-1.4.5.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-0.6.2-1.4.6.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.0-1.4.3.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.0-1.4.4.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.0-1.4.5.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.0-1.4.6.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.4-1.4.3.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.4-1.4.4.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.4-1.4.5.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.4-1.4.6.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.6-1.4.3.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.6-1.4.4.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.6-1.4.5.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.6-1.4.6.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.7-1.4.3.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.7-1.4.4.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.7-1.4.5.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.0.7-1.4.6.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.1-1.4.3.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.1-1.4.4.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.1-1.4.5.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.1-1.4.6.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.7-1.4.3.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.7-1.4.4.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.7-1.4.5.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.7-1.4.6.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.8-1.4.3.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.8-1.4.4.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.8-1.4.5.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.8-1.4.6.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.9-1.4.3.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.9-1.4.4.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.9-1.4.5.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.1.9-1.4.6.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.2.0-1.4.3.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.2.0-1.4.4.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.2.0-1.4.5.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.2.0-1.4.6.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.2.1-1.4.3.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.2.1-1.4.4.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.2.1-1.4.5.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.2.1-1.4.6.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.2.2-1.4.3.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.2.2-1.4.4.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.2.2-1.4.5.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.2.2-1.4.6.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.3.0-1.4.3.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.3.0-1.4.4.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.3.0-1.4.5.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.3.0-1.4.6.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.0-1.4.3.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.0-1.4.4.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.0-1.4.5.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.0-1.4.6.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.1-1.4..php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.1-1.4.3.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.1-1.4.4.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.1-1.4.5.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.2-1.4.3.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.2-1.4.4.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.2-1.4.5.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.2-1.4.6.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.3-1.4.4.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.3-1.4.5.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.3-1.4.6.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- $code = 'mpay24';
22
- $installer = $this;
23
-
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
-
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
-
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
-
37
- $installer->endSetup();
38
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.4-1.4.5.php CHANGED
@@ -14,25 +14,35 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
 
20
 
21
- $code = 'mpay24';
22
- $installer = $this;
23
 
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
 
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
 
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
 
37
- $installer->endSetup();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  ?>
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.4.5.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
+ $this->startSetup();
22
 
23
+ $this->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
 
24
 
25
+ $this->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
 
 
 
26
 
27
+ $this->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
 
 
28
 
29
+ $this->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
 
 
30
 
31
+ $this->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
32
+ $this->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
33
+ $this->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
34
+
35
+ $this->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
36
+ $this->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
37
+ $this->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
38
+
39
+ $this->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
40
+ $this->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
41
+ $this->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
42
+
43
+ $this->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
44
+ $this->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
45
+ $this->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
46
+
47
+ $this->endSetup();
48
  ?>
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.4-1.4.6.php CHANGED
@@ -14,25 +14,35 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
 
20
 
21
- $code = 'mpay24';
22
- $installer = $this;
23
 
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
 
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
 
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
 
37
- $installer->endSetup();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  ?>
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.4.6.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
+ $this->startSetup();
22
 
23
+ $this->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
 
24
 
25
+ $this->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
 
 
 
26
 
27
+ $this->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
 
 
28
 
29
+ $this->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
 
 
30
 
31
+ $this->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
32
+ $this->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
33
+ $this->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
34
+
35
+ $this->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
36
+ $this->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
37
+ $this->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
38
+
39
+ $this->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
40
+ $this->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
41
+ $this->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
42
+
43
+ $this->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
44
+ $this->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
45
+ $this->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
46
+
47
+ $this->endSetup();
48
  ?>
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.4-1.4.7.php ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.4.7.php 5 2013-10-10 13:08:44Z sapolhei $
20
+ */
21
+ $this->startSetup();
22
+
23
+ $this->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
24
+
25
+ $this->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
26
+
27
+ $this->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
28
+
29
+ $this->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
30
+
31
+ $this->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
32
+ $this->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
33
+ $this->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
34
+
35
+ $this->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
36
+ $this->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
37
+ $this->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
38
+
39
+ $this->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
40
+ $this->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
41
+ $this->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
42
+
43
+ $this->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
44
+ $this->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
45
+ $this->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
46
+
47
+ $this->endSetup();
48
+ ?>
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.5-1.4.6.php CHANGED
@@ -14,25 +14,35 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
 
20
 
21
- $code = 'mpay24';
22
- $installer = $this;
23
 
24
- $installer->startSetup();
25
- $installer->run("
26
- DROP TABLE if exists {$this->getTable('mpay24_debug')};
27
- ");
28
 
29
- $installer->run("
30
- UPDATE `sales_flat_quote_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
31
- ");
32
 
33
- $installer->run("
34
- UPDATE `sales_flat_order_payment` SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_sp_%';
35
- ");
36
 
37
- $installer->endSetup();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  ?>
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.5-1.4.6.php 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
+ $this->startSetup();
22
 
23
+ $this->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
 
24
 
25
+ $this->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
 
 
 
26
 
27
+ $this->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
 
 
28
 
29
+ $this->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
 
 
30
 
31
+ $this->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
32
+ $this->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
33
+ $this->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
34
+
35
+ $this->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
36
+ $this->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
37
+ $this->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
38
+
39
+ $this->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
40
+ $this->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
41
+ $this->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
42
+
43
+ $this->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
44
+ $this->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
45
+ $this->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
46
+
47
+ $this->endSetup();
48
  ?>
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.5-1.4.7.php ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.5-1.4.7.php 5 2013-10-10 13:08:44Z sapolhei $
20
+ */
21
+ $this->startSetup();
22
+
23
+ $this->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
24
+
25
+ $this->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
26
+
27
+ $this->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
28
+
29
+ $this->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
30
+
31
+ $this->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
32
+ $this->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
33
+ $this->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
34
+
35
+ $this->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
36
+ $this->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
37
+ $this->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
38
+
39
+ $this->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
40
+ $this->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
41
+ $this->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
42
+
43
+ $this->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
44
+ $this->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
45
+ $this->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
46
+
47
+ $this->endSetup();
48
+ ?>
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.6-1.4.7.php ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.6-1.4.7.php 5 2013-10-10 13:08:44Z sapolhei $
20
+ */
21
+ $this->startSetup();
22
+
23
+ $this->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
24
+
25
+ $this->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
26
+
27
+ $this->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
28
+
29
+ $this->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
30
+
31
+ $this->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
32
+ $this->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
33
+ $this->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
34
+
35
+ $this->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
36
+ $this->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
37
+ $this->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
38
+
39
+ $this->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
40
+ $this->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
41
+ $this->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
42
+
43
+ $this->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
44
+ $this->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
45
+ $this->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
46
+
47
+ $this->endSetup();
48
+ ?>
app/design/adminhtml/default/default/template/mpay24/info/pdf/selectpayment.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category design
16
+ * @package default_defaut
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: selectpayment.phtml 5 2013-10-10 13:08:44Z sapolhei $
20
+ */
21
+ ?>
22
+ <?php echo $this->getMethod()->getTitle() . " - " . $this->getPType() . " - " . $this->getBrand(); ?>
23
+ {{pdf_row_separator}}
24
+ <?php echo 'mPAYTID: ' . $this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('mpay_tid')) ?>
25
+ {{pdf_row_separator}}
26
+ <?php echo Mage::helper('mpay24')->__("Approval code") . ": " .$this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('appr_code')); ?>
27
+ {{pdf_row_separator}}
app/design/adminhtml/default/default/template/mpay24/info/selectpayment.phtml CHANGED
@@ -12,10 +12,11 @@
12
  * obtain it through the world-wide-web, please send an email
13
  * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
  ?>
21
  <p><b>
12
  * obtain it through the world-wide-web, please send an email
13
  * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
+ * @category design
16
+ * @package default_defaut
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: selectpayment.phtml 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
  ?>
22
  <p><b>
app/design/frontend/default/default/layout/mpay24.xml CHANGED
@@ -1,19 +1,12 @@
1
  <?xml version="1.0"?>
 
 
 
2
  <layout version="0.1.0">
3
  <mpay24_payment_payment>
4
  <reference name="root">
5
  <action method="setTemplate"><template>page/1column.phtml</template></action>
6
  </reference>
7
- <!-- <reference name="content"> -->
8
- <!-- <block type="mpay24/mpay24" name="payment_redirect" template="mpay24/payment.phtml"/> -->
9
- <!-- </reference> -->
10
-
11
- <!-- reference name="head">
12
- <action method="addJs"><script>varien/product.js</script></action>
13
- </reference>
14
- <reference name="content">
15
- <block type="mpay24/index" name="payment_index" template="mpay24/paymen.phtml" />
16
- </reference -->
17
  </mpay24_payment_payment>
18
  <mpay24_payment_errormsg>
19
  <reference name="root">
@@ -23,4 +16,4 @@
23
  <block type="mpay24/mpay24" name="errormsg" template="mpay24/error.phtml"/>
24
  </reference>
25
  </mpay24_payment_errormsg>
26
- </layout>
1
  <?xml version="1.0"?>
2
+ <!--
3
+ * @version $Id: mpay24.xml 5 2013-10-10 13:08:44Z sapolhei $
4
+ -->
5
  <layout version="0.1.0">
6
  <mpay24_payment_payment>
7
  <reference name="root">
8
  <action method="setTemplate"><template>page/1column.phtml</template></action>
9
  </reference>
 
 
 
 
 
 
 
 
 
 
10
  </mpay24_payment_payment>
11
  <mpay24_payment_errormsg>
12
  <reference name="root">
16
  <block type="mpay24/mpay24" name="errormsg" template="mpay24/error.phtml"/>
17
  </reference>
18
  </mpay24_payment_errormsg>
19
+ </layout>
app/design/frontend/default/default/template/mpay24/form/area.phtml CHANGED
@@ -14,8 +14,9 @@
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
  ?>
21
  <?php
@@ -28,39 +29,54 @@ if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true') {
28
  $brands[substr($brandAndType, 0, strpos($brandAndType, "=>"))] = substr($brandAndType, strpos($brandAndType, "=>")+2);
29
  }
30
  ?>
31
- <script>
32
  var selectedPayment = "../../../web/img/logos/payment-mpay24";
33
  var brand = "";
34
-
35
  function activate(input, id, description) {
36
  brand = description;
37
- if(input.parentNode.getAttribute('style') == "border-width: 1px; border-style: inset; border-color: transparent;") {
38
  var inputs = document.getElementById('mpay24_table').getElementsByTagName('input');
39
 
40
- for(i=0; i<inputs.length; i++) {
41
- inputs[i].parentNode.setAttribute('style', "border-width: 1px; border-style: inset; border-color: transparent;");
42
  inputs[i].disabled = true;
43
  }
44
 
45
  document.getElementById('mpay24_table').disabled = true;
46
 
47
- input.parentNode.setAttribute('style', "border-width: 1px; border-style: inset; border-color: blue;");
48
  document.getElementById(id).disabled = false;
49
 
50
  selectedPayment = id;
51
  payment.save();
52
  } else {
53
- input.parentNode.setAttribute('style', "border-width: 1px; border-style: inset; border-color: transparent;");
54
  document.getElementById(id).disabled = true;
55
  document.getElementById('mpay24_table').disabled = false;
56
  }
57
  }
58
  </script>
 
 
 
 
 
 
 
 
 
 
 
 
59
  <ul id="payment_form_<?php echo $_code ?>" style="display:none;">
60
  <li>
61
  <b>
62
  <?php if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true')
63
- echo Mage::helper('mpay24')->__("You can choose the payment system you want to use now or do it when you are redirected to the mPAY24 pay page after placing the order.");
 
 
 
64
  else
65
  echo Mage::helper('mpay24')->__("You can choose the payment system you want to use after you are redirected to the mPAY24 pay page after placing the order.");
66
  ?>
@@ -101,19 +117,42 @@ if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true') {
101
  <tr>
102
  <td colspan="2">
103
  <div style="width: 500px;"><!-- 248 -->
104
- <?php foreach ($this->getActiveMethods() as $id => $payment):
 
 
105
  if(strlen($id) == 1)
106
  $id = "00$id";
107
  elseif(strlen($id) == 2)
108
  $id = "0$id";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
  ?>
110
  <div style="border:5px solid transparent; float:left;">
111
- <div style="border-width: 1px; border-style: inset; border-color: transparent;">
112
- <a href="#" onclick="activate(this, '<?php echo $id;?>', '<?php echo $payment['DESCR']?>')"><img src='https://www.mpay24.com/merchadm/img/ptypes/<?php echo $id?>.png' alt='<?php echo $payment['DESCR']?>' title='<?php echo $payment['DESCR']?>' ></a>
113
- <input type="hidden" id='<?php echo $id;?>' name='mpay24_ps' value='<?php echo $id;?>' disabled />
114
  </div>
115
  </div>
116
- <?php endforeach; ?>
 
 
117
  <input type="hidden" id='mpay24_all' name='mpay24_ps' value='false' />
118
  </div>
119
  </td>
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: area.phtml 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
  ?>
22
  <?php
29
  $brands[substr($brandAndType, 0, strpos($brandAndType, "=>"))] = substr($brandAndType, strpos($brandAndType, "=>")+2);
30
  }
31
  ?>
32
+ <script type="text/javascript">
33
  var selectedPayment = "../../../web/img/logos/payment-mpay24";
34
  var brand = "";
35
+
36
  function activate(input, id, description) {
37
  brand = description;
38
+ if(input.parentNode.getAttribute('style') == "border: 1px inset transparent;") {
39
  var inputs = document.getElementById('mpay24_table').getElementsByTagName('input');
40
 
41
+ for(var i=0; i<inputs.length; i++) {
42
+ inputs[i].parentNode.setAttribute('style', "border: 1px inset transparent;");
43
  inputs[i].disabled = true;
44
  }
45
 
46
  document.getElementById('mpay24_table').disabled = true;
47
 
48
+ input.parentNode.setAttribute('style', "border: 1px inset blue;");
49
  document.getElementById(id).disabled = false;
50
 
51
  selectedPayment = id;
52
  payment.save();
53
  } else {
54
+ input.parentNode.setAttribute('style', "border: 1px inset transparent;");
55
  document.getElementById(id).disabled = true;
56
  document.getElementById('mpay24_table').disabled = false;
57
  }
58
  }
59
  </script>
60
+
61
+ <?php if(Mage::getStoreConfig('mpay24/mpay24/forced_preselection') == 1): ?>
62
+ <script>
63
+ document.getElementById('p_method_mpay24').setAttribute('onClick', "var savePaymentButton = document.getElementById('payment-buttons-container').getElementsByTagName('button')[0]; " +
64
+ "if(savePaymentButton) " +
65
+ "if(document.getElementById('p_method_mpay24').checked == true) " +
66
+ "savePaymentButton.setAttribute('onClick', 'alert(\"<?php echo Mage::helper('mpay24')->__("Please choose a payment system from the icon area, by clicking on the icons..."); ?>\");return false;'); " +
67
+ "else " +
68
+ "savePaymentButton.setAttribute('onClick', 'payment.save();'); " +
69
+ "payment.switchMethod('mpay24');");
70
+ </script>
71
+ <?php endif;?>
72
  <ul id="payment_form_<?php echo $_code ?>" style="display:none;">
73
  <li>
74
  <b>
75
  <?php if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true')
76
+ if(Mage::getStoreConfig('mpay24/mpay24/forced_preselection') == 1)
77
+ echo Mage::helper('mpay24')->__("Please choose a payment system from the icon area...");
78
+ else
79
+ echo Mage::helper('mpay24')->__("You can choose the payment system you want to use now or do it when you are redirected to the mPAY24 pay page after placing the order.");
80
  else
81
  echo Mage::helper('mpay24')->__("You can choose the payment system you want to use after you are redirected to the mPAY24 pay page after placing the order.");
82
  ?>
117
  <tr>
118
  <td colspan="2">
119
  <div style="width: 500px;"><!-- 248 -->
120
+ <?php
121
+ $j = 1;
122
+ foreach ($this->getActiveMethods() as $id => $payment):
123
  if(strlen($id) == 1)
124
  $id = "00$id";
125
  elseif(strlen($id) == 2)
126
  $id = "0$id";
127
+
128
+ $addInfo = "";
129
+
130
+ if(Mage::getStoreConfig("mpay24/mpay24/forced_preselection") == 1) {
131
+ $addInfo .= " - ";
132
+
133
+ if(Mage::getStoreConfig("mpay24/mpay24/tax_$j") > 0) {
134
+ if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'absolute')
135
+ $addInfo .= Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol();
136
+ $addInfo .= " " . Mage::getStoreConfig("mpay24/mpay24/tax_$j");
137
+
138
+ if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'percent')
139
+ $addInfo .= "%";
140
+
141
+ $addInfo .= " " . Mage::helper('mpay24')->__("Payment charge");
142
+ } else
143
+ $addInfo .= Mage::helper('mpay24')->__("For free");
144
+ }
145
+
146
  ?>
147
  <div style="border:5px solid transparent; float:left;">
148
+ <div style="border: 1px inset transparent;">
149
+ <a href="#" onclick="activate(this, '<?php echo $id;?>', '<?php echo $payment['DESCR']?>');"><img src='https://www.mpay24.com/merchadm/img/ptypes/<?php echo $id?>.png' alt='<?php echo $payment['DESCR'] . $addInfo?>' title='<?php echo $payment['DESCR'] . $addInfo?>' ></a>
150
+ <input type="hidden" id='<?php echo $id;?>' name='mpay24_ps' value='<?php echo $id . "_" . $j;?>' disabled />
151
  </div>
152
  </div>
153
+ <?php
154
+ $j++;
155
+ endforeach; ?>
156
  <input type="hidden" id='mpay24_all' name='mpay24_ps' value='false' />
157
  </div>
158
  </td>
app/design/frontend/default/default/template/mpay24/form/dropDown.phtml CHANGED
@@ -12,10 +12,11 @@
12
  * obtain it through the world-wide-web, please send an email
13
  * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
  ?>
21
  <?php
@@ -30,13 +31,12 @@ if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true') {
30
  $temp_brand="";
31
  }
32
  ?>
33
- <script type="text/javascript">
34
- var selectedPayment = "../../../web/img/logos/payment-mpay24";
35
  var brand = "";
36
  window.onload = function() {
37
  var inputs = document.getElementById('mpay24_table').getElementsByTagName('input');
38
 
39
- for(i=0; i<inputs.length; i++)
40
  inputs[i].disabled = true;
41
 
42
  var eSelect = document.getElementById('mpay24_ps');
@@ -53,7 +53,10 @@ if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true') {
53
  <li>
54
  <b>
55
  <?php if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true')
56
- echo Mage::helper('mpay24')->__("You can choose the payment system you want to use now or do it when you are redirected to the mPAY24 pay page after placing the order.");
 
 
 
57
  else
58
  echo Mage::helper('mpay24')->__("You can choose the payment system you want to use after you are redirected to the mPAY24 pay page after placing the order.");
59
  ?>
@@ -95,10 +98,22 @@ if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true') {
95
  </colgroup>
96
  <tr>
97
  <td>
98
- <select id="mpay24_ps" name="mpay24_ps" style="margin-top: 20px; margin-bottom:20px; width: 256px" title="mPAY24 <?php echo Mage::helper('mpay24')->__("Payment method");?>" onchange="document.getElementById('mpay24_img').style.display = (this.selectedIndex != 0) ? 'block' : 'none';
99
- document.getElementById('mpay24_img').src='https://www.mpay24.com/merchadm/img/ptypes/'+this.options[this.selectedIndex].value+'.png';selectedPayment=this.options[this.selectedIndex].value;">
 
 
 
 
 
100
  <option value="false">mPAY24 (<?php echo Mage::helper('mpay24')->__("All payment methods") ?>)</option>
101
- <?php foreach ($this->getActiveMethods() as $id => $payment):
 
 
 
 
 
 
 
102
  $changed = false;
103
  if($temp_brand == "" || $temp_brand != $payment['P_TYPE']) {
104
  if($temp_brand == "")
@@ -111,15 +126,42 @@ if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true') {
111
  $id = "00$id";
112
  elseif(strlen($id) == 2)
113
  $id = "0$id";
 
 
 
114
  ?>
115
 
116
- <option value="<?php echo $id ?>"><?php echo $payment['DESCR']?></option>
117
- <?php endforeach; ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
  </select>
119
  </td>
120
  <td>
121
- <img id="mpay24_img" src='' style="display: none; margin-top: 19px; margin-bottom: 19px;">
 
 
 
 
122
  </td>
 
 
 
 
 
123
  </tr>
124
  <tr>
125
  <td colspan="2">
12
  * obtain it through the world-wide-web, please send an email
13
  * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
+ * @category design
16
+ * @package default_defaut
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: dropDown.phtml 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
  ?>
22
  <?php
31
  $temp_brand="";
32
  }
33
  ?>
34
+ <script type="text/javascript">
 
35
  var brand = "";
36
  window.onload = function() {
37
  var inputs = document.getElementById('mpay24_table').getElementsByTagName('input');
38
 
39
+ for(var i=0; i<inputs.length; i++)
40
  inputs[i].disabled = true;
41
 
42
  var eSelect = document.getElementById('mpay24_ps');
53
  <li>
54
  <b>
55
  <?php if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true')
56
+ if(Mage::getStoreConfig('mpay24/mpay24/forced_preselection') == 1)
57
+ echo Mage::helper('mpay24')->__("Please choose a payment system from the drop down menu...");
58
+ else
59
+ echo Mage::helper('mpay24')->__("You can choose the payment system you want to use now or do it when you are redirected to the mPAY24 pay page after placing the order.");
60
  else
61
  echo Mage::helper('mpay24')->__("You can choose the payment system you want to use after you are redirected to the mPAY24 pay page after placing the order.");
62
  ?>
98
  </colgroup>
99
  <tr>
100
  <td>
101
+ <?php if(Mage::getStoreConfig('mpay24/mpay24/forced_preselection') == 1):?>
102
+ <select id="mpay24_ps" name="mpay24_ps" style="margin-top: 20px; margin-bottom:20px; width: 256px" title="mPAY24 <?php echo Mage::helper('mpay24')->__("Payment method");?>" onchange="document.getElementById('mpay24_img').src='https://www.mpay24.com/merchadm/img/ptypes/'+this.options[this.selectedIndex].value.substr(0,3)+'.png';selectedPayment=this.options[this.selectedIndex].value.substr(0,3);">
103
+ <?php else:?>
104
+ <select id="mpay24_ps" name="mpay24_ps" style="margin-top: 20px; margin-bottom:20px; width: 256px" title="mPAY24 <?php echo Mage::helper('mpay24')->__("Payment method");?>" onchange="document.getElementById('mpay24_img').style.display = (this.selectedIndex != 0) ? 'block' : 'none';
105
+ document.getElementById('mpay24_img').src='https://www.mpay24.com/merchadm/img/ptypes/'+this.options[this.selectedIndex].value.substr(0,3)+'.png';selectedPayment=this.options[this.selectedIndex].value.substr(0,3);">
106
+ <?php endif;?>
107
+ <?php if(Mage::getStoreConfig('mpay24/mpay24/forced_preselection') != 1):?>
108
  <option value="false">mPAY24 (<?php echo Mage::helper('mpay24')->__("All payment methods") ?>)</option>
109
+ <?php endif;?>
110
+ <?php
111
+ if(isset($_REQUEST['mpay24_ps']) && $_REQUEST['mpay24_ps'] != "")
112
+ $firstID = $_REQUEST['mpay24_ps'];
113
+ else
114
+ $firstID = "";
115
+ $j = 1;
116
+ foreach ($this->getActiveMethods() as $id => $payment):
117
  $changed = false;
118
  if($temp_brand == "" || $temp_brand != $payment['P_TYPE']) {
119
  if($temp_brand == "")
126
  $id = "00$id";
127
  elseif(strlen($id) == 2)
128
  $id = "0$id";
129
+
130
+ if(Mage::getStoreConfig('mpay24/mpay24/forced_preselection') == 1 && $firstID == "")
131
+ $firstID = $id;
132
  ?>
133
 
134
+ <option value="<?php echo $id . "_" . $j ?>"><?php echo $payment['DESCR'];
135
+ if(Mage::getStoreConfig("mpay24/mpay24/forced_preselection") == 1) {
136
+ echo " - ";
137
+
138
+ if(Mage::getStoreConfig("mpay24/mpay24/tax_$j") > 0) {
139
+ if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'absolute')
140
+ echo Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol();
141
+ echo " " . Mage::getStoreConfig("mpay24/mpay24/tax_$j");
142
+
143
+ if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'percent')
144
+ echo "%";
145
+
146
+ echo " " . Mage::helper('mpay24')->__("Payment charge");
147
+ } else
148
+ echo Mage::helper('mpay24')->__("For free");
149
+ } ?></option>
150
+ <?php $j++; endforeach; ?>
151
  </select>
152
  </td>
153
  <td>
154
+ <?php if(Mage::getStoreConfig('mpay24/mpay24/forced_preselection') == 1):?>
155
+ <img id="mpay24_img" src='https://www.mpay24.com/merchadm/img/ptypes/<?php echo $firstID?>.png' style="margin-top: 19px; margin-bottom: 19px;">
156
+ <?php else:?>
157
+ <img id="mpay24_img" src='' style="display: none; margin-top: 19px; margin-bottom: 19px;">
158
+ <?php endif;?>
159
  </td>
160
+ <?php if(Mage::getStoreConfig('mpay24/mpay24/forced_preselection') == 1)
161
+ echo "<script type='text/javascript'>var selectedPayment = '$firstID'</script>";
162
+ else
163
+ echo "<script type='text/javascript'>var selectedPayment = '../../../web/img/logos/payment-mpay24'';</script>";
164
+ ?>
165
  </tr>
166
  <tr>
167
  <td colspan="2">
app/design/frontend/default/default/template/mpay24/info/selectpayment.phtml CHANGED
@@ -12,10 +12,11 @@
12
  * obtain it through the world-wide-web, please send an email
13
  * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
- * @category Mpay24
16
- * @package Mpay24_Mpay24
17
- * @author Filipp Akinfiev
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
19
  */
20
  ?>
21
  <p><b>
12
  * obtain it through the world-wide-web, please send an email
13
  * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
+ * @category design
16
+ * @package default_defaut
17
+ * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: selectpayment.phtml 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
  ?>
22
  <p><b>
app/etc/modules/Mpay24_Mpay24.xml CHANGED
@@ -1,4 +1,7 @@
1
  <?xml version="1.0"?>
 
 
 
2
  <config>
3
  <modules>
4
  <Mpay24_Mpay24>
@@ -7,7 +10,7 @@
7
  <depends>
8
  <Mage_Payment />
9
  </depends>
10
- <version>1.4.6</version>
11
  </Mpay24_Mpay24>
12
  </modules>
13
  </config>
1
  <?xml version="1.0"?>
2
+ <!--
3
+ * @version $Id: Mpay24_Mpay24.xml 7 2013-10-10 14:19:46Z sapolhei $
4
+ -->
5
  <config>
6
  <modules>
7
  <Mpay24_Mpay24>
10
  <depends>
11
  <Mage_Payment />
12
  </depends>
13
+ <version>1.4.7</version>
14
  </Mpay24_Mpay24>
15
  </modules>
16
  </config>
app/locale/de_AT/Mpay24_Mpay24.csv CHANGED
@@ -56,4 +56,15 @@
56
  "Default mPAY24 configuration", "mPAY24 Konfiguration"
57
  "Your customers can choose the payment system in the shop only by 'Custom configuration'! The payment systems will be synchronized when the settings are saved!", "Nur bei 'Angepasste Konfiguration' können Ihre Kunden das Zahlungssystem im Shop auswählen! Die bei mPAY24 konfigurierten Zahlungssystemen werden beim Speichern synchronisert!"
58
  "You can choose the payment system you want to use after you are redirected to the mPAY24 pay page after placing the order.", "Sie können Ihre Zahlungssystemauswahl treffen, wenn Sie zur mPAY24 Bezahlseite weitergeleitet werden, nachdem Sie Ihre Bestellung bestätigen."
59
- "The payment systems will be synchronized when the settings are saved!", "Die bei mPAY24 konfigurierten Zahlungssystemen werden beim Speichern synchronisert!"
 
 
 
 
 
 
 
 
 
 
 
56
  "Default mPAY24 configuration", "mPAY24 Konfiguration"
57
  "Your customers can choose the payment system in the shop only by 'Custom configuration'! The payment systems will be synchronized when the settings are saved!", "Nur bei 'Angepasste Konfiguration' können Ihre Kunden das Zahlungssystem im Shop auswählen! Die bei mPAY24 konfigurierten Zahlungssystemen werden beim Speichern synchronisert!"
58
  "You can choose the payment system you want to use after you are redirected to the mPAY24 pay page after placing the order.", "Sie können Ihre Zahlungssystemauswahl treffen, wenn Sie zur mPAY24 Bezahlseite weitergeleitet werden, nachdem Sie Ihre Bestellung bestätigen."
59
+ "The payment systems will be synchronized when the settings are saved!", "Die bei mPAY24 konfigurierten Zahlungssystemen werden beim Speichern synchronisert!"
60
+ "Allowed IPs for the Confirmation", "Erlaubte IPs für die für die Confirmation"
61
+ "Forced preselection", "Zwangsvorauswahl"
62
+ "Your customers must choose the payment system before they are forwarded to mPAY24 in order to be possible to charge the specific payment system.", "Ihre Kunden werden gezwungen das Zahlungssystem auszuwählen, bevor sie zu mPAY24 weitergeleitet werden, damit Sie eine Zahlungsgebühr verrechnen können."
63
+ "Percent", "Prozent"
64
+ "Absolute value", "Absoluten Wert"
65
+ "Payment charge type", "Zahlungsgebührtyp"
66
+ "Payment charge", "Zahlungsgebühr"
67
+ "Please choose a payment system from the drop down menu...", "Bitte wählen Sie ein Zahlungssystem von dem Drop-Down-Menü..."
68
+ "Please choose a payment system from the icon area...", "Bitte wählen Sie ein Zahlungssystem von dem Icon-Area..."
69
+ "For free", "Kostenlos"
70
+ "Please choose a payment system from the icon area, by clicking on the icons...", "Bitte wählen Sie ein Zahlungssystem von dem Icon-Area indem Sie auf dem Icon klicken..."
app/locale/de_CH/Mpay24_Mpay24.csv CHANGED
@@ -56,4 +56,15 @@
56
  "Default mPAY24 configuration", "mPAY24 Konfiguration"
57
  "Your customers can choose the payment system in the shop only by 'Custom configuration'! The payment systems will be synchronized when the settings are saved!", "Nur bei 'Angepasste Konfiguration' können Ihre Kunden das Zahlungssystem im Shop auswählen! Die bei mPAY24 konfigurierten Zahlungssystemen werden beim Speichern synchronisert!"
58
  "You can choose the payment system you want to use after you are redirected to the mPAY24 pay page after placing the order.", "Sie können Ihre Zahlungssystemauswahl treffen, wenn Sie zur mPAY24 Bezahlseite weitergeleitet werden, nachdem Sie Ihre Bestellung bestätigen."
59
- "The payment systems will be synchronized when the settings are saved!", "Die bei mPAY24 konfigurierten Zahlungssystemen werden beim Speichern synchronisert!"
 
 
 
 
 
 
 
 
 
 
 
56
  "Default mPAY24 configuration", "mPAY24 Konfiguration"
57
  "Your customers can choose the payment system in the shop only by 'Custom configuration'! The payment systems will be synchronized when the settings are saved!", "Nur bei 'Angepasste Konfiguration' können Ihre Kunden das Zahlungssystem im Shop auswählen! Die bei mPAY24 konfigurierten Zahlungssystemen werden beim Speichern synchronisert!"
58
  "You can choose the payment system you want to use after you are redirected to the mPAY24 pay page after placing the order.", "Sie können Ihre Zahlungssystemauswahl treffen, wenn Sie zur mPAY24 Bezahlseite weitergeleitet werden, nachdem Sie Ihre Bestellung bestätigen."
59
+ "The payment systems will be synchronized when the settings are saved!", "Die bei mPAY24 konfigurierten Zahlungssystemen werden beim Speichern synchronisert!"
60
+ "Allowed IPs for the Confirmation", "Erlaubte IPs für die für die Confirmation"
61
+ "Forced preselection", "Zwangsvorauswahl"
62
+ "Your customers must choose the payment system before they are forwarded to mPAY24 in order to be possible to charge the specific payment system.", "Ihre Kunden werden gezwungen das Zahlungssystem auszuwählen, bevor sie zu mPAY24 weitergeleitet werden, damit Sie eine Zahlungsgebühr verrechnen können."
63
+ "Percent", "Prozent"
64
+ "Absolute value", "Absoluten Wert"
65
+ "Payment charge type", "Zahlungsgebührtyp"
66
+ "Payment charge", "Zahlungsgebühr"
67
+ "Please choose a payment system from the drop down menu...", "Bitte wählen Sie ein Zahlungssystem von dem Drop-Down-Menü..."
68
+ "Please choose a payment system from the icon area...", "Bitte wählen Sie ein Zahlungssystem von dem Icon-Area..."
69
+ "For free", "Kostenlos"
70
+ "Please choose a payment system from the icon area, by clicking on the icons...", "Bitte wählen Sie ein Zahlungssystem von dem Icon-Area indem Sie auf dem Icon klicken..."
app/locale/de_DE/Mpay24_Mpay24.csv CHANGED
@@ -56,4 +56,15 @@
56
  "Default mPAY24 configuration", "mPAY24 Konfiguration"
57
  "Your customers can choose the payment system in the shop only by 'Custom configuration'! The payment systems will be synchronized when the settings are saved!", "Nur bei 'Angepasste Konfiguration' können Ihre Kunden das Zahlungssystem im Shop auswählen! Die bei mPAY24 konfigurierten Zahlungssystemen werden beim Speichern synchronisert!"
58
  "You can choose the payment system you want to use after you are redirected to the mPAY24 pay page after placing the order.", "Sie können Ihre Zahlungssystemauswahl treffen, wenn Sie zur mPAY24 Bezahlseite weitergeleitet werden, nachdem Sie Ihre Bestellung bestätigen."
59
- "The payment systems will be synchronized when the settings are saved!", "Die bei mPAY24 konfigurierten Zahlungssystemen werden beim Speichern synchronisert!"
 
 
 
 
 
 
 
 
 
 
 
56
  "Default mPAY24 configuration", "mPAY24 Konfiguration"
57
  "Your customers can choose the payment system in the shop only by 'Custom configuration'! The payment systems will be synchronized when the settings are saved!", "Nur bei 'Angepasste Konfiguration' können Ihre Kunden das Zahlungssystem im Shop auswählen! Die bei mPAY24 konfigurierten Zahlungssystemen werden beim Speichern synchronisert!"
58
  "You can choose the payment system you want to use after you are redirected to the mPAY24 pay page after placing the order.", "Sie können Ihre Zahlungssystemauswahl treffen, wenn Sie zur mPAY24 Bezahlseite weitergeleitet werden, nachdem Sie Ihre Bestellung bestätigen."
59
+ "The payment systems will be synchronized when the settings are saved!", "Die bei mPAY24 konfigurierten Zahlungssystemen werden beim Speichern synchronisert!"
60
+ "Allowed IPs for the Confirmation", "Erlaubte IPs für die für die Confirmation"
61
+ "Forced preselection", "Zwangsvorauswahl"
62
+ "Your customers must choose the payment system before they are forwarded to mPAY24 in order to be possible to charge the specific payment system.", "Ihre Kunden werden gezwungen das Zahlungssystem auszuwählen, bevor sie zu mPAY24 weitergeleitet werden, damit Sie eine Zahlungsgebühr verrechnen können."
63
+ "Percent", "Prozent"
64
+ "Absolute value", "Absoluten Wert"
65
+ "Payment charge type", "Zahlungsgebührtyp"
66
+ "Payment charge", "Zahlungsgebühr"
67
+ "Please choose a payment system from the drop down menu...", "Bitte wählen Sie ein Zahlungssystem von dem Drop-Down-Menü..."
68
+ "Please choose a payment system from the icon area...", "Bitte wählen Sie ein Zahlungssystem von dem Icon-Area..."
69
+ "For free", "Kostenlos"
70
+ "Please choose a payment system from the icon area, by clicking on the icons...", "Bitte wählen Sie ein Zahlungssystem von dem Icon-Area indem Sie auf dem Icon klicken..."
app/locale/en_US/Mpay24_Mpay24.csv CHANGED
@@ -56,4 +56,15 @@
56
  "Default mPAY24 configuration", "Default mPAY24 configuration"
57
  "Your customers can choose the payment system in the shop only by 'Custom configuration'! The payment systems will be synchronized when the settings are saved!", "Your customers can choose the payment system in the shop only by 'Custom configuration'! The payment systems will be synchronized when the settings are saved!"
58
  "You can choose the payment system you want to use after you are redirected to the mPAY24 pay page after placing the order.", "You can choose the payment system you want to use after you are redirected to the mPAY24 pay page after placing the order."
59
- "The payment systems will be synchronized when the settings are saved!", "The payment systems will be synchronized when the settings are saved!"
 
 
 
 
 
 
 
 
 
 
 
56
  "Default mPAY24 configuration", "Default mPAY24 configuration"
57
  "Your customers can choose the payment system in the shop only by 'Custom configuration'! The payment systems will be synchronized when the settings are saved!", "Your customers can choose the payment system in the shop only by 'Custom configuration'! The payment systems will be synchronized when the settings are saved!"
58
  "You can choose the payment system you want to use after you are redirected to the mPAY24 pay page after placing the order.", "You can choose the payment system you want to use after you are redirected to the mPAY24 pay page after placing the order."
59
+ "The payment systems will be synchronized when the settings are saved!", "The payment systems will be synchronized when the settings are saved!"
60
+ "Allowed IPs for the Confirmation", "Allowed IPs for the Confirmation"
61
+ "Forced preselection", "Forced preselection"
62
+ "Your customers must choose the payment system before they are forwarded to mPAY24 in order to be possible to charge the specific payment system.", "Your customers must choose the payment system before they are forwarded to mPAY24 in order to be possible to charge the specific payment system."
63
+ "Percent", "Percent"
64
+ "Absolute value", "Absolute value"
65
+ "Payment charge type", "Payment charge type"
66
+ "Payment charge", "Payment charge"
67
+ "Please choose a payment system from the drop down menu...", "Please choose a payment system from the drop down menu..."
68
+ "Please choose a payment system from the icon area...", "Please choose a payment system from the icon area..."
69
+ "For free", "For free"
70
+ "Please choose a payment system from the icon area, by clicking on the icons...", "Please choose a payment system from the icon area, by clicking on the icons..."
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>mPAY24</name>
4
- <version>1.4.6</version>
5
  <stability>stable</stability>
6
  <license>Open Software License (OSL 3.0)</license>
7
  <channel>community</channel>
@@ -25,13 +25,18 @@ Die Payment L&#xF6;sung der mPAY24 GmbH unterst&#xFC;tzt folgende Bezahlarten un
25
  * Klarna&#xD;
26
  &#xD;
27
  &#xD;
28
- &#xD;
29
  Weitere Informationen unter www.mPAY24.com</description>
30
- <notes>Hot fixes</notes>
31
- <authors><author><name>Filipp Akinfiev</name><user>auto-converted</user><email>firedrago.magento@gmail.com</email></author></authors>
32
- <date>2013-07-23</date>
33
- <time>11:36:52</time>
34
- <contents><target name="magelocale"><dir name="de_AT"><file name="Mpay24_Mpay24.csv" hash="e55fbe56741682943f5565fec1b47442"/></dir><dir name="de_DE"><file name="Mpay24_Mpay24.csv" hash="e55fbe56741682943f5565fec1b47442"/></dir><dir name="de_CH"><file name="Mpay24_Mpay24.csv" hash="e55fbe56741682943f5565fec1b47442"/></dir><dir name="en_US"><file name="Mpay24_Mpay24.csv" hash="1cfa1bb474c632817c46f68b80669662"/></dir></target><target name="mageetc"><dir name="modules"><file name="Mpay24_Mpay24.xml" hash="e1b0b4f604d00f65beb786eb337edf6e"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="mpay24"><dir name="form"><file name="area.phtml" hash="8c0e368160b7db4cc6e535178fbd8fcd"/><file name="dropDown.phtml" hash="fc6294e58238f9aafb88638ab6f13475"/></dir><dir name="info"><file name="selectpayment.phtml" hash="7a0bbe8937fbf7cd7645647e178a9acd"/></dir></dir></dir><dir name="layout"><file name="mpay24.xml" hash="3417d5919482983b50e3d95820bbce4f"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="mpay24"><dir name="info"><file name="selectpayment.phtml" hash="723f1c8a3389923e521f66f385d98184"/></dir></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Mpay24"><dir name="Mpay24"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Fieldset.php" hash="cb5955592fa8c56116ff86bc184e1cf8"/></dir></dir></dir></dir><dir name="Form"><file name="Selectpayment.php" hash="7f19fe54c856bb330c79798241d4adf5"/></dir><dir name="Info"><file name="Selectpayment.php" hash="bc8da2bca1747af4def3a512acf3dc9c"/></dir><file name="Form.php" hash="d86b90b41641d7906348b0c746f446ec"/><file name="Mpay24.php" hash="4e1cb8cfea5f4b8f8a30d1423d7faa80"/><file name="ParentRedirect.php" hash="de08767824ea258fbfe743e48ad96b51"/></dir><dir name="Helper"><file name="Data.php" hash="a03853a3a120aea062b057c3f076da69"/></dir><dir name="Model"><dir name="Api"><dir name="xmls"><file name="Example_MDXI.xml" hash="660e8669bc96a337f3df4eafdc14d10f"/></dir><file name="MDXI.xsd" hash="ed7c1c7faba5c7e5921d1e6a4c68f2a2"/><file name="MPay24Api.php" hash="27e9b425d845a47b27f49eeb9aa37b96"/><file name="MPay24MagentoShop.php" hash="cb36d430755a641bf15f855005fc0441"/><file name="MPay24Shop.php" hash="bca4ac4968f1b9a6a95b808c1c285975"/><file name="cacert.pem" hash="4e0c8fcca8148533e6723f94463a3c73"/><file name="curllog.log" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="curllog.log~" hash="7f40c97c9c5e9b7901f4b7e9713ef2eb"/><file name="orderXML.php" hash="be050d973024293b02244b46f0ab1c06"/></dir><dir name="Entity"><file name="Setup.php" hash="9018084a94bdb33d414e00a292f07620"/></dir><dir name="Method"><file name="Abstract.php" hash="be7ce6e978a0f7d910cab9926f287fd2"/><file name="Selectpayment.php" hash="0912221b1cf47b0b4d0f627a38002547"/></dir><dir name="Mpay24"><file name="Debug.php" hash="81e9f542ff38674def60b0b0cbf7415f"/></dir><dir name="Mysql4"><dir name="Mpay24"><dir name="Debug"><file name="Collection.php" hash="a666401af236feec1445997b2bec0b9c"/></dir><file name="Debug.php" hash="57bdb58db32907167967b9544bf0fae8"/></dir><file name="Setup.php" hash="e4b289f35d15f495ab0e8438d5a79834"/></dir><dir name="Source"><file name="AllowedIPs.php" hash="a623cab8d99169439c05007f97cc77f1"/><file name="BillAddr.php" hash="92594658bbd8b596336e8aa864596533"/><file name="ClearingAction.php" hash="4b2c3280fb7113d30cc51f224cbe3b7e"/><file name="FormTemplate.php" hash="862e898a14478959b9fb48fd93273609"/><file name="PaidOrder.php" hash="1852bbc6940be99928a5a81287c013d2"/><file name="PaymentsActive.php" hash="2307fb5d5c556af6130022f8c8d6ed2b"/><file name="Request.php" hash="9d26e8fb2e5e924d7b0cfdfe32aa9fca"/><file name="Result.php" hash="c170c561846a3e98f61918e8f7551fb8"/><file name="ShoppingCartRowsAction.php" hash="fefe4440476a8c055e700f54c4fbdbfb"/><file name="System.php" hash="fbd3e48cd38de26eec765c66943e39d3"/></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Encrypted.php" hash="cd54d9f1b22da04d51ced935a151b3a9"/></dir></dir></dir><file name="Config.php" hash="ede3ad7c0a6c6457263d6fecba118529"/><file name="Observer.php" hash="bc19383c0f104970994e951de12e72c9"/><file name="Selectpayment.php" hash="d752b7a45d4ddfb73c08354bfaddb21d"/><file name="Session.php" hash="e92db9dba87f3baf415430774e414b04"/></dir><dir name="controllers"><file name="IndexController.php" hash="9ccac5fd19e5f5bb0d58056b3db16c42"/><file name="PaymentController.php" hash="6c7da3f54556fc5b18ba9b3be5437ca7"/></dir><dir name="etc"><file name="config.xml" hash="fec8e4f3f7f71d7bdbf9fb47653e2a61"/><file name="system.xml" hash="4a844eee313d9cbde6e58896f8bc23b6"/></dir><dir name="sql"><dir name="mpay24_setup"><file name="mysql4-install-1.4.3.php" hash="feee96792c6d94de4c44af7fa4d94dec"/><file name="mysql4-install-1.4.4.php" hash="ec9bd27a1e03dde6057b20870633ab6e"/><file name="mysql4-install-1.4.5.php" hash="ec9bd27a1e03dde6057b20870633ab6e"/><file name="mysql4-install-1.4.6.php" hash="24e845f1c7b5be9c9c8faa7201aca303"/><file name="mysql4-upgrade-0.6.2-1.4.3.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-0.6.2-1.4.4.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-0.6.2-1.4.5.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-0.6.2-1.4.6.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.0.0-1.4.3.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.0.0-1.4.4.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.0.0-1.4.5.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.0.0-1.4.6.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.0.4-1.4.3.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.0.4-1.4.4.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.0.4-1.4.5.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.0.4-1.4.6.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.0.6-1.4.3.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.0.6-1.4.4.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.0.6-1.4.5.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.0.6-1.4.6.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.0.7-1.4.3.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.0.7-1.4.4.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.0.7-1.4.5.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.0.7-1.4.6.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.1.1-1.4.3.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.1.1-1.4.4.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.1.1-1.4.5.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.1.1-1.4.6.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.1.7-1.4.3.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.1.7-1.4.4.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.1.7-1.4.5.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.1.7-1.4.6.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.1.8-1.4.3.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.1.8-1.4.4.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.1.8-1.4.5.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.1.8-1.4.6.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.1.9-1.4.3.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.1.9-1.4.4.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.1.9-1.4.5.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.1.9-1.4.6.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.2.0-1.4.3.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.2.0-1.4.4.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.2.0-1.4.5.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.2.0-1.4.6.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.2.1-1.4.3.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.2.1-1.4.4.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.2.1-1.4.5.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.2.1-1.4.6.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.2.2-1.4.3.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.2.2-1.4.4.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.2.2-1.4.5.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.2.2-1.4.6.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.3.0-1.4.3.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.3.0-1.4.4.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.3.0-1.4.5.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.3.0-1.4.6.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.4.0-1.4.3.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.4.0-1.4.4.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.4.0-1.4.5.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.4.0-1.4.6.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.4.1-1.4..php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.4.1-1.4.3.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.4.1-1.4.4.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.4.1-1.4.5.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.4.2-1.4.3.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.4.2-1.4.4.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.4.2-1.4.5.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.4.2-1.4.6.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.4.3-1.4.4.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.4.3-1.4.5.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.4.3-1.4.6.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.4.4-1.4.5.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.4.4-1.4.6.php" hash="7dd05035cb762ef4f2857c16ff023871"/><file name="mysql4-upgrade-1.4.5-1.4.6.php" hash="7dd05035cb762ef4f2857c16ff023871"/></dir></dir></dir></dir></target></contents>
 
 
 
 
 
 
35
  <compatible/>
36
- <dependencies/>
37
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>mPAY24</name>
4
+ <version>1.4.7</version>
5
  <stability>stable</stability>
6
  <license>Open Software License (OSL 3.0)</license>
7
  <channel>community</channel>
25
  * Klarna&#xD;
26
  &#xD;
27
  &#xD;
 
28
  Weitere Informationen unter www.mPAY24.com</description>
29
+ <notes>Upgrades and fixes:&#xD;
30
+ &#xD;
31
+ 1.Payment charges (percent or absoulte value) could be defined for each payment system&#xD;
32
+ &#xD;
33
+ 2. SQL installation scripts fixed&#xD;
34
+ &#xD;
35
+ 3. In case of an error or cancelation of the payment, the shopping cart will be not deleted and the customer will be redirected to the checkout process</notes>
36
+ <authors><author><name>Firedrago Magento</name><user>firedrago</user><email>firedrago.magento@gmail.com</email></author></authors>
37
+ <date>2013-10-10</date>
38
+ <time>14:24:23</time>
39
+ <contents><target name="magelocale"><dir name="de_AT"><file name="Mpay24_Mpay24.csv" hash="c5816e3e5782e8416de5ae37eef9d98a"/></dir><dir name="de_DE"><file name="Mpay24_Mpay24.csv" hash="c5816e3e5782e8416de5ae37eef9d98a"/></dir><dir name="de_CH"><file name="Mpay24_Mpay24.csv" hash="c5816e3e5782e8416de5ae37eef9d98a"/></dir><dir name="en_US"><file name="Mpay24_Mpay24.csv" hash="d13be529cacddd66710936f964f0de04"/></dir></target><target name="mageetc"><dir name="modules"><file name="Mpay24_Mpay24.xml" hash="ed1f445fe640ee60960da2d010d6accd"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="mpay24"><dir name="form"><file name="area.phtml" hash="020ad63812b57af8749e1e638dca3d25"/><file name="dropDown.phtml" hash="03266e55cce821c1cc8ed110e7fea7ec"/></dir><dir name="info"><file name="selectpayment.phtml" hash="d9ca6b83f45b70074ffdfc3066029d7d"/></dir></dir></dir><dir name="layout"><file name="mpay24.xml" hash="f61a3b1f24cf322c25d0cbfc23f473d6"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="mpay24"><dir name="info"><dir name="pdf"><file name="selectpayment.phtml" hash="fbdb9f2a8059cef41294ad0ebb66f6ed"/></dir><file name="selectpayment.phtml" hash="8ba60bd26e7dc29b76a14dd9b98cc501"/></dir></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Mpay24"><dir name="Mpay24"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="3370e076767f51aaf3a5e35564b64d7b"/></dir><dir name="Invoice"><file name="Totals.php" hash="45beeec6902eddd0a68d5d196c9c8993"/></dir><file name="Totals.php" hash="a9ea28f1c34c458ef346484a07a25ce4"/></dir><file name="Totals.php" hash="0ea703ba0a3ff253616a71c01c6f9152"/></dir><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Fieldset.php" hash="370665a4e4f25cc5eeaa8a8979cc13ba"/></dir></dir></dir></dir><dir name="Form"><file name="Selectpayment.php" hash="eb60bb70ba4c24a7cb56f5e025b2ca70"/></dir><file name="Form.php" hash="72f46c1cddecdb39cac90558ae3f8f34"/><dir name="Info"><file name="Selectpayment.php" hash="8617c9b39fff14c9da36134823713b8d"/></dir><file name="Mpay24.php" hash="7cd507fba0979dc4f3eb937e37bc52ff"/><file name="ParentRedirect.php" hash="f99827ac084d828afdeeea9014933c57"/><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="1d10e5e7f3022b8b4e12ffaf9fa0b42d"/></dir><dir name="Invoice"><file name="Totals.php" hash="b531a8c77d11c6af8ff13807062c3a36"/></dir><file name="Totals.php" hash="d90ee95adc75fd0a813311cbfd29dfbc"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="d02323e509bf1e693641a007e881d84a"/></dir><dir name="Model"><dir name="Api"><file name="MDXI.xsd" hash="ed7c1c7faba5c7e5921d1e6a4c68f2a2"/><file name="MPay24Api.php" hash="037092e458e7ec94c737c878b3eff246"/><file name="MPay24MagentoShop.php" hash="befaa6db6f5d7e2f61de75503d4b0e15"/><file name="MPay24Shop.php" hash="cf688d9d7f66a45aef16b9db0f44f975"/><file name="cacert.pem" hash="b4bc508481b6291f414f4e6fd7e5d0a5"/><file name="curllog.log" hash="31789307a7940a14944f5677c3d5c414"/><file name="orderXML.php" hash="704a162695cd9f540ca3123d0e7c6f12"/><dir name="xmls"><file name="Example_MDXI.xml" hash="660e8669bc96a337f3df4eafdc14d10f"/></dir></dir><file name="Config.php" hash="3f24700f4a88009c8b288f0b28cdecc8"/><dir name="Entity"><file name="Setup.php" hash="b430870f5b30400666d49e872fcb1829"/></dir><dir name="Method"><file name="Abstract.php" hash="fc8ae6c60da3f92ad5a8f94e5f6685b3"/><file name="Selectpayment.php" hash="aad96a4fa61721833f005949e87d7c8f"/></dir><dir name="Mpay24"><file name="Debug.php" hash="0292a590e18f447302a567e4805cc395"/></dir><dir name="Mysql4"><dir name="Mpay24"><dir name="Debug"><file name="Collection.php" hash="8ad74bfe0138d89799966b0a5098b973"/></dir><file name="Debug.php" hash="92e0274bbf10e95551ee1b2ce32fe77f"/></dir><file name="Setup.php" hash="cfde4d0356acd80dfc7ab96eb6fbc435"/></dir><file name="Observer.php" hash="3849b061a5b07f2e132f77744214decb"/><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><dir name="Total"><file name="Paymentcharge.php" hash="943ae96e845c0c336169356024d76d7d"/></dir></dir><dir name="Invoice"><dir name="Total"><file name="Paymentcharge.php" hash="aeef4b2983461b46ca6b3f741ac95038"/></dir></dir></dir><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Paymentcharge.php" hash="03cef9af1493b3a96fda734f8126c8cf"/></dir></dir></dir></dir><file name="Selectpayment.php" hash="6ff7750c42535e2921b17a7fab397f2a"/><file name="Session.php" hash="4b5004e1e1bb6eb411ff3462f0b01112"/><dir name="Source"><file name="AllowedIPs.php" hash="18da40de21159be4ac8be98909c5e284"/><file name="BillAddr.php" hash="80f771c682b65ed5f33eadfca86d6b58"/><file name="ClearingAction.php" hash="bafcc60b16e0345e0a12a49e7fb2ddc3"/><file name="FormTemplate.php" hash="d8d72b857ef3898a5b40601442408448"/><file name="PaidOrder.php" hash="ea962026625292782fd3830667419490"/><file name="PaymentCharge.php" hash="8f3f8b1548699bca5c63942e4c8916bb"/><file name="PaymentsActive.php" hash="408c0c11925732e2d6433d867d221d63"/><file name="Request.php" hash="89a5f1bc2c4984aaa2fdbe0e3e5e2b19"/><file name="Result.php" hash="85bafadd31d2f9da948721a8831f3d9e"/><file name="ShoppingCartRowsAction.php" hash="bc66fc6256b192d6b113537a73211cf3"/><file name="System.php" hash="f6142277dfbdab3e0e71fb9814c24652"/></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Encrypted.php" hash="66086ea048550c72962e7690b9a1c768"/></dir></dir></dir></dir><dir name="controllers"><file name="IndexController.php" hash="8ede56cc97e53af699648fa65566a7c5"/><file name="PaymentController.php" hash="9e657069203da6018f66c3e49af9e059"/></dir><dir name="etc"><file name="config.xml" hash="9e9c1589c7d972c120c38f389e0b5351"/><file name="system.xml" hash="088518f626848948ad06d10afd730201"/></dir><dir name="sql"><dir name="mpay24_setup"><file name="mysql4-install-1.4.7.php" hash="06802436c12ccc8f1a38a37ded30b0b5"/><file name="mysql4-upgrade-1.4.4-1.4.5.php" hash="c42283c8fceb2676d87b92afbffdaf69"/><file name="mysql4-upgrade-1.4.4-1.4.6.php" hash="c9a001f80d75f9ee3fbea4154569e282"/><file name="mysql4-upgrade-1.4.4-1.4.7.php" hash="4576b522f982c0f083fda5b6aae3a950"/><file name="mysql4-upgrade-1.4.5-1.4.6.php" hash="7508a117daf83092b24a7815bd46e457"/><file name="mysql4-upgrade-1.4.5-1.4.7.php" hash="1bfe7a93eeec4eb44b2340dc9f359205"/><file name="mysql4-upgrade-1.4.6-1.4.7.php" hash="1f344fe48cf3ae71608790e0802dcbbd"/></dir></dir></dir></dir></target></contents>
40
  <compatible/>
41
+ <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
42
  </package>