Eximbay - Version 2.0.4

Version Notes

Added following features:
-API version
-Allow Payment from applicable countries
-Allow Payment from Specific countries

Download this release

Release Info

Developer KRPartners Co.,Ltd
Extension Eximbay
Version 2.0.4
Comparing to
See all releases


Code changes from version 2.0.3 to 2.0.4

app/code/community/Krp/Eximbay/Model/Abstract.php CHANGED
@@ -102,7 +102,55 @@ abstract class Krp_Eximbay_Model_Abstract extends Mage_Payment_Model_Method_Abst
102
 
103
  return $this;
104
  }
105
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
  /**
107
  * Return url of payment method
108
  *
@@ -110,12 +158,23 @@ abstract class Krp_Eximbay_Model_Abstract extends Mage_Payment_Model_Method_Abst
110
  */
111
  public function getUrl()
112
  {
113
- $test_mode = Mage::getStoreConfig('payment/'.$this->getPaymentMethodCode().'/test');
114
- if($test_mode){
115
- return 'https://www.test.eximbay.com/web/payment2.0/payment_real.do';
 
 
 
 
 
 
 
116
  }else{
117
- return 'https://www.eximbay.com/web/payment2.0/payment_real.do';
118
- }
 
 
 
 
119
  }
120
 
121
  /**
@@ -181,6 +240,28 @@ abstract class Krp_Eximbay_Model_Abstract extends Mage_Payment_Model_Method_Abst
181
  }
182
  }
183
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
184
  /**
185
  * prepare params array to send it to gateway page via POST
186
  *
@@ -197,10 +278,8 @@ abstract class Krp_Eximbay_Model_Abstract extends Mage_Payment_Model_Method_Abst
197
  $email = $this->getOrder()->getCustomerEmail();
198
  }
199
  $amt = round($this->getOrder()->getGrandTotal(), 2);
200
- $enc_secretKey = Mage::getStoreConfig('payment/'.$this->getPaymentMethodCode().'/secret_key');
201
- $enc_mid = Mage::getStoreConfig('payment/'.$this->getPaymentMethodCode().'/mid');
202
- $secretKey = Mage::helper('core')->decrypt($enc_secretKey);
203
- $mid = Mage::helper('core')->decrypt($enc_mid);
204
  $ref = $order_id;
205
  //$cur = Mage::getStoreConfig('payment/eximbay_acc/currency');
206
  $displayType = $this->getDisplayType();
@@ -214,12 +293,20 @@ abstract class Krp_Eximbay_Model_Abstract extends Mage_Payment_Model_Method_Abst
214
  //$fgkey = md5($linkBuf);
215
  $fgkey = hash("sha256", $linkBuf);
216
 
217
- $total = 0;
 
 
 
 
 
 
 
 
218
 
219
  $params = array(
220
- 'ver' => '170',
221
  'mid' => $mid,
222
- 'txntype' => 'SALE',
223
  'displaytype' => $displayType,
224
  'charset' => 'UTF-8',
225
  'ref' => $ref,
@@ -236,9 +323,15 @@ abstract class Krp_Eximbay_Model_Abstract extends Mage_Payment_Model_Method_Abst
236
  'param1' => '',
237
  'param2' => '',
238
  'param3' => '',
 
 
 
 
239
  'visitorid' => '',
 
240
  'autoclose' => 'Y',
241
  'directToReturn' => 'N',
 
242
  'paymethod' => $this->_paymentMethod,
243
  'dm_billTo_city' => $billing->getCity(),
244
  'dm_billTo_country' => $billing->getCountry_id(),
@@ -270,7 +363,7 @@ abstract class Krp_Eximbay_Model_Abstract extends Mage_Payment_Model_Method_Abst
270
  foreach ($items as $itemId => $item)
271
  {
272
  $params['dm_item_'.$item_loop.'_product'] = $item->getName();
273
- $params['dm_item_'.$item_loop.'_unitPrice'] = $item->getPrice();
274
  $params['dm_item_'.$item_loop.'_quantity'] = $item->getQtyToInvoice();
275
 
276
  //if($item_loop > 0)
102
 
103
  return $this;
104
  }
105
+
106
+ /**
107
+ * Detect Mobile Device
108
+ *
109
+ * @return boolean
110
+ */
111
+ public function isMobile()
112
+ {
113
+
114
+ Mage::log("ISMOBILE : ".$_SERVER['HTTP_USER_AGENT'], null, 'eximbay'.Mage::getModel('core/date')->date('Y-m-d').'.log');
115
+
116
+ $regex_match = "/(nokia|iphone|android|motorola|^mot\-|softbank|foma|docomo|kddi|up\.browser|up\.link|"
117
+ . "htc|dopod|blazer|netfront|helio|hosin|huawei|novarra|CoolPad|webos|techfaith|palmsource|"
118
+ . "blackberry|alcatel|amoi|ktouch|nexian|samsung|^sam\-|s[cg]h|^lge|ericsson|philips|sagem|wellcom|bunjalloo|maui|"
119
+ . "symbian|smartphone|mmp|midp|wap|phone|windows ce|iemobile|^spice|^bird|^zte\-|longcos|pantech|gionee|^sie\-|portalmmm|"
120
+ . "jig\s browser|hiptop|^ucweb|^benq|haier|^lct|opera\s*mobi|opera\*mini|320x320|240x320|176x220"
121
+ . ")/i";
122
+
123
+ if (preg_match($regex_match, strtolower($_SERVER['HTTP_USER_AGENT']))) {
124
+ return TRUE;
125
+ }
126
+
127
+ if ((strpos(strtolower($_SERVER['HTTP_ACCEPT']),'application/vnd.wap.xhtml+xml') > 0) or ((isset($_SERVER['HTTP_X_WAP_PROFILE']) or isset($_SERVER['HTTP_PROFILE'])))) {
128
+ return TRUE;
129
+ }
130
+
131
+ $mobile_ua = strtolower(substr($_SERVER['HTTP_USER_AGENT'], 0, 4));
132
+ $mobile_agents = array(
133
+ 'w3c ','acs-','alav','alca','amoi','audi','avan','benq','bird','blac',
134
+ 'blaz','brew','cell','cldc','cmd-','dang','doco','eric','hipt','inno',
135
+ 'ipaq','java','jigs','kddi','keji','leno','lg-c','lg-d','lg-g','lge-',
136
+ 'maui','maxo','midp','mits','mmef','mobi','mot-','moto','mwbp','nec-',
137
+ 'newt','noki','oper','palm','pana','pant','phil','play','port','prox',
138
+ 'qwap','sage','sams','sany','sch-','sec-','send','seri','sgh-','shar',
139
+ 'sie-','siem','smal','smar','sony','sph-','symb','t-mo','teli','tim-',
140
+ 'tosh','tsm-','upg1','upsi','vk-v','voda','wap-','wapa','wapi','wapp',
141
+ 'wapr','webc','winw','winw','xda ','xda-');
142
+
143
+ if (in_array($mobile_ua,$mobile_agents)) {
144
+ return TRUE;
145
+ }
146
+
147
+ if (isset($_SERVER['ALL_HTTP']) && strpos(strtolower($_SERVER['ALL_HTTP']),'OperaMini') > 0) {
148
+ return TRUE;
149
+ }
150
+
151
+ return FALSE;
152
+ }
153
+
154
  /**
155
  * Return url of payment method
156
  *
158
  */
159
  public function getUrl()
