Version Notes
First stable release
Download this release
Release Info
Developer | Magento Core Team |
Extension | Mage_Strikeiron |
Version | 1.0.18800 |
Comparing to | |
See all releases |
Version 1.0.18800
- app/code/core/Mage/Strikeiron/Helper/Data.php +32 -0
- app/code/core/Mage/Strikeiron/Model/Currency/Import/Strikeiron.php +97 -0
- app/code/core/Mage/Strikeiron/Model/Service/Base.php +49 -0
- app/code/core/Mage/Strikeiron/Model/Service/EmailVerification.php +38 -0
- app/code/core/Mage/Strikeiron/Model/Service/ForeignExchangeRates.php +38 -0
- app/code/core/Mage/Strikeiron/Model/Source/UnderterminedEmailAction.php +35 -0
- app/code/core/Mage/Strikeiron/Model/Strikeiron.php +202 -0
- app/code/core/Mage/Strikeiron/etc/config.xml +97 -0
- app/code/core/Mage/Strikeiron/etc/system.xml +156 -0
- app/etc/modules/Mage_Strikeiron.xml +29 -0
- package.xml +18 -0
app/code/core/Mage/Strikeiron/Helper/Data.php
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Mage
|
16 |
+
* @package Mage_Sitemap
|
17 |
+
* @copyright Copyright (c) 2004-2007 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
*/
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Sitemap data helper
|
23 |
+
*
|
24 |
+
* @category Mage
|
25 |
+
* @package Mage_Strikeiron
|
26 |
+
*/
|
27 |
+
class Mage_Strikeiron_Helper_Data extends Mage_Core_Helper_Abstract
|
28 |
+
{
|
29 |
+
|
30 |
+
|
31 |
+
|
32 |
+
}
|
app/code/core/Mage/Strikeiron/Model/Currency/Import/Strikeiron.php
ADDED
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Mage
|
16 |
+
* @package Mage_Directory
|
17 |
+
* @copyright Copyright (c) 2004-2007 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
*/
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Currency rate import model (From www.webservicex.net)
|
23 |
+
*
|
24 |
+
* @category Mage
|
25 |
+
* @package Mage_Directory
|
26 |
+
*/
|
27 |
+
class Mage_Strikeiron_Model_Currency_Import_Strikeiron extends Mage_Directory_Model_Currency_Import_Abstract
|
28 |
+
{
|
29 |
+
protected $_messages = array();
|
30 |
+
|
31 |
+
public function fetchRates()
|
32 |
+
{
|
33 |
+
$data = array();
|
34 |
+
$currencies = $this->_getCurrencyCodes();
|
35 |
+
$defaultCurrencies = $this->_getDefaultCurrencyCodes();
|
36 |
+
try {
|
37 |
+
$strikeironModel = Mage::getModel('strikeiron/strikeiron');
|
38 |
+
foreach ($defaultCurrencies as $currencyFrom) {
|
39 |
+
$currenciesToArr = array();
|
40 |
+
if (!isset($data[$currencyFrom])) {
|
41 |
+
$data[$currencyFrom] = array();
|
42 |
+
}
|
43 |
+
foreach ($currencies as $currencyTo) {
|
44 |
+
if ($currencyFrom == $currencyTo) {
|
45 |
+
$data[$currencyFrom][$currencyTo] = $this->_numberFormat(1);
|
46 |
+
}
|
47 |
+
else {
|
48 |
+
$currenciesToArr[] = $currencyTo;
|
49 |
+
}
|
50 |
+
}
|
51 |
+
if ($currenciesToArr) {
|
52 |
+
$result = $strikeironModel->fetchExchangeRate($currencyFrom , $currenciesToArr);
|
53 |
+
if ($result) {
|
54 |
+
$data = array_merge_recursive($result, $data);
|
55 |
+
$convertedCurrencies = array();
|
56 |
+
foreach ($result[$currencyFrom] as $k => $r) {
|
57 |
+
$convertedCurrencies[] = $k;
|
58 |
+
}
|
59 |
+
$currenciesNotConverted = array_diff($currenciesToArr, $convertedCurrencies);
|
60 |
+
if ($currenciesNotConverted) {
|
61 |
+
foreach ($currenciesNotConverted as $_currencyNconvert) {
|
62 |
+
$this->_messages[] = Mage::helper('strikeiron')->__('%s is not supported currency.', $_currencyNconvert);
|
63 |
+
$data[$currencyFrom][$_currencyNconvert] = $this->_numberFormat(null);
|
64 |
+
}
|
65 |
+
}
|
66 |
+
} else {
|
67 |
+
$this->_messages[] = Mage::helper('strikeiron')->__('Cannot retreive rate from strikeirion.');
|
68 |
+
}
|
69 |
+
}
|
70 |
+
ksort($data[$currencyFrom]);
|
71 |
+
}
|
72 |
+
} catch (Exception $e) {
|
73 |
+
$this->_messages[] = $e->getMessage();
|
74 |
+
}
|
75 |
+
return $data;
|
76 |
+
}
|
77 |
+
|
78 |
+
protected function _convert($currencyFrom, $currencyTo, $retry=0)
|
79 |
+
{
|
80 |
+
|
81 |
+
try {
|
82 |
+
$strikeironModel = Mage::getModel('strikeiron/strikeiron');
|
83 |
+
$result = $strikeironModel->fetchExchangeRate($currencyFrom , array($currencyTo));
|
84 |
+
return $result;
|
85 |
+
}
|
86 |
+
catch (Exception $e) {
|
87 |
+
if( $retry == 0 ) {
|
88 |
+
$this->_convert($currencyFrom, $currencyTo, 1);
|
89 |
+
} else {
|
90 |
+
$this->_messages[] = Mage::helper('strikeiron')->__('Cannot retrieve rate from %s to %s', $currencyFrom, $currencyTo);
|
91 |
+
}
|
92 |
+
}
|
93 |
+
|
94 |
+
}
|
95 |
+
|
96 |
+
|
97 |
+
}
|
app/code/core/Mage/Strikeiron/Model/Service/Base.php
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Mage
|
16 |
+
* @package Mage_Sitemap
|
17 |
+
* @copyright Copyright (c) 2004-2007 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
*/
|
20 |
+
|
21 |
+
/**
|
22 |
+
*
|
23 |
+
* @category Mage
|
24 |
+
* @package Mage_StrikeIron
|
25 |
+
*/
|
26 |
+
require_once 'Zend/Service/StrikeIron/Base.php';
|
27 |
+
|
28 |
+
class Mage_Strikeiron_Model_Service_Base extends Zend_Service_StrikeIron_Base
|
29 |
+
{
|
30 |
+
public function __construct($options = array())
|
31 |
+
{
|
32 |
+
$this->_options['wsdl'] = $this->_wsdlDecode();
|
33 |
+
parent::__construct($options);
|
34 |
+
}
|
35 |
+
|
36 |
+
public function _wsdlDecode()
|
37 |
+
{
|
38 |
+
return base64_decode($this->_options['wsdl']);
|
39 |
+
}
|
40 |
+
|
41 |
+
public function getOptionData($key)
|
42 |
+
{
|
43 |
+
if( isset($this->_options[$key]) ){
|
44 |
+
return $this->_options[$key];
|
45 |
+
} else {
|
46 |
+
return null;
|
47 |
+
}
|
48 |
+
}
|
49 |
+
}
|
app/code/core/Mage/Strikeiron/Model/Service/EmailVerification.php
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Mage
|
16 |
+
* @package Mage_Sitemap
|
17 |
+
* @copyright Copyright (c) 2004-2007 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
*/
|
20 |
+
|
21 |
+
/**
|
22 |
+
*
|
23 |
+
* @category Mage
|
24 |
+
* @package Mage_StrikeIron
|
25 |
+
*/
|
26 |
+
class Mage_Strikeiron_Model_Service_EmailVerification extends Mage_Strikeiron_Model_Service_Base
|
27 |
+
{
|
28 |
+
/**
|
29 |
+
* Configuration options
|
30 |
+
* @param array
|
31 |
+
*/
|
32 |
+
protected $_options = array('username' => null,
|
33 |
+
'password' => null,
|
34 |
+
'client' => null,
|
35 |
+
'options' => null,
|
36 |
+
'headers' => null,
|
37 |
+
'wsdl' => 'aHR0cDovL3dzLnN0cmlrZWlyb24uY29tL3Zhcmllbi5TdHJpa2VJcm9uL2VtYWlsdmVyaWZ5XzNfMD9XU0RM');
|
38 |
+
}
|
app/code/core/Mage/Strikeiron/Model/Service/ForeignExchangeRates.php
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Mage
|
16 |
+
* @package Mage_Sitemap
|
17 |
+
* @copyright Copyright (c) 2004-2007 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
*/
|
20 |
+
|
21 |
+
/**
|
22 |
+
*
|
23 |
+
* @category Mage
|
24 |
+
* @package Mage_StrikeIron
|
25 |
+
*/
|
26 |
+
class Mage_Strikeiron_Model_Service_ForeignExchangeRates extends Mage_Strikeiron_Model_Service_Base
|
27 |
+
{
|
28 |
+
/**
|
29 |
+
* Configuration options
|
30 |
+
* @param array
|
31 |
+
*/
|
32 |
+
protected $_options = array('username' => null,
|
33 |
+
'password' => null,
|
34 |
+
'client' => null,
|
35 |
+
'options' => null,
|
36 |
+
'headers' => null,
|
37 |
+
'wsdl' => 'aHR0cDovL3dzLnN0cmlrZWlyb24uY29tL3Zhcmllbi5TdHJpa2VJcm9uL0ZvcmVpZ25FeGNoYW5nZVJhdGU/V1NETA==');
|
38 |
+
}
|
app/code/core/Mage/Strikeiron/Model/Source/UnderterminedEmailAction.php
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Mage
|
16 |
+
* @package Mage_Strikeiron
|
17 |
+
* @copyright Copyright (c) 2004-2007 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
*/
|
20 |
+
|
21 |
+
/**
|
22 |
+
*
|
23 |
+
*
|
24 |
+
*/
|
25 |
+
class Mage_Strikeiron_Model_Source_UnderterminedEmailAction
|
26 |
+
{
|
27 |
+
public function toOptionArray()
|
28 |
+
{
|
29 |
+
return array(
|
30 |
+
array('value' => Mage_Strikeiron_Model_Strikeiron::EMAIL_UNDETERMINED_ACCEPT, 'label' => Mage::helper('strikeiron')->__('Accept')),
|
31 |
+
array('value' => Mage_Strikeiron_Model_Strikeiron::EMAIL_UNDETERMINED_REJECT, 'label' => Mage::helper('strikeiron')->__('Reject')),
|
32 |
+
array('value' => Mage_Strikeiron_Model_Strikeiron::EMAIL_UNDETERMINED_CONFIRM, 'label' => Mage::helper('strikeiron')->__('Pop up warning and accept')),
|
33 |
+
);
|
34 |
+
}
|
35 |
+
}
|
app/code/core/Mage/Strikeiron/Model/Strikeiron.php
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Mage
|
16 |
+
* @package Mage_Strikeiron
|
17 |
+
* @copyright Copyright (c) 2004-2007 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
*/
|
20 |
+
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Sitemap model
|
24 |
+
*
|
25 |
+
* @category Mage
|
26 |
+
* @package Mage_Strikeiron
|
27 |
+
*/
|
28 |
+
class Mage_Strikeiron_Model_Strikeiron extends Mage_Core_Model_Abstract
|
29 |
+
{
|
30 |
+
const EMAIL_UNDETERMINED_ACCEPT = 'Accept';
|
31 |
+
const EMAIL_UNDETERMINED_REJECT = 'Reject';
|
32 |
+
const EMAIL_UNDETERMINED_CONFIRM = 'Confirm';
|
33 |
+
|
34 |
+
public function getForeignExchangeRatesApi()
|
35 |
+
{
|
36 |
+
return Mage::getSingleton('strikeiron/service_foreignExchangeRates', $this->getConfiguration());
|
37 |
+
}
|
38 |
+
|
39 |
+
public function getEmailVerificationApi()
|
40 |
+
{
|
41 |
+
return Mage::getSingleton('strikeiron/service_emailVerification', $this->getConfiguration());
|
42 |
+
}
|
43 |
+
|
44 |
+
protected function getConfiguration()
|
45 |
+
{
|
46 |
+
return array('username'=> $this->getConfigData('config', 'user') , 'password'=> $this->getConfigData('config', 'password'));
|
47 |
+
}
|
48 |
+
|
49 |
+
public function getConfigData($code, $field)
|
50 |
+
{
|
51 |
+
$path = 'strikeiron/'.$code.'/'.$field;
|
52 |
+
return Mage::getStoreConfig($path);
|
53 |
+
}
|
54 |
+
|
55 |
+
/*
|
56 |
+
verify email address is valid or not
|
57 |
+
wsdl = http://ws.strikeiron.com/varien.StrikeIron/emailverify_3_0?WSDL
|
58 |
+
*/
|
59 |
+
public function emailVerify($email)
|
60 |
+
{
|
61 |
+
if ($email && $this->getConfigData('email_verification', 'active')) {
|
62 |
+
$_session = Mage::getSingleton('customer/session');
|
63 |
+
/*
|
64 |
+
* following flag will set if the email is undetermined for the first time
|
65 |
+
* for second time, we just need to return true
|
66 |
+
*/
|
67 |
+
if ($_session->getStrikeironUndertermined()==$email) {
|
68 |
+
$_session->unsStrikeironUndertermined();
|
69 |
+
return true;
|
70 |
+
}
|
71 |
+
|
72 |
+
$emailApi = $this->getEmailVerificationApi();
|
73 |
+
|
74 |
+
$checkAllServer = $this->getConfigData('email_verification', 'check_allservers');
|
75 |
+
$emailArr = array(
|
76 |
+
'email' => $email,
|
77 |
+
'checkAllServers' => ($checkAllServer ? 'True' : 'False')
|
78 |
+
);
|
79 |
+
try {
|
80 |
+
$result = $emailApi->validateEmail($emailArr);
|
81 |
+
if ($result) {
|
82 |
+
switch($result->IsValid){
|
83 |
+
case 'INVALID':
|
84 |
+
Mage::throwException(Mage::helper('strikeiron')->__('Invalid email address'));
|
85 |
+
break;
|
86 |
+
case 'UNDETERMINED':
|
87 |
+
switch($this->getConfigData('email_verification', 'undetermined_action')){
|
88 |
+
case self:: EMAIL_UNDETERMINED_REJECT:
|
89 |
+
Mage::throwException(Mage::helper('strikeiron')->__('Invalid email address'));
|
90 |
+
break;
|
91 |
+
case self::EMAIL_UNDETERMINED_CONFIRM:
|
92 |
+
$_session->setStrikeironUndertermined($email);
|
93 |
+
Mage::throwException(Mage::helper('strikeiron')->__('Email address cannot be verified. Please check again and make sure your email address entered correctly.'));
|
94 |
+
break;
|
95 |
+
}
|
96 |
+
break;
|
97 |
+
}
|
98 |
+
} else {
|
99 |
+
Mage::throwException(Mage::helper('strikeiron')->__('There is no response back from Strikeiron server'));
|
100 |
+
}
|
101 |
+
} catch (Zend_Service_StrikeIron_Exception $e) {
|
102 |
+
/*
|
103 |
+
* when there is exception from Zend_Service_StrikeIron_Exception
|
104 |
+
* we will send email to email recipient for exception
|
105 |
+
*/
|
106 |
+
/* @var $mailTamplate Mage_Core_Model_Email_Template */
|
107 |
+
$receipient = $this->getConfigData('email_verification', 'error_email');
|
108 |
+
if ($receipient) {
|
109 |
+
$mailTamplate = Mage::getModel('core/email_template');
|
110 |
+
$mailTamplate->setDesignConfig(
|
111 |
+
array(
|
112 |
+
'area' => 'frontend',
|
113 |
+
)
|
114 |
+
)
|
115 |
+
->sendTransactional(
|
116 |
+
$this->getConfigData('email_verification', 'error_email_template'),
|
117 |
+
$this->getConfigData('email_verification', 'error_email_identity'),
|
118 |
+
$receipient,
|
119 |
+
null,
|
120 |
+
array(
|
121 |
+
'email' => $email,
|
122 |
+
'warnings' => $e->getMessage(),
|
123 |
+
)
|
124 |
+
);
|
125 |
+
}
|
126 |
+
}
|
127 |
+
}
|
128 |
+
return true;
|
129 |
+
}
|
130 |
+
|
131 |
+
|
132 |
+
public function _getAllSupportedCurrencies($exchangeApi)
|
133 |
+
{
|
134 |
+
$result = $exchangeApi->GetSupportedCurrencies();
|
135 |
+
$data = array();
|
136 |
+
if ($result && $result->ServiceStatus && $result->ServiceStatus->StatusNbr == 210) {
|
137 |
+
$listings = $result->ServiceResult->Listings;
|
138 |
+
if ($listings && $listings->CurrencyListing) {
|
139 |
+
foreach($listings->CurrencyListing as $listing){
|
140 |
+
$data[] = $listing->Symbol;
|
141 |
+
}
|
142 |
+
}
|
143 |
+
}
|
144 |
+
return $data;
|
145 |
+
}
|
146 |
+
|
147 |
+
/*
|
148 |
+
retrieving foreign exchange rate for the currency
|
149 |
+
wsdl = http://ws.strikeiron.com/varien.StrikeIron/ForeignExchangeRate?WSDL
|
150 |
+
*/
|
151 |
+
public function fetchExchangeRate ($defaultCurrency, $currencies=array())
|
152 |
+
{
|
153 |
+
if(!$this->getConfigData('currency', 'foreigh_xrate')){
|
154 |
+
Mage::throwException(Mage::helper('strikeiron')->__('Strikeiron foreign exchange rate is disabled'));
|
155 |
+
}
|
156 |
+
|
157 |
+
$data = array();
|
158 |
+
$exchangeApi = $this->getForeignExchangeRatesApi();
|
159 |
+
$supportedCurrencies = $this->_getAllSupportedCurrencies($exchangeApi);
|
160 |
+
if($supportedCurrencies) {
|
161 |
+
$availableCurrencies = array_intersect($currencies, $supportedCurrencies);
|
162 |
+
if($availableCurrencies && in_array($defaultCurrency,$supportedCurrencies)){
|
163 |
+
$currenciesStr = implode(', ' , $availableCurrencies);
|
164 |
+
$reqArr = array(
|
165 |
+
'CommaSeparatedListOfCurrenciesFrom' => $currenciesStr,
|
166 |
+
'SingleCurrencyTo' => $defaultCurrency
|
167 |
+
);
|
168 |
+
$result = $exchangeApi->GetLatestRates($reqArr);
|
169 |
+
if ($result) {
|
170 |
+
/*
|
171 |
+
212 = Currency rate data Found
|
172 |
+
*/
|
173 |
+
if ($result->ServiceStatus && $result->ServiceStatus->StatusNbr == 212) {
|
174 |
+
$listings = $result->ServiceResult->Listings;
|
175 |
+
if($listings && $listings->ExchangeRateListing) {
|
176 |
+
foreach ($listings->ExchangeRateListing as $listing) {
|
177 |
+
$data[$listing->PerCurrency][$listing->Currency] = $listing->Value;
|
178 |
+
}
|
179 |
+
}
|
180 |
+
} else {
|
181 |
+
Mage::throwException($result->ServiceStatus->StatusDescription);
|
182 |
+
}
|
183 |
+
} else {
|
184 |
+
Mage::throwException(Mage::helper('strikeiron')->__('There is no response back from Strikeiron server'));
|
185 |
+
}
|
186 |
+
}
|
187 |
+
}
|
188 |
+
return $data;
|
189 |
+
}
|
190 |
+
|
191 |
+
public function customerSaveBeforeObserver($observer)
|
192 |
+
{
|
193 |
+
$customer = $observer->getEvent()->getCustomer();
|
194 |
+
$isAdmin = Mage::getDesign()->getArea()==='adminhtml';
|
195 |
+
$email = $customer->getEmail();
|
196 |
+
$host = Mage::app()->getStore()->getConfig(Mage_Customer_Model_Customer::XML_PATH_DEFAULT_EMAIL_DOMAIN);
|
197 |
+
$fakeEmail = $customer->getIncrementId().'@'. $host;
|
198 |
+
if ($email && $email != $fakeEmail && $customer->dataHasChangedFor('email') && (!$isAdmin || ($isAdmin && $this->getConfigData('email_verification', 'check_admin')))) {
|
199 |
+
$this->emailVerify($email);
|
200 |
+
}
|
201 |
+
}
|
202 |
+
}
|
app/code/core/Mage/Strikeiron/etc/config.xml
ADDED
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/osl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* @category Mage
|
17 |
+
* @package Mage_Strikeiron
|
18 |
+
* @copyright Copyright (c) 2004-2007 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
+
*/
|
21 |
+
-->
|
22 |
+
<config>
|
23 |
+
<modules>
|
24 |
+
<Mage_Strikeiron>
|
25 |
+
<version>0.9.0</version>
|
26 |
+
</Mage_Strikeiron>
|
27 |
+
</modules>
|
28 |
+
<global>
|
29 |
+
<currency>
|
30 |
+
<import>
|
31 |
+
<services>
|
32 |
+
<strikeiron>
|
33 |
+
<name>StrikeIron</name>
|
34 |
+
<model>strikeiron/currency_import_strikeiron</model>
|
35 |
+
</strikeiron>
|
36 |
+
</services>
|
37 |
+
</import>
|
38 |
+
</currency>
|
39 |
+
<models>
|
40 |
+
<strikeiron>
|
41 |
+
<class>Mage_Strikeiron_Model</class>
|
42 |
+
</strikeiron>
|
43 |
+
</models>
|
44 |
+
<resources>
|
45 |
+
<strikeiron_setup>
|
46 |
+
<setup>
|
47 |
+
<module>Mage_Strikeiron</module>
|
48 |
+
</setup>
|
49 |
+
<connection>
|
50 |
+
<use>core_setup</use>
|
51 |
+
</connection>
|
52 |
+
</strikeiron_setup>
|
53 |
+
<strikeiron_write>
|
54 |
+
<connection>
|
55 |
+
<use>core_write</use>
|
56 |
+
</connection>
|
57 |
+
</strikeiron_write>
|
58 |
+
<strikeiron_read>
|
59 |
+
<connection>
|
60 |
+
<use>core_read</use>
|
61 |
+
</connection>
|
62 |
+
</strikeiron_read>
|
63 |
+
</resources>
|
64 |
+
<events>
|
65 |
+
<customer_save_before>
|
66 |
+
<observers>
|
67 |
+
<strikeiron_email_validation>
|
68 |
+
<type>singleton</type>
|
69 |
+
<class>strikeiron/strikeiron</class>
|
70 |
+
<method>customerSaveBeforeObserver</method>
|
71 |
+
</strikeiron_email_validation>
|
72 |
+
</observers>
|
73 |
+
</customer_save_before>
|
74 |
+
</events>
|
75 |
+
<template>
|
76 |
+
<email>
|
77 |
+
<strikeiron_customer_error_email_template translate="label" module="directory">
|
78 |
+
<label>Strikeiron Email Update Warnings</label>
|
79 |
+
<file>strikeiron_email_warning.html</file>
|
80 |
+
<type>text</type>
|
81 |
+
</strikeiron_customer_error_email_template>
|
82 |
+
</email>
|
83 |
+
</template>
|
84 |
+
</global>
|
85 |
+
<default>
|
86 |
+
<strikeiron>
|
87 |
+
<config>
|
88 |
+
<user backend_model="adminhtml/system_config_backend_encrypted"/>
|
89 |
+
<password backend_model="adminhtml/system_config_backend_encrypted"/>
|
90 |
+
</config>
|
91 |
+
<customer>
|
92 |
+
<undetermined_action>accept</undetermined_action>
|
93 |
+
<error_email_template>strikeiron_customer_error_email_template</error_email_template>
|
94 |
+
</customer>
|
95 |
+
</strikeiron>
|
96 |
+
</default>
|
97 |
+
</config>
|
app/code/core/Mage/Strikeiron/etc/system.xml
ADDED
@@ -0,0 +1,156 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/osl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* @category Mage
|
17 |
+
* @package Mage_Sitemap
|
18 |
+
* @copyright Copyright (c) 2004-2007 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
+
*/
|
21 |
+
-->
|
22 |
+
<config>
|
23 |
+
<sections>
|
24 |
+
<strikeiron translate="label" module="sitemap">
|
25 |
+
<label>Strikeiron</label>
|
26 |
+
<tab>service</tab>
|
27 |
+
<frontend_type>text</frontend_type>
|
28 |
+
<sort_order>100</sort_order>
|
29 |
+
<show_in_default>1</show_in_default>
|
30 |
+
<show_in_website>1</show_in_website>
|
31 |
+
<show_in_store>1</show_in_store>
|
32 |
+
<groups>
|
33 |
+
<config translate="label">
|
34 |
+
<label>Strikeiron Config</label>
|
35 |
+
<frontend_type>text</frontend_type>
|
36 |
+
<sort_order>1</sort_order>
|
37 |
+
<show_in_default>1</show_in_default>
|
38 |
+
<show_in_website>1</show_in_website>
|
39 |
+
<show_in_store>1</show_in_store>
|
40 |
+
<fields>
|
41 |
+
<user translate="label">
|
42 |
+
<label>User ID</label>
|
43 |
+
<frontend_type>text</frontend_type>
|
44 |
+
<backend_model>adminhtml/system_config_backend_encrypted</backend_model>
|
45 |
+
<sort_order>1</sort_order>
|
46 |
+
<show_in_default>1</show_in_default>
|
47 |
+
<show_in_website>1</show_in_website>
|
48 |
+
<show_in_store>1</show_in_store>
|
49 |
+
</user>
|
50 |
+
<password translate="label">
|
51 |
+
<label>Password</label>
|
52 |
+
<frontend_type>password</frontend_type>
|
53 |
+
<backend_model>adminhtml/system_config_backend_encrypted</backend_model>
|
54 |
+
<sort_order>2</sort_order>
|
55 |
+
<show_in_default>1</show_in_default>
|
56 |
+
<show_in_website>1</show_in_website>
|
57 |
+
<show_in_store>0</show_in_store>
|
58 |
+
</password>
|
59 |
+
</fields>
|
60 |
+
</config>
|
61 |
+
<email_verification translate="label">
|
62 |
+
<label>Email Verification</label>
|
63 |
+
<frontend_type>text</frontend_type>
|
64 |
+
<sort_order>1</sort_order>
|
65 |
+
<show_in_default>1</show_in_default>
|
66 |
+
<show_in_website>1</show_in_website>
|
67 |
+
<show_in_store>1</show_in_store>
|
68 |
+
<fields>
|
69 |
+
<active translate="label">
|
70 |
+
<label>Enable email verification</label>
|
71 |
+
<frontend_type>select</frontend_type>
|
72 |
+
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
73 |
+
<sort_order>1</sort_order>
|
74 |
+
<show_in_default>1</show_in_default>
|
75 |
+
<show_in_website>1</show_in_website>
|
76 |
+
<show_in_store>1</show_in_store>
|
77 |
+
</active>
|
78 |
+
<check_admin translate="label">
|
79 |
+
<label>Verify email in admin</label>
|
80 |
+
<frontend_type>select</frontend_type>
|
81 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
82 |
+
<sort_order>2</sort_order>
|
83 |
+
<show_in_default>1</show_in_default>
|
84 |
+
<show_in_website>1</show_in_website>
|
85 |
+
<show_in_store>1</show_in_store>
|
86 |
+
</check_admin>
|
87 |
+
<check_allservers translate="label">
|
88 |
+
<label>Check all email servers</label>
|
89 |
+
<frontend_type>select</frontend_type>
|
90 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
91 |
+
<sort_order>3</sort_order>
|
92 |
+
<show_in_default>1</show_in_default>
|
93 |
+
<show_in_website>1</show_in_website>
|
94 |
+
<show_in_store>1</show_in_store>
|
95 |
+
</check_allservers>
|
96 |
+
<undetermined_action translate="label">
|
97 |
+
<label>Undetermined email action</label>
|
98 |
+
<frontend_type>select</frontend_type>
|
99 |
+
<source_model>strikeiron/source_underterminedEmailAction</source_model>
|
100 |
+
<sort_order>4</sort_order>
|
101 |
+
<show_in_default>1</show_in_default>
|
102 |
+
<show_in_website>1</show_in_website>
|
103 |
+
<show_in_store>1</show_in_store>
|
104 |
+
</undetermined_action>
|
105 |
+
<error_email translate="label">
|
106 |
+
<label>Error Email Recipient</label>
|
107 |
+
<frontend_type>text</frontend_type>
|
108 |
+
<sort_order>5</sort_order>
|
109 |
+
<show_in_default>1</show_in_default>
|
110 |
+
<show_in_website>1</show_in_website>
|
111 |
+
<show_in_store>1</show_in_store>
|
112 |
+
</error_email>
|
113 |
+
<error_email_identity translate="label">
|
114 |
+
<label>Error Email Sender</label>
|
115 |
+
<frontend_type>select</frontend_type>
|
116 |
+
<source_model>adminhtml/system_config_source_email_identity</source_model>
|
117 |
+
<sort_order>6</sort_order>
|
118 |
+
<show_in_default>1</show_in_default>
|
119 |
+
<show_in_website>1</show_in_website>
|
120 |
+
<show_in_store>0</show_in_store>
|
121 |
+
</error_email_identity>
|
122 |
+
<error_email_template translate="label">
|
123 |
+
<label>Error Email Template</label>
|
124 |
+
<frontend_type>select</frontend_type>
|
125 |
+
<source_model>adminhtml/system_config_source_email_template</source_model>
|
126 |
+
<sort_order>7</sort_order>
|
127 |
+
<show_in_default>1</show_in_default>
|
128 |
+
<show_in_website>1</show_in_website>
|
129 |
+
<show_in_store>0</show_in_store>
|
130 |
+
</error_email_template>
|
131 |
+
</fields>
|
132 |
+
</email_verification>
|
133 |
+
<currency translate="label">
|
134 |
+
<label>Foreign Exchange Rates</label>
|
135 |
+
<frontend_type>text</frontend_type>
|
136 |
+
<sort_order>2</sort_order>
|
137 |
+
<show_in_default>1</show_in_default>
|
138 |
+
<show_in_website>1</show_in_website>
|
139 |
+
<show_in_store>1</show_in_store>
|
140 |
+
<fields>
|
141 |
+
<foreigh_xrate translate="label">
|
142 |
+
<label>Enable foreign exchange rate</label>
|
143 |
+
<frontend_type>select</frontend_type>
|
144 |
+
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
145 |
+
<sort_order>10</sort_order>
|
146 |
+
<show_in_default>1</show_in_default>
|
147 |
+
<show_in_website>1</show_in_website>
|
148 |
+
<show_in_store>1</show_in_store>
|
149 |
+
</foreigh_xrate>
|
150 |
+
</fields>
|
151 |
+
</currency>
|
152 |
+
</groups>
|
153 |
+
|
154 |
+
</strikeiron>
|
155 |
+
</sections>
|
156 |
+
</config>
|
app/etc/modules/Mage_Strikeiron.xml
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/osl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* @category Mage
|
17 |
+
* @package Mage_Core
|
18 |
+
* @copyright Copyright (c) 2004-2007 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
+
*/
|
21 |
+
-->
|
22 |
+
<config>
|
23 |
+
<modules>
|
24 |
+
<Mage_Strikeiron>
|
25 |
+
<active>true</active>
|
26 |
+
<codePool>core</codePool>
|
27 |
+
</Mage_Strikeiron>
|
28 |
+
</modules>
|
29 |
+
</config>
|
package.xml
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<package>
|
3 |
+
<name>Mage_Strikeiron</name>
|
4 |
+
<version>1.0.18800</version>
|
5 |
+
<stability>stable</stability>
|
6 |
+
<license>OSL v3.0</license>
|
7 |
+
<channel>community</channel>
|
8 |
+
<extends/>
|
9 |
+
<summary>Strikeiron Services</summary>
|
10 |
+
<description>Strikeiron Services</description>
|
11 |
+
<notes>First stable release</notes>
|
12 |
+
<authors><author><name>Moshe</name><user>auto-converted</user><email>moshe@varien.com</email></author></authors>
|
13 |
+
<date>2008-03-31</date>
|
14 |
+
<time>13:07:59</time>
|
15 |
+
<contents><target name="magecore"><dir name="Mage"><dir name="Strikeiron"><dir name="etc"><file name="config.xml" hash="0d68fbb8ac21c76ae60fc7f1c967c5af"/><file name="system.xml" hash="6cced91b6720b17325a1e4cf6df2649f"/></dir><dir name="Helper"><file name="Data.php" hash="cf8c6d5a647f4aa54e0bbc646d89be04"/></dir><dir name="Model"><dir name="Currency"><dir name="Import"><file name="Strikeiron.php" hash="097de9ea72fbd0ac618e087762b4bc7b"/></dir></dir><dir name="Service"><file name="Base.php" hash="442e795bc6b34547c5f3977020b37768"/><file name="EmailVerification.php" hash="3a95350fd6cff437b9d1e0faacf0de25"/><file name="ForeignExchangeRates.php" hash="6eeb5c1c6a69d6eb4862f6036401c09e"/></dir><dir name="Source"><file name="UnderterminedEmailAction.php" hash="318e60e0936d68a0128c5e93630e9725"/></dir><file name="Strikeiron.php" hash="6e32f850c90c92fb984777d68793e9bd"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mage_Strikeiron.xml" hash="c240a1df9e109c685d9ef011f1691bcc"/></dir></target></contents>
|
16 |
+
<compatible/>
|
17 |
+
<dependencies><required><package><name>Mage_Core_Adminhtml</name><channel>community</channel><min>1.0.18800</min><max></max></package></required></dependencies>
|
18 |
+
</package>
|