mPAY24 - Version 1.5.4

Version Notes

BILLPAY information (bank name, bank code, reference, etc) added to the invoice.

Download this release

Release Info

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


Code changes from version 1.5.3 to 1.5.4

Files changed (42) hide show
  1. app/code/community/Mpay24/Mpay24/Model/Api/MDXI.xsd +6 -0
  2. app/code/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php +12 -12
  3. app/code/community/Mpay24/Mpay24/Model/Api/curllog.log +0 -522
  4. app/code/community/Mpay24/Mpay24/controllers/PaymentController.php +67 -5
  5. app/code/community/Mpay24/Mpay24/etc/config.xml +2 -2
  6. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/{mysql4-install-1.5.1.php → mysql4-install-1.5.4.php} +1 -1
  7. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.4-1.5.2.php +53 -0
  8. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.4-1.5.3.php +53 -0
  9. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.4-1.5.4.php +53 -0
  10. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.5-1.5.2.php +53 -0
  11. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.5-1.5.3.php +53 -0
  12. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.5-1.5.4.php +53 -0
  13. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.6-1.5.2.php +53 -0
  14. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.6-1.5.3.php +53 -0
  15. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.6-1.5.4.php +53 -0
  16. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.7-1.5.2.php +53 -0
  17. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.7-1.5.3.php +53 -0
  18. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.7-1.5.4.php +53 -0
  19. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.8-1.5.2.php +53 -0
  20. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.8-1.5.3.php +53 -0
  21. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.8-1.5.4.php +53 -0
  22. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.9-1.5.2.php +53 -0
  23. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.9-1.5.3.php +53 -0
  24. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.4.9-1.5.4.php +53 -0
  25. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.0-1.5.2.php +53 -0
  26. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.0-1.5.3.php +53 -0
  27. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.0-1.5.4.php +53 -0
  28. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.1-1.5.2.php +53 -0
  29. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.1-1.5.3.php +53 -0
  30. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.1-1.5.4.php +53 -0
  31. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.2-1.5.3.php +53 -0
  32. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.2-1.5.4.php +53 -0
  33. app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-upgrade-1.5.3-1.5.4.php +53 -0
  34. app/design/adminhtml/default/default/template/mpay24/info/pdf/selectpayment.phtml +23 -2
  35. app/design/adminhtml/default/default/template/mpay24/info/selectpayment.phtml +17 -1
  36. app/design/frontend/default/default/template/mpay24/info/selectpayment.phtml +18 -2
  37. app/etc/modules/Mpay24_Mpay24.xml +2 -2
  38. app/locale/de_AT/Mpay24_Mpay24.csv +6 -1
  39. app/locale/de_CH/Mpay24_Mpay24.csv +6 -1
  40. app/locale/de_DE/Mpay24_Mpay24.csv +6 -1
  41. app/locale/en_US/Mpay24_Mpay24.csv +6 -1
  42. package.xml +5 -7
app/code/community/Mpay24/Mpay24/Model/Api/MDXI.xsd CHANGED
@@ -22,6 +22,12 @@
22
  <xs:enumeration value="TR"/>
23
  <xs:enumeration value="ZH"/>
24
  <xs:enumeration value="JA"/>
 
 
 
 
 
 
25
  </xs:restriction>
26
  </xs:simpleType>
27
  <xs:simpleType name="ClientIPType">
22
  <xs:enumeration value="TR"/>
23
  <xs:enumeration value="ZH"/>
24
  <xs:enumeration value="JA"/>
25
+ <xs:enumeration value="DA"/>
26
+ <xs:enumeration value="FI"/>
27
+ <xs:enumeration value="SV"/>
28
+ <xs:enumeration value="NO"/>
29
+ <xs:enumeration value="UK"/>
30
+ <xs:enumeration value="EL"/>
31
  </xs:restriction>
32
  </xs:simpleType>
33
  <xs:simpleType name="ClientIPType">
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 28 2014-09-29 09:31:11Z 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.3 ";
24
 
25
  var $tid;
26
  var $price;
