mPAY24 - Version 1.6.0

Version Notes

1.Status bug fixing: initialize method used instead of authorize.

2.Template improvement: Frontend base package used instead of default.

3.IE 11 frontend template support added.

4.Payment Method discount bug fixed.

5.Default Styling added.

6. State added to Shipping and Billing Address in the MDXI

Download this release

Release Info

Developer Anna Sadriu
Extension mPAY24
Version 1.6.0
Comparing to
See all releases


Code changes from version 1.5.7 to 1.6.0

Files changed (93) hide show
  1. app/code/community/Mpay24/Mpay24/Block/Adminhtml/Sales/Order/Creditmemo/Totals.php +2 -2
  2. app/code/community/Mpay24/Mpay24/Block/Adminhtml/Sales/Order/Invoice/Totals.php +2 -2
  3. app/code/community/Mpay24/Mpay24/Block/Adminhtml/Sales/Order/Totals.php +2 -2
  4. app/code/community/Mpay24/Mpay24/Block/Adminhtml/Sales/Totals.php +20 -6
  5. app/code/community/Mpay24/Mpay24/Block/Adminhtml/System/Config/Fieldset/Fieldset.php +2 -2
  6. app/code/community/Mpay24/Mpay24/Block/Form.php +2 -2
  7. app/code/community/Mpay24/Mpay24/Block/Form/Selectpayment.php +2 -2
  8. app/code/community/Mpay24/Mpay24/Block/Info/Selectpayment.php +2 -2
  9. app/code/community/Mpay24/Mpay24/Block/Mpay24.php +2 -2
  10. app/code/community/Mpay24/Mpay24/Block/ParentRedirect.php +2 -2
  11. app/code/community/Mpay24/Mpay24/Block/Sales/Order/Creditmemo/Totals.php +2 -2
  12. app/code/community/Mpay24/Mpay24/Block/Sales/Order/Invoice/Totals.php +2 -2
  13. app/code/community/Mpay24/Mpay24/Block/Sales/Order/Totals.php +18 -5
  14. app/code/community/Mpay24/Mpay24/Helper/Data.php +2 -2
  15. app/code/community/Mpay24/Mpay24/Model/Api/MPay24Api.php +7 -7
  16. app/code/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php +29 -18
  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 +0 -65
  20. app/code/community/Mpay24/Mpay24/Model/Api/orderXML.php +1 -1
  21. app/code/community/Mpay24/Mpay24/Model/Config.php +2 -2
  22. app/code/community/Mpay24/Mpay24/Model/Entity/Setup.php +2 -2
  23. app/code/community/Mpay24/Mpay24/Model/Method/Abstract.php +2 -2
  24. app/code/community/Mpay24/Mpay24/Model/Method/Selectpayment.php +2 -2
  25. app/code/community/Mpay24/Mpay24/Model/Mpay24/Debug.php +2 -2
  26. app/code/community/Mpay24/Mpay24/Model/Mysql4/Mpay24/Debug.php +2 -2
  27. app/code/community/Mpay24/Mpay24/Model/Mysql4/Mpay24/Debug/Collection.php +2 -2
  28. app/code/community/Mpay24/Mpay24/Model/Mysql4/Setup.php +2 -2
  29. app/code/community/Mpay24/Mpay24/Model/Observer.php +2 -2
  30. app/code/community/Mpay24/Mpay24/Model/Sales/Order/Creditmemo/Total/Paymentcharge.php +2 -2
  31. app/code/community/Mpay24/Mpay24/Model/Sales/Order/Invoice/Total/Paymentcharge.php +2 -2
  32. app/code/community/Mpay24/Mpay24/Model/Sales/Quote/Address/Total/Paymentcharge.php +8 -3
  33. app/code/community/Mpay24/Mpay24/Model/Selectpayment.php +11 -8
  34. app/code/community/Mpay24/Mpay24/Model/Session.php +2 -2
  35. app/code/community/Mpay24/Mpay24/Model/Source/AllowedIPs.php +2 -2
  36. app/code/community/Mpay24/Mpay24/Model/Source/BillAddr.php +2 -2
  37. app/code/community/Mpay24/Mpay24/Model/Source/ClearingAction.php +2 -2
  38. app/code/community/Mpay24/Mpay24/Model/Source/FormTemplate.php +2 -2
  39. app/code/community/Mpay24/Mpay24/Model/Source/PaidOrder.php +2 -2
  40. app/code/community/Mpay24/Mpay24/Model/Source/PaymentCharge.php +2 -2
  41. app/code/community/Mpay24/Mpay24/Model/Source/PaymentsActive.php +2 -2
  42. app/code/community/Mpay24/Mpay24/Model/Source/Request.php +2 -2
  43. app/code/community/Mpay24/Mpay24/Model/Source/Result.php +2 -2
  44. app/code/community/Mpay24/Mpay24/Model/Source/SOFORTState.php +0 -35
  45. app/code/community/Mpay24/Mpay24/Model/Source/ShoppingCartRowsAction.php +2 -2
  46. app/code/community/Mpay24/Mpay24/Model/Source/System.php +2 -2
  47. app/code/community/Mpay24/Mpay24/Model/System/Config/Backend/Encrypted.php +2 -2
  48. app/code/community/Mpay24/Mpay24/controllers/IndexController.php +2 -2
  49. app/code/community/Mpay24/Mpay24/controllers/PaymentController.php +99 -71
  50. app/code/community/Mpay24/Mpay24/etc/config.xml +13 -5
  51. app/code/community/Mpay24/Mpay24/etc/system.xml +149 -149
  52. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-install-1.5.7.php +0 -53
  53. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/{mysql4-upgrade-1.5.6-1.5.7.php → mysql4-install-1.6.0.php} +2 -2
  54. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.0-1.5.1.php +0 -53
  55. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.0-1.5.2.php +0 -53
  56. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.0-1.5.3.php +0 -53
  57. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.0-1.5.4.php +0 -53
  58. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.0-1.5.5.php +0 -53
  59. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.0-1.5.6.php +0 -53
  60. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.0-1.5.7.php +0 -53
  61. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.1-1.5.2.php +0 -53
  62. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.1-1.5.3.php +0 -53
  63. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.1-1.5.4.php +0 -53
  64. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.1-1.5.5.php +0 -53
  65. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.1-1.5.6.php +0 -53
  66. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.1-1.5.7.php +0 -53
  67. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.2-1.5.3.php +0 -53
  68. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.2-1.5.4.php +0 -53
  69. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.2-1.5.5.php +0 -53
  70. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.2-1.5.6.php +0 -53
  71. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.2-1.5.7.php +0 -53
  72. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.3-1.5.4.php +0 -53
  73. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.3-1.5.5.php +0 -53
  74. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.3-1.5.6.php +0 -53
  75. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.3-1.5.7.php +0 -53
  76. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.4-1.5.5.php +0 -53
  77. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.4-1.5.6.php +0 -53
  78. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.4-1.5.7.php +0 -53
  79. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.5-1.5.6.php +0 -53
  80. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.5-1.5.7.php +0 -53
  81. app/design/adminhtml/default/default/template/mpay24/info/pdf/selectpayment.phtml +2 -2
  82. app/design/adminhtml/default/default/template/mpay24/info/selectpayment.phtml +10 -2
  83. app/design/frontend/base/default/layout/mpay24.xml +2 -2
  84. app/design/frontend/base/default/template/mpay24/form/area.phtml +18 -15
  85. app/design/frontend/base/default/template/mpay24/form/dropDown.phtml +18 -14
  86. app/design/frontend/base/default/template/mpay24/form/radio.phtml +17 -13
  87. app/design/frontend/base/default/template/mpay24/info/selectpayment.phtml +2 -2
  88. app/etc/modules/Mpay24_Mpay24.xml +2 -2
  89. app/locale/de_AT/Mpay24_Mpay24.csv +24 -3
  90. app/locale/de_CH/Mpay24_Mpay24.csv +24 -3
  91. app/locale/de_DE/Mpay24_Mpay24.csv +24 -3
  92. app/locale/en_US/Mpay24_Mpay24.csv +24 -3
  93. package.xml +8 -5
