estpay - Version 1.3.0.1

Version Notes

Bugfix release.
Fixes:
- $version$ placeholder correctly replaced in all files

Download this release

Release Info

Developer Multon
Extension estpay
Version 1.3.0.1
Comparing to
See all releases


Code changes from version 1.3.0 to 1.3.0.1

Files changed (43) hide show
  1. app/code/community/Eepohs/Estpay/Block/Abstract.php +21 -7
  2. app/code/community/Eepohs/Estpay/Block/Adminhtml/Initjs.php +14 -9
  3. app/code/community/Eepohs/Estpay/Block/Estcard.php +37 -24
  4. app/code/community/Eepohs/Estpay/Block/IPizza.php +37 -18
  5. app/code/community/Eepohs/Estpay/Block/Krediidipank.php +3 -3
  6. app/code/community/Eepohs/Estpay/Block/Lhv.php +3 -3
  7. app/code/community/Eepohs/Estpay/Block/Nordea.php +38 -20
  8. app/code/community/Eepohs/Estpay/Block/Sampo.php +3 -3
  9. app/code/community/Eepohs/Estpay/Block/Seb.php +3 -3
  10. app/code/community/Eepohs/Estpay/Block/Swedbank.php +3 -3
  11. app/code/community/Eepohs/Estpay/Controller/Abstract.php +20 -7
  12. app/code/community/Eepohs/Estpay/Helper/Data.php +3 -3
  13. app/code/community/Eepohs/Estpay/Model/Abstract.php +12 -6
  14. app/code/community/Eepohs/Estpay/Model/Estcard.php +17 -6
  15. app/code/community/Eepohs/Estpay/Model/IPizza.php +85 -23
  16. app/code/community/Eepohs/Estpay/Model/Krediidipank.php +3 -3
  17. app/code/community/Eepohs/Estpay/Model/Lhv.php +3 -3
  18. app/code/community/Eepohs/Estpay/Model/Nordea.php +23 -7
  19. app/code/community/Eepohs/Estpay/Model/Sampo.php +3 -3
  20. app/code/community/Eepohs/Estpay/Model/Seb.php +3 -3
  21. app/code/community/Eepohs/Estpay/Model/Swedbank.php +3 -3
  22. app/code/community/Eepohs/Estpay/controllers/EstcardController.php +3 -3
  23. app/code/community/Eepohs/Estpay/controllers/KrediidipankController.php +5 -4
  24. app/code/community/Eepohs/Estpay/controllers/LhvController.php +2 -2
  25. app/code/community/Eepohs/Estpay/controllers/NordeaController.php +2 -2
  26. app/code/community/Eepohs/Estpay/controllers/SampoController.php +3 -3
  27. app/code/community/Eepohs/Estpay/controllers/SebController.php +3 -3
  28. app/code/community/Eepohs/Estpay/controllers/SwedbankController.php +16 -7
  29. app/code/community/Eepohs/Estpay/etc/config.xml +4 -4
  30. app/code/community/Eepohs/Estpay/etc/system.xml +3 -3
  31. app/design/adminhtml/default/default/layout/eepohs/estpay.xml +3 -3
  32. app/design/adminhtml/default/default/template/eepohs/estpay/initjs.phtml +3 -3
  33. app/design/frontend/base/default/layout/eepohs/estpay.xml +3 -3
  34. app/design/frontend/base/default/template/eepohs/estpay/estcard.phtml +3 -3
  35. app/design/frontend/base/default/template/eepohs/estpay/krediidipank.phtml +3 -3
  36. app/design/frontend/base/default/template/eepohs/estpay/lhv.phtml +3 -3
  37. app/design/frontend/base/default/template/eepohs/estpay/nordea.phtml +3 -3
  38. app/design/frontend/base/default/template/eepohs/estpay/sampo.phtml +3 -3
  39. app/design/frontend/base/default/template/eepohs/estpay/seb.phtml +3 -3
  40. app/design/frontend/base/default/template/eepohs/estpay/swedbank.phtml +3 -3
  41. app/etc/modules/Eepohs_Estpay.xml +3 -3
  42. js/eepohs/estpay.js +3 -24
  43. package.xml +7 -5
app/code/community/Eepohs/Estpay/Block/Abstract.php CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,15 +35,16 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
44
  * @category Payment methods
45
  */
46
- class Eepohs_Estpay_Block_Abstract extends Mage_Payment_Block_Form
 