@@ -279,7 +279,7 @@ class MPay24MagentoShop extends MPay24Shop {
279
  $mdxi->Order->TemplateSet->setLanguage(strtoupper($lang[0]));
280
  else
281
  $mdxi->Order->TemplateSet->setLanguage("EN");
282
-
283
  $mdxi->Order->TemplateSet->setCSSName("MOBILE");
284
 
285
  if($this->ps) {
@@ -404,7 +404,7 @@ class MPay24MagentoShop extends MPay24Shop {
404
  $mdxi->Order->ShoppingCart->Item($linecount)->ItemPrice->setStyle($style);
405
  }
406
  }
407
-
408
  if(Mage::getStoreConfig('tax/cart_display/price') == 2 || Mage::getStoreConfig('tax/cart_display/price') == 3) {
409
  if(in_array('Price',$conf)) {
410
  $mdxi->Order->ShoppingCart->Item($linecount)->Price = number_format(($_item->getPriceInclTax()*1),2,'.','') * (int)$_item->getQtyOrdered();
@@ -441,14 +441,14 @@ class MPay24MagentoShop extends MPay24Shop {
441
  $mdxi->Order->ShoppingCart->ShippingCosts($s, number_format($this->order->getShippingInclTax(), 2, '.', ''));
442
  else
443
  $mdxi->Order->ShoppingCart->ShippingCosts($s, number_format($this->order->getData('shipping_amount'), 2, '.', ''));
444
-
445
  $mdxi->Order->ShoppingCart->ShippingCosts($s)->setHeader($this->order->getData('shipping_description'));
446
  $mdxi->Order->ShoppingCart->ShippingCosts($s)->setHeaderStyle(Mage::getStoreConfig('mpay24/mpay24spsc/shipping_costs_headerstyle'));
447
  $mdxi->Order->ShoppingCart->ShippingCosts($s)->setStyle(Mage::getStoreConfig('mpay24/mpay24spsc/shipping_costs_style'));
448
-
449
  $s++;
450
  }
451
-
452
  if($this->order->getPaymentCharge() > 0) {
453
  if($this->order->getPaymentChargeType() == "percent") {
454
  $mdxi->Order->ShoppingCart->ShippingCosts($s, number_format($this->order->getData('subtotal')*$this->order->getBasePaymentCharge()/100,2,'.',''));
@@ -457,7 +457,7 @@ class MPay24MagentoShop extends MPay24Shop {
457
  $mdxi->Order->ShoppingCart->ShippingCosts($s, number_format($this->order->getPaymentCharge(),2,'.',''));
458
  $mdxi->Order->ShoppingCart->ShippingCosts($s)->setHeader(Mage::helper('mpay24')->__("Payment charge") . " (" . Mage::helper('mpay24')->__("Absolute value") . ")");
459
  }
460
-
461
  $mdxi->Order->ShoppingCart->ShippingCosts($s)->setHeaderStyle(Mage::getStoreConfig('mpay24/mpay24spsc/tax_headerstyle'));
462
  $mdxi->Order->ShoppingCart->ShippingCosts($s)->setStyle(Mage::getStoreConfig('mpay24/mpay24spsc/tax_style'));
463
  }
@@ -482,12 +482,12 @@ class MPay24MagentoShop extends MPay24Shop {
482
  $inklText = "";
483
 
484
  $mdxi->Order->ShoppingCart->Tax($t, number_format($taxArray['amount'],2,'.',''));
485
-
486
  $mdxi->Order->ShoppingCart->Tax($t)->setHeader($inklText . $taxArray['id']);
487
  $mdxi->Order->ShoppingCart->Tax($t)->setHeaderStyle(Mage::getStoreConfig('mpay24/mpay24spsc/tax_headerstyle'));
488
  $mdxi->Order->ShoppingCart->Tax($t)->setStyle(Mage::getStoreConfig('mpay24/mpay24spsc/tax_style'));
489
  $mdxi->Order->ShoppingCart->Tax($t)->setPercent(number_format($taxArray['rates'][0]['percent'],0,'.',''));
490
-
491
  $t++;
492
  }
493
  }
@@ -513,7 +513,7 @@ class MPay24MagentoShop extends MPay24Shop {
513
  }
514
 
515
  $mdxi->Order->Price = $transaction->PRICE;
516
-
517
  $mdxi->Order->Price->setHeader(Mage::getStoreConfig('mpay24/mpay24spsc/price_header'));
518
  $mdxi->Order->Price->setHeaderStyle(Mage::getStoreConfig('mpay24/mpay24spsc/price_headerstyle'));
519
  $mdxi->Order->Price->setStyle(Mage::getStoreConfig('mpay24/mpay24spsc/price_style'));
@@ -688,7 +688,7 @@ class MPay24MagentoShop extends MPay24Shop {
688
  $debug = TRUE;
689
  else
690
  $debug = FALSE;
691
-
692
  if(Mage::getStoreConfig('mpay24/mpay24as/verify_peer') == 1)
693
  $verify_peer = TRUE;
694
  else
1
  <?php
2
  /**
3
  * @author support@mpay24.com
4
+ * @version $Id: MPay24MagentoShop.php 29 2014-11-10 13:21:51Z sapolhei $
5
  * @filesource test.php
6
  * @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
7
  */
20
 
21
  const CANCEL_URL = 'mpay24/payment/cancel';
22
 
23
+ const MAGENTO_VERSION = "Magento 1.5.4 ";
24
 
25
  var $tid;
26
  var $price;
279
  $mdxi->Order->TemplateSet->setLanguage(strtoupper($lang[0]));
280
  else
281
  $mdxi->Order->TemplateSet->setLanguage("EN");
282
+
283
  $mdxi->Order->TemplateSet->setCSSName("MOBILE");
284
 
285
  if($this->ps) {
404
  $mdxi->Order->ShoppingCart->Item($linecount)->ItemPrice->setStyle($style);
405
  }
406
  }
407
+
408
  if(Mage::getStoreConfig('tax/cart_display/price') == 2 || Mage::getStoreConfig('tax/cart_display/price') == 3) {
409
  if(in_array('Price',$conf)) {
410
  $mdxi->Order->ShoppingCart->Item($linecount)->Price = number_format(($_item->getPriceInclTax()*1),2,'.','') * (int)$_item->getQtyOrdered();
441
  $mdxi->Order->ShoppingCart->ShippingCosts($s, number_format($this->order->getShippingInclTax(), 2, '.', ''));
442
  else
443
  $mdxi->Order->ShoppingCart->ShippingCosts($s, number_format($this->order->getData('shipping_amount'), 2, '.', ''));
444
+
445
  $mdxi->Order->ShoppingCart->ShippingCosts($s)->setHeader($this->order->getData('shipping_description'));
446
  $mdxi->Order->ShoppingCart->ShippingCosts($s)->setHeaderStyle(Mage::getStoreConfig('mpay24/mpay24spsc/shipping_costs_headerstyle'));
447
  $mdxi->Order->ShoppingCart->ShippingCosts($s)->setStyle(Mage::getStoreConfig('mpay24/mpay24spsc/shipping_costs_style'));
448
+
449
  $s++;
450
  }
451
+
452
  if($this->order->getPaymentCharge() > 0) {
453
  if($this->order->getPaymentChargeType() == "percent") {
454
  $mdxi->Order->ShoppingCart->ShippingCosts($s, number_format($this->order->getData('subtotal')*$this->order->getBasePaymentCharge()/100,2,'.',''));
457
  $mdxi->Order->ShoppingCart->ShippingCosts($s, number_format($this->order->getPaymentCharge(),2,'.',''));
458
  $mdxi->Order->ShoppingCart->ShippingCosts($s)->setHeader(Mage::helper('mpay24')->__("Payment charge") . " (" . Mage::helper('mpay24')->__("Absolute value") . ")");
459
  }
460
+
461
  $mdxi->Order->ShoppingCart->ShippingCosts($s)->setHeaderStyle(Mage::getStoreConfig('mpay24/mpay24spsc/tax_headerstyle'));
462
  $mdxi->Order->ShoppingCart->ShippingCosts($s)->setStyle(Mage::getStoreConfig('mpay24/mpay24spsc/tax_style'));
463
  }
482
  $inklText = "";
483
 
484
  $mdxi->Order->ShoppingCart->Tax($t, number_format($taxArray['amount'],2,'.',''));
485
+
486
  $mdxi->Order->ShoppingCart->Tax($t)->setHeader($inklText . $taxArray['id']);
487
  $mdxi->Order->ShoppingCart->Tax($t)->setHeaderStyle(Mage::getStoreConfig('mpay24/mpay24spsc/tax_headerstyle'));
488
  $mdxi->Order->ShoppingCart->Tax($t)->setStyle(Mage::getStoreConfig('mpay24/mpay24spsc/tax_style'));
489
  $mdxi->Order->ShoppingCart->Tax($t)->setPercent(number_format($taxArray['rates'][0]['percent'],0,'.',''));
490
+
491
  $t++;
492
  }
493
  }
513
  }
514
 
515
  $mdxi->Order->Price = $transaction->PRICE;
516
+
517
  $mdxi->Order->Price->setHeader(Mage::getStoreConfig('mpay24/mpay24spsc/price_header'));
518
  $mdxi->Order->Price->setHeaderStyle(Mage::getStoreConfig('mpay24/mpay24spsc/price_headerstyle'));
519
  $mdxi->Order->Price->setStyle(Mage::getStoreConfig('mpay24/mpay24spsc/price_style'));
688
  $debug = TRUE;
689
  else
690
  $debug = FALSE;
691
+
692
  if(Mage::getStoreConfig('mpay24/mpay24as/verify_peer') == 1)
693
  $verify_peer = TRUE;
694
  else
app/code/community/Mpay24/Mpay24/Model/Api/curllog.log CHANGED
@@ -1,522 +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 (#5)
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 / DHE-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: Tue, 24 Jun 2014 14:17:52 GMT
27
- * Server is not blacklisted
28
- < Server:
29
- < Content-Length: 2367
30
- < Content-Type: text/xml; charset=utf-8
31
- <
32
- * Connection #5 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 (#6)
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 / DHE-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: Tue, 24 Jun 2014 14:25:48 GMT
60
- * Server is not blacklisted
61
- < Server:
62
- < Content-Length: 2367
63
- < Content-Type: text/xml; charset=utf-8
64
- <
65
- * Connection #6 to host test.mpay24.com left intact
66
- * Hostname was found in DNS cache
67
- * Trying 192.168.10.14...
68
- * Connected to test.mpay24.com (192.168.10.14) port 443 (#7)
69
- * successfully set certificate verify locations:
70
- * CAfile: E:\Users\sadrian\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
71
- CApath: none
72
- * SSL connection using TLSv1.2 / DHE-RSA-AES256-GCM-SHA384
73
- * Server certificate:
74
- * subject: OU=Domain Control Validated; OU=Provided by EUNETIC GmbH; OU=EuropeanSSL Single; CN=test.mpay24.com
75
- * start date: 2013-05-13 00:00:00 GMT
76
- * expire date: 2015-05-13 23:59:59 GMT
77
- * subjectAltName: test.mpay24.com matched
78
- * issuer: C=DE; O=EUNETIC GmbH; CN=EuropeanSSL Server CA
79
- * SSL certificate verify ok.
80
- * Server auth using Basic with user 'u99999'
81
- > POST /app/bin/etpproxy_v15 HTTP/1.1
82
- Authorization: Basic dTk5OTk5OlZhcm5hLjMwMTIyMDEx
83
- User-Agent: mPAY24 PHP API $Rev: 9 $ ($Date:: 2013-10-29 #$)
84
- Host: test.mpay24.com
85
- Accept: */*
86
- Content-Length: 423
87
- Content-Type: application/x-www-form-urlencoded
88
-
89
- * upload completely sent off: 423 out of 423 bytes
90
- < HTTP/1.1 200 OK
91
- < Date: Tue, 24 Jun 2014 14:26:03 GMT
92
- * Server is not blacklisted
93
- < Server:
94
- < Content-Length: 2367
95
- < Content-Type: text/xml; charset=utf-8
96
- <
97
- * Connection #7 to host test.mpay24.com left intact
98
- * Hostname was NOT found in DNS cache
99
- * Trying 192.168.10.14...
100
- * Connected to test.mpay24.com (192.168.10.14) port 443 (#12)
101
- * successfully set certificate verify locations:
102
- * CAfile: E:\Users\sadrian\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
103
- CApath: none
104
- * SSL connection using TLSv1.2 / DHE-RSA-AES256-GCM-SHA384
105
- * Server certificate:
106
- * subject: OU=Domain Control Validated; OU=Provided by EUNETIC GmbH; OU=EuropeanSSL Single; CN=test.mpay24.com
107
- * start date: 2013-05-13 00:00:00 GMT
108
- * expire date: 2015-05-13 23:59:59 GMT
109
- * subjectAltName: test.mpay24.com matched
110
- * issuer: C=DE; O=EUNETIC GmbH; CN=EuropeanSSL Server CA
111
- * SSL certificate verify ok.
112
- * Server auth using Basic with user 'u99999'
113
- > POST /app/bin/etpproxy_v15 HTTP/1.1
114
- Authorization: Basic dTk5OTk5OlZhcm5hLjMwMTIyMDEx
115
- User-Agent: Magento v. 1.9.0.1 - Module v. Magento 1.5.1
116
- Host: test.mpay24.com
117
- Accept: */*
118
- Content-Length: 2647
119
- Content-Type: application/x-www-form-urlencoded
120
- Expect: 100-continue
121
-
122
- < HTTP/1.1 100 Continue
123
- < HTTP/1.1 200 OK
124
- < Date: Tue, 24 Jun 2014 15:07:14 GMT
125
- * Server is not blacklisted
126
- < Server:
127
- < Content-Length: 594
128
- < Content-Type: text/xml; charset=utf-8
129
- <
130
- * Connection #12 to host test.mpay24.com left intact
131
- * Hostname was found in DNS cache
132
- * Hostname in DNS cache was stale, zapped
133
- * Trying 192.168.10.14...
134
- * Connected to test.mpay24.com (192.168.10.14) port 443 (#14)
135
- * successfully set certificate verify locations:
136
- * CAfile: E:\Users\sadrian\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
137
- CApath: none
138
- * SSL connection using TLSv1.2 / DHE-RSA-AES256-GCM-SHA384
139
- * Server certificate:
140
- * subject: OU=Domain Control Validated; OU=Provided by EUNETIC GmbH; OU=EuropeanSSL Single; CN=test.mpay24.com
141
- * start date: 2013-05-13 00:00:00 GMT
142
- * expire date: 2015-05-13 23:59:59 GMT
143
- * subjectAltName: test.mpay24.com matched
144
- * issuer: C=DE; O=EUNETIC GmbH; CN=EuropeanSSL Server CA
145
- * SSL certificate verify ok.
146
- * Server auth using Basic with user 'u99999'
147
- > POST /app/bin/etpproxy_v15 HTTP/1.1
148
- Authorization: Basic dTk5OTk5OlZhcm5hLjMwMTIyMDEx
149
- User-Agent: mPAY24 PHP API $Rev: 9 $ ($Date:: 2013-10-29 #$)
150
- Host: test.mpay24.com
151
- Accept: */*
152
- Content-Length: 448
153
- Content-Type: application/x-www-form-urlencoded
154
-
155
- * upload completely sent off: 448 out of 448 bytes
156
- < HTTP/1.1 200 OK
157
- < Date: Tue, 24 Jun 2014 15:09:24 GMT
158
- * Server is not blacklisted
159
- < Server:
160
- < Content-Length: 2664
161
- < Content-Type: text/xml; charset=utf-8
162
- <
163
- * Connection #14 to host test.mpay24.com left intact
164
- * Hostname was found in DNS cache
165
- * Trying 192.168.10.14...
166
- * Connected to test.mpay24.com (192.168.10.14) port 443 (#15)
167
- * successfully set certificate verify locations:
168
- * CAfile: E:\Users\sadrian\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
169
- CApath: none
170
- * SSL connection using TLSv1.2 / DHE-RSA-AES256-GCM-SHA384
171
- * Server certificate:
172
- * subject: OU=Domain Control Validated; OU=Provided by EUNETIC GmbH; OU=EuropeanSSL Single; CN=test.mpay24.com
173
- * start date: 2013-05-13 00:00:00 GMT
174
- * expire date: 2015-05-13 23:59:59 GMT
175
- * subjectAltName: test.mpay24.com matched
176
- * issuer: C=DE; O=EUNETIC GmbH; CN=EuropeanSSL Server CA
177
- * SSL certificate verify ok.
178
- * Server auth using Basic with user 'u99999'
179
- > POST /app/bin/etpproxy_v15 HTTP/1.1
180
- Authorization: Basic dTk5OTk5OlZhcm5hLjMwMTIyMDEx
181
- User-Agent: mPAY24 PHP API $Rev: 9 $ ($Date:: 2013-10-29 #$)
182
- Host: test.mpay24.com
183
- Accept: */*
184
- Content-Length: 524
185
- Content-Type: application/x-www-form-urlencoded
186
-
187
- * upload completely sent off: 524 out of 524 bytes
188
- < HTTP/1.1 200 OK
189
- < Date: Tue, 24 Jun 2014 15:09:30 GMT
190
- * Server is not blacklisted
191
- < Server:
192
- < Content-Length: 582
193
- < Content-Type: text/xml; charset=utf-8
194
- <
195
- * Connection #15 to host test.mpay24.com left intact
196
- * Hostname was found in DNS cache
197
- * Trying 192.168.10.14...
198
- * Connected to test.mpay24.com (192.168.10.14) port 443 (#16)
199
- * successfully set certificate verify locations:
200
- * CAfile: E:\Users\sadrian\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
201
- CApath: none
202
- * SSL connection using TLSv1.2 / DHE-RSA-AES256-GCM-SHA384
203
- * Server certificate:
204
- * subject: OU=Domain Control Validated; OU=Provided by EUNETIC GmbH; OU=EuropeanSSL Single; CN=test.mpay24.com
205
- * start date: 2013-05-13 00:00:00 GMT
206
- * expire date: 2015-05-13 23:59:59 GMT
207
- * subjectAltName: test.mpay24.com matched
208
- * issuer: C=DE; O=EUNETIC GmbH; CN=EuropeanSSL Server CA
209
- * SSL certificate verify ok.
210
- * Server auth using Basic with user 'u99999'
211
- > POST /app/bin/etpproxy_v15 HTTP/1.1
212
- Authorization: Basic dTk5OTk5OlZhcm5hLjMwMTIyMDEx
213
- User-Agent: mPAY24 PHP API $Rev: 9 $ ($Date:: 2013-10-29 #$)
214
- Host: test.mpay24.com
215
- Accept: */*
216
- Content-Length: 454
217
- Content-Type: application/x-www-form-urlencoded
218
-
219
- * upload completely sent off: 454 out of 454 bytes
220
- < HTTP/1.1 200 OK
221
- < Date: Tue, 24 Jun 2014 15:10:25 GMT
222
- * Server is not blacklisted
223
- < Server:
224
- < Content-Length: 2664
225
- < Content-Type: text/xml; charset=utf-8
226
- <
227
- * Connection #16 to host test.mpay24.com left intact
228
- * Hostname was NOT found in DNS cache
229
- * Trying 192.168.10.14...
230
- * Connected to test.mpay24.com (192.168.10.14) port 443 (#2)
231
- * successfully set certificate verify locations:
232
- * CAfile: E:\Users\sadrian\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
233
- CApath: none
234
- * SSL connection using TLSv1.2 / DHE-RSA-AES256-GCM-SHA384
235
- * Server certificate:
236
- * subject: OU=Domain Control Validated; OU=Provided by EUNETIC GmbH; OU=EuropeanSSL Single; CN=test.mpay24.com
237
- * start date: 2013-05-13 00:00:00 GMT
238
- * expire date: 2015-05-13 23:59:59 GMT
239
- * subjectAltName: test.mpay24.com matched
240
- * issuer: C=DE; O=EUNETIC GmbH; CN=EuropeanSSL Server CA
241
- * SSL certificate verify ok.
242
- * Server auth using Basic with user 'u99999'
243
- > POST /app/bin/etpproxy_v15 HTTP/1.1
244
- Authorization: Basic dTk5OTk5OlZhcm5hLjMwMTIyMDEx
245
- User-Agent: mPAY24 PHP API $Rev: 9 $ ($Date:: 2013-10-29 #$)
246
- Host: test.mpay24.com
247
- Accept: */*
248
- Content-Length: 423
249
- Content-Type: application/x-www-form-urlencoded
250
-
251
- * upload completely sent off: 423 out of 423 bytes
252
- < HTTP/1.1 200 OK
253
- < Date: Wed, 16 Jul 2014 06:43:39 GMT
254
- * Server is not blacklisted
255
- < Server:
256
- < Content-Length: 2367
257
- < Content-Type: text/xml; charset=utf-8
258
- <
259
- * Connection #2 to host test.mpay24.com left intact
260
- * Hostname was found in DNS cache
261
- * Hostname in DNS cache was stale, zapped
262
- * Trying 192.168.10.14...
263
- * Connected to test.mpay24.com (192.168.10.14) port 443 (#5)
264
- * successfully set certificate verify locations:
265
- * CAfile: E:\Users\sadrian\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
266
- CApath: none
267
- * SSL connection using TLSv1.2 / DHE-RSA-AES256-GCM-SHA384
268
- * Server certificate:
269
- * subject: OU=Domain Control Validated; OU=Provided by EUNETIC GmbH; OU=EuropeanSSL Single; CN=test.mpay24.com
270
- * start date: 2013-05-13 00:00:00 GMT
271
- * expire date: 2015-05-13 23:59:59 GMT
272
- * subjectAltName: test.mpay24.com matched
273
- * issuer: C=DE; O=EUNETIC GmbH; CN=EuropeanSSL Server CA
274
- * SSL certificate verify ok.
275
- * Server auth using Basic with user 'u99999'
276
- > POST /app/bin/etpproxy_v15 HTTP/1.1
277
- Authorization: Basic dTk5OTk5OlZhcm5hLjMwMTIyMDEx
278
- User-Agent: mPAY24 PHP API $Rev: 9 $ ($Date:: 2013-10-29 #$)
279
- Host: test.mpay24.com
280
- Accept: */*
281
- Content-Length: 423
282
- Content-Type: application/x-www-form-urlencoded
283
-
284
- * upload completely sent off: 423 out of 423 bytes
285
- < HTTP/1.1 200 OK
286
- < Date: Wed, 16 Jul 2014 06:46:05 GMT
287
- * Server is not blacklisted
288
- < Server:
289
- < Content-Length: 2367
290
- < Content-Type: text/xml; charset=utf-8
291
- <
292
- * Connection #5 to host test.mpay24.com left intact
293
- * Hostname was found in DNS cache
294
- * Hostname in DNS cache was stale, zapped
295
- * Trying 192.168.10.14...
296
- * Connected to test.mpay24.com (192.168.10.14) port 443 (#8)
297
- * successfully set certificate verify locations:
298
- * CAfile: E:\Users\sadrian\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
299
- CApath: none
300
- * SSL connection using TLSv1.2 / DHE-RSA-AES256-GCM-SHA384
301
- * Server certificate:
302
- * subject: OU=Domain Control Validated; OU=Provided by EUNETIC GmbH; OU=EuropeanSSL Single; CN=test.mpay24.com
303
- * start date: 2013-05-13 00:00:00 GMT
304
- * expire date: 2015-05-13 23:59:59 GMT
305
- * subjectAltName: test.mpay24.com matched
306
- * issuer: C=DE; O=EUNETIC GmbH; CN=EuropeanSSL Server CA
307
- * SSL certificate verify ok.
308
- * Server auth using Basic with user 'u99999'
309
- > POST /app/bin/etpproxy_v15 HTTP/1.1
310
- Authorization: Basic dTk5OTk5OlZhcm5hLjMwMTIyMDEx
311
- User-Agent: mPAY24 PHP API $Rev: 9 $ ($Date:: 2013-10-29 #$)
312
- Host: test.mpay24.com
313
- Accept: */*
314
- Content-Length: 423
315
- Content-Type: application/x-www-form-urlencoded
316
-
317
- * upload completely sent off: 423 out of 423 bytes
318
- < HTTP/1.1 200 OK
319
- < Date: Wed, 16 Jul 2014 06:49:08 GMT
320
- * Server is not blacklisted
321
- < Server:
322
- < Content-Length: 2367
323
- < Content-Type: text/xml; charset=utf-8
324
- <
325
- * Connection #8 to host test.mpay24.com left intact
326
- * Hostname was found in DNS cache
327
- * Hostname in DNS cache was stale, zapped
328
- * Trying 192.168.10.14...
329
- * Connected to test.mpay24.com (192.168.10.14) port 443 (#13)
330
- * successfully set certificate verify locations:
331
- * CAfile: E:\Users\sadrian\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
332
- CApath: none
333
- * SSL connection using TLSv1.2 / DHE-RSA-AES256-GCM-SHA384
334
- * Server certificate:
335
- * subject: OU=Domain Control Validated; OU=Provided by EUNETIC GmbH; OU=EuropeanSSL Single; CN=test.mpay24.com
336
- * start date: 2013-05-13 00:00:00 GMT
337
- * expire date: 2015-05-13 23:59:59 GMT
338
- * subjectAltName: test.mpay24.com matched
339
- * issuer: C=DE; O=EUNETIC GmbH; CN=EuropeanSSL Server CA
340
- * SSL certificate verify ok.
341
- * Server auth using Basic with user 'u99999'
342
- > POST /app/bin/etpproxy_v15 HTTP/1.1
343
- Authorization: Basic dTk5OTk5OlZhcm5hLjMwMTIyMDEx
344
- User-Agent: mPAY24 PHP API $Rev: 9 $ ($Date:: 2013-10-29 #$)
345
- Host: test.mpay24.com
346
- Accept: */*
347
- Content-Length: 423
348
- Content-Type: application/x-www-form-urlencoded
349
-
350
- * upload completely sent off: 423 out of 423 bytes
351
- < HTTP/1.1 200 OK
352
- < Date: Wed, 16 Jul 2014 06:58:55 GMT
353
- * Server is not blacklisted
354
- < Server:
355
- < Content-Length: 2367
356
- < Content-Type: text/xml; charset=utf-8
357
- <
358
- * Connection #13 to host test.mpay24.com left intact
359
- * Hostname was found in DNS cache
360
- * Hostname in DNS cache was stale, zapped
361
- * Trying 192.168.10.14...
362
- * Connected to test.mpay24.com (192.168.10.14) port 443 (#17)
363
- * successfully set certificate verify locations:
364
- * CAfile: E:\Users\sadrian\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
365
- CApath: none
366
- * SSL connection using TLSv1.2 / DHE-RSA-AES256-GCM-SHA384
367
- * Server certificate:
368
- * subject: OU=Domain Control Validated; OU=Provided by EUNETIC GmbH; OU=EuropeanSSL Single; CN=test.mpay24.com
369
- * start date: 2013-05-13 00:00:00 GMT
370
- * expire date: 2015-05-13 23:59:59 GMT
371
- * subjectAltName: test.mpay24.com matched
372
- * issuer: C=DE; O=EUNETIC GmbH; CN=EuropeanSSL Server CA
373
- * SSL certificate verify ok.
374
- * Server auth using Basic with user 'u99999'
375
- > POST /app/bin/etpproxy_v15 HTTP/1.1
376
- Authorization: Basic dTk5OTk5OlZhcm5hLjMwMTIyMDEx
377
- User-Agent: mPAY24 PHP API $Rev: 9 $ ($Date:: 2013-10-29 #$)
378
- Host: test.mpay24.com
379
- Accept: */*
380
- Content-Length: 423
381
- Content-Type: application/x-www-form-urlencoded
382
-
383
- * upload completely sent off: 423 out of 423 bytes
384
- < HTTP/1.1 200 OK
385
- < Date: Wed, 16 Jul 2014 07:33:45 GMT
386
- * Server is not blacklisted
387
- < Server:
388
- < Content-Length: 2367
389
- < Content-Type: text/xml; charset=utf-8
390
- <
391
- * Connection #17 to host test.mpay24.com left intact
392
- * Hostname was found in DNS cache
393
- * Hostname in DNS cache was stale, zapped
394
- * Trying 192.168.10.14...
395
- * Connected to test.mpay24.com (192.168.10.14) port 443 (#18)
396
- * successfully set certificate verify locations:
397
- * CAfile: E:\Users\sadrian\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
398
- CApath: none
399
- * SSL connection using TLSv1.2 / DHE-RSA-AES256-GCM-SHA384
400
- * Server certificate:
401
- * subject: OU=Domain Control Validated; OU=Provided by EUNETIC GmbH; OU=EuropeanSSL Single; CN=test.mpay24.com
402
- * start date: 2013-05-13 00:00:00 GMT
403
- * expire date: 2015-05-13 23:59:59 GMT
404
- * subjectAltName: test.mpay24.com matched
405
- * issuer: C=DE; O=EUNETIC GmbH; CN=EuropeanSSL Server CA
406
- * SSL certificate verify ok.
407
- * Server auth using Basic with user 'u99999'
408
- > POST /app/bin/etpproxy_v15 HTTP/1.1
409
- Authorization: Basic dTk5OTk5OlZhcm5hLjMwMTIyMDEx
410
- User-Agent: mPAY24 PHP API $Rev: 9 $ ($Date:: 2013-10-29 #$)
411
- Host: test.mpay24.com
412
- Accept: */*
413
- Content-Length: 423
414
- Content-Type: application/x-www-form-urlencoded
415
-
416
- * upload completely sent off: 423 out of 423 bytes
417
- < HTTP/1.1 200 OK
418
- < Date: Wed, 16 Jul 2014 07:38:04 GMT
419
- * Server is not blacklisted
420
- < Server:
421
- < Content-Length: 2367
422
- < Content-Type: text/xml; charset=utf-8
423
- <
424
- * Connection #18 to host test.mpay24.com left intact
425
- * Hostname was found in DNS cache
426
- * Hostname in DNS cache was stale, zapped
427
- * Trying 192.168.10.14...
428
- * Connected to test.mpay24.com (192.168.10.14) port 443 (#19)
429
- * successfully set certificate verify locations:
430
- * CAfile: E:\Users\sadrian\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
431
- CApath: none
432
- * SSL connection using TLSv1.2 / DHE-RSA-AES256-GCM-SHA384
433
- * Server certificate:
434
- * subject: OU=Domain Control Validated; OU=Provided by EUNETIC GmbH; OU=EuropeanSSL Single; CN=test.mpay24.com
435
- * start date: 2013-05-13 00:00:00 GMT
436
- * expire date: 2015-05-13 23:59:59 GMT
437
- * subjectAltName: test.mpay24.com matched
438
- * issuer: C=DE; O=EUNETIC GmbH; CN=EuropeanSSL Server CA
439
- * SSL certificate verify ok.
440
- * Server auth using Basic with user 'u99999'
441
- > POST /app/bin/etpproxy_v15 HTTP/1.1
442
- Authorization: Basic dTk5OTk5OlZhcm5hLjMwMTIyMDEx
443
- User-Agent: mPAY24 PHP API $Rev: 9 $ ($Date:: 2013-10-29 #$)
444
- Host: test.mpay24.com
445
- Accept: */*
446
- Content-Length: 423
447
- Content-Type: application/x-www-form-urlencoded
448
-
449
- * upload completely sent off: 423 out of 423 bytes
450
- < HTTP/1.1 200 OK
451
- < Date: Wed, 16 Jul 2014 07:41:47 GMT
452
- * Server is not blacklisted
453
- < Server:
454
- < Content-Length: 2367
455
- < Content-Type: text/xml; charset=utf-8
456
- <
457
- * Connection #19 to host test.mpay24.com left intact
458
- * Hostname was NOT found in DNS cache
459
- * Trying 192.168.10.14...
460
- * Connected to test.mpay24.com (192.168.10.14) port 443 (#5)
461
- * successfully set certificate verify locations:
462
- * CAfile: E:\Users\sadrian\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
463
- CApath: none
464
- * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
465
- * Server certificate:
466
- * subject: OU=Domain Control Validated; OU=Provided by EUNETIC GmbH; OU=EuropeanSSL Single; CN=test.mpay24.com
467
- * start date: 2013-05-13 00:00:00 GMT
468
- * expire date: 2015-05-13 23:59:59 GMT
469
- * subjectAltName: test.mpay24.com matched
470
- * issuer: C=DE; O=EUNETIC GmbH; CN=EuropeanSSL Server CA
471
- * SSL certificate verify ok.
472
- * Server auth using Basic with user 'u99999'
473
- > POST /app/bin/etpproxy_v15 HTTP/1.1
474
- Authorization: Basic dTk5OTk5OlZhcm5hLjMwMTIyMDEx
475
- User-Agent: mPAY24 PHP API $Rev: 9 $ ($Date:: 2013-10-29 #$)
476
- Host: test.mpay24.com
477
- Accept: */*
478
- Content-Length: 423
479
- Content-Type: application/x-www-form-urlencoded
480
-
481
- * upload completely sent off: 423 out of 423 bytes
482
- < HTTP/1.1 200 OK
483
- < Date: Tue, 29 Jul 2014 08:15:28 GMT
484
- * Server is not blacklisted
485
- < Server:
486
- < Content-Length: 2367
487
- < Content-Type: text/xml; charset=utf-8
488
- <
489
- * Connection #5 to host test.mpay24.com left intact
490
- * About to connect() to test.mpay24.com port 443 (#0)
491
- * Trying 213.164.23.169...
492
- * connected
493
- * Connected to test.mpay24.com (213.164.23.169) port 443 (#0)
494
- * successfully set certificate verify locations:
495
- * CAfile: D:\xampp\htdocs\magento\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
496
- CApath: none
497
- * SSL connection using ECDHE-RSA-AES256-GCM-SHA384
498
- * Server certificate:
499
- * subject: OU=Domain Control Validated; OU=Provided by EUNETIC GmbH; OU=EuropeanSSL Single; CN=test.mpay24.com
500
- * start date: 2013-05-13 00:00:00 GMT
501
- * expire date: 2015-05-13 23:59:59 GMT
502
- * subjectAltName: test.mpay24.com matched
503
- * issuer: C=DE; O=EUNETIC GmbH; CN=EuropeanSSL Server CA
504
- * SSL certificate verify ok.
505
- * Server auth using Basic with user 'u92169'
506
- > POST /app/bin/etpproxy_v15 HTTP/1.1
507
- Authorization: Basic dTkyMTY5OlZhcm5hLjMwMTIyMDEx
508
- User-Agent: mPAY24 PHP API $Rev: 9 $ ($Date:: 2013-10-29 #$)
509
- Host: test.mpay24.com
510
- Accept: */*
511
- Content-Length: 423
512
- Content-Type: application/x-www-form-urlencoded
513
-
514
- * upload completely sent off: 423 out of 423 bytes
515
- < HTTP/1.1 200 OK
516
- < Date: Fri, 07 Nov 2014 12:27:46 GMT
517
- < Server:
518
- < Content-Length: 2924
519
- < Content-Type: text/xml; charset=utf-8
520
- <
521
- * Connection #0 to host test.mpay24.com left intact
522
- * Closing connection #0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mpay24/Mpay24/controllers/PaymentController.php CHANGED
@@ -16,7 +16,7 @@
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 28 2014-09-29 09:31:11Z sapolhei $
20
  */
21
  include_once Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
22
 
@@ -105,7 +105,7 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
105
  $order = $this->getOrder($_REQUEST['TID']);
106
  $order->getPayment()->setAdditionalInformation('error_text', utf8_encode($_REQUEST['ERROR']))->save();
107
  $order->getPayment()->setAdditionalInformation('error', true)->save();
108
-
109
  if($order->canCancel() && $order->getState() != Mage_Sales_Model_Order::STATE_CANCELED && $order->getData('status') != Mage_Sales_Model_Order::STATE_CANCELED)
110
  $order->cancel($order->getPayment())->save();
111
 
@@ -147,7 +147,7 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
147
  }
148
 
149
  $cart->save();
150
-
151
  if($order->canCancel() && $order->getState() != Mage_Sales_Model_Order::STATE_CANCELED && $order->getData('status') != Mage_Sales_Model_Order::STATE_CANCELED)
152
  $order->cancel($order->getPayment())->save();
153
 
@@ -203,7 +203,7 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
203
  $mPay24MagentoShop = MPay24MagentoShop::getMPay24Api();
204
  $mPAY24Result = $mPay24MagentoShop->updateTransactionStatus($incrementId);
205
  $res = $mPAY24Result->getGeneralResponse()->getStatus();
206
- if($mPAY24Result->getParam('P_TYPE') == 'SOFORT')
207
  $status = Mage::getStoreConfig('mpay24/mpay24as/sofort_state');
208
  else
209
  $status = $mPAY24Result->getParam('TSTATUS');
@@ -219,7 +219,7 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
219
  foreach($this->getRequest()->getParams() as $key => $value)
220
  $mPAY24Result->setParam($key, $value);
221
 
222
- if(($mPAY24Result->getParam('STATUS') == 'SUSPENDED' || $mPAY24Result->getParam('STATUS') == 'RESERVED' || $mPAY24Result->getParam('STATUS') == 'BILLED') && $mPAY24Result->getParam('P_TYPE') == 'SOFORT')
223
  $status = Mage::getStoreConfig('mpay24/mpay24as/sofort_state');
224
  else
225
  $status = $mPAY24Result->getParam('STATUS');
@@ -249,6 +249,22 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
249
  if($order->getId()){
250
  $order->getPayment()->setAdditionalInformation('mpay_tid', $mPAY24Result->getParam('MPAYTID'))->save();
251
  $order->getPayment()->setAdditionalInformation('appr_code', $apprCode)->save();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
252
  $order->getPayment()->setAmountAuthorized($mPAY24Result->getParam('PRICE')/100)->save();
253
  $order->getPayment()->setAdditionalInformation('error', false)->save();
254
  $order->addStatusToHistory(Mage_Sales_Model_Order::STATE_PROCESSING, Mage::helper('mpay24')->__("$confirmationCalled") . Mage::helper('mpay24')->__("RESERVED") . ' [ ' . $mPAY24Result->getParam('CURRENCY') . " " .$order->formatPriceTxt($mPAY24Result->getParam('PRICE')/100).' ]' . " (" . $this->getRequest()->getClientIp() . ")");
@@ -268,6 +284,21 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
268
  $order->getPayment()->setAdditionalInformation('mpay_tid', $mPAY24Result->getParam('MPAYTID'))->save();
269
  $order->getPayment()->setAdditionalInformation('appr_code', $apprCode)->save();
270
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
271
  if($order->getInvoiceCollection()->count() == 0) {
272
  $order->sendNewOrderEmail();
273
  if(in_array($mPAY24Result->getParam('P_TYPE'), MPay24MagentoShop::getAllowedAuth())) {
@@ -314,6 +345,21 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
314
 
315
  $order->getPayment()->setAdditionalInformation('mpay_tid', $mPAY24Result->getParam('MPAYTID'))->save();
316
  $order->getPayment()->setAdditionalInformation('appr_code', $apprCode)->save();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
317
 
318
  $this->_addChildTransaction(Mage_Sales_Model_Order_Payment_Transaction::TYPE_REFUND,
319
  Mage_Sales_Model_Order_Payment_Transaction::TYPE_CAPTURE);
@@ -347,6 +393,22 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
347
  case 'ERROR':
348
  $order->getPayment()->setAdditionalInformation('mpay_tid', $mPAY24Result->getParam('MPAYTID'))->save();
349
  $order->getPayment()->setAdditionalInformation('appr_code', $apprCode)->save();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
350
  $order->getPayment()->setAdditionalInformation('error', true)->save();
351
 
352
  $order->addStatusToHistory($order->getStatus(), Mage::helper('mpay24')->__("$confirmationCalled") . Mage::helper('mpay24')->__("ERROR") . " " . $order->getPayment()->getAdditionalInformation('error_text') . " (" . $this->getRequest()->getClientIp() . ")");
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 29 2014-11-10 13:21:51Z sapolhei $
20
  */
21
  include_once Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
22
 
105
  $order = $this->getOrder($_REQUEST['TID']);
106
  $order->getPayment()->setAdditionalInformation('error_text', utf8_encode($_REQUEST['ERROR']))->save();
107
  $order->getPayment()->setAdditionalInformation('error', true)->save();
108
+
109
  if($order->canCancel() && $order->getState() != Mage_Sales_Model_Order::STATE_CANCELED && $order->getData('status') != Mage_Sales_Model_Order::STATE_CANCELED)
110
  $order->cancel($order->getPayment())->save();
111
 
147
  }
148
 
149
  $cart->save();
150
+
151
  if($order->canCancel() && $order->getState() != Mage_Sales_Model_Order::STATE_CANCELED && $order->getData('status') != Mage_Sales_Model_Order::STATE_CANCELED)
152
  $order->cancel($order->getPayment())->save();
153
 
203
  $mPay24MagentoShop = MPay24MagentoShop::getMPay24Api();
204
  $mPAY24Result = $mPay24MagentoShop->updateTransactionStatus($incrementId);
205
  $res = $mPAY24Result->getGeneralResponse()->getStatus();
206
+ if($mPAY24Result->getParam('P_TYPE') == 'SOFORT' && ($mPAY24Result->getParam('TSTATUS') == 'BILLED' || $mPAY24Result->getParam('TSTATUS') == 'RESERVED' || $mPAY24Result->getParam('TSTATUS') == 'SUSPENDED'))
207
  $status = Mage::getStoreConfig('mpay24/mpay24as/sofort_state');
208
  else
209
  $status = $mPAY24Result->getParam('TSTATUS');
219
  foreach($this->getRequest()->getParams() as $key => $value)
220
  $mPAY24Result->setParam($key, $value);
221
 
222
+ if($mPAY24Result->getParam('P_TYPE') == 'SOFORT')
223
  $status = Mage::getStoreConfig('mpay24/mpay24as/sofort_state');
224
  else
225
  $status = $mPAY24Result->getParam('STATUS');
249
  if($order->getId()){
250
  $order->getPayment()->setAdditionalInformation('mpay_tid', $mPAY24Result->getParam('MPAYTID'))->save();
251
  $order->getPayment()->setAdditionalInformation('appr_code', $apprCode)->save();
252
+
253
+ if($mPAY24Result->getParam('ACCT_HOLDER'))
254
+ $order->getPayment()->setAdditionalInformation('acct_holder', $mPAY24Result->getParam('ACCT_HOLDER'))->save();
255
+
256
+ if($mPAY24Result->getParam('ACCT_NUMBER'))
257
+ $order->getPayment()->setAdditionalInformation('acct_number', $mPAY24Result->getParam('ACCT_NUMBER'))->save();
258
+
259
+ if($mPAY24Result->getParam('BANK_CODE'))
260
+ $order->getPayment()->setAdditionalInformation('bank_code', $mPAY24Result->getParam('BANK_CODE'))->save();
261
+
262
+ if($mPAY24Result->getParam('BANK_NAME'))
263
+ $order->getPayment()->setAdditionalInformation('bank_name', $mPAY24Result->getParam('BANK_NAME'))->save();
264
+
265
+ if($mPAY24Result->getParam('REFERENCE'))
266
+ $order->getPayment()->setAdditionalInformation('reference', $mPAY24Result->getParam('REFERENCE'))->save();
267
+
268
  $order->getPayment()->setAmountAuthorized($mPAY24Result->getParam('PRICE')/100)->save();
269
  $order->getPayment()->setAdditionalInformation('error', false)->save();
270
  $order->addStatusToHistory(Mage_Sales_Model_Order::STATE_PROCESSING, Mage::helper('mpay24')->__("$confirmationCalled") . Mage::helper('mpay24')->__("RESERVED") . ' [ ' . $mPAY24Result->getParam('CURRENCY') . " " .$order->formatPriceTxt($mPAY24Result->getParam('PRICE')/100).' ]' . " (" . $this->getRequest()->getClientIp() . ")");
284
  $order->getPayment()->setAdditionalInformation('mpay_tid', $mPAY24Result->getParam('MPAYTID'))->save();
285
  $order->getPayment()->setAdditionalInformation('appr_code', $apprCode)->save();
286
 
287
+ if($mPAY24Result->getParam('ACCT_HOLDER'))
288
+ $order->getPayment()->setAdditionalInformation('acct_holder', $mPAY24Result->getParam('ACCT_HOLDER'))->save();
289
+
290
+ if($mPAY24Result->getParam('ACCT_NUMBER'))
291
+ $order->getPayment()->setAdditionalInformation('acct_number', $mPAY24Result->getParam('ACCT_NUMBER'))->save();
292
+
293
+ if($mPAY24Result->getParam('BANK_CODE'))
294
+ $order->getPayment()->setAdditionalInformation('bank_code', $mPAY24Result->getParam('BANK_CODE'))->save();
295
+
296
+ if($mPAY24Result->getParam('BANK_NAME'))
297
+ $order->getPayment()->setAdditionalInformation('bank_name', $mPAY24Result->getParam('BANK_NAME'))->save();
298
+
299
+ if($mPAY24Result->getParam('REFERENCE'))
300
+ $order->getPayment()->setAdditionalInformation('reference', $mPAY24Result->getParam('REFERENCE'))->save();
301
+
302
  if($order->getInvoiceCollection()->count() == 0) {
303
  $order->sendNewOrderEmail();
304
  if(in_array($mPAY24Result->getParam('P_TYPE'), MPay24MagentoShop::getAllowedAuth())) {
345
 
346
  $order->getPayment()->setAdditionalInformation('mpay_tid', $mPAY24Result->getParam('MPAYTID'))->save();
347
  $order->getPayment()->setAdditionalInformation('appr_code', $apprCode)->save();
348
+
349
+ if($mPAY24Result->getParam('ACCT_HOLDER'))
350
+ $order->getPayment()->setAdditionalInformation('acct_holder', $mPAY24Result->getParam('ACCT_HOLDER'))->save();
351
+
352
+ if($mPAY24Result->getParam('ACCT_NUMBER'))
353
+ $order->getPayment()->setAdditionalInformation('acct_number', $mPAY24Result->getParam('ACCT_NUMBER'))->save();
354
+
355
+ if($mPAY24Result->getParam('BANK_CODE'))
356
+ $order->getPayment()->setAdditionalInformation('bank_code', $mPAY24Result->getParam('BANK_CODE'))->save();
357
+
358
+ if($mPAY24Result->getParam('BANK_NAME'))
359
+ $order->getPayment()->setAdditionalInformation('bank_name', $mPAY24Result->getParam('BANK_NAME'))->save();
360
+
361
+ if($mPAY24Result->getParam('REFERENCE'))
362
+ $order->getPayment()->setAdditionalInformation('reference', $mPAY24Result->getParam('REFERENCE'))->save();
363
 
364
  $this->_addChildTransaction(Mage_Sales_Model_Order_Payment_Transaction::TYPE_REFUND,
365
  Mage_Sales_Model_Order_Payment_Transaction::TYPE_CAPTURE);
393
  case 'ERROR':
394
  $order->getPayment()->setAdditionalInformation('mpay_tid', $mPAY24Result->getParam('MPAYTID'))->save();
395
  $order->getPayment()->setAdditionalInformation('appr_code', $apprCode)->save();
396
+
397
+ if($mPAY24Result->getParam('ACCT_HOLDER'))
398
+ $order->getPayment()->setAdditionalInformation('acct_holder', $mPAY24Result->getParam('ACCT_HOLDER'))->save();
399
+
400
+ if($mPAY24Result->getParam('ACCT_NUMBER'))
401
+ $order->getPayment()->setAdditionalInformation('acct_number', $mPAY24Result->getParam('ACCT_NUMBER'))->save();
402
+
403
+ if($mPAY24Result->getParam('BANK_CODE'))
404
+ $order->getPayment()->setAdditionalInformation('bank_code', $mPAY24Result->getParam('BANK_CODE'))->save();
405
+
406
+ if($mPAY24Result->getParam('BANK_NAME'))
407
+ $order->getPayment()->setAdditionalInformation('bank_name', $mPAY24Result->getParam('BANK_NAME'))->save();
408
+
409
+ if($mPAY24Result->getParam('REFERENCE'))
410
+ $order->getPayment()->setAdditionalInformation('refernce', $mPAY24Result->getParam('REFERENCE'))->save();
411
+
412
  $order->getPayment()->setAdditionalInformation('error', true)->save();
413
 
414
  $order->addStatusToHistory($order->getStatus(), Mage::helper('mpay24')->__("$confirmationCalled") . Mage::helper('mpay24')->__("ERROR") . " " . $order->getPayment()->getAdditionalInformation('error_text') . " (" . $this->getRequest()->getClientIp() . ")");
app/code/community/Mpay24/Mpay24/etc/config.xml CHANGED
@@ -1,11 +1,11 @@
1
  <?xml version="1.0"?>
2
  <!--
3
- @version $Id: config.xml 27 2014-08-27 13:59:46Z sapolhei $
4
  -->
5
  <config>
6
  <modules>
7
  <Mpay24_Mpay24>
8
- <version>1.5.3</version>
9
  </Mpay24_Mpay24>
10
  </modules>
11
 
1
  <?xml version="1.0"?>
2
  <!--
3
+ @version $Id: config.xml 29 2014-11-10 13:21:51Z sapolhei $
4
  -->
5
  <config>
6
  <modules>
7
  <Mpay24_Mpay24>
8
+ <version>1.5.4</version>
9
  </Mpay24_Mpay24>
10
  </modules>
11
 
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/{mysql4-install-1.5.1.php → mysql4-install-1.5.4.php} RENAMED
@@ -16,7 +16,7 @@
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.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');
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.4.php 29 2014-11-10 13:21:51Z sapolhei $
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.4.4-1.5.2.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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.4.4-1.5.3.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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.4.4-1.5.4.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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.4.5-1.5.2.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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.4.5-1.5.3.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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.4.5-1.5.4.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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.4.6-1.5.2.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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.4.6-1.5.3.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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.4.6-1.5.4.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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.4.7-1.5.2.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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.4.7-1.5.3.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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.4.7-1.5.4.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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.4.8-1.5.2.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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.4.8-1.5.3.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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.4.8-1.5.4.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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.4.9-1.5.2.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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.4.9-1.5.3.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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.4.9-1.5.4.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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 ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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 ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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 ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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 ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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 ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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 ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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 ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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 ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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 ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mpay24
16
+ * @package Mpay24_Mpay24
17
+ * @author Firedrago Magento
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ * @version $Id: mysql4-upgrade-1.4.4-1.5.1.php 25 2014-06-24 15:33:56Z 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
@@ -16,7 +16,7 @@
16
  * @package default_defaut
17
  * @author Firedrago Magento
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- * @version $Id: selectpayment.phtml 5 2013-10-10 13:08:44Z sapolhei $
20
  */
21
  ?>
22
  <?php echo $this->getMethod()->getTitle() . " - " . $this->getPType() . " - " . $this->getBrand(); ?>
@@ -24,4 +24,25 @@
24
  <?php echo 'mPAYTID: ' . $this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('mpay_tid')) ?>
25
  {{pdf_row_separator}}
26
  <?php echo Mage::helper('mpay24')->__("Approval code") . ": " .$this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('appr_code')); ?>
27
- {{pdf_row_separator}}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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(); ?>
24
  <?php echo 'mPAYTID: ' . $this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('mpay_tid')) ?>
25
  {{pdf_row_separator}}
26
  <?php echo Mage::helper('mpay24')->__("Approval code") . ": " .$this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('appr_code')); ?>
27
+ {{pdf_row_separator}}
28
+
29
+ <?php if($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('acct_holder')): ?>
30
+ <?php echo Mage::helper('mpay24')->__("Account holder") . ": " .$this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('acct_holder')); ?>
31
+ {{pdf_row_separator}}
32
+ <?php endif; ?>
33
+ <?php if($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('acct_number')): ?>
34
+ <?php echo Mage::helper('mpay24')->__("Account number") . ": " .$this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('acct_number')); ?>
35
+ {{pdf_row_separator}}
36
+ <?php endif; ?>
37
+ <?php if($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('bank_code')): ?>
38
+ <?php echo Mage::helper('mpay24')->__("Bank code") . ": " .$this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('bank_code')); ?>
39
+ {{pdf_row_separator}}
40
+ <?php endif; ?>
41
+ <?php if($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('bank_name')): ?>
42
+ <?php echo Mage::helper('mpay24')->__("Bank name") . ": " .$this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('bank_name')); ?>
43
+ {{pdf_row_separator}}
44
+ <?php endif; ?>
45
+ <?php if($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('reference')): ?>
46
+ <?php echo Mage::helper('mpay24')->__("Reference") . ": " .$this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('reference')); ?>
47
+ {{pdf_row_separator}}
48
+ <?php endif; ?>
app/design/adminhtml/default/default/template/mpay24/info/selectpayment.phtml CHANGED
@@ -16,7 +16,7 @@
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 19 2014-01-14 15:14:06Z sapolhei $
20
  */
21
  ?>
22
  <p><b>
@@ -25,5 +25,21 @@
25
  <?php if($this->getMethod()->getData('info_instance')->getOrder() !== null): ?>
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
  <?php endif; ?>
29
  </p><br/>
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
  <p><b>
25
  <?php if($this->getMethod()->getData('info_instance')->getOrder() !== null): ?>
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; ?>
32
+ <?php if($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('acct_holder')): ?>
33
+ <br/><b><?php echo "<label for='acct_number'>".Mage::helper('mpay24')->__("Account number")."</label><span name='acct_number' style='float: right; margin-right: 400px;'>".$this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('acct_number'))."</span>"; ?></b>
34
+ <?php endif; ?>
35
+ <?php if($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('acct_holder')): ?>
36
+ <br/><b><?php echo "<label for='bank_code'>".Mage::helper('mpay24')->__("Bank code")."</label><span name='bank_code' style='float: right; margin-right: 400px;'>".$this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('bank_code'))."</span>"; ?></b>
37
+ <?php endif; ?>
38
+ <?php if($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('acct_holder')): ?>
39
+ <br/><b><?php echo "<label for='bank_name'>".Mage::helper('mpay24')->__("Bank name")."</label><span name='bank_name' style='float: right; margin-right: 400px;'>".$this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('bank_name'))."</span>"; ?></b>
40
+ <?php endif; ?>
41
+ <?php if($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('acct_holder')): ?>
42
+ <br/><b><?php echo "<label for='reference'>".Mage::helper('mpay24')->__("Reference")."</label><span name='reference' style='float: right; margin-right: 400px;'>".$this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('reference'))."</span>"; ?></b>
43
+ <?php endif; ?>
44
  <?php endif; ?>
45
  </p><br/>
app/design/frontend/default/default/template/mpay24/info/selectpayment.phtml CHANGED
@@ -16,7 +16,7 @@
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 19 2014-01-14 15:14:06Z sapolhei $
20
  */
21
  ?>
22
  <p><b>
@@ -24,5 +24,21 @@
24
  echo "<img onerror='if(typeof selectedPayment === \"undefined\") selectedPayment=\"../../../img/logos/payment-mpay24\"; this.src=\"https://www.mpay24.com/web/img/logos/ptypes/\" + selectedPayment + \".png\";this.title=brand;this.alt=brand;' style='max-width: 40%;padding-top: 5px;' src='https://www.mpay24.com/web/img/logos/ptypes/".$this->getPMethId().".png' alt='".$this->getPType()."-".$this->getBrand()."' title='".$this->getPType()."-".$this->getBrand()."'>".' ('.Mage::getStoreConfig('payment/mpay24/title').')' ?></b><br/>
25
 
26
  <?php if($this->getMethod()->getData('info_instance')->getOrder() !== null): ?>
27
- <?php echo Mage::helper('mpay24')->__("Approval code") . ": " . $this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('appr_code')) ?><br/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  <?php endif; ?>
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
  <p><b>
24
  echo "<img onerror='if(typeof selectedPayment === \"undefined\") selectedPayment=\"../../../img/logos/payment-mpay24\"; this.src=\"https://www.mpay24.com/web/img/logos/ptypes/\" + selectedPayment + \".png\";this.title=brand;this.alt=brand;' style='max-width: 40%;padding-top: 5px;' src='https://www.mpay24.com/web/img/logos/ptypes/".$this->getPMethId().".png' alt='".$this->getPType()."-".$this->getBrand()."' title='".$this->getPType()."-".$this->getBrand()."'>".' ('.Mage::getStoreConfig('payment/mpay24/title').')' ?></b><br/>
25
 
26
  <?php if($this->getMethod()->getData('info_instance')->getOrder() !== null): ?>
27
+ <br/><b><?php echo "<label for='acct_holder'>".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><br/>
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; ?>
32
+ <?php if($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('acct_holder')): ?>
33
+ <br/><b><?php echo "<label for='acct_number'>".Mage::helper('mpay24')->__("Account number")."</label><span name='acct_number' style='float: right; margin-right: 400px;'>".$this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('acct_number'))."</span>"; ?></b>
34
+ <?php endif; ?>
35
+ <?php if($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('acct_holder')): ?>
36
+ <br/><b><?php echo "<label for='bank_code'>".Mage::helper('mpay24')->__("Bank code")."</label><span name='bank_code' style='float: right; margin-right: 400px;'>".$this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('bank_code'))."</span>"; ?></b>
37
+ <?php endif; ?>
38
+ <?php if($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('acct_holder')): ?>
39
+ <br/><b><?php echo "<label for='bank_name'>".Mage::helper('mpay24')->__("Bank name")."</label><span name='bank_name' style='float: right; margin-right: 400px;'>".$this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('bank_name'))."</span>"; ?></b>
40
+ <?php endif; ?>
41
+ <?php if($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('acct_holder')): ?>
42
+ <br/><b><?php echo "<label for='reference'>".Mage::helper('mpay24')->__("Reference")."</label><span name='reference' style='float: right; margin-right: 400px;'>".$this->htmlEscape($this->getInfo()->getOrder()->getPayment()->getAdditionalInformation('reference'))."</span>"; ?></b>
43
+ <?php endif; ?>
44
  <?php endif; ?>
app/etc/modules/Mpay24_Mpay24.xml CHANGED
@@ -1,6 +1,6 @@
1
  <?xml version="1.0"?>
2
  <!--
3
- * @version $Id: Mpay24_Mpay24.xml 17 2013-12-10 07:18:39Z sapolhei $
4
  -->
5
  <config>
6
  <modules>
@@ -10,7 +10,7 @@
10
  <depends>
11
  <Mage_Payment />
12
  </depends>
13
- <version>1.5.1</version>
14
  </Mpay24_Mpay24>
15
  </modules>
16
  </config>
1
  <?xml version="1.0"?>
2
  <!--
3
+ * @version $Id: Mpay24_Mpay24.xml 29 2014-11-10 13:21:51Z sapolhei $
4
  -->
5
  <config>
6
  <modules>
10
  <depends>
11
  <Mage_Payment />
12
  </depends>
13
+ <version>1.5.4</version>
14
  </Mpay24_Mpay24>
15
  </modules>
16
  </config>
app/locale/de_AT/Mpay24_Mpay24.csv CHANGED
@@ -75,4 +75,9 @@
75
  "SOFORT Banking end-state", "SOFORT Überweisung Endstatus"
76
  "You will be redirected to the mPAY24 pay page...", "Sie werden zur Bezahlseite von mPAY24 weitergeleitet..."
77
  "Please choose a payment system...", "Bitte wählen Sie ein Zahlungssystem..."
78
- "Forced preselection", "Zwangsvorauswahl"
 
 
 
 
 
75
  "SOFORT Banking end-state", "SOFORT Überweisung Endstatus"
76
  "You will be redirected to the mPAY24 pay page...", "Sie werden zur Bezahlseite von mPAY24 weitergeleitet..."
77
  "Please choose a payment system...", "Bitte wählen Sie ein Zahlungssystem..."
78
+ "Forced preselection", "Zwangsvorauswahl"
79
+ "Account holder", "Kontoinhaber"
80
+ "Account number", "IBAN"
81
+ "Bank code", "BIC"
82
+ "Bank name", "Bankname"
83
+ "Reference", "Referenz"
app/locale/de_CH/Mpay24_Mpay24.csv CHANGED
@@ -75,4 +75,9 @@
75
  "SOFORT Banking end-state", "SOFORT Überweisung Endstatus"
76
  "You will be redirected to the mPAY24 pay page...", "Sie werden zur Bezahlseite von mPAY24 weitergeleitet..."
77
  "Please choose a payment system...", "Bitte wählen Sie ein Zahlungssystem..."
78
- "Forced preselection", "Zwangsvorauswahl"
 
 
 
 
 
75
  "SOFORT Banking end-state", "SOFORT Überweisung Endstatus"
76
  "You will be redirected to the mPAY24 pay page...", "Sie werden zur Bezahlseite von mPAY24 weitergeleitet..."
77
  "Please choose a payment system...", "Bitte wählen Sie ein Zahlungssystem..."
78
+ "Forced preselection", "Zwangsvorauswahl"
79
+ "Account holder", "Kontoinhaber"
80
+ "Account number", "IBAN"
81
+ "Bank code", "BIC"
82
+ "Bank name", "Bankname"
83
+ "Reference", "Referenz"
app/locale/de_DE/Mpay24_Mpay24.csv CHANGED
@@ -75,4 +75,9 @@
75
  "SOFORT Banking end-state", "SOFORT Überweisung Endstatus"
76
  "You will be redirected to the mPAY24 pay page...", "Sie werden zur Bezahlseite von mPAY24 weitergeleitet..."
77
  "Please choose a payment system...", "Bitte wählen Sie ein Zahlungssystem..."
78
- "Forced preselection", "Zwangsvorauswahl"
 
 
 
 
 
75
  "SOFORT Banking end-state", "SOFORT Überweisung Endstatus"
76
  "You will be redirected to the mPAY24 pay page...", "Sie werden zur Bezahlseite von mPAY24 weitergeleitet..."
77
  "Please choose a payment system...", "Bitte wählen Sie ein Zahlungssystem..."
78
+ "Forced preselection", "Zwangsvorauswahl"
79
+ "Account holder", "Kontoinhaber"
80
+ "Account number", "IBAN"
81
+ "Bank code", "BIC"
82
+ "Bank name", "Bankname"
83
+ "Reference", "Referenz"
app/locale/en_US/Mpay24_Mpay24.csv CHANGED
@@ -75,4 +75,9 @@
75
  "SOFORT Banking end-state", "SOFORT Banking end-state"
76
  "You will be redirected to the mPAY24 pay page...", "You will be redirected to the mPAY24 pay page..."
77
  "Please choose a payment system...", "Please choose a payment system..."
78
- "Forced preselection", "Forced preselection"
 
 
 
 
 
75
  "SOFORT Banking end-state", "SOFORT Banking end-state"
76
  "You will be redirected to the mPAY24 pay page...", "You will be redirected to the mPAY24 pay page..."
77
  "Please choose a payment system...", "Please choose a payment system..."
78
+ "Forced preselection", "Forced preselection"
79
+ "Account holder", "Account holder"
80
+ "Account number", "Account number"
81
+ "Bank code", "Bank code"
82
+ "Bank name", "Bank name"
83
+ "Reference", "Reference"
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>mPAY24</name>
4
- <version>1.5.3</version>
5
  <stability>stable</stability>
6
  <license>Open Software License (OSL 3.0)</license>
7
  <channel>community</channel>
@@ -26,13 +26,11 @@ Die Payment L&#xF6;sung der mPAY24 GmbH unterst&#xFC;tzt folgende Bezahlarten un
26
  &#xD;
27
  &#xD;
28
  Weitere Informationen unter www.mPAY24.com</description>
29
- <notes>Bug fixing:&#xD;
30
- &#xD;
31
- 1. ERROR Sofort-Payments Bug - FIXED!</notes>
32
  <authors><author><name>Filipp Akinfiev</name><user>firedrago</user><email>firedrago.magento@gmail.com</email></author></authors>
33
- <date>2014-11-07</date>
34
- <time>13:58:59</time>
35
- <contents><target name="magelocale"><dir name="de_AT"><file name="Mpay24_Mpay24.csv" hash="c8ab13e91f2acd7731342e166aefb6e5"/></dir><dir name="de_DE"><file name="Mpay24_Mpay24.csv" hash="c8ab13e91f2acd7731342e166aefb6e5"/></dir><dir name="de_CH"><file name="Mpay24_Mpay24.csv" hash="c8ab13e91f2acd7731342e166aefb6e5"/></dir><dir name="en_US"><file name="Mpay24_Mpay24.csv" hash="402b19b80c5cff21ea7bdedf275e6032"/></dir></target><target name="mageetc"><dir name="modules"><file name="Mpay24_Mpay24.xml" hash="2f9e00b5f9b4f905d46783633e84f707"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="mpay24"><dir name="form"><file name="area.phtml" hash="9f4f9fec6dadc41ea02e14da3060f17c"/><file name="dropDown.phtml" hash="6e1b3da46645a4ee733038eb5dc51d5b"/><file name="radio.phtml" hash="76ac74909f951575038b0265cd32866e"/></dir><dir name="info"><file name="selectpayment.phtml" hash="2d9e4841e6fc83314a51b16db9e8db71"/></dir></dir></dir><dir name="layout"><file name="mpay24.xml" hash="f61a3b1f24cf322c25d0cbfc23f473d6"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="mpay24"><dir name="info"><dir name="pdf"><file name="selectpayment.phtml" hash="fbdb9f2a8059cef41294ad0ebb66f6ed"/></dir><file name="selectpayment.phtml" hash="83455c7ce9ea601de4613ea6dc874b8d"/></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="3862b41d1f4206b269b67247be503455"/><file name="MPay24Api.php" hash="6f96a97da40b296db3aabdd6447985a5"/><file name="MPay24MagentoShop.php" hash="3d178208450d7b4b5ccde37720b64bcc"/><file name="MPay24Shop.php" hash="e42d98233a8e32905f349fc7a006ef17"/><file name="cacert.pem" hash="b4bc508481b6291f414f4e6fd7e5d0a5"/><file name="curllog.log" hash="ed223f0f6a68f6200e1722ec5d153122"/><file name="orderXML.php" hash="704a162695cd9f540ca3123d0e7c6f12"/><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="e9fc8005ae3b4edf149184cee0c9d96a"/></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="03a51272dd89821e69d8ca9677f20a81"/></dir></dir></dir></dir><file name="Selectpayment.php" hash="42f90d8fdc11f41d11e8d64c459074ac"/><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="9a1f5291f2e0136a5053ce7e6fd64240"/></dir><dir name="etc"><file name="config.xml" hash="10a0794455dd163f8295bf13a1883533"/><file name="system.xml" hash="daf4071d18c9f5f386b06c0b66872b14"/></dir><dir name="sql"><dir name="mpay24_setup"><file name="mysql4-install-1.5.1.php" hash="1654eef9d028fcaaaf5f4bfaee2ab796"/><file name="mysql4-upgrade-1.4.4-1.4.5.php" hash="05a7d1f81102a1f05ef2c4b8cf33aa85"/><file name="mysql4-upgrade-1.4.4-1.4.6.php" hash="5bf86d6498af63fb0afe3953c14d4e7e"/><file name="mysql4-upgrade-1.4.4-1.4.7.php" hash="08e2aa39f98e5c0cdb52cdb0823a015b"/><file name="mysql4-upgrade-1.4.4-1.4.8.php" hash="ae6956df0cf6530463d98b2f0b814e32"/><file name="mysql4-upgrade-1.4.4-1.4.9.php" hash="26f251d1939ee4d9a156499c61bbd7f3"/><file name="mysql4-upgrade-1.4.4-1.5.0.php" hash="1fe55f115daa227bd09beb69374621e2"/><file name="mysql4-upgrade-1.4.4-1.5.1.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.4.5-1.4.6.php" hash="d87de8d8c3037199051d8e579a4ac3f9"/><file name="mysql4-upgrade-1.4.5-1.4.7.php" hash="86eb6d0edef7c76f4d709a1dd2187191"/><file name="mysql4-upgrade-1.4.5-1.4.8.php" hash="f3157f8e0ef74958e357ba5dcccc3fed"/><file name="mysql4-upgrade-1.4.5-1.4.9.php" hash="0f01b950b01f4ac0f9c78a200fd8f013"/><file name="mysql4-upgrade-1.4.5-1.5.0.php" hash="e4f57f182722b589520bf09b6081bdfb"/><file name="mysql4-upgrade-1.4.5-1.5.1.php" hash="dcc8afe56eddb38b918675858ac2c4a6"/><file name="mysql4-upgrade-1.4.6-1.4.7.php" hash="e041611350cc319072fd0cba3824ed96"/><file name="mysql4-upgrade-1.4.6-1.4.8.php" hash="e1c0aed8b5cc3c144ba50f9526e4e9db"/><file name="mysql4-upgrade-1.4.6-1.4.9.php" hash="ce762f7b367d3863a388316faac149f9"/><file name="mysql4-upgrade-1.4.6-1.5.0.php" hash="a91ab00502b876e17256c9008d6dd1b1"/><file name="mysql4-upgrade-1.4.6-1.5.1.php" hash="ff0b66cd0bed5e90bf274e294868a33d"/><file name="mysql4-upgrade-1.4.7-1.4.8.php" hash="71cd3d81e624084012b41031083ced69"/><file name="mysql4-upgrade-1.4.7-1.4.9.php" hash="f527ac405e1d125f5b563f21cc353d7b"/><file name="mysql4-upgrade-1.4.7-1.5.0.php" hash="c6ba413e9cc5351636d0b9562aadbffb"/><file name="mysql4-upgrade-1.4.7-1.5.1.php" hash="b9a3fd5e294c4abd7ad2ff1f59b25c09"/><file name="mysql4-upgrade-1.4.8-1.4.9.php" hash="86e238979b954ca3512ec5dc0075df5a"/><file name="mysql4-upgrade-1.4.8-1.5.0.php" hash="e9b8f18afbd5e25f49c3364ee7299629"/><file name="mysql4-upgrade-1.4.8-1.5.1.php" hash="344cc2c701ebecfd7ee87f096948d205"/><file name="mysql4-upgrade-1.4.9-1.5.0.php" hash="f2e6a9faccdbe7f37d1997ee3d1676bc"/><file name="mysql4-upgrade-1.4.9-1.5.1.php" hash="00e6081cdd6af44353e5c77aa9fd4f16"/><file name="mysql4-upgrade-1.5.0-1.5.1.php" hash="b13cab4e8f540eafaed6d1b67c2d36fd"/></dir></dir></dir></dir></target></contents>
36
  <compatible/>
37
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
38
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>mPAY24</name>
4
+ <version>1.5.4</version>
5
  <stability>stable</stability>
6
  <license>Open Software License (OSL 3.0)</license>
7
  <channel>community</channel>
26
  &#xD;
27
  &#xD;
28
  Weitere Informationen unter www.mPAY24.com</description>
29
+ <notes>BILLPAY information (bank name, bank code, reference, etc) added to the invoice.</notes>
 
 
30
  <authors><author><name>Filipp Akinfiev</name><user>firedrago</user><email>firedrago.magento@gmail.com</email></author></authors>
31
+ <date>2014-11-10</date>
32
+ <time>13:33:17</time>
33
+ <contents><target name="magelocale"><dir name="de_AT"><file name="Mpay24_Mpay24.csv" hash="2e6a91a14f3c966fe7c8b6a7832edad0"/></dir><dir name="de_DE"><file name="Mpay24_Mpay24.csv" hash="2e6a91a14f3c966fe7c8b6a7832edad0"/></dir><dir name="de_CH"><file name="Mpay24_Mpay24.csv" hash="2e6a91a14f3c966fe7c8b6a7832edad0"/></dir><dir name="en_US"><file name="Mpay24_Mpay24.csv" hash="038e60a7040401a375a2d07f39993864"/></dir></target><target name="mageetc"><dir name="modules"><file name="Mpay24_Mpay24.xml" hash="bc566b76b184563cc4444e9027e65ba6"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="mpay24"><dir name="form"><file name="area.phtml" hash="9f4f9fec6dadc41ea02e14da3060f17c"/><file name="dropDown.phtml" hash="6e1b3da46645a4ee733038eb5dc51d5b"/><file name="radio.phtml" hash="76ac74909f951575038b0265cd32866e"/></dir><dir name="info"><file name="selectpayment.phtml" hash="294191fd37cbc893e41359e55569e319"/></dir></dir></dir><dir name="layout"><file name="mpay24.xml" hash="f61a3b1f24cf322c25d0cbfc23f473d6"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="mpay24"><dir name="info"><dir name="pdf"><file name="selectpayment.phtml" hash="72560f7d19995e6ad68ee6ed9ecb538a"/></dir><file name="selectpayment.phtml" hash="5c2fce609138157ac9c99493221e85e8"/></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="5cc518b9386fdadf6bc43c9169bfd615"/><file name="MPay24Api.php" hash="6f96a97da40b296db3aabdd6447985a5"/><file name="MPay24MagentoShop.php" hash="8a535c63ca95dba99f285df7f60a194b"/><file name="MPay24Shop.php" hash="e42d98233a8e32905f349fc7a006ef17"/><file name="cacert.pem" hash="b4bc508481b6291f414f4e6fd7e5d0a5"/><file name="curllog.log" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="orderXML.php" hash="704a162695cd9f540ca3123d0e7c6f12"/><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="e9fc8005ae3b4edf149184cee0c9d96a"/></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="03a51272dd89821e69d8ca9677f20a81"/></dir></dir></dir></dir><file name="Selectpayment.php" hash="42f90d8fdc11f41d11e8d64c459074ac"/><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="844c5ebc275e8ac44e309eb1916c78f1"/></dir><dir name="etc"><file name="config.xml" hash="1ecf26adac54d2aeda1de72d74d9fb3a"/><file name="system.xml" hash="daf4071d18c9f5f386b06c0b66872b14"/></dir><dir name="sql"><dir name="mpay24_setup"><file name="mysql4-install-1.5.4.php" hash="f9cfad3d16f8b62d19426aa0104fadc6"/><file name="mysql4-upgrade-1.4.4-1.4.5.php" hash="05a7d1f81102a1f05ef2c4b8cf33aa85"/><file name="mysql4-upgrade-1.4.4-1.4.6.php" hash="5bf86d6498af63fb0afe3953c14d4e7e"/><file name="mysql4-upgrade-1.4.4-1.4.7.php" hash="08e2aa39f98e5c0cdb52cdb0823a015b"/><file name="mysql4-upgrade-1.4.4-1.4.8.php" hash="ae6956df0cf6530463d98b2f0b814e32"/><file name="mysql4-upgrade-1.4.4-1.4.9.php" hash="26f251d1939ee4d9a156499c61bbd7f3"/><file name="mysql4-upgrade-1.4.4-1.5.0.php" hash="1fe55f115daa227bd09beb69374621e2"/><file name="mysql4-upgrade-1.4.4-1.5.1.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.4.4-1.5.2.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.4.4-1.5.3.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.4.4-1.5.4.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.4.5-1.4.6.php" hash="d87de8d8c3037199051d8e579a4ac3f9"/><file name="mysql4-upgrade-1.4.5-1.4.7.php" hash="86eb6d0edef7c76f4d709a1dd2187191"/><file name="mysql4-upgrade-1.4.5-1.4.8.php" hash="f3157f8e0ef74958e357ba5dcccc3fed"/><file name="mysql4-upgrade-1.4.5-1.4.9.php" hash="0f01b950b01f4ac0f9c78a200fd8f013"/><file name="mysql4-upgrade-1.4.5-1.5.0.php" hash="e4f57f182722b589520bf09b6081bdfb"/><file name="mysql4-upgrade-1.4.5-1.5.1.php" hash="dcc8afe56eddb38b918675858ac2c4a6"/><file name="mysql4-upgrade-1.4.5-1.5.2.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.4.5-1.5.3.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.4.5-1.5.4.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.4.6-1.4.7.php" hash="e041611350cc319072fd0cba3824ed96"/><file name="mysql4-upgrade-1.4.6-1.4.8.php" hash="e1c0aed8b5cc3c144ba50f9526e4e9db"/><file name="mysql4-upgrade-1.4.6-1.4.9.php" hash="ce762f7b367d3863a388316faac149f9"/><file name="mysql4-upgrade-1.4.6-1.5.0.php" hash="a91ab00502b876e17256c9008d6dd1b1"/><file name="mysql4-upgrade-1.4.6-1.5.1.php" hash="ff0b66cd0bed5e90bf274e294868a33d"/><file name="mysql4-upgrade-1.4.6-1.5.2.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.4.6-1.5.3.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.4.6-1.5.4.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.4.7-1.4.8.php" hash="71cd3d81e624084012b41031083ced69"/><file name="mysql4-upgrade-1.4.7-1.4.9.php" hash="f527ac405e1d125f5b563f21cc353d7b"/><file name="mysql4-upgrade-1.4.7-1.5.0.php" hash="c6ba413e9cc5351636d0b9562aadbffb"/><file name="mysql4-upgrade-1.4.7-1.5.1.php" hash="b9a3fd5e294c4abd7ad2ff1f59b25c09"/><file name="mysql4-upgrade-1.4.7-1.5.2.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.4.7-1.5.3.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.4.7-1.5.4.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.4.8-1.4.9.php" hash="86e238979b954ca3512ec5dc0075df5a"/><file name="mysql4-upgrade-1.4.8-1.5.0.php" hash="e9b8f18afbd5e25f49c3364ee7299629"/><file name="mysql4-upgrade-1.4.8-1.5.1.php" hash="344cc2c701ebecfd7ee87f096948d205"/><file name="mysql4-upgrade-1.4.8-1.5.2.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.4.8-1.5.3.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.4.8-1.5.4.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.4.9-1.5.0.php" hash="f2e6a9faccdbe7f37d1997ee3d1676bc"/><file name="mysql4-upgrade-1.4.9-1.5.1.php" hash="00e6081cdd6af44353e5c77aa9fd4f16"/><file name="mysql4-upgrade-1.4.9-1.5.2.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.4.9-1.5.3.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.4.9-1.5.4.php" hash="86ea222887a1dfcf363ff84735e904f5"/><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="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.5.0-1.5.3.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.5.0-1.5.4.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.5.1-1.5.2.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.5.1-1.5.3.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.5.1-1.5.4.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.5.2-1.5.3.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.5.2-1.5.4.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.5.3-1.5.4.php" hash="86ea222887a1dfcf363ff84735e904f5"/></dir></dir></dir></dir></target></contents>
34
  <compatible/>
35
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
36
  </package>