app/code/community/Mpay24/Mpay24/Block/Adminhtml/Sales/Order/Creditmemo/Totals.php CHANGED
@@ -14,9 +14,9 @@
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 {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Totals.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
 
22
  class Mpay24_Mpay24_Block_Adminhtml_Sales_order_Creditmemo_Totals extends Mpay24_Mpay24_Block_Adminhtml_Sales_Totals {
app/code/community/Mpay24/Mpay24/Block/Adminhtml/Sales/Order/Invoice/Totals.php CHANGED
@@ -14,9 +14,9 @@
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 {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Totals.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
 
22
  class Mpay24_Mpay24_Block_Adminhtml_Sales_order_Invoice_Totals extends Mpay24_Mpay24_Block_Adminhtml_Sales_Totals {
app/code/community/Mpay24/Mpay24/Block/Adminhtml/Sales/Order/Totals.php CHANGED
@@ -14,9 +14,9 @@
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 {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Totals.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
 
22
  class Mpay24_Mpay24_Block_Adminhtml_Sales_order_Totals extends Mpay24_Mpay24_Block_Adminhtml_Sales_Totals {
app/code/community/Mpay24/Mpay24/Block/Adminhtml/Sales/Totals.php CHANGED
@@ -14,9 +14,9 @@
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 10 2013-10-31 14:23:20Z sapolhei $
20
  */
21
 
22
  class Mpay24_Mpay24_Block_Adminhtml_Sales_Totals extends Mage_Adminhtml_Block_Sales_Totals {
@@ -40,20 +40,34 @@ class Mpay24_Mpay24_Block_Adminhtml_Sales_Totals extends Mage_Adminhtml_Block_Sa
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->getBasePaymentCharge(),2,'.','') . "%)";
 
 
 
 
 
 
45
  $amount = $source->getSubtotal()*$source->getBasePaymentCharge()/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;
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Totals.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
 
22
  class Mpay24_Mpay24_Block_Adminhtml_Sales_Totals extends Mage_Adminhtml_Block_Sales_Totals {
40
  foreach ($totals as $index=>$arr) {
41
  if ($index == "grand_total")
42
  if (((float)$source->getPaymentCharge()) != 0) {
43
+ $lab = "";
44
+ if($source->getBasePaymentCharge() > 0)
45
+ $lab = Mage::helper('mpay24')->__("Payment charge");
46
+ else
47
+ $lab = Mage::helper('mpay24')->__("Payment discount");
48
+
49
+ if($source->getPaymentChargeType() == "percent") {
50
+ $label = "$lab (" . number_format($source->getBasePaymentCharge(),2,'.','') . "%)";
51
  $amount = $source->getSubtotal()*$source->getBasePaymentCharge()/100;
52
  } else {
53
+ $label = "$lab (" . Mage::helper('mpay24')->__("Absolute value") . ")";
54
  $amount = $source->getPaymentCharge();
55
  }
56
 
57
+ if($source->getBasePaymentCharge() > 0)
58
+ $newTotals['payment_charge'] = new Varien_Object(array(
59
  'code' => 'payment_charge',
60
  'field' => 'payment_charge',
61
  'value' => $amount,
62
  'label' => $label
63
  ));
64
+ elseif($source->getBasePaymentCharge() < 0)
65
+ $newTotals['payment_charge'] = new Varien_Object(array(
66
+ 'code' => 'payment_discount',
67
+ 'field' => 'payment_discount',
68
+ 'value' => $amount,
69
+ 'label' => $label
70
+ ));
71
  }
72
 
73
  $newTotals[$index] = $arr;
app/code/community/Mpay24/Mpay24/Block/Adminhtml/System/Config/Fieldset/Fieldset.php CHANGED
@@ -14,9 +14,9 @@
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 28 2014-09-29 09:31:11Z sapolhei $
20
  */
21
 
22
  include_once Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Fieldset.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
 
22
  include_once Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
app/code/community/Mpay24/Mpay24/Block/Form.php CHANGED
@@ -14,9 +14,9 @@
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 {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Form.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
 
22
  class Mpay24_Mpay24_Block_Form extends Mage_Core_Block_Template {
app/code/community/Mpay24/Mpay24/Block/Form/Selectpayment.php CHANGED
@@ -14,9 +14,9 @@
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 27 2014-08-27 13:59:46Z sapolhei $
20
  */
21
 
22
  class Mpay24_Mpay24_Block_Form_Selectpayment extends Mage_Payment_Block_Form {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Selectpayment.php 6252 2015-03-26 15:57:57Z anna $
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,9 +14,9 @@
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 28 2014-09-29 09:31:11Z sapolhei $
20
  */
21
 
22
  class Mpay24_Mpay24_Block_Info_Selectpayment extends Mage_Payment_Block_Info {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Selectpayment.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
 
22
  class Mpay24_Mpay24_Block_Info_Selectpayment extends Mage_Payment_Block_Info {
app/code/community/Mpay24/Mpay24/Block/Mpay24.php CHANGED
@@ -14,9 +14,9 @@
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 {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Mpay24.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
 
22
  class Mpay24_Mpay24_Block_Mpay24 extends Mage_Core_Block_Template {
app/code/community/Mpay24/Mpay24/Block/ParentRedirect.php CHANGED
@@ -14,9 +14,9 @@
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 {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: ParentRedirect.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
 
22
  class Mpay24_Mpay24_Block_ParentRedirect extends Mage_Core_Block_Abstract {
app/code/community/Mpay24/Mpay24/Block/Sales/Order/Creditmemo/Totals.php CHANGED
@@ -14,9 +14,9 @@
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 {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Totals.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
 
22
  class Mpay24_Mpay24_Block_Sales_order_Creditmemo_Totals extends Mpay24_Mpay24_Block_Sales_Order_Totals {
app/code/community/Mpay24/Mpay24/Block/Sales/Order/Invoice/Totals.php CHANGED
@@ -14,9 +14,9 @@
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 {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Totals.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
 
22
  class Mpay24_Mpay24_Block_Sales_order_Invoice_Totals extends Mpay24_Mpay24_Block_Sales_Order_Totals {
app/code/community/Mpay24/Mpay24/Block/Sales/Order/Totals.php CHANGED
@@ -14,9 +14,9 @@
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 14 2013-10-31 15:13:46Z sapolhei $
20
  */
21
 
22
  class Mpay24_Mpay24_Block_Sales_Order_Totals extends Mage_Sales_Block_Order_Totals {
@@ -40,20 +40,33 @@ class Mpay24_Mpay24_Block_Sales_Order_Totals extends Mage_Sales_Block_Order_Tota
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->getBasePaymentCharge(),2,'.','') . "%)";
45
  $amount = $source->getSubtotal()*$source->getBasePaymentCharge()/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
  }
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Totals.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
 
22
  class Mpay24_Mpay24_Block_Sales_Order_Totals extends Mage_Sales_Block_Order_Totals {
40
  foreach ($totals as $index=>$arr) {
41
  if ($index == "grand_total")
42
  if (((float)$source->getPaymentCharge()) != 0) {
43
+ if($source->getBasePaymentCharge() > 0)
44
+ $lab = Mage::helper('mpay24')->__("Payment charge");
45
+ else
46
+ $lab = Mage::helper('mpay24')->__("Payment discount");
47
+
48
  if($source->getPaymentChargeType() == "percent") {
49
+ $label = "$lab (" . number_format($source->getBasePaymentCharge(),2,'.','') . "%)";
50
  $amount = $source->getSubtotal()*$source->getBasePaymentCharge()/100;
51
  } else {
52
+ $label = "$lab (" . Mage::helper('mpay24')->__("Absolute value") . ")";
53
  $amount = $source->getPaymentCharge();
54
  }
55
 
56
+ if($source->getBasePaymentCharge() > 0)
57
+ $newTotals['payment_charge'] = new Varien_Object(array(
58
  'code' => 'payment_charge',
59
  'field' => 'payment_charge',
60
  'value' => $amount,
61
  'label' => $label
62
  ));
63
+ elseif($source->getBasePaymentCharge() < 0)
64
+ $newTotals['payment_discount'] = new Varien_Object(array(
65
+ 'code' => 'payment_discount',
66
+ 'field' => 'payment_discount',
67
+ 'value' => $amount,
68
+ 'label' => $label
69
+ ));
70
  }
71
  $newTotals[$index] = $arr;
72
  }
app/code/community/Mpay24/Mpay24/Helper/Data.php CHANGED
@@ -14,9 +14,9 @@
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 {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Data.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
 
22
  class Mpay24_Mpay24_Helper_Data extends Mage_Core_Helper_Abstract {
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 9 2013-10-29 15:36:26Z sapolhei $
8
  * @filesource MPay24Api.php
9
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
10
  */
@@ -714,7 +714,7 @@ class MPay24Api {
714
  * Create a curl request and send the cretaed SOAP XML
715
  */
716
  private function send() {
717
- $userAgent = 'mPAY24 PHP API $Rev: 9 $ ($Date:: 2013-10-29 #$)';
718
 
719
  if($this->shop != '') {
720
  $userAgent = $this->shop;
@@ -819,7 +819,7 @@ class MPay24Api {
819
  * The GeneralResponse class contains the status of a response and return code, which was delivered by mPAY24 as an answer of your request
820
  *
821
  * @author mPAY24 GmbH <support@mpay24.com>
822
- * @version $Id: MPay24Api.php 9 2013-10-29 15:36:26Z sapolhei $
823
  * @filesource MPay24Api.php
824
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
825
  */
@@ -895,7 +895,7 @@ class GeneralResponse {
895
  * The PaymentResponse class contains a generalResponse object and the location(URL), which will be used for the payment session
896
  *
897
  * @author mPAY24 GmbH <support@mpay24.com>
898
- * @version $Id: MPay24Api.php 9 2013-10-29 15:36:26Z sapolhei $
899
  * @filesource MPay24Api.php
900
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
901
  */
@@ -951,7 +951,7 @@ class PaymentResponse extends GeneralResponse {
951
  * The ManagePaymentResponse class contains a generalResponse object and the mPAYTID and/or tid of the transaction which was managed
952
  *
953
  * @author mPAY24 GmbH <support@mpay24.com>
954
- * @version $Id: MPay24Api.php 9 2013-10-29 15:36:26Z sapolhei $
955
  * @filesource MPay24Api.php
956
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
957
  */
@@ -1022,7 +1022,7 @@ class ManagePaymentResponse extends GeneralResponse {
1022
  * 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)
1023
  *
1024
  * @author mPAY24 GmbH <support@mpay24.com>
1025
- * @version $Id: MPay24Api.php 9 2013-10-29 15:36:26Z sapolhei $
1026
  * @filesource MPay24Api.php
1027
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
1028
  */
@@ -1175,7 +1175,7 @@ class ListPaymentMethodsResponse extends GeneralResponse {
1175
  * The TransactionStatusResponse class contains a generalResponse object and all the parameters, returned with the confirmation from mPAY24
1176
  *
1177
  * @author mPAY24 GmbH <support@mpay24.com>
1178
- * @version $Id: MPay24Api.php 9 2013-10-29 15:36:26Z sapolhei $
1179
  * @filesource MPay24Api.php
1180
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
1181
  */
4
  * build the SOAP request, sent to mPAY24
5
  *
6
  * @author mPAY24 GmbH <support@mpay24.com>
7
+ * @version $Id: MPay24Api.php 6252 2015-03-26 15:57:57Z anna $
8
  * @filesource MPay24Api.php
9
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
10
  */
714
  * Create a curl request and send the cretaed SOAP XML
715
  */
716
  private function send() {
717
+ $userAgent = 'mPAY24 PHP API $Rev: 6252 $ ($Date:: 2015-03-26 #$)';
718
 
719
  if($this->shop != '') {
720
  $userAgent = $this->shop;
819
  * The GeneralResponse class contains the status of a response and return code, which was delivered by mPAY24 as an answer of your request
820
  *
821
  * @author mPAY24 GmbH <support@mpay24.com>
822
+ * @version $Id: MPay24Api.php 6252 2015-03-26 15:57:57Z anna $
823
  * @filesource MPay24Api.php
824
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
825
  */
895
  * The PaymentResponse class contains a generalResponse object and the location(URL), which will be used for the payment session
896
  *
897
  * @author mPAY24 GmbH <support@mpay24.com>
898
+ * @version $Id: MPay24Api.php 6252 2015-03-26 15:57:57Z anna $
899
  * @filesource MPay24Api.php
900
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
901
  */
951
  * The ManagePaymentResponse class contains a generalResponse object and the mPAYTID and/or tid of the transaction which was managed
952
  *
953
  * @author mPAY24 GmbH <support@mpay24.com>
954
+ * @version $Id: MPay24Api.php 6252 2015-03-26 15:57:57Z anna $
955
  * @filesource MPay24Api.php
956
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
957
  */
1022
  * 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)
1023
  *
1024
  * @author mPAY24 GmbH <support@mpay24.com>
1025
+ * @version $Id: MPay24Api.php 6252 2015-03-26 15:57:57Z anna $
1026
  * @filesource MPay24Api.php
1027
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
1028
  */
1175
  * The TransactionStatusResponse class contains a generalResponse object and all the parameters, returned with the confirmation from mPAY24
1176
  *
1177
  * @author mPAY24 GmbH <support@mpay24.com>
1178
+ * @version $Id: MPay24Api.php 6252 2015-03-26 15:57:57Z anna $
1179
  * @filesource MPay24Api.php
1180
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
1181
  */
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: MPay24MagentoShop.php 37 2015-01-29 12:33:39Z sapolhei $
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.5.7 ";
24
 
25
  var $tid;
26
  var $price;
@@ -125,7 +125,7 @@ class MPay24MagentoShop extends MPay24Shop {
125
  $order->getPayment()->setAdditionalInformation('appr_code', $apprCode)->save();
126
 
127
  if($order->getIsNotVirtual())
128
- $s = Mage::getStoreConfig('payment/mpay24/paid_order_status');
129
  else
130
  $s = Mage_Sales_Model_Order::STATE_COMPLETE;
131
 
@@ -444,34 +444,43 @@ class MPay24MagentoShop extends MPay24Shop {
444
  $mdxi->Order->ShoppingCart->Discount = number_format($this->order->getData('discount_amount'), 2, '.', '');
445
  }
446
 
447
- $s=1;
448
  if(number_format($this->order->getData('shipping_amount'),2,'.','') !== '0.00') {
449
  if(Mage::getStoreConfig('tax/cart_display/shipping') == 2 || Mage::getStoreConfig('tax/cart_display/shipping') == 3)
450
- $mdxi->Order->ShoppingCart->ShippingCosts($s, number_format($this->order->getShippingInclTax(), 2, '.', ''));
451
  else
452
- $mdxi->Order->ShoppingCart->ShippingCosts($s, number_format($this->order->getData('shipping_amount'), 2, '.', ''));
453
 
454
- $mdxi->Order->ShoppingCart->ShippingCosts($s)->setHeader($this->order->getData('shipping_description'));
455
- $mdxi->Order->ShoppingCart->ShippingCosts($s)->setHeaderStyle(Mage::getStoreConfig('mpay24/mpay24spsc/shipping_costs_headerstyle'));
456
- $mdxi->Order->ShoppingCart->ShippingCosts($s)->setStyle(Mage::getStoreConfig('mpay24/mpay24spsc/shipping_costs_style'));
457
-
458
- $s++;
459
  }
460
 
 
461
  if($this->order->getPaymentCharge() > 0) {
462
  if($this->order->getPaymentChargeType() == "percent") {
463
- $mdxi->Order->ShoppingCart->ShippingCosts($s, number_format($this->order->getData('subtotal')*$this->order->getBasePaymentCharge()/100,2,'.',''));
464
- $mdxi->Order->ShoppingCart->ShippingCosts($s)->setHeader(Mage::helper('mpay24')->__("Payment charge") . " (" . number_format($this->order->getBasePaymentCharge(),2,'.','') . "%)");
465
  } else {
466
- $mdxi->Order->ShoppingCart->ShippingCosts($s, number_format($this->order->getPaymentCharge(),2,'.',''));
467
- $mdxi->Order->ShoppingCart->ShippingCosts($s)->setHeader(Mage::helper('mpay24')->__("Payment charge") . " (" . Mage::helper('mpay24')->__("Absolute value") . ")");
468
  }
469
 
470
- $mdxi->Order->ShoppingCart->ShippingCosts($s)->setHeaderStyle(Mage::getStoreConfig('mpay24/mpay24spsc/tax_headerstyle'));
471
- $mdxi->Order->ShoppingCart->ShippingCosts($s)->setStyle(Mage::getStoreConfig('mpay24/mpay24spsc/tax_style'));
 
 
 
 
 
 
 
 
 
 
 
 
472
  }
473
 
474
- $t=1;
475
  if(number_format($this->order->getData('tax_amount'),2,'.','') !== '0.00') {
476
  $array = $this->order->getFullTaxInfo();
477
  $taxInfo = array();
@@ -556,6 +565,7 @@ class MPay24MagentoShop extends MPay24Shop {
556
 
557
  $mdxi->Order->BillingAddr->Zip = substr($this->xmlentities($this->order->getBillingAddress()->getPostcode()),0,50);
558
  $mdxi->Order->BillingAddr->City = substr($this->xmlentities($this->order->getBillingAddress()->getCity()),0,50);
 
559
  $mdxi->Order->BillingAddr->Country->setCode($this->xmlentities($billingCountryCode));
560
  $mdxi->Order->BillingAddr->Email = substr($this->xmlentities($this->order->getBillingAddress()->getEmail()),0,50);
561
  $mdxi->Order->BillingAddr->Phone = substr($this->xmlentities($this->order->getBillingAddress()->getTelephone()),0,20);
@@ -586,6 +596,7 @@ class MPay24MagentoShop extends MPay24Shop {
586
 
587
  $mdxi->Order->ShippingAddr->Zip = substr($this->xmlentities($this->order->getShippingAddress()->getPostcode()),0,50);
588
  $mdxi->Order->ShippingAddr->City = substr($this->xmlentities($this->order->getShippingAddress()->getCity()),0,50);
 
589
  $mdxi->Order->ShippingAddr->Country->setCode($this->xmlentities($shippingCountryCode));
590
  $mdxi->Order->ShippingAddr->Email = substr($this->xmlentities($this->order->getShippingAddress()->getEmail()),0,50);
591
  $mdxi->Order->ShippingAddr->Phone = substr($this->xmlentities($this->order->getShippingAddress()->getTelephone()),0,20);
1
  <?php
2
  /**
3
  * @author support@mpay24.com
4
+ * @version $Id: MPay24MagentoShop.php 6384 2015-06-24 09:47:14Z anna $
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.6.0 ";
24
 
25
  var $tid;
26
  var $price;
125
  $order->getPayment()->setAdditionalInformation('appr_code', $apprCode)->save();
126
 
127
  if($order->getIsNotVirtual())
128
+ $s = Mage_Sales_Model_Order::STATE_PROCESSING;
129
  else
130
  $s = Mage_Sales_Model_Order::STATE_COMPLETE;
131
 
444
  $mdxi->Order->ShoppingCart->Discount = number_format($this->order->getData('discount_amount'), 2, '.', '');
445
  }
446
 
 
447
  if(number_format($this->order->getData('shipping_amount'),2,'.','') !== '0.00') {
448
  if(Mage::getStoreConfig('tax/cart_display/shipping') == 2 || Mage::getStoreConfig('tax/cart_display/shipping') == 3)
449
+ $mdxi->Order->ShoppingCart->ShippingCosts(1, number_format($this->order->getShippingInclTax(), 2, '.', ''));
450
  else
451
+ $mdxi->Order->ShoppingCart->ShippingCosts(1, number_format($this->order->getData('shipping_amount'), 2, '.', ''));
452
 
453
+ $mdxi->Order->ShoppingCart->ShippingCosts(1)->setHeader($this->order->getData('shipping_description'));
454
+ $mdxi->Order->ShoppingCart->ShippingCosts(1)->setHeaderStyle(Mage::getStoreConfig('mpay24/mpay24spsc/shipping_costs_headerstyle'));
455
+ $mdxi->Order->ShoppingCart->ShippingCosts(1)->setStyle(Mage::getStoreConfig('mpay24/mpay24spsc/shipping_costs_style'));
 
 
456
  }
457
 
458
+ $t=1;
459
  if($this->order->getPaymentCharge() > 0) {
460
  if($this->order->getPaymentChargeType() == "percent") {
461
+ $mdxi->Order->ShoppingCart->Tax(1, number_format($this->order->getData('subtotal')*$this->order->getBasePaymentCharge()/100,2,'.',''));
462
+ $mdxi->Order->ShoppingCart->Tax(1)->setHeader(Mage::helper('mpay24')->__("Payment charge") . " (" . number_format($this->order->getBasePaymentCharge(),2,'.','') . "%)");
463
  } else {
464
+ $mdxi->Order->ShoppingCart->Tax(1, number_format($this->order->getPaymentCharge(),2,'.',''));
465
+ $mdxi->Order->ShoppingCart->Tax(1)->setHeader(Mage::helper('mpay24')->__("Payment charge") . " (" . Mage::helper('mpay24')->__("Absolute value") . ")");
466
  }
467
 
468
+ $mdxi->Order->ShoppingCart->Tax(1)->setHeaderStyle(Mage::getStoreConfig('mpay24/mpay24spsc/tax_headerstyle'));
469
+ $mdxi->Order->ShoppingCart->Tax(1)->setStyle(Mage::getStoreConfig('mpay24/mpay24spsc/tax_style'));
470
+ $t=2;
471
+ } elseif($this->order->getPaymentCharge() < 0) {
472
+ if($this->order->getPaymentChargeType() == "percent") {
473
+ $mdxi->Order->ShoppingCart->Discount(1, number_format($this->order->getData('subtotal')*$this->order->getBasePaymentCharge()/100,2,'.',''));
474
+ $mdxi->Order->ShoppingCart->Discount(1)->setHeader(Mage::helper('mpay24')->__("Payment dicount") . " (" . number_format($this->order->getBasePaymentCharge(),2,'.','') . "%)");
475
+ } else {
476
+ $mdxi->Order->ShoppingCart->Discount(1, number_format($this->order->getPaymentCharge(),2,'.',''));
477
+ $mdxi->Order->ShoppingCart->Discount(1)->setHeader(Mage::helper('mpay24')->__("Payment discount") . " (" . Mage::helper('mpay24')->__("Absolute value") . ")");
478
+ }
479
+
480
+ $mdxi->Order->ShoppingCart->Discount(1)->setHeaderStyle(Mage::getStoreConfig('mpay24/mpay24spsc/discount_headerstyle'));
481
+ $mdxi->Order->ShoppingCart->Discount(1)->setStyle(Mage::getStoreConfig('mpay24/mpay24spsc/discount_style'));
482
  }
483
 
 
484
  if(number_format($this->order->getData('tax_amount'),2,'.','') !== '0.00') {
485
  $array = $this->order->getFullTaxInfo();
486
  $taxInfo = array();
565
 
566
  $mdxi->Order->BillingAddr->Zip = substr($this->xmlentities($this->order->getBillingAddress()->getPostcode()),0,50);
567
  $mdxi->Order->BillingAddr->City = substr($this->xmlentities($this->order->getBillingAddress()->getCity()),0,50);
568
+ $mdxi->Order->BillingAddr->State = substr($this->xmlentities($this->order->getBillingAddress()->getRegion()),0,50);
569
  $mdxi->Order->BillingAddr->Country->setCode($this->xmlentities($billingCountryCode));
570
  $mdxi->Order->BillingAddr->Email = substr($this->xmlentities($this->order->getBillingAddress()->getEmail()),0,50);
571
  $mdxi->Order->BillingAddr->Phone = substr($this->xmlentities($this->order->getBillingAddress()->getTelephone()),0,20);
596
 
597
  $mdxi->Order->ShippingAddr->Zip = substr($this->xmlentities($this->order->getShippingAddress()->getPostcode()),0,50);
598
  $mdxi->Order->ShippingAddr->City = substr($this->xmlentities($this->order->getShippingAddress()->getCity()),0,50);
599
+ $mdxi->Order->ShippingAddr->State = substr($this->xmlentities($this->order->getShippingAddress()->getRegion()),0,50);
600
  $mdxi->Order->ShippingAddr->Country->setCode($this->xmlentities($shippingCountryCode));
601
  $mdxi->Order->ShippingAddr->Email = substr($this->xmlentities($this->order->getShippingAddress()->getEmail()),0,50);
602
  $mdxi->Order->ShippingAddr->Phone = substr($this->xmlentities($this->order->getShippingAddress()->getTelephone()),0,20);
app/code/community/Mpay24/Mpay24/Model/Api/MPay24Shop.php CHANGED
@@ -6,7 +6,7 @@ include_once(Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/orderX
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 28 2014-09-29 09:31:11Z sapolhei $
10
  * @filesource MPay24Shop.php
11
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
12
  */
@@ -651,7 +651,7 @@ define("TRANSACTION_PROPERTIES", "SECRET,TID,STATUS,MPAYTID,APPR_CODE,P_TYPE,
651
  * * STRING: FILTER_STATUS
652
  * * STRING: APPR_CODE
653
  * @author mPAY24 GmbH <support@mpay24.com>
654
- * @version $Id: MPay24Shop.php 28 2014-09-29 09:31:11Z sapolhei $
655
  * @filesource MPay24Shop.php
656
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
657
  */
@@ -723,7 +723,7 @@ class Transaction {
723
  * The abstract MPay24flexLINK class provides abstract functions, which are used from the other functions in order to create a flexLINK
724
  *
725
  * @author mPAY24 GmbH <support@mpay24.com>
726
- * @version $Id: MPay24Shop.php 28 2014-09-29 09:31:11Z sapolhei $
727
  * @filesource MPay24Shop.php
728
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
729
  */
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 6252 2015-03-26 15:57:57Z anna $
10
  * @filesource MPay24Shop.php
11
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
12
  */
651
  * * STRING: FILTER_STATUS
652
  * * STRING: APPR_CODE
653
  * @author mPAY24 GmbH <support@mpay24.com>
654
+ * @version $Id: MPay24Shop.php 6252 2015-03-26 15:57:57Z anna $
655
  * @filesource MPay24Shop.php
656
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
657
  */
723
  * The abstract MPay24flexLINK class provides abstract functions, which are used from the other functions in order to create a flexLINK
724
  *
725
  * @author mPAY24 GmbH <support@mpay24.com>
726
+ * @version $Id: MPay24Shop.php 6252 2015-03-26 15:57:57Z anna $
727
  * @filesource MPay24Shop.php
728
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
729
  */
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: 5 $ $Date: 2013-10-10 15:08:44 +0200 (Do, 10 Okt 2013) $
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: 5686 $ $Date: 2013-10-10 12:31:58 +0200 (Do, 10 Okt 2013) $
53
 
54
  GTE CyberTrust Global Root
55
  ==========================
app/code/community/Mpay24/Mpay24/Model/Api/curllog.log CHANGED
@@ -1,65 +0,0 @@
1
- * Hostname was NOT found in DNS cache
2
- * Trying 192.168.10.14...
3
- * Connected to test.mpay24.com (192.168.10.14) port 443 (#2)
4
- * successfully set certificate verify locations:
5
- * CAfile: E:\Users\sadrian\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
6
- CApath: none
7
- * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
8
- * Server certificate:
9
- * subject: OU=Domain Control Validated; OU=Provided by EUNETIC GmbH; OU=EuropeanSSL Single; CN=test.mpay24.com
10
- * start date: 2013-05-13 00:00:00 GMT
11
- * expire date: 2015-05-13 23:59:59 GMT
12
- * subjectAltName: test.mpay24.com matched
13
- * issuer: C=DE; O=EUNETIC GmbH; CN=EuropeanSSL Server CA
14
- * SSL certificate verify ok.
15
- * Server auth using Basic with user 'u99999'
16
- > POST /app/bin/etpproxy_v15 HTTP/1.1
17
- Authorization: Basic dTk5OTk5OlZhcm5hLjMwMTIyMDEx
18
- User-Agent: mPAY24 PHP API $Rev: 9 $ ($Date:: 2013-10-29 #$)
19
- Host: test.mpay24.com
20
- Accept: */*
21
- Content-Length: 423
22
- Content-Type: application/x-www-form-urlencoded
23
-
24
- * upload completely sent off: 423 out of 423 bytes
25
- < HTTP/1.1 200 OK
26
- < Date: Fri, 13 Feb 2015 15:10:59 GMT
27
- * Server Apache is not blacklisted
28
- < Server: Apache
29
- < Content-Length: 2367
30
- < Content-Type: text/xml; charset=utf-8
31
- <
32
- * Connection #2 to host test.mpay24.com left intact
33
- * Hostname was found in DNS cache
34
- * Hostname in DNS cache was stale, zapped
35
- * Trying 192.168.10.14...
36
- * Connected to test.mpay24.com (192.168.10.14) port 443 (#3)
37
- * successfully set certificate verify locations:
38
- * CAfile: E:\Users\sadrian\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
39
- CApath: none
40
- * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
41
- * Server certificate:
42
- * subject: OU=Domain Control Validated; OU=Provided by EUNETIC GmbH; OU=EuropeanSSL Single; CN=test.mpay24.com
43
- * start date: 2013-05-13 00:00:00 GMT
44
- * expire date: 2015-05-13 23:59:59 GMT
45
- * subjectAltName: test.mpay24.com matched
46
- * issuer: C=DE; O=EUNETIC GmbH; CN=EuropeanSSL Server CA
47
- * SSL certificate verify ok.
48
- * Server auth using Basic with user 'u99999'
49
- > POST /app/bin/etpproxy_v15 HTTP/1.1
50
- Authorization: Basic dTk5OTk5OlZhcm5hLjMwMTIyMDEx
51
- User-Agent: mPAY24 PHP API $Rev: 9 $ ($Date:: 2013-10-29 #$)
52
- Host: test.mpay24.com
53
- Accept: */*
54
- Content-Length: 423
55
- Content-Type: application/x-www-form-urlencoded
56
-
57
- * upload completely sent off: 423 out of 423 bytes
58
- < HTTP/1.1 200 OK
59
- < Date: Fri, 13 Feb 2015 15:13:14 GMT
60
- * Server Apache is not blacklisted
61
- < Server: Apache
62
- < Content-Length: 2367
63
- < Content-Type: text/xml; charset=utf-8
64
- <
65
- * Connection #3 to host test.mpay24.com 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 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
  */
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 6252 2015-03-26 15:57:57Z anna $
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,9 +14,9 @@
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 {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Config.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
 
22
  class Mpay24_Mpay24_Model_Config extends Mage_Payment_Model_Config {
app/code/community/Mpay24/Mpay24/Model/Entity/Setup.php CHANGED
@@ -14,9 +14,9 @@
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 {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Setup.php 6252 2015-03-26 15:57:57Z anna $
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,9 +14,9 @@
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 {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Abstract.php 6252 2015-03-26 15:57:57Z anna $
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,9 +14,9 @@
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 36 2015-01-27 16:48:06Z sapolhei $
20
  */
21
 
22
  include_once Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Selectpayment.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
 
22
  include_once Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
app/code/community/Mpay24/Mpay24/Model/Mpay24/Debug.php CHANGED
@@ -14,9 +14,9 @@
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 {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Debug.php 6252 2015-03-26 15:57:57Z anna $
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,9 +14,9 @@
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 {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Debug.php 6252 2015-03-26 15:57:57Z anna $
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,9 +14,9 @@
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 {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Collection.php 6252 2015-03-26 15:57:57Z anna $
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,9 +14,9 @@
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 {}
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Setup.php 6252 2015-03-26 15:57:57Z anna $
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,9 +14,9 @@
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 28 2014-09-29 09:31:11Z sapolhei $
20
  */
21
  include_once Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
22
 
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Observer.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
  include_once Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
22
 
app/code/community/Mpay24/Mpay24/Model/Sales/Order/Creditmemo/Total/Paymentcharge.php CHANGED
@@ -14,9 +14,9 @@
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 10 2013-10-31 14:23:20Z sapolhei $
20
  */
21
 
22
  class Mpay24_Mpay24_Model_Sales_Order_Creditmemo_Total_Paymentcharge extends Mage_Sales_Model_Order_Creditmemo_Total_Abstract {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Paymentcharge.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
 
22
  class Mpay24_Mpay24_Model_Sales_Order_Creditmemo_Total_Paymentcharge extends Mage_Sales_Model_Order_Creditmemo_Total_Abstract {
app/code/community/Mpay24/Mpay24/Model/Sales/Order/Invoice/Total/Paymentcharge.php CHANGED
@@ -14,9 +14,9 @@
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 10 2013-10-31 14:23:20Z sapolhei $
20
  */
21
 
22
  class Mpay24_Mpay24_Model_Sales_Order_Invoice_Total_Paymentcharge extends Mage_Sales_Model_Order_Invoice_Total_Abstract {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Paymentcharge.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
 
22
  class Mpay24_Mpay24_Model_Sales_Order_Invoice_Total_Paymentcharge extends Mage_Sales_Model_Order_Invoice_Total_Abstract {
app/code/community/Mpay24/Mpay24/Model/Sales/Quote/Address/Total/Paymentcharge.php CHANGED
@@ -1,5 +1,5 @@
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 36 2015-01-27 16:48:06Z sapolhei $
20
  */
 
21
  * Magento
22
  *
23
  * NOTICE OF LICENSE
24
  *
25
  * This source file is subject to the Open Software License (OSL 3.0)
26
  * that is bundled with this package in the file LICENSE.txt.
27
  * It is also available through the world-wide-web at this URL:
28
  * http://opensource.org/licenses/osl-3.0.php
29
  * If you did not receive a copy of the license and are unable to
30
  * obtain it through the world-wide-web, please send an email
31
  * to license@magentocommerce.com so we can send you a copy immediately.
32
  *
33
  * @category Mpay24
34
  * @package Mpay24_Mpay24
35
  * @author Anna Sadriu (mPAY24 GmbH)
36
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
37
  * @version $Id: Paymentcharge.php 6252 2015-03-26 15:57:57Z anna $
38
  */
39
  class Mpay24_Mpay24_Model_Sales_Quote_Address_Total_Paymentcharge extends Mage_Sales_Model_Quote_Address_Total_Abstract {
40
 
41
  public function __construct() {
@@ -51,11 +51,16 @@ class Mpay24_Mpay24_Model_Sales_Quote_Address_Total_Paymentcharge extends Mage_S
51
  public function fetch(Mage_Sales_Model_Quote_Address $address) {
52
  $charge = $address->getPaymentCharge ();
53
 
 
 
 
 
 
54
  if ($address->getPaymentChargeType () == "percent") {
55
- $label = Mage::helper ( 'mpay24' )->__ ( "Payment charge" ) . " (" . number_format ( $charge, 2, '.', '' ) . "%)";
56
  $charge = $address->getSubtotal () * $charge / 100;
57
  } else
58
- $label = Mage::helper ( 'mpay24' )->__ ( "Payment charge" ) . " (" . Mage::helper ( 'mpay24' )->__ ( "Absolute value" ) . ")";
59
 
60
  if ($charge && $charge != 0 && $charge != "")
61
  $address->addTotal ( array (
1
  <?php
 
2
  * Magento
3
  *
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Open Software License (OSL 3.0)
7
  * that is bundled with this package in the file LICENSE.txt.
8
  * It is also available through the world-wide-web at this URL:
9
  * http://opensource.org/licenses/osl-3.0.php
10
  * If you did not receive a copy of the license and are unable to
11
  * obtain it through the world-wide-web, please send an email
12
  * to license@magentocommerce.com so we can send you a copy immediately.
13
  *
14
  * @category Mpay24
15
  * @package Mpay24_Mpay24
16
  * @author Firedrago Magento
17
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
18
  * @version $Id: Paymentcharge.php 36 2015-01-27 16:48:06Z sapolhei $
19
  */
20
+ /**
21
  * Magento
22
  *
23
  * NOTICE OF LICENSE
24
  *
25
  * This source file is subject to the Open Software License (OSL 3.0)
26
  * that is bundled with this package in the file LICENSE.txt.
27
  * It is also available through the world-wide-web at this URL:
28
  * http://opensource.org/licenses/osl-3.0.php
29
  * If you did not receive a copy of the license and are unable to
30
  * obtain it through the world-wide-web, please send an email
31
  * to license@magentocommerce.com so we can send you a copy immediately.
32
  *
33
  * @category Mpay24
34
  * @package Mpay24_Mpay24
35
  * @author Anna Sadriu (mPAY24 GmbH)
36
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
37
  * @version $Id: Paymentcharge.php 6252 2015-03-26 15:57:57Z anna $
38
  */
39
  class Mpay24_Mpay24_Model_Sales_Quote_Address_Total_Paymentcharge extends Mage_Sales_Model_Quote_Address_Total_Abstract {
40
 
41
  public function __construct() {
51
  public function fetch(Mage_Sales_Model_Quote_Address $address) {
52
  $charge = $address->getPaymentCharge ();
53
 
54
+ if($charge > 0)
55
+ $lab = Mage::helper ( 'mpay24' )->__ ( "Payment charge" );
56
+ else
57
+ $lab = Mage::helper ( 'mpay24' )->__ ( "Payment discount" );
58
+
59
  if ($address->getPaymentChargeType () == "percent") {
60
+ $label = "$lab (" . number_format ( $charge, 2, '.', '' ) . "%)";
61
  $charge = $address->getSubtotal () * $charge / 100;
62
  } else
63
+ $label = "$lab (" . Mage::helper ( 'mpay24' )->__ ( "Absolute value" ) . ")";
64
 
65
  if ($charge && $charge != 0 && $charge != "")
66
  $address->addTotal ( array (
app/code/community/Mpay24/Mpay24/Model/Selectpayment.php CHANGED
@@ -14,9 +14,9 @@
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 36 2015-01-27 16:48:06Z sapolhei $
20
  */
21
 
22
  include_once Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
@@ -67,10 +67,13 @@ class Mpay24_Mpay24_Model_Selectpayment extends Mpay24_Mpay24_Model_Method_Selec
67
 
68
  $order = $payment->getOrder();
69
  $order->setCanSendNewEmailFlag(false);
 
 
 
70
 
71
- $stateObject->setState(Mage_Sales_Model_Order::STATE_PENDING_PAYMENT);
72
- $stateObject->setStatus('pending_payment');
73
- $stateObject->setIsNotified(false);
74
  break;
75
  default:
76
  break;
@@ -87,7 +90,7 @@ class Mpay24_Mpay24_Model_Selectpayment extends Mpay24_Mpay24_Model_Method_Selec
87
  * @return bool|Mpay24_Mpay24_Model_PaymentMethod
88
  */
89
  public function capture(Varien_Object $payment, $amount) {
90
- // if(!$payment->getAdditionalInformation('MIFClear') && Mage::getStoreConfig('payment/mpay24/paid_payment_action') != MPay24MagentoShop::PAYMENT_TYPE_SALE && !$payment->getAdditionalInformation('error')) {
91
  $this->clearSession();
92
  $mPay24MagentoShop = MPay24MagentoShop::getMPay24Api();
93
  $mPAY24Result = $mPay24MagentoShop->clearAmount($payment->getOrder()->getIncrementId(),$amount*100);
@@ -97,12 +100,12 @@ class Mpay24_Mpay24_Model_Selectpayment extends Mpay24_Mpay24_Model_Method_Selec
97
  Mage::throwException(Mage::helper('mpay24')->__("The order could not be captured! For mor information see the log files!"));
98
  return false;
99
  }
100
- // }
101
 
102
  parent::capture($payment, $amount);
103
 
104
  if($payment->getOrder()->getIsNotVirtual())
105
- $s = Mage::getStoreConfig('payment/mpay24/paid_order_status');
106
  else
107
  $s = Mage_Sales_Model_Order::STATE_COMPLETE;
108
 
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Selectpayment.php 6280 2015-04-16 13:00:22Z anna $
20
  */
21
 
22
  include_once Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
67
 
68
  $order = $payment->getOrder();
69
  $order->setCanSendNewEmailFlag(false);
70
+
71
+ $payment->setAdditionalInformation('amex_addr_ver', "UNKNOWN")->save();
72
+ $payment->setAdditionalInformation('amex_cid_ver', "UNKNOWN")->save();
73
 
74
+ // $stateObject->setState(Mage_Sales_Model_Order::STATE_PENDING_PAYMENT);
75
+ // $stateObject->setStatus('pending_payment');
76
+ // $stateObject->setIsNotified(false);
77
  break;
78
  default:
79
  break;
90
  * @return bool|Mpay24_Mpay24_Model_PaymentMethod
91
  */
92
  public function capture(Varien_Object $payment, $amount) {
93
+ if($payment->getAdditionalInformation('confirmation') !== true) {
94
  $this->clearSession();
95
  $mPay24MagentoShop = MPay24MagentoShop::getMPay24Api();
96
  $mPAY24Result = $mPay24MagentoShop->clearAmount($payment->getOrder()->getIncrementId(),$amount*100);
100
  Mage::throwException(Mage::helper('mpay24')->__("The order could not be captured! For mor information see the log files!"));
101
  return false;
102
  }
103
+ }
104
 
105
  parent::capture($payment, $amount);
106
 
107
  if($payment->getOrder()->getIsNotVirtual())
108
+ $s = Mage_Sales_Model_Order::STATE_PROCESSING;
109
  else
110
  $s = Mage_Sales_Model_Order::STATE_COMPLETE;
111
 
app/code/community/Mpay24/Mpay24/Model/Session.php CHANGED
@@ -14,9 +14,9 @@
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 {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Session.php 6252 2015-03-26 15:57:57Z anna $
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,9 +14,9 @@
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() {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: AllowedIPs.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
  class Mpay24_Mpay24_Model_Source_AllowedIPs {
22
  public function toOptionArray() {
app/code/community/Mpay24/Mpay24/Model/Source/BillAddr.php CHANGED
@@ -14,9 +14,9 @@
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 {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: BillAddr.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
 
22
  class Mpay24_Mpay24_Model_Source_BillAddr {
app/code/community/Mpay24/Mpay24/Model/Source/ClearingAction.php CHANGED
@@ -14,9 +14,9 @@
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 28 2014-09-29 09:31:11Z sapolhei $
20
  */
21
 
22
  include_once Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: ClearingAction.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
 
22
  include_once Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
app/code/community/Mpay24/Mpay24/Model/Source/FormTemplate.php CHANGED
@@ -14,9 +14,9 @@
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 27 2014-08-27 13:59:46Z sapolhei $
20
  */
21
  class Mpay24_Mpay24_Model_Source_FormTemplate {
22
 
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: FormTemplate.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
  class Mpay24_Mpay24_Model_Source_FormTemplate {
22
 
app/code/community/Mpay24/Mpay24/Model/Source/PaidOrder.php CHANGED
@@ -14,9 +14,9 @@
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
 
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: PaidOrder.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
  class Mpay24_Mpay24_Model_Source_PaidOrder {
22
 
app/code/community/Mpay24/Mpay24/Model/Source/PaymentCharge.php CHANGED
@@ -14,9 +14,9 @@
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() {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: PaymentCharge.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
  class Mpay24_Mpay24_Model_Source_PaymentCharge {
22
  public function toOptionArray() {
app/code/community/Mpay24/Mpay24/Model/Source/PaymentsActive.php CHANGED
@@ -14,9 +14,9 @@
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
 
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: PaymentsActive.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
  class Mpay24_Mpay24_Model_Source_PaymentsActive {
22
 
app/code/community/Mpay24/Mpay24/Model/Source/Request.php CHANGED
@@ -14,9 +14,9 @@
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 {}
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Request.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
 
22
  class Mpay24_Mpay24_Model_Source_Request extends Varien_Object {}
app/code/community/Mpay24/Mpay24/Model/Source/Result.php CHANGED
@@ -14,9 +14,9 @@
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 {}
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Result.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
 
22
  class Mpay24_Mpay24_Model_Source_Result extends Varien_Object {}
app/code/community/Mpay24/Mpay24/Model/Source/SOFORTState.php DELETED
@@ -1,35 +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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: SOFORTState.php 25 2014-06-24 15:33:56Z sapolhei $
20
- */
21
-
22
- class Mpay24_Mpay24_Model_Source_SOFORTState {
23
-
24
- /**
25
- * Options getter
26
- *
27
- * @return array
28
- */
29
- public function toOptionArray() {
30
- return array(
31
- array('value' => 'SUSPENDED', 'label'=>Mage::helper('adminhtml')->__('SUSPENDED')),
32
- array('value' => 'BILLED', 'label'=>Mage::helper('adminhtml')->__('BILLED')),
33
- );
34
- }
35
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/Model/Source/ShoppingCartRowsAction.php CHANGED
@@ -14,9 +14,9 @@
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() {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: ShoppingCartRowsAction.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
  class Mpay24_Mpay24_Model_Source_ShoppingCartRowsAction {
22
  public function toOptionArray() {
app/code/community/Mpay24/Mpay24/Model/Source/System.php CHANGED
@@ -14,9 +14,9 @@
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
 
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: System.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
  class Mpay24_Mpay24_Model_Source_System {
22
 
app/code/community/Mpay24/Mpay24/Model/System/Config/Backend/Encrypted.php CHANGED
@@ -14,9 +14,9 @@
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 {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: Encrypted.php 6252 2015-03-26 15:57:57Z anna $
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,9 +14,9 @@
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 {
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: IndexController.php 6252 2015-03-26 15:57:57Z anna $
20
  */
21
 
22
  class Mpay24_Mpay24_IndexController extends Mage_Core_Controller_Front_Action {
app/code/community/Mpay24/Mpay24/controllers/PaymentController.php CHANGED
@@ -14,9 +14,9 @@
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 38 2015-02-09 10:32:52Z sapolhei $
20
  */
21
  include_once Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
22
 
@@ -218,7 +218,6 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
218
  * @return Mage_Sales_Model_Order
219
  */
220
  public function getOrder($tid=null) {
221
- // Mage::log('mPAY24 Extension ('.debug_backtrace()[2]['function'].'): get order called');
222
  $arrBacktrace = debug_backtrace();
223
  Mage::log('mPAY24 Extension ('.$arrBacktrace[2]['function'].'): get order called');
224
  $order = Mage::getSingleton('sales/order');
@@ -236,7 +235,6 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
236
  * @return string
237
  */
238
  public function getTransactionStatus($tid=null, $confirmation=false) {
239
- // Mage::log('mPAY24 Extension ('.debug_backtrace()[1]['function'].'): getTransactionStatus called for order '.$tid);
240
  $arrBacktrace = debug_backtrace();
241
  Mage::log('mPAY24 Extension ('.$arrBacktrace[1]['function'].'): getTransactionStatus called for order '.$tid);
242
  $orderHistoryText = "";
@@ -249,11 +247,14 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
249
 
250
  if($order->getPayment()) {
251
  if(!$confirmation || !in_array($this->getRequest()->getClientIp(), explode(',', Mage::getStoreConfig('mpay24/mpay24as/allowed_ips')))) {
 
 
 
252
  $mPay24MagentoShop = MPay24MagentoShop::getMPay24Api();
253
  $mPAY24Result = $mPay24MagentoShop->updateTransactionStatus($tid);
254
  $res = $mPAY24Result->getGeneralResponse()->getStatus();
255
 
256
- if($mPAY24Result->getGeneralResponse()->getStatus() != 'OK' || $mPAY24Result->getParam('APPR_CODE') == '')
257
  $apprCode = 'N/A';
258
  else
259
  $apprCode = $mPAY24Result->getParam('APPR_CODE');
@@ -277,13 +278,91 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
277
  $order->getPayment()->setAdditionalInformation('mpay_tid', $mPAY24Result->getParam('MPAYTID'))->save();
278
  $order->getPayment()->setAdditionalInformation('appr_code', $apprCode)->save();
279
 
280
- // //SOFORT Ueberweisung status check
281
- // if($mPAY24Result->getParam('P_TYPE') == 'SOFORT' && ($mPAY24Result->getParam('TSTATUS') == 'BILLED' || $mPAY24Result->getParam('TSTATUS') == 'RESERVED' || $mPAY24Result->getParam('TSTATUS') == 'SUSPENDED'))
282
- // $status = Mage::getStoreConfig('mpay24/mpay24as/sofort_state');
283
- // else
284
- $status = $mPAY24Result->getParam('TSTATUS');
285
 
286
  $order->getPayment()->setAdditionalInformation('confirmed', $status)->save();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
287
 
288
  switch ($res) {
289
  case "OK":
@@ -298,28 +377,14 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
298
  $orderHistoryText .= "\n\t\t\tMPAYTID: " . $mPAY24Result->getParam('MPAYTID');
299
  $orderHistoryText .= "\n\t\t\tAppr_code: " . $apprCode;
300
 
301
- // if($order->getIsNotVirtual())
302
- // $s = Mage::getStoreConfig('payment/mpay24/paid_order_status');
303
- // else
304
- // $s = Mage_Sales_Model_Order::STATE_COMPLETE;
305
-
306
  if($order->getState() == Mage_Sales_Model_Order::STATE_PENDING_PAYMENT) {
307
  $order->sendNewOrderEmail()->save();
308
- Mage::log("new order mail sent!!!");
309
  }
310
 
311
  switch($status) {
312
  case 'RESERVED':
313
  $this->setBillpayData($order, $mPAY24Result);
314
- // $order->getPayment()->setAmountAuthorized($mPAY24Result->getParam('PRICE')/100)->save();
315
- // $order->addStatusToHistory(Mage_Sales_Model_Order::STATE_PROCESSING, Mage::helper('mpay24')->__("$paymentHistoryText") . Mage::helper('mpay24')->__("RESERVED") . ' [ ' . $mPAY24Result->getParam('CURRENCY') . " " .$order->formatPriceTxt($mPAY24Result->getParam('PRICE')/100).' ]' . " (" . $this->getRequest()->getClientIp() . ")");
316
- // $order->setState(Mage_Sales_Model_Order::STATE_PROCESSING)->save();
317
-
318
- // if($order->getInvoiceCollection()->count() == 0)
319
- // if(Mage::getStoreConfig('payment/mpay24/paid_payment_action') == MPay24MagentoShop::PAYMENT_TYPE_SALE)
320
- // $this->_createInvoice($order, true);
321
- // else
322
- // $this->_createInvoice($order);
323
 
324
  $order->getPayment()->authorize(false, $mPAY24Result->getParam('PRICE')/100)->save();
325
  $order->sendOrderUpdateEmail(true, Mage::helper('mpay24')->__("$paymentHistoryText") . Mage::helper('mpay24')->__("RESERVED") . ' [ ' . $mPAY24Result->getParam('CURRENCY') . " " .$order->formatPriceTxt($mPAY24Result->getParam('PRICE')/100).' ]')->save();
@@ -327,38 +392,13 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
327
  case 'BILLED':
328
  $this->setBillpayData($order, $mPAY24Result);
329
 
330
- // if(!$order->getPayment()->getTransaction($order->getIncrementId()) && $order->getPayment()->getTransaction($order->getIncrementId())->getTxnType() != Mage_Sales_Model_Order_Payment_Transaction::TYPE_AUTH)
331
- // $order->getPayment()->authorize(false, $mPAY24Result->getParam('PRICE')/100)->save();
332
-
333
- // $order = $this->getOrder($tid);
334
-
335
- // if($order->getInvoiceCollection()->count() == 0) {
336
- // $order->sendNewOrderEmail();
337
- // if(in_array($mPAY24Result->getParam('P_TYPE'), MPay24MagentoShop::getAllowedAuth())) {
338
- // $onlineCapture = false;
339
- // $mif = true;
340
- // } else {
341
- // $onlineCapture = true;
342
- // $mif = false;
343
- // }
344
-
345
- // $order->getPayment()->setAmountCharged($mPAY24Result->getParam('PRICE')/100)->save();
346
- // $order->sendOrderUpdateEmail();
347
-
348
- // if($order->getInvoiceCollection()->count() == 0) {
349
- // if($confirmation)//!
350
- // $invoice = $this->_createInvoice($order, true, true, $onlineCapture);//$MIF=TRUE, $onlineCapture
351
- // else
352
- // $invoice = $this->_createInvoice($order, true, $mif, $onlineCapture);
353
- // }
354
- // }
355
  if($order->getInvoiceCollection()->count() == 0)
356
  $invoice = $this->_createInvoice($order);
357
-
358
- $order->addStatusHistoryComment(Mage::helper('mpay24')->__("$paymentHistoryText") . Mage::helper('mpay24')->__("BILLED") .' [ ' . $mPAY24Result->getParam('CURRENCY') . " " .$order->formatPriceTxt($mPAY24Result->getParam('PRICE')/100).' ]' . " (" . $this->getRequest()->getClientIp() . ")")->save();
359
- // $order->addStatusToHistory($s, Mage::helper('mpay24')->__("$paymentHistoryText") . Mage::helper('mpay24')->__("BILLED") .' [ ' . $mPAY24Result->getParam('CURRENCY') . " " .$order->formatPriceTxt($mPAY24Result->getParam('PRICE')/100).' ]' . " (" . $this->getRequest()->getClientIp() . ")", true)->save();
360
-
361
- $order->sendOrderUpdateEmail(true, Mage::helper('mpay24')->__("$paymentHistoryText") . Mage::helper('mpay24')->__("BILLED") .' [ ' . $mPAY24Result->getParam('CURRENCY') . " " .$order->formatPriceTxt($mPAY24Result->getParam('PRICE')/100).' ]')->save();
362
 
363
  $order->save();
364
  break;
@@ -379,10 +419,6 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
379
  }
380
 
381
 
382
- // $this->_addChildTransaction(Mage_Sales_Model_Order_Payment_Transaction::TYPE_REFUND,
383
- // Mage_Sales_Model_Order_Payment_Transaction::TYPE_CAPTURE);
384
-
385
- // $order->addStatusToHistory(Mage_Sales_Model_Order::STATE_COMPLETE, Mage::helper('mpay24')->__("$paymentHistoryText") . Mage::helper('mpay24')->__("CREDITED") . ' [ ' . $mPAY24Result->getParam('CURRENCY') . " " .$order->formatPriceTxt($mPAY24Result->getParam('PRICE')/100).' ]' . " (" . $this->getRequest()->getClientIp() . ")")->save();
386
  $order->addStatusHistoryComment(Mage::helper('mpay24')->__("$paymentHistoryText") . Mage::helper('mpay24')->__("CREDITED") .' [ ' . $mPAY24Result->getParam('CURRENCY') . " " .$order->formatPriceTxt($mPAY24Result->getParam('PRICE')/100).' ]' . " (" . $this->getRequest()->getClientIp() . ")")->save();
387
  $order->sendOrderUpdateEmail(true, Mage::helper('mpay24')->__("$paymentHistoryText") . Mage::helper('mpay24')->__("CREDITED") .' [ ' . $mPAY24Result->getParam('CURRENCY') . " " .$order->formatPriceTxt($mPAY24Result->getParam('PRICE')/100).' ]')->save();
388
  $order->save();
@@ -587,9 +623,6 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
587
  else
588
  $orderHistoryText = 'The transaction was not found!';
589
 
590
- // if($order->canCancel() && $order->getState() != Mage_Sales_Model_Order::STATE_CANCELED && $order->getData('status') != Mage_Sales_Model_Order::STATE_CANCELED)
591
- // $order->cancel($order->getPayment())->save();
592
-
593
  $order->addStatusToHistory($order->getStatus(), Mage::helper('mpay24')->__($orderHistoryText), true)->save();
594
  $order->getPayment()->setAdditionalInformation('status', true)->save();
595
  $order->getPayment()->setAdditionalInformation('mpay_tid', 'N/A')->save();
@@ -622,8 +655,7 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
622
  return $model;
623
  }
624
 
625
- public function _createInvoice($order, $capture=false, $mif=false, $onlineCapture=true) {
626
- // Mage::log('mPAY24 Extension ('.debug_backtrace()[2]['function'].'): create invoice called');
627
  $arrBacktrace = debug_backtrace();
628
  Mage::log('mPAY24 Extension ('.$arrBacktrace[2]['function'].'): create invoice called');
629
  if ($order->canInvoice()) {
@@ -632,12 +664,12 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
632
  if (!$invoice->getTotalQty())
633
  Mage::throwException(Mage::helper('core')->__('Cannot create an invoice without products.'));
634
 
635
- // if($capture && $onlineCapture)
636
  $invoice->setRequestedCaptureCase(Mage_Sales_Model_Order_Invoice::CAPTURE_ONLINE);
637
-
 
638
  $invoice->register();
639
 
640
- // Mage::log("mPAY24 Extension (".debug_backtrace()[2]['function']."): Invoice registered!");
641
  $arrBacktrace = debug_backtrace();
642
  Mage::log("mPAY24 Extension (".$arrBacktrace[2]['function']."): Invoice registered!");
643
 
@@ -648,15 +680,11 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
648
 
649
  $order->save();
650
 
651
- // if($capture)
652
  foreach ($order->getInvoiceCollection() as $orderInvoice)
653
  if ($order->getTotalPaid() == 0.00) {
654
  $orderInvoice->pay();
655
  $orderInvoice->save();
656
 
657
- // if($mif)
658
- // $order->getPayment()->setAdditionalInformation('MIFClear', true)->save();
659
-
660
  $order->getPayment()->capture($orderInvoice)->save();
661
  }
662
 
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: PaymentController.php 6280 2015-04-16 13:00:22Z anna $
20
  */
21
  include_once Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
22
 
218
  * @return Mage_Sales_Model_Order
219
  */
220
  public function getOrder($tid=null) {
 
221
  $arrBacktrace = debug_backtrace();
222
  Mage::log('mPAY24 Extension ('.$arrBacktrace[2]['function'].'): get order called');
223
  $order = Mage::getSingleton('sales/order');
235
  * @return string
236
  */
237
  public function getTransactionStatus($tid=null, $confirmation=false) {
 
238
  $arrBacktrace = debug_backtrace();
239
  Mage::log('mPAY24 Extension ('.$arrBacktrace[1]['function'].'): getTransactionStatus called for order '.$tid);
240
  $orderHistoryText = "";
247
 
248
  if($order->getPayment()) {
249
  if(!$confirmation || !in_array($this->getRequest()->getClientIp(), explode(',', Mage::getStoreConfig('mpay24/mpay24as/allowed_ips')))) {
250
+ if(!in_array($this->getRequest()->getClientIp(), explode(',', Mage::getStoreConfig('mpay24/mpay24as/allowed_ips'))))
251
+ Mage::log("mPAY24 Extension: The IP '".$this->getRequest()->getClientIp()."', which is calling the confirmation URL is not white-listed! The allowed IPs are " . Mage::getStoreConfig('mpay24/mpay24as/allowed_ips'));
252
+
253
  $mPay24MagentoShop = MPay24MagentoShop::getMPay24Api();
254
  $mPAY24Result = $mPay24MagentoShop->updateTransactionStatus($tid);
255
  $res = $mPAY24Result->getGeneralResponse()->getStatus();
256
 
257
+ if($res != 'OK' || $mPAY24Result->getParam('APPR_CODE') == '')
258
  $apprCode = 'N/A';
259
  else
260
  $apprCode = $mPAY24Result->getParam('APPR_CODE');
278
  $order->getPayment()->setAdditionalInformation('mpay_tid', $mPAY24Result->getParam('MPAYTID'))->save();
279
  $order->getPayment()->setAdditionalInformation('appr_code', $apprCode)->save();
280
 
281
+ $status = $mPAY24Result->getParam('TSTATUS');
 
 
 
 
282
 
283
  $order->getPayment()->setAdditionalInformation('confirmed', $status)->save();
284
+
285
+ $addr_ver = Mage::helper('mpay24')->__("The 'AMEX_ADDR_VER' parameter was not returned!");
286
+
287
+ if($mPAY24Result->getParam('AMEX_ADDR_VER')) {
288
+ switch ($mPAY24Result->getParam('AMEX_ADDR_VER')) {
289
+ case "Y":
290
+ $addr_ver = Mage::helper('mpay24')->__("Yes, Customer Address and Postal Code are both correct.");
291
+ break;
292
+ case "N":
293
+ $addr_ver = Mage::helper('mpay24')->__("No, Customer Address and Postal Code are both incorrect.");
294
+ break;
295
+ case "A":
296
+ $addr_ver = Mage::helper('mpay24')->__("Customer Address only correct.");
297
+ break;
298
+ case "Z":
299
+ $addr_ver = Mage::helper('mpay24')->__("Customer Postal Code only correct.");
300
+ break;
301
+ case "U":
302
+ $addr_ver = Mage::helper('mpay24')->__("Information unavailable.");
303
+ break;
304
+ case "S":
305
+ $addr_ver = Mage::helper('mpay24')->__("SE not allowed AAV function.");
306
+ break;
307
+ case "R":
308
+ $addr_ver = Mage::helper('mpay24')->__("System unavailable; retry.");
309
+ break;
310
+ case "L":
311
+ $addr_ver = Mage::helper('mpay24')->__("Customer Name and Postal Code match.");
312
+ break;
313
+ case "M":
314
+ $addr_ver = Mage::helper('mpay24')->__("Customer Name, Address and Postal Code match.");
315
+ break;
316
+ case "O":
317
+ $addr_ver = Mage::helper('mpay24')->__("Customer Name and Address match.");
318
+ break;
319
+ case "K":
320
+ $addr_ver = Mage::helper('mpay24')->__("Customer Name matches.");
321
+ break;
322
+ case "D":
323
+ $addr_ver = Mage::helper('mpay24')->__("Customer Name incorrect, Postal Code matches.");
324
+ break;
325
+ case "E":
326
+ $addr_ver = Mage::helper('mpay24')->__("Customer Name incorrect, Address and Postal Code match.");
327
+ break;
328
+ case "F":
329
+ $addr_ver = Mage::helper('mpay24')->__("Customer Name incorrect, Address matches.");
330
+ break;
331
+ case "W":
332
+ $addr_ver = Mage::helper('mpay24')->__("No, Customer Name, Address and Postal Code are all incorrect.");
333
+ break;
334
+ default:
335
+ $addr_ver = Mage::helper('mpay24')->__("Unknown returned value:") . " '" . $mPAY24Result->getParam('AMEX_ADDR_VER') . "'";
336
+ break;
337
+ }
338
+
339
+ }
340
+ $order->getPayment()->setAdditionalInformation('amex_addr_ver', $addr_ver)->save();
341
+
342
+ $cid_ver = Mage::helper('mpay24')->__("The 'AMEX_CVC_VER' parameter was not returned!");
343
+
344
+ if($mPAY24Result->getParam('AMEX_CVC_VER')) {
345
+ switch ($mPAY24Result->getParam('AMEX_CVC_VER')) {
346
+ case "Y":
347
+ $cid_ver = Mage::helper('mpay24')->__("CID/4DBC/4CSC matched.");
348
+ break;
349
+ case "N":
350
+ $cid_ver = Mage::helper('mpay24')->__("CID/4DBC/4CSC did not match.");
351
+ break;
352
+ case "U":
353
+ $cid_ver = Mage::helper('mpay24')->__("CID/4DBC/4CSC was not checked.");
354
+ break;
355
+ default:
356
+ $cid_ver = Mage::helper('mpay24')->__("Unknown returned value:") . " '" . $mPAY24Result->getParam('AMEX_CVC_VER') . "'";
357
+ break;
358
+ }
359
+
360
+ }
361
+ $order->getPayment()->setAdditionalInformation('amex_cid_ver', $cid_ver)->save();
362
+
363
+
364
+ if($mPAY24Result->getParam('AMEX_CVC_VER'))
365
+ $order->getPayment()->setAdditionalInformation('amex_cid_ver', $mPAY24Result->getParam('AMEX_CVC_VER'))->save();
366
 
367
  switch ($res) {
368
  case "OK":
377
  $orderHistoryText .= "\n\t\t\tMPAYTID: " . $mPAY24Result->getParam('MPAYTID');
378
  $orderHistoryText .= "\n\t\t\tAppr_code: " . $apprCode;
379
 
 
 
 
 
 
380
  if($order->getState() == Mage_Sales_Model_Order::STATE_PENDING_PAYMENT) {
381
  $order->sendNewOrderEmail()->save();
382
+ Mage::log("mPAY24 Extension: New order mail sent!!!");
383
  }
384
 
385
  switch($status) {
386
  case 'RESERVED':
387
  $this->setBillpayData($order, $mPAY24Result);
 
 
 
 
 
 
 
 
 
388
 
389
  $order->getPayment()->authorize(false, $mPAY24Result->getParam('PRICE')/100)->save();
390
  $order->sendOrderUpdateEmail(true, Mage::helper('mpay24')->__("$paymentHistoryText") . Mage::helper('mpay24')->__("RESERVED") . ' [ ' . $mPAY24Result->getParam('CURRENCY') . " " .$order->formatPriceTxt($mPAY24Result->getParam('PRICE')/100).' ]')->save();
392
  case 'BILLED':
393
  $this->setBillpayData($order, $mPAY24Result);
394
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
395
  if($order->getInvoiceCollection()->count() == 0)
396
  $invoice = $this->_createInvoice($order);
397
+
398
+ // $order->addStatusHistoryComment(Mage::helper('mpay24')->__("$paymentHistoryText") . Mage::helper('mpay24')->__("BILLED") .' [ ' . $mPAY24Result->getParam('CURRENCY') . " " .$order->formatPriceTxt($mPAY24Result->getParam('PRICE')/100).' ]' . " (" . $this->getRequest()->getClientIp() . ")")->save();
399
+
400
+ $order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, 'processing', Mage::helper('mpay24')->__("$paymentHistoryText") . Mage::helper('mpay24')->__("BILLED") .' [ ' . $mPAY24Result->getParam('CURRENCY') . " " .$order->formatPriceTxt($mPAY24Result->getParam('PRICE')/100).' ]' . " (" . $this->getRequest()->getClientIp() . ")", true);
401
+ // $order->sendOrderUpdateEmail(true, Mage::helper('mpay24')->__("$paymentHistoryText") . Mage::helper('mpay24')->__("BILLED") .' [ ' . $mPAY24Result->getParam('CURRENCY') . " " .$order->formatPriceTxt($mPAY24Result->getParam('PRICE')/100).' ]')->save();
402
 
403
  $order->save();
404
  break;
419
  }
420
 
421
 
 
 
 
 
422
  $order->addStatusHistoryComment(Mage::helper('mpay24')->__("$paymentHistoryText") . Mage::helper('mpay24')->__("CREDITED") .' [ ' . $mPAY24Result->getParam('CURRENCY') . " " .$order->formatPriceTxt($mPAY24Result->getParam('PRICE')/100).' ]' . " (" . $this->getRequest()->getClientIp() . ")")->save();
423
  $order->sendOrderUpdateEmail(true, Mage::helper('mpay24')->__("$paymentHistoryText") . Mage::helper('mpay24')->__("CREDITED") .' [ ' . $mPAY24Result->getParam('CURRENCY') . " " .$order->formatPriceTxt($mPAY24Result->getParam('PRICE')/100).' ]')->save();
424
  $order->save();
623
  else
624
  $orderHistoryText = 'The transaction was not found!';
625
 
 
 
 
626
  $order->addStatusToHistory($order->getStatus(), Mage::helper('mpay24')->__($orderHistoryText), true)->save();
627
  $order->getPayment()->setAdditionalInformation('status', true)->save();
628
  $order->getPayment()->setAdditionalInformation('mpay_tid', 'N/A')->save();
655
  return $model;
656
  }
657
 
658
+ public function _createInvoice($order) {
 
659
  $arrBacktrace = debug_backtrace();
660
  Mage::log('mPAY24 Extension ('.$arrBacktrace[2]['function'].'): create invoice called');
661
  if ($order->canInvoice()) {
664
  if (!$invoice->getTotalQty())
665
  Mage::throwException(Mage::helper('core')->__('Cannot create an invoice without products.'));
666
 
667
+ $order->getPayment()->setAdditionalInformation('confirmation', true);
668
  $invoice->setRequestedCaptureCase(Mage_Sales_Model_Order_Invoice::CAPTURE_ONLINE);
669
+ $order->getPayment()->setAdditionalInformation('confirmation', false);
670
+
671
  $invoice->register();
672
 
 
673
  $arrBacktrace = debug_backtrace();
674
  Mage::log("mPAY24 Extension (".$arrBacktrace[2]['function']."): Invoice registered!");
675
 
680
 
681
  $order->save();
682
 
 
683
  foreach ($order->getInvoiceCollection() as $orderInvoice)
684
  if ($order->getTotalPaid() == 0.00) {
685
  $orderInvoice->pay();
686
  $orderInvoice->save();
687
 
 
 
 
688
  $order->getPayment()->capture($orderInvoice)->save();
689
  }
690
 
app/code/community/Mpay24/Mpay24/etc/config.xml CHANGED
@@ -1,11 +1,11 @@
1
  <?xml version="1.0"?>
2
  <!--
3
- @version $Id: config.xml 36 2015-01-27 16:48:06Z sapolhei $
4
  -->
5
  <config>
6
  <modules>
7
  <Mpay24_Mpay24>
8
- <version>1.5.7</version>
9
  </Mpay24_Mpay24>
10
  </modules>
11
 
@@ -137,6 +137,14 @@
137
  <display_zero>0</display_zero>
138
  <sort_order>500</sort_order>
139
  </payment_charge>
 
 
 
 
 
 
 
 
140
  </totals>
141
  </pdf>
142
 
@@ -251,13 +259,13 @@
251
  <pageheaderstyle>background-color: #FFF;margin-bottom:14px;</pageheaderstyle>
252
  <pagecaptionstyle>background-color:#FFF;background:transparent;color:#647378;padding-left:0px;</pagecaptionstyle>
253
  <pagestyle>border:1px solid #838F93;background-color:#FFF;</pagestyle>
254
- <inputfieldsstyle>background-color:#ffffff;border:1px solid #DDE1E7;padding:2px 0px;margin-bottom:5px;width:100%;max-width:200px;</inputfieldsstyle>
255
  <dropdownlistsstyle>padding:2px 0px;margin-bottom:5px;</dropdownlistsstyle>
256
  <buttonsstyle>background-color: #005AC1;border: none;color: #FFFFFF;cursor: pointer;font-size:10px;font-weight:bold;padding:5px 10px;text-transform:uppercase;</buttonsstyle>
257
  <errorsstyle>background-color: #FFF;padding: 10px 0px;</errorsstyle>
258
  <successtitlestyle>background-color: #FFF;</successtitlestyle>
259
  <errortitlestyle>background-color: #FFF;</errortitlestyle>
260
- <footerstyle>display: none;</footerstyle>
261
  </mpay24sporder>
262
  <mpay24spsc>
263
  <description>BESTELLUNGSBESCHREIBUNG</description>
@@ -310,7 +318,7 @@
310
  <payments_count>0</payments_count>
311
  <payments_error></payments_error>
312
  <payment_action>authorize</payment_action>
313
- <paid_order_status>processing</paid_order_status>
314
  <!-- <group>mpay24</group> -->
315
  </mpay24>
316
  </payment>
1
  <?xml version="1.0"?>
2
  <!--
3
+ @version $Id: config.xml 6281 2015-04-20 09:16:16Z anna $
4
  -->
5
  <config>
6
  <modules>
7
  <Mpay24_Mpay24>
8
+ <version>1.6.0</version>
9
  </Mpay24_Mpay24>
10
  </modules>
11
 
137
  <display_zero>0</display_zero>
138
  <sort_order>500</sort_order>
139
  </payment_charge>
140
+ <payment_discount translate="title">
141
+ <title>Payment discount</title>
142
+ <source_field>payment_discount</source_field>
143
+ <amount_prefix>-</amount_prefix>
144
+ <font_size>7</font_size>
145
+ <display_zero>0</display_zero>
146
+ <sort_order>500</sort_order>
147
+ </payment_discount>
148
  </totals>
149
  </pdf>
150
 
259
  <pageheaderstyle>background-color: #FFF;margin-bottom:14px;</pageheaderstyle>
260
  <pagecaptionstyle>background-color:#FFF;background:transparent;color:#647378;padding-left:0px;</pagecaptionstyle>
261
  <pagestyle>border:1px solid #838F93;background-color:#FFF;</pagestyle>
262
+ <inputfieldsstyle>background-color:#ffffff;border:1px solid #DDE1E7;padding:2px 0px;margin-bottom:5px;</inputfieldsstyle>
263
  <dropdownlistsstyle>padding:2px 0px;margin-bottom:5px;</dropdownlistsstyle>
264
  <buttonsstyle>background-color: #005AC1;border: none;color: #FFFFFF;cursor: pointer;font-size:10px;font-weight:bold;padding:5px 10px;text-transform:uppercase;</buttonsstyle>
265
  <errorsstyle>background-color: #FFF;padding: 10px 0px;</errorsstyle>
266
  <successtitlestyle>background-color: #FFF;</successtitlestyle>
267
  <errortitlestyle>background-color: #FFF;</errortitlestyle>
268
+ <footerstyle></footerstyle>
269
  </mpay24sporder>
270
  <mpay24spsc>
271
  <description>BESTELLUNGSBESCHREIBUNG</description>
318
  <payments_count>0</payments_count>
319
  <payments_error></payments_error>
320
  <payment_action>authorize</payment_action>
321
+ <!-- <paid_order_status>processing</paid_order_status> -->
322
  <!-- <group>mpay24</group> -->
323
  </mpay24>
324
  </payment>
app/code/community/Mpay24/Mpay24/etc/system.xml CHANGED
@@ -1,6 +1,6 @@
1
  <?xml version="1.0"?>
2
  <!--
3
- @version $Id: system.xml 36 2015-01-27 16:48:06Z sapolhei $
4
  -->
5
  <config>
6
  <sections>
@@ -10,12 +10,12 @@
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>
@@ -213,7 +213,7 @@
213
  <sort_order>101</sort_order>
214
  <show_in_default>1</show_in_default>
215
  <show_in_website>1</show_in_website>
216
- <show_in_store>0</show_in_store>
217
  </style>
218
  <logostyle translate="label">
219
  <label>LogoStyle</label>
@@ -221,7 +221,7 @@
221
  <sort_order>102</sort_order>
222
  <show_in_default>1</show_in_default>
223
  <show_in_website>1</show_in_website>
224
- <show_in_store>0</show_in_store>
225
  </logostyle>
226
  <pageheaderstyle translate="label">
227
  <label>PageHeaderStyle</label>
@@ -229,7 +229,7 @@
229
  <sort_order>103</sort_order>
230
  <show_in_default>1</show_in_default>
231
  <show_in_website>1</show_in_website>
232
- <show_in_store>0</show_in_store>
233
  </pageheaderstyle>
234
  <pagecaptionstyle translate="label">
235
  <label>PageCaptionStyle</label>
@@ -237,7 +237,7 @@
237
  <sort_order>104</sort_order>
238
  <show_in_default>1</show_in_default>
239
  <show_in_website>1</show_in_website>
240
- <show_in_store>0</show_in_store>
241
  </pagecaptionstyle>
242
  <pagestyle translate="label">
243
  <label>PageStyle</label>
@@ -245,7 +245,7 @@
245
  <sort_order>105</sort_order>
246
  <show_in_default>1</show_in_default>
247
  <show_in_website>1</show_in_website>
248
- <show_in_store>0</show_in_store>
249
  </pagestyle>
250
  <inputfieldsstyle translate="label">
251
  <label>InputFieldsStyle</label>
@@ -253,7 +253,7 @@
253
  <sort_order>106</sort_order>
254
  <show_in_default>1</show_in_default>
255
  <show_in_website>1</show_in_website>
256
- <show_in_store>0</show_in_store>
257
  </inputfieldsstyle>
258
  <dropdownlistsstyle translate="label">
259
  <label>DropDownListsStyle</label>
@@ -261,7 +261,7 @@
261
  <sort_order>107</sort_order>
262
  <show_in_default>1</show_in_default>
263
  <show_in_website>1</show_in_website>
264
- <show_in_store>0</show_in_store>
265
  </dropdownlistsstyle>
266
  <buttonsstyle translate="label">
267
  <label>ButtonsStyle</label>
@@ -269,7 +269,7 @@
269
  <sort_order>108</sort_order>
270
  <show_in_default>1</show_in_default>
271
  <show_in_website>1</show_in_website>
272
- <show_in_store>0</show_in_store>
273
  </buttonsstyle>
274
  <errorsstyle translate="label">
275
  <label>ErrorsStyle</label>
@@ -277,7 +277,7 @@
277
  <sort_order>109</sort_order>
278
  <show_in_default>1</show_in_default>
279
  <show_in_website>1</show_in_website>
280
- <show_in_store>0</show_in_store>
281
  </errorsstyle>
282
  <successtitlestyle translate="label">
283
  <label>SuccessTitleStyle</label>
@@ -285,7 +285,7 @@
285
  <sort_order>110</sort_order>
286
  <show_in_default>1</show_in_default>
287
  <show_in_website>1</show_in_website>
288
- <show_in_store>0</show_in_store>
289
  </successtitlestyle>
290
  <errortitlestyle translate="label">
291
  <label>ErrorTitleStyle</label>
@@ -293,7 +293,7 @@
293
  <sort_order>111</sort_order>
294
  <show_in_default>1</show_in_default>
295
  <show_in_website>1</show_in_website>
296
- <show_in_store>0</show_in_store>
297
  </errortitlestyle>
298
  <footerstyle translate="label">
299
  <label>FooterStyle</label>
@@ -301,7 +301,7 @@
301
  <sort_order>112</sort_order>
302
  <show_in_default>1</show_in_default>
303
  <show_in_website>1</show_in_website>
304
- <show_in_store>0</show_in_store>
305
  </footerstyle>
306
  </fields>
307
  </mpay24sporder>
@@ -321,7 +321,7 @@
321
  <sort_order>49</sort_order>
322
  <show_in_default>1</show_in_default>
323
  <show_in_website>1</show_in_website>
324
- <show_in_store>0</show_in_store>
325
  </description>
326
  <sc_row translate="label">
327
  <label>ShoppingCart Rows</label>
@@ -330,7 +330,7 @@
330
  <source_model>mpay24/source_shoppingCartRowsAction</source_model>
331
  <show_in_default>1</show_in_default>
332
  <show_in_website>1</show_in_website>
333
- <show_in_store>0</show_in_store>
334
  </sc_row>
335
  <sc_style translate="label">
336
  <label>Style</label>
@@ -338,7 +338,7 @@
338
  <sort_order>101</sort_order>
339
  <show_in_default>1</show_in_default>
340
  <show_in_website>1</show_in_website>
341
- <show_in_store>0</show_in_store>
342
  </sc_style>
343
  <sc_header translate="label">
344
  <label>Header</label>
@@ -346,7 +346,7 @@
346
  <sort_order>102</sort_order>
347
  <show_in_default>1</show_in_default>
348
  <show_in_website>1</show_in_website>
349
- <show_in_store>0</show_in_store>
350
  </sc_header>
351
  <sc_headerstyle translate="label">
352
  <label>HeaderStyle</label>
@@ -354,7 +354,7 @@
354
  <sort_order>103</sort_order>
355
  <show_in_default>1</show_in_default>
356
  <show_in_website>1</show_in_website>
357
- <show_in_store>0</show_in_store>
358
  </sc_headerstyle>
359
  <sc_captionstyle translate="label">
360
  <label>CaptionStyle</label>
@@ -362,7 +362,7 @@
362
  <sort_order>104</sort_order>
363
  <show_in_default>1</show_in_default>
364
  <show_in_website>1</show_in_website>
365
- <show_in_store>0</show_in_store>
366
  </sc_captionstyle>
367
  <sc_numberheader translate="label">
368
  <label>NumberHeader</label>
@@ -370,7 +370,7 @@
370
  <sort_order>105</sort_order>
371
  <show_in_default>1</show_in_default>
372
  <show_in_website>1</show_in_website>
373
- <show_in_store>0</show_in_store>
374
  </sc_numberheader>
375
  <sc_numberstyle translate="label">
376
  <label>NumberStyle</label>
@@ -378,7 +378,7 @@
378
  <sort_order>106</sort_order>
379
  <show_in_default>1</show_in_default>
380
  <show_in_website>1</show_in_website>
381
- <show_in_store>0</show_in_store>
382
  </sc_numberstyle>
383
  <sc_productnrheader translate="label">
384
  <label>ProductNrHeader</label>
@@ -386,7 +386,7 @@
386
  <sort_order>107</sort_order>
387
  <show_in_default>1</show_in_default>
388
  <show_in_website>1</show_in_website>
389
- <show_in_store>0</show_in_store>
390
  </sc_productnrheader>
391
  <sc_productnrstyle translate="label">
392
  <label>ProductNrStyle</label>
@@ -394,7 +394,7 @@
394
  <sort_order>108</sort_order>
395
  <show_in_default>1</show_in_default>
396
  <show_in_website>1</show_in_website>
397
- <show_in_store>0</show_in_store>
398
  </sc_productnrstyle>
399
  <sc_descriptionheader translate="label">
400
  <label>DescriptionHeader</label>
@@ -402,7 +402,7 @@
402
  <sort_order>109</sort_order>
403
  <show_in_default>1</show_in_default>
404
  <show_in_website>1</show_in_website>
405
- <show_in_store>0</show_in_store>
406
  </sc_descriptionheader>
407
  <sc_descriptionstyle translate="label">
408
  <label>DescriptionStyle</label>
@@ -410,7 +410,7 @@
410
  <sort_order>110</sort_order>
411
  <show_in_default>1</show_in_default>
412
  <show_in_website>1</show_in_website>
413
- <show_in_store>0</show_in_store>
414
  </sc_descriptionstyle>
415
  <sc_packageheader translate="label">
416
  <label>PackageHeader</label>
@@ -418,7 +418,7 @@
418
  <sort_order>111</sort_order>
419
  <show_in_default>1</show_in_default>
420
  <show_in_website>1</show_in_website>
421
- <show_in_store>0</show_in_store>
422
  </sc_packageheader>
423
  <sc_packagestyle translate="label">
424
  <label>PackageStyle</label>
@@ -426,7 +426,7 @@
426
  <sort_order>112</sort_order>
427
  <show_in_default>1</show_in_default>
428
  <show_in_website>1</show_in_website>
429
- <show_in_store>0</show_in_store>
430
  </sc_packagestyle>
431
  <sc_quantityheader translate="label">
432
  <label>QuantityHeader</label>
@@ -434,7 +434,7 @@
434
  <sort_order>113</sort_order>
435
  <show_in_default>1</show_in_default>
436
  <show_in_website>1</show_in_website>
437
- <show_in_store>0</show_in_store>
438
  </sc_quantityheader>
439
  <sc_quantitystyle translate="label">
440
  <label>QuantityStyle</label>
@@ -442,7 +442,7 @@
442
  <sort_order>114</sort_order>
443
  <show_in_default>1</show_in_default>
444
  <show_in_website>1</show_in_website>
445
- <show_in_store>0</show_in_store>
446
  </sc_quantitystyle>
447
  <sc_itempriceheader translate="label">
448
  <label>ItemPriceHeader</label>
@@ -450,7 +450,7 @@
450
  <sort_order>115</sort_order>
451
  <show_in_default>1</show_in_default>
452
  <show_in_website>1</show_in_website>
453
- <show_in_store>0</show_in_store>
454
  </sc_itempriceheader>
455
  <sc_itempricestyle translate="label">
456
  <label>ItemPriceStyle</label>
@@ -458,7 +458,7 @@
458
  <sort_order>116</sort_order>
459
  <show_in_default>1</show_in_default>
460
  <show_in_website>1</show_in_website>
461
- <show_in_store>0</show_in_store>
462
  </sc_itempricestyle>
463
  <sc_priceheader translate="label">
464
  <label>PriceHeader</label>
@@ -466,7 +466,7 @@
466
  <sort_order>117</sort_order>
467
  <show_in_default>1</show_in_default>
468
  <show_in_website>1</show_in_website>
469
- <show_in_store>0</show_in_store>
470
  </sc_priceheader>
471
  <sc_pricestyle translate="label">
472
  <label>PriceStyle</label>
@@ -474,7 +474,7 @@
474
  <sort_order>118</sort_order>
475
  <show_in_default>1</show_in_default>
476
  <show_in_website>1</show_in_website>
477
- <show_in_store>0</show_in_store>
478
  </sc_pricestyle>
479
  <item_style1 translate="label">
480
  <label>ItemStyle Line 1</label>
@@ -482,7 +482,7 @@
482
  <sort_order>120</sort_order>
483
  <show_in_default>1</show_in_default>
484
  <show_in_website>1</show_in_website>
485
- <show_in_store>0</show_in_store>
486
  </item_style1>
487
  <item_style2 translate="label">
488
  <label>ItemStyle Line 2</label>
@@ -490,7 +490,7 @@
490
  <sort_order>121</sort_order>
491
  <show_in_default>1</show_in_default>
492
  <show_in_website>1</show_in_website>
493
- <show_in_store>0</show_in_store>
494
  </item_style2>
495
  <discount_headerstyle translate="label">
496
  <label>Discount HeaderStyle</label>
@@ -498,7 +498,7 @@
498
  <sort_order>123</sort_order>
499
  <show_in_default>1</show_in_default>
500
  <show_in_website>1</show_in_website>
501
- <show_in_store>0</show_in_store>
502
  </discount_headerstyle>
503
  <discount_style translate="label">
504
  <label>Discount Style</label>
@@ -506,7 +506,7 @@
506
  <sort_order>124</sort_order>
507
  <show_in_default>1</show_in_default>
508
  <show_in_website>1</show_in_website>
509
- <show_in_store>0</show_in_store>
510
  </discount_style>
511
  <shipping_costs_headerstyle translate="label">
512
  <label>Ship.Costs HeaderStyle</label>
@@ -514,7 +514,7 @@
514
  <sort_order>126</sort_order>
515
  <show_in_default>1</show_in_default>
516
  <show_in_website>1</show_in_website>
517
- <show_in_store>0</show_in_store>
518
  </shipping_costs_headerstyle>
519
  <shipping_costs_style translate="label">
520
  <label>Ship.Costs Style</label>
@@ -522,7 +522,7 @@
522
  <sort_order>127</sort_order>
523
  <show_in_default>1</show_in_default>
524
  <show_in_website>1</show_in_website>
525
- <show_in_store>0</show_in_store>
526
  </shipping_costs_style>
527
  <tax_headerstyle translate="label">
528
  <label>Tax HeaderStyle</label>
@@ -530,7 +530,7 @@
530
  <sort_order>129</sort_order>
531
  <show_in_default>1</show_in_default>
532
  <show_in_website>1</show_in_website>
533
- <show_in_store>0</show_in_store>
534
  </tax_headerstyle>
535
  <tax_style translate="label">
536
  <label>Tax Style</label>
@@ -538,7 +538,7 @@
538
  <sort_order>130</sort_order>
539
  <show_in_default>1</show_in_default>
540
  <show_in_website>1</show_in_website>
541
- <show_in_store>0</show_in_store>
542
  </tax_style>
543
  <price_header translate="label">
544
  <label>Price Header</label>
@@ -546,7 +546,7 @@
546
  <sort_order>132</sort_order>
547
  <show_in_default>1</show_in_default>
548
  <show_in_website>1</show_in_website>
549
- <show_in_store>0</show_in_store>
550
  </price_header>
551
  <price_headerstyle translate="label">
552
  <label>Price HeaderStyle</label>
@@ -554,7 +554,7 @@
554
  <sort_order>133</sort_order>
555
  <show_in_default>1</show_in_default>
556
  <show_in_website>1</show_in_website>
557
- <show_in_store>0</show_in_store>
558
  </price_headerstyle>
559
  <price_style translate="label">
560
  <label>Price Style</label>
@@ -562,7 +562,7 @@
562
  <sort_order>134</sort_order>
563
  <show_in_default>1</show_in_default>
564
  <show_in_website>1</show_in_website>
565
- <show_in_store>0</show_in_store>
566
  </price_style>
567
  <subtotal_header translate="label">
568
  <label>Subtotal Header</label>
@@ -570,7 +570,7 @@
570
  <sort_order>135</sort_order>
571
  <show_in_default>1</show_in_default>
572
  <show_in_website>1</show_in_website>
573
- <show_in_store>0</show_in_store>
574
  </subtotal_header>
575
  <subtotal_headerstyle translate="label">
576
  <label>Subtotal HeaderStyle</label>
@@ -578,7 +578,7 @@
578
  <sort_order>136</sort_order>
579
  <show_in_default>1</show_in_default>
580
  <show_in_website>1</show_in_website>
581
- <show_in_store>0</show_in_store>
582
  </subtotal_headerstyle>
583
  <subtotal_style translate="label">
584
  <label>Subtotal Style</label>
@@ -586,7 +586,7 @@
586
  <sort_order>137</sort_order>
587
  <show_in_default>1</show_in_default>
588
  <show_in_website>1</show_in_website>
589
- <show_in_store>0</show_in_store>
590
  </subtotal_style>
591
  </fields>
592
  </mpay24spsc>
@@ -679,9 +679,9 @@
679
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_1>1</ps_1></depends>
680
  </tax_type_1>
681
  <tax_1 translate="label">
682
- <label>Payment charge</label>
683
  <frontend_type>text</frontend_type>
684
- <validate>validate-not-negative-number</validate>
685
  <sort_order>6</sort_order>
686
  <show_in_default>1</show_in_default>
687
  <show_in_website>1</show_in_website>
@@ -710,10 +710,10 @@
710
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_2>1</ps_2></depends>
711
  </tax_type_2>
712
  <tax_2 translate="label">
713
- <label>Payment charge</label>
714
  <frontend_type>text</frontend_type>
715
  <sort_order>9</sort_order>
716
- <validate>validate-not-negative-number</validate><sort_order>8</sort_order>
717
  <show_in_default>1</show_in_default>
718
  <show_in_website>1</show_in_website>
719
  <show_in_store>1</show_in_store>
@@ -741,9 +741,9 @@
741
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_3>1</ps_3></depends>
742
  </tax_type_3>
743
  <tax_3 translate="label">
744
- <label>Payment charge</label>
745
  <frontend_type>text</frontend_type>
746
- <validate>validate-not-negative-number</validate><sort_order>11</sort_order>
747
  <show_in_default>1</show_in_default>
748
  <show_in_website>1</show_in_website>
749
  <show_in_store>1</show_in_store>
@@ -771,9 +771,9 @@
771
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_4>1</ps_4></depends>
772
  </tax_type_4>
773
  <tax_4 translate="label">
774
- <label>Payment charge</label>
775
  <frontend_type>text</frontend_type>
776
- <validate>validate-not-negative-number</validate><sort_order>14</sort_order>
777
  <show_in_default>1</show_in_default>
778
  <show_in_website>1</show_in_website>
779
  <show_in_store>1</show_in_store>
@@ -801,9 +801,9 @@
801
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_5>1</ps_5></depends>
802
  </tax_type_5>
803
  <tax_5 translate="label">
804
- <label>Payment charge</label>
805
  <frontend_type>text</frontend_type>
806
- <validate>validate-not-negative-number</validate><sort_order>17</sort_order>
807
  <show_in_default>1</show_in_default>
808
  <show_in_website>1</show_in_website>
809
  <show_in_store>1</show_in_store>
@@ -831,9 +831,9 @@
831
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_6>1</ps_6></depends>
832
  </tax_type_6>
833
  <tax_6 translate="label">
834
- <label>Payment charge</label>
835
  <frontend_type>text</frontend_type>
836
- <validate>validate-not-negative-number</validate><sort_order>20</sort_order>
837
  <show_in_default>1</show_in_default>
838
  <show_in_website>1</show_in_website>
839
  <show_in_store>1</show_in_store>
@@ -861,9 +861,9 @@
861
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_7>1</ps_7></depends>
862
  </tax_type_7>
863
  <tax_7 translate="label">
864
- <label>Payment charge</label>
865
  <frontend_type>text</frontend_type>
866
- <validate>validate-not-negative-number</validate><sort_order>23</sort_order>
867
  <show_in_default>1</show_in_default>
868
  <show_in_website>1</show_in_website>
869
  <show_in_store>1</show_in_store>
@@ -891,9 +891,9 @@
891
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_8>1</ps_8></depends>
892
  </tax_type_8>
893
  <tax_8 translate="label">
894
- <label>Payment charge</label>
895
  <frontend_type>text</frontend_type>
896
- <validate>validate-not-negative-number</validate><sort_order>26</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>
@@ -921,9 +921,9 @@
921
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_9>1</ps_9></depends>
922
  </tax_type_9>
923
  <tax_9 translate="label">
924
- <label>Payment charge</label>
925
  <frontend_type>text</frontend_type>
926
- <validate>validate-not-negative-number</validate><sort_order>29</sort_order>
927
  <show_in_default>1</show_in_default>
928
  <show_in_website>1</show_in_website>
929
  <show_in_store>1</show_in_store>
@@ -951,9 +951,9 @@
951
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_10>1</ps_10></depends>
952
  </tax_type_10>
953
  <tax_10 translate="label">
954
- <label>Payment charge</label>
955
  <frontend_type>text</frontend_type>
956
- <validate>validate-not-negative-number</validate><sort_order>32</sort_order>
957
  <show_in_default>1</show_in_default>
958
  <show_in_website>1</show_in_website>
959
  <show_in_store>1</show_in_store>
@@ -981,9 +981,9 @@
981
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_11>1</ps_11></depends>
982
  </tax_type_11>
983
  <tax_11 translate="label">
984
- <label>Payment charge</label>
985
  <frontend_type>text</frontend_type>
986
- <validate>validate-not-negative-number</validate><sort_order>35</sort_order>
987
  <show_in_default>1</show_in_default>
988
  <show_in_website>1</show_in_website>
989
  <show_in_store>1</show_in_store>
@@ -1011,9 +1011,9 @@
1011
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_12>1</ps_12></depends>
1012
  </tax_type_12>
1013
  <tax_12 translate="label">
1014
- <label>Payment charge</label>
1015
  <frontend_type>text</frontend_type>
1016
- <validate>validate-not-negative-number</validate><sort_order>38</sort_order>
1017
  <show_in_default>1</show_in_default>
1018
  <show_in_website>1</show_in_website>
1019
  <show_in_store>1</show_in_store>
@@ -1041,9 +1041,9 @@
1041
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_13>1</ps_13></depends>
1042
  </tax_type_13>
1043
  <tax_13 translate="label">
1044
- <label>Payment charge</label>
1045
  <frontend_type>text</frontend_type>
1046
- <validate>validate-not-negative-number</validate><sort_order>41</sort_order>
1047
  <show_in_default>1</show_in_default>
1048
  <show_in_website>1</show_in_website>
1049
  <show_in_store>1</show_in_store>
@@ -1071,9 +1071,9 @@
1071
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_14>1</ps_14></depends>
1072
  </tax_type_14>
1073
  <tax_14 translate="label">
1074
- <label>Payment charge</label>
1075
  <frontend_type>text</frontend_type>
1076
- <validate>validate-not-negative-number</validate><sort_order>44</sort_order>
1077
  <show_in_default>1</show_in_default>
1078
  <show_in_website>1</show_in_website>
1079
  <show_in_store>1</show_in_store>
@@ -1101,9 +1101,9 @@
1101
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_15>1</ps_15></depends>
1102
  </tax_type_15>
1103
  <tax_15 translate="label">
1104
- <label>Payment charge</label>
1105
  <frontend_type>text</frontend_type>
1106
- <validate>validate-not-negative-number</validate><sort_order>47</sort_order>
1107
  <show_in_default>1</show_in_default>
1108
  <show_in_website>1</show_in_website>
1109
  <show_in_store>1</show_in_store>
@@ -1131,9 +1131,9 @@
1131
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_16>1</ps_16></depends>
1132
  </tax_type_16>
1133
  <tax_16 translate="label">
1134
- <label>Payment charge</label>
1135
  <frontend_type>text</frontend_type>
1136
- <validate>validate-not-negative-number</validate><sort_order>50</sort_order>
1137
  <show_in_default>1</show_in_default>
1138
  <show_in_website>1</show_in_website>
1139
  <show_in_store>1</show_in_store>
@@ -1161,9 +1161,9 @@
1161
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_17>1</ps_17></depends>
1162
  </tax_type_17>
1163
  <tax_17 translate="label">
1164
- <label>Payment charge</label>
1165
  <frontend_type>text</frontend_type>
1166
- <validate>validate-not-negative-number</validate><sort_order>53</sort_order>
1167
  <show_in_default>1</show_in_default>
1168
  <show_in_website>1</show_in_website>
1169
  <show_in_store>1</show_in_store>
@@ -1191,9 +1191,9 @@
1191
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_18>1</ps_18></depends>
1192
  </tax_type_18>
1193
  <tax_18 translate="label">
1194
- <label>Payment charge</label>
1195
  <frontend_type>text</frontend_type>
1196
- <validate>validate-not-negative-number</validate><sort_order>56</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>
@@ -1221,9 +1221,9 @@
1221
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_19>1</ps_19></depends>
1222
  </tax_type_19>
1223
  <tax_19 translate="label">
1224
- <label>Payment charge</label>
1225
  <frontend_type>text</frontend_type>
1226
- <validate>validate-not-negative-number</validate><sort_order>59</sort_order>
1227
  <show_in_default>1</show_in_default>
1228
  <show_in_website>1</show_in_website>
1229
  <show_in_store>1</show_in_store>
@@ -1251,9 +1251,9 @@
1251
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_20>1</ps_20></depends>
1252
  </tax_type_20>
1253
  <tax_20 translate="label">
1254
- <label>Payment charge</label>
1255
  <frontend_type>text</frontend_type>
1256
- <validate>validate-not-negative-number</validate><sort_order>62</sort_order>
1257
  <show_in_default>1</show_in_default>
1258
  <show_in_website>1</show_in_website>
1259
  <show_in_store>1</show_in_store>
@@ -1281,9 +1281,9 @@
1281
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_21>1</ps_21></depends>
1282
  </tax_type_21>
1283
  <tax_21 translate="label">
1284
- <label>Payment charge</label>
1285
  <frontend_type>text</frontend_type>
1286
- <validate>validate-not-negative-number</validate><sort_order>65</sort_order>
1287
  <show_in_default>1</show_in_default>
1288
  <show_in_website>1</show_in_website>
1289
  <show_in_store>1</show_in_store>
@@ -1311,9 +1311,9 @@
1311
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_22>1</ps_22></depends>
1312
  </tax_type_22>
1313
  <tax_22 translate="label">
1314
- <label>Payment charge</label>
1315
  <frontend_type>text</frontend_type>
1316
- <validate>validate-not-negative-number</validate><sort_order>68</sort_order>
1317
  <show_in_default>1</show_in_default>
1318
  <show_in_website>1</show_in_website>
1319
  <show_in_store>1</show_in_store>
@@ -1341,9 +1341,9 @@
1341
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_23>1</ps_23></depends>
1342
  </tax_type_23>
1343
  <tax_23 translate="label">
1344
- <label>Payment charge</label>
1345
  <frontend_type>text</frontend_type>
1346
- <validate>validate-not-negative-number</validate><sort_order>71</sort_order>
1347
  <show_in_default>1</show_in_default>
1348
  <show_in_website>1</show_in_website>
1349
  <show_in_store>1</show_in_store>
@@ -1371,9 +1371,9 @@
1371
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_24>1</ps_24></depends>
1372
  </tax_type_24>
1373
  <tax_24 translate="label">
1374
- <label>Payment charge</label>
1375
  <frontend_type>text</frontend_type>
1376
- <validate>validate-not-negative-number</validate><sort_order>74</sort_order>
1377
  <show_in_default>1</show_in_default>
1378
  <show_in_website>1</show_in_website>
1379
  <show_in_store>1</show_in_store>
@@ -1401,9 +1401,9 @@
1401
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_25>1</ps_25></depends>
1402
  </tax_type_25>
1403
  <tax_25 translate="label">
1404
- <label>Payment charge</label>
1405
  <frontend_type>text</frontend_type>
1406
- <validate>validate-not-negative-number</validate><sort_order>77</sort_order>
1407
  <show_in_default>1</show_in_default>
1408
  <show_in_website>1</show_in_website>
1409
  <show_in_store>1</show_in_store>
@@ -1431,9 +1431,9 @@
1431
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_26>1</ps_26></depends>
1432
  </tax_type_26>
1433
  <tax_26 translate="label">
1434
- <label>Payment charge</label>
1435
  <frontend_type>text</frontend_type>
1436
- <validate>validate-not-negative-number</validate><sort_order>80</sort_order>
1437
  <show_in_default>1</show_in_default>
1438
  <show_in_website>1</show_in_website>
1439
  <show_in_store>1</show_in_store>
@@ -1461,9 +1461,9 @@
1461
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_27>1</ps_27></depends>
1462
  </tax_type_27>
1463
  <tax_27 translate="label">
1464
- <label>Payment charge</label>
1465
  <frontend_type>text</frontend_type>
1466
- <validate>validate-not-negative-number</validate><sort_order>83</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>
@@ -1491,9 +1491,9 @@
1491
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_28>1</ps_28></depends>
1492
  </tax_type_28>
1493
  <tax_28 translate="label">
1494
- <label>Payment charge</label>
1495
  <frontend_type>text</frontend_type>
1496
- <validate>validate-not-negative-number</validate><sort_order>86</sort_order>
1497
  <show_in_default>1</show_in_default>
1498
  <show_in_website>1</show_in_website>
1499
  <show_in_store>1</show_in_store>
@@ -1521,9 +1521,9 @@
1521
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_29>1</ps_29></depends>
1522
  </tax_type_29>
1523
  <tax_29 translate="label">
1524
- <label>Payment charge</label>
1525
  <frontend_type>text</frontend_type>
1526
- <validate>validate-not-negative-number</validate><sort_order>89</sort_order>
1527
  <show_in_default>1</show_in_default>
1528
  <show_in_website>1</show_in_website>
1529
  <show_in_store>1</show_in_store>
@@ -1551,9 +1551,9 @@
1551
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_30>1</ps_30></depends>
1552
  </tax_type_30>
1553
  <tax_30 translate="label">
1554
- <label>Payment charge</label>
1555
  <frontend_type>text</frontend_type>
1556
- <validate>validate-not-negative-number</validate><sort_order>92</sort_order>
1557
  <show_in_default>1</show_in_default>
1558
  <show_in_website>1</show_in_website>
1559
  <show_in_store>1</show_in_store>
@@ -1581,9 +1581,9 @@
1581
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_31>1</ps_31></depends>
1582
  </tax_type_31>
1583
  <tax_31 translate="label">
1584
- <label>Payment charge</label>
1585
  <frontend_type>text</frontend_type>
1586
- <validate>validate-not-negative-number</validate><sort_order>95</sort_order>
1587
  <show_in_default>1</show_in_default>
1588
  <show_in_website>1</show_in_website>
1589
  <show_in_store>1</show_in_store>
@@ -1611,9 +1611,9 @@
1611
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_32>1</ps_32></depends>
1612
  </tax_type_32>
1613
  <tax_32 translate="label">
1614
- <label>Payment charge</label>
1615
  <frontend_type>text</frontend_type>
1616
- <validate>validate-not-negative-number</validate><sort_order>98</sort_order>
1617
  <show_in_default>1</show_in_default>
1618
  <show_in_website>1</show_in_website>
1619
  <show_in_store>1</show_in_store>
@@ -1641,9 +1641,9 @@
1641
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_33>1</ps_33></depends>
1642
  </tax_type_33>
1643
  <tax_33 translate="label">
1644
- <label>Payment charge</label>
1645
  <frontend_type>text</frontend_type>
1646
- <validate>validate-not-negative-number</validate><sort_order>101</sort_order>
1647
  <show_in_default>1</show_in_default>
1648
  <show_in_website>1</show_in_website>
1649
  <show_in_store>1</show_in_store>
@@ -1671,9 +1671,9 @@
1671
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_34>1</ps_34></depends>
1672
  </tax_type_34>
1673
  <tax_34 translate="label">
1674
- <label>Payment charge</label>
1675
  <frontend_type>text</frontend_type>
1676
- <validate>validate-not-negative-number</validate><sort_order>104</sort_order>
1677
  <show_in_default>1</show_in_default>
1678
  <show_in_website>1</show_in_website>
1679
  <show_in_store>1</show_in_store>
@@ -1701,9 +1701,9 @@
1701
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_35>1</ps_35></depends>
1702
  </tax_type_35>
1703
  <tax_35 translate="label">
1704
- <label>Payment charge</label>
1705
  <frontend_type>text</frontend_type>
1706
- <validate>validate-not-negative-number</validate><sort_order>107</sort_order>
1707
  <show_in_default>1</show_in_default>
1708
  <show_in_website>1</show_in_website>
1709
  <show_in_store>1</show_in_store>
@@ -1731,9 +1731,9 @@
1731
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_36>1</ps_36></depends>
1732
  </tax_type_36>
1733
  <tax_36 translate="label">
1734
- <label>Payment charge</label>
1735
  <frontend_type>text</frontend_type>
1736
- <validate>validate-not-negative-number</validate><sort_order>110</sort_order>
1737
  <show_in_default>1</show_in_default>
1738
  <show_in_website>1</show_in_website>
1739
  <show_in_store>1</show_in_store>
@@ -1761,9 +1761,9 @@
1761
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_37>1</ps_37></depends>
1762
  </tax_type_37>
1763
  <tax_37 translate="label">
1764
- <label>Payment charge</label>
1765
  <frontend_type>text</frontend_type>
1766
- <validate>validate-not-negative-number</validate><sort_order>113</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>
@@ -1791,9 +1791,9 @@
1791
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_38>1</ps_38></depends>
1792
  </tax_type_38>
1793
  <tax_38 translate="label">
1794
- <label>Payment charge</label>
1795
  <frontend_type>text</frontend_type>
1796
- <validate>validate-not-negative-number</validate><sort_order>116</sort_order>
1797
  <show_in_default>1</show_in_default>
1798
  <show_in_website>1</show_in_website>
1799
  <show_in_store>1</show_in_store>
@@ -1821,9 +1821,9 @@
1821
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_39>1</ps_39></depends>
1822
  </tax_type_39>
1823
  <tax_39 translate="label">
1824
- <label>Payment charge</label>
1825
  <frontend_type>text</frontend_type>
1826
- <validate>validate-not-negative-number</validate><sort_order>119</sort_order>
1827
  <show_in_default>1</show_in_default>
1828
  <show_in_website>1</show_in_website>
1829
  <show_in_store>1</show_in_store>
@@ -1851,9 +1851,9 @@
1851
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_40>1</ps_40></depends>
1852
  </tax_type_40>
1853
  <tax_40 translate="label">
1854
- <label>Payment charge</label>
1855
  <frontend_type>text</frontend_type>
1856
- <validate>validate-not-negative-number</validate><sort_order>122</sort_order>
1857
  <show_in_default>1</show_in_default>
1858
  <show_in_website>1</show_in_website>
1859
  <show_in_store>1</show_in_store>
@@ -1881,9 +1881,9 @@
1881
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_41>1</ps_41></depends>
1882
  </tax_type_41>
1883
  <tax_41 translate="label">
1884
- <label>Payment charge</label>
1885
  <frontend_type>text</frontend_type>
1886
- <validate>validate-not-negative-number</validate><sort_order>125</sort_order>
1887
  <show_in_default>1</show_in_default>
1888
  <show_in_website>1</show_in_website>
1889
  <show_in_store>1</show_in_store>
@@ -1911,9 +1911,9 @@
1911
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_42>1</ps_42></depends>
1912
  </tax_type_42>
1913
  <tax_42 translate="label">
1914
- <label>Payment charge</label>
1915
  <frontend_type>text</frontend_type>
1916
- <validate>validate-not-negative-number</validate><sort_order>128</sort_order>
1917
  <show_in_default>1</show_in_default>
1918
  <show_in_website>1</show_in_website>
1919
  <show_in_store>1</show_in_store>
@@ -1941,9 +1941,9 @@
1941
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_43>1</ps_43></depends>
1942
  </tax_type_43>
1943
  <tax_43 translate="label">
1944
- <label>Payment charge</label>
1945
  <frontend_type>text</frontend_type>
1946
- <validate>validate-not-negative-number</validate><sort_order>131</sort_order>
1947
  <show_in_default>1</show_in_default>
1948
  <show_in_website>1</show_in_website>
1949
  <show_in_store>1</show_in_store>
@@ -1971,9 +1971,9 @@
1971
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_44>1</ps_44></depends>
1972
  </tax_type_44>
1973
  <tax_44 translate="label">
1974
- <label>Payment charge</label>
1975
  <frontend_type>text</frontend_type>
1976
- <validate>validate-not-negative-number</validate><sort_order>134</sort_order>
1977
  <show_in_default>1</show_in_default>
1978
  <show_in_website>1</show_in_website>
1979
  <show_in_store>1</show_in_store>
@@ -2001,9 +2001,9 @@
2001
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_45>1</ps_45></depends>
2002
  </tax_type_45>
2003
  <tax_45 translate="label">
2004
- <label>Payment charge</label>
2005
  <frontend_type>text</frontend_type>
2006
- <validate>validate-not-negative-number</validate><sort_order>137</sort_order>
2007
  <show_in_default>1</show_in_default>
2008
  <show_in_website>1</show_in_website>
2009
  <show_in_store>1</show_in_store>
@@ -2031,9 +2031,9 @@
2031
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_46>1</ps_46></depends>
2032
  </tax_type_46>
2033
  <tax_46 translate="label">
2034
- <label>Payment charge</label>
2035
  <frontend_type>text</frontend_type>
2036
- <validate>validate-not-negative-number</validate><sort_order>140</sort_order>
2037
  <show_in_default>1</show_in_default>
2038
  <show_in_website>1</show_in_website>
2039
  <show_in_store>1</show_in_store>
@@ -2061,9 +2061,9 @@
2061
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_47>1</ps_47></depends>
2062
  </tax_type_47>
2063
  <tax_47 translate="label">
2064
- <label>Payment charge</label>
2065
  <frontend_type>text</frontend_type>
2066
- <validate>validate-not-negative-number</validate><sort_order>143</sort_order>
2067
  <show_in_default>1</show_in_default>
2068
  <show_in_website>1</show_in_website>
2069
  <show_in_store>1</show_in_store>
@@ -2091,9 +2091,9 @@
2091
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_48>1</ps_48></depends>
2092
  </tax_type_48>
2093
  <tax_48 translate="label">
2094
- <label>Payment charge</label>
2095
  <frontend_type>text</frontend_type>
2096
- <validate>validate-not-negative-number</validate><sort_order>146</sort_order>
2097
  <show_in_default>1</show_in_default>
2098
  <show_in_website>1</show_in_website>
2099
  <show_in_store>1</show_in_store>
@@ -2121,9 +2121,9 @@
2121
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_49>1</ps_49></depends>
2122
  </tax_type_49>
2123
  <tax_49 translate="label">
2124
- <label>Payment charge</label>
2125
  <frontend_type>text</frontend_type>
2126
- <validate>validate-not-negative-number</validate><sort_order>149</sort_order>
2127
  <show_in_default>1</show_in_default>
2128
  <show_in_website>1</show_in_website>
2129
  <show_in_store>1</show_in_store>
@@ -2150,7 +2150,7 @@
2150
  <show_in_website>1</show_in_website>
2151
  <show_in_store>1</show_in_store>
2152
  </payment_action> -->
2153
- <paid_order_status translate="label">
2154
  <label>Status of paid orders</label>
2155
  <frontend_type>select</frontend_type>
2156
  <source_model>mpay24/source_paidOrder</source_model>
@@ -2159,7 +2159,7 @@
2159
  <show_in_default>1</show_in_default>
2160
  <show_in_website>1</show_in_website>
2161
  <show_in_store>1</show_in_store>
2162
- </paid_order_status>
2163
  <billingAddressMode translate="label comment">
2164
  <label>Billing address mode</label>
2165
  <frontend_type>select</frontend_type>
1
  <?xml version="1.0"?>
2
  <!--
3
+ @version $Id: system.xml 6252 2015-03-26 15:57:57Z anna $
4
  -->
5
  <config>
6
  <sections>
10
  <tab>sales</tab>
11
  <fields>
12
  <payment_charge translate="label">
13
+ <label>Payment charge/discount</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>1</show_in_store>
19
  </payment_charge>
20
  </fields>
21
  </totals_sort>
213
  <sort_order>101</sort_order>
214
  <show_in_default>1</show_in_default>
215
  <show_in_website>1</show_in_website>
216
+ <show_in_store>1</show_in_store>
217
  </style>
218
  <logostyle translate="label">
219
  <label>LogoStyle</label>
221
  <sort_order>102</sort_order>
222
  <show_in_default>1</show_in_default>
223
  <show_in_website>1</show_in_website>
224
+ <show_in_store>1</show_in_store>
225
  </logostyle>
226
  <pageheaderstyle translate="label">
227
  <label>PageHeaderStyle</label>
229
  <sort_order>103</sort_order>
230
  <show_in_default>1</show_in_default>
231
  <show_in_website>1</show_in_website>
232
+ <show_in_store>1</show_in_store>
233
  </pageheaderstyle>
234
  <pagecaptionstyle translate="label">
235
  <label>PageCaptionStyle</label>
237
  <sort_order>104</sort_order>
238
  <show_in_default>1</show_in_default>
239
  <show_in_website>1</show_in_website>
240
+ <show_in_store>1</show_in_store>
241
  </pagecaptionstyle>
242
  <pagestyle translate="label">
243
  <label>PageStyle</label>
245
  <sort_order>105</sort_order>
246
  <show_in_default>1</show_in_default>
247
  <show_in_website>1</show_in_website>
248
+ <show_in_store>1</show_in_store>
249
  </pagestyle>
250
  <inputfieldsstyle translate="label">
251
  <label>InputFieldsStyle</label>
253
  <sort_order>106</sort_order>
254
  <show_in_default>1</show_in_default>
255
  <show_in_website>1</show_in_website>
256
+ <show_in_store>1</show_in_store>
257
  </inputfieldsstyle>
258
  <dropdownlistsstyle translate="label">
259
  <label>DropDownListsStyle</label>
261
  <sort_order>107</sort_order>
262
  <show_in_default>1</show_in_default>
263
  <show_in_website>1</show_in_website>
264
+ <show_in_store>1</show_in_store>
265
  </dropdownlistsstyle>
266
  <buttonsstyle translate="label">
267
  <label>ButtonsStyle</label>
269
  <sort_order>108</sort_order>
270
  <show_in_default>1</show_in_default>
271
  <show_in_website>1</show_in_website>
272
+ <show_in_store>1</show_in_store>
273
  </buttonsstyle>
274
  <errorsstyle translate="label">
275
  <label>ErrorsStyle</label>
277
  <sort_order>109</sort_order>
278
  <show_in_default>1</show_in_default>
279
  <show_in_website>1</show_in_website>
280
+ <show_in_store>1</show_in_store>
281
  </errorsstyle>
282
  <successtitlestyle translate="label">
283
  <label>SuccessTitleStyle</label>
285
  <sort_order>110</sort_order>
286
  <show_in_default>1</show_in_default>
287
  <show_in_website>1</show_in_website>
288
+ <show_in_store>1</show_in_store>
289
  </successtitlestyle>
290
  <errortitlestyle translate="label">
291
  <label>ErrorTitleStyle</label>
293
  <sort_order>111</sort_order>
294
  <show_in_default>1</show_in_default>
295
  <show_in_website>1</show_in_website>
296
+ <show_in_store>1</show_in_store>
297
  </errortitlestyle>
298
  <footerstyle translate="label">
299
  <label>FooterStyle</label>
301
  <sort_order>112</sort_order>
302
  <show_in_default>1</show_in_default>
303
  <show_in_website>1</show_in_website>
304
+ <show_in_store>1</show_in_store>
305
  </footerstyle>
306
  </fields>
307
  </mpay24sporder>
321
  <sort_order>49</sort_order>
322
  <show_in_default>1</show_in_default>
323
  <show_in_website>1</show_in_website>
324
+ <show_in_store>1</show_in_store>
325
  </description>
326
  <sc_row translate="label">
327
  <label>ShoppingCart Rows</label>
330
  <source_model>mpay24/source_shoppingCartRowsAction</source_model>
331
  <show_in_default>1</show_in_default>
332
  <show_in_website>1</show_in_website>
333
+ <show_in_store>1</show_in_store>
334
  </sc_row>
335
  <sc_style translate="label">
336
  <label>Style</label>
338
  <sort_order>101</sort_order>
339
  <show_in_default>1</show_in_default>
340
  <show_in_website>1</show_in_website>
341
+ <show_in_store>1</show_in_store>
342
  </sc_style>
343
  <sc_header translate="label">
344
  <label>Header</label>
346
  <sort_order>102</sort_order>
347
  <show_in_default>1</show_in_default>
348
  <show_in_website>1</show_in_website>
349
+ <show_in_store>1</show_in_store>
350
  </sc_header>
351
  <sc_headerstyle translate="label">
352
  <label>HeaderStyle</label>
354
  <sort_order>103</sort_order>
355
  <show_in_default>1</show_in_default>
356
  <show_in_website>1</show_in_website>
357
+ <show_in_store>1</show_in_store>
358
  </sc_headerstyle>
359
  <sc_captionstyle translate="label">
360
  <label>CaptionStyle</label>
362
  <sort_order>104</sort_order>
363
  <show_in_default>1</show_in_default>
364
  <show_in_website>1</show_in_website>
365
+ <show_in_store>1</show_in_store>
366
  </sc_captionstyle>
367
  <sc_numberheader translate="label">
368
  <label>NumberHeader</label>
370
  <sort_order>105</sort_order>
371
  <show_in_default>1</show_in_default>
372
  <show_in_website>1</show_in_website>
373
+ <show_in_store>1</show_in_store>
374
  </sc_numberheader>
375
  <sc_numberstyle translate="label">
376
  <label>NumberStyle</label>
378
  <sort_order>106</sort_order>
379
  <show_in_default>1</show_in_default>
380
  <show_in_website>1</show_in_website>
381
+ <show_in_store>1</show_in_store>
382
  </sc_numberstyle>
383
  <sc_productnrheader translate="label">
384
  <label>ProductNrHeader</label>
386
  <sort_order>107</sort_order>
387
  <show_in_default>1</show_in_default>
388
  <show_in_website>1</show_in_website>
389
+ <show_in_store>1</show_in_store>
390
  </sc_productnrheader>
391
  <sc_productnrstyle translate="label">
392
  <label>ProductNrStyle</label>
394
  <sort_order>108</sort_order>
395
  <show_in_default>1</show_in_default>
396
  <show_in_website>1</show_in_website>
397
+ <show_in_store>1</show_in_store>
398
  </sc_productnrstyle>
399
  <sc_descriptionheader translate="label">
400
  <label>DescriptionHeader</label>
402
  <sort_order>109</sort_order>
403
  <show_in_default>1</show_in_default>
404
  <show_in_website>1</show_in_website>
405
+ <show_in_store>1</show_in_store>
406
  </sc_descriptionheader>
407
  <sc_descriptionstyle translate="label">
408
  <label>DescriptionStyle</label>
410
  <sort_order>110</sort_order>
411
  <show_in_default>1</show_in_default>
412
  <show_in_website>1</show_in_website>
413
+ <show_in_store>1</show_in_store>
414
  </sc_descriptionstyle>
415
  <sc_packageheader translate="label">
416
  <label>PackageHeader</label>
418
  <sort_order>111</sort_order>
419
  <show_in_default>1</show_in_default>
420
  <show_in_website>1</show_in_website>
421
+ <show_in_store>1</show_in_store>
422
  </sc_packageheader>
423
  <sc_packagestyle translate="label">
424
  <label>PackageStyle</label>
426
  <sort_order>112</sort_order>
427
  <show_in_default>1</show_in_default>
428
  <show_in_website>1</show_in_website>
429
+ <show_in_store>1</show_in_store>
430
  </sc_packagestyle>
431
  <sc_quantityheader translate="label">
432
  <label>QuantityHeader</label>
434
  <sort_order>113</sort_order>
435
  <show_in_default>1</show_in_default>
436
  <show_in_website>1</show_in_website>
437
+ <show_in_store>1</show_in_store>
438
  </sc_quantityheader>
439
  <sc_quantitystyle translate="label">
440
  <label>QuantityStyle</label>
442
  <sort_order>114</sort_order>
443
  <show_in_default>1</show_in_default>
444
  <show_in_website>1</show_in_website>
445
+ <show_in_store>1</show_in_store>
446
  </sc_quantitystyle>
447
  <sc_itempriceheader translate="label">
448
  <label>ItemPriceHeader</label>
450
  <sort_order>115</sort_order>
451
  <show_in_default>1</show_in_default>
452
  <show_in_website>1</show_in_website>
453
+ <show_in_store>1</show_in_store>
454
  </sc_itempriceheader>
455
  <sc_itempricestyle translate="label">
456
  <label>ItemPriceStyle</label>
458
  <sort_order>116</sort_order>
459
  <show_in_default>1</show_in_default>
460
  <show_in_website>1</show_in_website>
461
+ <show_in_store>1</show_in_store>
462
  </sc_itempricestyle>
463
  <sc_priceheader translate="label">
464
  <label>PriceHeader</label>
466
  <sort_order>117</sort_order>
467
  <show_in_default>1</show_in_default>
468
  <show_in_website>1</show_in_website>
469
+ <show_in_store>1</show_in_store>
470
  </sc_priceheader>
471
  <sc_pricestyle translate="label">
472
  <label>PriceStyle</label>
474
  <sort_order>118</sort_order>
475
  <show_in_default>1</show_in_default>
476
  <show_in_website>1</show_in_website>
477
+ <show_in_store>1</show_in_store>
478
  </sc_pricestyle>
479
  <item_style1 translate="label">
480
  <label>ItemStyle Line 1</label>
482
  <sort_order>120</sort_order>
483
  <show_in_default>1</show_in_default>
484
  <show_in_website>1</show_in_website>
485
+ <show_in_store>1</show_in_store>
486
  </item_style1>
487
  <item_style2 translate="label">
488
  <label>ItemStyle Line 2</label>
490
  <sort_order>121</sort_order>
491
  <show_in_default>1</show_in_default>
492
  <show_in_website>1</show_in_website>
493
+ <show_in_store>1</show_in_store>
494
  </item_style2>
495
  <discount_headerstyle translate="label">
496
  <label>Discount HeaderStyle</label>
498
  <sort_order>123</sort_order>
499
  <show_in_default>1</show_in_default>
500
  <show_in_website>1</show_in_website>
501
+ <show_in_store>1</show_in_store>
502
  </discount_headerstyle>
503
  <discount_style translate="label">
504
  <label>Discount Style</label>
506
  <sort_order>124</sort_order>
507
  <show_in_default>1</show_in_default>
508
  <show_in_website>1</show_in_website>
509
+ <show_in_store>1</show_in_store>
510
  </discount_style>
511
  <shipping_costs_headerstyle translate="label">
512
  <label>Ship.Costs HeaderStyle</label>
514
  <sort_order>126</sort_order>
515
  <show_in_default>1</show_in_default>
516
  <show_in_website>1</show_in_website>
517
+ <show_in_store>1</show_in_store>
518
  </shipping_costs_headerstyle>
519
  <shipping_costs_style translate="label">
520
  <label>Ship.Costs Style</label>
522
  <sort_order>127</sort_order>
523
  <show_in_default>1</show_in_default>
524
  <show_in_website>1</show_in_website>
525
+ <show_in_store>1</show_in_store>
526
  </shipping_costs_style>
527
  <tax_headerstyle translate="label">
528
  <label>Tax HeaderStyle</label>
530
  <sort_order>129</sort_order>
531
  <show_in_default>1</show_in_default>
532
  <show_in_website>1</show_in_website>
533
+ <show_in_store>1</show_in_store>
534
  </tax_headerstyle>
535
  <tax_style translate="label">
536
  <label>Tax Style</label>
538
  <sort_order>130</sort_order>
539
  <show_in_default>1</show_in_default>
540
  <show_in_website>1</show_in_website>
541
+ <show_in_store>1</show_in_store>
542
  </tax_style>
543
  <price_header translate="label">
544
  <label>Price Header</label>
546
  <sort_order>132</sort_order>
547
  <show_in_default>1</show_in_default>
548
  <show_in_website>1</show_in_website>
549
+ <show_in_store>1</show_in_store>
550
  </price_header>
551
  <price_headerstyle translate="label">
552
  <label>Price HeaderStyle</label>
554
  <sort_order>133</sort_order>
555
  <show_in_default>1</show_in_default>
556
  <show_in_website>1</show_in_website>
557
+ <show_in_store>1</show_in_store>
558
  </price_headerstyle>
559
  <price_style translate="label">
560
  <label>Price Style</label>
562
  <sort_order>134</sort_order>
563
  <show_in_default>1</show_in_default>
564
  <show_in_website>1</show_in_website>
565
+ <show_in_store>1</show_in_store>
566
  </price_style>
567
  <subtotal_header translate="label">
568
  <label>Subtotal Header</label>
570
  <sort_order>135</sort_order>
571
  <show_in_default>1</show_in_default>
572
  <show_in_website>1</show_in_website>
573
+ <show_in_store>1</show_in_store>
574
  </subtotal_header>
575
  <subtotal_headerstyle translate="label">
576
  <label>Subtotal HeaderStyle</label>
578
  <sort_order>136</sort_order>
579
  <show_in_default>1</show_in_default>
580
  <show_in_website>1</show_in_website>
581
+ <show_in_store>1</show_in_store>
582
  </subtotal_headerstyle>
583
  <subtotal_style translate="label">
584
  <label>Subtotal Style</label>
586
  <sort_order>137</sort_order>
587
  <show_in_default>1</show_in_default>
588
  <show_in_website>1</show_in_website>
589
+ <show_in_store>1</show_in_store>
590
  </subtotal_style>
591
  </fields>
592
  </mpay24spsc>
679
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_1>1</ps_1></depends>
680
  </tax_type_1>
681
  <tax_1 translate="label">
682
+ <label>Payment charge/discount</label>
683
  <frontend_type>text</frontend_type>
684
+ <validate>validate-number</validate>
685
  <sort_order>6</sort_order>
686
  <show_in_default>1</show_in_default>
687
  <show_in_website>1</show_in_website>
710
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_2>1</ps_2></depends>
711
  </tax_type_2>
712
  <tax_2 translate="label">
713
+ <label>Payment charge/discount</label>
714
  <frontend_type>text</frontend_type>
715
  <sort_order>9</sort_order>
716
+ <validate>validate-number</validate><sort_order>8</sort_order>
717
  <show_in_default>1</show_in_default>
718
  <show_in_website>1</show_in_website>
719
  <show_in_store>1</show_in_store>
741
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_3>1</ps_3></depends>
742
  </tax_type_3>
743
  <tax_3 translate="label">
744
+ <label>Payment charge/discount</label>
745
  <frontend_type>text</frontend_type>
746
+ <validate>validate-number</validate><sort_order>11</sort_order>
747
  <show_in_default>1</show_in_default>
748
  <show_in_website>1</show_in_website>
749
  <show_in_store>1</show_in_store>
771
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_4>1</ps_4></depends>
772
  </tax_type_4>
773
  <tax_4 translate="label">
774
+ <label>Payment charge/discount</label>
775
  <frontend_type>text</frontend_type>
776
+ <validate>validate-number</validate><sort_order>14</sort_order>
777
  <show_in_default>1</show_in_default>
778
  <show_in_website>1</show_in_website>
779
  <show_in_store>1</show_in_store>
801
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_5>1</ps_5></depends>
802
  </tax_type_5>
803
  <tax_5 translate="label">
804
+ <label>Payment charge/discount</label>
805
  <frontend_type>text</frontend_type>
806
+ <validate>validate-number</validate><sort_order>17</sort_order>
807
  <show_in_default>1</show_in_default>
808
  <show_in_website>1</show_in_website>
809
  <show_in_store>1</show_in_store>
831
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_6>1</ps_6></depends>
832
  </tax_type_6>
833
  <tax_6 translate="label">
834
+ <label>Payment charge/discount</label>
835
  <frontend_type>text</frontend_type>
836
+ <validate>validate-number</validate><sort_order>20</sort_order>
837
  <show_in_default>1</show_in_default>
838
  <show_in_website>1</show_in_website>
839
  <show_in_store>1</show_in_store>
861
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_7>1</ps_7></depends>
862
  </tax_type_7>
863
  <tax_7 translate="label">
864
+ <label>Payment charge/discount</label>
865
  <frontend_type>text</frontend_type>
866
+ <validate>validate-number</validate><sort_order>23</sort_order>
867
  <show_in_default>1</show_in_default>
868
  <show_in_website>1</show_in_website>
869
  <show_in_store>1</show_in_store>
891
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_8>1</ps_8></depends>
892
  </tax_type_8>
893
  <tax_8 translate="label">
894
+ <label>Payment charge/discount</label>
895
  <frontend_type>text</frontend_type>
896
+ <validate>validate-number</validate><sort_order>26</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>
921
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_9>1</ps_9></depends>
922
  </tax_type_9>
923
  <tax_9 translate="label">
924
+ <label>Payment charge/discount</label>
925
  <frontend_type>text</frontend_type>
926
+ <validate>validate-number</validate><sort_order>29</sort_order>
927
  <show_in_default>1</show_in_default>
928
  <show_in_website>1</show_in_website>
929
  <show_in_store>1</show_in_store>
951
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_10>1</ps_10></depends>
952
  </tax_type_10>
953
  <tax_10 translate="label">
954
+ <label>Payment charge/discount</label>
955
  <frontend_type>text</frontend_type>
956
+ <validate>validate-number</validate><sort_order>32</sort_order>
957
  <show_in_default>1</show_in_default>
958
  <show_in_website>1</show_in_website>
959
  <show_in_store>1</show_in_store>
981
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_11>1</ps_11></depends>
982
  </tax_type_11>
983
  <tax_11 translate="label">
984
+ <label>Payment charge/discount</label>
985
  <frontend_type>text</frontend_type>
986
+ <validate>validate-number</validate><sort_order>35</sort_order>
987
  <show_in_default>1</show_in_default>
988
  <show_in_website>1</show_in_website>
989
  <show_in_store>1</show_in_store>
1011
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_12>1</ps_12></depends>
1012
  </tax_type_12>
1013
  <tax_12 translate="label">
1014
+ <label>Payment charge/discount</label>
1015
  <frontend_type>text</frontend_type>
1016
+ <validate>validate-number</validate><sort_order>38</sort_order>
1017
  <show_in_default>1</show_in_default>
1018
  <show_in_website>1</show_in_website>
1019
  <show_in_store>1</show_in_store>
1041
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_13>1</ps_13></depends>
1042
  </tax_type_13>
1043
  <tax_13 translate="label">
1044
+ <label>Payment charge/discount</label>
1045
  <frontend_type>text</frontend_type>
1046
+ <validate>validate-number</validate><sort_order>41</sort_order>
1047
  <show_in_default>1</show_in_default>
1048
  <show_in_website>1</show_in_website>
1049
  <show_in_store>1</show_in_store>
1071
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_14>1</ps_14></depends>
1072
  </tax_type_14>
1073
  <tax_14 translate="label">
1074
+ <label>Payment charge/discount</label>
1075
  <frontend_type>text</frontend_type>
1076
+ <validate>validate-number</validate><sort_order>44</sort_order>
1077
  <show_in_default>1</show_in_default>
1078
  <show_in_website>1</show_in_website>
1079
  <show_in_store>1</show_in_store>
1101
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_15>1</ps_15></depends>
1102
  </tax_type_15>
1103
  <tax_15 translate="label">
1104
+ <label>Payment charge/discount</label>
1105
  <frontend_type>text</frontend_type>
1106
+ <validate>validate-number</validate><sort_order>47</sort_order>
1107
  <show_in_default>1</show_in_default>
1108
  <show_in_website>1</show_in_website>
1109
  <show_in_store>1</show_in_store>
1131
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_16>1</ps_16></depends>
1132
  </tax_type_16>
1133
  <tax_16 translate="label">
1134
+ <label>Payment charge/discount</label>
1135
  <frontend_type>text</frontend_type>
1136
+ <validate>validate-number</validate><sort_order>50</sort_order>
1137
  <show_in_default>1</show_in_default>
1138
  <show_in_website>1</show_in_website>
1139
  <show_in_store>1</show_in_store>
1161
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_17>1</ps_17></depends>
1162
  </tax_type_17>
1163
  <tax_17 translate="label">
1164
+ <label>Payment charge/discount</label>
1165
  <frontend_type>text</frontend_type>
1166
+ <validate>validate-number</validate><sort_order>53</sort_order>
1167
  <show_in_default>1</show_in_default>
1168
  <show_in_website>1</show_in_website>
1169
  <show_in_store>1</show_in_store>
1191
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_18>1</ps_18></depends>
1192
  </tax_type_18>
1193
  <tax_18 translate="label">
1194
+ <label>Payment charge/discount</label>
1195
  <frontend_type>text</frontend_type>
1196
+ <validate>validate-number</validate><sort_order>56</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>
1221
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_19>1</ps_19></depends>
1222
  </tax_type_19>
1223
  <tax_19 translate="label">
1224
+ <label>Payment charge/discount</label>
1225
  <frontend_type>text</frontend_type>
1226
+ <validate>validate-number</validate><sort_order>59</sort_order>
1227
  <show_in_default>1</show_in_default>
1228
  <show_in_website>1</show_in_website>
1229
  <show_in_store>1</show_in_store>
1251
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_20>1</ps_20></depends>
1252
  </tax_type_20>
1253
  <tax_20 translate="label">
1254
+ <label>Payment charge/discount</label>
1255
  <frontend_type>text</frontend_type>
1256
+ <validate>validate-number</validate><sort_order>62</sort_order>
1257
  <show_in_default>1</show_in_default>
1258
  <show_in_website>1</show_in_website>
1259
  <show_in_store>1</show_in_store>
1281
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_21>1</ps_21></depends>
1282
  </tax_type_21>
1283
  <tax_21 translate="label">
1284
+ <label>Payment charge/discount</label>
1285
  <frontend_type>text</frontend_type>
1286
+ <validate>validate-number</validate><sort_order>65</sort_order>
1287
  <show_in_default>1</show_in_default>
1288
  <show_in_website>1</show_in_website>
1289
  <show_in_store>1</show_in_store>
1311
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_22>1</ps_22></depends>
1312
  </tax_type_22>
1313
  <tax_22 translate="label">
1314
+ <label>Payment charge/discount</label>
1315
  <frontend_type>text</frontend_type>
1316
+ <validate>validate-number</validate><sort_order>68</sort_order>
1317
  <show_in_default>1</show_in_default>
1318
  <show_in_website>1</show_in_website>
1319
  <show_in_store>1</show_in_store>
1341
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_23>1</ps_23></depends>
1342
  </tax_type_23>
1343
  <tax_23 translate="label">
1344
+ <label>Payment charge/discount</label>
1345
  <frontend_type>text</frontend_type>
1346
+ <validate>validate-number</validate><sort_order>71</sort_order>
1347
  <show_in_default>1</show_in_default>
1348
  <show_in_website>1</show_in_website>
1349
  <show_in_store>1</show_in_store>
1371
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_24>1</ps_24></depends>
1372
  </tax_type_24>
1373
  <tax_24 translate="label">
1374
+ <label>Payment charge/discount</label>
1375
  <frontend_type>text</frontend_type>
1376
+ <validate>validate-number</validate><sort_order>74</sort_order>
1377
  <show_in_default>1</show_in_default>
1378
  <show_in_website>1</show_in_website>
1379
  <show_in_store>1</show_in_store>
1401
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_25>1</ps_25></depends>
1402
  </tax_type_25>
1403
  <tax_25 translate="label">
1404
+ <label>Payment charge/discount</label>
1405
  <frontend_type>text</frontend_type>
1406
+ <validate>validate-number</validate><sort_order>77</sort_order>
1407
  <show_in_default>1</show_in_default>
1408
  <show_in_website>1</show_in_website>
1409
  <show_in_store>1</show_in_store>
1431
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_26>1</ps_26></depends>
1432
  </tax_type_26>
1433
  <tax_26 translate="label">
1434
+ <label>Payment charge/discount</label>
1435
  <frontend_type>text</frontend_type>
1436
+ <validate>validate-number</validate><sort_order>80</sort_order>
1437
  <show_in_default>1</show_in_default>
1438
  <show_in_website>1</show_in_website>
1439
  <show_in_store>1</show_in_store>
1461
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_27>1</ps_27></depends>
1462
  </tax_type_27>
1463
  <tax_27 translate="label">
1464
+ <label>Payment charge/discount</label>
1465
  <frontend_type>text</frontend_type>
1466
+ <validate>validate-number</validate><sort_order>83</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>
1491
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_28>1</ps_28></depends>
1492
  </tax_type_28>
1493
  <tax_28 translate="label">
1494
+ <label>Payment charge/discount</label>
1495
  <frontend_type>text</frontend_type>
1496
+ <validate>validate-number</validate><sort_order>86</sort_order>
1497
  <show_in_default>1</show_in_default>
1498
  <show_in_website>1</show_in_website>
1499
  <show_in_store>1</show_in_store>
1521
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_29>1</ps_29></depends>
1522
  </tax_type_29>
1523
  <tax_29 translate="label">
1524
+ <label>Payment charge/discount</label>
1525
  <frontend_type>text</frontend_type>
1526
+ <validate>validate-number</validate><sort_order>89</sort_order>
1527
  <show_in_default>1</show_in_default>
1528
  <show_in_website>1</show_in_website>
1529
  <show_in_store>1</show_in_store>
1551
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_30>1</ps_30></depends>
1552
  </tax_type_30>
1553
  <tax_30 translate="label">
1554
+ <label>Payment charge/discount</label>
1555
  <frontend_type>text</frontend_type>
1556
+ <validate>validate-number</validate><sort_order>92</sort_order>
1557
  <show_in_default>1</show_in_default>
1558
  <show_in_website>1</show_in_website>
1559
  <show_in_store>1</show_in_store>
1581
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_31>1</ps_31></depends>
1582
  </tax_type_31>
1583
  <tax_31 translate="label">
1584
+ <label>Payment charge/discount</label>
1585
  <frontend_type>text</frontend_type>
1586
+ <validate>validate-number</validate><sort_order>95</sort_order>
1587
  <show_in_default>1</show_in_default>
1588
  <show_in_website>1</show_in_website>
1589
  <show_in_store>1</show_in_store>
1611
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_32>1</ps_32></depends>
1612
  </tax_type_32>
1613
  <tax_32 translate="label">
1614
+ <label>Payment charge/discount</label>
1615
  <frontend_type>text</frontend_type>
1616
+ <validate>validate-number</validate><sort_order>98</sort_order>
1617
  <show_in_default>1</show_in_default>
1618
  <show_in_website>1</show_in_website>
1619
  <show_in_store>1</show_in_store>
1641
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_33>1</ps_33></depends>
1642
  </tax_type_33>
1643
  <tax_33 translate="label">
1644
+ <label>Payment charge/discount</label>
1645
  <frontend_type>text</frontend_type>
1646
+ <validate>validate-number</validate><sort_order>101</sort_order>
1647
  <show_in_default>1</show_in_default>
1648
  <show_in_website>1</show_in_website>
1649
  <show_in_store>1</show_in_store>
1671
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_34>1</ps_34></depends>
1672
  </tax_type_34>
1673
  <tax_34 translate="label">
1674
+ <label>Payment charge/discount</label>
1675
  <frontend_type>text</frontend_type>
1676
+ <validate>validate-number</validate><sort_order>104</sort_order>
1677
  <show_in_default>1</show_in_default>
1678
  <show_in_website>1</show_in_website>
1679
  <show_in_store>1</show_in_store>
1701
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_35>1</ps_35></depends>
1702
  </tax_type_35>
1703
  <tax_35 translate="label">
1704
+ <label>Payment charge/discount</label>
1705
  <frontend_type>text</frontend_type>
1706
+ <validate>validate-number</validate><sort_order>107</sort_order>
1707
  <show_in_default>1</show_in_default>
1708
  <show_in_website>1</show_in_website>
1709
  <show_in_store>1</show_in_store>
1731
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_36>1</ps_36></depends>
1732
  </tax_type_36>
1733
  <tax_36 translate="label">
1734
+ <label>Payment charge/discount</label>
1735
  <frontend_type>text</frontend_type>
1736
+ <validate>validate-number</validate><sort_order>110</sort_order>
1737
  <show_in_default>1</show_in_default>
1738
  <show_in_website>1</show_in_website>
1739
  <show_in_store>1</show_in_store>
1761
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_37>1</ps_37></depends>
1762
  </tax_type_37>
1763
  <tax_37 translate="label">
1764
+ <label>Payment charge/discount</label>
1765
  <frontend_type>text</frontend_type>
1766
+ <validate>validate-number</validate><sort_order>113</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>
1791
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_38>1</ps_38></depends>
1792
  </tax_type_38>
1793
  <tax_38 translate="label">
1794
+ <label>Payment charge/discount</label>
1795
  <frontend_type>text</frontend_type>
1796
+ <validate>validate-number</validate><sort_order>116</sort_order>
1797
  <show_in_default>1</show_in_default>
1798
  <show_in_website>1</show_in_website>
1799
  <show_in_store>1</show_in_store>
1821
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_39>1</ps_39></depends>
1822
  </tax_type_39>
1823
  <tax_39 translate="label">
1824
+ <label>Payment charge/discount</label>
1825
  <frontend_type>text</frontend_type>
1826
+ <validate>validate-number</validate><sort_order>119</sort_order>
1827
  <show_in_default>1</show_in_default>
1828
  <show_in_website>1</show_in_website>
1829
  <show_in_store>1</show_in_store>
1851
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_40>1</ps_40></depends>
1852
  </tax_type_40>
1853
  <tax_40 translate="label">
1854
+ <label>Payment charge/discount</label>
1855
  <frontend_type>text</frontend_type>
1856
+ <validate>validate-number</validate><sort_order>122</sort_order>
1857
  <show_in_default>1</show_in_default>
1858
  <show_in_website>1</show_in_website>
1859
  <show_in_store>1</show_in_store>
1881
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_41>1</ps_41></depends>
1882
  </tax_type_41>
1883
  <tax_41 translate="label">
1884
+ <label>Payment charge/discount</label>
1885
  <frontend_type>text</frontend_type>
1886
+ <validate>validate-number</validate><sort_order>125</sort_order>
1887
  <show_in_default>1</show_in_default>
1888
  <show_in_website>1</show_in_website>
1889
  <show_in_store>1</show_in_store>
1911
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_42>1</ps_42></depends>
1912
  </tax_type_42>
1913
  <tax_42 translate="label">
1914
+ <label>Payment charge/discount</label>
1915
  <frontend_type>text</frontend_type>
1916
+ <validate>validate-number</validate><sort_order>128</sort_order>
1917
  <show_in_default>1</show_in_default>
1918
  <show_in_website>1</show_in_website>
1919
  <show_in_store>1</show_in_store>
1941
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_43>1</ps_43></depends>
1942
  </tax_type_43>
1943
  <tax_43 translate="label">
1944
+ <label>Payment charge/discount</label>
1945
  <frontend_type>text</frontend_type>
1946
+ <validate>validate-number</validate><sort_order>131</sort_order>
1947
  <show_in_default>1</show_in_default>
1948
  <show_in_website>1</show_in_website>
1949
  <show_in_store>1</show_in_store>
1971
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_44>1</ps_44></depends>
1972
  </tax_type_44>
1973
  <tax_44 translate="label">
1974
+ <label>Payment charge/discount</label>
1975
  <frontend_type>text</frontend_type>
1976
+ <validate>validate-number</validate><sort_order>134</sort_order>
1977
  <show_in_default>1</show_in_default>
1978
  <show_in_website>1</show_in_website>
1979
  <show_in_store>1</show_in_store>
2001
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_45>1</ps_45></depends>
2002
  </tax_type_45>
2003
  <tax_45 translate="label">
2004
+ <label>Payment charge/discount</label>
2005
  <frontend_type>text</frontend_type>
2006
+ <validate>validate-number</validate><sort_order>137</sort_order>
2007
  <show_in_default>1</show_in_default>
2008
  <show_in_website>1</show_in_website>
2009
  <show_in_store>1</show_in_store>
2031
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_46>1</ps_46></depends>
2032
  </tax_type_46>
2033
  <tax_46 translate="label">
2034
+ <label>Payment charge/discount</label>
2035
  <frontend_type>text</frontend_type>
2036
+ <validate>validate-number</validate><sort_order>140</sort_order>
2037
  <show_in_default>1</show_in_default>
2038
  <show_in_website>1</show_in_website>
2039
  <show_in_store>1</show_in_store>
2061
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_47>1</ps_47></depends>
2062
  </tax_type_47>
2063
  <tax_47 translate="label">
2064
+ <label>Payment charge/discount</label>
2065
  <frontend_type>text</frontend_type>
2066
+ <validate>validate-number</validate><sort_order>143</sort_order>
2067
  <show_in_default>1</show_in_default>
2068
  <show_in_website>1</show_in_website>
2069
  <show_in_store>1</show_in_store>
2091
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_48>1</ps_48></depends>
2092
  </tax_type_48>
2093
  <tax_48 translate="label">
2094
+ <label>Payment charge/discount</label>
2095
  <frontend_type>text</frontend_type>
2096
+ <validate>validate-number</validate><sort_order>146</sort_order>
2097
  <show_in_default>1</show_in_default>
2098
  <show_in_website>1</show_in_website>
2099
  <show_in_store>1</show_in_store>
2121
  <depends><forced_preselection>1</forced_preselection><payments_active>true</payments_active><ps_49>1</ps_49></depends>
2122
  </tax_type_49>
2123
  <tax_49 translate="label">
2124
+ <label>Payment charge/discount</label>
2125
  <frontend_type>text</frontend_type>
2126
+ <validate>validate-number</validate><sort_order>149</sort_order>
2127
  <show_in_default>1</show_in_default>
2128
  <show_in_website>1</show_in_website>
2129
  <show_in_store>1</show_in_store>
2150
  <show_in_website>1</show_in_website>
2151
  <show_in_store>1</show_in_store>
2152
  </payment_action> -->
2153
+ <!-- <paid_order_status translate="label">
2154
  <label>Status of paid orders</label>
2155
  <frontend_type>select</frontend_type>
2156
  <source_model>mpay24/source_paidOrder</source_model>
2159
  <show_in_default>1</show_in_default>
2160
  <show_in_website>1</show_in_website>
2161
  <show_in_store>1</show_in_store>
2162
+ </paid_order_status> -->
2163
  <billingAddressMode translate="label comment">
2164
  <label>Billing address mode</label>
2165
  <frontend_type>select</frontend_type>
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-install-1.5.7.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-install-1.5.6.php 31 2015-01-15 16:26:31Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/{mysql4-upgrade-1.5.6-1.5.7.php → mysql4-install-1.6.0.php} RENAMED
@@ -14,9 +14,9 @@
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.5.6.php 31 2015-01-15 16:26:31Z sapolhei $
20
  */
21
  if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
  $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
14
  *
15
  * @category Mpay24
16
  * @package Mpay24_Mpay24
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-install-1.6.0.php 6280 2015-04-16 13:00:22Z anna $
20
  */
21
  if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
  $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.0-1.5.1.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.0-1.5.1.php 26 2014-06-24 15:35:30Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.0-1.5.2.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.0-1.5.2.php 30 2014-11-10 14:00:27Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.0-1.5.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.0-1.5.3.php 30 2014-11-10 14:00:27Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.0-1.5.4.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.0-1.5.4.php 30 2014-11-10 14:00:27Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.0-1.5.5.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.0-1.5.5.php 31 2015-01-15 16:26:31Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.0-1.5.6.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.0-1.5.6.php 33 2015-01-15 16:29:36Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.0-1.5.7.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.0-1.5.6.php 33 2015-01-15 16:29:36Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.1-1.5.2.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.1-1.5.2.php 30 2014-11-10 14:00:27Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.1-1.5.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.1-1.5.3.php 30 2014-11-10 14:00:27Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.1-1.5.4.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.1-1.5.4.php 30 2014-11-10 14:00:27Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.1-1.5.5.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.1-1.5.5.php 31 2015-01-15 16:26:31Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.1-1.5.6.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.1-1.5.6.php 33 2015-01-15 16:29:36Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.1-1.5.7.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.1-1.5.6.php 33 2015-01-15 16:29:36Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.2-1.5.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.2-1.5.3.php 30 2014-11-10 14:00:27Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.2-1.5.4.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.2-1.5.4.php 30 2014-11-10 14:00:27Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.2-1.5.5.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.2-1.5.5.php 31 2015-01-15 16:26:31Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.2-1.5.6.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.2-1.5.6.php 33 2015-01-15 16:29:36Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.2-1.5.7.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.2-1.5.6.php 33 2015-01-15 16:29:36Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.3-1.5.4.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.3-1.5.4.php 30 2014-11-10 14:00:27Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.3-1.5.5.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.3-1.5.5.php 31 2015-01-15 16:26:31Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.3-1.5.6.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.3-1.5.6.php 33 2015-01-15 16:29:36Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.3-1.5.7.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.3-1.5.6.php 33 2015-01-15 16:29:36Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.4-1.5.5.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.4-1.5.5.php 31 2015-01-15 16:26:31Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.4-1.5.6.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.4-1.5.6.php 33 2015-01-15 16:29:36Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.4-1.5.7.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.4-1.5.6.php 33 2015-01-15 16:29:36Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.5-1.5.6.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.5-1.5.6.php 33 2015-01-15 16:29:36Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.5-1.5.7.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 Firedrago Magento
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mysql4-upgrade-1.5.5-1.5.6.php 33 2015-01-15 16:29:36Z sapolhei $
20
- */
21
- if(class_exists('Mage_Sales_Model_Resource_Setup'))
22
- $install = new Mage_Sales_Model_Resource_Setup('sales_setup');
23
- else
24
- $install = $this;
25
-
26
- $install->startSetup();
27
-
28
- $install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
29
-
30
- $install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
31
-
32
- $install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
33
-
34
- $install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
35
-
36
- $install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
37
- $install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
38
- $install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
39
-
40
- $install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
41
- $install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
42
- $install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
43
-
44
- $install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
45
- $install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
46
- $install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
47
-
48
- $install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
49
- $install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
50
- $install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
51
-
52
- $install->endSetup();
53
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/adminhtml/default/default/template/mpay24/info/pdf/selectpayment.phtml CHANGED
@@ -14,9 +14,9 @@
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 29 2014-11-10 13:21:51Z sapolhei $
20
  */
21
  ?>
22
  <?php echo $this->getMethod()->getTitle() . " - " . $this->getPType() . " - " . $this->getBrand(); ?>
14
  *
15
  * @category design
16
  * @package default_defaut
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: selectpayment.phtml 6252 2015-03-26 15:57:57Z anna $
20
  */
21
  ?>
22
  <?php echo $this->getMethod()->getTitle() . " - " . $this->getPType() . " - " . $this->getBrand(); ?>
app/design/adminhtml/default/default/template/mpay24/info/selectpayment.phtml CHANGED
@@ -14,9 +14,9 @@
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 31 2015-01-15 16:26:31Z sapolhei $
20
  */
21
  ?>
22
  <p><b>
@@ -26,6 +26,14 @@
26
  <b><?php echo "<label for='mpaytid'>MPAYTID</label><span name='mpaytid' style='float: right; margin-right: 400px;'>".$this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('mpay_tid'))."</span>"; ?></b>
27
  <br/><b><?php echo "<label for='appr_code'>".Mage::helper('mpay24')->__("Approval code")."</label><span name='appr_code' style='float: right; margin-right: 400px;'>".$this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('appr_code'))."</span>"; ?></b>
28
 
 
 
 
 
 
 
 
 
29
  <?php if($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('acct_holder')): ?>
30
  <br/><b><?php echo "<label for='acct_holder'>".Mage::helper('mpay24')->__("Account holder")."</label><span name='acct_holder' style='float: right; margin-right: 400px;'>".$this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('acct_holder'))."</span>"; ?></b>
31
  <?php endif; ?>
14
  *
15
  * @category design
16
  * @package default_defaut
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: selectpayment.phtml 6280 2015-04-16 13:00:22Z anna $
20
  */
21
  ?>
22
  <p><b>
26
  <b><?php echo "<label for='mpaytid'>MPAYTID</label><span name='mpaytid' style='float: right; margin-right: 400px;'>".$this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('mpay_tid'))."</span>"; ?></b>
27
  <br/><b><?php echo "<label for='appr_code'>".Mage::helper('mpay24')->__("Approval code")."</label><span name='appr_code' style='float: right; margin-right: 400px;'>".$this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('appr_code'))."</span>"; ?></b>
28
 
29
+ <?php if($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('amex_addr_ver')): ?>
30
+ <br/><b><?php echo "<label for='amex_addr_ver'>".Mage::helper('mpay24')->__("AMEX Address Verfication")."</label><span name='amex_addr_ver' style='float: right; margin-right: 400px;'>".$this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('amex_addr_ver'))."</span>"; ?></b>
31
+ <?php endif; ?>
32
+
33
+ <?php if($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('amex_cid_ver')): ?>
34
+ <br/><b><?php echo "<label for='amex_cid_ver'>".Mage::helper('mpay24')->__("AMEX CID Verfication")."</label><span name='amex_cid_ver' style='float: right; margin-right: 400px;'>".$this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('amex_cid_ver'))."</span>"; ?></b>
35
+ <?php endif; ?>
36
+
37
  <?php if($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('acct_holder')): ?>
38
  <br/><b><?php echo "<label for='acct_holder'>".Mage::helper('mpay24')->__("Account holder")."</label><span name='acct_holder' style='float: right; margin-right: 400px;'>".$this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('acct_holder'))."</span>"; ?></b>
39
  <?php endif; ?>
app/design/frontend/base/default/layout/mpay24.xml CHANGED
@@ -14,9 +14,9 @@
14
  *
15
  * @category design
16
  * @package base_defaut
17
- * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: mpay24.xml 5 2013-10-10 13:08:44Z sapolhei $
20
  -->
21
  <layout version="0.1.0">
22
  <mpay24_payment_payment>
14
  *
15
  * @category design
16
  * @package base_defaut
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mpay24.xml 6257 2015-03-26 16:08:09Z anna $
20
  -->
21
  <layout version="0.1.0">
22
  <mpay24_payment_payment>
app/design/frontend/base/default/template/mpay24/form/area.phtml CHANGED
@@ -14,9 +14,9 @@
14
  *
15
  * @category design
16
  * @package base_defaut
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 35 2015-01-19 14:42:26Z sapolhei $
20
  */
21
  ?>
22
  <?php
@@ -104,20 +104,23 @@ if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true') {
104
 
105
  $addInfo = "";
106
 
107
- if(Mage::getStoreConfig("mpay24/mpay24/forced_preselection") == 1) {
108
  $addInfo .= " - ";
109
-
110
- if(Mage::getStoreConfig("mpay24/mpay24/tax_$j") > 0) {
111
- if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'absolute')
112
- $addInfo .= Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol();
113
- $addInfo .= " " . number_format(Mage::getStoreConfig("mpay24/mpay24/tax_$j"),2,',','.');
114
-
115
- if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'percent')
116
- $addInfo .= "%";
117
-
118
- $addInfo .= " " . Mage::helper('mpay24')->__("Payment fee");
119
- } else
120
- $addInfo .= Mage::helper('mpay24')->__("Payment Fee") . " = 0";
 
 
 
121
  }
122
 
123
  ?>
14
  *
15
  * @category design
16
  * @package base_defaut
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: area.phtml 6253 2015-03-26 16:05:00Z anna $
20
  */
21
  ?>
22
  <?php
104
 
105
  $addInfo = "";
106
 
107
+ if(Mage::getStoreConfig("mpay24/mpay24/forced_preselection") == 1 && Mage::getStoreConfig("mpay24/mpay24/tax_$j") <> 0) {
108
  $addInfo .= " - ";
109
+
110
+ $lab = "";
111
+ if(Mage::getStoreConfig("mpay24/mpay24/tax_$j") > 0)
112
+ $lab = Mage::helper('mpay24')->__("Payment charge");
113
+ else
114
+ $lab = Mage::helper('mpay24')->__("Payment discount");
115
+
116
+ if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'absolute')
117
+ $addInfo .= Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol();
118
+ $addInfo .= " " . abs(Mage::getStoreConfig("mpay24/mpay24/tax_$j"));
119
+
120
+ if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'percent')
121
+ $addInfo .= "%";
122
+
123
+ $addInfo .= " " . $lab;
124
  }
125
 
126
  ?>
app/design/frontend/base/default/template/mpay24/form/dropDown.phtml CHANGED
@@ -14,9 +14,9 @@
14
  *
15
  * @category design
16
  * @package base_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 36 2015-01-27 16:48:06Z sapolhei $
20
  */
21
  ?>
22
  <?php
@@ -133,20 +133,24 @@ if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true') {
133
  ?>
134
 
135
  <option value="<?php echo "mpay24_" . $id . "_" . $j ?>"><?php echo $payment['DESCR'];
136
- if(Mage::getStoreConfig("mpay24/mpay24/forced_preselection") == 1) {
137
  echo " - ";
138
 
139
- if(Mage::getStoreConfig("mpay24/mpay24/tax_$j") > 0) {
140
- if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'absolute')
141
- echo Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol();
142
- echo " " . Mage::getStoreConfig("mpay24/mpay24/tax_$j");
143
-
144
- if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'percent')
145
- echo "%";
146
-
147
- echo " " . Mage::helper('mpay24')->__("Payment charge");
148
- } else
149
- echo Mage::helper('mpay24')->__("For free");
 
 
 
 
150
  } ?></option>
151
  <?php } $j++; endforeach; ?>
152
  </select>
14
  *
15
  * @category design
16
  * @package base_defaut
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: dropDown.phtml 6253 2015-03-26 16:05:00Z anna $
20
  */
21
  ?>
22
  <?php
133
  ?>
134
 
135
  <option value="<?php echo "mpay24_" . $id . "_" . $j ?>"><?php echo $payment['DESCR'];
136
+ if(Mage::getStoreConfig("mpay24/mpay24/forced_preselection") == 1 && Mage::getStoreConfig("mpay24/mpay24/tax_$j") <> 0) {
137
  echo " - ";
138
 
139
+ $lab = "";
140
+ if(Mage::getStoreConfig("mpay24/mpay24/tax_$j") > 0)
141
+ $lab = Mage::helper('mpay24')->__("Payment charge");
142
+ else
143
+ $lab = Mage::helper('mpay24')->__("Payment discount");
144
+
145
+ if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'absolute')
146
+ echo Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol();
147
+ echo " " . abs(Mage::getStoreConfig("mpay24/mpay24/tax_$j"));
148
+
149
+ if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'percent')
150
+ echo "%";
151
+
152
+ echo " " . $lab;
153
+
154
  } ?></option>
155
  <?php } $j++; endforeach; ?>
156
  </select>
app/design/frontend/base/default/template/mpay24/form/radio.phtml CHANGED
@@ -14,9 +14,9 @@
14
  *
15
  * @category design
16
  * @package base_defaut
17
- * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: radio.phtml 36 2015-01-27 16:48:06Z sapolhei $
20
  */
21
  ?>
22
  <?php
@@ -150,17 +150,21 @@ echo " }";
150
  "><?php
151
  echo "<img id='mpay24_img' src='https://www.mpay24.com/web/img/logos/ptypes/$id.png' style='margin-left: 5px;margin-right: 15px; display: inline;'>";
152
  echo $payment['DESCR'];
153
- if(Mage::getStoreConfig("mpay24/mpay24/forced_preselection") == 1) {
154
- if(Mage::getStoreConfig("mpay24/mpay24/tax_$j") > 0) {
155
- if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'absolute')
156
- echo " - " . Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol();
157
- echo " " . number_format(Mage::getStoreConfig("mpay24/mpay24/tax_$j"),2,',','.');
158
-
159
- if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'percent')
160
- echo "%";
161
-
162
- echo " " . Mage::helper('mpay24')->__("Payment fee");
163
- }
 
 
 
 
164
  }
165
  ?>
166
  <?php echo "<br/><br/>"; endif; $j++; endforeach; echo Mage::helper('mpay24')->__("You will be redirected to the mPAY24 pay page...");?>
14
  *
15
  * @category design
16
  * @package base_defaut
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: radio.phtml 6253 2015-03-26 16:05:00Z anna $
20
  */
21
  ?>
22
  <?php
150
  "><?php
151
  echo "<img id='mpay24_img' src='https://www.mpay24.com/web/img/logos/ptypes/$id.png' style='margin-left: 5px;margin-right: 15px; display: inline;'>";
152
  echo $payment['DESCR'];
153
+ if(Mage::getStoreConfig("mpay24/mpay24/forced_preselection") == 1 && Mage::getStoreConfig("mpay24/mpay24/tax_$j") <> 0) {
154
+ $lab = "";
155
+ if(Mage::getStoreConfig("mpay24/mpay24/tax_$j") > 0)
156
+ $lab = Mage::helper('mpay24')->__("Payment charge");
157
+ else
158
+ $lab = Mage::helper('mpay24')->__("Payment discount");
159
+
160
+ if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'absolute')
161
+ echo " - " . Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol();
162
+ echo " " . abs(Mage::getStoreConfig("mpay24/mpay24/tax_$j"));
163
+
164
+ if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'percent')
165
+ echo "%";
166
+
167
+ echo " " . $lab;
168
  }
169
  ?>
170
  <?php echo "<br/><br/>"; endif; $j++; endforeach; echo Mage::helper('mpay24')->__("You will be redirected to the mPAY24 pay page...");?>
app/design/frontend/base/default/template/mpay24/info/selectpayment.phtml CHANGED
@@ -14,9 +14,9 @@
14
  *
15
  * @category design
16
  * @package base_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 33 2015-01-15 16:29:36Z sapolhei $
20
  */
21
  ?>
22
  <p><b>
14
  *
15
  * @category design
16
  * @package base_defaut
17
+ * @author Anna Sadriu (mPAY24 GmbH)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: selectpayment.phtml 6253 2015-03-26 16:05:00Z anna $
20
  */
21
  ?>
22
  <p><b>
app/etc/modules/Mpay24_Mpay24.xml CHANGED
@@ -1,6 +1,6 @@
1
  <?xml version="1.0"?>
2
  <!--
3
- * @version $Id: Mpay24_Mpay24.xml 30 2014-11-10 14:00:27Z sapolhei $
4
  -->
5
  <config>
6
  <modules>
@@ -10,7 +10,7 @@
10
  <depends>
11
  <Mage_Payment />
12
  </depends>
13
- <version>1.5.6</version>
14
  </Mpay24_Mpay24>
15
  </modules>
16
  </config>
1
  <?xml version="1.0"?>
2
  <!--
3
+ * @version $Id: Mpay24_Mpay24.xml 6252 2015-03-26 15:57:57Z anna $
4
  -->
5
  <config>
6
  <modules>
10
  <depends>
11
  <Mage_Payment />
12
  </depends>
13
+ <version>1.6.0</version>
14
  </Mpay24_Mpay24>
15
  </modules>
16
  </config>
app/locale/de_AT/Mpay24_Mpay24.csv CHANGED
@@ -64,10 +64,10 @@
64
  "Absolute value", "Absoluter Wert"
65
  "Payment charge type", "Zahlungsgebührtyp"
66
  "Payment charge", "Zahlungsgebühr"
67
- "Payment fee", "Zahlungsgebühr"
 
68
  "Please choose a payment system from the drop down menu...", "Bitte wählen Sie ein Zahlungssystem von dem Drop-Down-Menü..."
69
  "Please click an icon to choose a payment system...", "Bitte wählen Sie das gewünschte Zahlungssystem, per Klick auf das jeweilige Icon..."
70
- "Payment Fee", "Zahlungsgebühr"
71
  "Use proxy authentication","Proxy-Authenitifizierung verwenden"
72
  "Proxy User","Proxy-Benutzer"
73
  "Proxy Password","Proxy-Passwort"
@@ -81,4 +81,25 @@
81
  "Bank code", "BIC"
82
  "Bank name", "Bankname"
83
  "Reference", "Referenz"
84
- "ONLY FOR 'SOFORT Überweisung' merchants: Please contact support@mpay24.com for more information!","NUR FÜR 'SOFORT Überweisung' Händler: Für weitere Informationen, kontaktieren Sie bitte support@mpay24.com!"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  "Absolute value", "Absoluter Wert"
65
  "Payment charge type", "Zahlungsgebührtyp"
66
  "Payment charge", "Zahlungsgebühr"
67
+ "Payment discount", "Zahlungsrabatt"
68
+ "Payment charge/discount", "Zahlungs-gebühr/-rabatt"
69
  "Please choose a payment system from the drop down menu...", "Bitte wählen Sie ein Zahlungssystem von dem Drop-Down-Menü..."
70
  "Please click an icon to choose a payment system...", "Bitte wählen Sie das gewünschte Zahlungssystem, per Klick auf das jeweilige Icon..."
 
71
  "Use proxy authentication","Proxy-Authenitifizierung verwenden"
72
  "Proxy User","Proxy-Benutzer"
73
  "Proxy Password","Proxy-Passwort"
81
  "Bank code", "BIC"
82
  "Bank name", "Bankname"
83
  "Reference", "Referenz"
84
+ "ONLY FOR 'SOFORT Überweisung' merchants: Please contact support@mpay24.com for more information!","NUR FÜR 'SOFORT Überweisung' Händler: Für weitere Informationen, kontaktieren Sie bitte support@mpay24.com!"
85
+ "The 'AMEX_ADDR_VER' parameter was not returned!", "Der 'AMEX_ADDR_VER' Parameter wurde nicht retourniert!"
86
+ "The 'AMEX_CVC_VER' parameter was not returned!", "Der 'AMEX_CVC_VER' Parameter wurde nicht retourniert!"
87
+ "Unknown returned value:", "Unbekannter retournierter Wert:"
88
+ "Yes, Customer Address and Postal Code are both correct.", "Ja, die Rechnungsadresse und die Postleitzahl sind jeweils korrekt."
89
+ "No, Customer Address and Postal Code are both incorrect.", "Nein, die Rechnungsadresse und die Postleitzahl sind jeweils inkorrekt."
90
+ "Customer Address only correct.", "Nur die Rechnungsadresse ist korrekt."
91
+ "Customer Postal Code only correct.", "Nur die Postleitzahl ist korrekt."
92
+ "Information unavailable.", "Keine Informationen verfügbar."
93
+ "SE not allowed AAV function.", "Address Verifizierung nicht gestattet."
94
+ "System unavailable; retry.", "Eine Prüfung der Adresse konnte nicht durchgeführt werden."
95
+ "Customer Name and Postal Code match.", "Kundenname und die Postleitzahl stimmen überein."
96
+ "Customer Name, Address and Postal Code match.", "Kundenname, die Rechnungsadresse und die Postleitzahl stimmen überein."
97
+ "Customer Name and Address match.", "Kundenname und die Rechnungsadresse stimmen überein."
98
+ "Customer Name matches.", "Kundenname stimmt überein."
99
+ "Customer Name incorrect, Postal Code matches.", "Kundenname inkorrekt, die Postleitzahl stimmt überein."
100
+ "Customer Name incorrect, Address and Postal Code match.", "Kundenname inkorrekt, die Rechnungsadresse und die Postleitzahl stimmen überein."
101
+ "Customer Name incorrect, Address matches.", "Kundenname inkorrekt, die Rechnungsadresse stimmt überein."
102
+ "No, Customer Name, Address and Postal Code are all incorrect.", "Nein, Kundenname, die Rechnungsadresse und die Postleitzahl sind jeweils inkorrekt."
103
+ "CID/4DBC/4CSC matched.", "CID/4DBC/4CSC stimmte überein."
104
+ "CID/4DBC/4CSC did not match.", "CID/4DBC/4CSC stimmte nicht überein."
105
+ "CID/4DBC/4CSC was not checked.", "CID/4DBC/4CSC wurde nicht überprüft."
app/locale/de_CH/Mpay24_Mpay24.csv CHANGED
@@ -64,10 +64,10 @@
64
  "Absolute value", "Absoluter Wert"
65
  "Payment charge type", "Zahlungsgebührtyp"
66
  "Payment charge", "Zahlungsgebühr"
67
- "Payment fee", "Zahlungsgebühr"
 
68
  "Please choose a payment system from the drop down menu...", "Bitte wählen Sie ein Zahlungssystem von dem Drop-Down-Menü..."
69
  "Please click an icon to choose a payment system...", "Bitte wählen Sie das gewünschte Zahlungssystem, per Klick auf das jeweilige Icon..."
70
- "Payment Fee", "Zahlungsgebühr"
71
  "Use proxy authentication","Proxy-Authenitifizierung verwenden"
72
  "Proxy User","Proxy-Benutzer"
73
  "Proxy Password","Proxy-Passwort"
@@ -81,4 +81,25 @@
81
  "Bank code", "BIC"
82
  "Bank name", "Bankname"
83
  "Reference", "Referenz"
84
- "ONLY FOR 'SOFORT Überweisung' merchants: Please contact support@mpay24.com for more information!","NUR FÜR 'SOFORT Überweisung' Händler: Für weitere Informationen, kontaktieren Sie bitte support@mpay24.com!"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  "Absolute value", "Absoluter Wert"
65
  "Payment charge type", "Zahlungsgebührtyp"
66
  "Payment charge", "Zahlungsgebühr"
67
+ "Payment discount", "Zahlungsrabatt"
68
+ "Payment charge/discount", "Zahlungs-gebühr/-rabatt"
69
  "Please choose a payment system from the drop down menu...", "Bitte wählen Sie ein Zahlungssystem von dem Drop-Down-Menü..."
70
  "Please click an icon to choose a payment system...", "Bitte wählen Sie das gewünschte Zahlungssystem, per Klick auf das jeweilige Icon..."
 
71
  "Use proxy authentication","Proxy-Authenitifizierung verwenden"
72
  "Proxy User","Proxy-Benutzer"
73
  "Proxy Password","Proxy-Passwort"
81
  "Bank code", "BIC"
82
  "Bank name", "Bankname"
83
  "Reference", "Referenz"
84
+ "ONLY FOR 'SOFORT Überweisung' merchants: Please contact support@mpay24.com for more information!","NUR FÜR 'SOFORT Überweisung' Händler: Für weitere Informationen, kontaktieren Sie bitte support@mpay24.com!"
85
+ "The 'AMEX_ADDR_VER' parameter was not returned!", "Der 'AMEX_ADDR_VER' Parameter wurde nicht retourniert!"
86
+ "The 'AMEX_CVC_VER' parameter was not returned!", "Der 'AMEX_CVC_VER' Parameter wurde nicht retourniert!"
87
+ "Unknown returned value:", "Unbekannter retournierter Wert:"
88
+ "Yes, Customer Address and Postal Code are both correct.", "Ja, die Rechnungsadresse und die Postleitzahl sind jeweils korrekt."
89
+ "No, Customer Address and Postal Code are both incorrect.", "Nein, die Rechnungsadresse und die Postleitzahl sind jeweils inkorrekt."
90
+ "Customer Address only correct.", "Nur die Rechnungsadresse ist korrekt."
91
+ "Customer Postal Code only correct.", "Nur die Postleitzahl ist korrekt."
92
+ "Information unavailable.", "Keine Informationen verfügbar."
93
+ "SE not allowed AAV function.", "Address Verifizierung nicht gestattet."
94
+ "System unavailable; retry.", "Eine Prüfung der Adresse konnte nicht durchgeführt werden."
95
+ "Customer Name and Postal Code match.", "Kundenname und die Postleitzahl stimmen überein."
96
+ "Customer Name, Address and Postal Code match.", "Kundenname, die Rechnungsadresse und die Postleitzahl stimmen überein."
97
+ "Customer Name and Address match.", "Kundenname und die Rechnungsadresse stimmen überein."
98
+ "Customer Name matches.", "Kundenname stimmt überein."
99
+ "Customer Name incorrect, Postal Code matches.", "Kundenname inkorrekt, die Postleitzahl stimmt überein."
100
+ "Customer Name incorrect, Address and Postal Code match.", "Kundenname inkorrekt, die Rechnungsadresse und die Postleitzahl stimmen überein."
101
+ "Customer Name incorrect, Address matches.", "Kundenname inkorrekt, die Rechnungsadresse stimmt überein."
102
+ "No, Customer Name, Address and Postal Code are all incorrect.", "Nein, Kundenname, die Rechnungsadresse und die Postleitzahl sind jeweils inkorrekt."
103
+ "CID/4DBC/4CSC matched.", "CID/4DBC/4CSC stimmte überein."
104
+ "CID/4DBC/4CSC did not match.", "CID/4DBC/4CSC stimmte nicht überein."
105
+ "CID/4DBC/4CSC was not checked.", "CID/4DBC/4CSC wurde nicht überprüft."
app/locale/de_DE/Mpay24_Mpay24.csv CHANGED
@@ -64,10 +64,10 @@
64
  "Absolute value", "Absoluter Wert"
65
  "Payment charge type", "Zahlungsgebührtyp"
66
  "Payment charge", "Zahlungsgebühr"
67
- "Payment fee", "Zahlungsgebühr"
 
68
  "Please choose a payment system from the drop down menu...", "Bitte wählen Sie ein Zahlungssystem von dem Drop-Down-Menü..."
69
  "Please click an icon to choose a payment system...", "Bitte wählen Sie das gewünschte Zahlungssystem, per Klick auf das jeweilige Icon..."
70
- "Payment Fee", "Zahlungsgebühr"
71
  "Use proxy authentication","Proxy-Authenitifizierung verwenden"
72
  "Proxy User","Proxy-Benutzer"
73
  "Proxy Password","Proxy-Passwort"
@@ -81,4 +81,25 @@
81
  "Bank code", "BIC"
82
  "Bank name", "Bankname"
83
  "Reference", "Referenz"
84
- "ONLY FOR 'SOFORT Überweisung' merchants: Please contact support@mpay24.com for more information!","NUR FÜR 'SOFORT Überweisung' Händler: Für weitere Informationen, kontaktieren Sie bitte support@mpay24.com!"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  "Absolute value", "Absoluter Wert"
65
  "Payment charge type", "Zahlungsgebührtyp"
66
  "Payment charge", "Zahlungsgebühr"
67
+ "Payment discount", "Zahlungsrabatt"
68
+ "Payment charge/discount", "Zahlungs-gebühr/-rabatt"
69
  "Please choose a payment system from the drop down menu...", "Bitte wählen Sie ein Zahlungssystem von dem Drop-Down-Menü..."
70
  "Please click an icon to choose a payment system...", "Bitte wählen Sie das gewünschte Zahlungssystem, per Klick auf das jeweilige Icon..."
 
71
  "Use proxy authentication","Proxy-Authenitifizierung verwenden"
72
  "Proxy User","Proxy-Benutzer"
73
  "Proxy Password","Proxy-Passwort"
81
  "Bank code", "BIC"
82
  "Bank name", "Bankname"
83
  "Reference", "Referenz"
84
+ "ONLY FOR 'SOFORT Überweisung' merchants: Please contact support@mpay24.com for more information!","NUR FÜR 'SOFORT Überweisung' Händler: Für weitere Informationen, kontaktieren Sie bitte support@mpay24.com!"
85
+ "The 'AMEX_ADDR_VER' parameter was not returned!", "Der 'AMEX_ADDR_VER' Parameter wurde nicht retourniert!"
86
+ "The 'AMEX_CVC_VER' parameter was not returned!", "Der 'AMEX_CVC_VER' Parameter wurde nicht retourniert!"
87
+ "Unknown returned value:", "Unbekannter retournierter Wert:"
88
+ "Yes, Customer Address and Postal Code are both correct.", "Ja, die Rechnungsadresse und die Postleitzahl sind jeweils korrekt."
89
+ "No, Customer Address and Postal Code are both incorrect.", "Nein, die Rechnungsadresse und die Postleitzahl sind jeweils inkorrekt."
90
+ "Customer Address only correct.", "Nur die Rechnungsadresse ist korrekt."
91
+ "Customer Postal Code only correct.", "Nur die Postleitzahl ist korrekt."
92
+ "Information unavailable.", "Keine Informationen verfügbar."
93
+ "SE not allowed AAV function.", "Address Verifizierung nicht gestattet."
94
+ "System unavailable; retry.", "Eine Prüfung der Adresse konnte nicht durchgeführt werden."
95
+ "Customer Name and Postal Code match.", "Kundenname und die Postleitzahl stimmen überein."
96
+ "Customer Name, Address and Postal Code match.", "Kundenname, die Rechnungsadresse und die Postleitzahl stimmen überein."
97
+ "Customer Name and Address match.", "Kundenname und die Rechnungsadresse stimmen überein."
98
+ "Customer Name matches.", "Kundenname stimmt überein."
99
+ "Customer Name incorrect, Postal Code matches.", "Kundenname inkorrekt, die Postleitzahl stimmt überein."
100
+ "Customer Name incorrect, Address and Postal Code match.", "Kundenname inkorrekt, die Rechnungsadresse und die Postleitzahl stimmen überein."
101
+ "Customer Name incorrect, Address matches.", "Kundenname inkorrekt, die Rechnungsadresse stimmt überein."
102
+ "No, Customer Name, Address and Postal Code are all incorrect.", "Nein, Kundenname, die Rechnungsadresse und die Postleitzahl sind jeweils inkorrekt."
103
+ "CID/4DBC/4CSC matched.", "CID/4DBC/4CSC stimmte überein."
104
+ "CID/4DBC/4CSC did not match.", "CID/4DBC/4CSC stimmte nicht überein."
105
+ "CID/4DBC/4CSC was not checked.", "CID/4DBC/4CSC wurde nicht überprüft."
app/locale/en_US/Mpay24_Mpay24.csv CHANGED
@@ -64,10 +64,10 @@
64
  "Absolute value", "Absolute value"
65
  "Payment charge type", "Payment charge type"
66
  "Payment charge", "Payment charge"
67
- "Payment fee", "Payment fee"
 
68
  "Please choose a payment system from the drop down menu...", "Please choose a payment system from the drop down menu..."
69
  "Please click an icon to choose a payment system...", "Please click an icon to choose a payment system..."
70
- "Payment Fee", "Payment Fee"
71
  "Use proxy authentication","Use proxy authentication"
72
  "Proxy User","Proxy User"
73
  "Proxy Password","Proxy Password"
@@ -81,4 +81,25 @@
81
  "Bank code", "Bank code"
82
  "Bank name", "Bank name"
83
  "Reference", "Reference"
84
- "ONLY FOR 'SOFORT Überweisung' merchants: Please contact support@mpay24.com for more information!","ONLY FOR 'SOFORT Überweisung' merchants: Please contact support@mpay24.com for more information!"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  "Absolute value", "Absolute value"
65
  "Payment charge type", "Payment charge type"
66
  "Payment charge", "Payment charge"
67
+ "Payment discount", "Payment discount"
68
+ "Payment charge/discount", "Payment charge/discount"
69
  "Please choose a payment system from the drop down menu...", "Please choose a payment system from the drop down menu..."
70
  "Please click an icon to choose a payment system...", "Please click an icon to choose a payment system..."
 
71
  "Use proxy authentication","Use proxy authentication"
72
  "Proxy User","Proxy User"
73
  "Proxy Password","Proxy Password"
81
  "Bank code", "Bank code"
82
  "Bank name", "Bank name"
83
  "Reference", "Reference"
84
+ "ONLY FOR 'SOFORT Überweisung' merchants: Please contact support@mpay24.com for more information!","ONLY FOR 'SOFORT Überweisung' merchants: Please contact support@mpay24.com for more information!"
85
+ "The 'AMEX_ADDR_VER' parameter was not returned!", "The 'AMEX_ADDR_VER' parameter was not returned!"
86
+ "The 'AMEX_CVC_VER' parameter was not returned!", "The 'AMEX_CVC_VER' parameter was not returned!"
87
+ "Unknown returned value:", "Unknown returned value:"
88
+ "Yes, Customer Address and Postal Code are both correct.", "Yes, Customer Address and Postal Code are both correct."
89
+ "No, Customer Address and Postal Code are both incorrect.", "No, Customer Address and Postal Code are both incorrect."
90
+ "Customer Address only correct.", "Customer Address only correct."
91
+ "Customer Postal Code only correct.", "Customer Postal Code only correct."
92
+ "Information unavailable.", "Information unavailable."
93
+ "SE not allowed AAV function.", "SE not allowed AAV function."
94
+ "System unavailable; retry.", "System unavailable; retry."
95
+ "Customer Name and Postal Code match.", "Customer Name and Postal Code match."
96
+ "Customer Name, Address and Postal Code match.", "Customer Name, Address and Postal Code match."
97
+ "Customer Name and Address match.", "Customer Name and Address match."
98
+ "Customer Name matches.", "Customer Name matches."
99
+ "Customer Name incorrect, Postal Code matches.", "Customer Name incorrect, Postal Code matches."
100
+ "Customer Name incorrect, Address and Postal Code match.", "Customer Name incorrect, Address and Postal Code match."
101
+ "Customer Name incorrect, Address matches.", "Customer Name incorrect, Address matches."
102
+ "No, Customer Name, Address and Postal Code are all incorrect.", "No, Customer Name, Address and Postal Code are all incorrect."
103
+ "CID/4DBC/4CSC matched.", "CID/4DBC/4CSC matched."
104
+ "CID/4DBC/4CSC did not match.", "CID/4DBC/4CSC did not match."
105
+ "CID/4DBC/4CSC was not checked.", "CID/4DBC/4CSC was not checked."
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>mPAY24</name>
4
- <version>1.5.7</version>
5
  <stability>stable</stability>
6
  <license>Open Software License (OSL 3.0)</license>
7
  <channel>community</channel>
@@ -35,11 +35,14 @@ Weitere Informationen unter www.mPAY24.com</description>
35
  4.Payment Method discount bug fixed.&#xD;
36
  &#xD;
37
  5.Default Styling added.&#xD;
 
 
 
38
  </notes>
39
- <authors><author><name>Filipp Akinfiev</name><user>firedrago</user><email>firedrago.magento@gmail.com</email></author></authors>
40
- <date>2015-02-13</date>
41
- <time>15:21:12</time>
42
- <contents><target name="magelocale"><dir name="de_AT"><file name="Mpay24_Mpay24.csv" hash="be5ba8435255f2b125788f1e513225fe"/></dir><dir name="de_DE"><file name="Mpay24_Mpay24.csv" hash="be5ba8435255f2b125788f1e513225fe"/></dir><dir name="de_CH"><file name="Mpay24_Mpay24.csv" hash="be5ba8435255f2b125788f1e513225fe"/></dir><dir name="en_US"><file name="Mpay24_Mpay24.csv" hash="dd7dc27a5f34809094689e0c7cfbf511"/></dir></target><target name="mageetc"><dir name="modules"><file name="Mpay24_Mpay24.xml" hash="c4240c748dddde41f3b843eea1307477"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="mpay24"><dir name="form"><file name="area.phtml" hash="f0f0b9d1d3d22455f074d71838f0120f"/><file name="dropDown.phtml" hash="0e1d4e2b3c014e0037a8428be5df99c5"/><file name="radio.phtml" hash="40675c11f9114261f8590e9f5faa7c00"/></dir><dir name="info"><file name="selectpayment.phtml" hash="9f3f3adbbdc18aba8710c6bdee2176a9"/></dir></dir></dir><dir name="layout"><file name="mpay24.xml" hash="92ba7cb97b6ce38c68dab60320dec9eb"/></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="72560f7d19995e6ad68ee6ed9ecb538a"/></dir><file name="selectpayment.phtml" hash="930025a984717c6be1a18d54d06ad9e1"/></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="3e7a1e3c5e7beecf656708fb6ef451ba"/></dir><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Fieldset.php" hash="6a32d04093ed17bd205049fc2c08a149"/></dir></dir></dir></dir><dir name="Form"><file name="Selectpayment.php" hash="d7c2782f8d5307a3fca856b44ced5af4"/></dir><file name="Form.php" hash="72f46c1cddecdb39cac90558ae3f8f34"/><dir name="Info"><file name="Selectpayment.php" hash="39c93c8c340083d48acec81987b7be29"/></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="6012cce58a706e6762c5624e52a6191b"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="d02323e509bf1e693641a007e881d84a"/></dir><dir name="Model"><dir name="Api"><file name="MDXI.xsd" hash="632a64d7b4c62518dcbb451ed514edb9"/><file name="MPay24Api.php" hash="6f96a97da40b296db3aabdd6447985a5"/><file name="MPay24MagentoShop.php" hash="5e719f52e62b46794c04e7e021fc70f1"/><file name="MPay24Shop.php" hash="e42d98233a8e32905f349fc7a006ef17"/><file name="cacert.pem" hash="b4bc508481b6291f414f4e6fd7e5d0a5"/><file name="curllog.log" hash="81316a190c4d6e2ac32098eb9294eac8"/><file name="orderXML.php" hash="385c9dde9c20f1cf9a74356e14429e85"/><dir name="xmls"><file name="Example_MDXI.xml" hash="dddd02e4cdc0905792c1a2a9f3681bfd"/></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="0adcb299abd53d7c683b8f5ebef37aae"/></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="fee0d97f00f19ec06dc77ae0528fd152"/><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><dir name="Total"><file name="Paymentcharge.php" hash="2a18a3056a29073476c71167b0123b65"/></dir></dir><dir name="Invoice"><dir name="Total"><file name="Paymentcharge.php" hash="0ac2ca2a09948eab7b5c29d3b167ed90"/></dir></dir></dir><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Paymentcharge.php" hash="1a86b6bd8d2e1ef83f2f740fb6fa99d6"/></dir></dir></dir></dir><file name="Selectpayment.php" hash="59021fb8027213e1c576c895b82c1ec7"/><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="49c51df9cb1b1d444ac03437fc9d0a4d"/><file name="FormTemplate.php" hash="1231ad5dd8970b965ad39d82246b30a2"/><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="SOFORTState.php" hash="a16d4556b94f6a61312fc340af81a132"/><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="12d1dcfc0dd146da05a6c44c12ece18c"/></dir><dir name="etc"><file name="config.xml" hash="0be0f4f88c804a4f69b51d12095b8ac5"/><file name="system.xml" hash="a9121575bade57507e8a605d10814362"/></dir><dir name="sql"><dir name="mpay24_setup"><file name="mysql4-install-1.5.7.php" hash="8d9fd18c79349bddc659fad52f8268a0"/><file name="mysql4-upgrade-1.5.0-1.5.1.php" hash="b13cab4e8f540eafaed6d1b67c2d36fd"/><file name="mysql4-upgrade-1.5.0-1.5.2.php" hash="58de6132c6c20229c218f7dd6b63c517"/><file name="mysql4-upgrade-1.5.0-1.5.3.php" hash="7c279082cc7abb0059fd17efcb95743b"/><file name="mysql4-upgrade-1.5.0-1.5.4.php" hash="6ed1b0675d49e3c91b38c6480da16b74"/><file name="mysql4-upgrade-1.5.0-1.5.5.php" hash="08e713f5dfe1052a80074379c2e825b4"/><file name="mysql4-upgrade-1.5.0-1.5.6.php" hash="d23a8de77b456dd9947d33ff340e73ef"/><file name="mysql4-upgrade-1.5.0-1.5.7.php" hash="d23a8de77b456dd9947d33ff340e73ef"/><file name="mysql4-upgrade-1.5.1-1.5.2.php" hash="ec30ce829fe0b8890a7ba5cfe4ad44f5"/><file name="mysql4-upgrade-1.5.1-1.5.3.php" hash="b9e80f15e9b6d348ca543ba1efac9b1e"/><file name="mysql4-upgrade-1.5.1-1.5.4.php" hash="98e09e4a3415c01a6a6ba2c95d4ab7e8"/><file name="mysql4-upgrade-1.5.1-1.5.5.php" hash="83f421852862b528296efcfb69478286"/><file name="mysql4-upgrade-1.5.1-1.5.6.php" hash="8f1676e7dc9745294055561da67777fd"/><file name="mysql4-upgrade-1.5.1-1.5.7.php" hash="8f1676e7dc9745294055561da67777fd"/><file name="mysql4-upgrade-1.5.2-1.5.3.php" hash="f0b50443003dd3d86adae3fe1d0df6a3"/><file name="mysql4-upgrade-1.5.2-1.5.4.php" hash="d4eedacc2a9762fe281859b9d7299a97"/><file name="mysql4-upgrade-1.5.2-1.5.5.php" hash="d38edd4e064bb4d22b2156a6313accf0"/><file name="mysql4-upgrade-1.5.2-1.5.6.php" hash="62cd8ede70f69fca8c967535eaafb522"/><file name="mysql4-upgrade-1.5.2-1.5.7.php" hash="62cd8ede70f69fca8c967535eaafb522"/><file name="mysql4-upgrade-1.5.3-1.5.4.php" hash="d12b6833f9855d4f9a57be0a233c4ba5"/><file name="mysql4-upgrade-1.5.3-1.5.5.php" hash="ed28b0437bdd6bb51397a092089a05a2"/><file name="mysql4-upgrade-1.5.3-1.5.6.php" hash="e97395aaa2b4ca62e805f9f7babc2c93"/><file name="mysql4-upgrade-1.5.3-1.5.7.php" hash="e97395aaa2b4ca62e805f9f7babc2c93"/><file name="mysql4-upgrade-1.5.4-1.5.5.php" hash="1c4f542ef99a0483ed65aa6b2b5c698a"/><file name="mysql4-upgrade-1.5.4-1.5.6.php" hash="b2318c532a0f245161cce4b24ab9c7ce"/><file name="mysql4-upgrade-1.5.4-1.5.7.php" hash="b2318c532a0f245161cce4b24ab9c7ce"/><file name="mysql4-upgrade-1.5.5-1.5.6.php" hash="046f95cfef93bc42f9b7ae5252643a9c"/><file name="mysql4-upgrade-1.5.5-1.5.7.php" hash="046f95cfef93bc42f9b7ae5252643a9c"/><file name="mysql4-upgrade-1.5.6-1.5.7.php" hash="8d9fd18c79349bddc659fad52f8268a0"/></dir></dir></dir></dir></target></contents>
43
  <compatible/>
44
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
45
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>mPAY24</name>
4
+ <version>1.6.0</version>
5
  <stability>stable</stability>
6
  <license>Open Software License (OSL 3.0)</license>
7
  <channel>community</channel>
35
  4.Payment Method discount bug fixed.&#xD;
36
  &#xD;
37
  5.Default Styling added.&#xD;
38
+ &#xD;
39
+ 6. State added to Shipping and Billing Address in the MDXI&#xD;
40
+ &#xD;
41
  </notes>
42
+ <authors><author><name>Anna Sadriu</name><user>mPAY24</user><email>dev@mpay24.com</email></author></authors>
43
+ <date>2015-06-24</date>
44
+ <time>09:51:52</time>
45
+ <contents><target name="magelocale"><dir name="de_AT"><file name="Mpay24_Mpay24.csv" hash="10b66d2ae4f0f717c329d2418b692d6a"/></dir><dir name="de_DE"><file name="Mpay24_Mpay24.csv" hash="10b66d2ae4f0f717c329d2418b692d6a"/></dir><dir name="de_CH"><file name="Mpay24_Mpay24.csv" hash="10b66d2ae4f0f717c329d2418b692d6a"/></dir><dir name="en_US"><file name="Mpay24_Mpay24.csv" hash="06f0690380f0208d3fd2d68e643ba2e4"/></dir></target><target name="mageetc"><dir name="modules"><file name="Mpay24_Mpay24.xml" hash="b72d5db414345c8c12aeb2237364d5e5"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="mpay24"><dir name="form"><file name="area.phtml" hash="b0561f721ae7b0e9037c47189aa209f3"/><file name="dropDown.phtml" hash="892bac9682d9516b5187dbe90f9fc56d"/><file name="radio.phtml" hash="3bfb65a7091a5dd9c45655a144d1e869"/></dir><dir name="info"><file name="selectpayment.phtml" hash="0c34c3104166b4bc976de6af88d5e950"/></dir></dir></dir><dir name="layout"><file name="mpay24.xml" hash="ff2bd79f4f227fcac136caa5a0932e23"/></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="3d2c2739e0ef05596ca60edba8bac8f6"/></dir><file name="selectpayment.phtml" hash="44a8e561d50bfe074b01b9f0f4ca4f78"/></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="858b3c21a873f79fe6225c14f2eb79bd"/></dir><dir name="Invoice"><file name="Totals.php" hash="49b22a320c55911bbda580092bfc7594"/></dir><file name="Totals.php" hash="b55fca1ef8fc64674697c29a68253541"/></dir><file name="Totals.php" hash="6a60d9bffefccfa9ace5d3ee8eb10eba"/></dir><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Fieldset.php" hash="ad27b13cbb846ff32ae037541824c6a8"/></dir></dir></dir></dir><dir name="Form"><file name="Selectpayment.php" hash="abb875f42800573589619bce4bb485ef"/></dir><file name="Form.php" hash="57aecb5aa4756ac2097410aaabe2d527"/><dir name="Info"><file name="Selectpayment.php" hash="7b4b737862ad124b73ba7c357184d838"/></dir><file name="Mpay24.php" hash="5189a49bc763bfa0b7d6e683da3e0c54"/><file name="ParentRedirect.php" hash="4d7dbbee705cc04172c0ce980720327c"/><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="b8dda48dc36d26e9ad5c5869045cda39"/></dir><dir name="Invoice"><file name="Totals.php" hash="f00705c4a31d100c9433fedaf4c83a2f"/></dir><file name="Totals.php" hash="af1c20cd43def7669ae22e0fced7660d"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="8dd5de8e06853908c0af5689d619405f"/></dir><dir name="Model"><dir name="Api"><file name="MDXI.xsd" hash="632a64d7b4c62518dcbb451ed514edb9"/><file name="MPay24Api.php" hash="9de780410405aeba4fb8f1db79f8dcc5"/><file name="MPay24MagentoShop.php" hash="c72c3bc584d1faa265703f812b4c80a5"/><file name="MPay24Shop.php" hash="7c9cda9037d6771950aed259830da52c"/><file name="cacert.pem" hash="bbdf22048274504901419498aa558890"/><file name="curllog.log" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="orderXML.php" hash="5eeee4f6d4ed0e0e2e36929c2c14c9e0"/><dir name="xmls"><file name="Example_MDXI.xml" hash="dddd02e4cdc0905792c1a2a9f3681bfd"/></dir></dir><file name="Config.php" hash="843f9a22c4c624bca04d9ed7efe83bb9"/><dir name="Entity"><file name="Setup.php" hash="89719712defb6f542c6b107b53ec0337"/></dir><dir name="Method"><file name="Abstract.php" hash="c2e0bfe3b0dec8965dde0069473efc41"/><file name="Selectpayment.php" hash="1b1eb95d168d1f54df913a7c2252514c"/></dir><dir name="Mpay24"><file name="Debug.php" hash="6f777ec3f5f993da68068debdf317678"/></dir><dir name="Mysql4"><dir name="Mpay24"><dir name="Debug"><file name="Collection.php" hash="0587f1af86c0d72aec586af5c6be0977"/></dir><file name="Debug.php" hash="bb91b154c60be7db1ff571c78382b3af"/></dir><file name="Setup.php" hash="ac5414ad9fddeb8005fd7953877cb5aa"/></dir><file name="Observer.php" hash="417cf2484d15da2dcc32c3f582078916"/><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><dir name="Total"><file name="Paymentcharge.php" hash="af5c31bcef53696207e2c19b934ca42a"/></dir></dir><dir name="Invoice"><dir name="Total"><file name="Paymentcharge.php" hash="6f34f11c18a75d1a39bd26d890e7f706"/></dir></dir></dir><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Paymentcharge.php" hash="159fe1fbf65fbbd053da24e4e194a4f0"/></dir></dir></dir></dir><file name="Selectpayment.php" hash="c6db3c66417c1fa43a74d83fa564b2a2"/><file name="Session.php" hash="268a9b9737dcc4eadf40634c16991270"/><dir name="Source"><file name="AllowedIPs.php" hash="2bbd8f58ea976506c417d8f893318378"/><file name="BillAddr.php" hash="2c5454e3182f1346b51b631ca3d6bcbb"/><file name="ClearingAction.php" hash="a8354348de59296cad357e544586dad8"/><file name="FormTemplate.php" hash="2bc01719f389e2064e90932a0eb99f93"/><file name="PaidOrder.php" hash="3c240e18bafd57d718e035a55a858d8b"/><file name="PaymentCharge.php" hash="4b2a69b104bc278760cbf4466988ec27"/><file name="PaymentsActive.php" hash="4cca6cc364249692a35219c9690832b2"/><file name="Request.php" hash="06dc5c0a1b7698e8ee3792a17cb85623"/><file name="Result.php" hash="755477cf005ef91a5e506859381d9ad2"/><file name="ShoppingCartRowsAction.php" hash="562284cb6fdb0d5926bc0150e41b4a31"/><file name="System.php" hash="8423fb3053afd56825967d95d1f063e3"/></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Encrypted.php" hash="643cd91d632e5d5d3a3a18695c99d615"/></dir></dir></dir></dir><dir name="controllers"><file name="IndexController.php" hash="86701b373ac7d09985fc68710caa45bc"/><file name="PaymentController.php" hash="eb5aac59dcebc19e89d851d735ab5c09"/></dir><dir name="etc"><file name="config.xml" hash="fc159f366e6e72074baf69b121f78dc4"/><file name="system.xml" hash="3a94ac03b385423e78815977f56b3a4c"/></dir><dir name="sql"><dir name="mpay24_setup"><file name="mysql4-install-1.6.0.php" hash="dc4049cf80fd85595f9498dbf451c175"/></dir></dir></dir></dir></target></contents>
46
  <compatible/>
47
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
48
  </package>