47
  {
48
 
49
  /**
@@ -62,7 +63,13 @@ class Eepohs_Estpay_Block_Abstract extends Mage_Payment_Block_Form
62
  */
63
  public function getMethodLabelAfterHtml()
64
  {
65
- $blockHtml = sprintf('<img src="%1$s" title="%2$s" alt="%2$s" class="payment-method-logo"/>', $this->getMethodLogoUrl(), ucfirst($this->_gateway) );
 
 
 
 
 
 
66
  return $blockHtml;
67
  }
68
 
@@ -73,7 +80,12 @@ class Eepohs_Estpay_Block_Abstract extends Mage_Payment_Block_Form
73
  */
74
  public function getMethodLogoUrl()
75
  {
76
- return $this->getSkinUrl(sprintf('images/eepohs/estpay/%s_logo_88x31.gif', strtolower($this->_gateway)));
 
 
 
 
 
77
  }
78
 
79
  /**
@@ -87,7 +99,9 @@ class Eepohs_Estpay_Block_Abstract extends Mage_Payment_Block_Form
87
  public function getQuickRedirectScript()
88
  {
89
  $outstr = '';
90
- if (Mage::getStoreConfig('payment/' . $this->_code . '/quick_redirect')) {
 
 
91
  $outstr = '<script type="text/javascript"><!--
92
  if($("GatewayForm")){$("GatewayForm").submit();}
93
  //--></script>';
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
44
  * @category Payment methods
45
  */
46
+ class Eepohs_Estpay_Block_Abstract
47
+ extends Mage_Payment_Block_Form
48
  {
49
 
50
  /**
63
  */
64
  public function getMethodLabelAfterHtml()
65
  {
66
+ $blockHtml = sprintf(
67
+ '<img src="%1$s"
68
+ title="%2$s"
69
+ alt="%2$s"
70
+ class="payment-method-logo"/>',
71
+ $this->getMethodLogoUrl(), ucfirst($this->_gateway)
72
+ );
73
  return $blockHtml;
74
  }
75
 
80
  */
81
  public function getMethodLogoUrl()
82
  {
83
+ return $this->getSkinUrl(
84
+ sprintf(
85
+ 'images/eepohs/estpay/%s_logo_88x31.gif',
86
+ strtolower($this->_gateway)
87
+ )
88
+ );
89
  }
90
 
91
  /**
99
  public function getQuickRedirectScript()
100
  {
101
  $outstr = '';
102
+ if (
103
+ Mage::getStoreConfig('payment/' . $this->_code . '/quick_redirect')
104
+ ) {
105
  $outstr = '<script type="text/javascript"><!--
106
  if($("GatewayForm")){$("GatewayForm").submit();}
107
  //--></script>';
app/code/community/Eepohs/Estpay/Block/Adminhtml/Initjs.php CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,15 +35,16 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
44
  * @category Payment methods
45
  */
46
- class Eepohs_Estpay_Block_Adminhtml_Initjs extends Mage_Adminhtml_Block_Template
 
47
  {
48
 
49
  /**
@@ -52,10 +53,10 @@ class Eepohs_Estpay_Block_Adminhtml_Initjs extends Mage_Adminhtml_Block_Template
52
  protected function _prepareLayout()
53
  {
54
  $section = $this->getAction()->getRequest()->getParam('section', false);
55
- if ($section == 'payment') {
56
  $this->getLayout()
57
- ->getBlock('head')
58
- ->addJs('eepohs/estpay.js');
59
  }
60
  parent::_prepareLayout();
61
  }
@@ -63,7 +64,7 @@ class Eepohs_Estpay_Block_Adminhtml_Initjs extends Mage_Adminhtml_Block_Template
63
  protected function _toHtml()
64
  {
65
  $section = $this->getAction()->getRequest()->getParam('section', false);
66
- if ($section == 'payment') {
67
  return parent::_toHtml();
68
  } else {
69
  return '';
@@ -72,7 +73,11 @@ class Eepohs_Estpay_Block_Adminhtml_Initjs extends Mage_Adminhtml_Block_Template
72
 
73
  public function getModuleVersion()
74
  {
75
- return (string) Mage::getConfig()->getNode()->modules->Eepohs_Estpay->version;
 
 
 
 
76
  }
77
 
78
  }
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
44
  * @category Payment methods
45
  */
46
+ class Eepohs_Estpay_Block_Adminhtml_Initjs
47
+ extends Mage_Adminhtml_Block_Template
48
  {
49
 
50
  /**
53
  protected function _prepareLayout()
54
  {
55
  $section = $this->getAction()->getRequest()->getParam('section', false);
56
+ if ( $section == 'payment' ) {
57
  $this->getLayout()
58
+ ->getBlock('head')
59
+ ->addJs('eepohs/estpay.js');
60
  }
61
  parent::_prepareLayout();
62
  }
64
  protected function _toHtml()
65
  {
66
  $section = $this->getAction()->getRequest()->getParam('section', false);
67
+ if ( $section == 'payment' ) {
68
  return parent::_toHtml();
69
  } else {
70
  return '';
73
 
74
  public function getModuleVersion()
75
  {
76
+ return (string) Mage::getConfig()
77
+ ->getNode()
78
+ ->modules
79
+ ->Eepohs_Estpay
80
+ ->version;
81
  }
82
 
83
  }
app/code/community/Eepohs/Estpay/Block/Estcard.php CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,15 +35,16 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
44
  * @category Payment methods
45
  */
46
- class Eepohs_Estpay_Block_Estcard extends Eepohs_Estpay_Block_Abstract
 
47
  {
48
 
49
  protected $_code = 'eepohs_estcard';
@@ -60,13 +61,15 @@ class Eepohs_Estpay_Block_Estcard extends Eepohs_Estpay_Block_Abstract
60
 
61
  $fields['action'] = 'gaf';
62
  $fields['ver'] = '004'; // Old version was 002
63
- $fields['id'] = Mage::getStoreConfig('payment/' . $this->_code . '/merchant_id');
 
64
  $fields['ecuno'] = sprintf('%012s', $order->getIncrementId());
65
- $fields['eamount'] = sprintf("%012s", (round($order->getBaseGrandTotal(), 2) * 100));
 
66
  $fields['cur'] = $order->getOrderCurrencyCode();
67
  $fields['datetime'] = date("YmdHis");
68
 
69
- switch (Mage::app()->getLocale()->getLocaleCode()) {
70
  case 'et_EE':
71
  $language = 'et';
72
  break;
@@ -85,26 +88,31 @@ class Eepohs_Estpay_Block_Estcard extends Eepohs_Estpay_Block_Abstract
85
  }
86
  $fields['lang'] = $language;
87
 
88
- // gaf004 related stuff
89
- $fields['charEncoding'] = 'ISO-8859-1';
90
- // $fields['charEncoding'] = 'UTF-8';
91
- $fields['feedBackUrl'] = Mage::getUrl('estpay/' . $this->_gateway . '/return', array('_nosid' => true));
92
- $fields['delivery'] = 'T';
93
- // Hardcoded for test purposes T = Physical delivery,
94
- // S = Electronic delivery
 
 
 
95
 
96
  $data =
97
- $fields['ver']
98
- . sprintf("%-10s", $fields['id'])
99
- . $fields['ecuno']
100
- . $fields['eamount']
101
- . $fields['cur']
102
- . $fields['datetime']
103
- . sprintf("%-128s", $fields['feedBackUrl'])
104
- . $fields['delivery'];
105
 
106
  $mac = sha1($data);
107
- $key = openssl_pkey_get_private(Mage::getStoreConfig('payment/' . $this->_code . '/private_key'));
 
 
108
  openssl_sign($data, $mac, $key);
109
  $fields['mac'] = bin2hex($mac);
110
  openssl_free_key($key);
@@ -118,7 +126,12 @@ class Eepohs_Estpay_Block_Estcard extends Eepohs_Estpay_Block_Abstract
118
  */
119
  public function getMethodLogoUrl()
120
  {
121
- return $this->getSkinUrl(sprintf('images/eepohs/estpay/%s_logo_120x31.gif', strtolower($this->_gateway)));
 
 
 
 
 
122
  }
123
 
124
  }
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
44
  * @category Payment methods
45
  */
46
+ class Eepohs_Estpay_Block_Estcard
47
+ extends Eepohs_Estpay_Block_Abstract
48
  {
49
 
50
  protected $_code = 'eepohs_estcard';
61
 
62
  $fields['action'] = 'gaf';
63
  $fields['ver'] = '004'; // Old version was 002
64
+ $fields['id'] =
65
+ Mage::getStoreConfig('payment/' . $this->_code . '/merchant_id');
66
  $fields['ecuno'] = sprintf('%012s', $order->getIncrementId());
67
+ $fields['eamount'] =
68
+ sprintf("%012s", (round($order->getBaseGrandTotal(), 2) * 100));
69
  $fields['cur'] = $order->getOrderCurrencyCode();
70
  $fields['datetime'] = date("YmdHis");
71
 
72
+ switch ( Mage::app()->getLocale()->getLocaleCode() ) {
73
  case 'et_EE':
74
  $language = 'et';
75
  break;
88
  }
89
  $fields['lang'] = $language;
90
 
91
+ // gaf004 related stuff
92
+ $fields['charEncoding'] = 'ISO-8859-1';
93
+ // $fields['charEncoding'] = 'UTF-8';
94
+
95
+ $fields['feedBackUrl'] = Mage::getUrl(
96
+ 'estpay/' . $this->_gateway . '/return', array('_nosid' => true)
97
+ );
98
+ $fields['delivery'] = 'T';
99
+ // Hardcoded for test purposes T = Physical delivery,
100
+ // S = Electronic delivery
101
 
102
  $data =
103
+ $fields['ver']
104
+ . sprintf("%-10s", $fields['id'])
105
+ . $fields['ecuno']
106
+ . $fields['eamount']
107
+ . $fields['cur']
108
+ . $fields['datetime']
109
+ . sprintf("%-128s", $fields['feedBackUrl'])
110
+ . $fields['delivery'];
111
 
112
  $mac = sha1($data);
113
+ $key = openssl_pkey_get_private(
114
+ Mage::getStoreConfig('payment/' . $this->_code . '/private_key')
115
+ );
116
  openssl_sign($data, $mac, $key);
117
  $fields['mac'] = bin2hex($mac);
118
  openssl_free_key($key);
126
  */
127
  public function getMethodLogoUrl()
128
  {
129
+ return $this->getSkinUrl(
130
+ sprintf(
131
+ 'images/eepohs/estpay/%s_logo_120x31.gif',
132
+ strtolower($this->_gateway)
133
+ )
134
+ );
135
  }
136
 
137
  }
app/code/community/Eepohs/Estpay/Block/IPizza.php CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,15 +35,16 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
44
  * @category Payment methods
45
  */
46
- class Eepohs_Estpay_Block_IPizza extends Eepohs_Estpay_Block_Abstract
 
47
  {
48
 
49
  /**
@@ -62,11 +63,13 @@ class Eepohs_Estpay_Block_IPizza extends Eepohs_Estpay_Block_Abstract
62
 
63
  $fields['VK_SERVICE'] = '1002';
64
  $fields['VK_VERSION'] = '008';
65
- $fields['VK_SND_ID'] = Mage::getStoreConfig('payment/' . $this->_code . '/vk_snd_id');
 
66
  $fields['VK_REF'] = '';
67
- $fields['VK_RETURN'] = Mage::getUrl('estpay/' . $this->_gateway . '/return');
 
68
 
69
- switch (Mage::app()->getLocale()->getLocaleCode()) {
70
  case 'et_EE':
71
  $language = 'EST';
72
  break;
@@ -81,20 +84,36 @@ class Eepohs_Estpay_Block_IPizza extends Eepohs_Estpay_Block_Abstract
81
  $fields['VK_LANG'] = $language;
82
  $fields['VK_STAMP'] = $order->getIncrementId();
83
 
84
- $fields['VK_AMOUNT'] = number_format($order->getBaseGrandTotal(), 2, '.', '');
 
 
85
  $fields['VK_CURR'] = 'EUR';
86
- $fields['VK_MSG'] = __('Order number') . ': ' . $order->getIncrementId();
 
87
 
88
- $data = sprintf('%03d%s', strlen($fields['VK_SERVICE']), $fields['VK_SERVICE'])
89
- . sprintf('%03d%s', strlen($fields['VK_VERSION']), $fields['VK_VERSION'])
90
- . sprintf('%03d%s', strlen($fields['VK_SND_ID']), $fields['VK_SND_ID'])
91
- . sprintf('%03d%s', strlen($fields['VK_STAMP']), $fields['VK_STAMP'])
92
- . sprintf('%03d%s', strlen($fields['VK_AMOUNT']), $fields['VK_AMOUNT'])
93
- . sprintf('%03d%s', strlen($fields['VK_CURR']), $fields['VK_CURR'])
94
- . sprintf('%03d%s', strlen($fields['VK_REF']), $fields['VK_REF'])
95
- . sprintf('%03d%s', strlen($fields['VK_MSG']), $fields['VK_MSG']);
 
 
 
 
 
 
 
 
 
 
 
96
 
97
- $key = openssl_pkey_get_private(Mage::getStoreConfig('payment/' . $this->_code . '/private_key'), '');
 
 
98
  $signature = null;
99
  openssl_sign($data, $signature, $key);
100
  $fields['VK_MAC'] = base64_encode($signature);
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
44
  * @category Payment methods
45
  */
46
+ class Eepohs_Estpay_Block_IPizza
47
+ extends Eepohs_Estpay_Block_Abstract
48
  {
49
 
50
  /**
63
 
64
  $fields['VK_SERVICE'] = '1002';
65
  $fields['VK_VERSION'] = '008';
66
+ $fields['VK_SND_ID'] =
67
+ Mage::getStoreConfig('payment/' . $this->_code . '/vk_snd_id');
68
  $fields['VK_REF'] = '';
69
+ $fields['VK_RETURN'] =
70
+ Mage::getUrl('estpay/' . $this->_gateway . '/return');
71
 
72
+ switch ( Mage::app()->getLocale()->getLocaleCode() ) {
73
  case 'et_EE':
74
  $language = 'EST';
75
  break;
84
  $fields['VK_LANG'] = $language;
85
  $fields['VK_STAMP'] = $order->getIncrementId();
86
 
87
+ $fields['VK_AMOUNT'] = number_format(
88
+ $order->getBaseGrandTotal(), 2, '.', ''
89
+ );
90
  $fields['VK_CURR'] = 'EUR';
91
+ $fields['VK_MSG'] =
92
+ __('Order number') . ': ' . $order->getIncrementId();
93
 
94
+ $data =
95
+ sprintf(
96
+ '%03d%s', strlen($fields['VK_SERVICE']), $fields['VK_SERVICE']
97
+ )
98
+ . sprintf(
99
+ '%03d%s', strlen($fields['VK_VERSION']), $fields['VK_VERSION']
100
+ )
101
+ . sprintf(
102
+ '%03d%s', strlen($fields['VK_SND_ID']), $fields['VK_SND_ID']
103
+ )
104
+ . sprintf(
105
+ '%03d%s', strlen($fields['VK_STAMP']), $fields['VK_STAMP']
106
+ )
107
+ . sprintf(
108
+ '%03d%s', strlen($fields['VK_AMOUNT']), $fields['VK_AMOUNT']
109
+ )
110
+ . sprintf('%03d%s', strlen($fields['VK_CURR']), $fields['VK_CURR'])
111
+ . sprintf('%03d%s', strlen($fields['VK_REF']), $fields['VK_REF'])
112
+ . sprintf('%03d%s', strlen($fields['VK_MSG']), $fields['VK_MSG']);
113
 
114
+ $key = openssl_pkey_get_private(
115
+ Mage::getStoreConfig('payment/' . $this->_code . '/private_key'), ''
116
+ );
117
  $signature = null;
118
  openssl_sign($data, $signature, $key);
119
  $fields['VK_MAC'] = base64_encode($signature);
app/code/community/Eepohs/Estpay/Block/Krediidipank.php CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,9 +35,9 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
app/code/community/Eepohs/Estpay/Block/Lhv.php CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,9 +35,9 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
app/code/community/Eepohs/Estpay/Block/Nordea.php CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,15 +35,16 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
44
  * @category Payment methods
45
  */
46
- class Eepohs_Estpay_Block_Nordea extends Eepohs_Estpay_Block_Abstract
 
47
  {
48
 
49
  protected $_code = 'eepohs_nordea';
@@ -59,10 +60,15 @@ class Eepohs_Estpay_Block_Nordea extends Eepohs_Estpay_Block_Abstract
59
 
60
  $fields['SOLOPMT_VERSION'] = '0003';
61
  $fields['SOLOPMT_STAMP'] = time();
62
- $fields['SOLOPMT_RCV_ID'] = Mage::getStoreConfig('payment/' . $this->_code . '/service_provider');
 
 
 
63
 
64
- /* Choose language (3 = english, 4 = estonian, 6 = latvian, 7 = lithuanian */
65
- switch (Mage::app()->getLocale()->getLocaleCode()) {
 
 
66
  case 'et_EE':
67
  $language = '4';
68
  break;
@@ -72,26 +78,38 @@ class Eepohs_Estpay_Block_Nordea extends Eepohs_Estpay_Block_Abstract
72
  }
73
  $fields['SOLOPMT_LANGUAGE'] = $language;
74
 
75
- $fields['SOLOPMT_AMOUNT'] = number_format($order->getBaseGrandTotal(), 2, '.', '');
 
 
76
  $fields['SOLOPMT_REF'] = $helper->calcRef($order->getIncrementId());
77
  $fields['SOLOPMT_DATE'] = 'EXPRESS';
78
- $fields['SOLOPMT_MSG'] = __('Invoice number') . ' ' . $order->getIncrementId();
79
- $fields['SOLOPMT_RETURN'] = Mage::getUrl('estpay/' . $this->_gateway . '/return') . '?';
80
- $fields['SOLOPMT_CANCEL'] = Mage::getUrl('estpay/' . $this->_gateway . '/return') . '?';
81
- $fields['SOLOPMT_REJECT'] = Mage::getUrl('estpay/' . $this->_gateway . '/return') . '?';
 
 
 
 
 
 
 
 
 
 
82
  $fields['SOLOPMT_CONFIRM'] = 'YES';
83
  $fields['SOLOPMT_KEYVERS'] = '0001';
84
  $fields['SOLOPMT_CUR'] = 'EUR';
85
 
86
  $data =
87
- $fields['SOLOPMT_VERSION'] . '&' .
88
- $fields['SOLOPMT_STAMP'] . '&' .
89
- $fields['SOLOPMT_RCV_ID'] . '&' .
90
- $fields['SOLOPMT_AMOUNT'] . '&' .
91
- $fields['SOLOPMT_REF'] . '&' .
92
- $fields['SOLOPMT_DATE'] . '&' .
93
- $fields['SOLOPMT_CUR'] . '&' .
94
- Mage::getStoreConfig('payment/' . $this->_code . '/mac_key') . '&';
95
 
96
  $fields['STRING'] = $data;
97
  $fields['SOLOPMT_MAC'] = strtoupper(md5($data));
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
44
  * @category Payment methods
45
  */
46
+ class Eepohs_Estpay_Block_Nordea
47
+ extends Eepohs_Estpay_Block_Abstract
48
  {
49
 
50
  protected $_code = 'eepohs_nordea';
60
 
61
  $fields['SOLOPMT_VERSION'] = '0003';
62
  $fields['SOLOPMT_STAMP'] = time();
63
+ $fields['SOLOPMT_RCV_ID'] =
64
+ Mage::getStoreConfig(
65
+ 'payment/' . $this->_code . '/service_provider'
66
+ );
67
 
68
+ /* Choose language:
69
+ * 3 = english, 4 = estonian, 6 = latvian, 7 = lithuanian
70
+ */
71
+ switch ( Mage::app()->getLocale()->getLocaleCode() ) {
72
  case 'et_EE':
73
  $language = '4';
74
  break;
78
  }
79
  $fields['SOLOPMT_LANGUAGE'] = $language;
80
 
81
+ $fields['SOLOPMT_AMOUNT'] = number_format(
82
+ $order->getBaseGrandTotal(), 2, '.', ''
83
+ );
84
  $fields['SOLOPMT_REF'] = $helper->calcRef($order->getIncrementId());
85
  $fields['SOLOPMT_DATE'] = 'EXPRESS';
86
+ $fields['SOLOPMT_MSG'] = __('Invoice number') . ' '
87
+ . $order->getIncrementId();
88
+ $fields['SOLOPMT_RETURN'] =
89
+ Mage::getUrl(
90
+ 'estpay/' . $this->_gateway . '/return'
91
+ ) . '?';
92
+ $fields['SOLOPMT_CANCEL'] =
93
+ Mage::getUrl(
94
+ 'estpay/' . $this->_gateway . '/return'
95
+ ) . '?';
96
+ $fields['SOLOPMT_REJECT'] =
97
+ Mage::getUrl(
98
+ 'estpay/' . $this->_gateway . '/return'
99
+ ) . '?';
100
  $fields['SOLOPMT_CONFIRM'] = 'YES';
101
  $fields['SOLOPMT_KEYVERS'] = '0001';
102
  $fields['SOLOPMT_CUR'] = 'EUR';
103
 
104
  $data =
105
+ $fields['SOLOPMT_VERSION'] . '&' .
106
+ $fields['SOLOPMT_STAMP'] . '&' .
107
+ $fields['SOLOPMT_RCV_ID'] . '&' .
108
+ $fields['SOLOPMT_AMOUNT'] . '&' .
109
+ $fields['SOLOPMT_REF'] . '&' .
110
+ $fields['SOLOPMT_DATE'] . '&' .
111
+ $fields['SOLOPMT_CUR'] . '&' .
112
+ Mage::getStoreConfig('payment/' . $this->_code . '/mac_key') . '&';
113
 
114
  $fields['STRING'] = $data;
115
  $fields['SOLOPMT_MAC'] = strtoupper(md5($data));
app/code/community/Eepohs/Estpay/Block/Sampo.php CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,9 +35,9 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
app/code/community/Eepohs/Estpay/Block/Seb.php CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,9 +35,9 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
app/code/community/Eepohs/Estpay/Block/Swedbank.php CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,9 +35,9 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
app/code/community/Eepohs/Estpay/Controller/Abstract.php CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,15 +35,16 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
44
  * @category Payment methods
45
  */
46
- class Eepohs_Estpay_Controller_Abstract extends Mage_Core_Controller_Front_Action
 
47
  {
48
 
49
  /**
@@ -59,14 +60,26 @@ class Eepohs_Estpay_Controller_Abstract extends Mage_Core_Controller_Front_Actio
59
  {
60
 
61
  /* Send order confirmation */
62
- if ( Mage::getStoreConfig('payment/' . $this->_code . '/order_confirmation') == '1' ) {
 
 
 
 
 
63
  try {
64
  $order = Mage::getModel('sales/order');
65
- $order->load(Mage::getSingleton('checkout/session')->getLastOrderId());
 
 
66
  $order->sendNewOrderEmail();
67
  $order->save();
68
  } catch ( Exception $e ) {
69
- Mage::log(sprintf('%s(%s): %s', __METHOD__, __LINE__, print_r($e->getMessage(), true)));
 
 
 
 
 
70
  }
71
  }
72
 
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
44
  * @category Payment methods
45
  */
46
+ class Eepohs_Estpay_Controller_Abstract
47
+ extends Mage_Core_Controller_Front_Action
48
  {
49
 
50
  /**
60
  {
61
 
62
  /* Send order confirmation */
63
+ if (
64
+ Mage::getStoreConfig(
65
+ 'payment/' . $this->_code . '/order_confirmation'
66
+ )
67
+ == '1'
68
+ ) {
69
  try {
70
  $order = Mage::getModel('sales/order');
71
+ $order->load(
72
+ Mage::getSingleton('checkout/session')->getLastOrderId()
73
+ );
74
  $order->sendNewOrderEmail();
75
  $order->save();
76
  } catch ( Exception $e ) {
77
+ Mage::log(
78
+ sprintf(
79
+ '%s(%s): %s', __METHOD__, __LINE__,
80
+ print_r($e->getMessage(), true)
81
+ )
82
+ );
83
  }
84
  }
85
 
app/code/community/Eepohs/Estpay/Helper/Data.php CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,9 +35,9 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
app/code/community/Eepohs/Estpay/Model/Abstract.php CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,15 +35,16 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
44
  * @category Payment methods
45
  */
46
- abstract class Eepohs_Estpay_Model_Abstract extends Mage_Payment_Model_Method_Abstract
 
47
  {
48
 
49
  protected $_canAuthorize = true;
@@ -66,7 +67,8 @@ abstract class Eepohs_Estpay_Model_Abstract extends Mage_Payment_Model_Method_Ab
66
  */
67
  public function createInvoice()
68
  {
69
- $order = Mage::getModel('sales/order')->loadByIncrementId($this->getOrderId());
 
70
 
71
  if ( $order->canInvoice() ) {
72
  $invoice = $order->prepareInvoice();
@@ -74,7 +76,11 @@ abstract class Eepohs_Estpay_Model_Abstract extends Mage_Payment_Model_Method_Ab
74
  $invoice->save();
75
 
76
  /* Send invoice */
77
- if ( Mage::getStoreConfig('payment/' . $this->_code . '/invoice_confirmation') == '1' ) {
 
 
 
 
78
  $invoice->sendEmail(true, '');
79
  }
80
 
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
44
  * @category Payment methods
45
  */
46
+ abstract class Eepohs_Estpay_Model_Abstract
47
+ extends Mage_Payment_Model_Method_Abstract
48
  {
49
 
50
  protected $_canAuthorize = true;
67
  */
68
  public function createInvoice()
69
  {
70
+ $order = Mage::getModel('sales/order')
71
+ ->loadByIncrementId($this->getOrderId());
72
 
73
  if ( $order->canInvoice() ) {
74
  $invoice = $order->prepareInvoice();
76
  $invoice->save();
77
 
78
  /* Send invoice */
79
+ if (
80
+ Mage::getStoreConfig(
81
+ 'payment/' . $this->_code . '/invoice_confirmation'
82
+ ) == '1'
83
+ ) {
84
  $invoice->sendEmail(true, '');
85
  }
86
 
app/code/community/Eepohs/Estpay/Model/Estcard.php CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,9 +35,9 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
@@ -53,10 +53,17 @@ class Eepohs_Estpay_Model_Estcard extends Eepohs_Estpay_Model_Abstract
53
  public function verify(array $params = array())
54
  {
55
 
56
- $merchantId = Mage::getStoreConfig('payment/' . $this->_code . '/merchant_id');
 
 
57
 
58
  if ( !isset($params['id']) || $params['id'] != $merchantId ) {
59
- Mage::log(sprintf('%s (%s): Wrong merchant ID used for return: %s vs %s', __METHOD__, __LINE__, $params['id'], $merchantId));
 
 
 
 
 
60
  return false;
61
  }
62
 
@@ -73,7 +80,11 @@ class Eepohs_Estpay_Model_Estcard extends Eepohs_Estpay_Model_Abstract
73
  . sprintf("%-40s", urldecode($params['actiontext']));
74
  $mac = pack('H*', $params['mac']);
75
 
76
- $key = openssl_pkey_get_public(Mage::getStoreConfig('payment/' . $this->_code . '/bank_certificate'));
 
 
 
 
77
  $result = openssl_verify($data, $mac, $key);
78
  openssl_free_key($key);
79
 
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
53
  public function verify(array $params = array())
54
  {
55
 
56
+ $merchantId = Mage::getStoreConfig(
57
+ 'payment/' . $this->_code . '/merchant_id'
58
+ );
59
 
60
  if ( !isset($params['id']) || $params['id'] != $merchantId ) {
61
+ Mage::log(
62
+ sprintf(
63
+ '%s (%s): Wrong merchant ID used for return: %s vs %s',
64
+ __METHOD__, __LINE__, $params['id'], $merchantId
65
+ )
66
+ );
67
  return false;
68
  }
69
 
80
  . sprintf("%-40s", urldecode($params['actiontext']));
81
  $mac = pack('H*', $params['mac']);
82
 
83
+ $key = openssl_pkey_get_public(
84
+ Mage::getStoreConfig(
85
+ 'payment/' . $this->_code . '/bank_certificate'
86
+ )
87
+ );
88
  $result = openssl_verify($data, $mac, $key);
89
  openssl_free_key($key);
90
 
app/code/community/Eepohs/Estpay/Model/IPizza.php CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,9 +35,9 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
@@ -49,38 +49,92 @@ class Eepohs_Estpay_Model_IPizza extends Eepohs_Estpay_Model_Abstract
49
  public function verify(array $params = array())
50
  {
51
 
52
- if ( !isset($params['VK_SERVICE']) || $params['VK_SERVICE'] != '1101' ) {
53
- Mage::log(sprintf('%s (%s): IPizza return service is not 1101: %s', __METHOD__, __LINE__, $params['VK_SERVICE']));
 
 
 
 
 
 
 
 
54
  return false;
55
  }
56
 
57
 
58
- $vkSndId = Mage::getStoreConfig('payment/' . $this->_code . '/vk_snd_id');
 
 
59
 
60
- if ( !isset($params['VK_REC_ID']) || $params['VK_REC_ID'] != $vkSndId ) {
61
- Mage::log(sprintf('%s (%s): Wrong merchant ID used for return: %s vs %s', __METHOD__, __LINE__, $params['VK_REC_ID'], $vkSndId));
 
 
 
 
 
 
 
 
62
  return false;
63
  }
64
 
65
 
66
- $data = sprintf('%03d%s', strlen($params['VK_SERVICE']), $params['VK_SERVICE'])
67
- . sprintf('%03d%s', strlen($params['VK_VERSION']), $params['VK_VERSION'])
68
- . sprintf('%03d%s', strlen($params['VK_SND_ID']), $params['VK_SND_ID'])
69
- . sprintf('%03d%s', strlen($params['VK_REC_ID']), $params['VK_REC_ID'])
70
- . sprintf('%03d%s', strlen($params['VK_STAMP']), $params['VK_STAMP'])
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  . sprintf('%03d%s', strlen($params['VK_T_NO']), $params['VK_T_NO'])
72
- . sprintf('%03d%s', strlen($params['VK_AMOUNT']), $params['VK_AMOUNT'])
 
 
 
73
  . sprintf('%03d%s', strlen($params['VK_CURR']), $params['VK_CURR'])
74
- . sprintf('%03d%s', strlen($params['VK_REC_ACC']), $params['VK_REC_ACC'])
75
- . sprintf('%03d%s', strlen($params['VK_REC_NAME']), $params['VK_REC_NAME'])
76
- . sprintf('%03d%s', strlen($params['VK_SND_ACC']), $params['VK_SND_ACC'])
77
- . sprintf('%03d%s', strlen($params['VK_SND_NAME']), $params['VK_SND_NAME'])
 
 
 
 
 
 
 
 
 
 
 
 
78
  . sprintf('%03d%s', strlen($params['VK_REF']), $params['VK_REF'])
79
  . sprintf('%03d%s', strlen($params['VK_MSG']), $params['VK_MSG'])
80
- . sprintf('%03d%s', strlen($params['VK_T_DATE']), $params['VK_T_DATE']);
 
 
81
 
82
- $key = openssl_pkey_get_public(Mage::getStoreConfig('payment/' . $this->_code . '/bank_certificate'));
83
- $result = openssl_verify($data, base64_decode($params['VK_MAC']), $key);
 
 
 
 
 
 
84
  openssl_free_key($key);
85
  if ( $result ) {
86
  return true;
@@ -97,9 +151,17 @@ class Eepohs_Estpay_Model_IPizza extends Eepohs_Estpay_Model_Abstract
97
  */
98
  public function validate()
99
  {
100
- $key = openssl_pkey_get_public(Mage::getStoreConfig('payment/' . $this->_code . '/bank_certificate'));
 
 
 
 
101
  if ( $key === false ) {
102
- Mage::throwException($this->_getHelper()->__('Public key for ' . $this->_code . ' not set'));
 
 
 
 
103
  }
104
  return parent::validate();
105
  }
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
49
  public function verify(array $params = array())
50
  {
51
 
52
+ if (
53
+ !isset($params['VK_SERVICE'])
54
+ || $params['VK_SERVICE'] != '1101'
55
+ ) {
56
+ Mage::log(
57
+ sprintf(
58
+ '%s (%s): IPizza return service is not 1101: %s',
59
+ __METHOD__, __LINE__, $params['VK_SERVICE']
60
+ )
61
+ );
62
  return false;
63
  }
64
 
65
 
66
+ $vkSndId = Mage::getStoreConfig(
67
+ 'payment/' . $this->_code . '/vk_snd_id'
68
+ );
69
 
70
+ if (
71
+ !isset($params['VK_REC_ID'])
72
+ || $params['VK_REC_ID'] != $vkSndId
73
+ ) {
74
+ Mage::log(
75
+ sprintf(
76
+ '%s (%s): Wrong merchant ID used for return: %s vs %s',
77
+ __METHOD__, __LINE__, $params['VK_REC_ID'], $vkSndId
78
+ )
79
+ );
80
  return false;
81
  }
82
 
83
 
84
+ $data = sprintf(
85
+ '%03d%s', strlen($params['VK_SERVICE']), $params['VK_SERVICE']
86
+ )
87
+ . sprintf(
88
+ '%03d%s', strlen($params['VK_VERSION']),
89
+ $params['VK_VERSION']
90
+ )
91
+ . sprintf(
92
+ '%03d%s', strlen($params['VK_SND_ID']),
93
+ $params['VK_SND_ID']
94
+ )
95
+ . sprintf(
96
+ '%03d%s', strlen($params['VK_REC_ID']),
97
+ $params['VK_REC_ID']
98
+ )
99
+ . sprintf(
100
+ '%03d%s', strlen($params['VK_STAMP']), $params['VK_STAMP']
101
+ )
102
  . sprintf('%03d%s', strlen($params['VK_T_NO']), $params['VK_T_NO'])
103
+ . sprintf(
104
+ '%03d%s', strlen($params['VK_AMOUNT']),
105
+ $params['VK_AMOUNT']
106
+ )
107
  . sprintf('%03d%s', strlen($params['VK_CURR']), $params['VK_CURR'])
108
+ . sprintf(
109
+ '%03d%s', strlen($params['VK_REC_ACC']),
110
+ $params['VK_REC_ACC']
111
+ )
112
+ . sprintf(
113
+ '%03d%s', strlen($params['VK_REC_NAME']),
114
+ $params['VK_REC_NAME']
115
+ )
116
+ . sprintf(
117
+ '%03d%s', strlen($params['VK_SND_ACC']),
118
+ $params['VK_SND_ACC']
119
+ )
120
+ . sprintf(
121
+ '%03d%s', strlen($params['VK_SND_NAME']),
122
+ $params['VK_SND_NAME']
123
+ )
124
  . sprintf('%03d%s', strlen($params['VK_REF']), $params['VK_REF'])
125
  . sprintf('%03d%s', strlen($params['VK_MSG']), $params['VK_MSG'])
126
+ . sprintf(
127
+ '%03d%s', strlen($params['VK_T_DATE']), $params['VK_T_DATE']
128
+ );
129
 
130
+ $key = openssl_pkey_get_public(
131
+ Mage::getStoreConfig(
132
+ 'payment/' . $this->_code . '/bank_certificate'
133
+ )
134
+ );
135
+ $result = openssl_verify(
136
+ $data, base64_decode($params['VK_MAC']), $key
137
+ );
138
  openssl_free_key($key);
139
  if ( $result ) {
140
  return true;
151
  */
152
  public function validate()
153
  {
154
+ $key = openssl_pkey_get_public(
155
+ Mage::getStoreConfig(
156
+ 'payment/' . $this->_code . '/bank_certificate'
157
+ )
158
+ );
159
  if ( $key === false ) {
160
+ Mage::throwException(
161
+ $this->_getHelper()->__(
162
+ 'Public key for ' . $this->_code . ' not set'
163
+ )
164
+ );
165
  }
166
  return parent::validate();
167
  }
app/code/community/Eepohs/Estpay/Model/Krediidipank.php CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,9 +35,9 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
app/code/community/Eepohs/Estpay/Model/Lhv.php CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,9 +35,9 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
app/code/community/Eepohs/Estpay/Model/Nordea.php CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,9 +35,9 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
@@ -72,8 +72,15 @@ class Eepohs_Estpay_Model_Nordea extends Eepohs_Estpay_Model_Abstract
72
  Mage::getStoreConfig('payment/' . $this->_code . '/mac_key') . '&';
73
 
74
  // Invalid MAC code
75
- if ( $params['SOLOPMT_RETURN_MAC'] != strtoupper(md5($data)) ) {
76
- Mage::log(sprintf("%s (%s): (Nordea) Invalid MAC code", __METHOD__, __LINE__));
 
 
 
 
 
 
 
77
  return false;
78
  }
79
 
@@ -81,8 +88,17 @@ class Eepohs_Estpay_Model_Nordea extends Eepohs_Estpay_Model_Abstract
81
 
82
  $helper = Mage::helper('estpay');
83
  // Reference number doesn't match.
84
- if ( $helper->calcRef($session->getLastRealOrderId()) != $params['SOLOPMT_RETURN_REF'] ) {
85
- Mage::log(sprintf("%s (%s): (Nordea): Reference number doesn't match (potential tampering attempt). IP logged: %s", __METHOD__, __LINE__, $_SERVER['REMOTE_ADDR']));
 
 
 
 
 
 
 
 
 
86
  return false;
87
  }
88
 
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
72
  Mage::getStoreConfig('payment/' . $this->_code . '/mac_key') . '&';
73
 
74
  // Invalid MAC code
75
+ if (
76
+ $params['SOLOPMT_RETURN_MAC']
77
+ != strtoupper(md5($data))
78
+ ) {
79
+ Mage::log(
80
+ sprintf(
81
+ "%s (%s): (Nordea) Invalid MAC code", __METHOD__, __LINE__
82
+ )
83
+ );
84
  return false;
85
  }
86
 
88
 
89
  $helper = Mage::helper('estpay');
90
  // Reference number doesn't match.
91
+ if (
92
+ $helper->calcRef($session->getLastRealOrderId())
93
+ != $params['SOLOPMT_RETURN_REF']
94
+ ) {
95
+ Mage::log(
96
+ sprintf(
97
+ "%s (%s): (Nordea): Reference number doesn't match
98
+ (potential tampering attempt). IP logged: %s",
99
+ __METHOD__, __LINE__, $_SERVER['REMOTE_ADDR']
100
+ )
101
+ );
102
  return false;
103
  }
104
 
app/code/community/Eepohs/Estpay/Model/Sampo.php CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,9 +35,9 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
app/code/community/Eepohs/Estpay/Model/Seb.php CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,9 +35,9 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
app/code/community/Eepohs/Estpay/Model/Swedbank.php CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,9 +35,9 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
app/code/community/Eepohs/Estpay/controllers/EstcardController.php CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,9 +35,9 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
app/code/community/Eepohs/Estpay/controllers/KrediidipankController.php CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,15 +35,16 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
44
  * @category Payment methods
45
  */
46
- class Eepohs_Estpay_KrediidipankController extends Eepohs_Estpay_Controller_Abstract
 
47
  {
48
 
49
  protected $_model = 'estpay/krediidipank';
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
44
  * @category Payment methods
45
  */
46
+ class Eepohs_Estpay_KrediidipankController
47
+ extends Eepohs_Estpay_Controller_Abstract
48
  {
49
 
50
  protected $_model = 'estpay/krediidipank';
app/code/community/Eepohs/Estpay/controllers/LhvController.php CHANGED
@@ -35,9 +35,9 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
app/code/community/Eepohs/Estpay/controllers/NordeaController.php CHANGED
@@ -35,9 +35,9 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
app/code/community/Eepohs/Estpay/controllers/SampoController.php CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,9 +35,9 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
app/code/community/Eepohs/Estpay/controllers/SebController.php CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,9 +35,9 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
app/code/community/Eepohs/Estpay/controllers/SwedbankController.php CHANGED
@@ -1,8 +1,16 @@
1
  <?php
2
 
3
  /**
 
 
 
 
 
4
  * @package Eepohs
5
  * @subpackage Estpay
 
 
 
6
  */
7
 
8
  /**
@@ -13,7 +21,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -34,14 +42,15 @@
34
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
- * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
- * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
- *
42
  * @package Eepohs
43
  * @subpackage Estpay
44
- * @category Payment methods
 
 
 
 
 
45
  */
46
  class Eepohs_Estpay_SwedbankController extends Eepohs_Estpay_Controller_Abstract
47
  {
1
  <?php
2
 
3
  /**
4
+ * SwedbankController.php
5
+ *
6
+ * PHP version 5
7
+ *
8
+ * @category Magento
9
  * @package Eepohs
10
  * @subpackage Estpay
11
+ * @author Eepohs OÜ <info@eepohs.com>
12
+ * @license http://opensource.org/licenses/bsd-license.php BSDL
13
+ * @link http://eepohs.com/
14
  */
15
 
16
  /**
21
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
22
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
23
  *
24
+ * Copyright (c) 2012, Eepohs OÜ
25
  * All rights reserved.
26
  * Redistribution and use in source and binary forms, with or without
27
  * modification, are permitted provided that the following conditions are met:
42
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
43
  * THE POSSIBILITY OF SUCH DAMAGE.
44
  *
45
+ * @category Community
 
 
 
 
46
  * @package Eepohs
47
  * @subpackage Estpay
48
+ * @author Eepohs OÜ <info@eepohs.com>
49
+ * @copyright 2012 Eepohs OÜ
50
+ * @license http://opensource.org/licenses/bsd-license.php BSDL
51
+ * @version Release 1.3.0.1
52
+ * @link http://eepohs.com/
53
+ *
54
  */
55
  class Eepohs_Estpay_SwedbankController extends Eepohs_Estpay_Controller_Abstract
56
  {
app/code/community/Eepohs/Estpay/etc/config.xml CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,9 +35,9 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
@@ -47,7 +47,7 @@
47
  <config>
48
  <modules>
49
  <Eepohs_Estpay>
50
- <version>$version$</version>
51
  </Eepohs_Estpay>
52
  </modules>
53
  <global>
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
47
  <config>
48
  <modules>
49
  <Eepohs_Estpay>
50
+ <version>1.3.0.1</version>
51
  </Eepohs_Estpay>
52
  </modules>
53
  <global>
app/code/community/Eepohs/Estpay/etc/system.xml CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,9 +35,9 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
app/design/adminhtml/default/default/layout/eepohs/estpay.xml CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,9 +35,9 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
app/design/adminhtml/default/default/template/eepohs/estpay/initjs.phtml CHANGED
@@ -12,7 +12,7 @@
12
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
13
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
14
  *
15
- * Copyright (c) $year$, Eepohs OÜ
16
  * All rights reserved.
17
  * Redistribution and use in source and binary forms, with or without
18
  * modification, are permitted provided that the following conditions are met:
@@ -34,9 +34,9 @@
34
  * THE POSSIBILITY OF SUCH DAMAGE.
35
  *
36
  * @license http://opensource.org/licenses/bsd-license.php
37
- * @version $version$
38
  * @author Eepohs OÜ
39
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
40
  *
41
  * @package Eepohs
42
  * @subpackage Estpay
12
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
13
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
14
  *
15
+ * Copyright (c) 2012, Eepohs OÜ
16
  * All rights reserved.
17
  * Redistribution and use in source and binary forms, with or without
18
  * modification, are permitted provided that the following conditions are met:
34
  * THE POSSIBILITY OF SUCH DAMAGE.
35
  *
36
  * @license http://opensource.org/licenses/bsd-license.php
37
+ * @version 1.3.0.1
38
  * @author Eepohs OÜ
39
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
40
  *
41
  * @package Eepohs
42
  * @subpackage Estpay
app/design/frontend/base/default/layout/eepohs/estpay.xml CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,9 +35,9 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
app/design/frontend/base/default/template/eepohs/estpay/estcard.phtml CHANGED
@@ -11,7 +11,7 @@
11
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
12
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
13
  *
14
- * Copyright (c) $year$, Eepohs OÜ
15
  * All rights reserved.
16
  * Redistribution and use in source and binary forms, with or without
17
  * modification, are permitted provided that the following conditions are met:
@@ -33,9 +33,9 @@
33
  * THE POSSIBILITY OF SUCH DAMAGE.
34
  *
35
  * @license http://opensource.org/licenses/bsd-license.php
36
- * @version $version$
37
  * @author Eepohs OÜ
38
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
39
  *
40
  * @package Eepohs
41
  * @subpackage Estpay
11
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
12
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
13
  *
14
+ * Copyright (c) 2012, Eepohs OÜ
15
  * All rights reserved.
16
  * Redistribution and use in source and binary forms, with or without
17
  * modification, are permitted provided that the following conditions are met:
33
  * THE POSSIBILITY OF SUCH DAMAGE.
34
  *
35
  * @license http://opensource.org/licenses/bsd-license.php
36
+ * @version 1.3.0.1
37
  * @author Eepohs OÜ
38
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
39
  *
40
  * @package Eepohs
41
  * @subpackage Estpay
app/design/frontend/base/default/template/eepohs/estpay/krediidipank.phtml CHANGED
@@ -11,7 +11,7 @@
11
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
12
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
13
  *
14
- * Copyright (c) $year$, Eepohs OÜ
15
  * All rights reserved.
16
  * Redistribution and use in source and binary forms, with or without
17
  * modification, are permitted provided that the following conditions are met:
@@ -33,9 +33,9 @@
33
  * THE POSSIBILITY OF SUCH DAMAGE.
34
  *
35
  * @license http://opensource.org/licenses/bsd-license.php
36
- * @version $version$
37
  * @author Eepohs OÜ
38
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
39
  *
40
  * @package Eepohs
41
  * @subpackage Estpay
11
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
12
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
13
  *
14
+ * Copyright (c) 2012, Eepohs OÜ
15
  * All rights reserved.
16
  * Redistribution and use in source and binary forms, with or without
17
  * modification, are permitted provided that the following conditions are met:
33
  * THE POSSIBILITY OF SUCH DAMAGE.
34
  *
35
  * @license http://opensource.org/licenses/bsd-license.php
36
+ * @version 1.3.0.1
37
  * @author Eepohs OÜ
38
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
39
  *
40
  * @package Eepohs
41
  * @subpackage Estpay
app/design/frontend/base/default/template/eepohs/estpay/lhv.phtml CHANGED
@@ -11,7 +11,7 @@
11
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
12
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
13
  *
14
- * Copyright (c) $year$, Eepohs OÜ
15
  * All rights reserved.
16
  * Redistribution and use in source and binary forms, with or without
17
  * modification, are permitted provided that the following conditions are met:
@@ -33,9 +33,9 @@
33
  * THE POSSIBILITY OF SUCH DAMAGE.
34
  *
35
  * @license http://opensource.org/licenses/bsd-license.php
36
- * @version $version$
37
  * @author Eepohs OÜ
38
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
39
  *
40
  * @package Eepohs
41
  * @subpackage Estpay
11
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
12
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
13
  *
14
+ * Copyright (c) 2012, Eepohs OÜ
15
  * All rights reserved.
16
  * Redistribution and use in source and binary forms, with or without
17
  * modification, are permitted provided that the following conditions are met:
33
  * THE POSSIBILITY OF SUCH DAMAGE.
34
  *
35
  * @license http://opensource.org/licenses/bsd-license.php
36
+ * @version 1.3.0.1
37
  * @author Eepohs OÜ
38
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
39
  *
40
  * @package Eepohs
41
  * @subpackage Estpay
app/design/frontend/base/default/template/eepohs/estpay/nordea.phtml CHANGED
@@ -11,7 +11,7 @@
11
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
12
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
13
  *
14
- * Copyright (c) $year$, Eepohs OÜ
15
  * All rights reserved.
16
  * Redistribution and use in source and binary forms, with or without
17
  * modification, are permitted provided that the following conditions are met:
@@ -33,9 +33,9 @@
33
  * THE POSSIBILITY OF SUCH DAMAGE.
34
  *
35
  * @license http://opensource.org/licenses/bsd-license.php
36
- * @version $version$
37
  * @author Eepohs OÜ
38
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
39
  *
40
  * @package Eepohs
41
  * @subpackage Estpay
11
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
12
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
13
  *
14
+ * Copyright (c) 2012, Eepohs OÜ
15
  * All rights reserved.
16
  * Redistribution and use in source and binary forms, with or without
17
  * modification, are permitted provided that the following conditions are met:
33
  * THE POSSIBILITY OF SUCH DAMAGE.
34
  *
35
  * @license http://opensource.org/licenses/bsd-license.php
36
+ * @version 1.3.0.1
37
  * @author Eepohs OÜ
38
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
39
  *
40
  * @package Eepohs
41
  * @subpackage Estpay
app/design/frontend/base/default/template/eepohs/estpay/sampo.phtml CHANGED
@@ -11,7 +11,7 @@
11
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
12
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
13
  *
14
- * Copyright (c) $year$, Eepohs OÜ
15
  * All rights reserved.
16
  * Redistribution and use in source and binary forms, with or without
17
  * modification, are permitted provided that the following conditions are met:
@@ -33,9 +33,9 @@
33
  * THE POSSIBILITY OF SUCH DAMAGE.
34
  *
35
  * @license http://opensource.org/licenses/bsd-license.php
36
- * @version $version$
37
  * @author Eepohs OÜ
38
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
39
  *
40
  * @package Eepohs
41
  * @subpackage Estpay
11
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
12
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
13
  *
14
+ * Copyright (c) 2012, Eepohs OÜ
15
  * All rights reserved.
16
  * Redistribution and use in source and binary forms, with or without
17
  * modification, are permitted provided that the following conditions are met:
33
  * THE POSSIBILITY OF SUCH DAMAGE.
34
  *
35
  * @license http://opensource.org/licenses/bsd-license.php
36
+ * @version 1.3.0.1
37
  * @author Eepohs OÜ
38
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
39
  *
40
  * @package Eepohs
41
  * @subpackage Estpay
app/design/frontend/base/default/template/eepohs/estpay/seb.phtml CHANGED
@@ -11,7 +11,7 @@
11
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
12
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
13
  *
14
- * Copyright (c) $year$, Eepohs OÜ
15
  * All rights reserved.
16
  * Redistribution and use in source and binary forms, with or without
17
  * modification, are permitted provided that the following conditions are met:
@@ -33,9 +33,9 @@
33
  * THE POSSIBILITY OF SUCH DAMAGE.
34
  *
35
  * @license http://opensource.org/licenses/bsd-license.php
36
- * @version $version$
37
  * @author Eepohs OÜ
38
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
39
  *
40
  * @package Eepohs
41
  * @subpackage Estpay
11
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
12
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
13
  *
14
+ * Copyright (c) 2012, Eepohs OÜ
15
  * All rights reserved.
16
  * Redistribution and use in source and binary forms, with or without
17
  * modification, are permitted provided that the following conditions are met:
33
  * THE POSSIBILITY OF SUCH DAMAGE.
34
  *
35
  * @license http://opensource.org/licenses/bsd-license.php
36
+ * @version 1.3.0.1
37
  * @author Eepohs OÜ
38
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
39
  *
40
  * @package Eepohs
41
  * @subpackage Estpay
app/design/frontend/base/default/template/eepohs/estpay/swedbank.phtml CHANGED
@@ -11,7 +11,7 @@
11
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
12
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
13
  *
14
- * Copyright (c) $year$, Eepohs OÜ
15
  * All rights reserved.
16
  * Redistribution and use in source and binary forms, with or without
17
  * modification, are permitted provided that the following conditions are met:
@@ -33,9 +33,9 @@
33
  * THE POSSIBILITY OF SUCH DAMAGE.
34
  *
35
  * @license http://opensource.org/licenses/bsd-license.php
36
- * @version $version$
37
  * @author Eepohs OÜ
38
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
39
  *
40
  * @package Eepohs
41
  * @subpackage Estpay
11
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
12
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
13
  *
14
+ * Copyright (c) 2012, Eepohs OÜ
15
  * All rights reserved.
16
  * Redistribution and use in source and binary forms, with or without
17
  * modification, are permitted provided that the following conditions are met:
33
  * THE POSSIBILITY OF SUCH DAMAGE.
34
  *
35
  * @license http://opensource.org/licenses/bsd-license.php
36
+ * @version 1.3.0.1
37
  * @author Eepohs OÜ
38
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
39
  *
40
  * @package Eepohs
41
  * @subpackage Estpay
app/etc/modules/Eepohs_Estpay.xml CHANGED
@@ -13,7 +13,7 @@
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
- * Copyright (c) $year$, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
@@ -35,9 +35,9 @@
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
- * @version $version$
39
  * @author Eepohs OÜ
40
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
13
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
15
  *
16
+ * Copyright (c) 2012, Eepohs OÜ
17
  * All rights reserved.
18
  * Redistribution and use in source and binary forms, with or without
19
  * modification, are permitted provided that the following conditions are met:
35
  * THE POSSIBILITY OF SUCH DAMAGE.
36
  *
37
  * @license http://opensource.org/licenses/bsd-license.php
38
+ * @version 1.3.0.1
39
  * @author Eepohs OÜ
40
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
41
  *
42
  * @package Eepohs
43
  * @subpackage Estpay
js/eepohs/estpay.js CHANGED
@@ -11,7 +11,7 @@
11
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
12
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
13
  *
14
- * Copyright (c) $year$, Eepohs OÜ
15
  * All rights reserved.
16
  * Redistribution and use in source and binary forms, with or without
17
  * modification, are permitted provided that the following conditions are met:
@@ -33,9 +33,9 @@
33
  * THE POSSIBILITY OF SUCH DAMAGE.
34
  *
35
  * @license http://opensource.org/licenses/bsd-license.php
36
- * @version $version$
37
  * @author Eepohs OÜ
38
- * @copyright $year$ Eepohs OÜ http://www.eepohs.com/
39
  *
40
  * @package Eepohs
41
  * @subpackage Estpay
@@ -47,13 +47,8 @@ Event.observe(window, 'load', function() {
47
 
48
  EepohsPayment = Class.create();
49
  EepohsPayment.prototype = {
50
- servicesApi:'http://services.eepohs.com',
51
- version:0,
52
  initialize: function(){
53
 
54
- },
55
- getServiceUrl: function(url){
56
- return this.servicesApi + url;
57
  },
58
  /**
59
  * @elements array of element id-s / payment methods
@@ -87,27 +82,11 @@ EepohsPayment.prototype = {
87
  }
88
  );
89
 
90
- },
91
- addRegisterButton: function(){
92
-
93
  },
94
  /**
95
  * Sets current module version
96
  */
97
  setModuleVersion: function(version){
98
  this.version = version;
99
- },
100
- /**
101
- * Checks for current module upgrades from Eepohs Services API
102
- */
103
- checkForUpgrades: function(module, version){
104
- //TODO implement local AJAX proxy
105
- // var url = this.servicesApi + '/software/checkVersion';
106
- // new Ajax.Request(url,{
107
- // onSuccess: function(response){
108
- // alert( response.responseJSON );
109
- // }
110
- // });
111
- return;
112
  }
113
  }
11
  * TO BE BOUND BY THE TERMS OF THIS LICENSE.
12
  * IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
13
  *
14
+ * Copyright (c) 2012, Eepohs OÜ
15
  * All rights reserved.
16
  * Redistribution and use in source and binary forms, with or without
17
  * modification, are permitted provided that the following conditions are met:
33
  * THE POSSIBILITY OF SUCH DAMAGE.
34
  *
35
  * @license http://opensource.org/licenses/bsd-license.php
36
+ * @version 1.3.0.1
37
  * @author Eepohs OÜ
38
+ * @copyright 2012 Eepohs OÜ http://www.eepohs.com/
39
  *
40
  * @package Eepohs
41
  * @subpackage Estpay
47
 
48
  EepohsPayment = Class.create();
49
  EepohsPayment.prototype = {
 
 
50
  initialize: function(){
51
 
 
 
 
52
  },
53
  /**
54
  * @elements array of element id-s / payment methods
82
  }
83
  );
84
 
 
 
 
85
  },
86
  /**
87
  * Sets current module version
88
  */
89
  setModuleVersion: function(version){
90
  this.version = version;
 
 
 
 
 
 
 
 
 
 
 
 
 
91
  }
92
  }
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>estpay</name>
4
- <version>1.3.0</version>
5
  <stability>stable</stability>
6
  <license uri="www.opensource.org/licenses/bsd-license.php">BSDL</license>
7
  <channel>community</channel>
@@ -15,11 +15,13 @@ Krediidipank&#xD;
15
  LHV&#xD;
16
  Nordea&#xD;
17
  NETS (EstCard)</description>
18
- <notes>Initial public version of EstPay</notes>
 
 
19
  <authors><author><name>Eepohs</name><user>eepohs</user><email>info@eepohs.com</email></author><author><name>Tanel Raja</name><user>pronto</user><email>tanel.raja@eepohs.com</email></author><author><name>Sven Varkel</name><user>svenvarkel</user><email>sven.varkel@eepohs.com</email></author></authors>
20
- <date>2012-10-02</date>
21
- <time>18:44:46</time>
22
- <contents><target name="mageetc"><dir name="modules"><file name="Eepohs_Estpay.xml" hash="4c4052328314940912a1633357f9cf1b"/></dir></target><target name="magecommunity"><dir name="Eepohs"><dir name="Estpay"><dir><dir name="Block"><file name="Abstract.php" hash="c72ff0d1a1190a4febd821b522035fb1"/><dir name="Adminhtml"><file name="Initjs.php" hash="c44ecd573a82abe2f4204c03be917dc0"/></dir><file name="Estcard.php" hash="cdff5c8aff65594085dacf7873ef2aab"/><file name="IPizza.php" hash="e5195df8e9267f94342a4f060426cbaa"/><file name="Krediidipank.php" hash="3d5640ec38e1ff2c315af83d08bd760e"/><file name="Lhv.php" hash="d9c5390cdf4ffae078204f7143fdf3c5"/><file name="Nordea.php" hash="97b6db807099b34ba9035a9461989c4a"/><file name="Sampo.php" hash="f58ef85fcea69b742b2d6ae0f893ef5a"/><file name="Seb.php" hash="d8ad7054ce95f3006e26c425f4a09fb6"/><file name="Swedbank.php" hash="0cf9b0c55edf95e63db7369b46a76e79"/></dir><dir name="Controller"><file name="Abstract.php" hash="8f65f2320101e701a0b1845652cf353f"/></dir><dir name="Helper"><file name="Data.php" hash="99cf64873ea038faf4674918cc80b338"/></dir><dir name="Model"><file name="Abstract.php" hash="511dd5f39ddff1a245aad00afd64fe66"/><file name="Estcard.php" hash="539b4663527842c8ef641f8c198eb2c8"/><file name="IPizza.php" hash="f8abeef71bd1f7c3c60a1d95329f78c2"/><file name="Krediidipank.php" hash="b9999dce5b0cb5da24f5541183131dee"/><file name="Lhv.php" hash="037ae3b6da9bca3473d3026dbabcbd61"/><file name="Nordea.php" hash="9241b6c1435e46d1c9756c5117a7d5cc"/><file name="Sampo.php" hash="766722dfcf8ce4d0700b60d997e028cc"/><file name="Seb.php" hash="62be55334e33e6b6142cb3367a334c74"/><file name="Swedbank.php" hash="1d22e827a1faa20fee1dd8c94fae44d8"/></dir><dir name="controllers"><file name="EstcardController.php" hash="8d5589a9f3c169869958864e9d157a2f"/><file name="KrediidipankController.php" hash="d27c662a7143ef988905c84f1a11a0b8"/><file name="LhvController.php" hash="0cc9aca6fab92a692b72dc8904f2caf5"/><file name="NordeaController.php" hash="b32a5a5e055556579594b340b0f15b52"/><file name="SampoController.php" hash="c01d9f489c5023e00839625d89fff005"/><file name="SebController.php" hash="9433676e7d2bbc71a7f3cc55c458b457"/><file name="SwedbankController.php" hash="c7b8054c7bfa2b3df944ed6322df6721"/></dir><dir name="etc"><file name="config.xml" hash="160a2df8f7216e54334d3c4ebe164d07"/><file name="system.xml" hash="f172c4b969b40715cffd5b24364b991e"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="eepohs"><dir><dir name="estpay"><file name="eepohs_logo_small.png" hash="02f9bbc63353de450a4251032696b771"/><file name="eepohs_logo_x40px.png" hash="f224808ff96cb44bf2ca175606d08140"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="eepohs"><dir name="estpay"><file name="estcard_logo_120x31.gif" hash="61ba903f860fdd8fa43f38d3f579fcdc"/><file name="krediidipank_logo_88x31.gif" hash="d4fe2e6bf5161b19a4a05185d4bfbb43"/><file name="lhv_logo_120x60.png" hash="197fbb4fa075144b00bb9ea8e72314a1"/><file name="lhv_logo_88x31.png" hash="6e824143ac44b64901dfcb8015362259"/><file name="nordea_logo_88x31.gif" hash="e519ba2ceb26c4f28e913a6f93a6041d"/><file name="sampo_logo_88x31.gif" hash="c4e1a434cadffa75481dd3afea813c01"/><file name="seb_logo_88x31.gif" hash="cad693371f8e2373fd29db412e26ec12"/><file name="swedbank_logo_220x31_eng.png" hash="d426e1adaa59fa0cbf315786631f122d"/><file name="swedbank_logo_220x31_est.png" hash="4c46c36d136e16bc66be16d005ff0ad4"/><file name="swedbank_logo_220x31_rus.png" hash="ec799492da209f8502fddc50ef4eeb30"/><file name="swedbank_logo_88x31.gif" hash="c645adcc9fff6c4edd8eef444234e7b6"/></dir></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="eepohs"><file name="estpay.xml" hash="b99db2f586ea4e01ca100c97a8fb0d58"/></dir></dir><dir name="template"><dir name="eepohs"><dir name="estpay"><file name="estcard.phtml" hash="247c08383fab6bb12f12de3f2c5d705b"/><file name="krediidipank.phtml" hash="1ae4a52488eba0c92cf1cfcec6c30656"/><file name="lhv.phtml" hash="61fd2d5836346f3d3f0cdfd82f3e62a9"/><file name="nordea.phtml" hash="785cb6a063f8056f89d160e8977f0ff3"/><file name="sampo.phtml" hash="c047dec379deade0e92e306164c1e115"/><file name="seb.phtml" hash="fd8b51d033172675f09d79f3317db152"/><file name="swedbank.phtml" hash="f4c0b91c7d8cb5851a6043b277ba9400"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="eepohs"><file name="estpay.xml" hash="91d169645366724695c141eb2fc2554d"/></dir></dir><dir name="template"><dir name="eepohs"><dir name="estpay"><file name="initjs.phtml" hash="e5665ee6e34d6087702896281f450d81"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="et_EE"><file name="Eepohs_Estpay.csv" hash="61dbb2ea54f163e377a2de1e3ad05f63"/></dir><dir name="en_US"><file name="Eepohs_Estpay.csv" hash="9cbd3ab267115477caa7f51d6a1197d9"/></dir></target><target name="mageweb"><dir name="js"><dir name="eepohs"><file name="estpay.js" hash="f8efc482ad7c068335c62f31903adb3b"/></dir></dir></target></contents>
23
  <compatible/>
24
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
25
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>estpay</name>
4
+ <version>1.3.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="www.opensource.org/licenses/bsd-license.php">BSDL</license>
7
  <channel>community</channel>
15
  LHV&#xD;
16
  Nordea&#xD;
17
  NETS (EstCard)</description>
18
+ <notes>Bugfix release.&#xD;
19
+ Fixes:&#xD;
20
+ - $version$ placeholder correctly replaced in all files</notes>
21
  <authors><author><name>Eepohs</name><user>eepohs</user><email>info@eepohs.com</email></author><author><name>Tanel Raja</name><user>pronto</user><email>tanel.raja@eepohs.com</email></author><author><name>Sven Varkel</name><user>svenvarkel</user><email>sven.varkel@eepohs.com</email></author></authors>
22
+ <date>2012-10-03</date>
23
+ <time>16:53:16</time>
24
+ <contents><target name="mageetc"><dir name="modules"><file name="Eepohs_Estpay.xml" hash="ebaf1b090c5e759e032e2e97b30dbb43"/></dir></target><target name="magecommunity"><dir name="Eepohs"><dir name="Estpay"><dir><dir name="Block"><file name="Abstract.php" hash="57b2b3b3349af6657479f548746f8edf"/><dir name="Adminhtml"><file name="Initjs.php" hash="ff37af4d82c44e284a8948446e17df13"/></dir><file name="Estcard.php" hash="4e0e6fb0e19cd1182df937ffd4c684a3"/><file name="IPizza.php" hash="2c0fca567ccd13dbd9bf7e148e24cd7d"/><file name="Krediidipank.php" hash="373bb7711ea7a2931ace9dedb641f9ae"/><file name="Lhv.php" hash="c66502f683f596086cbeefe56f48a6cd"/><file name="Nordea.php" hash="265640ff3bd72c5fcd0564d6ee678c93"/><file name="Sampo.php" hash="fce7f95f53ecd43d132e1ac8486a2115"/><file name="Seb.php" hash="b7a2e4c1136ea6a6c5b0861769fefcae"/><file name="Swedbank.php" hash="b1b121d5a278d8af2c60ce4e373f7216"/></dir><dir name="Controller"><file name="Abstract.php" hash="11c495e9f564028bc067f52d6cf17900"/></dir><dir name="Helper"><file name="Data.php" hash="e26d9afdcb2ab0e4229218c6d5df713b"/></dir><dir name="Model"><file name="Abstract.php" hash="d6471f1b87ff44ce615dee9a9b3f72ba"/><file name="Estcard.php" hash="cce28af04d0f92a18f6f386ecd9c2d3c"/><file name="IPizza.php" hash="944d1f6b182b11398e873a3f31a85fe2"/><file name="Krediidipank.php" hash="353f26a624481522351701e34054e07c"/><file name="Lhv.php" hash="323cbf429ca77814f214e6521b4c01e2"/><file name="Nordea.php" hash="b98c717b304080656f56e4db57947df1"/><file name="Sampo.php" hash="d9d721087bd5dc2e8cc8bfab418ce533"/><file name="Seb.php" hash="9f176321c5bb2969d38dd89ee1c5f540"/><file name="Swedbank.php" hash="bd92846be3baae7f960cd44585b0140a"/></dir><dir name="controllers"><file name="EstcardController.php" hash="37f829606dbe7ad46bd0aa091bb3dd41"/><file name="KrediidipankController.php" hash="5749e903de05cfd743abb258561a72f9"/><file name="LhvController.php" hash="f2a7040ec7b36a33a73a033cb2f4a92b"/><file name="NordeaController.php" hash="d449240adcd28eb7ebee40145ecbee21"/><file name="SampoController.php" hash="bb28906469ca652dcfc92d9750c1ef54"/><file name="SebController.php" hash="275e858d96dea4ae1a3fa0374fb16ea7"/><file name="SwedbankController.php" hash="db7cdc5d52d24a76a3f2eccc5bdd0cb2"/></dir><dir name="etc"><file name="config.xml" hash="ffd43b7b42e7dba9b9af9798cc9a460d"/><file name="system.xml" hash="1dfdfa037fa344badf8c144f39d1d6f4"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="eepohs"><dir><dir name="estpay"><file name="eepohs_logo_small.png" hash="02f9bbc63353de450a4251032696b771"/><file name="eepohs_logo_x40px.png" hash="f224808ff96cb44bf2ca175606d08140"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="eepohs"><dir name="estpay"><file name="estcard_logo_120x31.gif" hash="61ba903f860fdd8fa43f38d3f579fcdc"/><file name="krediidipank_logo_88x31.gif" hash="d4fe2e6bf5161b19a4a05185d4bfbb43"/><file name="lhv_logo_120x60.png" hash="197fbb4fa075144b00bb9ea8e72314a1"/><file name="lhv_logo_88x31.png" hash="6e824143ac44b64901dfcb8015362259"/><file name="nordea_logo_88x31.gif" hash="e519ba2ceb26c4f28e913a6f93a6041d"/><file name="sampo_logo_88x31.gif" hash="c4e1a434cadffa75481dd3afea813c01"/><file name="seb_logo_88x31.gif" hash="cad693371f8e2373fd29db412e26ec12"/><file name="swedbank_logo_220x31_eng.png" hash="d426e1adaa59fa0cbf315786631f122d"/><file name="swedbank_logo_220x31_est.png" hash="4c46c36d136e16bc66be16d005ff0ad4"/><file name="swedbank_logo_220x31_rus.png" hash="ec799492da209f8502fddc50ef4eeb30"/><file name="swedbank_logo_88x31.gif" hash="c645adcc9fff6c4edd8eef444234e7b6"/></dir></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="eepohs"><file name="estpay.xml" hash="86a40323b18f4463121b3821092dd5fd"/></dir></dir><dir name="template"><dir name="eepohs"><dir name="estpay"><file name="estcard.phtml" hash="73f45a12cabb7cdafb5bdda4557aef7e"/><file name="krediidipank.phtml" hash="153bde38e33b0fea119364d47cbde856"/><file name="lhv.phtml" hash="8fe8e8a22f1fa9594d581d6b5440f6a0"/><file name="nordea.phtml" hash="2f9f5cb772ee5fff019c362471831aa7"/><file name="sampo.phtml" hash="131bc4945d23c54dda9f356d801c146c"/><file name="seb.phtml" hash="5c702f46c74308627fc7b2f346827b28"/><file name="swedbank.phtml" hash="50c98d3b45a53249e0da74ea59d1b223"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="eepohs"><file name="estpay.xml" hash="51da55362126c6d275f5ebcc46c20ea3"/></dir></dir><dir name="template"><dir name="eepohs"><dir name="estpay"><file name="initjs.phtml" hash="9723cc6b57a704e2852d8b50b4c62cd8"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="et_EE"><file name="Eepohs_Estpay.csv" hash="61dbb2ea54f163e377a2de1e3ad05f63"/></dir><dir name="en_US"><file name="Eepohs_Estpay.csv" hash="9cbd3ab267115477caa7f51d6a1197d9"/></dir></target><target name="mageweb"><dir name="js"><dir name="eepohs"><file name="estpay.js" hash="2d78f297eef811cfd9c8961c5d9c5a64"/></dir></dir></target></contents>
25
  <compatible/>
26
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
27
  </package>