160
  {
161
+ if($this->getAPIVersion() == '170' || $this->getAPIVersion() == '180'){
162
+ if($this->isTestMode()){
163
+ if($this->isMobile())
164
+ return 'https://www.test.eximbay.com/web/mpayment/payment_real.do';
165
+ return 'https://www.test.eximbay.com/web/payment2.0/payment_real.do';
166
+ }else{
167
+ if($this->isMobile())
168
+ return 'https://www.eximbay.com/web/mpayment/payment_real.do';
169
+ return 'https://www.eximbay.com/web/payment2.0/payment_real.do';
170
+ }
171
  }else{
172
+ if($this->isTestMode()){
173
+ return 'https://secureapi.test.eximbay.com/Gateway/BasicProcessor.krp';
174
+ }else{
175
+ return 'https://secureapi.eximbay.com/Gateway/BasicProcessor.krp';
176
+ }
177
+ }
178
  }
179
 
180
  /**
240
  }
241
  }
242
 
243
+ /**
244
+ * Return API version
245
+ *
246
+ * @return string
247
+ */
248
+ public function getAPIVersion()
249
+ {
250
+ $version = Mage::getStoreConfig('payment/'.$this->getPaymentMethodCode().'/ver');
251
+ return $version;
252
+ }
253
+
254
+ /**
255
+ * Return working mode (test or production)
256
+ *
257
+ * @return string
258
+ */
259
+ public function isTestMode()
260
+ {
261
+ $mode = Mage::getStoreConfig('payment/'.$this->getPaymentMethodCode().'/test');
262
+ return $mode;
263
+ }
264
+
265
  /**
266
  * prepare params array to send it to gateway page via POST
267
  *
278
  $email = $this->getOrder()->getCustomerEmail();
279
  }
280
  $amt = round($this->getOrder()->getGrandTotal(), 2);
281
+ $secretKey = Mage::getStoreConfig('payment/'.$this->getPaymentMethodCode().'/secret_key');
282
+ $mid = Mage::getStoreConfig('payment/'.$this->getPaymentMethodCode().'/mid');
 
 
283
  $ref = $order_id;
284
  //$cur = Mage::getStoreConfig('payment/eximbay_acc/currency');
285
  $displayType = $this->getDisplayType();
293
  //$fgkey = md5($linkBuf);
294
  $fgkey = hash("sha256", $linkBuf);
295
 
296
+ $txntype = 'SALE';
297
+ $ostype = '';
298
+ if($this->getAPIVersion() == '200'){
299
+ $txntype = 'PAYMENT';
300
+ $ostype = 'P';
301
+ if($this->isMobile()){
302
+ $ostype = 'M';
303
+ }
304
+ }
305
 
306
  $params = array(
307
+ 'ver' => $this->getAPIVersion(),
308
  'mid' => $mid,
309
+ 'txntype' => $txntype,
310
  'displaytype' => $displayType,
311
  'charset' => 'UTF-8',
312
  'ref' => $ref,
323
  'param1' => '',
324
  'param2' => '',
325
  'param3' => '',
326
+ 'title1' => '',
327
+ 'title2' => '',
328
+ 'title3' => '',
329
+ 'title4' => '',
330
  'visitorid' => '',
331
+ 'partnercode' => '',
332
  'autoclose' => 'Y',
333
  'directToReturn' => 'N',
334
+ 'ostype' => $ostype,
335
  'paymethod' => $this->_paymentMethod,
336
  'dm_billTo_city' => $billing->getCity(),
337
  'dm_billTo_country' => $billing->getCountry_id(),
363
  foreach ($items as $itemId => $item)
364
  {
365
  $params['dm_item_'.$item_loop.'_product'] = $item->getName();
366
+ $params['dm_item_'.$item_loop.'_unitPrice'] = number_format($item->getPrice(), 2, '.', ''); //round($item->getPrice(), 2);
367
  $params['dm_item_'.$item_loop.'_quantity'] = $item->getQtyToInvoice();
368
 
369
  //if($item_loop > 0)
app/code/community/Krp/Eximbay/Model/Event.php CHANGED
@@ -245,8 +245,7 @@ class Krp_Eximbay_Model_Event
245
  }
246
 
247
  if($params['rescode'] == '0000'){
248
- $enc_secretKey = Mage::getStoreConfig('payment/'.$this->_order->getPayment()->getMethodInstance()->getCode().'/secret_key');
249
- $secretKey = Mage::helper('core')->decrypt($enc_secretKey);
250
  if (empty($secretKey)) {
251
  Mage::log('Exception - Secretkey is empty.', null, 'eximbay'.Mage::getModel('core/date')->date('Y-m-d').'.log');
252
  Mage::throwException('Secretkey is empty.');
245
  }
246
 
247
  if($params['rescode'] == '0000'){
248
+ $secretKey = Mage::getStoreConfig('payment/'.$this->_order->getPayment()->getMethodInstance()->getCode().'/secret_key');
 
249
  if (empty($secretKey)) {
250
  Mage::log('Exception - Secretkey is empty.', null, 'eximbay'.Mage::getModel('core/date')->date('Y-m-d').'.log');
251
  Mage::throwException('Secretkey is empty.');
app/code/community/Krp/Eximbay/Model/Version.php ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Eximbay, Online Payment Module
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the GNU General Public License (GPL 3.0)
8
+ * that is available through the world-wide-web at this URL:
9
+ * http://opensource.org/licenses/GPL-3.0 or http://www.gnu.org/copyleft/gpl.html
10
+ *
11
+ * DISCLAIMER
12
+ *
13
+ * Do not edit or add to this file if you wish to upgrade Eximbay module to newer
14
+ * versions in the future. If you wish to customize Eximbay module for your
15
+ * needs please refer to https://www.eximbay.com for more information.
16
+ *
17
+ * @category Krp
18
+ * @package Krp_Eximbay
19
+ * @copyright Copyright (c) 2014 KRPartners Co.,Ltd (https://www.eximbay.com)
20
+ * @license http://opensource.org/licenses/GPL-3.0 GNU General Public License (GPL 3.0)
21
+ */
22
+
23
+ class Krp_Eximbay_Model_Version
24
+ {
25
+
26
+ /**
27
+ * Options getter
28
+ *
29
+ * @return array
30
+ */
31
+ public function toOptionArray()
32
+ {
33
+ return array(
34
+ array('value' => 170, 'label'=>Mage::helper('eximbay')->__('170')),
35
+ array('value' => 180, 'label'=>Mage::helper('eximbay')->__('180')),
36
+ array('value' => 200, 'label'=>Mage::helper('eximbay')->__('200')),
37
+ );
38
+ }
39
+
40
+ }
41
+
42
+ ?>
app/code/community/Krp/Eximbay/controllers/ProcessingController.php CHANGED
@@ -125,7 +125,7 @@ class Krp_Eximbay_ProcessingController extends Mage_Core_Controller_Front_Action
125
 
126
  Mage::log('rescode : '.$rescode.' resmsg : '.$resmsg, null, 'eximbay'.Mage::getModel('core/date')->date('Y-m-d').'.log');
127
 
