Version Notes
Stabe release
Download this release
Release Info
Developer | Magento Core Team |
Extension | F500_Xibpayments |
Version | 1.0.3 |
Comparing to | |
See all releases |
Code changes from version 1.0.2 to 1.0.3
- app/code/local/F500/Xibpayments/Block/Form.php +33 -0
- app/code/local/F500/Xibpayments/Model/Standard.php +24 -25
- app/code/local/F500/Xibpayments/Model/System/Paymentoptions.php +2 -0
- app/code/local/F500/Xibpayments/etc/config.xml +2 -1
- app/code/local/F500/Xibpayments/etc/system.xml +43 -12
- app/code/local/F500/Xibpayments/sql/{cardgate_setup → xibpayments_setup}/mysql4-install-0.1.0.php +0 -0
- app/code/local/F500/Xibpayments/sql/{cardgate_setup → xibpayments_setup}/mysql4-uninstall-0.1.0.php +0 -0
- app/code/local/F500/Xibpayments/{Model/System/Gatewayversion.php → sql/xibpayments_setup/mysql4-upgrade-1.0.3-1.0.3.php} +8 -12
- app/design/frontend/default/default/template/xibpayments/form.phtml +45 -2
- app/locale/en_US/F500_Xibpayments.csv +14 -7
- app/locale/nl_NL/F500_Xibpayments.csv +14 -7
- package.xml +4 -4
app/code/local/F500/Xibpayments/Block/Form.php
CHANGED
@@ -18,9 +18,42 @@
|
|
18 |
|
19 |
class F500_Xibpayments_Block_Form extends Mage_Payment_Block_Form
|
20 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
protected function _construct()
|
22 |
{
|
23 |
$this->setTemplate('xibpayments/form.phtml');
|
24 |
parent::_construct();
|
25 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
}
|
18 |
|
19 |
class F500_Xibpayments_Block_Form extends Mage_Payment_Block_Form
|
20 |
{
|
21 |
+
protected $_banks = array(
|
22 |
+
'0031' => 'ABN Amro',
|
23 |
+
'0081' => 'Fortis',
|
24 |
+
'0091' => 'Friesland Bank',
|
25 |
+
'0721' => 'ING',
|
26 |
+
'0021' => 'Rabobank',
|
27 |
+
'0751' => 'SNS Bank',
|
28 |
+
'-' => '',
|
29 |
+
'0761' => 'ASN Bank',
|
30 |
+
'0771' => 'SNS Regio Bank',
|
31 |
+
);
|
32 |
+
|
33 |
protected function _construct()
|
34 |
{
|
35 |
$this->setTemplate('xibpayments/form.phtml');
|
36 |
parent::_construct();
|
37 |
}
|
38 |
+
|
39 |
+
public function getBanks()
|
40 |
+
{
|
41 |
+
return $this->_banks;
|
42 |
+
}
|
43 |
+
|
44 |
+
public function getEnabledOptions()
|
45 |
+
{
|
46 |
+
$method = $this->getMethod();
|
47 |
+
$options = explode(',',$method->getConfigdata('options'));
|
48 |
+
return $options;
|
49 |
+
}
|
50 |
+
|
51 |
+
public function getOptionTitle( $option )
|
52 |
+
{
|
53 |
+
$method = $this->getMethod();
|
54 |
+
if ( $result = $method->getConfigData('title_' . $option) ) {
|
55 |
+
return $result;
|
56 |
+
}
|
57 |
+
return '';
|
58 |
+
}
|
59 |
}
|
app/code/local/F500/Xibpayments/Model/Standard.php
CHANGED
@@ -25,10 +25,8 @@ class F500_Xibpayments_Model_Standard extends Mage_Payment_Model_Method_Abstract
|
|
25 |
/**
|
26 |
* Local testing or Live URL
|
27 |
*/
|
28 |
-
// protected $
|
29 |
-
|
30 |
-
protected $_url_v2='https://gateway.cardgateplus.com/secure/';
|
31 |
-
|
32 |
|
33 |
/**
|
34 |
* Availability options
|
@@ -74,7 +72,7 @@ class F500_Xibpayments_Model_Standard extends Mage_Payment_Model_Method_Abstract
|
|
74 |
return $this->getCheckout()->getQuote();
|
75 |
}
|
76 |
|
77 |
-
/*validate the currency code is avaialable to use for xibpayments or not*/
|
78 |
public function validate()
|
79 |
{
|
80 |
parent::validate();
|
@@ -124,13 +122,23 @@ class F500_Xibpayments_Model_Standard extends Mage_Payment_Model_Method_Abstract
|
|
124 |
$b = $this->getQuote()->getBillingAddress();
|
125 |
}
|
126 |
|
127 |
-
|
128 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
//getQuoteCurrencyCode
|
130 |
$currency_code = $this->getQuote()->getBaseCurrencyCode();
|
131 |
$sArr = array(
|
132 |
-
'siteid'
|
133 |
-
'ref'
|
134 |
'first_name' => $a->getFirstname(),
|
135 |
'last_name' => $a->getLastname(),
|
136 |
'email' => $a->getQuote()->getCustomer()->getEmail(),
|
@@ -139,8 +147,9 @@ class F500_Xibpayments_Model_Standard extends Mage_Payment_Model_Method_Abstract
|
|
139 |
'country_code' => $a->getCountry(),
|
140 |
'postal_code' => $a->getPostcode(),
|
141 |
'phone_number' => $a->getTelephone(),
|
142 |
-
'option'
|
143 |
-
'
|
|
|
144 |
);
|
145 |
|
146 |
if ( $this->isTest() || $this->isDebug() ) {
|
@@ -150,8 +159,8 @@ class F500_Xibpayments_Model_Standard extends Mage_Payment_Model_Method_Abstract
|
|
150 |
|
151 |
if ( $this->isDebug() ) {
|
152 |
$sArr = array_merge($sArr, array(
|
153 |
-
|
154 |
-
|
155 |
}
|
156 |
}
|
157 |
|
@@ -167,7 +176,7 @@ class F500_Xibpayments_Model_Standard extends Mage_Payment_Model_Method_Abstract
|
|
167 |
$rArr = array();
|
168 |
foreach ($sArr as $k=>$v) {
|
169 |
/*
|
170 |
-
|
171 |
*/
|
172 |
$value = str_replace("&","and",$v);
|
173 |
$rArr[$k] = $value;
|
@@ -182,17 +191,7 @@ class F500_Xibpayments_Model_Standard extends Mage_Payment_Model_Method_Abstract
|
|
182 |
|
183 |
public function getXibpaymentsUrl()
|
184 |
{
|
185 |
-
|
186 |
-
// No version select in Xib|payments
|
187 |
-
|
188 |
-
if ( $this->getConfigData('gateway_version') == 2 ) {
|
189 |
-
$url = $this->_url_v2;
|
190 |
-
} else {
|
191 |
-
$url = $this->_url_v1;
|
192 |
-
}
|
193 |
-
*/
|
194 |
-
|
195 |
-
return $this->_url_v2;
|
196 |
}
|
197 |
|
198 |
|
25 |
/**
|
26 |
* Local testing or Live URL
|
27 |
*/
|
28 |
+
// protected $_url='http://cardgateplus.loc/secure/';
|
29 |
+
protected $_url='https://gateway.cardgateplus.com/';
|
|
|
|
|
30 |
|
31 |
/**
|
32 |
* Availability options
|
72 |
return $this->getCheckout()->getQuote();
|
73 |
}
|
74 |
|
75 |
+
/* validate the currency code is avaialable to use for xibpayments or not */
|
76 |
public function validate()
|
77 |
{
|
78 |
parent::validate();
|
122 |
$b = $this->getQuote()->getBillingAddress();
|
123 |
}
|
124 |
|
125 |
+
$info = $this->getQuote()->getPayment();
|
126 |
+
$option = $info->getData('cardgate_option');
|
127 |
+
switch ( $option ) {
|
128 |
+
case 'ideal':
|
129 |
+
$suboption = $info->getData('cardgate_bank');
|
130 |
+
break;
|
131 |
+
default:
|
132 |
+
$suboption = '';
|
133 |
+
break;
|
134 |
+
}
|
135 |
+
|
136 |
+
//check if site_id and control_url are not empty
|
137 |
//getQuoteCurrencyCode
|
138 |
$currency_code = $this->getQuote()->getBaseCurrencyCode();
|
139 |
$sArr = array(
|
140 |
+
'siteid' => $this->getConfigData('site_id'),
|
141 |
+
'ref' => $this->getCheckout()->getLastRealOrderId(),
|
142 |
'first_name' => $a->getFirstname(),
|
143 |
'last_name' => $a->getLastname(),
|
144 |
'email' => $a->getQuote()->getCustomer()->getEmail(),
|
147 |
'country_code' => $a->getCountry(),
|
148 |
'postal_code' => $a->getPostcode(),
|
149 |
'phone_number' => $a->getTelephone(),
|
150 |
+
'option' => $option,
|
151 |
+
'suboption' => $suboption,
|
152 |
+
'currency' => $currency_code
|
153 |
);
|
154 |
|
155 |
if ( $this->isTest() || $this->isDebug() ) {
|
159 |
|
160 |
if ( $this->isDebug() ) {
|
161 |
$sArr = array_merge($sArr, array(
|
162 |
+
'debug' => '1'
|
163 |
+
));
|
164 |
}
|
165 |
}
|
166 |
|
176 |
$rArr = array();
|
177 |
foreach ($sArr as $k=>$v) {
|
178 |
/*
|
179 |
+
qreplacing & char with and. otherwise it will break the post
|
180 |
*/
|
181 |
$value = str_replace("&","and",$v);
|
182 |
$rArr[$k] = $value;
|
191 |
|
192 |
public function getXibpaymentsUrl()
|
193 |
{
|
194 |
+
return $this->_url;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
195 |
}
|
196 |
|
197 |
|
app/code/local/F500/Xibpayments/Model/System/Paymentoptions.php
CHANGED
@@ -25,6 +25,8 @@ class F500_Xibpayments_Model_System_Paymentoptions
|
|
25 |
array('value'=>'creditcard', 'label'=>Mage::helper('xibpayments')->__('creditcard')),
|
26 |
array('value'=>'ideal', 'label'=>Mage::helper('xibpayments')->__('ideal')),
|
27 |
array('value'=>'paypal', 'label'=>Mage::helper('xibpayments')->__('paypal')),
|
|
|
|
|
28 |
);
|
29 |
}
|
30 |
}
|
25 |
array('value'=>'creditcard', 'label'=>Mage::helper('xibpayments')->__('creditcard')),
|
26 |
array('value'=>'ideal', 'label'=>Mage::helper('xibpayments')->__('ideal')),
|
27 |
array('value'=>'paypal', 'label'=>Mage::helper('xibpayments')->__('paypal')),
|
28 |
+
array('value'=>'mistercash', 'label'=>Mage::helper('xibpayments')->__('mistercash')),
|
29 |
+
array('value'=>'giropay', 'label'=>Mage::helper('xibpayments')->__('giropay')),
|
30 |
);
|
31 |
}
|
32 |
}
|
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>
|
@@ -121,6 +121,7 @@
|
|
121 |
<model>xibpayments/standard</model>
|
122 |
<title>Xib|payments System</title>
|
123 |
<transaction_type>T</transaction_type>
|
|
|
124 |
<order_status>Pending</order_status>
|
125 |
<order_status_paid>Processing</order_status_paid>
|
126 |
<order_status_paid_createinvoice>1</order_status_paid_createinvoice>
|
20 |
<config>
|
21 |
<modules>
|
22 |
<F500_Xibpayments>
|
23 |
+
<version>1.0.3</version>
|
24 |
</F500_Xibpayments>
|
25 |
</modules>
|
26 |
<global>
|
121 |
<model>xibpayments/standard</model>
|
122 |
<title>Xib|payments System</title>
|
123 |
<transaction_type>T</transaction_type>
|
124 |
+
<options></options>
|
125 |
<order_status>Pending</order_status>
|
126 |
<order_status_paid>Processing</order_status_paid>
|
127 |
<order_status_paid_createinvoice>1</order_status_paid_createinvoice>
|
app/code/local/F500/Xibpayments/etc/system.xml
CHANGED
@@ -48,16 +48,6 @@
|
|
48 |
<show_in_website>1</show_in_website>
|
49 |
<show_in_store>1</show_in_store>
|
50 |
</title>
|
51 |
-
<!-- <gateway_version translate="label">
|
52 |
-
<label>Version</label>
|
53 |
-
<frontend_type>select</frontend_type>
|
54 |
-
<comment>Gateway version</comment>
|
55 |
-
<source_model>xibpayments/system_gatewayversion</source_model>
|
56 |
-
<sort_order>9</sort_order>
|
57 |
-
<show_in_default>1</show_in_default>
|
58 |
-
<show_in_website>1</show_in_website>
|
59 |
-
<show_in_store>1</show_in_store>
|
60 |
-
</gateway_version> -->
|
61 |
<transaction_type translate="label">
|
62 |
<label>Modus</label>
|
63 |
<frontend_type>select</frontend_type>
|
@@ -85,10 +75,10 @@
|
|
85 |
<show_in_default>1</show_in_default>
|
86 |
<show_in_website>1</show_in_website>
|
87 |
<show_in_store>1</show_in_store>
|
88 |
-
</password_key>
|
89 |
<options translate="label">
|
90 |
<label>Payment Option</label>
|
91 |
-
<frontend_type>
|
92 |
<comment>Link directly to a payment option</comment>
|
93 |
<source_model>xibpayments/system_paymentoptions</source_model>
|
94 |
<sort_order>13</sort_order>
|
@@ -96,6 +86,47 @@
|
|
96 |
<show_in_website>1</show_in_website>
|
97 |
<show_in_store>1</show_in_store>
|
98 |
</options>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
<order_description translate="label">
|
100 |
<label>Order description</label>
|
101 |
<frontend_type>text</frontend_type>
|
48 |
<show_in_website>1</show_in_website>
|
49 |
<show_in_store>1</show_in_store>
|
50 |
</title>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
<transaction_type translate="label">
|
52 |
<label>Modus</label>
|
53 |
<frontend_type>select</frontend_type>
|
75 |
<show_in_default>1</show_in_default>
|
76 |
<show_in_website>1</show_in_website>
|
77 |
<show_in_store>1</show_in_store>
|
78 |
+
</password_key>
|
79 |
<options translate="label">
|
80 |
<label>Payment Option</label>
|
81 |
+
<frontend_type>multiselect</frontend_type>
|
82 |
<comment>Link directly to a payment option</comment>
|
83 |
<source_model>xibpayments/system_paymentoptions</source_model>
|
84 |
<sort_order>13</sort_order>
|
86 |
<show_in_website>1</show_in_website>
|
87 |
<show_in_store>1</show_in_store>
|
88 |
</options>
|
89 |
+
<title_creditcard translate="label">
|
90 |
+
<label>Translation creditcard</label>
|
91 |
+
<frontend_type>text</frontend_type>
|
92 |
+
<sort_order>15</sort_order>
|
93 |
+
<show_in_default>1</show_in_default>
|
94 |
+
<show_in_website>1</show_in_website>
|
95 |
+
<show_in_store>1</show_in_store>
|
96 |
+
</title_creditcard>
|
97 |
+
<title_ideal translate="label">
|
98 |
+
<label>Translation ideal</label>
|
99 |
+
<frontend_type>text</frontend_type>
|
100 |
+
<sort_order>16</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 |
+
</title_ideal>
|
105 |
+
<title_paypal translate="label">
|
106 |
+
<label>Translation paypal</label>
|
107 |
+
<frontend_type>text</frontend_type>
|
108 |
+
<sort_order>17</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 |
+
</title_paypal>
|
113 |
+
<title_mistercash translate="label">
|
114 |
+
<label>Translation mistercash</label>
|
115 |
+
<frontend_type>text</frontend_type>
|
116 |
+
<sort_order>18</sort_order>
|
117 |
+
<show_in_default>1</show_in_default>
|
118 |
+
<show_in_website>1</show_in_website>
|
119 |
+
<show_in_store>1</show_in_store>
|
120 |
+
</title_mistercash>
|
121 |
+
<title_giropay translate="label">
|
122 |
+
<label>Translation giropay</label>
|
123 |
+
<frontend_type>text</frontend_type>
|
124 |
+
<comment><![CDATA[Descriptions to show the customer in the checkout screen. Leave empty for default names.]]></comment>
|
125 |
+
<sort_order>19</sort_order>
|
126 |
+
<show_in_default>1</show_in_default>
|
127 |
+
<show_in_website>1</show_in_website>
|
128 |
+
<show_in_store>1</show_in_store>
|
129 |
+
</title_giropay>
|
130 |
<order_description translate="label">
|
131 |
<label>Order description</label>
|
132 |
<frontend_type>text</frontend_type>
|
app/code/local/F500/Xibpayments/sql/{cardgate_setup → xibpayments_setup}/mysql4-install-0.1.0.php
RENAMED
File without changes
|
app/code/local/F500/Xibpayments/sql/{cardgate_setup → xibpayments_setup}/mysql4-uninstall-0.1.0.php
RENAMED
File without changes
|
app/code/local/F500/Xibpayments/{Model/System/Gatewayversion.php → sql/xibpayments_setup/mysql4-upgrade-1.0.3-1.0.3.php}
RENAMED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Magento
|
4 |
*
|
5 |
* NOTICE OF LICENSE
|
6 |
*
|
@@ -10,19 +10,15 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
*
|
12 |
* @category F500
|
13 |
-
* @package
|
14 |
* @author Ramon de la Fuente, <ramon@future500.nl>
|
15 |
* @copyright Copyright (c) 2009 Future500 BV, the Netherlands
|
16 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
array('value'=>'2', 'label'=>Mage::helper('xibpayments')->__('V2')),
|
26 |
-
);
|
27 |
-
}
|
28 |
-
}
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Magento Cardgate Payment extension
|
4 |
*
|
5 |
* NOTICE OF LICENSE
|
6 |
*
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
*
|
12 |
* @category F500
|
13 |
+
* @package F500_Cardgate
|
14 |
* @author Ramon de la Fuente, <ramon@future500.nl>
|
15 |
* @copyright Copyright (c) 2009 Future500 BV, the Netherlands
|
16 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
|
19 |
+
$installer = $this;
|
20 |
+
|
21 |
+
$installer->startSetup();
|
22 |
+
$installer->addAttribute('quote_payment', 'xibpayments_option', array());
|
23 |
+
$installer->addAttribute('quote_payment', 'xibpayments_bank', array());
|
24 |
+
$installer->endSetup();
|
|
|
|
|
|
|
|
app/design/frontend/default/default/template/xibpayments/form.phtml
CHANGED
@@ -16,12 +16,55 @@
|
|
16 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
?>
|
20 |
<fieldset class="form-list">
|
21 |
-
<?php $_code=$this->getMethodCode() ?>
|
22 |
<ul id="payment_form_<?php echo $_code ?>" style="display:none">
|
23 |
<li>
|
24 |
<?php echo $this->__('You will be redirected to Xib|payments, our payment processor, after you place the order.') ?>
|
25 |
</li>
|
26 |
</ul>
|
27 |
-
</fieldset>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
|
19 |
+
$banks = $this->getBanks();
|
20 |
+
$_code = $this->getMethodCode();
|
21 |
+
|
22 |
+
|
23 |
+
$options = $this->getEnabledOptions();
|
24 |
+
|
25 |
+
$selected_option = $this->getInfoData('xibpayments_option');
|
26 |
+
$selected_bank = $this->getInfoData('xibpayments_bank');
|
27 |
+
|
28 |
+
if ( in_array('', $options) ) {
|
29 |
?>
|
30 |
<fieldset class="form-list">
|
|
|
31 |
<ul id="payment_form_<?php echo $_code ?>" style="display:none">
|
32 |
<li>
|
33 |
<?php echo $this->__('You will be redirected to Xib|payments, our payment processor, after you place the order.') ?>
|
34 |
</li>
|
35 |
</ul>
|
36 |
+
</fieldset>
|
37 |
+
<?
|
38 |
+
} else {
|
39 |
+
?>
|
40 |
+
<fieldset class="form-list" onclick="document.getElementById('p_method_xibpayments').checked = true;payment.switchMethod('xibpayments');">
|
41 |
+
<ul id="payment_form_<?php echo $_code ?>">
|
42 |
+
<?php
|
43 |
+
foreach ( $options as $option ) {
|
44 |
+
?>
|
45 |
+
<li>
|
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 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>' . $this->__('Select your bank') . '</option>';
|
51 |
+
foreach ( $banks as $bankcode => $bankname ) {
|
52 |
+
if ( $bankcode === '-' ) {
|
53 |
+
$result .= '<option value="">------' . $this->__('Additional banks') . '------</option>';
|
54 |
+
} else {
|
55 |
+
$result .= '<option value="' . $bankcode . '" ' . ( $selected_bank == $bankcode ? 'selected="selected"' : '' ) . '>' . $this->__($bankname) . '</option>';
|
56 |
+
}
|
57 |
+
}
|
58 |
+
$result .= '</select>';
|
59 |
+
echo $result;
|
60 |
+
}
|
61 |
+
?>
|
62 |
+
</li>
|
63 |
+
<?php
|
64 |
+
}
|
65 |
+
?>
|
66 |
+
</ul>
|
67 |
+
</fieldset>
|
68 |
+
<?
|
69 |
+
}
|
70 |
+
?>
|
app/locale/en_US/F500_Xibpayments.csv
CHANGED
@@ -12,9 +12,18 @@
|
|
12 |
"Xib|payments Error Received:","Xib|payments Error Received:"
|
13 |
"Order total amount does not match Xib|payments gross total amount","Order total amount does not match Xib|payments gross total amount"
|
14 |
"All","All"
|
15 |
-
"creditcard","
|
16 |
-
"ideal","
|
17 |
-
"paypal","
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
"Live","Live"
|
19 |
"Test","Test"
|
20 |
"Debug","Debug"
|
@@ -34,9 +43,7 @@
|
|
34 |
"Live, Test or Debug mode (debug writes a log, see 'Debug Log' setting below)","Live, Test or Debug mode (debug writes a log, see 'Debug Log' setting below)"
|
35 |
"Site ID from your account at <a href=""merchants.xibpayments.com/"" target=""_blank"">Xib|payments</a>","Site ID from your account at <a href=""merchants.xibpayments.com/"" target=""_blank"">Xib|payments</a>"
|
36 |
"Password entered in the backend at <a href=""merchants.xibpayments.com/"" target=""_blank"">Xib|payments</a>","Password entered in the backend at <a href=""merchants.xibpayments.com/"" target=""_blank"">Xib|payments</a>"
|
37 |
-
"Link directly to a payment option","
|
|
|
38 |
"Description to show the customer in the Xib|payments screen. Variables:<br /><b>%id%</b> = Order ID","Description to show the customer in the Xib|payments screen. Variables:<br /><b>%id%</b> = Order ID"
|
39 |
"Log name for debug logging (written in /var/log). Enable System/Developer/Log for this to work.","Log name for debug logging (written in /var/log). Enable System/Developer/Log for this to work."
|
40 |
-
"Gateway version","Gateway version"
|
41 |
-
"V1","Version 1"
|
42 |
-
"V2","Version 2"
|
12 |
"Xib|payments Error Received:","Xib|payments Error Received:"
|
13 |
"Order total amount does not match Xib|payments gross total amount","Order total amount does not match Xib|payments gross total amount"
|
14 |
"All","All"
|
15 |
+
"creditcard","Creditcard"
|
16 |
+
"ideal","iDeal"
|
17 |
+
"paypal","Paypal"
|
18 |
+
"mistercash","Mister Cash"
|
19 |
+
"giropay","Giropay"
|
20 |
+
"Translation creditcard","Title creditcard"
|
21 |
+
"Translation ideal","Title ideal"
|
22 |
+
"Translation paypal","Title paypal"
|
23 |
+
"Translation mistercash","Title mistercash"
|
24 |
+
"Translation giropay","Title giropay"
|
25 |
+
"Select your bank","Select your bank"
|
26 |
+
"Additional banks","Additional banks"
|
27 |
"Live","Live"
|
28 |
"Test","Test"
|
29 |
"Debug","Debug"
|
43 |
"Live, Test or Debug mode (debug writes a log, see 'Debug Log' setting below)","Live, Test or Debug mode (debug writes a log, see 'Debug Log' setting below)"
|
44 |
"Site ID from your account at <a href=""merchants.xibpayments.com/"" target=""_blank"">Xib|payments</a>","Site ID from your account at <a href=""merchants.xibpayments.com/"" target=""_blank"">Xib|payments</a>"
|
45 |
"Password entered in the backend at <a href=""merchants.xibpayments.com/"" target=""_blank"">Xib|payments</a>","Password entered in the backend at <a href=""merchants.xibpayments.com/"" target=""_blank"">Xib|payments</a>"
|
46 |
+
"Link directly to a payment option","Options to display directly to a customer during checkout (disable ALL to show selected options)"
|
47 |
+
"Descriptions to show the customer in the checkout screen. Leave empty for default names.","Descriptions to show the customer in the checkout screen. Leave empty for default names (Creditcard, iDeal.. etc)."
|
48 |
"Description to show the customer in the Xib|payments screen. Variables:<br /><b>%id%</b> = Order ID","Description to show the customer in the Xib|payments screen. Variables:<br /><b>%id%</b> = Order ID"
|
49 |
"Log name for debug logging (written in /var/log). Enable System/Developer/Log for this to work.","Log name for debug logging (written in /var/log). Enable System/Developer/Log for this to work."
|
|
|
|
|
|
app/locale/nl_NL/F500_Xibpayments.csv
CHANGED
@@ -12,9 +12,18 @@
|
|
12 |
"Xib|payments Error Received:","Xib|payments Fout Ontvangen:"
|
13 |
"Order total amount does not match Xib|payments gross total amount","Order bedrag komt niet overeen met het Xib|payments totaal bedrag"
|
14 |
"All","Alle"
|
15 |
-
"creditcard","
|
16 |
-
"ideal","
|
17 |
-
"paypal","
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
"Live","Live"
|
19 |
"Test","Test"
|
20 |
"Debug","Debug"
|
@@ -34,9 +43,7 @@
|
|
34 |
"Live, Test or Debug mode (debug writes a log, see 'Debug Log' setting below)","Live, Test of Debug mode (debug maakt lokaal een log aan, zie 'Debug Log' instellingen hieronder)"
|
35 |
"Site ID from your account at <a href=""https://merchants.xibpayments.com/"" target=""_blank"">Xib|payments</a>","Site ID van uw account bij <a href=""https://merchants.xibpayments.com/"" target=""_blank"">Xib|payments</a>"
|
36 |
"Password entered in the backend at <a href=""https://merchants.xibpayments.com/"" target=""_blank"">Xib|payments</a>","Wachtwoord ingevoerd in de admin bij <a href=""https://merchants.xibpayments.com/"" target=""_blank"">Xib|payments</a>"
|
37 |
-
"Link directly to a payment option","
|
|
|
38 |
"Description to show the customer in the Xib|payments screen. Variables:<br /><b>%id%</b> = Order ID","Beschrijving van de transactie voor de klant in het Xib|payments scherm. Variabelen:<br /><b>%id%</b> = Order Nummer"
|
39 |
"Log name for debug logging (written in /var/log). Enable System/Developer/Log for this to work.","Log naam voor het debug log (weggeschrveen in /var/log). Activeer ook Systeem/Ontwikelaar/Log om deze functie te laten werken."
|
40 |
-
"Gateway version","Gateway versie"
|
41 |
-
"V1","Versie 1"
|
42 |
-
"V2","Versie 2"
|
12 |
"Xib|payments Error Received:","Xib|payments Fout Ontvangen:"
|
13 |
"Order total amount does not match Xib|payments gross total amount","Order bedrag komt niet overeen met het Xib|payments totaal bedrag"
|
14 |
"All","Alle"
|
15 |
+
"creditcard","Creditcard"
|
16 |
+
"ideal","iDeal"
|
17 |
+
"paypal","Paypal"
|
18 |
+
"mistercash","Mister Cash"
|
19 |
+
"giropay","Giropay"
|
20 |
+
"Translation creditcard","Titel creditcard"
|
21 |
+
"Translation ideal","Titel ideal"
|
22 |
+
"Translation paypal","Titel paypal"
|
23 |
+
"Translation mistercash","Titel mistercash"
|
24 |
+
"Translation giropay","Titel giropay"
|
25 |
+
"Select your bank","Kies uw bank"
|
26 |
+
"Additional banks","Overige banken"
|
27 |
"Live","Live"
|
28 |
"Test","Test"
|
29 |
"Debug","Debug"
|
43 |
"Live, Test or Debug mode (debug writes a log, see 'Debug Log' setting below)","Live, Test of Debug mode (debug maakt lokaal een log aan, zie 'Debug Log' instellingen hieronder)"
|
44 |
"Site ID from your account at <a href=""https://merchants.xibpayments.com/"" target=""_blank"">Xib|payments</a>","Site ID van uw account bij <a href=""https://merchants.xibpayments.com/"" target=""_blank"">Xib|payments</a>"
|
45 |
"Password entered in the backend at <a href=""https://merchants.xibpayments.com/"" target=""_blank"">Xib|payments</a>","Wachtwoord ingevoerd in de admin bij <a href=""https://merchants.xibpayments.com/"" target=""_blank"">Xib|payments</a>"
|
46 |
+
"Link directly to a payment option","Betaalmogelijkheden om direct aan de klant te tonen tijdens betaalprocedure (schakel ALL uit als u opties wilt tonen)"
|
47 |
+
"Descriptions to show the customer in the checkout screen. Leave empty for default names.","Beschrijving van de betaaloptie voor de klant. Leeg laten voor de standaard benamingen (Creditcard, iDeal.. etc)."
|
48 |
"Description to show the customer in the Xib|payments screen. Variables:<br /><b>%id%</b> = Order ID","Beschrijving van de transactie voor de klant in het Xib|payments scherm. Variabelen:<br /><b>%id%</b> = Order Nummer"
|
49 |
"Log name for debug logging (written in /var/log). Enable System/Developer/Log for this to work.","Log naam voor het debug log (weggeschrveen in /var/log). Activeer ook Systeem/Ontwikelaar/Log om deze functie te laten werken."
|
|
|
|
|
|
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>
|
@@ -12,9 +12,9 @@
|
|
12 |
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>
|
16 |
-
<time>
|
17 |
-
<contents><target name="magelocale"><dir name="en_US"><file name="F500_Xibpayments.csv" hash="
|
18 |
<compatible/>
|
19 |
<dependencies/>
|
20 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>F500_Xibpayments</name>
|
4 |
+
<version>1.0.3</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>
|
12 |
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>16:16:35</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="ec143c0ad0be4018a5046af38ed874ed"/><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="ed5e7f8c349bdcbbea9a75737ebc9aa4"/><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="4abf2513e3dac4f478cea837515ef9c9"/></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>
|