Version Notes
Stabe release
Download this release
Release Info
Developer | Magento Core Team |
Extension | F500_Xibpayments |
Version | 1.0.4 |
Comparing to | |
See all releases |
Code changes from version 1.0.3 to 1.0.4
app/code/local/F500/Xibpayments/Model/Standard.php
CHANGED
@@ -123,10 +123,10 @@ class F500_Xibpayments_Model_Standard extends Mage_Payment_Model_Method_Abstract
|
|
123 |
}
|
124 |
|
125 |
$info = $this->getQuote()->getPayment();
|
126 |
-
$option = $info->getData('
|
127 |
switch ( $option ) {
|
128 |
case 'ideal':
|
129 |
-
$suboption = $info->getData('
|
130 |
break;
|
131 |
default:
|
132 |
$suboption = '';
|
123 |
}
|
124 |
|
125 |
$info = $this->getQuote()->getPayment();
|
126 |
+
$option = $info->getData('xibpayments_option');
|
127 |
switch ( $option ) {
|
128 |
case 'ideal':
|
129 |
+
$suboption = $info->getData('xibpayments_bank');
|
130 |
break;
|
131 |
default:
|
132 |
$suboption = '';
|
app/code/local/F500/Xibpayments/etc/config.xml
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
<config>
|
21 |
<modules>
|
22 |
<F500_Xibpayments>
|
23 |
-
<version>1.0.
|
24 |
</F500_Xibpayments>
|
25 |
</modules>
|
26 |
<global>
|
20 |
<config>
|
21 |
<modules>
|
22 |
<F500_Xibpayments>
|
23 |
+
<version>1.0.4</version>
|
24 |
</F500_Xibpayments>
|
25 |
</modules>
|
26 |
<global>
|
app/design/frontend/default/default/template/xibpayments/form.phtml
CHANGED
@@ -46,8 +46,8 @@ if ( in_array('', $options) ) {
|
|
46 |
<?php
|
47 |
echo '<label><input type="radio" id="p_method_xibpayments_option_' . $option . '" name="payment[xibpayments_option]" value="' . $option . '" ' . ( ($selected_option == $option)||(count($options)==1) ? 'checked="checked"' : '') . '> ' . ( '' !== ($optiontitle = $this->getOptionTitle($option)) ? $optiontitle : $this->__($option)) . '</label>';
|
48 |
if ( $option == 'ideal' ) {
|
49 |
-
$result = '
|
50 |
-
$result .= '<option>' . $this->__('Select your bank') . '</option>';
|
51 |
foreach ( $banks as $bankcode => $bankname ) {
|
52 |
if ( $bankcode === '-' ) {
|
53 |
$result .= '<option value="">------' . $this->__('Additional banks') . '------</option>';
|
46 |
<?php
|
47 |
echo '<label><input type="radio" id="p_method_xibpayments_option_' . $option . '" name="payment[xibpayments_option]" value="' . $option . '" ' . ( ($selected_option == $option)||(count($options)==1) ? 'checked="checked"' : '') . '> ' . ( '' !== ($optiontitle = $this->getOptionTitle($option)) ? $optiontitle : $this->__($option)) . '</label>';
|
48 |
if ( $option == 'ideal' ) {
|
49 |
+
$result = '<select style="margin-left: 10px;" name="payment[xibpayments_bank]" onchange="document.getElementById(\'p_method_xibpayments\').checked = true;document.getElementById(\'p_method_xibpayments_option_' . $option . '\').checked = true; payment.switchMethod(\'xibpayments\');">';
|
50 |
+
$result .= '<option value="">' . $this->__('Select your bank') . '</option>';
|
51 |
foreach ( $banks as $bankcode => $bankname ) {
|
52 |
if ( $bankcode === '-' ) {
|
53 |
$result .= '<option value="">------' . $this->__('Additional banks') . '------</option>';
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>F500_Xibpayments</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -13,8 +13,8 @@ Apply for an account at info@xibpayments.com</description>
|
|
13 |
<notes>Stabe release</notes>
|
14 |
<authors><author><name>Ramon de la Fuente</name><user>auto-converted</user><email>ramon@future500.nl</email></author></authors>
|
15 |
<date>2010-02-15</date>
|
16 |
-
<time>
|
17 |
-
<contents><target name="magelocale"><dir name="en_US"><file name="F500_Xibpayments.csv" hash="e68bfe94fd31272ab5cb3815358632b6"/></dir><dir name="nl_NL"><file name="F500_Xibpayments.csv" hash="cc7f715c24701dfdee73f951462de5b8"/></dir></target><target name="magelocal"><dir name="F500"><dir name="Xibpayments"><dir name="Block"><file name="Form.php" hash="0f8532cbf396c5e64cfd81fd0be42bc2"/><file name="Redirect.php" hash="16bf7b094fd1b45870281b7dde49174c"/></dir><dir name="controllers"><file name="SecureController.php" hash="59a3429d0572a93502ffabe6563b31aa"/></dir><dir name="etc"><file name="config.xml" hash="
|
18 |
<compatible/>
|
19 |
<dependencies/>
|
20 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>F500_Xibpayments</name>
|
4 |
+
<version>1.0.4</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
13 |
<notes>Stabe release</notes>
|
14 |
<authors><author><name>Ramon de la Fuente</name><user>auto-converted</user><email>ramon@future500.nl</email></author></authors>
|
15 |
<date>2010-02-15</date>
|
16 |
+
<time>23:53:45</time>
|
17 |
+
<contents><target name="magelocale"><dir name="en_US"><file name="F500_Xibpayments.csv" hash="e68bfe94fd31272ab5cb3815358632b6"/></dir><dir name="nl_NL"><file name="F500_Xibpayments.csv" hash="cc7f715c24701dfdee73f951462de5b8"/></dir></target><target name="magelocal"><dir name="F500"><dir name="Xibpayments"><dir name="Block"><file name="Form.php" hash="0f8532cbf396c5e64cfd81fd0be42bc2"/><file name="Redirect.php" hash="16bf7b094fd1b45870281b7dde49174c"/></dir><dir name="controllers"><file name="SecureController.php" hash="59a3429d0572a93502ffabe6563b31aa"/></dir><dir name="etc"><file name="config.xml" hash="816395fb45350f444c76c448e7790596"/><file name="system.xml" hash="9865a785acafe0736ae80974b1170e08"/></dir><dir name="Helper"><file name="Data.php" hash="bfa4eeb6609df83759b2e31d39e6b575"/></dir><dir name="Model"><file name="Session.php" hash="a5d2ef4deda15e02a40b7608188ba899"/><file name="Standard.php" hash="fe379430ebed3271562f7ea858db9970"/><dir name="Mysql4"><file name="Setup.php" hash="2dee2d37bd72702b1bd4722a826738c2"/></dir><dir name="System"><file name="Paymentoptions.php" hash="c95d5654ebbcd72977cbf9a91cd63229"/><file name="Transactiontype.php" hash="2d8784404eb1c3434a562d1b1f1871d3"/></dir></dir><dir name="sql"><dir name="xibpayments_setup"><file name="mysql4-install-0.1.0.php" hash="223c70847e08e2f28889d3723871dd2c"/><file name="mysql4-uninstall-0.1.0.php" hash="223c70847e08e2f28889d3723871dd2c"/><file name="mysql4-upgrade-1.0.3-1.0.3.php" hash="833e9c4a263762eda7f67c9b68c643e0"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="xibpayments"><file name="form.phtml" hash="38d252b91a2fc9c421020d16bbc01ffd"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="F500_Xibpayments.xml" hash="006f07cd8a376ff45ba10340f882185b"/></dir></target></contents>
|
18 |
<compatible/>
|
19 |
<dependencies/>
|
20 |
</package>
|