128
- if($rescode == 'XXXX'){
129
  $message = $event->cancelEvent();
130
  }else{
131
  $message = $resmsg;
125
 
126
  Mage::log('rescode : '.$rescode.' resmsg : '.$resmsg, null, 'eximbay'.Mage::getModel('core/date')->date('Y-m-d').'.log');
127
 
128
+ if($rescode == 'XXXX' || $rescode == ''){
129
  $message = $event->cancelEvent();
130
  }else{
131
  $message = $resmsg;
app/code/community/Krp/Eximbay/etc/system.xml CHANGED
@@ -57,9 +57,8 @@
57
  <mid translate="label">
58
  <label>Merchant ID</label>
59
  <comment>Insert a merchant id provided by Eximbay</comment>
60
- <frontend_type>obscure</frontend_type>
61
  <config_path>payment/eximbay_acc/mid</config_path>
62
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
63
  <sort_order>3</sort_order>
64
  <show_in_default>1</show_in_default>
65
  <show_in_website>1</show_in_website>
@@ -68,9 +67,8 @@
68
  <secret_key translate="label">
69
  <label>Secret Key</label>
70
  <comment>Insert a secret key provided by Eximbay</comment>
71
- <frontend_type>obscure</frontend_type>
72
  <config_path>payment/eximbay_acc/secret_key</config_path>
73
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
74
  <sort_order>4</sort_order>
75
  <show_in_default>1</show_in_default>
76
  <show_in_website>1</show_in_website>
@@ -100,13 +98,24 @@
100
  <show_in_website>1</show_in_website>
101
  <show_in_store>0</show_in_store>
102
  </test>
 
 
 
 
 
 
 
 
 
 
 
103
  <dtype translate="label">
104
  <label>Payment Page Type</label>
105
  <comment>Choose your payment page type, IFrame or Popup.</comment>
106
  <frontend_type>select</frontend_type>
107
  <config_path>payment/eximbay_acc/dtype</config_path>
108
  <source_model>eximbay/popupiframe</source_model>
109
- <sort_order>7</sort_order>
110
  <show_in_default>1</show_in_default>
111
  <show_in_website>1</show_in_website>
112
  <show_in_store>0</show_in_store>
@@ -129,14 +138,14 @@
129
  <show_in_website>1</show_in_website>
130
  <show_in_store>1</show_in_store>
131
  </cctypes>-->
132
- <!--<allowspecific translate="label">
133
  <label>Payment from applicable countries</label>
134
  <frontend_type>allowspecific</frontend_type>
135
  <sort_order>10</sort_order>
136
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
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
  </allowspecific>
141
  <specificcountry translate="label">
142
  <label>Payment from Specific countries</label>
@@ -145,9 +154,8 @@
145
  <source_model>adminhtml/system_config_source_country</source_model>
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
  </specificcountry>
150
- -->
151
  </fields>
152
  </eximbay_acc>
153
  <eximbay_ppl translate="label" module="eximbay">
@@ -182,9 +190,8 @@
182
  <mid translate="label">
183
  <label>Merchant ID</label>
184
  <comment>Insert a merchant id provided by Eximbay</comment>
185
- <frontend_type>obscure</frontend_type>
186
  <config_path>payment/eximbay_ppl/mid</config_path>
187
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
188
  <sort_order>3</sort_order>
189
  <show_in_default>1</show_in_default>
190
  <show_in_website>1</show_in_website>
@@ -193,9 +200,8 @@
193
  <secret_key translate="label">
194
  <label>Secret Key</label>
195
  <comment>Insert a secret key provided by Eximbay</comment>
196
- <frontend_type>obscure</frontend_type>
197
  <config_path>payment/eximbay_ppl/secret_key</config_path>
198
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
199
  <sort_order>4</sort_order>
200
  <show_in_default>1</show_in_default>
201
  <show_in_website>1</show_in_website>
@@ -225,17 +231,46 @@
225
  <show_in_website>1</show_in_website>
226
  <show_in_store>0</show_in_store>
227
  </test>
 
 
 
 
 
 
 
 
 
 
 
228
  <dtype translate="label">
229
  <label>Payment Page Type</label>
230
  <comment>Choose your payment page type, IFrame or Popup.</comment>
231
  <frontend_type>select</frontend_type>
232
  <config_path>payment/eximbay_ppl/dtype</config_path>
233
  <source_model>eximbay/popup</source_model>
234
- <sort_order>7</sort_order>
235
  <show_in_default>0</show_in_default>
236
  <show_in_website>0</show_in_website>
237
  <show_in_store>0</show_in_store>
238
  </dtype>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
239
  </fields>
240
  </eximbay_ppl>
241
  <eximbay_cup translate="label" module="eximbay">
@@ -270,9 +305,8 @@
270
  <mid translate="label">
271
  <label>Merchant ID</label>
272
  <comment>Insert a merchant id provided by Eximbay</comment>
273
- <frontend_type>obscure</frontend_type>
274
  <config_path>payment/eximbay_cup/mid</config_path>
275
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
276
  <sort_order>3</sort_order>
277
  <show_in_default>1</show_in_default>
278
  <show_in_website>1</show_in_website>
@@ -281,9 +315,8 @@
281
  <secret_key translate="label">
282
  <label>Secret Key</label>
283
  <comment>Insert a secret key provided by Eximbay</comment>
284
- <frontend_type>obscure</frontend_type>
285
  <config_path>payment/eximbay_cup/secret_key</config_path>
286
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
287
  <sort_order>4</sort_order>
288
  <show_in_default>1</show_in_default>
289
  <show_in_website>1</show_in_website>
@@ -313,17 +346,46 @@
313
  <show_in_website>1</show_in_website>
314
  <show_in_store>0</show_in_store>
315
  </test>
 
 
 
 
 
 
 
 
 
 
 
316
  <dtype translate="label">
317
  <label>Payment Page Type</label>
318
  <comment>Choose your payment page type, IFrame or Popup.</comment>
319
  <frontend_type>select</frontend_type>
320
  <config_path>payment/eximbay_cup/dtype</config_path>
321
  <source_model>eximbay/popup</source_model>
322
- <sort_order>7</sort_order>
323
  <show_in_default>0</show_in_default>
324
  <show_in_website>0</show_in_website>
325
  <show_in_store>0</show_in_store>
326
  </dtype>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
327
  </fields>
328
  </eximbay_cup>
329
  <eximbay_alp translate="label" module="eximbay">
@@ -358,9 +420,8 @@
358
  <mid translate="label">
359
  <label>Merchant ID</label>
360
  <comment>Insert a merchant id provided by Eximbay</comment>
361
- <frontend_type>obscure</frontend_type>
362
  <config_path>payment/eximbay_alp/mid</config_path>
363
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
364
  <sort_order>3</sort_order>
365
  <show_in_default>1</show_in_default>
366
  <show_in_website>1</show_in_website>
@@ -369,9 +430,8 @@
369
  <secret_key translate="label">
370
  <label>Secret Key</label>
371
  <comment>Insert a secret key provided by Eximbay</comment>
372
- <frontend_type>obscure</frontend_type>
373
  <config_path>payment/eximbay_alp/secret_key</config_path>
374
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
375
  <sort_order>4</sort_order>
376
  <show_in_default>1</show_in_default>
377
  <show_in_website>1</show_in_website>
@@ -401,17 +461,46 @@
401
  <show_in_website>1</show_in_website>
402
  <show_in_store>0</show_in_store>
403
  </test>
 
 
 
 
 
 
 
 
 
 
 
404
  <dtype translate="label">
405
  <label>Payment Page Type</label>
406
  <comment>Choose your payment page type, IFrame or Popup.</comment>
407
  <frontend_type>select</frontend_type>
408
  <config_path>payment/eximbay_alp/dtype</config_path>
409
  <source_model>eximbay/popup</source_model>
410
- <sort_order>7</sort_order>
411
  <show_in_default>0</show_in_default>
412
  <show_in_website>0</show_in_website>
413
  <show_in_store>0</show_in_store>
414
  </dtype>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
415
  </fields>
416
  </eximbay_alp>
417
  <eximbay_tnp translate="label" module="eximbay">
@@ -446,9 +535,8 @@
446
  <mid translate="label">
447
  <label>Merchant ID</label>
448
  <comment>Insert a merchant id provided by Eximbay</comment>
449
- <frontend_type>obscure</frontend_type>
450
  <config_path>payment/eximbay_tnp/mid</config_path>
451
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
452
  <sort_order>3</sort_order>
453
  <show_in_default>1</show_in_default>
454
  <show_in_website>1</show_in_website>
@@ -457,9 +545,8 @@
457
  <secret_key translate="label">
458
  <label>Secret Key</label>
459
  <comment>Insert a secret key provided by Eximbay</comment>
460
- <frontend_type>obscure</frontend_type>
461
  <config_path>payment/eximbay_tnp/secret_key</config_path>
462
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
463
  <sort_order>4</sort_order>
464
  <show_in_default>1</show_in_default>
465
  <show_in_website>1</show_in_website>
@@ -489,17 +576,46 @@
489
  <show_in_website>1</show_in_website>
490
  <show_in_store>0</show_in_store>
491
  </test>
 
 
 
 
 
 
 
 
 
 
 
492
  <dtype translate="label">
493
  <label>Payment Page Type</label>
494
  <comment>Choose your payment page type, IFrame or Popup.</comment>
495
  <frontend_type>select</frontend_type>
496
  <config_path>payment/eximbay_tnp/dtype</config_path>
497
  <source_model>eximbay/popup</source_model>
498
- <sort_order>7</sort_order>
499
  <show_in_default>0</show_in_default>
500
  <show_in_website>0</show_in_website>
501
  <show_in_store>0</show_in_store>
502
  </dtype>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
503
  </fields>
504
  </eximbay_tnp>
505
  <eximbay_nnb translate="label" module="eximbay">
@@ -534,9 +650,8 @@
534
  <mid translate="label">
535
  <label>Merchant ID</label>
536
  <comment>Insert a merchant id provided by Eximbay</comment>
537
- <frontend_type>obscure</frontend_type>
538
  <config_path>payment/eximbay_nnb/mid</config_path>
539
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
540
  <sort_order>3</sort_order>
541
  <show_in_default>1</show_in_default>
542
  <show_in_website>1</show_in_website>
@@ -545,9 +660,8 @@
545
  <secret_key translate="label">
546
  <label>Secret Key</label>
547
  <comment>Insert a secret key provided by Eximbay</comment>
548
- <frontend_type>obscure</frontend_type>
549
  <config_path>payment/eximbay_nnb/secret_key</config_path>
550
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
551
  <sort_order>4</sort_order>
552
  <show_in_default>1</show_in_default>
553
  <show_in_website>1</show_in_website>
@@ -577,17 +691,46 @@
577
  <show_in_website>1</show_in_website>
578
  <show_in_store>0</show_in_store>
579
  </test>
 
 
 
 
 
 
 
 
 
 
 
580
  <dtype translate="label">
581
  <label>Payment Page Type</label>
582
  <comment>Choose your payment page type, IFrame or Popup.</comment>
583
  <frontend_type>select</frontend_type>
584
  <config_path>payment/eximbay_nnb/dtype</config_path>
585
  <source_model>eximbay/popup</source_model>
586
- <sort_order>7</sort_order>
587
  <show_in_default>0</show_in_default>
588
  <show_in_website>0</show_in_website>
589
  <show_in_store>0</show_in_store>
590
  </dtype>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
591
  </fields>
592
  </eximbay_nnb>
593
  <eximbay_ecn translate="label" module="eximbay">
@@ -622,9 +765,8 @@
622
  <mid translate="label">
623
  <label>Merchant ID</label>
624
  <comment>Insert a merchant id provided by Eximbay</comment>
625
- <frontend_type>obscure</frontend_type>
626
  <config_path>payment/eximbay_ecn/mid</config_path>
627
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
628
  <sort_order>3</sort_order>
629
  <show_in_default>1</show_in_default>
630
  <show_in_website>1</show_in_website>
@@ -633,9 +775,8 @@
633
  <secret_key translate="label">
634
  <label>Secret Key</label>
635
  <comment>Insert a secret key provided by Eximbay</comment>
636
- <frontend_type>obscure</frontend_type>
637
  <config_path>payment/eximbay_ecn/secret_key</config_path>
638
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
639
  <sort_order>4</sort_order>
640
  <show_in_default>1</show_in_default>
641
  <show_in_website>1</show_in_website>
@@ -665,17 +806,46 @@
665
  <show_in_website>1</show_in_website>
666
  <show_in_store>0</show_in_store>
667
  </test>
 
 
 
 
 
 
 
 
 
 
 
668
  <dtype translate="label">
669
  <label>Payment Page Type</label>
670
  <comment>Choose your payment page type, IFrame or Popup.</comment>
671
  <frontend_type>select</frontend_type>
672
  <config_path>payment/eximbay_ecn/dtype</config_path>
673
  <source_model>eximbay/popupiframe</source_model>
674
- <sort_order>7</sort_order>
675
  <show_in_default>1</show_in_default>
676
  <show_in_website>1</show_in_website>
677
  <show_in_store>0</show_in_store>
678
  </dtype>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
679
  </fields>
680
  </eximbay_ecn>
681
  </groups>
57
  <mid translate="label">
58
  <label>Merchant ID</label>
59
  <comment>Insert a merchant id provided by Eximbay</comment>
60
+ <frontend_type>text</frontend_type>
61
  <config_path>payment/eximbay_acc/mid</config_path>
 
62
  <sort_order>3</sort_order>
63
  <show_in_default>1</show_in_default>
64
  <show_in_website>1</show_in_website>
67
  <secret_key translate="label">
68
  <label>Secret Key</label>
69
  <comment>Insert a secret key provided by Eximbay</comment>
70
+ <frontend_type>text</frontend_type>
71
  <config_path>payment/eximbay_acc/secret_key</config_path>
 
72
  <sort_order>4</sort_order>
73
  <show_in_default>1</show_in_default>
74
  <show_in_website>1</show_in_website>
98
  <show_in_website>1</show_in_website>
99
  <show_in_store>0</show_in_store>
100
  </test>
101
+ <ver translate="label">
102
+ <label>API Version</label>
103
+ <comment>Insert an Eximbay API version</comment>
104
+ <frontend_type>select</frontend_type>
105
+ <config_path>payment/eximbay_acc/ver</config_path>
106
+ <source_model>eximbay/version</source_model>
107
+ <sort_order>7</sort_order>
108
+ <show_in_default>1</show_in_default>
109
+ <show_in_website>1</show_in_website>
110
+ <show_in_store>0</show_in_store>
111
+ </ver>
112
  <dtype translate="label">
113
  <label>Payment Page Type</label>
114
  <comment>Choose your payment page type, IFrame or Popup.</comment>
115
  <frontend_type>select</frontend_type>
116
  <config_path>payment/eximbay_acc/dtype</config_path>
117
  <source_model>eximbay/popupiframe</source_model>
118
+ <sort_order>8</sort_order>
119
  <show_in_default>1</show_in_default>
120
  <show_in_website>1</show_in_website>
121
  <show_in_store>0</show_in_store>
138
  <show_in_website>1</show_in_website>
139
  <show_in_store>1</show_in_store>
140
  </cctypes>-->
141
+ <allowspecific translate="label">
142
  <label>Payment from applicable countries</label>
143
  <frontend_type>allowspecific</frontend_type>
144
  <sort_order>10</sort_order>
145
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
146
  <show_in_default>1</show_in_default>
147
  <show_in_website>1</show_in_website>
148
+ <show_in_store>0</show_in_store>
149
  </allowspecific>
150
  <specificcountry translate="label">
151
  <label>Payment from Specific countries</label>
154
  <source_model>adminhtml/system_config_source_country</source_model>
155
  <show_in_default>1</show_in_default>
156
  <show_in_website>1</show_in_website>
157
+ <show_in_store>0</show_in_store>
158
  </specificcountry>
 
159
  </fields>
160
  </eximbay_acc>
161
  <eximbay_ppl translate="label" module="eximbay">
190
  <mid translate="label">
191
  <label>Merchant ID</label>
192
  <comment>Insert a merchant id provided by Eximbay</comment>
193
+ <frontend_type>text</frontend_type>
194
  <config_path>payment/eximbay_ppl/mid</config_path>
 
195
  <sort_order>3</sort_order>
196
  <show_in_default>1</show_in_default>
197
  <show_in_website>1</show_in_website>
200
  <secret_key translate="label">
201
  <label>Secret Key</label>
202
  <comment>Insert a secret key provided by Eximbay</comment>
203
+ <frontend_type>text</frontend_type>
204
  <config_path>payment/eximbay_ppl/secret_key</config_path>
 
205
  <sort_order>4</sort_order>
206
  <show_in_default>1</show_in_default>
207
  <show_in_website>1</show_in_website>
231
  <show_in_website>1</show_in_website>
232
  <show_in_store>0</show_in_store>
233
  </test>
234
+ <ver translate="label">
235
+ <label>API Version</label>
236
+ <comment>Insert an Eximbay API version</comment>
237
+ <frontend_type>select</frontend_type>
238
+ <config_path>payment/eximbay_ppl/ver</config_path>
239
+ <source_model>eximbay/version</source_model>
240
+ <sort_order>7</sort_order>
241
+ <show_in_default>1</show_in_default>
242
+ <show_in_website>1</show_in_website>
243
+ <show_in_store>0</show_in_store>
244
+ </ver>
245
  <dtype translate="label">
246
  <label>Payment Page Type</label>
247
  <comment>Choose your payment page type, IFrame or Popup.</comment>
248
  <frontend_type>select</frontend_type>
249
  <config_path>payment/eximbay_ppl/dtype</config_path>
250
  <source_model>eximbay/popup</source_model>
251
+ <sort_order>8</sort_order>
252
  <show_in_default>0</show_in_default>
253
  <show_in_website>0</show_in_website>
254
  <show_in_store>0</show_in_store>
255
  </dtype>
256
+ <allowspecific translate="label">
257
+ <label>Payment from applicable countries</label>
258
+ <frontend_type>allowspecific</frontend_type>
259
+ <sort_order>10</sort_order>
260
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
261
+ <show_in_default>1</show_in_default>
262
+ <show_in_website>1</show_in_website>
263
+ <show_in_store>0</show_in_store>
264
+ </allowspecific>
265
+ <specificcountry translate="label">
266
+ <label>Payment from Specific countries</label>
267
+ <frontend_type>multiselect</frontend_type>
268
+ <sort_order>11</sort_order>
269
+ <source_model>adminhtml/system_config_source_country</source_model>
270
+ <show_in_default>1</show_in_default>
271
+ <show_in_website>1</show_in_website>
272
+ <show_in_store>0</show_in_store>
273
+ </specificcountry>
274
  </fields>
275
  </eximbay_ppl>
276
  <eximbay_cup translate="label" module="eximbay">
305
  <mid translate="label">
306
  <label>Merchant ID</label>
307
  <comment>Insert a merchant id provided by Eximbay</comment>
308
+ <frontend_type>text</frontend_type>
309
  <config_path>payment/eximbay_cup/mid</config_path>
 
310
  <sort_order>3</sort_order>
311
  <show_in_default>1</show_in_default>
312
  <show_in_website>1</show_in_website>
315
  <secret_key translate="label">
316
  <label>Secret Key</label>
317
  <comment>Insert a secret key provided by Eximbay</comment>
318
+ <frontend_type>text</frontend_type>
319
  <config_path>payment/eximbay_cup/secret_key</config_path>
 
320
  <sort_order>4</sort_order>
321
  <show_in_default>1</show_in_default>
322
  <show_in_website>1</show_in_website>
346
  <show_in_website>1</show_in_website>
347
  <show_in_store>0</show_in_store>
348
  </test>
349
+ <ver translate="label">
350
+ <label>API Version</label>
351
+ <comment>Insert an Eximbay API version</comment>
352
+ <frontend_type>select</frontend_type>
353
+ <config_path>payment/eximbay_cup/ver</config_path>
354
+ <source_model>eximbay/version</source_model>
355
+ <sort_order>7</sort_order>
356
+ <show_in_default>1</show_in_default>
357
+ <show_in_website>1</show_in_website>
358
+ <show_in_store>0</show_in_store>
359
+ </ver>
360
  <dtype translate="label">
361
  <label>Payment Page Type</label>
362
  <comment>Choose your payment page type, IFrame or Popup.</comment>
363
  <frontend_type>select</frontend_type>
364
  <config_path>payment/eximbay_cup/dtype</config_path>
365
  <source_model>eximbay/popup</source_model>
366
+ <sort_order>8</sort_order>
367
  <show_in_default>0</show_in_default>
368
  <show_in_website>0</show_in_website>
369
  <show_in_store>0</show_in_store>
370
  </dtype>
371
+ <allowspecific translate="label">
372
+ <label>Payment from applicable countries</label>
373
+ <frontend_type>allowspecific</frontend_type>
374
+ <sort_order>10</sort_order>
375
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
376
+ <show_in_default>1</show_in_default>
377
+ <show_in_website>1</show_in_website>
378
+ <show_in_store>0</show_in_store>
379
+ </allowspecific>
380
+ <specificcountry translate="label">
381
+ <label>Payment from Specific countries</label>
382
+ <frontend_type>multiselect</frontend_type>
383
+ <sort_order>11</sort_order>
384
+ <source_model>adminhtml/system_config_source_country</source_model>
385
+ <show_in_default>1</show_in_default>
386
+ <show_in_website>1</show_in_website>
387
+ <show_in_store>0</show_in_store>
388
+ </specificcountry>
389
  </fields>
390
  </eximbay_cup>
391
  <eximbay_alp translate="label" module="eximbay">
420
  <mid translate="label">
421
  <label>Merchant ID</label>
422
  <comment>Insert a merchant id provided by Eximbay</comment>
423
+ <frontend_type>text</frontend_type>
424
  <config_path>payment/eximbay_alp/mid</config_path>
 
425
  <sort_order>3</sort_order>
426
  <show_in_default>1</show_in_default>
427
  <show_in_website>1</show_in_website>
430
  <secret_key translate="label">
431
  <label>Secret Key</label>
432
  <comment>Insert a secret key provided by Eximbay</comment>
433
+ <frontend_type>text</frontend_type>
434
  <config_path>payment/eximbay_alp/secret_key</config_path>
 
435
  <sort_order>4</sort_order>
436
  <show_in_default>1</show_in_default>
437
  <show_in_website>1</show_in_website>
461
  <show_in_website>1</show_in_website>
462
  <show_in_store>0</show_in_store>
463
  </test>
464
+ <ver translate="label">
465
+ <label>API Version</label>
466
+ <comment>Insert an Eximbay API version</comment>
467
+ <frontend_type>select</frontend_type>
468
+ <config_path>payment/eximbay_alp/ver</config_path>
469
+ <source_model>eximbay/version</source_model>
470
+ <sort_order>7</sort_order>
471
+ <show_in_default>1</show_in_default>
472
+ <show_in_website>1</show_in_website>
473
+ <show_in_store>0</show_in_store>
474
+ </ver>
475
  <dtype translate="label">
476
  <label>Payment Page Type</label>
477
  <comment>Choose your payment page type, IFrame or Popup.</comment>
478
  <frontend_type>select</frontend_type>
479
  <config_path>payment/eximbay_alp/dtype</config_path>
480
  <source_model>eximbay/popup</source_model>
481
+ <sort_order>8</sort_order>
482
  <show_in_default>0</show_in_default>
483
  <show_in_website>0</show_in_website>
484
  <show_in_store>0</show_in_store>
485
  </dtype>
486
+ <allowspecific translate="label">
487
+ <label>Payment from applicable countries</label>
488
+ <frontend_type>allowspecific</frontend_type>
489
+ <sort_order>10</sort_order>
490
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
491
+ <show_in_default>1</show_in_default>
492
+ <show_in_website>1</show_in_website>
493
+ <show_in_store>0</show_in_store>
494
+ </allowspecific>
495
+ <specificcountry translate="label">
496
+ <label>Payment from Specific countries</label>
497
+ <frontend_type>multiselect</frontend_type>
498
+ <sort_order>11</sort_order>
499
+ <source_model>adminhtml/system_config_source_country</source_model>
500
+ <show_in_default>1</show_in_default>
501
+ <show_in_website>1</show_in_website>
502
+ <show_in_store>0</show_in_store>
503
+ </specificcountry>
504
  </fields>
505
  </eximbay_alp>
506
  <eximbay_tnp translate="label" module="eximbay">
535
  <mid translate="label">
536
  <label>Merchant ID</label>
537
  <comment>Insert a merchant id provided by Eximbay</comment>
538
+ <frontend_type>text</frontend_type>
539
  <config_path>payment/eximbay_tnp/mid</config_path>
 
540
  <sort_order>3</sort_order>
541
  <show_in_default>1</show_in_default>
542
  <show_in_website>1</show_in_website>
545
  <secret_key translate="label">
546
  <label>Secret Key</label>
547
  <comment>Insert a secret key provided by Eximbay</comment>
548
+ <frontend_type>text</frontend_type>
549
  <config_path>payment/eximbay_tnp/secret_key</config_path>
 
550
  <sort_order>4</sort_order>
551
  <show_in_default>1</show_in_default>
552
  <show_in_website>1</show_in_website>
576
  <show_in_website>1</show_in_website>
577
  <show_in_store>0</show_in_store>
578
  </test>
579
+ <ver translate="label">
580
+ <label>API Version</label>
581
+ <comment>Insert an Eximbay API version</comment>
582
+ <frontend_type>select</frontend_type>
583
+ <config_path>payment/eximbay_tnp/ver</config_path>
584
+ <source_model>eximbay/version</source_model>
585
+ <sort_order>7</sort_order>
586
+ <show_in_default>1</show_in_default>
587
+ <show_in_website>1</show_in_website>
588
+ <show_in_store>0</show_in_store>
589
+ </ver>
590
  <dtype translate="label">
591
  <label>Payment Page Type</label>
592
  <comment>Choose your payment page type, IFrame or Popup.</comment>
593
  <frontend_type>select</frontend_type>
594
  <config_path>payment/eximbay_tnp/dtype</config_path>
595
  <source_model>eximbay/popup</source_model>
596
+ <sort_order>8</sort_order>
597
  <show_in_default>0</show_in_default>
598
  <show_in_website>0</show_in_website>
599
  <show_in_store>0</show_in_store>
600
  </dtype>
601
+ <allowspecific translate="label">
602
+ <label>Payment from applicable countries</label>
603
+ <frontend_type>allowspecific</frontend_type>
604
+ <sort_order>10</sort_order>
605
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
606
+ <show_in_default>1</show_in_default>
607
+ <show_in_website>1</show_in_website>
608
+ <show_in_store>0</show_in_store>
609
+ </allowspecific>
610
+ <specificcountry translate="label">
611
+ <label>Payment from Specific countries</label>
612
+ <frontend_type>multiselect</frontend_type>
613
+ <sort_order>11</sort_order>
614
+ <source_model>adminhtml/system_config_source_country</source_model>
615
+ <show_in_default>1</show_in_default>
616
+ <show_in_website>1</show_in_website>
617
+ <show_in_store>0</show_in_store>
618
+ </specificcountry>
619
  </fields>
620
  </eximbay_tnp>
621
  <eximbay_nnb translate="label" module="eximbay">
650
  <mid translate="label">
651
  <label>Merchant ID</label>
652
  <comment>Insert a merchant id provided by Eximbay</comment>
653
+ <frontend_type>text</frontend_type>
654
  <config_path>payment/eximbay_nnb/mid</config_path>
 
655
  <sort_order>3</sort_order>
656
  <show_in_default>1</show_in_default>
657
  <show_in_website>1</show_in_website>
660
  <secret_key translate="label">
661
  <label>Secret Key</label>
662
  <comment>Insert a secret key provided by Eximbay</comment>
663
+ <frontend_type>text</frontend_type>
664
  <config_path>payment/eximbay_nnb/secret_key</config_path>
 
665
  <sort_order>4</sort_order>
666
  <show_in_default>1</show_in_default>
667
  <show_in_website>1</show_in_website>
691
  <show_in_website>1</show_in_website>
692
  <show_in_store>0</show_in_store>
693
  </test>
694
+ <ver translate="label">
695
+ <label>API Version</label>
696
+ <comment>Insert an Eximbay API version</comment>
697
+ <frontend_type>select</frontend_type>
698
+ <config_path>payment/eximbay_nnb/ver</config_path>
699
+ <source_model>eximbay/version</source_model>
700
+ <sort_order>7</sort_order>
701
+ <show_in_default>1</show_in_default>
702
+ <show_in_website>1</show_in_website>
703
+ <show_in_store>0</show_in_store>
704
+ </ver>
705
  <dtype translate="label">
706
  <label>Payment Page Type</label>
707
  <comment>Choose your payment page type, IFrame or Popup.</comment>
708
  <frontend_type>select</frontend_type>
709
  <config_path>payment/eximbay_nnb/dtype</config_path>
710
  <source_model>eximbay/popup</source_model>
711
+ <sort_order>8</sort_order>
712
  <show_in_default>0</show_in_default>
713
  <show_in_website>0</show_in_website>
714
  <show_in_store>0</show_in_store>
715
  </dtype>
716
+ <allowspecific translate="label">
717
+ <label>Payment from applicable countries</label>
718
+ <frontend_type>allowspecific</frontend_type>
719
+ <sort_order>10</sort_order>
720
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
721
+ <show_in_default>1</show_in_default>
722
+ <show_in_website>1</show_in_website>
723
+ <show_in_store>0</show_in_store>
724
+ </allowspecific>
725
+ <specificcountry translate="label">
726
+ <label>Payment from Specific countries</label>
727
+ <frontend_type>multiselect</frontend_type>
728
+ <sort_order>11</sort_order>
729
+ <source_model>adminhtml/system_config_source_country</source_model>
730
+ <show_in_default>1</show_in_default>
731
+ <show_in_website>1</show_in_website>
732
+ <show_in_store>0</show_in_store>
733
+ </specificcountry>
734
  </fields>
735
  </eximbay_nnb>
736
  <eximbay_ecn translate="label" module="eximbay">
765
  <mid translate="label">
766
  <label>Merchant ID</label>
767
  <comment>Insert a merchant id provided by Eximbay</comment>
768
+ <frontend_type>text</frontend_type>
769
  <config_path>payment/eximbay_ecn/mid</config_path>
 
770
  <sort_order>3</sort_order>
771
  <show_in_default>1</show_in_default>
772
  <show_in_website>1</show_in_website>
775
  <secret_key translate="label">
776
  <label>Secret Key</label>
777
  <comment>Insert a secret key provided by Eximbay</comment>
778
+ <frontend_type>text</frontend_type>
779
  <config_path>payment/eximbay_ecn/secret_key</config_path>
 
780
  <sort_order>4</sort_order>
781
  <show_in_default>1</show_in_default>
782
  <show_in_website>1</show_in_website>
806
  <show_in_website>1</show_in_website>
807
  <show_in_store>0</show_in_store>
808
  </test>
809
+ <ver translate="label">
810
+ <label>API Version</label>
811
+ <comment>Insert an Eximbay API version</comment>
812
+ <frontend_type>select</frontend_type>
813
+ <config_path>payment/eximbay_ecn/ver</config_path>
814
+ <source_model>eximbay/version</source_model>
815
+ <sort_order>7</sort_order>
816
+ <show_in_default>1</show_in_default>
817
+ <show_in_website>1</show_in_website>
818
+ <show_in_store>0</show_in_store>
819
+ </ver>
820
  <dtype translate="label">
821
  <label>Payment Page Type</label>
822
  <comment>Choose your payment page type, IFrame or Popup.</comment>
823
  <frontend_type>select</frontend_type>
824
  <config_path>payment/eximbay_ecn/dtype</config_path>
825
  <source_model>eximbay/popupiframe</source_model>
826
+ <sort_order>8</sort_order>
827
  <show_in_default>1</show_in_default>
828
  <show_in_website>1</show_in_website>
829
  <show_in_store>0</show_in_store>
830
  </dtype>
831
+ <allowspecific translate="label">
832
+ <label>Payment from applicable countries</label>
833
+ <frontend_type>allowspecific</frontend_type>
834
+ <sort_order>10</sort_order>
835
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
836
+ <show_in_default>1</show_in_default>
837
+ <show_in_website>1</show_in_website>
838
+ <show_in_store>0</show_in_store>
839
+ </allowspecific>
840
+ <specificcountry translate="label">
841
+ <label>Payment from Specific countries</label>
842
+ <frontend_type>multiselect</frontend_type>
843
+ <sort_order>11</sort_order>
844
+ <source_model>adminhtml/system_config_source_country</source_model>
845
+ <show_in_default>1</show_in_default>
846
+ <show_in_website>1</show_in_website>
847
+ <show_in_store>0</show_in_store>
848
+ </specificcountry>
849
  </fields>
850
  </eximbay_ecn>
851
  </groups>
package.xml CHANGED
@@ -1,18 +1,21 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Eximbay</name>
4
- <version>2.0.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/gpl-license.php">GNU General Public License</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Official Eximbay Payment Extension</summary>
10
  <description>This payment module offers a variety of popular payment methods for online merchants.</description>
11
- <notes>Alert window if popup is blocked.</notes>
 
 
 
12
  <authors><author><name>KRPartners Co.,Ltd</name><user>prokod1</user><email>prokod@kr.net</email></author></authors>
13
- <date>2014-12-22</date>
14
- <time>09:09:51</time>
15
- <contents><target name="magecommunity"><dir name="Krp"><dir name="Eximbay"><dir name="Block"><dir name="Checkout"><dir name="Onepage"><dir name="Payment"><file name="Methods.php" hash="ab74479c6a0c966eaa8a0e290ccfed9a"/></dir></dir></dir><file name="Form.php" hash="f6a8a89d07384accc0501a6806fb8a58"/><file name="Info.php" hash="2a74edc39a49612eca820a6826d03a93"/><file name="Jsinit.php" hash="f5e7e6864d9a66fdeb760865885eb028"/><file name="Payment.php" hash="e55e4e8c36ac4e3a8372723cc7e34fbc"/><file name="Placeform.php" hash="22e9a71ba8d56e338b273df0a31d408e"/><file name="Redirect.php" hash="ed0a1ae878f925001dda455bdcee7281"/></dir><dir name="Helper"><file name="Data.php" hash="39b50d67f2f0ce838900530ded9cb5f7"/><file name="Ppp.php" hash="2209927ca48e88ea8312cb3babb3cac5"/></dir><dir name="Model"><file name="Abstract.php" hash="08b106780bbcdab3c2d051e7c977b7da"/><file name="Acc.php" hash="e01ef19e450cc81d7abea76716a68ee3"/><file name="Alp.php" hash="fc5e746a521d7e8fe609d56dd8971fb2"/><file name="Cup.php" hash="3e61b570bf9ec0f47a8282b289c5cbc2"/><file name="Ecn.php" hash="8c81daff5feccef2173f7afe399d2b4d"/><file name="Event.php" hash="29d2ca1d795d0937d9c224e48ac43d57"/><file name="Nnb.php" hash="dbfd83d3c79479decb81ecd2198a3f31"/><file name="Popup.php" hash="26b4d183cdaebcd6a66e3ccc97570be8"/><file name="Popupiframe.php" hash="fceb0e286d5c7f2d47937dc24763d276"/><file name="Ppl.php" hash="67a14f356dbc79d54b3ad8448416bca6"/><file name="Tnp.php" hash="f5a167e11ec3c37b16d87ac4284f1f95"/></dir><dir name="controllers"><file name="EximbayController.php" hash="9aef2e23676514be7da811f02ace1638"/><file name="ProcessingController.php" hash="0694760577430705b106f0df135187ed"/></dir><dir name="etc"><file name="config.xml" hash="3160448769fb4023ac13a4653939de2b"/><file name="system.xml" hash="7f2438cbf4938dfe7e9794d827e546c1"/></dir><dir name="sql"><dir name="eximbay_setup"><file name="install-2.0.0.php" hash="de251375de4ea828e2f827f0bfbb4ce5"/><file name="mysql4-ugrade-0.1.0-2.0.0.php" hash="8dbe742a111b82d3aa4106bb9bc7fce9"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="eximbay.xml" hash="46de7d1b0a663271c7b90d3bdfc0e8e8"/></dir><dir name="template"><dir name="eximbay"><file name="info.phtml" hash="8d7970f6b7f17546d5741d61455a0654"/><file name="jsinit.phtml" hash="b146ee4b5a669e2bde2cb300baeedd80"/><dir name="pdf"><file name="info.phtml" hash="145976fe44cdfef7cb0a9ec438a3c162"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="eximbay.xml" hash="54999a880758c5b6808782e1d8e8a54a"/></dir><dir name="template"><dir name="eximbay"><file name="blank.phtml" hash="ea239a21df8d55020f39349254ef5cba"/><dir name="checkout"><dir name="onepage"><dir name="payment"><file name="methods.phtml" hash="be48a6dec436726ba2bef57c04e2c18e"/></dir><dir name="review"><file name="button.phtml" hash="6a4af9bbbf6069d659a12bbd739cddd7"/></dir></dir></dir><file name="form.phtml" hash="fe17e160010d308c0df0ebc29673004d"/><file name="info.phtml" hash="4b365112722a6b4d0555580ac1c20c5e"/><file name="payment.phtml" hash="68ec43efefd780b6912dd95ddebc4992"/><file name="placeform.phtml" hash="1886ca9af1a89d258b621646ed4c2693"/><file name="redirect.phtml" hash="ff792a53e3cd9721e906edafcc30e3d5"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Krp_Eximbay.xml" hash="f163f260b5d1203cb8b9146e838d672d"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Krp_Eximbay.csv" hash="4ae9e31213fc1113498d1c162b7cef4d"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="eximbay"><file name="eximbay_acc.jpg" hash="b64b77cd6a2a3bcea931e78c85b01e54"/><file name="eximbay_alp.jpg" hash="fdf33a103183ee24f238d26b4b546de5"/><file name="eximbay_banner.png" hash="afd1fd216aefbbfc7caaade06e5e25e4"/><file name="eximbay_cup.jpg" hash="42c17b3b9b9841a28efc1f921099ee6f"/><file name="eximbay_loading.gif" hash="68affa0374b82d560d800c9ea3e160ad"/><file name="eximbay_logo.gif" hash="54276432f5b4f61f32e8c8cd2a0cc6d1"/><file name="eximbay_nnb.jpg" hash="31063516179a5fb158f02cb25b5f94fb"/><file name="eximbay_ppl.jpg" hash="80e621524248fe39508f91349a353bb5"/><file name="eximbay_tnp.jpg" hash="56d1053176bc6ea5b7a39ec43b9d2da2"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Eximbay</name>
4
+ <version>2.0.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/gpl-license.php">GNU General Public License</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Official Eximbay Payment Extension</summary>
10
  <description>This payment module offers a variety of popular payment methods for online merchants.</description>
11
+ <notes>Added following features: &#xD;
12
+ -API version&#xD;
13
+ -Allow Payment from applicable countries&#xD;
14
+ -Allow Payment from Specific countries</notes>
15
  <authors><author><name>KRPartners Co.,Ltd</name><user>prokod1</user><email>prokod@kr.net</email></author></authors>
16
+ <date>2014-12-31</date>
17
+ <time>08:40:07</time>
18
+ <contents><target name="magecommunity"><dir name="Krp"><dir name="Eximbay"><dir name="Block"><dir name="Checkout"><dir name="Onepage"><dir name="Payment"><file name="Methods.php" hash="ab74479c6a0c966eaa8a0e290ccfed9a"/></dir></dir></dir><file name="Form.php" hash="f6a8a89d07384accc0501a6806fb8a58"/><file name="Info.php" hash="2a74edc39a49612eca820a6826d03a93"/><file name="Jsinit.php" hash="f5e7e6864d9a66fdeb760865885eb028"/><file name="Payment.php" hash="e55e4e8c36ac4e3a8372723cc7e34fbc"/><file name="Placeform.php" hash="22e9a71ba8d56e338b273df0a31d408e"/><file name="Redirect.php" hash="ed0a1ae878f925001dda455bdcee7281"/></dir><dir name="Helper"><file name="Data.php" hash="39b50d67f2f0ce838900530ded9cb5f7"/><file name="Ppp.php" hash="2209927ca48e88ea8312cb3babb3cac5"/></dir><dir name="Model"><file name="Abstract.php" hash="3eea0af091f70d6d156f67df5734bf55"/><file name="Acc.php" hash="e01ef19e450cc81d7abea76716a68ee3"/><file name="Alp.php" hash="fc5e746a521d7e8fe609d56dd8971fb2"/><file name="Cup.php" hash="3e61b570bf9ec0f47a8282b289c5cbc2"/><file name="Ecn.php" hash="8c81daff5feccef2173f7afe399d2b4d"/><file name="Event.php" hash="23dd110a7389cbe0a38861092e5df3e1"/><file name="Nnb.php" hash="dbfd83d3c79479decb81ecd2198a3f31"/><file name="Popup.php" hash="26b4d183cdaebcd6a66e3ccc97570be8"/><file name="Popupiframe.php" hash="fceb0e286d5c7f2d47937dc24763d276"/><file name="Ppl.php" hash="67a14f356dbc79d54b3ad8448416bca6"/><file name="Tnp.php" hash="f5a167e11ec3c37b16d87ac4284f1f95"/><file name="Version.php" hash="f1eb43a27e0e9108d254c22bd7c480a1"/></dir><dir name="controllers"><file name="EximbayController.php" hash="9aef2e23676514be7da811f02ace1638"/><file name="ProcessingController.php" hash="3102f3ae868ea00a72cc1ca7190c2a26"/></dir><dir name="etc"><file name="config.xml" hash="3160448769fb4023ac13a4653939de2b"/><file name="system.xml" hash="c94c40c154f888c90bab5f86d9af2682"/></dir><dir name="sql"><dir name="eximbay_setup"><file name="install-2.0.0.php" hash="de251375de4ea828e2f827f0bfbb4ce5"/><file name="mysql4-ugrade-0.1.0-2.0.0.php" hash="8dbe742a111b82d3aa4106bb9bc7fce9"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="eximbay.xml" hash="46de7d1b0a663271c7b90d3bdfc0e8e8"/></dir><dir name="template"><dir name="eximbay"><file name="info.phtml" hash="8d7970f6b7f17546d5741d61455a0654"/><file name="jsinit.phtml" hash="b146ee4b5a669e2bde2cb300baeedd80"/><dir name="pdf"><file name="info.phtml" hash="145976fe44cdfef7cb0a9ec438a3c162"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="eximbay.xml" hash="54999a880758c5b6808782e1d8e8a54a"/></dir><dir name="template"><dir name="eximbay"><file name="blank.phtml" hash="ea239a21df8d55020f39349254ef5cba"/><dir name="checkout"><dir name="onepage"><dir name="payment"><file name="methods.phtml" hash="be48a6dec436726ba2bef57c04e2c18e"/></dir><dir name="review"><file name="button.phtml" hash="6a4af9bbbf6069d659a12bbd739cddd7"/></dir></dir></dir><file name="form.phtml" hash="fe17e160010d308c0df0ebc29673004d"/><file name="info.phtml" hash="4b365112722a6b4d0555580ac1c20c5e"/><file name="payment.phtml" hash="68ec43efefd780b6912dd95ddebc4992"/><file name="placeform.phtml" hash="1886ca9af1a89d258b621646ed4c2693"/><file name="redirect.phtml" hash="ff792a53e3cd9721e906edafcc30e3d5"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Krp_Eximbay.xml" hash="f163f260b5d1203cb8b9146e838d672d"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Krp_Eximbay.csv" hash="4ae9e31213fc1113498d1c162b7cef4d"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="eximbay"><file name="eximbay_acc.jpg" hash="b64b77cd6a2a3bcea931e78c85b01e54"/><file name="eximbay_alp.jpg" hash="fdf33a103183ee24f238d26b4b546de5"/><file name="eximbay_banner.png" hash="afd1fd216aefbbfc7caaade06e5e25e4"/><file name="eximbay_cup.jpg" hash="42c17b3b9b9841a28efc1f921099ee6f"/><file name="eximbay_loading.gif" hash="68affa0374b82d560d800c9ea3e160ad"/><file name="eximbay_logo.gif" hash="54276432f5b4f61f32e8c8cd2a0cc6d1"/><file name="eximbay_nnb.jpg" hash="31063516179a5fb158f02cb25b5f94fb"/><file name="eximbay_ppl.jpg" hash="80e621524248fe39508f91349a353bb5"/><file name="eximbay_tnp.jpg" hash="56d1053176bc6ea5b7a39ec43b9d2da2"/></dir></dir></dir></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
21
  </package>