Version Notes
Enjoy it ;)
Download this release
Release Info
| Developer | Riccardo Tempesta |
| Extension | IG_PostePay |
| Version | 1.0.4 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.3 to 1.0.4
- app/code/community/IG/PostePay/Block/Form.php +26 -2
- app/code/community/IG/PostePay/Block/Info.php +25 -0
- app/code/community/IG/PostePay/CHANGELOG.txt +2 -0
- app/code/community/IG/PostePay/COMPATIBILITY.txt +9 -0
- app/code/community/IG/PostePay/Helper/Data.php +25 -1
- app/code/community/IG/PostePay/LICENSE.txt +1 -0
- app/code/community/IG/PostePay/Model/Postepay.php +27 -3
- app/code/community/IG/PostePay/etc/config.xml +32 -4
- app/code/community/IG/PostePay/etc/system.xml +37 -2
- app/design/frontend/{default → base}/default/template/ig_postepay/form.phtml +7 -2
- app/design/frontend/{default → base}/default/template/ig_postepay/info.phtml +3 -1
- app/locale/it_IT/IG_PostePay.csv +3 -1
- package.xml +7 -7
- skin/frontend/default/default/images/ig_postepay/logo.png +0 -0
app/code/community/IG/PostePay/Block/Form.php
CHANGED
|
@@ -1,4 +1,29 @@
|
|
| 1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
class IG_PostePay_Block_Form extends Mage_Payment_Block_Form
|
| 3 |
{
|
| 4 |
protected function _construct()
|
|
@@ -17,5 +42,4 @@ class IG_PostePay_Block_Form extends Mage_Payment_Block_Form
|
|
| 17 |
|
| 18 |
return false;
|
| 19 |
}
|
| 20 |
-
}
|
| 21 |
-
?>
|
| 1 |
<?php
|
| 2 |
+
/**
|
| 3 |
+
* IDEALIAGroup srl
|
| 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@idealiagroup.com so we can send you a copy immediately.
|
| 14 |
+
*
|
| 15 |
+
* DISCLAIMER
|
| 16 |
+
*
|
| 17 |
+
* Do not edit or add to this file if you wish to upgrade this module to newer
|
| 18 |
+
* versions in the future.
|
| 19 |
+
*
|
| 20 |
+
* @category IG
|
| 21 |
+
* @package IG_PostePay
|
| 22 |
+
* @copyright Copyright (c) 2012 IDEALIAGroup srl (http://www.idealiagroup.com)
|
| 23 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 24 |
+
* @author Riccardo Tempesta <tempesta@idealiagroup.com>
|
| 25 |
+
*/
|
| 26 |
+
|
| 27 |
class IG_PostePay_Block_Form extends Mage_Payment_Block_Form
|
| 28 |
{
|
| 29 |
protected function _construct()
|
| 42 |
|
| 43 |
return false;
|
| 44 |
}
|
| 45 |
+
}
|
|
|
app/code/community/IG/PostePay/Block/Info.php
CHANGED
|
@@ -1,4 +1,29 @@
|
|
| 1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
class IG_PostePay_Block_Info extends Mage_Payment_Block_Info
|
| 3 |
{
|
| 4 |
protected function _construct()
|
| 1 |
<?php
|
| 2 |
+
/**
|
| 3 |
+
* IDEALIAGroup srl
|
| 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@idealiagroup.com so we can send you a copy immediately.
|
| 14 |
+
*
|
| 15 |
+
* DISCLAIMER
|
| 16 |
+
*
|
| 17 |
+
* Do not edit or add to this file if you wish to upgrade this module to newer
|
| 18 |
+
* versions in the future.
|
| 19 |
+
*
|
| 20 |
+
* @category IG
|
| 21 |
+
* @package IG_PostePay
|
| 22 |
+
* @copyright Copyright (c) 2012 IDEALIAGroup srl (http://www.idealiagroup.com)
|
| 23 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 24 |
+
* @author Riccardo Tempesta <tempesta@idealiagroup.com>
|
| 25 |
+
*/
|
| 26 |
+
|
| 27 |
class IG_PostePay_Block_Info extends Mage_Payment_Block_Info
|
| 28 |
{
|
| 29 |
protected function _construct()
|
app/code/community/IG/PostePay/CHANGELOG.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
| 1 |
+
1.0.4:
|
| 2 |
+
Added fiscal code information
|
app/code/community/IG/PostePay/COMPATIBILITY.txt
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
This file reports the compatibility table for this extension.
|
| 2 |
+
If your Magento version is not included in this list you may try
|
| 3 |
+
using the extension but AT YOUR OWN RISK.
|
| 4 |
+
|
| 5 |
+
CE 1.4.2
|
| 6 |
+
CE 1.5.0
|
| 7 |
+
CE 1.5.1
|
| 8 |
+
CE 1.6.0
|
| 9 |
+
CE 1.6.1
|
app/code/community/IG/PostePay/Helper/Data.php
CHANGED
|
@@ -1,6 +1,30 @@
|
|
| 1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
class IG_PostePay_Helper_Data extends Mage_Core_Helper_Abstract
|
| 3 |
{
|
| 4 |
|
| 5 |
}
|
| 6 |
-
?>
|
| 1 |
<?php
|
| 2 |
+
/**
|
| 3 |
+
* IDEALIAGroup srl
|
| 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@idealiagroup.com so we can send you a copy immediately.
|
| 14 |
+
*
|
| 15 |
+
* DISCLAIMER
|
| 16 |
+
*
|
| 17 |
+
* Do not edit or add to this file if you wish to upgrade this module to newer
|
| 18 |
+
* versions in the future.
|
| 19 |
+
*
|
| 20 |
+
* @category IG
|
| 21 |
+
* @package IG_PostePay
|
| 22 |
+
* @copyright Copyright (c) 2012 IDEALIAGroup srl (http://www.idealiagroup.com)
|
| 23 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 24 |
+
* @author Riccardo Tempesta <tempesta@idealiagroup.com>
|
| 25 |
+
*/
|
| 26 |
+
|
| 27 |
class IG_PostePay_Helper_Data extends Mage_Core_Helper_Abstract
|
| 28 |
{
|
| 29 |
|
| 30 |
}
|
|
|
app/code/community/IG/PostePay/LICENSE.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
| 1 |
+
http://www.opensource.org/licenses/osl-3.0.php
|
app/code/community/IG/PostePay/Model/Postepay.php
CHANGED
|
@@ -1,8 +1,33 @@
|
|
| 1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
class IG_PostePay_Model_Postepay extends Mage_Payment_Model_Method_Abstract
|
| 3 |
{
|
| 4 |
protected $_code = 'ig_postepay';
|
| 5 |
-
protected $_paymentMethod = '
|
| 6 |
protected $_store_config = 'payment/ig_postepay';
|
| 7 |
protected $_formBlockType = 'ig_postepay/form';
|
| 8 |
protected $_infoBlockType = 'ig_postepay/info';
|
|
@@ -16,10 +41,9 @@ class IG_PostePay_Model_Postepay extends Mage_Payment_Model_Method_Abstract
|
|
| 16 |
protected $_canUseInternal = true;
|
| 17 |
protected $_canUseCheckout = true;
|
| 18 |
protected $_canUseForMultishipping = true;
|
| 19 |
-
|
| 20 |
public function getConfig($key)
|
| 21 |
{
|
| 22 |
return Mage::getStoreConfig($this->_store_config.'/'.$key);
|
| 23 |
}
|
| 24 |
}
|
| 25 |
-
?>
|
| 1 |
<?php
|
| 2 |
+
/**
|
| 3 |
+
* IDEALIAGroup srl
|
| 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@idealiagroup.com so we can send you a copy immediately.
|
| 14 |
+
*
|
| 15 |
+
* DISCLAIMER
|
| 16 |
+
*
|
| 17 |
+
* Do not edit or add to this file if you wish to upgrade this module to newer
|
| 18 |
+
* versions in the future.
|
| 19 |
+
*
|
| 20 |
+
* @category IG
|
| 21 |
+
* @package IG_PostePay
|
| 22 |
+
* @copyright Copyright (c) 2012 IDEALIAGroup srl (http://www.idealiagroup.com)
|
| 23 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 24 |
+
* @author Riccardo Tempesta <tempesta@idealiagroup.com>
|
| 25 |
+
*/
|
| 26 |
+
|
| 27 |
class IG_PostePay_Model_Postepay extends Mage_Payment_Model_Method_Abstract
|
| 28 |
{
|
| 29 |
protected $_code = 'ig_postepay';
|
| 30 |
+
protected $_paymentMethod = 'Postepay';
|
| 31 |
protected $_store_config = 'payment/ig_postepay';
|
| 32 |
protected $_formBlockType = 'ig_postepay/form';
|
| 33 |
protected $_infoBlockType = 'ig_postepay/info';
|
| 41 |
protected $_canUseInternal = true;
|
| 42 |
protected $_canUseCheckout = true;
|
| 43 |
protected $_canUseForMultishipping = true;
|
| 44 |
+
|
| 45 |
public function getConfig($key)
|
| 46 |
{
|
| 47 |
return Mage::getStoreConfig($this->_store_config.'/'.$key);
|
| 48 |
}
|
| 49 |
}
|
|
|
app/code/community/IG/PostePay/etc/config.xml
CHANGED
|
@@ -1,7 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
<config>
|
| 2 |
<modules>
|
| 3 |
<IG_PostePay>
|
| 4 |
-
<version>1.0.
|
| 5 |
</IG_PostePay>
|
| 6 |
</modules>
|
| 7 |
|
|
@@ -30,13 +57,13 @@
|
|
| 30 |
<use>core_setup</use>
|
| 31 |
</connection>
|
| 32 |
</ig_postepay_setup>
|
| 33 |
-
|
| 34 |
<ig_postepay_write>
|
| 35 |
<connection>
|
| 36 |
<use>core_write</use>
|
| 37 |
</connection>
|
| 38 |
</ig_postepay_write>
|
| 39 |
-
|
| 40 |
<ig_postepay_read>
|
| 41 |
<connection>
|
| 42 |
<use>core_read</use>
|
|
@@ -56,7 +83,7 @@
|
|
| 56 |
</modules>
|
| 57 |
</translate>
|
| 58 |
</frontend>
|
| 59 |
-
|
| 60 |
<adminhtml>
|
| 61 |
<translate>
|
| 62 |
<modules>
|
|
@@ -82,6 +109,7 @@
|
|
| 82 |
<specificcountry>IT</specificcountry>
|
| 83 |
<creditcard>4023-6004-XXXX-XXXX</creditcard>
|
| 84 |
<creditholder>Mario Rossi</creditholder>
|
|
|
|
| 85 |
<freetext>Scrivi qui le tue note aggiuntive.</freetext>
|
| 86 |
</ig_postepay>
|
| 87 |
</payment>
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<!--
|
| 3 |
+
/**
|
| 4 |
+
* IDEALIAGroup srl
|
| 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@idealiagroup.com so we can send you a copy immediately.
|
| 15 |
+
*
|
| 16 |
+
* DISCLAIMER
|
| 17 |
+
*
|
| 18 |
+
* Do not edit or add to this file if you wish to upgrade this module to newer
|
| 19 |
+
* versions in the future.
|
| 20 |
+
*
|
| 21 |
+
* @category IG
|
| 22 |
+
* @package IG_PostePay
|
| 23 |
+
* @copyright Copyright (c) 2012 IDEALIAGroup srl (http://www.idealiagroup.com)
|
| 24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 25 |
+
* @author Riccardo Tempesta <tempesta@idealiagroup.com>
|
| 26 |
+
*/
|
| 27 |
+
-->
|
| 28 |
<config>
|
| 29 |
<modules>
|
| 30 |
<IG_PostePay>
|
| 31 |
+
<version>1.0.4</version>
|
| 32 |
</IG_PostePay>
|
| 33 |
</modules>
|
| 34 |
|
| 57 |
<use>core_setup</use>
|
| 58 |
</connection>
|
| 59 |
</ig_postepay_setup>
|
| 60 |
+
|
| 61 |
<ig_postepay_write>
|
| 62 |
<connection>
|
| 63 |
<use>core_write</use>
|
| 64 |
</connection>
|
| 65 |
</ig_postepay_write>
|
| 66 |
+
|
| 67 |
<ig_postepay_read>
|
| 68 |
<connection>
|
| 69 |
<use>core_read</use>
|
| 83 |
</modules>
|
| 84 |
</translate>
|
| 85 |
</frontend>
|
| 86 |
+
|
| 87 |
<adminhtml>
|
| 88 |
<translate>
|
| 89 |
<modules>
|
| 109 |
<specificcountry>IT</specificcountry>
|
| 110 |
<creditcard>4023-6004-XXXX-XXXX</creditcard>
|
| 111 |
<creditholder>Mario Rossi</creditholder>
|
| 112 |
+
<cfholder>MRRRSS79H20A123B</cfholder>
|
| 113 |
<freetext>Scrivi qui le tue note aggiuntive.</freetext>
|
| 114 |
</ig_postepay>
|
| 115 |
</payment>
|
app/code/community/IG/PostePay/etc/system.xml
CHANGED
|
@@ -1,9 +1,35 @@
|
|
| 1 |
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
<config>
|
| 3 |
<sections>
|
| 4 |
<payment>
|
| 5 |
<groups>
|
| 6 |
-
<ig_postepay translate="label"
|
| 7 |
<label>PostePay recharge</label>
|
| 8 |
<sort_order>10</sort_order>
|
| 9 |
<show_in_default>1</show_in_default>
|
|
@@ -81,10 +107,19 @@
|
|
| 81 |
<show_in_website>1</show_in_website>
|
| 82 |
<show_in_store>1</show_in_store>
|
| 83 |
</creditholder>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
<freetext translate="label">
|
| 85 |
<label>Free text</label>
|
| 86 |
<frontend_type>textarea</frontend_type>
|
| 87 |
-
<sort_order>
|
| 88 |
<show_in_default>1</show_in_default>
|
| 89 |
<show_in_website>1</show_in_website>
|
| 90 |
<show_in_store>1</show_in_store>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
+
<!--
|
| 3 |
+
/**
|
| 4 |
+
* IDEALIAGroup srl
|
| 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@idealiagroup.com so we can send you a copy immediately.
|
| 15 |
+
*
|
| 16 |
+
* DISCLAIMER
|
| 17 |
+
*
|
| 18 |
+
* Do not edit or add to this file if you wish to upgrade this module to newer
|
| 19 |
+
* versions in the future.
|
| 20 |
+
*
|
| 21 |
+
* @category IG
|
| 22 |
+
* @package IG_PostePay
|
| 23 |
+
* @copyright Copyright (c) 2012 IDEALIAGroup srl (http://www.idealiagroup.com)
|
| 24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 25 |
+
* @author Riccardo Tempesta <tempesta@idealiagroup.com>
|
| 26 |
+
*/
|
| 27 |
+
-->
|
| 28 |
<config>
|
| 29 |
<sections>
|
| 30 |
<payment>
|
| 31 |
<groups>
|
| 32 |
+
<ig_postepay translate="label">
|
| 33 |
<label>PostePay recharge</label>
|
| 34 |
<sort_order>10</sort_order>
|
| 35 |
<show_in_default>1</show_in_default>
|
| 107 |
<show_in_website>1</show_in_website>
|
| 108 |
<show_in_store>1</show_in_store>
|
| 109 |
</creditholder>
|
| 110 |
+
<cfholder translate="label">
|
| 111 |
+
<label>Holder's fiscal code</label>
|
| 112 |
+
<comment>This will be displayed in payment page</comment>
|
| 113 |
+
<frontend_type>text</frontend_type>
|
| 114 |
+
<sort_order>80</sort_order>
|
| 115 |
+
<show_in_default>1</show_in_default>
|
| 116 |
+
<show_in_website>1</show_in_website>
|
| 117 |
+
<show_in_store>1</show_in_store>
|
| 118 |
+
</cfholder>
|
| 119 |
<freetext translate="label">
|
| 120 |
<label>Free text</label>
|
| 121 |
<frontend_type>textarea</frontend_type>
|
| 122 |
+
<sort_order>90</sort_order>
|
| 123 |
<show_in_default>1</show_in_default>
|
| 124 |
<show_in_website>1</show_in_website>
|
| 125 |
<show_in_store>1</show_in_store>
|
app/design/frontend/{default → base}/default/template/ig_postepay/form.phtml
RENAMED
|
@@ -9,7 +9,7 @@ $_img = $this->getPaymentImageSrc();
|
|
| 9 |
<?php } ?>
|
| 10 |
<ul id="payment_form_<?php echo $_code ?>" style="display:none;">
|
| 11 |
<?php if ($_method->getConfig('displaycheckout')) { ?>
|
| 12 |
-
|
| 13 |
<?php if ($_method->getConfig('creditcard') != '') { ?>
|
| 14 |
<li>
|
| 15 |
<?php echo Mage::helper('ig_postepay')->__('Card number to recharge') ?>: <strong><?php echo htmlspecialchars($_method->getConfig('creditcard')) ?></strong>
|
|
@@ -20,12 +20,17 @@ $_img = $this->getPaymentImageSrc();
|
|
| 20 |
<?php echo Mage::helper('ig_postepay')->__('Credit card holder') ?>: <strong><?php echo htmlspecialchars($_method->getConfig('creditholder')) ?></strong>
|
| 21 |
</li>
|
| 22 |
<?php } ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
<?php if ($_method->getConfig('freetext') != '') { ?>
|
| 24 |
<li>
|
| 25 |
<small><?php echo nl2br(htmlspecialchars($_method->getConfig('freetext'))) ?></small>
|
| 26 |
</li>
|
| 27 |
<?php } ?>
|
| 28 |
-
|
| 29 |
<?php } else { ?>
|
| 30 |
<li><?php echo Mage::helper('ig_postepay')->__('You will receive further shopper information via email') ?></li>
|
| 31 |
<?php } ?>
|
| 9 |
<?php } ?>
|
| 10 |
<ul id="payment_form_<?php echo $_code ?>" style="display:none;">
|
| 11 |
<?php if ($_method->getConfig('displaycheckout')) { ?>
|
| 12 |
+
|
| 13 |
<?php if ($_method->getConfig('creditcard') != '') { ?>
|
| 14 |
<li>
|
| 15 |
<?php echo Mage::helper('ig_postepay')->__('Card number to recharge') ?>: <strong><?php echo htmlspecialchars($_method->getConfig('creditcard')) ?></strong>
|
| 20 |
<?php echo Mage::helper('ig_postepay')->__('Credit card holder') ?>: <strong><?php echo htmlspecialchars($_method->getConfig('creditholder')) ?></strong>
|
| 21 |
</li>
|
| 22 |
<?php } ?>
|
| 23 |
+
<?php if ($_method->getConfig('cfholder') != '') { ?>
|
| 24 |
+
<li>
|
| 25 |
+
<?php echo Mage::helper('ig_postepay')->__('Fiscal Code') ?>: <strong><?php echo htmlspecialchars($_method->getConfig('cfholder')) ?></strong>
|
| 26 |
+
</li>
|
| 27 |
+
<?php } ?>
|
| 28 |
<?php if ($_method->getConfig('freetext') != '') { ?>
|
| 29 |
<li>
|
| 30 |
<small><?php echo nl2br(htmlspecialchars($_method->getConfig('freetext'))) ?></small>
|
| 31 |
</li>
|
| 32 |
<?php } ?>
|
| 33 |
+
|
| 34 |
<?php } else { ?>
|
| 35 |
<li><?php echo Mage::helper('ig_postepay')->__('You will receive further shopper information via email') ?></li>
|
| 36 |
<?php } ?>
|
app/design/frontend/{default → base}/default/template/ig_postepay/info.phtml
RENAMED
|
@@ -1,9 +1,11 @@
|
|
| 1 |
<?php
|
| 2 |
-
$_method
|
| 3 |
?>
|
| 4 |
<p><?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?></p>
|
| 5 |
<?php echo Mage::helper('ig_postepay')->__('Card number to recharge') ?>:<br /><strong><?php echo htmlspecialchars($_method->getConfig('creditcard')) ?></strong><br />
|
| 6 |
<br />
|
| 7 |
<?php echo Mage::helper('ig_postepay')->__('Credit card holder') ?>:<br /><strong><?php echo htmlspecialchars($_method->getConfig('creditholder')) ?></strong><br />
|
| 8 |
<br />
|
|
|
|
|
|
|
| 9 |
<small><?php echo nl2br(htmlspecialchars($_method->getConfig('freetext'))) ?></small>
|
| 1 |
<?php
|
| 2 |
+
$_method = $this->getMethod();
|
| 3 |
?>
|
| 4 |
<p><?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?></p>
|
| 5 |
<?php echo Mage::helper('ig_postepay')->__('Card number to recharge') ?>:<br /><strong><?php echo htmlspecialchars($_method->getConfig('creditcard')) ?></strong><br />
|
| 6 |
<br />
|
| 7 |
<?php echo Mage::helper('ig_postepay')->__('Credit card holder') ?>:<br /><strong><?php echo htmlspecialchars($_method->getConfig('creditholder')) ?></strong><br />
|
| 8 |
<br />
|
| 9 |
+
<?php echo Mage::helper('ig_postepay')->__('Fiscal code') ?>:<br /><strong><?php echo htmlspecialchars($_method->getConfig('cfholder')) ?></strong><br />
|
| 10 |
+
<br />
|
| 11 |
<small><?php echo nl2br(htmlspecialchars($_method->getConfig('freetext'))) ?></small>
|
app/locale/it_IT/IG_PostePay.csv
CHANGED
|
@@ -7,4 +7,6 @@
|
|
| 7 |
"Card number to recharge","Numero carta da ricaricare"
|
| 8 |
"Credit card holder","Titolare della carta"
|
| 9 |
"Display credit card info on checkout","Mostra informazioni carta nel checkout"
|
| 10 |
-
"You will receive further shopper information via email","Riceverai ulteriori informazioni via email"
|
|
|
|
|
|
| 7 |
"Card number to recharge","Numero carta da ricaricare"
|
| 8 |
"Credit card holder","Titolare della carta"
|
| 9 |
"Display credit card info on checkout","Mostra informazioni carta nel checkout"
|
| 10 |
+
"You will receive further shopper information via email","Riceverai ulteriori informazioni via email"
|
| 11 |
+
"Fiscal Code","Codice Fiscale"
|
| 12 |
+
"Fiscal code","Codice fiscale"
|
package.xml
CHANGED
|
@@ -1,18 +1,18 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>IG_PostePay</name>
|
| 4 |
-
<version>1.0.
|
| 5 |
<stability>stable</stability>
|
| 6 |
-
<license uri="http://www.
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Modulo per ricevere pagamenti via ricarica PostePay.</summary>
|
| 10 |
<description>Modulo molto semplice e pronto all'uso per ricevere pagamenti con ricariche postepay.</description>
|
| 11 |
<notes>Enjoy it ;)</notes>
|
| 12 |
-
<authors><author><name>Riccardo Tempesta</name><user>
|
| 13 |
-
<date>
|
| 14 |
-
<time>
|
| 15 |
-
<contents><target name="
|
| 16 |
<compatible/>
|
| 17 |
-
<dependencies
|
| 18 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>IG_PostePay</name>
|
| 4 |
+
<version>1.0.4</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
+
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Modulo per ricevere pagamenti via ricarica PostePay.</summary>
|
| 10 |
<description>Modulo molto semplice e pronto all'uso per ricevere pagamenti con ricariche postepay.</description>
|
| 11 |
<notes>Enjoy it ;)</notes>
|
| 12 |
+
<authors><author><name>Riccardo Tempesta</name><user>idealiagroup</user><email>tempesta@idealiagroup.com</email></author><author><name>Marco Giorgetti</name><user>idealiagroup</user><email>giorgetti@idealiagroup.com</email></author></authors>
|
| 13 |
+
<date>2012-01-16</date>
|
| 14 |
+
<time>18:44:48</time>
|
| 15 |
+
<contents><target name="magecommunity"><dir name="IG"><dir name="PostePay"><dir name="Block"><file name="Form.php" hash="fc724211e458017a4a53be273da14a55"/><file name="Info.php" hash="e82ced1fd9bc905b066de2db8cc03f6c"/></dir><file name="CHANGELOG.txt" hash="3ad41af26c89749ea8744cebb489420a"/><file name="COMPATIBILITY.txt" hash="d3b64c7bb51137148e6b0feed3224af5"/><dir name="Helper"><file name="Data.php" hash="e0c10a1da09c61204e52e0028322667a"/></dir><file name="LICENSE.txt" hash="b7870fbc716085862b4cba9b4629a24e"/><dir name="Model"><file name="Postepay.php" hash="28938fe6bea8a159a89284f35efd36b6"/></dir><dir name="etc"><file name="config.xml" hash="2b2342e768dc2e59340f05047c68e75e"/><file name="system.xml" hash="522d572a26748e1cfb3ad4042c35b2bf"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="ig_postepay"><file name="form.phtml" hash="c5ed7ed3b3fc72d337420f8180e6474b"/><file name="info.phtml" hash="159a3351aa9574bb870486493b61378e"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="ig_postepay"><file name="form.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="info.phtml" hash="900b9c86412dc7befd1470687ec7e634"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="IG_PostePay.xml" hash="7feb712df5d00b003b85a681db6e045f"/></dir></target><target name="magelocale"><dir name="it_IT"><file name="IG_PostePay.csv" hash="02e8c535ac13ef361d266e32b8933f01"/></dir><dir name="en_US"><file name="IG_PostePay.csv" hash="b8ed000749ecc50ea773f38c2c42901c"/></dir></target></contents>
|
| 16 |
<compatible/>
|
| 17 |
+
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
| 18 |
</package>
|
skin/frontend/default/default/images/ig_postepay/logo.png
DELETED
|
Binary file
|
