Version Notes
In this release verification and handling of return messages is changed.
Download this release
Release Info
Developer | Multon |
Extension | estpay |
Version | 1.3.2 |
Comparing to | |
See all releases |
Code changes from version 1.3.1 to 1.3.2
- app/code/community/Eepohs/Estpay/Block/Abstract.php +18 -10
- app/code/community/Eepohs/Estpay/Block/Adminhtml/Initjs.php +28 -9
- app/code/community/Eepohs/Estpay/Block/Estcard.php +29 -15
- app/code/community/Eepohs/Estpay/Block/IPizza.php +24 -29
- app/code/community/Eepohs/Estpay/Block/Info.php +82 -0
- app/code/community/Eepohs/Estpay/Block/Krediidipank.php +15 -7
- app/code/community/Eepohs/Estpay/Block/Lhv.php +21 -7
- app/code/community/Eepohs/Estpay/Block/Nordea.php +37 -39
- app/code/community/Eepohs/Estpay/Block/Sampo.php +15 -7
- app/code/community/Eepohs/Estpay/Block/Seb.php +15 -7
- app/code/community/Eepohs/Estpay/Block/Swedbank.php +16 -11
- app/code/community/Eepohs/Estpay/Controller/Abstract.php +48 -40
- app/code/community/Eepohs/Estpay/Helper/Data.php +24 -13
- app/code/community/Eepohs/Estpay/Model/Abstract.php +20 -18
- app/code/community/Eepohs/Estpay/Model/Estcard.php +66 -52
- app/code/community/Eepohs/Estpay/Model/IPizza.php +110 -122
- app/code/community/Eepohs/Estpay/Model/Krediidipank.php +15 -8
- app/code/community/Eepohs/Estpay/Model/Lhv.php +15 -8
- app/code/community/Eepohs/Estpay/Model/Nordea.php +38 -44
- app/code/community/Eepohs/Estpay/Model/Sampo.php +15 -8
- app/code/community/Eepohs/Estpay/Model/Seb.php +15 -8
- app/code/community/Eepohs/Estpay/Model/Swedbank.php +15 -8
- app/code/community/Eepohs/Estpay/controllers/EstcardController.php +14 -7
- app/code/community/Eepohs/Estpay/controllers/KrediidipankController.php +16 -10
- app/code/community/Eepohs/Estpay/controllers/LhvController.php +15 -8
- app/code/community/Eepohs/Estpay/controllers/NordeaController.php +15 -8
- app/code/community/Eepohs/Estpay/controllers/SampoController.php +15 -8
- app/code/community/Eepohs/Estpay/controllers/SebController.php +14 -7
- app/code/community/Eepohs/Estpay/controllers/SwedbankController.php +1 -2
- app/code/community/Eepohs/Estpay/etc/config.xml +16 -8
- app/code/community/Eepohs/Estpay/etc/system.xml +15 -7
- app/design/adminhtml/default/default/layout/eepohs/estpay.xml +1 -1
- app/design/adminhtml/default/default/template/eepohs/estpay/initjs.phtml +1 -1
- app/design/frontend/base/default/layout/eepohs/estpay.xml +20 -6
- app/design/frontend/base/default/template/eepohs/estpay/estcard.phtml +16 -7
- app/design/frontend/base/default/template/eepohs/estpay/info.phtml +63 -0
- app/design/frontend/base/default/template/eepohs/estpay/krediidipank.phtml +16 -7
- app/design/frontend/base/default/template/eepohs/estpay/lhv.phtml +16 -7
- app/design/frontend/base/default/template/eepohs/estpay/nordea.phtml +16 -7
- app/design/frontend/base/default/template/eepohs/estpay/sampo.phtml +16 -7
- app/design/frontend/base/default/template/eepohs/estpay/seb.phtml +16 -7
- app/design/frontend/base/default/template/eepohs/estpay/swedbank.phtml +16 -7
- app/etc/modules/Eepohs_Estpay.xml +15 -7
- js/eepohs/estpay.js +15 -7
- package.xml +5 -6
app/code/community/Eepohs/Estpay/Block/Abstract.php
CHANGED
@@ -1,8 +1,16 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
@@ -34,17 +42,16 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
-
class Eepohs_Estpay_Block_Abstract
|
47 |
-
extends Mage_Payment_Block_Form
|
48 |
{
|
49 |
|
50 |
/**
|
@@ -59,6 +66,7 @@ class Eepohs_Estpay_Block_Abstract
|
|
59 |
|
60 |
/**
|
61 |
* Adds payment mehtod logotypes after method name
|
|
|
62 |
* @return string
|
63 |
*/
|
64 |
public function getMethodLabelAfterHtml()
|
@@ -93,8 +101,8 @@ class Eepohs_Estpay_Block_Abstract
|
|
93 |
* returns javascript block that redirects user
|
94 |
* to bank without intermediate page
|
95 |
*
|
96 |
-
* @since
|
97 |
-
* @return outstr
|
98 |
*/
|
99 |
public function getQuickRedirectScript()
|
100 |
{
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* Abstract.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 |
/**
|
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.2
|
52 |
+
* @link http://eepohs.com/
|
53 |
*/
|
54 |
+
class Eepohs_Estpay_Block_Abstract extends Mage_Payment_Block_Form
|
|
|
55 |
{
|
56 |
|
57 |
/**
|
66 |
|
67 |
/**
|
68 |
* Adds payment mehtod logotypes after method name
|
69 |
+
*
|
70 |
* @return string
|
71 |
*/
|
72 |
public function getMethodLabelAfterHtml()
|
101 |
* returns javascript block that redirects user
|
102 |
* to bank without intermediate page
|
103 |
*
|
104 |
+
* @since 1.3.0
|
105 |
+
* @return outstr Javascript block
|
106 |
*/
|
107 |
public function getQuickRedirectScript()
|
108 |
{
|
app/code/community/Eepohs/Estpay/Block/Adminhtml/Initjs.php
CHANGED
@@ -1,8 +1,16 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
@@ -34,21 +42,22 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
-
class Eepohs_Estpay_Block_Adminhtml_Initjs
|
47 |
-
extends Mage_Adminhtml_Block_Template
|
48 |
{
|
49 |
|
50 |
/**
|
51 |
* Include JS in the head if section is Eepohs/Estpay
|
|
|
|
|
52 |
*/
|
53 |
protected function _prepareLayout()
|
54 |
{
|
@@ -61,6 +70,11 @@ class Eepohs_Estpay_Block_Adminhtml_Initjs
|
|
61 |
parent::_prepareLayout();
|
62 |
}
|
63 |
|
|
|
|
|
|
|
|
|
|
|
64 |
protected function _toHtml()
|
65 |
{
|
66 |
$section = $this->getAction()->getRequest()->getParam('section', false);
|
@@ -71,13 +85,18 @@ class Eepohs_Estpay_Block_Adminhtml_Initjs
|
|
71 |
}
|
72 |
}
|
73 |
|
|
|
|
|
|
|
|
|
|
|
74 |
public function getModuleVersion()
|
75 |
{
|
76 |
return (string) Mage::getConfig()
|
77 |
->getNode()
|
78 |
->modules
|
79 |
->Eepohs_Estpay
|
80 |
-
|
81 |
}
|
82 |
|
83 |
}
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* Initjs.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 |
/**
|
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.2
|
52 |
+
* @link http://eepohs.com/
|
53 |
*/
|
54 |
+
class Eepohs_Estpay_Block_Adminhtml_Initjs extends Mage_Adminhtml_Block_Template
|
|
|
55 |
{
|
56 |
|
57 |
/**
|
58 |
* Include JS in the head if section is Eepohs/Estpay
|
59 |
+
*
|
60 |
+
* @return void
|
61 |
*/
|
62 |
protected function _prepareLayout()
|
63 |
{
|
70 |
parent::_prepareLayout();
|
71 |
}
|
72 |
|
73 |
+
/**
|
74 |
+
* Renders current block to HTML
|
75 |
+
*
|
76 |
+
* @return string HTML
|
77 |
+
*/
|
78 |
protected function _toHtml()
|
79 |
{
|
80 |
$section = $this->getAction()->getRequest()->getParam('section', false);
|
85 |
}
|
86 |
}
|
87 |
|
88 |
+
/**
|
89 |
+
* Returns version number of Estpay
|
90 |
+
*
|
91 |
+
* @return string
|
92 |
+
*/
|
93 |
public function getModuleVersion()
|
94 |
{
|
95 |
return (string) Mage::getConfig()
|
96 |
->getNode()
|
97 |
->modules
|
98 |
->Eepohs_Estpay
|
99 |
+
->version;
|
100 |
}
|
101 |
|
102 |
}
|
app/code/community/Eepohs/Estpay/Block/Estcard.php
CHANGED
@@ -1,12 +1,20 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
*
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,22 +42,27 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
-
class Eepohs_Estpay_Block_Estcard
|
47 |
-
extends Eepohs_Estpay_Block_Abstract
|
48 |
{
|
49 |
|
50 |
protected $_code = 'eepohs_estcard';
|
51 |
protected $_gateway = 'estcard';
|
52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
public function getFields()
|
54 |
{
|
55 |
|
@@ -93,7 +106,7 @@ class Eepohs_Estpay_Block_Estcard
|
|
93 |
// $fields['charEncoding'] = 'UTF-8';
|
94 |
|
95 |
$fields['feedBackUrl'] = Mage::getUrl(
|
96 |
-
|
97 |
);
|
98 |
$fields['delivery'] = 'T';
|
99 |
// Hardcoded for test purposes T = Physical delivery,
|
@@ -122,15 +135,16 @@ class Eepohs_Estpay_Block_Estcard
|
|
122 |
|
123 |
/**
|
124 |
* Get Estcard method logo URL
|
125 |
-
*
|
|
|
126 |
*/
|
127 |
public function getMethodLogoUrl()
|
128 |
{
|
129 |
return $this->getSkinUrl(
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
);
|
135 |
}
|
136 |
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* Estcard.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 |
/**
|
17 |
+
* Estcard form block for Estpay
|
18 |
*
|
19 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
20 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
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.2
|
52 |
+
* @link http://eepohs.com/
|
53 |
*/
|
54 |
+
class Eepohs_Estpay_Block_Estcard extends Eepohs_Estpay_Block_Abstract
|
|
|
55 |
{
|
56 |
|
57 |
protected $_code = 'eepohs_estcard';
|
58 |
protected $_gateway = 'estcard';
|
59 |
|
60 |
+
/**
|
61 |
+
* Populates and returns array for form that
|
62 |
+
* will be submitted to Estcard
|
63 |
+
*
|
64 |
+
* @return array
|
65 |
+
*/
|
66 |
public function getFields()
|
67 |
{
|
68 |
|
106 |
// $fields['charEncoding'] = 'UTF-8';
|
107 |
|
108 |
$fields['feedBackUrl'] = Mage::getUrl(
|
109 |
+
'estpay/' . $this->_gateway . '/return', array('_nosid' => true)
|
110 |
);
|
111 |
$fields['delivery'] = 'T';
|
112 |
// Hardcoded for test purposes T = Physical delivery,
|
135 |
|
136 |
/**
|
137 |
* Get Estcard method logo URL
|
138 |
+
*
|
139 |
+
* @return string
|
140 |
*/
|
141 |
public function getMethodLogoUrl()
|
142 |
{
|
143 |
return $this->getSkinUrl(
|
144 |
+
sprintf(
|
145 |
+
'images/eepohs/estpay/%s_logo_120x31.gif',
|
146 |
+
strtolower($this->_gateway)
|
147 |
+
)
|
148 |
);
|
149 |
}
|
150 |
|
app/code/community/Eepohs/Estpay/Block/IPizza.php
CHANGED
@@ -1,12 +1,20 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
*
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,17 +42,16 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
-
class Eepohs_Estpay_Block_IPizza
|
47 |
-
extends Eepohs_Estpay_Block_Abstract
|
48 |
{
|
49 |
|
50 |
/**
|
@@ -63,11 +70,9 @@ class Eepohs_Estpay_Block_IPizza
|
|
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':
|
@@ -92,21 +97,11 @@ class Eepohs_Estpay_Block_IPizza
|
|
92 |
__('Order number') . ': ' . $order->getIncrementId();
|
93 |
|
94 |
$data =
|
95 |
-
sprintf(
|
96 |
-
|
97 |
-
)
|
98 |
-
. sprintf(
|
99 |
-
|
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']);
|
@@ -122,4 +117,4 @@ class Eepohs_Estpay_Block_IPizza
|
|
122 |
return $fields;
|
123 |
}
|
124 |
|
125 |
-
}
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* IPizza.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 |
/**
|
17 |
+
* Form block for Estpay methods that use iPizza standard
|
18 |
*
|
19 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
20 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
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.2
|
52 |
+
* @link http://eepohs.com/
|
53 |
*/
|
54 |
+
class Eepohs_Estpay_Block_IPizza extends Eepohs_Estpay_Block_Abstract
|
|
|
55 |
{
|
56 |
|
57 |
/**
|
70 |
|
71 |
$fields['VK_SERVICE'] = '1002';
|
72 |
$fields['VK_VERSION'] = '008';
|
73 |
+
$fields['VK_SND_ID'] = Mage::getStoreConfig('payment/' . $this->_code . '/vk_snd_id');
|
|
|
74 |
$fields['VK_REF'] = '';
|
75 |
+
$fields['VK_RETURN'] = Mage::getUrl('estpay/' . $this->_gateway . '/return');
|
|
|
76 |
|
77 |
switch ( Mage::app()->getLocale()->getLocaleCode() ) {
|
78 |
case 'et_EE':
|
97 |
__('Order number') . ': ' . $order->getIncrementId();
|
98 |
|
99 |
$data =
|
100 |
+
sprintf('%03d%s', strlen($fields['VK_SERVICE']), $fields['VK_SERVICE'])
|
101 |
+
. sprintf('%03d%s', strlen($fields['VK_VERSION']), $fields['VK_VERSION'])
|
102 |
+
. sprintf('%03d%s', strlen($fields['VK_SND_ID']), $fields['VK_SND_ID'])
|
103 |
+
. sprintf('%03d%s', strlen($fields['VK_STAMP']), $fields['VK_STAMP'])
|
104 |
+
. sprintf('%03d%s', strlen($fields['VK_AMOUNT']), $fields['VK_AMOUNT'])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
. sprintf('%03d%s', strlen($fields['VK_CURR']), $fields['VK_CURR'])
|
106 |
. sprintf('%03d%s', strlen($fields['VK_REF']), $fields['VK_REF'])
|
107 |
. sprintf('%03d%s', strlen($fields['VK_MSG']), $fields['VK_MSG']);
|
117 |
return $fields;
|
118 |
}
|
119 |
|
120 |
+
}
|
app/code/community/Eepohs/Estpay/Block/Info.php
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Info.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 |
+
/**
|
17 |
+
* Information block that returns list of enabled banks
|
18 |
+
*
|
19 |
+
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
20 |
+
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
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:
|
28 |
+
* Redistributions of source code must retain the above copyright notice, this
|
29 |
+
* list of conditions and the following disclaimer.
|
30 |
+
* Redistributions in binary form must reproduce the above copyright notice,
|
31 |
+
* this list of conditions and the following disclaimer in the documentation
|
32 |
+
* and/or other materials provided with the distribution.
|
33 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
34 |
+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
35 |
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
36 |
+
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
37 |
+
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
38 |
+
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
39 |
+
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
40 |
+
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
41 |
+
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
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.2
|
52 |
+
* @link http://eepohs.com/
|
53 |
+
*/
|
54 |
+
class Eepohs_Estpay_Block_Info extends Mage_Core_Block_Template
|
55 |
+
{
|
56 |
+
|
57 |
+
/**
|
58 |
+
* Returns array of enabled Estpay
|
59 |
+
* gateways
|
60 |
+
*
|
61 |
+
* @return array
|
62 |
+
*/
|
63 |
+
public function getEnabledGateways()
|
64 |
+
{
|
65 |
+
$paymentMethods = Mage::getSingleton('payment/config')->getActiveMethods();
|
66 |
+
$methods = array();
|
67 |
+
foreach ($paymentMethods as $paymentCode => $paymentModel) {
|
68 |
+
if ($paymentModel instanceof Eepohs_Estpay_Model_Abstract) {
|
69 |
+
$paymentTitle = Mage::getStoreConfig('payment/' . $paymentCode . '/title');
|
70 |
+
$formBlockType = $paymentModel->getFormBlockType();
|
71 |
+
$formBlockInstance = Mage::getBlockSingleton($formBlockType);
|
72 |
+
$methods[] = array(
|
73 |
+
'title' => $paymentTitle,
|
74 |
+
'code' => $paymentCode,
|
75 |
+
'logo' => $formBlockInstance->getMethodLogoUrl()
|
76 |
+
);
|
77 |
+
}
|
78 |
+
}
|
79 |
+
return $methods;
|
80 |
+
}
|
81 |
+
|
82 |
+
}
|
app/code/community/Eepohs/Estpay/Block/Krediidipank.php
CHANGED
@@ -1,12 +1,20 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
*
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,14 +42,14 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
class Eepohs_Estpay_Block_Krediidipank extends Eepohs_Estpay_Block_IPizza
|
47 |
{
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* Krediidipank.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 |
/**
|
17 |
+
* Krediidipank form block for Estpay
|
18 |
*
|
19 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
20 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
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.2
|
52 |
+
* @link http://eepohs.com/
|
53 |
*/
|
54 |
class Eepohs_Estpay_Block_Krediidipank extends Eepohs_Estpay_Block_IPizza
|
55 |
{
|
app/code/community/Eepohs/Estpay/Block/Lhv.php
CHANGED
@@ -1,12 +1,20 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
*
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,14 +42,14 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
class Eepohs_Estpay_Block_Lhv extends Eepohs_Estpay_Block_IPizza
|
47 |
{
|
@@ -49,6 +57,12 @@ class Eepohs_Estpay_Block_Lhv extends Eepohs_Estpay_Block_IPizza
|
|
49 |
protected $_code = 'eepohs_lhv';
|
50 |
protected $_gateway = 'lhv';
|
51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
public function getMethodLogoUrl()
|
53 |
{
|
54 |
return $this->getSkinUrl('images/eepohs/estpay/lhv_logo_88x31.png');
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* Lhv.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 |
/**
|
17 |
+
* LHV form block for Estpay
|
18 |
*
|
19 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
20 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
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.2
|
52 |
+
* @link http://eepohs.com/
|
53 |
*/
|
54 |
class Eepohs_Estpay_Block_Lhv extends Eepohs_Estpay_Block_IPizza
|
55 |
{
|
57 |
protected $_code = 'eepohs_lhv';
|
58 |
protected $_gateway = 'lhv';
|
59 |
|
60 |
+
/**
|
61 |
+
* Returns LHV logo URL under base/default
|
62 |
+
* theme skin
|
63 |
+
*
|
64 |
+
* @return string image URL
|
65 |
+
*/
|
66 |
public function getMethodLogoUrl()
|
67 |
{
|
68 |
return $this->getSkinUrl('images/eepohs/estpay/lhv_logo_88x31.png');
|
app/code/community/Eepohs/Estpay/Block/Nordea.php
CHANGED
@@ -1,12 +1,20 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
*
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,22 +42,26 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
-
class Eepohs_Estpay_Block_Nordea
|
47 |
-
extends Eepohs_Estpay_Block_Abstract
|
48 |
{
|
49 |
-
|
50 |
protected $_code = 'eepohs_nordea';
|
51 |
protected $_gateway = 'nordea';
|
52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
public function getFields()
|
54 |
{
|
55 |
|
@@ -60,15 +72,12 @@ class Eepohs_Estpay_Block_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 (
|
72 |
case 'et_EE':
|
73 |
$language = '4';
|
74 |
break;
|
@@ -79,37 +88,26 @@ class Eepohs_Estpay_Block_Nordea
|
|
79 |
$fields['SOLOPMT_LANGUAGE'] = $language;
|
80 |
|
81 |
$fields['SOLOPMT_AMOUNT'] = number_format(
|
82 |
-
|
83 |
);
|
84 |
$fields['SOLOPMT_REF'] = $helper->calcRef($order->getIncrementId());
|
85 |
$fields['SOLOPMT_DATE'] = 'EXPRESS';
|
86 |
-
$fields['SOLOPMT_MSG'] = __('Invoice number') . ' '
|
87 |
-
|
88 |
-
$fields['
|
89 |
-
|
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 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
Mage::getStoreConfig('payment/' . $this->_code . '/mac_key') . '&';
|
113 |
|
114 |
$fields['STRING'] = $data;
|
115 |
$fields['SOLOPMT_MAC'] = strtoupper(md5($data));
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* Nordea.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 |
/**
|
17 |
+
* Nordea Bank form block for Estpay
|
18 |
*
|
19 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
20 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
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.2
|
52 |
+
* @link http://eepohs.com/
|
53 |
*/
|
54 |
+
class Eepohs_Estpay_Block_Nordea extends Eepohs_Estpay_Block_Abstract
|
|
|
55 |
{
|
|
|
56 |
protected $_code = 'eepohs_nordea';
|
57 |
protected $_gateway = 'nordea';
|
58 |
|
59 |
+
/**
|
60 |
+
* Returns fields for Nordea form
|
61 |
+
* to be submitted to bank
|
62 |
+
*
|
63 |
+
* @return array
|
64 |
+
*/
|
65 |
public function getFields()
|
66 |
{
|
67 |
|
72 |
|
73 |
$fields['SOLOPMT_VERSION'] = '0003';
|
74 |
$fields['SOLOPMT_STAMP'] = time();
|
75 |
+
$fields['SOLOPMT_RCV_ID'] = Mage::getStoreConfig('payment/' . $this->_code . '/service_provider');
|
|
|
|
|
|
|
76 |
|
77 |
/* Choose language:
|
78 |
* 3 = english, 4 = estonian, 6 = latvian, 7 = lithuanian
|
79 |
*/
|
80 |
+
switch (Mage::app()->getLocale()->getLocaleCode()) {
|
81 |
case 'et_EE':
|
82 |
$language = '4';
|
83 |
break;
|
88 |
$fields['SOLOPMT_LANGUAGE'] = $language;
|
89 |
|
90 |
$fields['SOLOPMT_AMOUNT'] = number_format(
|
91 |
+
$order->getBaseGrandTotal(), 2, '.', ''
|
92 |
);
|
93 |
$fields['SOLOPMT_REF'] = $helper->calcRef($order->getIncrementId());
|
94 |
$fields['SOLOPMT_DATE'] = 'EXPRESS';
|
95 |
+
$fields['SOLOPMT_MSG'] = __('Invoice number') . ' ' . $order->getIncrementId();
|
96 |
+
$fields['SOLOPMT_RETURN'] = Mage::getUrl('estpay/' . $this->_gateway . '/return') . '?';
|
97 |
+
$fields['SOLOPMT_CANCEL'] = Mage::getUrl('estpay/' . $this->_gateway . '/return') . '?';
|
98 |
+
$fields['SOLOPMT_REJECT'] = Mage::getUrl('estpay/' . $this->_gateway . '/return') . '?';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
$fields['SOLOPMT_CONFIRM'] = 'YES';
|
100 |
$fields['SOLOPMT_KEYVERS'] = '0001';
|
101 |
$fields['SOLOPMT_CUR'] = 'EUR';
|
102 |
|
103 |
+
$data = $fields['SOLOPMT_VERSION'] . '&'
|
104 |
+
. $fields['SOLOPMT_STAMP'] . '&' .
|
105 |
+
$fields['SOLOPMT_RCV_ID'] . '&' .
|
106 |
+
$fields['SOLOPMT_AMOUNT'] . '&' .
|
107 |
+
$fields['SOLOPMT_REF'] . '&' .
|
108 |
+
$fields['SOLOPMT_DATE'] . '&' .
|
109 |
+
$fields['SOLOPMT_CUR'] . '&' .
|
110 |
+
Mage::getStoreConfig('payment/' . $this->_code . '/mac_key') . '&';
|
|
|
111 |
|
112 |
$fields['STRING'] = $data;
|
113 |
$fields['SOLOPMT_MAC'] = strtoupper(md5($data));
|
app/code/community/Eepohs/Estpay/Block/Sampo.php
CHANGED
@@ -1,12 +1,20 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
*
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,14 +42,14 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
class Eepohs_Estpay_Block_Sampo extends Eepohs_Estpay_Block_IPizza
|
47 |
{
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* Sampo.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 |
/**
|
17 |
+
* SampoPank form block for Estpay
|
18 |
*
|
19 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
20 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
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.2
|
52 |
+
* @link http://eepohs.com/
|
53 |
*/
|
54 |
class Eepohs_Estpay_Block_Sampo extends Eepohs_Estpay_Block_IPizza
|
55 |
{
|
app/code/community/Eepohs/Estpay/Block/Seb.php
CHANGED
@@ -1,12 +1,20 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
*
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,14 +42,14 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
class Eepohs_Estpay_Block_Seb extends Eepohs_Estpay_Block_IPizza
|
47 |
{
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* Seb.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 |
/**
|
17 |
+
* SEB form block for Estpay
|
18 |
*
|
19 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
20 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
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.2
|
52 |
+
* @link http://eepohs.com/
|
53 |
*/
|
54 |
class Eepohs_Estpay_Block_Seb extends Eepohs_Estpay_Block_IPizza
|
55 |
{
|
app/code/community/Eepohs/Estpay/Block/Swedbank.php
CHANGED
@@ -1,12 +1,19 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
*
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,20 +41,18 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
class Eepohs_Estpay_Block_Swedbank extends Eepohs_Estpay_Block_IPizza
|
47 |
{
|
48 |
|
49 |
protected $_code = 'eepohs_swedbank';
|
50 |
protected $_gateway = 'swedbank';
|
51 |
-
|
52 |
-
|
53 |
-
}
|
1 |
<?php
|
|
|
2 |
/**
|
3 |
+
* Swedbank.php
|
4 |
+
*
|
5 |
+
* PHP version 5
|
6 |
+
*
|
7 |
+
* @category Magento
|
8 |
* @package Eepohs
|
9 |
* @subpackage Estpay
|
10 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
11 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
12 |
+
* @link http://eepohs.com/
|
13 |
*/
|
14 |
|
15 |
/**
|
16 |
+
* Swedbank form block for Estpay
|
17 |
*
|
18 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
19 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
41 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
42 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
43 |
*
|
44 |
+
* @category Community
|
|
|
|
|
|
|
|
|
45 |
* @package Eepohs
|
46 |
* @subpackage Estpay
|
47 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
48 |
+
* @copyright 2012 Eepohs OÜ
|
49 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
50 |
+
* @version Release: 1.3.2
|
51 |
+
* @link http://eepohs.com/
|
52 |
*/
|
53 |
class Eepohs_Estpay_Block_Swedbank extends Eepohs_Estpay_Block_IPizza
|
54 |
{
|
55 |
|
56 |
protected $_code = 'eepohs_swedbank';
|
57 |
protected $_gateway = 'swedbank';
|
58 |
+
}
|
|
|
|
app/code/community/Eepohs/Estpay/Controller/Abstract.php
CHANGED
@@ -1,12 +1,20 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
* Abstract controller for Estpay
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,19 +42,21 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
-
class Eepohs_Estpay_Controller_Abstract
|
47 |
-
extends Mage_Core_Controller_Front_Action
|
48 |
{
|
49 |
-
|
|
|
|
|
|
|
50 |
protected $logFile = 'estpay.log';
|
51 |
|
52 |
/**
|
@@ -57,30 +67,25 @@ class Eepohs_Estpay_Controller_Abstract
|
|
57 |
|
58 |
/**
|
59 |
* This action redirects user to bank for payment
|
|
|
|
|
60 |
*/
|
61 |
public function redirectAction()
|
62 |
{
|
63 |
|
64 |
/* Send order confirmation */
|
65 |
-
if (
|
66 |
-
Mage::getStoreConfig(
|
67 |
-
'payment/' . $this->_code . '/order_confirmation'
|
68 |
-
)
|
69 |
-
== '1'
|
70 |
-
) {
|
71 |
try {
|
72 |
$order = Mage::getModel('sales/order');
|
73 |
$order->load(
|
74 |
-
|
75 |
);
|
76 |
$order->sendNewOrderEmail();
|
77 |
$order->save();
|
78 |
-
} catch (
|
79 |
Mage::log(
|
80 |
-
|
81 |
-
|
82 |
-
print_r($e->getMessage(), true)
|
83 |
-
), null, $this->logFile
|
84 |
);
|
85 |
}
|
86 |
}
|
@@ -94,40 +99,43 @@ class Eepohs_Estpay_Controller_Abstract
|
|
94 |
* payment method
|
95 |
* It verifies signature and creates invoice.
|
96 |
* In case of verification failure it cancels the order
|
|
|
|
|
97 |
*/
|
98 |
public function returnAction()
|
99 |
{
|
100 |
|
101 |
Mage::log(
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
$_SERVER['REMOTE_ADDR'],
|
107 |
-
print_r($this->getRequest()->getParams(), true)
|
108 |
-
),
|
109 |
-
null,
|
110 |
-
$this->logFile
|
111 |
);
|
112 |
$session = Mage::getSingleton('checkout/session');
|
113 |
$orderId = $session->getLastRealOrderId();
|
114 |
-
if (
|
115 |
$orderId = $this->getRequest()->getParam('VK_STAMP');
|
116 |
}
|
117 |
-
if (
|
118 |
$this->_redirect('checkout/onepage/failure');
|
119 |
return;
|
120 |
}
|
121 |
$model = Mage::getModel($this->_model);
|
122 |
$model->setOrderId($orderId);
|
123 |
$verify = $model->verify($this->getRequest()->getParams());
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
}
|
132 |
}
|
133 |
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* Abstract.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 |
/**
|
17 |
+
* Abstract controller for Estpay that all controllers will inherit from
|
18 |
*
|
19 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
20 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
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.2
|
52 |
+
* @link http://eepohs.com/
|
53 |
*/
|
54 |
+
class Eepohs_Estpay_Controller_Abstract extends Mage_Core_Controller_Front_Action
|
|
|
55 |
{
|
56 |
+
/**
|
57 |
+
*
|
58 |
+
* @var specifies log file name for Estpay
|
59 |
+
*/
|
60 |
protected $logFile = 'estpay.log';
|
61 |
|
62 |
/**
|
67 |
|
68 |
/**
|
69 |
* This action redirects user to bank for payment
|
70 |
+
*
|
71 |
+
* @return void
|
72 |
*/
|
73 |
public function redirectAction()
|
74 |
{
|
75 |
|
76 |
/* Send order confirmation */
|
77 |
+
if (Mage::getStoreConfig('payment/' . $this->_code . '/order_confirmation') == '1') {
|
|
|
|
|
|
|
|
|
|
|
78 |
try {
|
79 |
$order = Mage::getModel('sales/order');
|
80 |
$order->load(
|
81 |
+
Mage::getSingleton('checkout/session')->getLastOrderId()
|
82 |
);
|
83 |
$order->sendNewOrderEmail();
|
84 |
$order->save();
|
85 |
+
} catch (Exception $e) {
|
86 |
Mage::log(
|
87 |
+
sprintf('%s(%s): %s', __METHOD__, __LINE__, print_r($e->getMessage(), true)
|
88 |
+
), null, $this->logFile
|
|
|
|
|
89 |
);
|
90 |
}
|
91 |
}
|
99 |
* payment method
|
100 |
* It verifies signature and creates invoice.
|
101 |
* In case of verification failure it cancels the order
|
102 |
+
*
|
103 |
+
* @return void
|
104 |
*/
|
105 |
public function returnAction()
|
106 |
{
|
107 |
|
108 |
Mage::log(
|
109 |
+
sprintf(
|
110 |
+
'%s(%s)@%s: %s', __METHOD__, __LINE__, $_SERVER['REMOTE_ADDR'],
|
111 |
+
print_r($this->getRequest()->getParams(), true)
|
112 |
+
), null, $this->logFile
|
|
|
|
|
|
|
|
|
|
|
113 |
);
|
114 |
$session = Mage::getSingleton('checkout/session');
|
115 |
$orderId = $session->getLastRealOrderId();
|
116 |
+
if (!$orderId) {
|
117 |
$orderId = $this->getRequest()->getParam('VK_STAMP');
|
118 |
}
|
119 |
+
if (!$orderId) {
|
120 |
$this->_redirect('checkout/onepage/failure');
|
121 |
return;
|
122 |
}
|
123 |
$model = Mage::getModel($this->_model);
|
124 |
$model->setOrderId($orderId);
|
125 |
$verify = $model->verify($this->getRequest()->getParams());
|
126 |
+
switch ($verify) {
|
127 |
+
case Eepohs_Estpay_Helper_Data::_VERIFY_SUCCESS:
|
128 |
+
$model->createInvoice();
|
129 |
+
$this->_redirect('checkout/onepage/success');
|
130 |
+
break;
|
131 |
+
case Eepohs_Estpay_Helper_Data::_VERIFY_CANCEL:
|
132 |
+
$order = Mage::getModel('sales/order')->loadByIncrementId($orderId);
|
133 |
+
$order->cancel()->save();
|
134 |
+
$this->_redirect('checkout/onepage/failure');
|
135 |
+
break;
|
136 |
+
case Eepohs_Estpay_Helper_Data::_VERIFY_CORRUPT:
|
137 |
+
default:
|
138 |
+
break;
|
139 |
}
|
140 |
}
|
141 |
|
app/code/community/Eepohs/Estpay/Helper/Data.php
CHANGED
@@ -1,12 +1,19 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
*
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,28 +41,32 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
class Eepohs_Estpay_Helper_Data extends Mage_Core_Helper_Abstract
|
47 |
{
|
|
|
|
|
|
|
48 |
|
49 |
/**
|
50 |
-
* Calculates reference number
|
|
|
|
|
51 |
*
|
52 |
-
* @
|
53 |
-
* @return string
|
54 |
*/
|
55 |
-
public function calcRef($
|
56 |
{
|
57 |
|
58 |
-
$n = (string) $
|
59 |
$w = array(7, 3, 1);
|
60 |
|
61 |
$sl = $st = strlen($n);
|
1 |
<?php
|
|
|
2 |
/**
|
3 |
+
* Data.php
|
4 |
+
*
|
5 |
+
* PHP version 5
|
6 |
+
*
|
7 |
+
* @category Magento
|
8 |
* @package Eepohs
|
9 |
* @subpackage Estpay
|
10 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
11 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
12 |
+
* @link http://eepohs.com/
|
13 |
*/
|
14 |
|
15 |
/**
|
16 |
+
* Generic helper for Estpay
|
17 |
*
|
18 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
19 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
41 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
42 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
43 |
*
|
44 |
+
* @category Community
|
|
|
|
|
|
|
|
|
45 |
* @package Eepohs
|
46 |
* @subpackage Estpay
|
47 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
48 |
+
* @copyright 2012 Eepohs OÜ
|
49 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
50 |
+
* @version Release: 1.3.2
|
51 |
+
* @link http://eepohs.com/
|
52 |
*/
|
53 |
class Eepohs_Estpay_Helper_Data extends Mage_Core_Helper_Abstract
|
54 |
{
|
55 |
+
const _VERIFY_SUCCESS = 1; // payment successful
|
56 |
+
const _VERIFY_CANCEL = 2; // payment unsuccessful
|
57 |
+
const _VERIFY_CORRUPT = 3; // wrong or corrupt response
|
58 |
|
59 |
/**
|
60 |
+
* Calculates reference number for bank payment
|
61 |
+
*
|
62 |
+
* @param string $refStr Input reference
|
63 |
*
|
64 |
+
* @return string reference number
|
|
|
65 |
*/
|
66 |
+
public function calcRef($refStr)
|
67 |
{
|
68 |
|
69 |
+
$n = (string) $refStr;
|
70 |
$w = array(7, 3, 1);
|
71 |
|
72 |
$sl = $st = strlen($n);
|
app/code/community/Eepohs/Estpay/Model/Abstract.php
CHANGED
@@ -1,12 +1,20 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
* Abstract Estpay
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,19 +42,17 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
-
abstract class Eepohs_Estpay_Model_Abstract
|
47 |
-
extends Mage_Payment_Model_Method_Abstract
|
48 |
{
|
49 |
-
|
50 |
protected $_canAuthorize = true;
|
51 |
protected $_isGateway = true;
|
52 |
protected $_canUseCheckout = true;
|
@@ -69,19 +75,15 @@ abstract class Eepohs_Estpay_Model_Abstract
|
|
69 |
public function createInvoice()
|
70 |
{
|
71 |
$order = Mage::getModel('sales/order')
|
72 |
-
|
73 |
|
74 |
-
if (
|
75 |
$invoice = $order->prepareInvoice();
|
76 |
$invoice->pay()->register();
|
77 |
$invoice->save();
|
78 |
|
79 |
/* Send invoice */
|
80 |
-
if (
|
81 |
-
Mage::getStoreConfig(
|
82 |
-
'payment/' . $this->_code . '/invoice_confirmation'
|
83 |
-
) == '1'
|
84 |
-
) {
|
85 |
$invoice->sendEmail(true, '');
|
86 |
}
|
87 |
|
@@ -96,7 +98,7 @@ abstract class Eepohs_Estpay_Model_Abstract
|
|
96 |
* Abstract method to be overloaded by implementing classes.
|
97 |
* This is used to verify response from bank
|
98 |
*
|
99 |
-
* @return
|
100 |
*/
|
101 |
public abstract function verify(array $params = array());
|
102 |
}
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* Abstract.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 |
/**
|
17 |
+
* Abstract model for Estpay payment methods
|
18 |
*
|
19 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
20 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
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.2
|
52 |
+
* @link http://eepohs.com/
|
53 |
*/
|
54 |
+
abstract class Eepohs_Estpay_Model_Abstract extends Mage_Payment_Model_Method_Abstract
|
|
|
55 |
{
|
|
|
56 |
protected $_canAuthorize = true;
|
57 |
protected $_isGateway = true;
|
58 |
protected $_canUseCheckout = true;
|
75 |
public function createInvoice()
|
76 |
{
|
77 |
$order = Mage::getModel('sales/order')
|
78 |
+
->loadByIncrementId($this->getOrderId());
|
79 |
|
80 |
+
if ($order->canInvoice()) {
|
81 |
$invoice = $order->prepareInvoice();
|
82 |
$invoice->pay()->register();
|
83 |
$invoice->save();
|
84 |
|
85 |
/* Send invoice */
|
86 |
+
if (Mage::getStoreConfig('payment/' . $this->_code . '/invoice_confirmation') == '1') {
|
|
|
|
|
|
|
|
|
87 |
$invoice->sendEmail(true, '');
|
88 |
}
|
89 |
|
98 |
* Abstract method to be overloaded by implementing classes.
|
99 |
* This is used to verify response from bank
|
100 |
*
|
101 |
+
* @return int
|
102 |
*/
|
103 |
public abstract function verify(array $params = array());
|
104 |
}
|
app/code/community/Eepohs/Estpay/Model/Estcard.php
CHANGED
@@ -1,12 +1,20 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
* Estpay
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,80 +42,86 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
class Eepohs_Estpay_Model_Estcard extends Eepohs_Estpay_Model_Abstract
|
47 |
{
|
48 |
-
|
49 |
protected $_code = 'eepohs_estcard';
|
50 |
protected $_formBlockType = 'estpay/estcard';
|
51 |
protected $_gateway = 'estcard';
|
52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
public function verify(array $params = array())
|
54 |
{
|
55 |
|
56 |
-
$merchantId = Mage::getStoreConfig(
|
57 |
-
'payment/' . $this->_code . '/merchant_id'
|
58 |
-
);
|
59 |
|
60 |
-
if (
|
61 |
-
Mage::log(
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
__LINE__,
|
66 |
-
$_SERVER['REMOTE_ADDR'],
|
67 |
-
$params['id'],
|
68 |
-
$merchantId
|
69 |
-
),
|
70 |
-
null,
|
71 |
-
$this->logFile
|
72 |
);
|
73 |
-
return
|
74 |
}
|
75 |
|
76 |
$data =
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
$mac = pack('H*', $params['mac']);
|
88 |
|
89 |
-
$key = openssl_pkey_get_public(
|
90 |
-
Mage::getStoreConfig(
|
91 |
-
'payment/' . $this->_code . '/bank_certificate'
|
92 |
-
)
|
93 |
-
);
|
94 |
$result = openssl_verify($data, $mac, $key);
|
95 |
openssl_free_key($key);
|
96 |
|
97 |
-
|
98 |
-
|
|
|
|
|
|
|
|
|
99 |
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
}
|
112 |
|
113 |
}
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* Estcard.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 |
/**
|
17 |
+
* Estpay Estcard payment method model
|
18 |
*
|
19 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
20 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
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.2
|
52 |
+
* @link http://eepohs.com/
|
53 |
*/
|
54 |
class Eepohs_Estpay_Model_Estcard extends Eepohs_Estpay_Model_Abstract
|
55 |
{
|
|
|
56 |
protected $_code = 'eepohs_estcard';
|
57 |
protected $_formBlockType = 'estpay/estcard';
|
58 |
protected $_gateway = 'estcard';
|
59 |
|
60 |
+
/**
|
61 |
+
* Verifies response sent by the bank
|
62 |
+
*
|
63 |
+
* @param array $params Parameters by bank
|
64 |
+
*
|
65 |
+
* @return int
|
66 |
+
*/
|
67 |
public function verify(array $params = array())
|
68 |
{
|
69 |
|
70 |
+
$merchantId = Mage::getStoreConfig('payment/' . $this->_code . '/merchant_id');
|
|
|
|
|
71 |
|
72 |
+
if (!isset($params['id']) || $params['id'] != $merchantId) {
|
73 |
+
Mage::log(sprintf(
|
74 |
+
'%s (%s)@%s: Wrong merchant ID used for return: %s vs %s', __METHOD__, __LINE__,
|
75 |
+
$_SERVER['REMOTE_ADDR'], $params['id'], $merchantId
|
76 |
+
), null, $this->logFile
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
);
|
78 |
+
return Eepohs_Estpay_Helper_Data::_VERIFY_CORRUPT;
|
79 |
}
|
80 |
|
81 |
$data =
|
82 |
+
sprintf("%03s", $params['ver'])
|
83 |
+
. sprintf("%-10s", $params['id'])
|
84 |
+
. sprintf("%012s", $params['ecuno'])
|
85 |
+
. sprintf("%06s", $params['receipt_no'])
|
86 |
+
. sprintf("%012s", $params['eamount'])
|
87 |
+
. sprintf("%3s", $params['cur'])
|
88 |
+
. $params['respcode']
|
89 |
+
. $params['datetime']
|
90 |
+
. sprintf("%-40s", urldecode($params['msgdata']))
|
91 |
+
. sprintf("%-40s", urldecode($params['actiontext']));
|
92 |
$mac = pack('H*', $params['mac']);
|
93 |
|
94 |
+
$key = openssl_pkey_get_public(Mage::getStoreConfig('payment/' . $this->_code . '/bank_certificate'));
|
|
|
|
|
|
|
|
|
95 |
$result = openssl_verify($data, $mac, $key);
|
96 |
openssl_free_key($key);
|
97 |
|
98 |
+
switch ($result) {
|
99 |
+
case 1: // ssl verify successful
|
100 |
+
if ($params['respcode'] == '000')
|
101 |
+
return Eepohs_Estpay_Helper_Data::_VERIFY_SUCCESS;
|
102 |
+
else
|
103 |
+
return Eepohs_Estpay_Helper_Data::_VERIFY_CANCEL;
|
104 |
|
105 |
+
case 0: // ssl verify failed
|
106 |
+
Mage::log(sprintf(
|
107 |
+
'%s (%s)@%s: Verification of signature failed for estcard', __METHOD__, __LINE__,
|
108 |
+
$_SERVER['REMOTE_ADDR'], $params['VK_SND_ID']
|
109 |
+
), null, $this->logFile);
|
110 |
+
|
111 |
+
return Eepohs_Estpay_Helper_Data::_VERIFY_CORRUPT;
|
112 |
+
|
113 |
+
case -1: // ssl verify error
|
114 |
+
default:
|
115 |
+
$error = '';
|
116 |
+
while ($msg = openssl_error_string())
|
117 |
+
$error .= $msg . "\n";
|
118 |
+
Mage::log(sprintf(
|
119 |
+
'%s (%s)@%s: Verification of signature error for %s : %s', __METHOD__, __LINE__,
|
120 |
+
$_SERVER['REMOTE_ADDR'], $params['VK_SND_ID'], $error
|
121 |
+
), null, $this->logFile);
|
122 |
+
|
123 |
+
return Eepohs_Estpay_Helper_Data::_VERIFY_CORRUPT;
|
124 |
+
}
|
125 |
}
|
126 |
|
127 |
}
|
app/code/community/Eepohs/Estpay/Model/IPizza.php
CHANGED
@@ -1,12 +1,20 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
*
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,132 +42,115 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
class Eepohs_Estpay_Model_IPizza extends Eepohs_Estpay_Model_Abstract
|
47 |
{
|
48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
public function verify(array $params = array())
|
50 |
{
|
|
|
|
|
51 |
|
52 |
-
|
53 |
-
|
54 |
-
|| $params['VK_SERVICE'] != '1101'
|
55 |
-
) {
|
56 |
-
Mage::log(
|
57 |
-
sprintf(
|
58 |
-
'%s (%s)@%s: IPizza return service is not 1101: %s',
|
59 |
-
__METHOD__,
|
60 |
-
__LINE__,
|
61 |
-
$_SERVER['REMOTE_ADDR'],
|
62 |
-
$params['VK_SERVICE']
|
63 |
-
),
|
64 |
-
null,
|
65 |
-
$this->logFile
|
66 |
-
);
|
67 |
-
return false;
|
68 |
-
}
|
69 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
|
71 |
-
$vkSndId = Mage::getStoreConfig(
|
72 |
-
'payment/' . $this->_code . '/vk_snd_id'
|
73 |
-
);
|
74 |
|
75 |
-
if (
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
Mage::log(
|
80 |
-
sprintf(
|
81 |
-
'%s (%s)@%s: Wrong merchant ID used for return: %s vs %s',
|
82 |
-
__METHOD__,
|
83 |
-
__LINE__,
|
84 |
-
$_SERVER['REMOTE_ADDR'],
|
85 |
-
$params['VK_REC_ID'],
|
86 |
-
$vkSndId
|
87 |
-
),
|
88 |
-
null,
|
89 |
-
$this->logFile
|
90 |
);
|
91 |
-
return
|
92 |
}
|
93 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
|
95 |
-
$data = sprintf(
|
96 |
-
'%03d%s', strlen($params['VK_SERVICE']), $params['VK_SERVICE']
|
97 |
-
)
|
98 |
-
. sprintf(
|
99 |
-
'%03d%s', strlen($params['VK_VERSION']),
|
100 |
-
$params['VK_VERSION']
|
101 |
-
)
|
102 |
-
. sprintf(
|
103 |
-
'%03d%s', strlen($params['VK_SND_ID']),
|
104 |
-
$params['VK_SND_ID']
|
105 |
-
)
|
106 |
-
. sprintf(
|
107 |
-
'%03d%s', strlen($params['VK_REC_ID']),
|
108 |
-
$params['VK_REC_ID']
|
109 |
-
)
|
110 |
-
. sprintf(
|
111 |
-
'%03d%s', strlen($params['VK_STAMP']), $params['VK_STAMP']
|
112 |
-
)
|
113 |
-
. sprintf('%03d%s', strlen($params['VK_T_NO']), $params['VK_T_NO'])
|
114 |
-
. sprintf(
|
115 |
-
'%03d%s', strlen($params['VK_AMOUNT']),
|
116 |
-
$params['VK_AMOUNT']
|
117 |
-
)
|
118 |
-
. sprintf('%03d%s', strlen($params['VK_CURR']), $params['VK_CURR'])
|
119 |
-
. sprintf(
|
120 |
-
'%03d%s', strlen($params['VK_REC_ACC']),
|
121 |
-
$params['VK_REC_ACC']
|
122 |
-
)
|
123 |
-
. sprintf(
|
124 |
-
'%03d%s', strlen($params['VK_REC_NAME']),
|
125 |
-
$params['VK_REC_NAME']
|
126 |
-
)
|
127 |
-
. sprintf(
|
128 |
-
'%03d%s', strlen($params['VK_SND_ACC']),
|
129 |
-
$params['VK_SND_ACC']
|
130 |
-
)
|
131 |
-
. sprintf(
|
132 |
-
'%03d%s', strlen($params['VK_SND_NAME']),
|
133 |
-
$params['VK_SND_NAME']
|
134 |
-
)
|
135 |
-
. sprintf('%03d%s', strlen($params['VK_REF']), $params['VK_REF'])
|
136 |
-
. sprintf('%03d%s', strlen($params['VK_MSG']), $params['VK_MSG'])
|
137 |
-
. sprintf(
|
138 |
-
'%03d%s', strlen($params['VK_T_DATE']), $params['VK_T_DATE']
|
139 |
-
);
|
140 |
|
141 |
-
$key = openssl_pkey_get_public(
|
142 |
-
|
143 |
-
'payment/' . $this->_code . '/bank_certificate'
|
144 |
-
)
|
145 |
-
);
|
146 |
-
$result = openssl_verify(
|
147 |
-
$data, base64_decode($params['VK_MAC']), $key
|
148 |
-
);
|
149 |
openssl_free_key($key);
|
150 |
-
if ( $result ) {
|
151 |
-
return true;
|
152 |
-
}
|
153 |
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
163 |
}
|
164 |
|
165 |
/**
|
@@ -171,23 +162,20 @@ class Eepohs_Estpay_Model_IPizza extends Eepohs_Estpay_Model_Abstract
|
|
171 |
public function validate()
|
172 |
{
|
173 |
$key = openssl_pkey_get_public(
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
);
|
178 |
-
if (
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
),
|
184 |
-
null,
|
185 |
-
$this->logFile
|
186 |
);
|
187 |
Mage::throwException(
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
);
|
192 |
}
|
193 |
return parent::validate();
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* IPizza.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 |
/**
|
17 |
+
* Base model for all Estpay payment methods that use iPizza standard
|
18 |
*
|
19 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
20 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
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.2
|
52 |
+
* @link http://eepohs.com/
|
53 |
*/
|
54 |
class Eepohs_Estpay_Model_IPizza extends Eepohs_Estpay_Model_Abstract
|
55 |
{
|
56 |
|
57 |
+
/**
|
58 |
+
* Verifies response sent by bank by checking validity
|
59 |
+
* of banks signature using corresponding public key to bank's private key
|
60 |
+
*
|
61 |
+
* @param array $params Response sent by a bank
|
62 |
+
*
|
63 |
+
* @return int
|
64 |
+
*/
|
65 |
public function verify(array $params = array())
|
66 |
{
|
67 |
+
if (!isset($params['VK_SERVICE']))
|
68 |
+
return Eepohs_Estpay_Helper_Data::_VERIFY_CORRUPT;
|
69 |
|
70 |
+
$test_success = false;
|
71 |
+
$data = null;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
|
73 |
+
switch ($params['VK_SERVICE']) {
|
74 |
+
case '1101': // success
|
75 |
+
$test_success = true;
|
76 |
+
break;
|
77 |
+
case '1901': // fail
|
78 |
+
break;
|
79 |
+
default:
|
80 |
+
Mage::log(sprintf('%s (%s)@%s: IPizza return service is not 1101/1901: %s', __METHOD__, __LINE__,
|
81 |
+
$_SERVER['REMOTE_ADDR'], $params['VK_SERVICE']), null, $this->logFile);
|
82 |
+
return Eepohs_Estpay_Helper_Data::_VERIFY_CORRUPT;
|
83 |
+
}
|
84 |
|
85 |
+
$vkSndId = Mage::getStoreConfig('payment/' . $this->_code . '/vk_snd_id');
|
|
|
|
|
86 |
|
87 |
+
if (!isset($params['VK_REC_ID']) || $params['VK_REC_ID'] != $vkSndId) {
|
88 |
+
Mage::log(sprintf('%s (%s)@%s: Wrong merchant ID used for return: %s vs %s', __METHOD__, __LINE__,
|
89 |
+
$_SERVER['REMOTE_ADDR'], $params['VK_REC_ID'], $vkSndId
|
90 |
+
), null, $this->logFile
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
);
|
92 |
+
return Eepohs_Estpay_Helper_Data::_VERIFY_CORRUPT;
|
93 |
}
|
94 |
|
95 |
+
if ($test_success) {
|
96 |
+
$data = sprintf('%03d%s', strlen($params['VK_SERVICE']), $params['VK_SERVICE'])
|
97 |
+
. sprintf('%03d%s', strlen($params['VK_VERSION']), $params['VK_VERSION'])
|
98 |
+
. sprintf('%03d%s', strlen($params['VK_SND_ID']), $params['VK_SND_ID'])
|
99 |
+
. sprintf('%03d%s', strlen($params['VK_REC_ID']), $params['VK_REC_ID'])
|
100 |
+
. sprintf('%03d%s', strlen($params['VK_STAMP']), $params['VK_STAMP'])
|
101 |
+
. sprintf('%03d%s', strlen($params['VK_T_NO']), $params['VK_T_NO'])
|
102 |
+
. sprintf('%03d%s', strlen($params['VK_AMOUNT']), $params['VK_AMOUNT'])
|
103 |
+
. sprintf('%03d%s', strlen($params['VK_CURR']), $params['VK_CURR'])
|
104 |
+
. sprintf('%03d%s', strlen($params['VK_REC_ACC']), $params['VK_REC_ACC'])
|
105 |
+
. sprintf('%03d%s', strlen($params['VK_REC_NAME']), $params['VK_REC_NAME'])
|
106 |
+
. sprintf('%03d%s', strlen($params['VK_SND_ACC']), $params['VK_SND_ACC'])
|
107 |
+
. sprintf('%03d%s', strlen($params['VK_SND_NAME']), $params['VK_SND_NAME'])
|
108 |
+
. sprintf('%03d%s', strlen($params['VK_REF']), $params['VK_REF'])
|
109 |
+
. sprintf('%03d%s', strlen($params['VK_MSG']), $params['VK_MSG'])
|
110 |
+
. sprintf('%03d%s', strlen($params['VK_T_DATE']), $params['VK_T_DATE']);
|
111 |
+
}
|
112 |
+
else {
|
113 |
+
$data = sprintf('%03d%s', strlen($params['VK_SERVICE']), $params['VK_SERVICE'])
|
114 |
+
. sprintf('%03d%s', strlen($params['VK_VERSION']), $params['VK_VERSION'])
|
115 |
+
. sprintf('%03d%s', strlen($params['VK_SND_ID']), $params['VK_SND_ID'])
|
116 |
+
. sprintf('%03d%s', strlen($params['VK_REC_ID']), $params['VK_REC_ID'])
|
117 |
+
. sprintf('%03d%s', strlen($params['VK_STAMP']), $params['VK_STAMP'])
|
118 |
+
. sprintf('%03d%s', strlen($params['VK_REF']), $params['VK_REF'])
|
119 |
+
. sprintf('%03d%s', strlen($params['VK_MSG']), $params['VK_MSG']);
|
120 |
+
}
|
121 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
|
123 |
+
$key = openssl_pkey_get_public(Mage::getStoreConfig('payment/' . $this->_code . '/bank_certificate'));
|
124 |
+
$result = openssl_verify($data, base64_decode($params['VK_MAC']), $key);
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
openssl_free_key($key);
|
|
|
|
|
|
|
126 |
|
127 |
+
switch ($result) {
|
128 |
+
case 1: // ssl verify successful
|
129 |
+
if ($test_success)
|
130 |
+
return Eepohs_Estpay_Helper_Data::_VERIFY_SUCCESS;
|
131 |
+
else
|
132 |
+
return Eepohs_Estpay_Helper_Data::_VERIFY_CANCEL;
|
133 |
+
|
134 |
+
case 0: // ssl verify failed
|
135 |
+
Mage::log(sprintf(
|
136 |
+
'%s (%s)@%s: Verification of signature failed for %s', __METHOD__, __LINE__,
|
137 |
+
$_SERVER['REMOTE_ADDR'], $params['VK_SND_ID']
|
138 |
+
), null, $this->logFile);
|
139 |
+
|
140 |
+
return Eepohs_Estpay_Helper_Data::_VERIFY_CORRUPT;
|
141 |
+
|
142 |
+
case -1: // ssl verify error
|
143 |
+
default:
|
144 |
+
$error = '';
|
145 |
+
while ($msg = openssl_error_string())
|
146 |
+
$error .= $msg . "\n";
|
147 |
+
Mage::log(sprintf(
|
148 |
+
'%s (%s)@%s: Verification of signature error for %s : %s', __METHOD__, __LINE__,
|
149 |
+
$_SERVER['REMOTE_ADDR'], $params['VK_SND_ID'], $error
|
150 |
+
), null, $this->logFile);
|
151 |
+
|
152 |
+
return Eepohs_Estpay_Helper_Data::_VERIFY_CORRUPT;
|
153 |
+
}
|
154 |
}
|
155 |
|
156 |
/**
|
162 |
public function validate()
|
163 |
{
|
164 |
$key = openssl_pkey_get_public(
|
165 |
+
Mage::getStoreConfig(
|
166 |
+
'payment/' . $this->_code . '/bank_certificate'
|
167 |
+
)
|
168 |
);
|
169 |
+
if ($key === false) {
|
170 |
+
Mage::log(
|
171 |
+
sprintf(
|
172 |
+
'%s (%s): Public key not found for %s', __METHOD__, __LINE__, $this->_code
|
173 |
+
), null, $this->logFile
|
|
|
|
|
|
|
174 |
);
|
175 |
Mage::throwException(
|
176 |
+
$this->_getHelper()->__(
|
177 |
+
'Public key for ' . $this->_code . ' not set'
|
178 |
+
)
|
179 |
);
|
180 |
}
|
181 |
return parent::validate();
|
app/code/community/Eepohs/Estpay/Model/Krediidipank.php
CHANGED
@@ -1,12 +1,19 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
*
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,14 +41,14 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
class Eepohs_Estpay_Model_Krediidipank extends Eepohs_Estpay_Model_IPizza
|
47 |
{
|
1 |
<?php
|
|
|
2 |
/**
|
3 |
+
* Krediidipank.php
|
4 |
+
*
|
5 |
+
* PHP version 5
|
6 |
+
*
|
7 |
+
* @category Magento
|
8 |
* @package Eepohs
|
9 |
* @subpackage Estpay
|
10 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
11 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
12 |
+
* @link http://eepohs.com/
|
13 |
*/
|
14 |
|
15 |
/**
|
16 |
+
* Krediidipank payment model for Estpay
|
17 |
*
|
18 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
19 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
41 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
42 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
43 |
*
|
44 |
+
* @category Community
|
|
|
|
|
|
|
|
|
45 |
* @package Eepohs
|
46 |
* @subpackage Estpay
|
47 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
48 |
+
* @copyright 2012 Eepohs OÜ
|
49 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
50 |
+
* @version Release: 1.3.2
|
51 |
+
* @link http://eepohs.com/
|
52 |
*/
|
53 |
class Eepohs_Estpay_Model_Krediidipank extends Eepohs_Estpay_Model_IPizza
|
54 |
{
|
app/code/community/Eepohs/Estpay/Model/Lhv.php
CHANGED
@@ -1,12 +1,19 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
*
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,14 +41,14 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
class Eepohs_Estpay_Model_Lhv extends Eepohs_Estpay_Model_IPizza
|
47 |
{
|
1 |
<?php
|
|
|
2 |
/**
|
3 |
+
* Lhv.php
|
4 |
+
*
|
5 |
+
* PHP version 5
|
6 |
+
*
|
7 |
+
* @category Magento
|
8 |
* @package Eepohs
|
9 |
* @subpackage Estpay
|
10 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
11 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
12 |
+
* @link http://eepohs.com/
|
13 |
*/
|
14 |
|
15 |
/**
|
16 |
+
* LHV payment model for Estpay
|
17 |
*
|
18 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
19 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
41 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
42 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
43 |
*
|
44 |
+
* @category Community
|
|
|
|
|
|
|
|
|
45 |
* @package Eepohs
|
46 |
* @subpackage Estpay
|
47 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
48 |
+
* @copyright 2012 Eepohs OÜ
|
49 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
50 |
+
* @version Release: 1.3.2
|
51 |
+
* @link http://eepohs.com/
|
52 |
*/
|
53 |
class Eepohs_Estpay_Model_Lhv extends Eepohs_Estpay_Model_IPizza
|
54 |
{
|
app/code/community/Eepohs/Estpay/Model/Nordea.php
CHANGED
@@ -1,12 +1,20 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
*
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,18 +42,17 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
class Eepohs_Estpay_Model_Nordea extends Eepohs_Estpay_Model_Abstract
|
47 |
{
|
48 |
-
|
49 |
protected $_code = 'eepohs_nordea';
|
50 |
protected $_formBlockType = 'estpay/nordea';
|
51 |
protected $_gateway = 'nordea';
|
@@ -53,61 +60,48 @@ class Eepohs_Estpay_Model_Nordea extends Eepohs_Estpay_Model_Abstract
|
|
53 |
/**
|
54 |
* Verifies response from Nordea
|
55 |
*
|
56 |
-
* @param array $params
|
57 |
*
|
58 |
-
* @return
|
59 |
*/
|
60 |
public function verify(array $params = array())
|
61 |
{
|
|
|
62 |
|
63 |
-
//
|
64 |
-
if (
|
65 |
-
|
66 |
|
67 |
$data =
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
|
74 |
// Invalid MAC code
|
75 |
-
if (
|
76 |
-
$
|
77 |
-
|
78 |
-
) {
|
79 |
-
Mage::log(
|
80 |
-
sprintf(
|
81 |
-
"%s (%s)@%s: (Nordea) Invalid MAC code",
|
82 |
-
__METHOD__,
|
83 |
-
__LINE__,
|
84 |
-
$_SERVER['REMOTE_ADDR']
|
85 |
-
)
|
86 |
-
);
|
87 |
-
return false;
|
88 |
}
|
89 |
|
90 |
$session = Mage::getSingleton('checkout/session');
|
91 |
|
92 |
$helper = Mage::helper('estpay');
|
93 |
// Reference number doesn't match.
|
94 |
-
if (
|
95 |
-
$helper->calcRef($session->getLastRealOrderId())
|
96 |
-
!= $params['SOLOPMT_RETURN_REF']
|
97 |
-
) {
|
98 |
Mage::log(
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
__METHOD__,
|
103 |
-
__LINE__,
|
104 |
-
$_SERVER['REMOTE_ADDR']
|
105 |
-
)
|
106 |
);
|
107 |
-
return
|
108 |
}
|
109 |
|
110 |
-
|
|
|
|
|
|
|
111 |
}
|
112 |
|
113 |
}
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* Nordea.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 |
/**
|
17 |
+
* Nordea Bank payment model for Estpay
|
18 |
*
|
19 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
20 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
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.2
|
52 |
+
* @link http://eepohs.com/
|
53 |
*/
|
54 |
class Eepohs_Estpay_Model_Nordea extends Eepohs_Estpay_Model_Abstract
|
55 |
{
|
|
|
56 |
protected $_code = 'eepohs_nordea';
|
57 |
protected $_formBlockType = 'estpay/nordea';
|
58 |
protected $_gateway = 'nordea';
|
60 |
/**
|
61 |
* Verifies response from Nordea
|
62 |
*
|
63 |
+
* @param array $params Response sent by bank and to be verified
|
64 |
*
|
65 |
+
* @return int
|
66 |
*/
|
67 |
public function verify(array $params = array())
|
68 |
{
|
69 |
+
$test_success = false;
|
70 |
|
71 |
+
// Not present if cancelled or rejected
|
72 |
+
if (isset($params['SOLOPMT_RETURN_PAID']))
|
73 |
+
$test_success = true;
|
74 |
|
75 |
$data =
|
76 |
+
$params['SOLOPMT_RETURN_VERSION'] . '&' .
|
77 |
+
$params['SOLOPMT_RETURN_STAMP'] . '&' .
|
78 |
+
$params['SOLOPMT_RETURN_REF'] . '&' .
|
79 |
+
($test_success ? $params['SOLOPMT_RETURN_PAID'] . '&' : '') .
|
80 |
+
Mage::getStoreConfig('payment/' . $this->_code . '/mac_key') . '&';
|
81 |
|
82 |
// Invalid MAC code
|
83 |
+
if ($params['SOLOPMT_RETURN_MAC'] != strtoupper(md5($data))) {
|
84 |
+
Mage::log(sprintf("%s (%s)@%s: (Nordea) Invalid MAC code", __METHOD__, __LINE__, $_SERVER['REMOTE_ADDR']));
|
85 |
+
return Eepohs_Estpay_Helper_Data::_VERIFY_CORRUPT;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
}
|
87 |
|
88 |
$session = Mage::getSingleton('checkout/session');
|
89 |
|
90 |
$helper = Mage::helper('estpay');
|
91 |
// Reference number doesn't match.
|
92 |
+
if ($helper->calcRef($session->getLastRealOrderId()) != $params['SOLOPMT_RETURN_REF']) {
|
|
|
|
|
|
|
93 |
Mage::log(
|
94 |
+
sprintf("%s (%s)@%s: (Nordea): Reference number doesn't match (potential tampering attempt).",
|
95 |
+
__METHOD__, __LINE__, $_SERVER['REMOTE_ADDR']
|
96 |
+
)
|
|
|
|
|
|
|
|
|
97 |
);
|
98 |
+
return Eepohs_Estpay_Helper_Data::_VERIFY_CORRUPT;
|
99 |
}
|
100 |
|
101 |
+
if ($test_success)
|
102 |
+
return Eepohs_Estpay_Helper_Data::_VERIFY_SUCCESS;
|
103 |
+
else
|
104 |
+
return Eepohs_Estpay_Helper_Data::_VERIFY_CANCEL;
|
105 |
}
|
106 |
|
107 |
}
|
app/code/community/Eepohs/Estpay/Model/Sampo.php
CHANGED
@@ -1,12 +1,19 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
*
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,14 +41,14 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
class Eepohs_Estpay_Model_Sampo extends Eepohs_Estpay_Model_IPizza
|
47 |
{
|
1 |
<?php
|
|
|
2 |
/**
|
3 |
+
* Sampo.php
|
4 |
+
*
|
5 |
+
* PHP version 5
|
6 |
+
*
|
7 |
+
* @category Magento
|
8 |
* @package Eepohs
|
9 |
* @subpackage Estpay
|
10 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
11 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
12 |
+
* @link http://eepohs.com/
|
13 |
*/
|
14 |
|
15 |
/**
|
16 |
+
* SampoPank payment model for Estpay
|
17 |
*
|
18 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
19 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
41 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
42 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
43 |
*
|
44 |
+
* @category Community
|
|
|
|
|
|
|
|
|
45 |
* @package Eepohs
|
46 |
* @subpackage Estpay
|
47 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
48 |
+
* @copyright 2012 Eepohs OÜ
|
49 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
50 |
+
* @version Release: 1.3.2
|
51 |
+
* @link http://eepohs.com/
|
52 |
*/
|
53 |
class Eepohs_Estpay_Model_Sampo extends Eepohs_Estpay_Model_IPizza
|
54 |
{
|
app/code/community/Eepohs/Estpay/Model/Seb.php
CHANGED
@@ -1,12 +1,19 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
*
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,14 +41,14 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
class Eepohs_Estpay_Model_Seb extends Eepohs_Estpay_Model_IPizza
|
47 |
{
|
1 |
<?php
|
|
|
2 |
/**
|
3 |
+
* Seb.php
|
4 |
+
*
|
5 |
+
* PHP version 5
|
6 |
+
*
|
7 |
+
* @category Magento
|
8 |
* @package Eepohs
|
9 |
* @subpackage Estpay
|
10 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
11 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
12 |
+
* @link http://eepohs.com/
|
13 |
*/
|
14 |
|
15 |
/**
|
16 |
+
* SEB payment model for Estpay
|
17 |
*
|
18 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
19 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
41 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
42 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
43 |
*
|
44 |
+
* @category Community
|
|
|
|
|
|
|
|
|
45 |
* @package Eepohs
|
46 |
* @subpackage Estpay
|
47 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
48 |
+
* @copyright 2012 Eepohs OÜ
|
49 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
50 |
+
* @version Release: 1.3.2
|
51 |
+
* @link http://eepohs.com/
|
52 |
*/
|
53 |
class Eepohs_Estpay_Model_Seb extends Eepohs_Estpay_Model_IPizza
|
54 |
{
|
app/code/community/Eepohs/Estpay/Model/Swedbank.php
CHANGED
@@ -1,12 +1,19 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
*
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,14 +41,14 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
class Eepohs_Estpay_Model_Swedbank extends Eepohs_Estpay_Model_IPizza
|
47 |
{
|
1 |
<?php
|
|
|
2 |
/**
|
3 |
+
* Swedbank.php
|
4 |
+
*
|
5 |
+
* PHP version 5
|
6 |
+
*
|
7 |
+
* @category Magento
|
8 |
* @package Eepohs
|
9 |
* @subpackage Estpay
|
10 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
11 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
12 |
+
* @link http://eepohs.com/
|
13 |
*/
|
14 |
|
15 |
/**
|
16 |
+
* Swedbank payment model for Estpay
|
17 |
*
|
18 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
19 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
41 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
42 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
43 |
*
|
44 |
+
* @category Community
|
|
|
|
|
|
|
|
|
45 |
* @package Eepohs
|
46 |
* @subpackage Estpay
|
47 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
48 |
+
* @copyright 2012 Eepohs OÜ
|
49 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
50 |
+
* @version Release: 1.3.2
|
51 |
+
* @link http://eepohs.com/
|
52 |
*/
|
53 |
class Eepohs_Estpay_Model_Swedbank extends Eepohs_Estpay_Model_IPizza
|
54 |
{
|
app/code/community/Eepohs/Estpay/controllers/EstcardController.php
CHANGED
@@ -1,8 +1,15 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
@@ -34,14 +41,14 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
class Eepohs_Estpay_EstcardController extends Eepohs_Estpay_Controller_Abstract
|
47 |
{
|
1 |
<?php
|
|
|
2 |
/**
|
3 |
+
* EstcardController.php
|
4 |
+
*
|
5 |
+
* PHP version 5
|
6 |
+
*
|
7 |
+
* @category Magento
|
8 |
* @package Eepohs
|
9 |
* @subpackage Estpay
|
10 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
11 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
12 |
+
* @link http://eepohs.com/
|
13 |
*/
|
14 |
|
15 |
/**
|
41 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
42 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
43 |
*
|
44 |
+
* @category Community
|
|
|
|
|
|
|
|
|
45 |
* @package Eepohs
|
46 |
* @subpackage Estpay
|
47 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
48 |
+
* @copyright 2012 Eepohs OÜ
|
49 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
50 |
+
* @version Release: 1.3.2
|
51 |
+
* @link http://eepohs.com/
|
52 |
*/
|
53 |
class Eepohs_Estpay_EstcardController extends Eepohs_Estpay_Controller_Abstract
|
54 |
{
|
app/code/community/Eepohs/Estpay/controllers/KrediidipankController.php
CHANGED
@@ -1,12 +1,19 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
* Controller for
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,17 +41,16 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
-
class Eepohs_Estpay_KrediidipankController
|
47 |
-
extends Eepohs_Estpay_Controller_Abstract
|
48 |
{
|
49 |
|
50 |
protected $_model = 'estpay/krediidipank';
|
1 |
<?php
|
|
|
2 |
/**
|
3 |
+
* KrediidipankController.php
|
4 |
+
*
|
5 |
+
* PHP version 5
|
6 |
+
*
|
7 |
+
* @category Magento
|
8 |
* @package Eepohs
|
9 |
* @subpackage Estpay
|
10 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
11 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
12 |
+
* @link http://eepohs.com/
|
13 |
*/
|
14 |
|
15 |
/**
|
16 |
+
* Controller for Krediidipank of Estpay payment method
|
17 |
*
|
18 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
19 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
41 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
42 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
43 |
*
|
44 |
+
* @category Community
|
|
|
|
|
|
|
|
|
45 |
* @package Eepohs
|
46 |
* @subpackage Estpay
|
47 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
48 |
+
* @copyright 2012 Eepohs OÜ
|
49 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
50 |
+
* @version Release: 1.3.2
|
51 |
+
* @link http://eepohs.com/
|
52 |
*/
|
53 |
+
class Eepohs_Estpay_KrediidipankController extends Eepohs_Estpay_Controller_Abstract
|
|
|
54 |
{
|
55 |
|
56 |
protected $_model = 'estpay/krediidipank';
|
app/code/community/Eepohs/Estpay/controllers/LhvController.php
CHANGED
@@ -1,12 +1,19 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
* Controller for
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,14 +41,14 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
class Eepohs_Estpay_LhvController extends Eepohs_Estpay_Controller_Abstract
|
47 |
{
|
1 |
<?php
|
|
|
2 |
/**
|
3 |
+
* LhvController.php
|
4 |
+
*
|
5 |
+
* PHP version 5
|
6 |
+
*
|
7 |
+
* @category Magento
|
8 |
* @package Eepohs
|
9 |
* @subpackage Estpay
|
10 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
11 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
12 |
+
* @link http://eepohs.com/
|
13 |
*/
|
14 |
|
15 |
/**
|
16 |
+
* Controller for LHV of Estpay payment method
|
17 |
*
|
18 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
19 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
41 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
42 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
43 |
*
|
44 |
+
* @category Community
|
|
|
|
|
|
|
|
|
45 |
* @package Eepohs
|
46 |
* @subpackage Estpay
|
47 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
48 |
+
* @copyright 2012 Eepohs OÜ
|
49 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
50 |
+
* @version Release: 1.3.2
|
51 |
+
* @link http://eepohs.com/
|
52 |
*/
|
53 |
class Eepohs_Estpay_LhvController extends Eepohs_Estpay_Controller_Abstract
|
54 |
{
|
app/code/community/Eepohs/Estpay/controllers/NordeaController.php
CHANGED
@@ -1,12 +1,19 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
* Controller for Nordea
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,14 +41,14 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
class Eepohs_Estpay_NordeaController extends Eepohs_Estpay_Controller_Abstract
|
47 |
{
|
1 |
<?php
|
|
|
2 |
/**
|
3 |
+
* NordeaController.php
|
4 |
+
*
|
5 |
+
* PHP version 5
|
6 |
+
*
|
7 |
+
* @category Magento
|
8 |
* @package Eepohs
|
9 |
* @subpackage Estpay
|
10 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
11 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
12 |
+
* @link http://eepohs.com/
|
13 |
*/
|
14 |
|
15 |
/**
|
16 |
+
* Controller for Nordea of Estpay payment method
|
17 |
*
|
18 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
19 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
41 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
42 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
43 |
*
|
44 |
+
* @category Community
|
|
|
|
|
|
|
|
|
45 |
* @package Eepohs
|
46 |
* @subpackage Estpay
|
47 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
48 |
+
* @copyright 2012 Eepohs OÜ
|
49 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
50 |
+
* @version Release: 1.3.2
|
51 |
+
* @link http://eepohs.com/
|
52 |
*/
|
53 |
class Eepohs_Estpay_NordeaController extends Eepohs_Estpay_Controller_Abstract
|
54 |
{
|
app/code/community/Eepohs/Estpay/controllers/SampoController.php
CHANGED
@@ -1,12 +1,19 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
* Controller for
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,14 +41,14 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
class Eepohs_Estpay_SampoController extends Eepohs_Estpay_Controller_Abstract
|
47 |
{
|
1 |
<?php
|
|
|
2 |
/**
|
3 |
+
* SampoController.php
|
4 |
+
*
|
5 |
+
* PHP version 5
|
6 |
+
*
|
7 |
+
* @category Magento
|
8 |
* @package Eepohs
|
9 |
* @subpackage Estpay
|
10 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
11 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
12 |
+
* @link http://eepohs.com/
|
13 |
*/
|
14 |
|
15 |
/**
|
16 |
+
* Controller for SampoPank of Estpay payment method
|
17 |
*
|
18 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
19 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
41 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
42 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
43 |
*
|
44 |
+
* @category Community
|
|
|
|
|
|
|
|
|
45 |
* @package Eepohs
|
46 |
* @subpackage Estpay
|
47 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
48 |
+
* @copyright 2012 Eepohs OÜ
|
49 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
50 |
+
* @version Release: 1.3.2
|
51 |
+
* @link http://eepohs.com/
|
52 |
*/
|
53 |
class Eepohs_Estpay_SampoController extends Eepohs_Estpay_Controller_Abstract
|
54 |
{
|
app/code/community/Eepohs/Estpay/controllers/SebController.php
CHANGED
@@ -1,8 +1,15 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
@@ -34,14 +41,14 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
class Eepohs_Estpay_SebController extends Eepohs_Estpay_Controller_Abstract
|
47 |
{
|
1 |
<?php
|
|
|
2 |
/**
|
3 |
+
* SebController.php
|
4 |
+
*
|
5 |
+
* PHP version 5
|
6 |
+
*
|
7 |
+
* @category Magento
|
8 |
* @package Eepohs
|
9 |
* @subpackage Estpay
|
10 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
11 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
12 |
+
* @link http://eepohs.com/
|
13 |
*/
|
14 |
|
15 |
/**
|
41 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
42 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
43 |
*
|
44 |
+
* @category Community
|
|
|
|
|
|
|
|
|
45 |
* @package Eepohs
|
46 |
* @subpackage Estpay
|
47 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
48 |
+
* @copyright 2012 Eepohs OÜ
|
49 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
50 |
+
* @version Release: 1.3.2
|
51 |
+
* @link http://eepohs.com/
|
52 |
*/
|
53 |
class Eepohs_Estpay_SebController extends Eepohs_Estpay_Controller_Abstract
|
54 |
{
|
app/code/community/Eepohs/Estpay/controllers/SwedbankController.php
CHANGED
@@ -48,9 +48,8 @@
|
|
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.
|
52 |
* @link http://eepohs.com/
|
53 |
-
*
|
54 |
*/
|
55 |
class Eepohs_Estpay_SwedbankController extends Eepohs_Estpay_Controller_Abstract
|
56 |
{
|
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.2
|
52 |
* @link http://eepohs.com/
|
|
|
53 |
*/
|
54 |
class Eepohs_Estpay_SwedbankController extends Eepohs_Estpay_Controller_Abstract
|
55 |
{
|
app/code/community/Eepohs/Estpay/etc/config.xml
CHANGED
@@ -1,12 +1,20 @@
|
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!--
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
*
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,20 +42,20 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
-->
|
47 |
<config>
|
48 |
<modules>
|
49 |
<Eepohs_Estpay>
|
50 |
-
<version>1.3.
|
51 |
</Eepohs_Estpay>
|
52 |
</modules>
|
53 |
<global>
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!--
|
3 |
/**
|
4 |
+
* config.xml
|
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 |
/**
|
17 |
+
* Config file for EstPay extension
|
18 |
*
|
19 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
20 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
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.2
|
52 |
+
* @link http://eepohs.com/
|
53 |
*/
|
54 |
-->
|
55 |
<config>
|
56 |
<modules>
|
57 |
<Eepohs_Estpay>
|
58 |
+
<version>1.3.2</version>
|
59 |
</Eepohs_Estpay>
|
60 |
</modules>
|
61 |
<global>
|
app/code/community/Eepohs/Estpay/etc/system.xml
CHANGED
@@ -1,12 +1,20 @@
|
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!--
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
*
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,14 +42,14 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
-->
|
47 |
<config>
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!--
|
3 |
/**
|
4 |
+
* system.xml
|
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 |
/**
|
17 |
+
* System config file for EstPay
|
18 |
*
|
19 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
20 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
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.2
|
52 |
+
* @link http://eepohs.com/
|
53 |
*/
|
54 |
-->
|
55 |
<config>
|
app/design/adminhtml/default/default/layout/eepohs/estpay.xml
CHANGED
@@ -35,7 +35,7 @@
|
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
* @license http://opensource.org/licenses/bsd-license.php
|
38 |
-
* @version 1.3.
|
39 |
* @author Eepohs OÜ
|
40 |
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
*
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
* @license http://opensource.org/licenses/bsd-license.php
|
38 |
+
* @version 1.3.2
|
39 |
* @author Eepohs OÜ
|
40 |
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
*
|
app/design/adminhtml/default/default/template/eepohs/estpay/initjs.phtml
CHANGED
@@ -34,7 +34,7 @@
|
|
34 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
35 |
*
|
36 |
* @license http://opensource.org/licenses/bsd-license.php
|
37 |
-
* @version 1.3.
|
38 |
* @author Eepohs OÜ
|
39 |
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
40 |
*
|
34 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
35 |
*
|
36 |
* @license http://opensource.org/licenses/bsd-license.php
|
37 |
+
* @version 1.3.2
|
38 |
* @author Eepohs OÜ
|
39 |
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
40 |
*
|
app/design/frontend/base/default/layout/eepohs/estpay.xml
CHANGED
@@ -1,8 +1,16 @@
|
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!--
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
@@ -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 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
-->
|
47 |
<layout version="0.1.0">
|
@@ -122,4 +131,9 @@
|
|
122 |
</block>
|
123 |
</reference>
|
124 |
</estpay_lhv_redirect>
|
|
|
|
|
|
|
|
|
|
|
125 |
</layout>
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!--
|
3 |
/**
|
4 |
+
* estpay.xml
|
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 |
/**
|
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.2
|
52 |
+
* @link http://eepohs.com/
|
53 |
+
*
|
54 |
*/
|
55 |
-->
|
56 |
<layout version="0.1.0">
|
131 |
</block>
|
132 |
</reference>
|
133 |
</estpay_lhv_redirect>
|
134 |
+
<default>
|
135 |
+
<reference name="footer">
|
136 |
+
<block type="estpay/info" name="estpay_info" template="eepohs/estpay/info.phtml" />
|
137 |
+
</reference>
|
138 |
+
</default>
|
139 |
</layout>
|
app/design/frontend/base/default/template/eepohs/estpay/estcard.phtml
CHANGED
@@ -1,10 +1,19 @@
|
|
1 |
<?php
|
2 |
/**
|
|
|
|
|
|
|
|
|
|
|
3 |
* @package Eepohs
|
4 |
* @subpackage Estpay
|
|
|
|
|
|
|
5 |
*/
|
|
|
6 |
/**
|
7 |
-
*
|
8 |
*
|
9 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
10 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -32,14 +41,14 @@
|
|
32 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
33 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
34 |
*
|
35 |
-
* @
|
36 |
-
* @version 1.3.1
|
37 |
-
* @author Eepohs OÜ
|
38 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
39 |
-
*
|
40 |
* @package Eepohs
|
41 |
* @subpackage Estpay
|
42 |
-
* @
|
|
|
|
|
|
|
|
|
43 |
*/
|
44 |
?>
|
45 |
<div class="payment_estpay_container payment_method_estcard">
|
1 |
<?php
|
2 |
/**
|
3 |
+
* estcard.phtml
|
4 |
+
*
|
5 |
+
* PHP version 5
|
6 |
+
*
|
7 |
+
* @category Magento
|
8 |
* @package Eepohs
|
9 |
* @subpackage Estpay
|
10 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
11 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
12 |
+
* @link http://eepohs.com/
|
13 |
*/
|
14 |
+
|
15 |
/**
|
16 |
+
* Estcard payment form block
|
17 |
*
|
18 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
19 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
41 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
42 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
43 |
*
|
44 |
+
* @category Community
|
|
|
|
|
|
|
|
|
45 |
* @package Eepohs
|
46 |
* @subpackage Estpay
|
47 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
48 |
+
* @copyright 2012 Eepohs OÜ
|
49 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
50 |
+
* @version Release: 1.3.2
|
51 |
+
* @link http://eepohs.com/
|
52 |
*/
|
53 |
?>
|
54 |
<div class="payment_estpay_container payment_method_estcard">
|
app/design/frontend/base/default/template/eepohs/estpay/info.phtml
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* info.phtml
|
4 |
+
*
|
5 |
+
* PHP version 5
|
6 |
+
*
|
7 |
+
* @category Magento
|
8 |
+
* @package Eepohs
|
9 |
+
* @subpackage Estpay
|
10 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
11 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
12 |
+
* @link http://eepohs.com/
|
13 |
+
*/
|
14 |
+
/**
|
15 |
+
* Info block for Estpay enabled method logos
|
16 |
+
*
|
17 |
+
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
18 |
+
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
19 |
+
* TO BE BOUND BY THE TERMS OF THIS LICENSE.
|
20 |
+
* IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE SOFTWARE.
|
21 |
+
*
|
22 |
+
* Copyright (c) 2012, Eepohs OÜ
|
23 |
+
* All rights reserved.
|
24 |
+
* Redistribution and use in source and binary forms, with or without
|
25 |
+
* modification, are permitted provided that the following conditions are met:
|
26 |
+
* Redistributions of source code must retain the above copyright notice, this
|
27 |
+
* list of conditions and the following disclaimer.
|
28 |
+
* Redistributions in binary form must reproduce the above copyright notice,
|
29 |
+
* this list of conditions and the following disclaimer in the documentation
|
30 |
+
* and/or other materials provided with the distribution.
|
31 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
32 |
+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
33 |
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
34 |
+
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
35 |
+
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
36 |
+
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
37 |
+
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
38 |
+
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
39 |
+
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
40 |
+
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
41 |
+
* THE POSSIBILITY OF SUCH DAMAGE.
|
42 |
+
*
|
43 |
+
* @category Community
|
44 |
+
* @package Eepohs
|
45 |
+
* @subpackage Estpay
|
46 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
47 |
+
* @copyright 2012 Eepohs OÜ
|
48 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
49 |
+
* @version Release 1.3.2
|
50 |
+
* @link http://eepohs.com/
|
51 |
+
*
|
52 |
+
*/
|
53 |
+
?>
|
54 |
+
<?php $gateways = $this->getEnabledGateways() ?>
|
55 |
+
<?php if ( is_array($gateways) && sizeof($gateways) > 0 ): ?>
|
56 |
+
<ul class="estpay-logo-list">
|
57 |
+
<?php foreach ( $gateways as $gateway ): ?>
|
58 |
+
<li class="item">
|
59 |
+
<img src="<?php echo $gateway['logo'] ?>" alt="<?php echo $gateway['title'] ?>" title="<?php echo $gateway['title'] ?>"/>
|
60 |
+
</li>
|
61 |
+
<?php endforeach; ?>
|
62 |
+
</ul>
|
63 |
+
<?php endif; ?>
|
app/design/frontend/base/default/template/eepohs/estpay/krediidipank.phtml
CHANGED
@@ -1,10 +1,19 @@
|
|
1 |
<?php
|
2 |
/**
|
|
|
|
|
|
|
|
|
|
|
3 |
* @package Eepohs
|
4 |
* @subpackage Estpay
|
|
|
|
|
|
|
5 |
*/
|
|
|
6 |
/**
|
7 |
-
*
|
8 |
*
|
9 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
10 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -32,14 +41,14 @@
|
|
32 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
33 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
34 |
*
|
35 |
-
* @
|
36 |
-
* @version 1.3.1
|
37 |
-
* @author Eepohs OÜ
|
38 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
39 |
-
*
|
40 |
* @package Eepohs
|
41 |
* @subpackage Estpay
|
42 |
-
* @
|
|
|
|
|
|
|
|
|
43 |
*/
|
44 |
?>
|
45 |
<div class="payment_estpay_container payment_method_krediidipank">
|
1 |
<?php
|
2 |
/**
|
3 |
+
* krediidipank.phtml
|
4 |
+
*
|
5 |
+
* PHP version 5
|
6 |
+
*
|
7 |
+
* @category Magento
|
8 |
* @package Eepohs
|
9 |
* @subpackage Estpay
|
10 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
11 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
12 |
+
* @link http://eepohs.com/
|
13 |
*/
|
14 |
+
|
15 |
/**
|
16 |
+
* Krediidipank payment form block
|
17 |
*
|
18 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
19 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
41 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
42 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
43 |
*
|
44 |
+
* @category Community
|
|
|
|
|
|
|
|
|
45 |
* @package Eepohs
|
46 |
* @subpackage Estpay
|
47 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
48 |
+
* @copyright 2012 Eepohs OÜ
|
49 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
50 |
+
* @version Release: 1.3.2
|
51 |
+
* @link http://eepohs.com/
|
52 |
*/
|
53 |
?>
|
54 |
<div class="payment_estpay_container payment_method_krediidipank">
|
app/design/frontend/base/default/template/eepohs/estpay/lhv.phtml
CHANGED
@@ -1,10 +1,19 @@
|
|
1 |
<?php
|
2 |
/**
|
|
|
|
|
|
|
|
|
|
|
3 |
* @package Eepohs
|
4 |
* @subpackage Estpay
|
|
|
|
|
|
|
5 |
*/
|
|
|
6 |
/**
|
7 |
-
*
|
8 |
*
|
9 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
10 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -32,14 +41,14 @@
|
|
32 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
33 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
34 |
*
|
35 |
-
* @
|
36 |
-
* @version 1.3.1
|
37 |
-
* @author Eepohs OÜ
|
38 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
39 |
-
*
|
40 |
* @package Eepohs
|
41 |
* @subpackage Estpay
|
42 |
-
* @
|
|
|
|
|
|
|
|
|
43 |
*/
|
44 |
?>
|
45 |
<div class="payment_estpay_container payment_method_lhv">
|
1 |
<?php
|
2 |
/**
|
3 |
+
* lhv.phtml
|
4 |
+
*
|
5 |
+
* PHP version 5
|
6 |
+
*
|
7 |
+
* @category Magento
|
8 |
* @package Eepohs
|
9 |
* @subpackage Estpay
|
10 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
11 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
12 |
+
* @link http://eepohs.com/
|
13 |
*/
|
14 |
+
|
15 |
/**
|
16 |
+
* LHV payment form block
|
17 |
*
|
18 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
19 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
41 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
42 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
43 |
*
|
44 |
+
* @category Community
|
|
|
|
|
|
|
|
|
45 |
* @package Eepohs
|
46 |
* @subpackage Estpay
|
47 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
48 |
+
* @copyright 2012 Eepohs OÜ
|
49 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
50 |
+
* @version Release: 1.3.2
|
51 |
+
* @link http://eepohs.com/
|
52 |
*/
|
53 |
?>
|
54 |
<div class="payment_estpay_container payment_method_lhv">
|
app/design/frontend/base/default/template/eepohs/estpay/nordea.phtml
CHANGED
@@ -1,10 +1,19 @@
|
|
1 |
<?php
|
2 |
/**
|
|
|
|
|
|
|
|
|
|
|
3 |
* @package Eepohs
|
4 |
* @subpackage Estpay
|
|
|
|
|
|
|
5 |
*/
|
|
|
6 |
/**
|
7 |
-
*
|
8 |
*
|
9 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
10 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -32,14 +41,14 @@
|
|
32 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
33 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
34 |
*
|
35 |
-
* @
|
36 |
-
* @version 1.3.1
|
37 |
-
* @author Eepohs OÜ
|
38 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
39 |
-
*
|
40 |
* @package Eepohs
|
41 |
* @subpackage Estpay
|
42 |
-
* @
|
|
|
|
|
|
|
|
|
43 |
*/
|
44 |
?>
|
45 |
<div class="payment_estpay_container payment_method_nordea">
|
1 |
<?php
|
2 |
/**
|
3 |
+
* nordea.phtml
|
4 |
+
*
|
5 |
+
* PHP version 5
|
6 |
+
*
|
7 |
+
* @category Magento
|
8 |
* @package Eepohs
|
9 |
* @subpackage Estpay
|
10 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
11 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
12 |
+
* @link http://eepohs.com/
|
13 |
*/
|
14 |
+
|
15 |
/**
|
16 |
+
* Nordea payment form block
|
17 |
*
|
18 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
19 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
41 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
42 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
43 |
*
|
44 |
+
* @category Community
|
|
|
|
|
|
|
|
|
45 |
* @package Eepohs
|
46 |
* @subpackage Estpay
|
47 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
48 |
+
* @copyright 2012 Eepohs OÜ
|
49 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
50 |
+
* @version Release: 1.3.2
|
51 |
+
* @link http://eepohs.com/
|
52 |
*/
|
53 |
?>
|
54 |
<div class="payment_estpay_container payment_method_nordea">
|
app/design/frontend/base/default/template/eepohs/estpay/sampo.phtml
CHANGED
@@ -1,10 +1,19 @@
|
|
1 |
<?php
|
2 |
/**
|
|
|
|
|
|
|
|
|
|
|
3 |
* @package Eepohs
|
4 |
* @subpackage Estpay
|
|
|
|
|
|
|
5 |
*/
|
|
|
6 |
/**
|
7 |
-
*
|
8 |
*
|
9 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
10 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -32,14 +41,14 @@
|
|
32 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
33 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
34 |
*
|
35 |
-
* @
|
36 |
-
* @version 1.3.1
|
37 |
-
* @author Eepohs OÜ
|
38 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
39 |
-
*
|
40 |
* @package Eepohs
|
41 |
* @subpackage Estpay
|
42 |
-
* @
|
|
|
|
|
|
|
|
|
43 |
*/
|
44 |
?>
|
45 |
<div class="payment_estpay_container payment_method_sampo">
|
1 |
<?php
|
2 |
/**
|
3 |
+
* sampo.phtml
|
4 |
+
*
|
5 |
+
* PHP version 5
|
6 |
+
*
|
7 |
+
* @category Magento
|
8 |
* @package Eepohs
|
9 |
* @subpackage Estpay
|
10 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
11 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
12 |
+
* @link http://eepohs.com/
|
13 |
*/
|
14 |
+
|
15 |
/**
|
16 |
+
* Sampo payment form block
|
17 |
*
|
18 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
19 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
41 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
42 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
43 |
*
|
44 |
+
* @category Community
|
|
|
|
|
|
|
|
|
45 |
* @package Eepohs
|
46 |
* @subpackage Estpay
|
47 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
48 |
+
* @copyright 2012 Eepohs OÜ
|
49 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
50 |
+
* @version Release: 1.3.2
|
51 |
+
* @link http://eepohs.com/
|
52 |
*/
|
53 |
?>
|
54 |
<div class="payment_estpay_container payment_method_sampo">
|
app/design/frontend/base/default/template/eepohs/estpay/seb.phtml
CHANGED
@@ -1,10 +1,19 @@
|
|
1 |
<?php
|
2 |
/**
|
|
|
|
|
|
|
|
|
|
|
3 |
* @package Eepohs
|
4 |
* @subpackage Estpay
|
|
|
|
|
|
|
5 |
*/
|
|
|
6 |
/**
|
7 |
-
*
|
8 |
*
|
9 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
10 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -32,14 +41,14 @@
|
|
32 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
33 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
34 |
*
|
35 |
-
* @
|
36 |
-
* @version 1.3.1
|
37 |
-
* @author Eepohs OÜ
|
38 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
39 |
-
*
|
40 |
* @package Eepohs
|
41 |
* @subpackage Estpay
|
42 |
-
* @
|
|
|
|
|
|
|
|
|
43 |
*/
|
44 |
?>
|
45 |
<div class="payment_estpay_container payment_method_seb">
|
1 |
<?php
|
2 |
/**
|
3 |
+
* seb.phtml
|
4 |
+
*
|
5 |
+
* PHP version 5
|
6 |
+
*
|
7 |
+
* @category Magento
|
8 |
* @package Eepohs
|
9 |
* @subpackage Estpay
|
10 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
11 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
12 |
+
* @link http://eepohs.com/
|
13 |
*/
|
14 |
+
|
15 |
/**
|
16 |
+
* SEB payment form block
|
17 |
*
|
18 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
19 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
41 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
42 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
43 |
*
|
44 |
+
* @category Community
|
|
|
|
|
|
|
|
|
45 |
* @package Eepohs
|
46 |
* @subpackage Estpay
|
47 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
48 |
+
* @copyright 2012 Eepohs OÜ
|
49 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
50 |
+
* @version Release: 1.3.2
|
51 |
+
* @link http://eepohs.com/
|
52 |
*/
|
53 |
?>
|
54 |
<div class="payment_estpay_container payment_method_seb">
|
app/design/frontend/base/default/template/eepohs/estpay/swedbank.phtml
CHANGED
@@ -1,10 +1,19 @@
|
|
1 |
<?php
|
2 |
/**
|
|
|
|
|
|
|
|
|
|
|
3 |
* @package Eepohs
|
4 |
* @subpackage Estpay
|
|
|
|
|
|
|
5 |
*/
|
|
|
6 |
/**
|
7 |
-
*
|
8 |
*
|
9 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
10 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -32,14 +41,14 @@
|
|
32 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
33 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
34 |
*
|
35 |
-
* @
|
36 |
-
* @version 1.3.1
|
37 |
-
* @author Eepohs OÜ
|
38 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
39 |
-
*
|
40 |
* @package Eepohs
|
41 |
* @subpackage Estpay
|
42 |
-
* @
|
|
|
|
|
|
|
|
|
43 |
*/
|
44 |
?>
|
45 |
<div class="payment_estpay_container payment_method_swedbank">
|
1 |
<?php
|
2 |
/**
|
3 |
+
* swedbank.phtml
|
4 |
+
*
|
5 |
+
* PHP version 5
|
6 |
+
*
|
7 |
+
* @category Magento
|
8 |
* @package Eepohs
|
9 |
* @subpackage Estpay
|
10 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
11 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
12 |
+
* @link http://eepohs.com/
|
13 |
*/
|
14 |
+
|
15 |
/**
|
16 |
+
* Swedbank payment form block
|
17 |
*
|
18 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
19 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
41 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
42 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
43 |
*
|
44 |
+
* @category Community
|
|
|
|
|
|
|
|
|
45 |
* @package Eepohs
|
46 |
* @subpackage Estpay
|
47 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
48 |
+
* @copyright 2012 Eepohs OÜ
|
49 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
50 |
+
* @version Release: 1.3.2
|
51 |
+
* @link http://eepohs.com/
|
52 |
*/
|
53 |
?>
|
54 |
<div class="payment_estpay_container payment_method_swedbank">
|
app/etc/modules/Eepohs_Estpay.xml
CHANGED
@@ -1,12 +1,20 @@
|
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!--
|
3 |
/**
|
|
|
|
|
|
|
|
|
|
|
4 |
* @package Eepohs
|
5 |
* @subpackage Estpay
|
|
|
|
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
*
|
10 |
*
|
11 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
12 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -34,14 +42,14 @@
|
|
34 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
35 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
36 |
*
|
37 |
-
* @
|
38 |
-
* @version 1.3.1
|
39 |
-
* @author Eepohs OÜ
|
40 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
41 |
-
*
|
42 |
* @package Eepohs
|
43 |
* @subpackage Estpay
|
44 |
-
* @
|
|
|
|
|
|
|
|
|
45 |
*/
|
46 |
-->
|
47 |
<config>
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!--
|
3 |
/**
|
4 |
+
* Eepohs_Estpay.xml
|
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 |
/**
|
17 |
+
* Eepohs_Estpay extension master configuration file
|
18 |
*
|
19 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
20 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
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.2
|
52 |
+
* @link http://eepohs.com/
|
53 |
*/
|
54 |
-->
|
55 |
<config>
|
js/eepohs/estpay.js
CHANGED
@@ -1,10 +1,18 @@
|
|
1 |
/**
|
|
|
|
|
|
|
|
|
|
|
2 |
* @package Eepohs
|
3 |
* @subpackage Estpay
|
|
|
|
|
|
|
4 |
*/
|
5 |
|
6 |
/**
|
7 |
-
*
|
8 |
*
|
9 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
10 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
@@ -32,14 +40,14 @@
|
|
32 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
33 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
34 |
*
|
35 |
-
* @
|
36 |
-
* @version 1.3.1
|
37 |
-
* @author Eepohs OÜ
|
38 |
-
* @copyright 2012 Eepohs OÜ http://www.eepohs.com/
|
39 |
-
*
|
40 |
* @package Eepohs
|
41 |
* @subpackage Estpay
|
42 |
-
* @
|
|
|
|
|
|
|
|
|
43 |
*/
|
44 |
Event.observe(window, 'load', function() {
|
45 |
initEepohsPayment();
|
1 |
/**
|
2 |
+
* estpay.js
|
3 |
+
*
|
4 |
+
* PHP version 5
|
5 |
+
*
|
6 |
+
* @category Magento
|
7 |
* @package Eepohs
|
8 |
* @subpackage Estpay
|
9 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
10 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
11 |
+
* @link http://eepohs.com/
|
12 |
*/
|
13 |
|
14 |
/**
|
15 |
+
* Estpay custom javascript for backend
|
16 |
*
|
17 |
* PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY
|
18 |
* BEFORE USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING
|
40 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
41 |
* THE POSSIBILITY OF SUCH DAMAGE.
|
42 |
*
|
43 |
+
* @category Community
|
|
|
|
|
|
|
|
|
44 |
* @package Eepohs
|
45 |
* @subpackage Estpay
|
46 |
+
* @author Eepohs OÜ <info@eepohs.com>
|
47 |
+
* @copyright 2012 Eepohs OÜ
|
48 |
+
* @license http://opensource.org/licenses/bsd-license.php BSDL
|
49 |
+
* @version Release: 1.3.2
|
50 |
+
* @link http://eepohs.com/
|
51 |
*/
|
52 |
Event.observe(window, 'load', function() {
|
53 |
initEepohsPayment();
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>estpay</name>
|
4 |
-
<version>1.3.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="www.opensource.org/licenses/bsd-license.php">BSDL</license>
|
7 |
<channel>community</channel>
|
@@ -15,12 +15,11 @@ Krediidipank
|
|
15 |
LHV
|
16 |
Nordea
|
17 |
NETS (EstCard)</description>
|
18 |
-
<notes>In this release
|
19 |
-
Logs are written to separate file. It makes it easier to roll and clean logs</notes>
|
20 |
<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>
|
21 |
-
<date>2012-10-
|
22 |
-
<time>19:
|
23 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Eepohs_Estpay.xml" hash="
|
24 |
<compatible/>
|
25 |
<dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
|
26 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>estpay</name>
|
4 |
+
<version>1.3.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="www.opensource.org/licenses/bsd-license.php">BSDL</license>
|
7 |
<channel>community</channel>
|
15 |
LHV
|
16 |
Nordea
|
17 |
NETS (EstCard)</description>
|
18 |
+
<notes>In this release verification and handling of return messages is changed.</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-10</date>
|
21 |
+
<time>19:31:16</time>
|
22 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Eepohs_Estpay.xml" hash="2e0542103094aa265f41ec1e88d1a779"/></dir></target><target name="magecommunity"><dir name="Eepohs"><dir name="Estpay"><dir><dir name="Block"><file name="Abstract.php" hash="9f41d57d83d49f44d1900475b8949923"/><dir name="Adminhtml"><file name="Initjs.php" hash="359dd8660e941995d24592aafe9b0bc1"/></dir><file name="Estcard.php" hash="8ce2d78c5e2db822da9e7e6b49141514"/><file name="IPizza.php" hash="017221e3340b7ce0b1bcdb0c6b9ce4c3"/><file name="Info.php" hash="c457a134b3ad934de2262439c11e4644"/><file name="Krediidipank.php" hash="46f738017a3c9083b97f21f33d9592ac"/><file name="Lhv.php" hash="9aeff645f7fb40948013814c17b8f693"/><file name="Nordea.php" hash="6f8b0ec68c10ea3303b98bd96748eb70"/><file name="Sampo.php" hash="68bb3878453eaccb875b423674bfd14d"/><file name="Seb.php" hash="b4ce48a160037a0d09a11ad90d9179a2"/><file name="Swedbank.php" hash="2a3e21f0e6ac3dcef983f7b2e8f025c7"/></dir><dir name="Controller"><file name="Abstract.php" hash="cfac8216c65d45aafa6ec1857621f780"/></dir><dir name="Helper"><file name="Data.php" hash="975af18b73be356bc448572912e1fa11"/></dir><dir name="Model"><file name="Abstract.php" hash="a522efa228b2b0a6d27f4df9dfc87183"/><file name="Estcard.php" hash="1a3768c566ea3944477fc4b036e4c38b"/><file name="IPizza.php" hash="110a34bafa44ddc1d822053d69ba6bf2"/><file name="Krediidipank.php" hash="6bf1a747b15b492c0903a8af9763703f"/><file name="Lhv.php" hash="c96bcc1e40a9f18fef7e74a68ffe626f"/><file name="Nordea.php" hash="1db0773e81085b48eda6b11c5bb2b376"/><file name="Sampo.php" hash="ee9fae689ccf90e69587b3c3c416cd66"/><file name="Seb.php" hash="8a387f88e7bac6e4636ed4f0c1abbf4a"/><file name="Swedbank.php" hash="9948b8261cc944c91d7883b381dcc275"/></dir><dir name="controllers"><file name="EstcardController.php" hash="546f34b8d170fc4dfc3032706d3a17bf"/><file name="KrediidipankController.php" hash="1bcfe934146ce1bbfbde7fb3f1e0cc94"/><file name="LhvController.php" hash="de1ee7b45d37bb55f9d0281fa53b16bd"/><file name="NordeaController.php" hash="10573a73763b9e9380379dd04234f52d"/><file name="SampoController.php" hash="002e5fca621e2c309d5c946f72657bd9"/><file name="SebController.php" hash="3213e3d5e3056c6fabf30119c15c8699"/><file name="SwedbankController.php" hash="ca39e59c568536311fee0f6b57872424"/></dir><dir name="etc"><file name="config.xml" hash="ecced72f55c6485ed7e789396d86766c"/><file name="system.xml" hash="abb50cad19a053ff80a9acc6c021a364"/></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="9b10b5ecf7e4d2aa513747c1b05fe6db"/></dir></dir><dir name="template"><dir name="eepohs"><dir name="estpay"><file name="estcard.phtml" hash="ac4a88cd24b1bcbf02a388ab2db7da2a"/><file name="info.phtml" hash="f93d622262af8136f60f19337b8a40d3"/><file name="krediidipank.phtml" hash="0cfd7d7c8f4e26da014fb2e08d3adcdc"/><file name="lhv.phtml" hash="58d8ee42375c93418ecf6d886af24b78"/><file name="nordea.phtml" hash="5652c75a68ba18cc6eff55a583067524"/><file name="sampo.phtml" hash="47531154279f7e931818ca15c8ea8aec"/><file name="seb.phtml" hash="b2deed61cde84a9533f752804ec96cb3"/><file name="swedbank.phtml" hash="7493cebec537b8f4ce106d1a35a92b58"/></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="7ec6adc8a84f0d8bb87bfb0439e95a90"/></dir></dir><dir name="template"><dir name="eepohs"><dir name="estpay"><file name="initjs.phtml" hash="a2094b56b7cd47a747270066f32cc8ac"/></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="3c25b1cd335b9eb8ca52b1df34218f29"/></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>
|