Eximbay - Version 2.0.0

Version Notes

Set separate configuration for all payment methods.

Download this release

Release Info

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


Code changes from version 1.1.3 to 2.0.0

Files changed (51) hide show
  1. app/code/community/Krp/Eximbay/Block/Checkout/Onepage/Payment/Methods.php +49 -0
  2. app/code/{local/Mage → community/Krp}/Eximbay/Block/Form.php +13 -9
  3. app/code/{local/Mage → community/Krp}/Eximbay/Block/Info.php +4 -4
  4. app/code/{local/Mage → community/Krp}/Eximbay/Block/Jsinit.php +8 -7
  5. app/code/{local/Mage → community/Krp}/Eximbay/Block/Payment.php +27 -10
  6. app/code/{local/Mage → community/Krp}/Eximbay/Block/Placeform.php +4 -4
  7. app/code/community/Krp/Eximbay/Block/Redirect.php +80 -0
  8. app/code/{local/Mage → community/Krp}/Eximbay/Helper/Data.php +7 -7
  9. app/code/{local/Mage → community/Krp}/Eximbay/Model/Abstract.php +24 -11
  10. app/code/{local/Mage → community/Krp}/Eximbay/Model/Acc.php +5 -5
  11. app/code/{local/Mage/Eximbay/Block/Redirect.php → community/Krp/Eximbay/Model/Alp.php} +29 -43
  12. app/code/community/Krp/Eximbay/Model/Cup.php +29 -0
  13. app/code/community/Krp/Eximbay/Model/Ecn.php +29 -0
  14. app/code/{local/Mage → community/Krp}/Eximbay/Model/Event.php +12 -10
  15. app/code/community/Krp/Eximbay/Model/Nnb.php +29 -0
  16. app/code/community/Krp/Eximbay/Model/Popup.php +40 -0
  17. app/code/{local/Mage/Eximbay/Model/Source.php → community/Krp/Eximbay/Model/Popupiframe.php} +4 -4
  18. app/code/community/Krp/Eximbay/Model/Ppl.php +29 -0
  19. app/code/community/Krp/Eximbay/Model/Tnp.php +29 -0
  20. app/code/{local/Mage → community/Krp}/Eximbay/controllers/EximbayController.php +12 -11
  21. app/code/{local/Mage → community/Krp}/Eximbay/controllers/ProcessingController.php +4 -4
  22. app/code/{local/Mage → community/Krp}/Eximbay/etc/config.xml +76 -31
  23. app/code/community/Krp/Eximbay/etc/system.xml +684 -0
  24. app/code/{local/Mage/Eximbay/sql/eximbay_setup/mysql4-install-0.1.0.php → community/Krp/Eximbay/sql/eximbay_setup/install-2.0.0.php} +5 -15
  25. app/code/{local/Mage/Eximbay/sql/eximbay_setup/mysql4-ugrade-0.1.0-0.2.0.php → community/Krp/Eximbay/sql/eximbay_setup/mysql4-ugrade-0.1.0-2.0.0.php} +5 -4
  26. app/code/local/Mage/Eximbay/etc/system.xml +0 -160
  27. app/design/adminhtml/default/default/layout/eximbay.xml +3 -3
  28. app/design/adminhtml/default/default/template/eximbay/info.phtml +5 -6
  29. app/design/adminhtml/default/default/template/eximbay/jsinit.phtml +3 -3
  30. app/design/adminhtml/default/default/template/eximbay/pdf/info.phtml +4 -4
  31. app/design/frontend/base/default/layout/eximbay.xml +12 -3
  32. app/design/frontend/base/default/template/eximbay/blank.phtml +3 -3
  33. app/design/frontend/base/default/template/eximbay/checkout/onepage/payment/methods.phtml +63 -0
  34. app/design/frontend/base/default/template/eximbay/form.phtml +6 -6
  35. app/design/frontend/base/default/template/eximbay/info.phtml +5 -5
  36. app/design/frontend/base/default/template/eximbay/payment.phtml +12 -10
  37. app/design/frontend/base/default/template/eximbay/placeform.phtml +3 -3
  38. app/design/frontend/base/default/template/eximbay/redirect.phtml +3 -3
  39. app/etc/modules/{Mage_Eximbay.xml → Krp_Eximbay.xml} +7 -13
  40. app/locale/en_US/Krp_Eximbay.csv +19 -0
  41. app/locale/en_US/Mage_Eximbay.csv +0 -22
  42. package.xml +5 -5
  43. skin/frontend/base/default/images/eximbay/eximbay_acc.gif +0 -0
  44. skin/frontend/base/default/images/eximbay/eximbay_acc.jpg +0 -0
  45. skin/frontend/base/default/images/eximbay/eximbay_alp.jpg +0 -0
  46. skin/frontend/base/default/images/eximbay/eximbay_banner.png +0 -0
  47. skin/frontend/base/default/images/eximbay/eximbay_cup.jpg +0 -0
  48. skin/frontend/base/default/images/eximbay/{banner_120_int.gif → eximbay_logo.gif} +0 -0
  49. skin/frontend/base/default/images/eximbay/eximbay_nnb.jpg +0 -0
  50. skin/frontend/base/default/images/eximbay/eximbay_ppl.jpg +0 -0
  51. skin/frontend/base/default/images/eximbay/eximbay_tnp.jpg +0 -0
app/code/community/Krp/Eximbay/Block/Checkout/Onepage/Payment/Methods.php ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Eximbay, Online Payment Module
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the GNU General Public License (GPL 3.0)
9
+ * that is available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/GPL-3.0 or http://www.gnu.org/copyleft/gpl.html
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Do not edit or add to this file if you wish to upgrade Eximbay module to newer
15
+ * versions in the future. If you wish to customize Eximbay module for your
16
+ * needs please refer to https://www.eximbay.com for more information.
17
+ *
18
+ * @category Krp
19
+ * @package Krp_Eximbay
20
+ * @copyright Copyright (c) 2014 KRPartners Co.,Ltd (https://www.eximbay.com)
21
+ * @license http://opensource.org/licenses/GPL-3.0 GNU General Public License (GPL 3.0)
22
+ */
23
+
24
+ class Krp_Eximbay_Block_Checkout_Onepage_Payment_Methods extends Mage_Checkout_Block_Onepage_Payment_Methods {
25
+
26
+ public function getMethodTitle(Mage_Payment_Model_Method_Abstract $method) {
27
+
28
+ $form = $this->getChild('payment.method.' . $method->getCode());
29
+
30
+ if (strpos($method->getCode(), 'eximbay_') !== false) {
31
+ $imageLogo = '';
32
+
33
+ $imageFilename = Mage::getDesign()->getFilename('images' . DS . 'eximbay' . DS . $method->getCode(), array('_type' => 'skin'));
34
+ if (file_exists($imageFilename . '.jpg')) {
35
+ $imageLogo = '<img src="' . $this->getSkinUrl('images/eximbay/' . $method->getCode() . '.jpg') . '" > ';
36
+
37
+ return $imageLogo.str_repeat('&nbsp;', 3).$this->escapeHtml($method->getTitle());
38
+ }
39
+ } else {
40
+ //$form = $this->getChild('payment.method.' . $method->getCode());
41
+ if ($form && $form->hasMethodTitle()) {
42
+ return $this->escapeHtml($form->getMethodTitle());
43
+ }
44
+ }
45
+
46
+ return $this->escapeHtml($method->getTitle());
47
+ }
48
+
49
+ }
app/code/{local/Mage → community/Krp}/Eximbay/Block/Form.php RENAMED
@@ -14,13 +14,13 @@
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 Mage
18
- * @package Mage_Eximbay
19
- * @copyright Copyright (c) 2013 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 Mage_Eximbay_Block_Form extends Mage_Payment_Block_Form
24
  {
25
  /**
26
  * Available locales for content URL generation
@@ -53,16 +53,20 @@ class Mage_Eximbay_Block_Form extends Mage_Payment_Block_Form
53
  */
54
  public function getPaymentImageSrc($payment)
55
  {
56
- $imageFilename = Mage::getDesign()
57
  ->getFilename('images' . DS . 'eximbay' . DS . $payment, array('_type' => 'skin'));
58
 
59
- if (file_exists($imageFilename . '.png')) {
 
 
60
  return $this->getSkinUrl('images/eximbay/' . $payment . '.png');
61
  } else if (file_exists($imageFilename . '.gif')) {
62
  return $this->getSkinUrl('images/eximbay/' . $payment . '.gif');
63
- }
 
 
64
 
65
- return false;
66
  }
67
 
68
  /**
@@ -73,7 +77,7 @@ class Mage_Eximbay_Block_Form extends Mage_Payment_Block_Form
73
  public function getInfoLocale()
74
  {
75
  $locale = substr(Mage::app()->getLocale()->getLocaleCode(), 0 ,2);
76
- if (!in_array($locale, $this->_supportedInfoLocales)) {
77
  if($locale == 'ko'){
78
  return 'KR';
79
  }else if($locale == 'zh'){
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_Block_Form extends Mage_Payment_Block_Form
24
  {
25
  /**
26
  * Available locales for content URL generation
53
  */
54
  public function getPaymentImageSrc($payment)
55
  {
56
+ /*$imageFilename = Mage::getDesign()
57
  ->getFilename('images' . DS . 'eximbay' . DS . $payment, array('_type' => 'skin'));
58
 
59
+ if (file_exists($imageFilename . '.jpg')) {
60
+ return $this->getSkinUrl('images/eximbay/' . $payment . '.jpg');
61
+ } else if (file_exists($imageFilename . '.png')) {
62
  return $this->getSkinUrl('images/eximbay/' . $payment . '.png');
63
  } else if (file_exists($imageFilename . '.gif')) {
64
  return $this->getSkinUrl('images/eximbay/' . $payment . '.gif');
65
+ }*/
66
+
67
+ return $this->getSkinUrl('images/eximbay/eximbay_banner.png');
68
 
69
+ //return false;
70
  }
71
 
72
  /**
77
  public function getInfoLocale()
78
  {
79
  $locale = substr(Mage::app()->getLocale()->getLocaleCode(), 0 ,2);
80
+ if (in_array($locale, $this->_supportedInfoLocales)) {
81
  if($locale == 'ko'){
82
  return 'KR';
83
  }else if($locale == 'zh'){
app/code/{local/Mage → community/Krp}/Eximbay/Block/Info.php RENAMED
@@ -14,12 +14,12 @@
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 Mage
18
- * @package Mage_Eximbay
19
- * @copyright Copyright (c) 2013 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
- class Mage_Eximbay_Block_Info extends Mage_Payment_Block_Info
23
  {
24
  /** Constructor. Set template. */
25
  protected function _construct()
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
+ class Krp_Eximbay_Block_Info extends Mage_Payment_Block_Info
23
  {
24
  /** Constructor. Set template. */
25
  protected function _construct()
app/code/{local/Mage → community/Krp}/Eximbay/Block/Jsinit.php RENAMED
@@ -14,17 +14,17 @@
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 Mage
18
- * @package Mage_Eximbay
19
- * @copyright Copyright (c) 2013 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
- class Mage_Eximbay_Block_Jsinit extends Mage_Adminhtml_Block_Template
23
  {
24
  /**
25
  * Include JS in head if section is eximbay
26
  */
27
- protected function _prepareLayout()
28
  {
29
  $section = $this->getAction()->getRequest()->getParam('section', false);
30
  if ($section == 'eximbay') {
@@ -34,12 +34,12 @@ class Mage_Eximbay_Block_Jsinit extends Mage_Adminhtml_Block_Template
34
  }
35
  parent::_prepareLayout();
36
  }
37
-
38
  /**
39
  * Print init JS script into body
40
  * @return string
41
  */
42
- protected function _toHtml()
43
  {
44
  $section = $this->getAction()->getRequest()->getParam('section', false);
45
  if ($section == 'eximbay') {
@@ -48,4 +48,5 @@ class Mage_Eximbay_Block_Jsinit extends Mage_Adminhtml_Block_Template
48
  return '';
49
  }
50
  }
 
51
  }
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
+ class Krp_Eximbay_Block_Jsinit extends Mage_Adminhtml_Block_Template
23
  {
24
  /**
25
  * Include JS in head if section is eximbay
26
  */
27
+ /* protected function _prepareLayout()
28
  {
29
  $section = $this->getAction()->getRequest()->getParam('section', false);
30
  if ($section == 'eximbay') {
34
  }
35
  parent::_prepareLayout();
36
  }
37
+ */
38
  /**
39
  * Print init JS script into body
40
  * @return string
41
  */
42
+ /*protected function _toHtml()
43
  {
44
  $section = $this->getAction()->getRequest()->getParam('section', false);
45
  if ($section == 'eximbay') {
48
  return '';
49
  }
50
  }
51
+ */
52
  }
app/code/{local/Mage → community/Krp}/Eximbay/Block/Payment.php RENAMED
@@ -14,12 +14,12 @@
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 Mage
18
- * @package Mage_Eximbay
19
- * @copyright Copyright (c) 2013 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
- class Mage_Eximbay_Block_Payment extends Mage_Core_Block_Template
23
  {
24
 
25
  /**
@@ -48,6 +48,18 @@ class Mage_Eximbay_Block_Payment extends Mage_Core_Block_Template
48
  }
49
  }
50
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  /**
52
  * Return Payment logo src
53
  *
@@ -55,11 +67,16 @@ class Mage_Eximbay_Block_Payment extends Mage_Core_Block_Template
55
  */
56
  public function getEximbayLogoSrc()
57
  {
58
- $locale = Mage::getModel('eximbay/acc')->getLocale();
59
  $logoFilename = Mage::getDesign()
60
  ->getFilename('images' . DS . 'eximbay' . DS . 'banner_120_' . $locale . '.gif', array('_type' => 'skin'));
61
-
62
- return $this->getSkinUrl('images/eximbay/banner_120_int.gif');
 
 
 
 
 
63
  }
64
 
65
  /**
@@ -112,7 +129,7 @@ class Mage_Eximbay_Block_Payment extends Mage_Core_Block_Template
112
  */
113
  public function getEximbayDisplayType()
114
  {
115
- $displayType = Mage::getStoreConfig('payment/eximbay_acc/dtype');
116
  return $displayType;
117
  }
118
 
@@ -123,8 +140,8 @@ class Mage_Eximbay_Block_Payment extends Mage_Core_Block_Template
123
  */
124
  public function getEximbayTitle()
125
  {
126
- $title = Mage::getStoreConfig('payment/eximbay_acc/title');
127
- return $title;
128
  }
129
 
130
 
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
+ class Krp_Eximbay_Block_Payment extends Mage_Core_Block_Template
23
  {
24
 
25
  /**
48
  }
49
  }
50
 
51
+
52
+ /**
53
+ * Retrieve payment method code
54
+ *
55
+ * @return string
56
+ */
57
+ public function getPaymentMethodCode()
58
+ {
59
+ return $this->_getOrder()->getPayment()->getMethodInstance()->getCode();
60
+ }
61
+
62
+
63
  /**
64
  * Return Payment logo src
65
  *
67
  */
68
  public function getEximbayLogoSrc()
69
  {
70
+ /*$locale = Mage::getModel('eximbay/acc')->getLocale();
71
  $logoFilename = Mage::getDesign()
72
  ->getFilename('images' . DS . 'eximbay' . DS . 'banner_120_' . $locale . '.gif', array('_type' => 'skin'));
73
+
74
+ if (file_exists($logoFilename)) {
75
+ return $this->getSkinUrl('images/eximbay/banner_120_'.$locale.'.gif');
76
+ }*/
77
+
78
+
79
+ return $this->getSkinUrl('images/eximbay/eximbay_logo.gif');
80
  }
81
 
82
  /**
129
  */
130
  public function getEximbayDisplayType()
131
  {
132
+ $displayType = Mage::getStoreConfig('payment/'.$this->getPaymentMethodCode().'/dtype');
133
  return $displayType;
134
  }
135
 
140
  */
141
  public function getEximbayTitle()
142
  {
143
+ //$title = Mage::getStoreConfig('payment/'.$this->getPaymentMethodCode().'/title');
144
+ return $this->_getOrder()->getPayment()->getMethodInstance()->getTitle();
145
  }
146
 
147
 
app/code/{local/Mage → community/Krp}/Eximbay/Block/Placeform.php RENAMED
@@ -14,12 +14,12 @@
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 Mage
18
- * @package Mage_Eximbay
19
- * @copyright Copyright (c) 2013 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
- class Mage_Eximbay_Block_Placeform extends Mage_Core_Block_Template
23
  {
24
  /**
25
  * Return checkout session instance
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
+ class Krp_Eximbay_Block_Placeform extends Mage_Core_Block_Template
23
  {
24
  /**
25
  * Return checkout session instance
app/code/community/Krp/Eximbay/Block/Redirect.php ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ class Krp_Eximbay_Block_Redirect extends Mage_Core_Block_Template
23
+ {
24
+ /**
25
+ * Constructor. Set template.
26
+ */
27
+ protected function _construct()
28
+ {
29
+ parent::_construct();
30
+ $this->setTemplate('eximbay/redirect.phtml');
31
+ }
32
+
33
+ /**
34
+ * Return checkout session instance
35
+ *
36
+ * @return Mage_Checkout_Model_Session
37
+ */
38
+ protected function _getCheckout()
39
+ {
40
+ return Mage::getSingleton('checkout/session');
41
+ }
42
+
43
+ /**
44
+ * Return order instance
45
+ *
46
+ * @return Mage_Sales_Model_Order|null
47
+ */
48
+ protected function _getOrder()
49
+ {
50
+ if ($this->getOrder()) {
51
+ return $this->getOrder();
52
+ } elseif ($orderIncrementId = $this->_getCheckout()->getLastRealOrderId()) {
53
+ return Mage::getModel('sales/order')->loadByIncrementId($orderIncrementId);
54
+ } else {
55
+ return null;
56
+ }
57
+ }
58
+
59
+ /**
60
+ * Retrieve payment method code
61
+ *
62
+ * @return string
63
+ */
64
+ public function getPaymentMethodCode()
65
+ {
66
+ return $this->_getOrder()->getPayment()->getMethodInstance()->getCode();
67
+ }
68
+
69
+
70
+ /**
71
+ * Get Display Type
72
+ *
73
+ * @return string
74
+ */
75
+ public function getEximbayDisplayType()
76
+ {
77
+ $displayType = Mage::getStoreConfig('payment/'.$this->getPaymentMethodCode().'/dtype');
78
+ return $displayType;
79
+ }
80
+ }
app/code/{local/Mage → community/Krp}/Eximbay/Helper/Data.php RENAMED
@@ -14,16 +14,16 @@
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 Mage
18
- * @package Mage_Eximbay
19
- * @copyright Copyright (c) 2013 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
- class Mage_Eximbay_Helper_Data extends Mage_Payment_Helper_Data
23
  {
24
- const XML_PATH_EMAIL = '';
25
- const XML_PATH_MERCHANT_ID = '';
26
- const XML_PATH_SECRET_KEY = '';
27
 
28
 
29
  // Include your code to send activation email
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
+ class Krp_Eximbay_Helper_Data extends Mage_Payment_Helper_Data
23
  {
24
+ //const XML_PATH_EMAIL = '';
25
+ //const XML_PATH_MERCHANT_ID = '';
26
+ //const XML_PATH_SECRET_KEY = '';
27
 
28
 
29
  // Include your code to send activation email
app/code/{local/Mage → community/Krp}/Eximbay/Model/Abstract.php RENAMED
@@ -14,12 +14,12 @@
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 Mage
18
- * @package Mage_Eximbay
19
- * @copyright Copyright (c) 2013 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
- abstract class Mage_Eximbay_Model_Abstract extends Mage_Payment_Model_Method_Abstract
23
  {
24
  /**
25
  * unique internal payment method identifier
@@ -77,7 +77,7 @@ abstract class Mage_Eximbay_Model_Abstract extends Mage_Payment_Model_Method_Abs
77
  *
78
  * @param Varien_Object $payment
79
  * @param decimal $amount
80
- * @return Mage_Eximbay_Model_Abstract
81
  */
82
  public function capture(Varien_Object $payment, $amount)
83
  {
@@ -92,7 +92,7 @@ abstract class Mage_Eximbay_Model_Abstract extends Mage_Payment_Model_Method_Abs
92
  * Cancel payment
93
  *
94
  * @param Varien_Object $payment
95
- * @return Mage_Eximbay_Model_Abstract
96
  */
97
  public function cancel(Varien_Object $payment)
98
  {
@@ -110,7 +110,7 @@ abstract class Mage_Eximbay_Model_Abstract extends Mage_Payment_Model_Method_Abs
110
  */
111
  public function getUrl()
112
  {
113
- $test_mode = Mage::getStoreConfig('payment/eximbay_acc/test');
114
  if($test_mode){
115
  return 'https://www.test.eximbay.com/web/payment2.0/payment_real.do';
116
  }else{
@@ -155,7 +155,17 @@ abstract class Mage_Eximbay_Model_Abstract extends Mage_Payment_Model_Method_Abs
155
  {
156
  return $this->_defaultLocale;
157
  }
158
-
 
 
 
 
 
 
 
 
 
 
159
  /**
160
  * Return display type of payment method
161
  *
@@ -163,7 +173,7 @@ abstract class Mage_Eximbay_Model_Abstract extends Mage_Payment_Model_Method_Abs
163
  */
164
  public function getDisplayType()
165
  {
166
- $diplay_mode = Mage::getStoreConfig('payment/eximbay_acc/dtype');
167
  if($diplay_mode){
168
  return 'I';
169
  }else{
@@ -187,8 +197,8 @@ abstract class Mage_Eximbay_Model_Abstract extends Mage_Payment_Model_Method_Abs
187
  $email = $this->getOrder()->getCustomerEmail();
188
  }
189
  $amt = round($this->getOrder()->getGrandTotal(), 2);
190
- $enc_secretKey = Mage::getStoreConfig('payment/eximbay_acc/secret_key');
191
- $enc_mid = Mage::getStoreConfig('payment/eximbay_acc/mid');
192
  $secretKey = Mage::helper('core')->decrypt($enc_secretKey);
193
  $mid = Mage::helper('core')->decrypt($enc_mid);
194
  $ref = $order_id;
@@ -228,6 +238,7 @@ abstract class Mage_Eximbay_Model_Abstract extends Mage_Payment_Model_Method_Abs
228
  'param3' => '',
229
  'visitorid' => '',
230
  'directToReturn' => 'N',
 
231
  'dm_shipTo_city' => $shipping->getCity(),
232
  'dm_shipTo_country' => $shipping->getCountry_id(),
233
  'dm_shipTo_firstName' => $shipping->getFirstname(),
@@ -268,6 +279,8 @@ abstract class Mage_Eximbay_Model_Abstract extends Mage_Payment_Model_Method_Abs
268
  }
269
  }
270
 
 
 
271
  return $params;
272
  }
273
  /**
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
+ abstract class Krp_Eximbay_Model_Abstract extends Mage_Payment_Model_Method_Abstract
23
  {
24
  /**
25
  * unique internal payment method identifier
77
  *
78
  * @param Varien_Object $payment
79
  * @param decimal $amount
80
+ * @return Krp_Eximbay_Model_Abstract
81
  */
82
  public function capture(Varien_Object $payment, $amount)
83
  {
92
  * Cancel payment
93
  *
94
  * @param Varien_Object $payment
95
+ * @return Krp_Eximbay_Model_Abstract
96
  */
97
  public function cancel(Varien_Object $payment)
98
  {
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{
155
  {
156
  return $this->_defaultLocale;
157
  }
158
+
159
+ /**
160
+ * Retrieve payment method code
161
+ *
162
+ * @return string
163
+ */
164
+ public function getPaymentMethodCode()
165
+ {
166
+ return $this->getOrder()->getPayment()->getMethodInstance()->getCode();
167
+ }
168
+
169
  /**
170
  * Return display type of payment method
171
  *
173
  */
174
  public function getDisplayType()
175
  {
176
+ $diplay_mode = Mage::getStoreConfig('payment/'.$this->getPaymentMethodCode().'/dtype');
177
  if($diplay_mode){
178
  return 'I';
179
  }else{
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;
238
  'param3' => '',
239
  'visitorid' => '',
240
  'directToReturn' => 'N',
241
+ 'paymethod' => $this->_paymentMethod,
242
  'dm_shipTo_city' => $shipping->getCity(),
243
  'dm_shipTo_country' => $shipping->getCountry_id(),
244
  'dm_shipTo_firstName' => $shipping->getFirstname(),
279
  }
280
  }
281
 
282
+ Mage::log($params, null, 'eximbay.log');
283
+
284
  return $params;
285
  }
286
  /**
app/code/{local/Mage → community/Krp}/Eximbay/Model/Acc.php RENAMED
@@ -14,16 +14,16 @@
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 Mage
18
- * @package Mage_Eximbay
19
- * @copyright Copyright (c) 2013 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
- class Mage_Eximbay_Model_Acc extends Mage_Eximbay_Model_Abstract
23
  {
24
  /**
25
  * unique internal payment method identifier
26
  */
27
  protected $_code = 'eximbay_acc';
28
- protected $_paymentMethod = 'ACC';
29
  }
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
+ class Krp_Eximbay_Model_Acc extends Krp_Eximbay_Model_Abstract
23
  {
24
  /**
25
  * unique internal payment method identifier
26
  */
27
  protected $_code = 'eximbay_acc';
28
+ protected $_paymentMethod = 'P000';
29
  }
app/code/{local/Mage/Eximbay/Block/Redirect.php → community/Krp/Eximbay/Model/Alp.php} RENAMED
@@ -1,43 +1,29 @@
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 Mage
18
- * @package Mage_Eximbay
19
- * @copyright Copyright (c) 2013 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
- class Mage_Eximbay_Block_Redirect extends Mage_Core_Block_Template
23
- {
24
- /**
25
- * Constructor. Set template.
26
- */
27
- protected function _construct()
28
- {
29
- parent::_construct();
30
- $this->setTemplate('eximbay/redirect.phtml');
31
- }
32
-
33
- /**
34
- * Get Display Type
35
- *
36
- * @return string
37
- */
38
- public function getEximbayDisplayType()
39
- {
40
- $displayType = Mage::getStoreConfig('payment/eximbay_acc/dtype');
41
- return $displayType;
42
- }
43
- }
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
+ class Krp_Eximbay_Model_Alp extends Krp_Eximbay_Model_Abstract
23
+ {
24
+ /**
25
+ * unique internal payment method identifier
26
+ */
27
+ protected $_code = 'eximbay_alp';
28
+ protected $_paymentMethod = 'P003';
29
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Krp/Eximbay/Model/Cup.php ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ class Krp_Eximbay_Model_Cup extends Krp_Eximbay_Model_Abstract
23
+ {
24
+ /**
25
+ * unique internal payment method identifier
26
+ */
27
+ protected $_code = 'eximbay_cup';
28
+ protected $_paymentMethod = 'P002';
29
+ }
app/code/community/Krp/Eximbay/Model/Ecn.php ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ class Krp_Eximbay_Model_Ecn extends Krp_Eximbay_Model_Abstract
23
+ {
24
+ /**
25
+ * unique internal payment method identifier
26
+ */
27
+ protected $_code = 'eximbay_ecn';
28
+ protected $_paymentMethod = 'P006';
29
+ }
app/code/{local/Mage → community/Krp}/Eximbay/Model/Event.php RENAMED
@@ -14,16 +14,16 @@
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 Mage
18
- * @package Mage_Eximbay
19
- * @copyright Copyright (c) 2013 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
  /**
24
  * Eximbay's notification processor model
25
  */
26
- class Mage_Eximbay_Model_Event
27
  {
28
 
29
  /*
@@ -40,7 +40,7 @@ class Mage_Eximbay_Model_Event
40
  /**
41
  * Enent request data setter
42
  * @param array $data
43
- * @return Mage_Eximbay_Model_Event
44
  */
45
  public function setEventData(array $data)
46
  {
@@ -204,14 +204,14 @@ class Mage_Eximbay_Model_Event
204
  // get request variables
205
  $params = $this->_eventData;
206
 
 
 
207
  if (empty($params)) {
208
  Mage::throwException('Request does not contain any elements.');
209
  }
210
 
211
  // check order ID
212
- if (empty($params['ref'])
213
- || ($fullCheck == false && $this->_getCheckout()->getEximbayRealOrderId() != $params['ref'])
214
- ) {
215
  Mage::throwException('Missing or invalid order ID.');
216
  }
217
  // load order for further validation
@@ -237,10 +237,10 @@ class Mage_Eximbay_Model_Event
237
  }
238
 
239
  if($params['rescode'] == '0000'){
240
- $enc_secretKey = Mage::getStoreConfig('payment/eximbay_acc/secret_key');
241
  $secretKey = Mage::helper('core')->decrypt($enc_secretKey);
242
  if (empty($secretKey)) {
243
- Mage::throwException('Secret key is empty.'.$secretKey);
244
  }
245
 
246
  $suffix = "&transid=" .$params['transid'];
@@ -252,6 +252,8 @@ class Mage_Eximbay_Model_Event
252
  //$newFgkey = md5($linkBuf);
253
  $newFgkey = hash("sha256", $linkBuf);
254
 
 
 
255
  if(strtolower($params['fgkey']) != $newFgkey){
256
  Mage::throwException('Hash is not valid. ');
257
  }
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
  /**
24
  * Eximbay's notification processor model
25
  */
26
+ class Krp_Eximbay_Model_Event
27
  {
28
 
29
  /*
40
  /**
41
  * Enent request data setter
42
  * @param array $data
43
+ * @return Krp_Eximbay_Model_Event
44
  */
45
  public function setEventData(array $data)
46
  {
204
  // get request variables
205
  $params = $this->_eventData;
206
 
207
+ Mage::log($params, null, 'eximbay.log');
208
+
209
  if (empty($params)) {
210
  Mage::throwException('Request does not contain any elements.');
211
  }
212
 
213
  // check order ID
214
+ if (empty($params['ref'])) { // || ($fullCheck == false && $this->_getCheckout()->getEximbayRealOrderId() != $params['ref'])
 
 
215
  Mage::throwException('Missing or invalid order ID.');
216
  }
217
  // load order for further validation
237
  }
238
 
239
  if($params['rescode'] == '0000'){
240
+ $enc_secretKey = Mage::getStoreConfig('payment/'.$this->_order->getPayment()->getMethodInstance()->getCode().'/secret_key');
241
  $secretKey = Mage::helper('core')->decrypt($enc_secretKey);
242
  if (empty($secretKey)) {
243
+ Mage::throwException('Secretkey is empty.');
244
  }
245
 
246
  $suffix = "&transid=" .$params['transid'];
252
  //$newFgkey = md5($linkBuf);
253
  $newFgkey = hash("sha256", $linkBuf);
254
 
255
+ Mage::log($linkBuf.'/'.$newFgkey, null, 'eximbay.log');
256
+
257
  if(strtolower($params['fgkey']) != $newFgkey){
258
  Mage::throwException('Hash is not valid. ');
259
  }
app/code/community/Krp/Eximbay/Model/Nnb.php ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ class Krp_Eximbay_Model_Nnb extends Krp_Eximbay_Model_Abstract
23
+ {
24
+ /**
25
+ * unique internal payment method identifier
26
+ */
27
+ protected $_code = 'eximbay_nnb';
28
+ protected $_paymentMethod = 'P005';
29
+ }
app/code/community/Krp/Eximbay/Model/Popup.php ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_Popup
24
+ {
25
+
26
+ /**
27
+ * Options getter
28
+ *
29
+ * @return array
30
+ */
31
+ public function toOptionArray()
32
+ {
33
+ return array(
34
+ array('value' => 0, 'label'=>Mage::helper('eximbay')->__('Popup')),
35
+ );
36
+ }
37
+
38
+ }
39
+
40
+ ?>
app/code/{local/Mage/Eximbay/Model/Source.php → community/Krp/Eximbay/Model/Popupiframe.php} RENAMED
@@ -14,13 +14,13 @@
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 Mage
18
- * @package Mage_Eximbay
19
- * @copyright Copyright (c) 2013 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 Mage_Eximbay_Model_Source
24
  {
25
 
26
  /**
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_Popupiframe
24
  {
25
 
26
  /**
app/code/community/Krp/Eximbay/Model/Ppl.php ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ class Krp_Eximbay_Model_Ppl extends Krp_Eximbay_Model_Abstract
23
+ {
24
+ /**
25
+ * unique internal payment method identifier
26
+ */
27
+ protected $_code = 'eximbay_ppl';
28
+ protected $_paymentMethod = 'P001';
29
+ }
app/code/community/Krp/Eximbay/Model/Tnp.php ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ class Krp_Eximbay_Model_Tnp extends Krp_Eximbay_Model_Abstract
23
+ {
24
+ /**
25
+ * unique internal payment method identifier
26
+ */
27
+ protected $_code = 'eximbay_tnp';
28
+ protected $_paymentMethod = 'P004';
29
+ }
app/code/{local/Mage → community/Krp}/Eximbay/controllers/EximbayController.php RENAMED
@@ -15,34 +15,34 @@
15
  * needs please refer to https://www.eximbay.com for more information.
16
  *
17
  * @category Mage
18
- * @package Mage_Eximbay
19
- * @copyright Copyright (c) 2013 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
- class Mage_Eximbay_EximbayController extends Mage_Adminhtml_Controller_Action
23
  {
24
  /**
25
  * Retrieve Eximbay's helper
26
  *
27
- * @return Mage_Eximbay_Helper_Data
28
  */
29
- protected function _getHelper()
30
  {
31
  return Mage::helper('eximbay');
32
  }
33
-
34
  /**
35
  * Send activation Email
36
  */
37
- public function activateemailAction()
38
  {
39
  $this->_getHelper()->activateEmail();
40
  }
41
-
42
  /**
43
  * Check if email is registered
44
  */
45
- public function checkemailAction()
46
  {
47
  try {
48
  $params = $this->getRequest()->getParams();
@@ -62,11 +62,11 @@ class Mage_Eximbay_EximbayController extends Mage_Adminhtml_Controller_Action
62
  }
63
  $this->getResponse()->setBody($response);
64
  }
65
-
66
  /**
67
  * Check if entered secret is valid
68
  */
69
- public function checksecretAction()
70
  {
71
  try {
72
  $params = $this->getRequest()->getParams();
@@ -86,4 +86,5 @@ class Mage_Eximbay_EximbayController extends Mage_Adminhtml_Controller_Action
86
  }
87
  $this->getResponse()->setBody($response);
88
  }
 
89
  }
15
  * needs please refer to https://www.eximbay.com for more information.
16
  *
17
  * @category Mage
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
+ class Krp_Eximbay_EximbayController extends Mage_Adminhtml_Controller_Action
23
  {
24
  /**
25
  * Retrieve Eximbay's helper
26
  *
27
+ * @return Krp_Eximbay_Helper_Data
28
  */
29
+ /* protected function _getHelper()
30
  {
31
  return Mage::helper('eximbay');
32
  }
33
+ */
34
  /**
35
  * Send activation Email
36
  */
37
+ /* public function activateemailAction()
38
  {
39
  $this->_getHelper()->activateEmail();
40
  }
41
+ */
42
  /**
43
  * Check if email is registered
44
  */
45
+ /* public function checkemailAction()
46
  {
47
  try {
48
  $params = $this->getRequest()->getParams();
62
  }
63
  $this->getResponse()->setBody($response);
64
  }
65
+ */
66
  /**
67
  * Check if entered secret is valid
68
  */
69
+ /* public function checksecretAction()
70
  {
71
  try {
72
  $params = $this->getRequest()->getParams();
86
  }
87
  $this->getResponse()->setBody($response);
88
  }
89
+ */
90
  }
app/code/{local/Mage → community/Krp}/Eximbay/controllers/ProcessingController.php RENAMED
@@ -14,12 +14,12 @@
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 Mage
18
- * @package Mage_Eximbay
19
- * @copyright Copyright (c) 2013 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
- class Mage_Eximbay_ProcessingController extends Mage_Core_Controller_Front_Action
23
  {
24
  /**
25
  * Get singleton of Checkout Session Model
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
+ class Krp_Eximbay_ProcessingController extends Mage_Core_Controller_Front_Action
23
  {
24
  /**
25
  * Get singleton of Checkout Session Model
app/code/{local/Mage → community/Krp}/Eximbay/etc/config.xml RENAMED
@@ -15,39 +15,35 @@
15
  * versions in the future. If you wish to customize Eximbay module for your
16
  * needs please refer to https://www.eximbay.com for more information.
17
  *
18
- * @category Mage
19
- * @package Mage_Eximbay
20
- * @copyright Copyright (c) 2013 KRPartners Co.,Ltd (https://www.eximbay.com)
21
  * @license http://opensource.org/licenses/GPL-3.0 GNU General Public License (GPL 3.0)
22
  */
23
  -->
24
- <config>
 
 
 
 
 
25
  <global>
26
- <!-- declare model group for new module -->
27
  <models>
28
- <!-- model group alias to be used in Mage::getModel('newmodule/...') -->
29
  <eximbay>
30
- <!-- base class name for the model group -->
31
- <class>Mage_Eximbay_Model</class>
32
  </eximbay>
33
  </models>
34
  <helpers>
35
  <eximbay>
36
- <class>Mage_Eximbay_Helper</class>
37
  </eximbay>
38
- </helpers>
39
-
40
- <!-- declare resource setup for new module -->
41
- <resources> <!-- resource identifier -->
42
  <eximbay_setup>
43
- <!-- specify that this resource is a setup resource and used for upgrades -->
44
  <setup>
45
- <!-- which module to look for install/upgrade files in -->
46
- <module>Mage_Eximbay</module>
47
  </setup>
48
- <!-- specify database connection for this resource -->
49
  <connection>
50
- <!-- do not create new connection, use predefined core setup connection -->
51
  <use>core_setup</use>
52
  </connection>
53
  </eximbay_setup>
@@ -59,7 +55,12 @@
59
  </eximbay_read>
60
  </resources>
61
  <blocks>
62
- <eximbay><class>Mage_Eximbay_Block</class></eximbay>
 
 
 
 
 
63
  </blocks>
64
  <payment>
65
  <groups>
@@ -67,7 +68,6 @@
67
  </groups>
68
  </payment>
69
  </global>
70
-
71
  <frontend>
72
  <secure_url>
73
  <eximbay_processing>/eximbay/processing</eximbay_processing>
@@ -76,7 +76,7 @@
76
  <eximbay>
77
  <use>standard</use>
78
  <args>
79
- <module>Mage_Eximbay</module>
80
  <frontName>eximbay</frontName>
81
  </args>
82
  </eximbay>
@@ -94,7 +94,7 @@
94
  <adminhtml>
95
  <args>
96
  <modules>
97
- <eximbay after="Mage_Adminhtml">Mage_Eximbay</eximbay>
98
  </modules>
99
  </args>
100
  </adminhtml>
@@ -103,11 +103,11 @@
103
  <adminhtml>
104
  <translate>
105
  <modules>
106
- <Mage_Eximbay>
107
  <files>
108
- <default>Mage_Eximbay.csv</default>
109
  </files>
110
- </Mage_Eximbay>
111
  </modules>
112
  </translate>
113
  <layout>
@@ -138,20 +138,65 @@
138
  </acl>
139
  </adminhtml>
140
 
141
- <!-- declare default configuration values for this module -->
142
  <default>
143
- <!-- 'payment' configuration section (tab) -->
144
- <payment>
145
- <!-- 'newmodule' configuration group (fieldset) -->
146
-
147
  <eximbay_acc>
148
  <group>xbay</group>
149
  <active>1</active>
150
  <model>eximbay/acc</model>
151
- <title>Credit Card (Eximbay)</title>
152
  <order_status>processing</order_status>
153
  <allowspecific>0</allowspecific>
 
154
  </eximbay_acc>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
155
  </payment>
156
  <eximbay>
157
  <settings>
15
  * versions in the future. If you wish to customize Eximbay module for your
16
  * needs please refer to https://www.eximbay.com for more information.
17
  *
18
+ * @category Krp
19
+ * @package Krp_Eximbay
20
+ * @copyright Copyright (c) 2014 KRPartners Co.,Ltd (https://www.eximbay.com)
21
  * @license http://opensource.org/licenses/GPL-3.0 GNU General Public License (GPL 3.0)
22
  */
23
  -->
24
+ <config>
25
+ <modules>
26
+ <Krp_Eximbay>
27
+ <version>2.0.0</version>
28
+ </Krp_Eximbay>
29
+ </modules>
30
  <global>
 
31
  <models>
 
32
  <eximbay>
33
+ <class>Krp_Eximbay_Model</class>
 
34
  </eximbay>
35
  </models>
36
  <helpers>
37
  <eximbay>
38
+ <class>Krp_Eximbay_Helper</class>
39
  </eximbay>
40
+ </helpers>
41
+ <resources>
 
 
42
  <eximbay_setup>
 
43
  <setup>
44
+ <module>Krp_Eximbay</module>
 
45
  </setup>
 
46
  <connection>
 
47
  <use>core_setup</use>
48
  </connection>
49
  </eximbay_setup>
55
  </eximbay_read>
56
  </resources>
57
  <blocks>
58
+ <eximbay><class>Krp_Eximbay_Block</class></eximbay>
59
+ <checkout>
60
+ <rewrite>
61
+ <onepage_payment_methods>Krp_Eximbay_Block_Checkout_Onepage_Payment_Methods</onepage_payment_methods>
62
+ </rewrite>
63
+ </checkout>
64
  </blocks>
65
  <payment>
66
  <groups>
68
  </groups>
69
  </payment>
70
  </global>
 
71
  <frontend>
72
  <secure_url>
73
  <eximbay_processing>/eximbay/processing</eximbay_processing>
76
  <eximbay>
77
  <use>standard</use>
78
  <args>
79
+ <module>Krp_Eximbay</module>
80
  <frontName>eximbay</frontName>
81
  </args>
82
  </eximbay>
94
  <adminhtml>
95
  <args>
96
  <modules>
97
+ <eximbay after="Mage_Adminhtml">Krp_Eximbay</eximbay>
98
  </modules>
99
  </args>
100
  </adminhtml>
103
  <adminhtml>
104
  <translate>
105
  <modules>
106
+ <Krp_Eximbay>
107
  <files>
108
+ <default>Krp_Eximbay.csv</default>
109
  </files>
110
+ </Krp_Eximbay>
111
  </modules>
112
  </translate>
113
  <layout>
138
  </acl>
139
  </adminhtml>
140
 
 
141
  <default>
142
+ <payment>
 
 
 
143
  <eximbay_acc>
144
  <group>xbay</group>
145
  <active>1</active>
146
  <model>eximbay/acc</model>
147
+ <title>Credit Card</title>
148
  <order_status>processing</order_status>
149
  <allowspecific>0</allowspecific>
150
+ <sort_order>1</sort_order>
151
  </eximbay_acc>
152
+ <eximbay_ppl>
153
+ <group>xbay</group>
154
+ <active>0</active>
155
+ <model>eximbay/ppl</model>
156
+ <title>PayPal</title>
157
+ <order_status>processing</order_status>
158
+ <sort_order>2</sort_order>
159
+ </eximbay_ppl>
160
+ <eximbay_cup>
161
+ <group>xbay</group>
162
+ <active>0</active>
163
+ <model>eximbay/cup</model>
164
+ <title>China UnionPay</title>
165
+ <order_status>processing</order_status>
166
+ <sort_order>3</sort_order>
167
+ </eximbay_cup>
168
+ <eximbay_alp>
169
+ <group>xbay</group>
170
+ <active>0</active>
171
+ <model>eximbay/alp</model>
172
+ <title>Alipay</title>
173
+ <order_status>processing</order_status>
174
+ <sort_order>4</sort_order>
175
+ </eximbay_alp>
176
+ <eximbay_tnp>
177
+ <group>xbay</group>
178
+ <active>0</active>
179
+ <model>eximbay/tnp</model>
180
+ <title>Tenpay</title>
181
+ <order_status>processing</order_status>
182
+ <sort_order>5</sort_order>
183
+ </eximbay_tnp>
184
+ <eximbay_nnb>
185
+ <group>xbay</group>
186
+ <active>0</active>
187
+ <model>eximbay/nnb</model>
188
+ <title>99Bill</title>
189
+ <order_status>processing</order_status>
190
+ <sort_order>6</sort_order>
191
+ </eximbay_nnb>
192
+ <eximbay_ecn>
193
+ <group>xbay</group>
194
+ <active>0</active>
195
+ <model>eximbay/ecn</model>
196
+ <title>Cash Payment (Japan)</title>
197
+ <order_status>processing</order_status>
198
+ <sort_order>7</sort_order>
199
+ </eximbay_ecn>
200
  </payment>
201
  <eximbay>
202
  <settings>
app/code/community/Krp/Eximbay/etc/system.xml ADDED
@@ -0,0 +1,684 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Eximbay, Online Payment Module
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the GNU General Public License (GPL 3.0)
9
+ * that is available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/GPL-3.0 or http://www.gnu.org/copyleft/gpl.html
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Do not edit or add to this file if you wish to upgrade Eximbay module to newer
15
+ * versions in the future. If you wish to customize Eximbay module for your
16
+ * needs please refer to https://www.eximbay.com for more information.
17
+ *
18
+ * @category Krp
19
+ * @package Krp_Eximbay
20
+ * @copyright Copyright (c) 2014 KRPartners Co.,Ltd (https://www.eximbay.com)
21
+ * @license http://opensource.org/licenses/GPL-3.0 GNU General Public License (GPL 3.0)
22
+ */
23
+ -->
24
+ <config>
25
+ <sections>
26
+ <payment>
27
+ <groups>
28
+ <eximbay_acc translate="label" module="eximbay">
29
+ <label>Credit Cards/ Visa, Mastercard, JCB (Powered by Eximbay)</label>
30
+ <frontend_type>text</frontend_type>
31
+ <sort_order>50</sort_order>
32
+ <show_in_default>1</show_in_default>
33
+ <show_in_website>1</show_in_website>
34
+ <show_in_store>0</show_in_store>
35
+ <fields>
36
+ <active translate="label">
37
+ <label>Enabled</label>
38
+ <comment>Enable or disable this payment method</comment>
39
+ <frontend_type>select</frontend_type>
40
+ <config_path>payment/eximbay_acc/active</config_path>
41
+ <source_model>adminhtml/system_config_source_yesno</source_model>
42
+ <sort_order>1</sort_order>
43
+ <show_in_default>1</show_in_default>
44
+ <show_in_website>1</show_in_website>
45
+ <show_in_store>0</show_in_store>
46
+ </active>
47
+ <title translate="label">
48
+ <label>Title</label>
49
+ <comment>Insert a custom title for this payment method</comment>
50
+ <frontend_type>text</frontend_type>
51
+ <config_path>payment/eximbay_acc/title</config_path>
52
+ <sort_order>2</sort_order>
53
+ <show_in_default>0</show_in_default>
54
+ <show_in_website>0</show_in_website>
55
+ <show_in_store>0</show_in_store>
56
+ </title>
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>
66
+ <show_in_store>0</show_in_store>
67
+ </mid>
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>
77
+ <show_in_store>0</show_in_store>
78
+ </secret_key>
79
+ <order_status translate="label">
80
+ <label>New order status</label>
81
+ <comment>Choose your preferred order status</comment>
82
+ <frontend_type>select</frontend_type>
83
+ <config_path>payment/eximbay_acc/order_status</config_path>
84
+ <!--<source_model>adminhtml/system_config_source_order_status</source_model>-->
85
+ <!--<source_model>adminhtml/system_config_source_order_status_new</source_model>-->
86
+ <source_model>adminhtml/system_config_source_order_status_processing</source_model>
87
+ <sort_order>5</sort_order>
88
+ <show_in_default>1</show_in_default>
89
+ <show_in_website>1</show_in_website>
90
+ <show_in_store>0</show_in_store>
91
+ </order_status>
92
+ <test translate="label">
93
+ <label>Test Mode</label>
94
+ <comment>If you want to work in test mode, choose 'Yes'. Otherwise, choose 'No'</comment>
95
+ <frontend_type>select</frontend_type>
96
+ <config_path>payment/eximbay_acc/test</config_path>
97
+ <source_model>adminhtml/system_config_source_yesno</source_model>
98
+ <sort_order>6</sort_order>
99
+ <show_in_default>1</show_in_default>
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>
113
+ </dtype>
114
+ <!--<currency translate="label">
115
+ <label>Accepted Currency</label>
116
+ <frontend_type>select</frontend_type>
117
+ <source_model>adminhtml/system_config_source_currency</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>1</show_in_store>
122
+ </currency>-->
123
+ <!--<cctypes translate="label">
124
+ <label>Credit Card Types</label>
125
+ <frontend_type>multiselect</frontend_type>
126
+ <source_model>paygate/authorizenet_source_cctype</source_model>
127
+ <sort_order>9</sort_order>
128
+ <show_in_default>1</show_in_default>
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>
143
+ <frontend_type>multiselect</frontend_type>
144
+ <sort_order>11</sort_order>
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">
154
+ <label>PayPal (Powered by Eximbay)</label>
155
+ <frontend_type>text</frontend_type>
156
+ <sort_order>51</sort_order>
157
+ <show_in_default>1</show_in_default>
158
+ <show_in_website>1</show_in_website>
159
+ <show_in_store>0</show_in_store>
160
+ <fields>
161
+ <active translate="label">
162
+ <label>Enabled</label>
163
+ <comment>Enable or disable this payment method</comment>
164
+ <frontend_type>select</frontend_type>
165
+ <config_path>payment/eximbay_ppl/active</config_path>
166
+ <source_model>adminhtml/system_config_source_yesno</source_model>
167
+ <sort_order>1</sort_order>
168
+ <show_in_default>1</show_in_default>
169
+ <show_in_website>1</show_in_website>
170
+ <show_in_store>0</show_in_store>
171
+ </active>
172
+ <title translate="label">
173
+ <label>Title</label>
174
+ <comment>Insert a custom title for this payment method</comment>
175
+ <frontend_type>text</frontend_type>
176
+ <config_path>payment/eximbay_ppl/title</config_path>
177
+ <sort_order>2</sort_order>
178
+ <show_in_default>0</show_in_default>
179
+ <show_in_website>0</show_in_website>
180
+ <show_in_store>0</show_in_store>
181
+ </title>
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>
191
+ <show_in_store>0</show_in_store>
192
+ </mid>
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>
202
+ <show_in_store>0</show_in_store>
203
+ </secret_key>
204
+ <order_status translate="label">
205
+ <label>New order status</label>
206
+ <comment>Choose your preferred order status</comment>
207
+ <frontend_type>select</frontend_type>
208
+ <config_path>payment/eximbay_ppl/order_status</config_path>
209
+ <!--<source_model>adminhtml/system_config_source_order_status</source_model>-->
210
+ <!--<source_model>adminhtml/system_config_source_order_status_new</source_model>-->
211
+ <source_model>adminhtml/system_config_source_order_status_processing</source_model>
212
+ <sort_order>5</sort_order>
213
+ <show_in_default>1</show_in_default>
214
+ <show_in_website>1</show_in_website>
215
+ <show_in_store>0</show_in_store>
216
+ </order_status>
217
+ <test translate="label">
218
+ <label>Test Mode</label>
219
+ <comment>If you want to work in test mode, choose 'Yes'. Otherwise, choose 'No'</comment>
220
+ <frontend_type>select</frontend_type>
221
+ <config_path>payment/eximbay_ppl/test</config_path>
222
+ <source_model>adminhtml/system_config_source_yesno</source_model>
223
+ <sort_order>6</sort_order>
224
+ <show_in_default>1</show_in_default>
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">
242
+ <label>China UnionPay (Powered by Eximbay)</label>
243
+ <frontend_type>text</frontend_type>
244
+ <sort_order>52</sort_order>
245
+ <show_in_default>1</show_in_default>
246
+ <show_in_website>1</show_in_website>
247
+ <show_in_store>0</show_in_store>
248
+ <fields>
249
+ <active translate="label">
250
+ <label>Enabled</label>
251
+ <comment>Enable or disable this payment method</comment>
252
+ <frontend_type>select</frontend_type>
253
+ <config_path>payment/eximbay_cup/active</config_path>
254
+ <source_model>adminhtml/system_config_source_yesno</source_model>
255
+ <sort_order>1</sort_order>
256
+ <show_in_default>1</show_in_default>
257
+ <show_in_website>1</show_in_website>
258
+ <show_in_store>0</show_in_store>
259
+ </active>
260
+ <title translate="label">
261
+ <label>Title</label>
262
+ <comment>Insert a custom title for this payment method</comment>
263
+ <frontend_type>text</frontend_type>
264
+ <config_path>payment/eximbay_cup/title</config_path>
265
+ <sort_order>2</sort_order>
266
+ <show_in_default>0</show_in_default>
267
+ <show_in_website>0</show_in_website>
268
+ <show_in_store>0</show_in_store>
269
+ </title>
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>
279
+ <show_in_store>0</show_in_store>
280
+ </mid>
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>
290
+ <show_in_store>0</show_in_store>
291
+ </secret_key>
292
+ <order_status translate="label">
293
+ <label>New order status</label>
294
+ <comment>Choose your preferred order status</comment>
295
+ <frontend_type>select</frontend_type>
296
+ <config_path>payment/eximbay_cup/order_status</config_path>
297
+ <!--<source_model>adminhtml/system_config_source_order_status</source_model>-->
298
+ <!--<source_model>adminhtml/system_config_source_order_status_new</source_model>-->
299
+ <source_model>adminhtml/system_config_source_order_status_processing</source_model>
300
+ <sort_order>5</sort_order>
301
+ <show_in_default>1</show_in_default>
302
+ <show_in_website>1</show_in_website>
303
+ <show_in_store>0</show_in_store>
304
+ </order_status>
305
+ <test translate="label">
306
+ <label>Test Mode</label>
307
+ <comment>If you want to work in test mode, choose 'Yes'. Otherwise, choose 'No'</comment>
308
+ <frontend_type>select</frontend_type>
309
+ <config_path>payment/eximbay_cup/test</config_path>
310
+ <source_model>adminhtml/system_config_source_yesno</source_model>
311
+ <sort_order>6</sort_order>
312
+ <show_in_default>1</show_in_default>
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">
330
+ <label>Alipay (Powered by Eximbay)</label>
331
+ <frontend_type>text</frontend_type>
332
+ <sort_order>53</sort_order>
333
+ <show_in_default>1</show_in_default>
334
+ <show_in_website>1</show_in_website>
335
+ <show_in_store>0</show_in_store>
336
+ <fields>
337
+ <active translate="label">
338
+ <label>Enabled</label>
339
+ <comment>Enable or disable this payment method</comment>
340
+ <frontend_type>select</frontend_type>
341
+ <config_path>payment/eximbay_alp/active</config_path>
342
+ <source_model>adminhtml/system_config_source_yesno</source_model>
343
+ <sort_order>1</sort_order>
344
+ <show_in_default>1</show_in_default>
345
+ <show_in_website>1</show_in_website>
346
+ <show_in_store>0</show_in_store>
347
+ </active>
348
+ <title translate="label">
349
+ <label>Title</label>
350
+ <comment>Insert a custom title for this payment method</comment>
351
+ <frontend_type>text</frontend_type>
352
+ <config_path>payment/eximbay_alp/title</config_path>
353
+ <sort_order>2</sort_order>
354
+ <show_in_default>0</show_in_default>
355
+ <show_in_website>0</show_in_website>
356
+ <show_in_store>0</show_in_store>
357
+ </title>
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>
367
+ <show_in_store>0</show_in_store>
368
+ </mid>
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>
378
+ <show_in_store>0</show_in_store>
379
+ </secret_key>
380
+ <order_status translate="label">
381
+ <label>New order status</label>
382
+ <comment>Choose your preferred order status</comment>
383
+ <frontend_type>select</frontend_type>
384
+ <config_path>payment/eximbay_alp/order_status</config_path>
385
+ <!--<source_model>adminhtml/system_config_source_order_status</source_model>-->
386
+ <!--<source_model>adminhtml/system_config_source_order_status_new</source_model>-->
387
+ <source_model>adminhtml/system_config_source_order_status_processing</source_model>
388
+ <sort_order>5</sort_order>
389
+ <show_in_default>1</show_in_default>
390
+ <show_in_website>1</show_in_website>
391
+ <show_in_store>0</show_in_store>
392
+ </order_status>
393
+ <test translate="label">
394
+ <label>Test Mode</label>
395
+ <comment>If you want to work in test mode, choose 'Yes'. Otherwise, choose 'No'</comment>
396
+ <frontend_type>select</frontend_type>
397
+ <config_path>payment/eximbay_alp/test</config_path>
398
+ <source_model>adminhtml/system_config_source_yesno</source_model>
399
+ <sort_order>6</sort_order>
400
+ <show_in_default>1</show_in_default>
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">
418
+ <label>Tenpay (Powered by Eximbay)</label>
419
+ <frontend_type>text</frontend_type>
420
+ <sort_order>54</sort_order>
421
+ <show_in_default>1</show_in_default>
422
+ <show_in_website>1</show_in_website>
423
+ <show_in_store>0</show_in_store>
424
+ <fields>
425
+ <active translate="label">
426
+ <label>Enabled</label>
427
+ <comment>Enable or disable this payment method</comment>
428
+ <frontend_type>select</frontend_type>
429
+ <config_path>payment/eximbay_tnp/active</config_path>
430
+ <source_model>adminhtml/system_config_source_yesno</source_model>
431
+ <sort_order>1</sort_order>
432
+ <show_in_default>1</show_in_default>
433
+ <show_in_website>1</show_in_website>
434
+ <show_in_store>0</show_in_store>
435
+ </active>
436
+ <title translate="label">
437
+ <label>Title</label>
438
+ <comment>Insert a custom title for this payment method</comment>
439
+ <frontend_type>text</frontend_type>
440
+ <config_path>payment/eximbay_tnp/title</config_path>
441
+ <sort_order>2</sort_order>
442
+ <show_in_default>0</show_in_default>
443
+ <show_in_website>0</show_in_website>
444
+ <show_in_store>0</show_in_store>
445
+ </title>
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>
455
+ <show_in_store>0</show_in_store>
456
+ </mid>
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>
466
+ <show_in_store>0</show_in_store>
467
+ </secret_key>
468
+ <order_status translate="label">
469
+ <label>New order status</label>
470
+ <comment>Choose your preferred order status</comment>
471
+ <frontend_type>select</frontend_type>
472
+ <config_path>payment/eximbay_tnp/order_status</config_path>
473
+ <!--<source_model>adminhtml/system_config_source_order_status</source_model>-->
474
+ <!--<source_model>adminhtml/system_config_source_order_status_new</source_model>-->
475
+ <source_model>adminhtml/system_config_source_order_status_processing</source_model>
476
+ <sort_order>5</sort_order>
477
+ <show_in_default>1</show_in_default>
478
+ <show_in_website>1</show_in_website>
479
+ <show_in_store>0</show_in_store>
480
+ </order_status>
481
+ <test translate="label">
482
+ <label>Test Mode</label>
483
+ <comment>If you want to work in test mode, choose 'Yes'. Otherwise, choose 'No'</comment>
484
+ <frontend_type>select</frontend_type>
485
+ <config_path>payment/eximbay_tnp/test</config_path>
486
+ <source_model>adminhtml/system_config_source_yesno</source_model>
487
+ <sort_order>6</sort_order>
488
+ <show_in_default>1</show_in_default>
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">
506
+ <label>99Bill (Powered by Eximbay)</label>
507
+ <frontend_type>text</frontend_type>
508
+ <sort_order>55</sort_order>
509
+ <show_in_default>1</show_in_default>
510
+ <show_in_website>1</show_in_website>
511
+ <show_in_store>0</show_in_store>
512
+ <fields>
513
+ <active translate="label">
514
+ <label>Enabled</label>
515
+ <comment>Enable or disable this payment method</comment>
516
+ <frontend_type>select</frontend_type>
517
+ <config_path>payment/eximbay_nnb/active</config_path>
518
+ <source_model>adminhtml/system_config_source_yesno</source_model>
519
+ <sort_order>1</sort_order>
520
+ <show_in_default>1</show_in_default>
521
+ <show_in_website>1</show_in_website>
522
+ <show_in_store>0</show_in_store>
523
+ </active>
524
+ <title translate="label">
525
+ <label>Title</label>
526
+ <comment>Insert a custom title for this payment method</comment>
527
+ <frontend_type>text</frontend_type>
528
+ <config_path>payment/eximbay_nnb/title</config_path>
529
+ <sort_order>2</sort_order>
530
+ <show_in_default>0</show_in_default>
531
+ <show_in_website>0</show_in_website>
532
+ <show_in_store>0</show_in_store>
533
+ </title>
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>
543
+ <show_in_store>0</show_in_store>
544
+ </mid>
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>
554
+ <show_in_store>0</show_in_store>
555
+ </secret_key>
556
+ <order_status translate="label">
557
+ <label>New order status</label>
558
+ <comment>Choose your preferred order status</comment>
559
+ <frontend_type>select</frontend_type>
560
+ <config_path>payment/eximbay_nnb/order_status</config_path>
561
+ <!--<source_model>adminhtml/system_config_source_order_status</source_model>-->
562
+ <!--<source_model>adminhtml/system_config_source_order_status_new</source_model>-->
563
+ <source_model>adminhtml/system_config_source_order_status_processing</source_model>
564
+ <sort_order>5</sort_order>
565
+ <show_in_default>1</show_in_default>
566
+ <show_in_website>1</show_in_website>
567
+ <show_in_store>0</show_in_store>
568
+ </order_status>
569
+ <test translate="label">
570
+ <label>Test Mode</label>
571
+ <comment>If you want to work in test mode, choose 'Yes'. Otherwise, choose 'No'</comment>
572
+ <frontend_type>select</frontend_type>
573
+ <config_path>payment/eximbay_nnb/test</config_path>
574
+ <source_model>adminhtml/system_config_source_yesno</source_model>
575
+ <sort_order>6</sort_order>
576
+ <show_in_default>1</show_in_default>
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">
594
+ <label>Cash Payment - Japan (Powered by Eximbay)</label>
595
+ <frontend_type>text</frontend_type>
596
+ <sort_order>56</sort_order>
597
+ <show_in_default>1</show_in_default>
598
+ <show_in_website>1</show_in_website>
599
+ <show_in_store>0</show_in_store>
600
+ <fields>
601
+ <active translate="label">
602
+ <label>Enabled</label>
603
+ <comment>Enable or disable this payment method</comment>
604
+ <frontend_type>select</frontend_type>
605
+ <config_path>payment/eximbay_ecn/active</config_path>
606
+ <source_model>adminhtml/system_config_source_yesno</source_model>
607
+ <sort_order>1</sort_order>
608
+ <show_in_default>1</show_in_default>
609
+ <show_in_website>1</show_in_website>
610
+ <show_in_store>0</show_in_store>
611
+ </active>
612
+ <title translate="label">
613
+ <label>Title</label>
614
+ <comment>Insert a custom title for this payment method</comment>
615
+ <frontend_type>text</frontend_type>
616
+ <config_path>payment/eximbay_ecn/title</config_path>
617
+ <sort_order>2</sort_order>
618
+ <show_in_default>0</show_in_default>
619
+ <show_in_website>0</show_in_website>
620
+ <show_in_store>0</show_in_store>
621
+ </title>
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>
631
+ <show_in_store>0</show_in_store>
632
+ </mid>
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>
642
+ <show_in_store>0</show_in_store>
643
+ </secret_key>
644
+ <order_status translate="label">
645
+ <label>New order status</label>
646
+ <comment>Choose your preferred order status</comment>
647
+ <frontend_type>select</frontend_type>
648
+ <config_path>payment/eximbay_ecn/order_status</config_path>
649
+ <!--<source_model>adminhtml/system_config_source_order_status</source_model>-->
650
+ <!--<source_model>adminhtml/system_config_source_order_status_new</source_model>-->
651
+ <source_model>adminhtml/system_config_source_order_status_processing</source_model>
652
+ <sort_order>5</sort_order>
653
+ <show_in_default>1</show_in_default>
654
+ <show_in_website>1</show_in_website>
655
+ <show_in_store>0</show_in_store>
656
+ </order_status>
657
+ <test translate="label">
658
+ <label>Test Mode</label>
659
+ <comment>If you want to work in test mode, choose 'Yes'. Otherwise, choose 'No'</comment>
660
+ <frontend_type>select</frontend_type>
661
+ <config_path>payment/eximbay_ecn/test</config_path>
662
+ <source_model>adminhtml/system_config_source_yesno</source_model>
663
+ <sort_order>6</sort_order>
664
+ <show_in_default>1</show_in_default>
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>
682
+ </payment>
683
+ </sections>
684
+ </config>
app/code/{local/Mage/Eximbay/sql/eximbay_setup/mysql4-install-0.1.0.php → community/Krp/Eximbay/sql/eximbay_setup/install-2.0.0.php} RENAMED
@@ -14,23 +14,13 @@
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 Mage
18
- * @package Mage_Eximbay
19
- * @copyright Copyright (c) 2013 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
- // here are the table creation for this module e.g.:
24
- /*$this->startSetup();
25
- $this->run("HERE YOUR SQL");
26
- $this->endSetup();
27
- */
28
- ?>
29
-
30
-
31
- <?php
32
-
33
- $code = 'eximbay';
34
- $installer = $this;
35
 
36
  ?>
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
+ //$code = 'eximbay';
24
+ //$installer = $this;
 
 
 
 
 
 
 
 
 
 
25
 
26
  ?>
app/code/{local/Mage/Eximbay/sql/eximbay_setup/mysql4-ugrade-0.1.0-0.2.0.php → community/Krp/Eximbay/sql/eximbay_setup/mysql4-ugrade-0.1.0-2.0.0.php} RENAMED
@@ -14,14 +14,14 @@
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 Mage
18
- * @package Mage_Eximbay
19
- * @copyright Copyright (c) 2013 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
  /* @var $installer Mage_Core_Model_Resource_Setup */
24
- $installer = $this;
25
 
26
  $installer->startSetup();
27
  $conn = $installer->getConnection();
@@ -40,3 +40,4 @@ if (!empty($data)) {
40
  $conn->delete($this->getTable('core/config_data'), new Zend_Db_Expr("path LIKE 'eximbay/eximbay%'"));
41
  }
42
  $installer->endSetup();
 
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
  /* @var $installer Mage_Core_Model_Resource_Setup */
24
+ /*$installer = $this;
25
 
26
  $installer->startSetup();
27
  $conn = $installer->getConnection();
40
  $conn->delete($this->getTable('core/config_data'), new Zend_Db_Expr("path LIKE 'eximbay/eximbay%'"));
41
  }
42
  $installer->endSetup();
43
+ */
app/code/local/Mage/Eximbay/etc/system.xml DELETED
@@ -1,160 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Eximbay, Online Payment Module
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the GNU General Public License (GPL 3.0)
9
- * that is available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/GPL-3.0 or http://www.gnu.org/copyleft/gpl.html
11
- *
12
- * DISCLAIMER
13
- *
14
- * Do not edit or add to this file if you wish to upgrade Eximbay module to newer
15
- * versions in the future. If you wish to customize Eximbay module for your
16
- * needs please refer to https://www.eximbay.com for more information.
17
- *
18
- * @category Mage
19
- * @package Mage_Eximbay
20
- * @copyright Copyright (c) 2013 KRPartners Co.,Ltd (https://www.eximbay.com)
21
- * @license http://opensource.org/licenses/GPL-3.0 GNU General Public License (GPL 3.0)
22
- */
23
- -->
24
- <config>
25
- <sections>
26
- <!-- payment tab -->
27
- <payment>
28
- <groups>
29
-
30
- <!-- newmodule fieldset -->
31
- <eximbay_acc translate="label" module="eximbay">
32
- <!-- will have title 'Cash On Delivery' -->
33
- <label>Eximbay Secure Payment</label>
34
- <!-- position between other payment methods -->
35
- <sort_order>50</sort_order>
36
- <!-- do not show this configuration options in store scope -->
37
- <show_in_default>1</show_in_default>
38
- <show_in_website>1</show_in_website>
39
- <show_in_store>0</show_in_store>
40
- <fields>
41
- <!-- is this payment method active for the website? -->
42
- <active translate="label">
43
- <!-- label for the field -->
44
- <label>Enabled</label>
45
- <comment>Enable or disable this payment method</comment>
46
- <!-- input type for configuration value -->
47
- <frontend_type>select</frontend_type>
48
- <!-- model to take the option values from -->
49
- <source_model>adminhtml/system_config_source_yesno</source_model>
50
- <!-- field position -->
51
- <sort_order>1</sort_order>
52
- <!-- do not show this field in store scope -->
53
- <show_in_default>1</show_in_default>
54
- <show_in_website>1</show_in_website>
55
- <show_in_store>0</show_in_store>
56
- </active>
57
- <title translate="label">
58
- <label>Title</label>
59
- <comment>Insert a custom title for this payment method</comment>
60
- <frontend_type>text</frontend_type>
61
- <sort_order>2</sort_order>
62
- <show_in_default>1</show_in_default>
63
- <show_in_website>1</show_in_website>
64
- <show_in_store>0</show_in_store>
65
- </title>
66
- <mid translate="label">
67
- <label>Merchant ID</label>
68
- <comment>Insert a merchant id provided by Eximbay</comment>
69
- <frontend_type>obscure</frontend_type>
70
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
71
- <sort_order>3</sort_order>
72
- <show_in_default>1</show_in_default>
73
- <show_in_website>1</show_in_website>
74
- <show_in_store>0</show_in_store>
75
- </mid>
76
- <secret_key translate="label">
77
- <label>Secret Key</label>
78
- <comment>Insert a secret key provided by Eximbay</comment>
79
- <frontend_type>obscure</frontend_type>
80
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
81
- <sort_order>4</sort_order>
82
- <show_in_default>1</show_in_default>
83
- <show_in_website>1</show_in_website>
84
- <show_in_store>0</show_in_store>
85
- </secret_key>
86
- <order_status translate="label">
87
- <label>New order status</label>
88
- <comment>Choose your preferred order status</comment>
89
- <frontend_type>select</frontend_type>
90
- <!--<source_model>adminhtml/system_config_source_order_status</source_model>-->
91
- <!--<source_model>adminhtml/system_config_source_order_status_new</source_model>-->
92
- <source_model>adminhtml/system_config_source_order_status_processing</source_model>
93
- <sort_order>5</sort_order>
94
- <show_in_default>1</show_in_default>
95
- <show_in_website>1</show_in_website>
96
- <show_in_store>0</show_in_store>
97
- </order_status>
98
- <test translate="label">
99
- <label>Test Mode</label>
100
- <comment>If you want to work in test mode, choose 'Yes'. Otherwise, choose 'No'</comment>
101
- <frontend_type>select</frontend_type>
102
- <source_model>adminhtml/system_config_source_yesno</source_model>
103
- <sort_order>6</sort_order>
104
- <show_in_default>1</show_in_default>
105
- <show_in_website>1</show_in_website>
106
- <show_in_store>0</show_in_store>
107
- </test>
108
- <dtype translate="label">
109
- <label>Payment Page Type</label>
110
- <comment>Choose your payment page type, IFrame or Popup.</comment>
111
- <frontend_type>select</frontend_type>
112
- <source_model>eximbay/source</source_model>
113
- <sort_order>7</sort_order>
114
- <show_in_default>1</show_in_default>
115
- <show_in_website>1</show_in_website>
116
- <show_in_store>0</show_in_store>
117
- </dtype>
118
- <!--<currency translate="label">
119
- <label>Accepted Currency</label>
120
- <frontend_type>select</frontend_type>
121
- <source_model>adminhtml/system_config_source_currency</source_model>
122
- <sort_order>8</sort_order>
123
- <show_in_default>1</show_in_default>
124
- <show_in_website>1</show_in_website>
125
- <show_in_store>0</show_in_store>
126
- </currency>-->
127
- <!--<cctypes translate="label">
128
- <label>Credit Card Types</label>
129
- <frontend_type>multiselect</frontend_type>
130
- <source_model>paygate/authorizenet_source_cctype</source_model>
131
- <sort_order>9</sort_order>
132
- <show_in_default>1</show_in_default>
133
- <show_in_website>1</show_in_website>
134
- <show_in_store>0</show_in_store>
135
- </cctypes>-->
136
- <!--<allowspecific translate="label">
137
- <label>Payment from applicable countries</label>
138
- <frontend_type>allowspecific</frontend_type>
139
- <sort_order>10</sort_order>
140
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
141
- <show_in_default>1</show_in_default>
142
- <show_in_website>1</show_in_website>
143
- <show_in_store>1</show_in_store>
144
- </allowspecific>
145
- <specificcountry translate="label">
146
- <label>Payment from Specific countries</label>
147
- <frontend_type>multiselect</frontend_type>
148
- <sort_order>11</sort_order>
149
- <source_model>adminhtml/system_config_source_country</source_model>
150
- <show_in_default>1</show_in_default>
151
- <show_in_website>1</show_in_website>
152
- <show_in_store>0</show_in_store>
153
- </specificcountry>
154
- -->
155
- </fields>
156
- </eximbay_acc>
157
- </groups>
158
- </payment>
159
- </sections>
160
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/adminhtml/default/default/layout/eximbay.xml CHANGED
@@ -15,9 +15,9 @@
15
  * versions in the future. If you wish to customize Eximbay module for your
16
  * needs please refer to https://www.eximbay.com for more information.
17
  *
18
- * @category Mage
19
- * @package Mage_Eximbay
20
- * @copyright Copyright (c) 2013 KRPartners Co.,Ltd (https://www.eximbay.com)
21
  * @license http://opensource.org/licenses/GPL-3.0 GNU General Public License (GPL 3.0)
22
  */
23
  -->
15
  * versions in the future. If you wish to customize Eximbay module for your
16
  * needs please refer to https://www.eximbay.com for more information.
17
  *
18
+ * @category Krp
19
+ * @package Krp_Eximbay
20
+ * @copyright Copyright (c) 2014 KRPartners Co.,Ltd (https://www.eximbay.com)
21
  * @license http://opensource.org/licenses/GPL-3.0 GNU General Public License (GPL 3.0)
22
  */
23
  -->
app/design/adminhtml/default/default/template/eximbay/info.phtml CHANGED
@@ -14,16 +14,15 @@
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 Mage
18
- * @package Mage_Eximbay
19
- * @copyright Copyright (c) 2013 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
- <?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?><br />
24
  <?php if ($this->getInfo()->getLastTransId() == ''): ?>
25
  <?php echo Mage::helper('eximbay')->__('Payment has not been processed yet.') ?><br />
26
  <?php else: ?>
27
- <?php echo Mage::helper('eximbay')->__('Eximbay Transaction ID: %s', $this->htmlEscape($this->getInfo()->getLastTransId())) ?><br />
28
  <?php endif; ?>
29
- eximbay
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 design
18
+ * @package default_default
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
+ <?php echo $this->escapeHtml($this->getMethod()->getTitle()) ?><br />
24
  <?php if ($this->getInfo()->getLastTransId() == ''): ?>
25
  <?php echo Mage::helper('eximbay')->__('Payment has not been processed yet.') ?><br />
26
  <?php else: ?>
27
+ <?php echo Mage::helper('eximbay')->__('Eximbay Transaction ID: %s', $this->escapeHtml($this->getInfo()->getLastTransId())) ?><br />
28
  <?php endif; ?>
 
app/design/adminhtml/default/default/template/eximbay/jsinit.phtml CHANGED
@@ -14,9 +14,9 @@
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 Mage
18
- * @package Mage_Eximbay
19
- * @copyright Copyright (c) 2013 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
  ?>
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 design
18
+ * @package default_default
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
  ?>
app/design/adminhtml/default/default/template/eximbay/pdf/info.phtml CHANGED
@@ -14,13 +14,13 @@
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 Mage
18
- * @package Mage_Eximbay
19
- * @copyright Copyright (c) 2013 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
  <?php echo $this->getMethod()->getTitle() ?>
24
  {{pdf_row_separator}}
25
- <?php echo Mage::helper('eximbay')->__('eximbay Transaction ID: %s', $this->htmlEscape($this->getInfo()->getLastTransId())) ?>
26
  {{pdf_row_separator}}
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 design
18
+ * @package default_default
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
  <?php echo $this->getMethod()->getTitle() ?>
24
  {{pdf_row_separator}}
25
+ <?php echo Mage::helper('eximbay')->__('Eximbay Transaction ID: %s', $this->escapeHtml($this->getInfo()->getLastTransId())) ?>
26
  {{pdf_row_separator}}
app/design/frontend/base/default/layout/eximbay.xml CHANGED
@@ -15,13 +15,22 @@
15
  * versions in the future. If you wish to customize Eximbay module for your
16
  * needs please refer to https://www.eximbay.com for more information.
17
  *
18
- * @category Mage
19
- * @package Mage_Eximbay
20
- * @copyright Copyright (c) 2013 KRPartners Co.,Ltd (https://www.eximbay.com)
21
  * @license http://opensource.org/licenses/GPL-3.0 GNU General Public License (GPL 3.0)
22
  */
23
  -->
24
  <layout version="0.1.0">
 
 
 
 
 
 
 
 
 
25
  <eximbay_processing_payment>
26
  <reference name="root">
27
  <action method="setTemplate"><template>page/1column.phtml</template></action>
15
  * versions in the future. If you wish to customize Eximbay module for your
16
  * needs please refer to https://www.eximbay.com for more information.
17
  *
18
+ * @category design
19
+ * @package base_default
20
+ * @copyright Copyright (c) 2014 KRPartners Co.,Ltd (https://www.eximbay.com)
21
  * @license http://opensource.org/licenses/GPL-3.0 GNU General Public License (GPL 3.0)
22
  */
23
  -->
24
  <layout version="0.1.0">
25
+ <checkout_onepage_paymentmethod>
26
+ <remove name="right"/>
27
+ <remove name="left"/>
28
+
29
+ <block type="checkout/onepage_payment_methods" name="root" output="toHtml" template="eximbay/checkout/onepage/payment/methods.phtml">
30
+ <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
31
+ </block>
32
+ </checkout_onepage_paymentmethod>
33
+
34
  <eximbay_processing_payment>
35
  <reference name="root">
36
  <action method="setTemplate"><template>page/1column.phtml</template></action>
app/design/frontend/base/default/template/eximbay/blank.phtml CHANGED
@@ -14,9 +14,9 @@
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 Mage
18
- * @package Mage_Eximbay
19
- * @copyright Copyright (c) 2013 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
  ?>
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 design
18
+ * @package base_default
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
  ?>
app/design/frontend/base/default/template/eximbay/checkout/onepage/payment/methods.phtml ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 design
18
+ * @package base_default
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
+ <dl class="sp-methods" id="checkout-payment-method-load">
24
+ <?php
25
+ $methods = $this->getMethods();
26
+ $oneMethod = count($methods) <= 1;
27
+ ?>
28
+ <?php if (empty($methods)): ?>
29
+ <dt>
30
+ <?php echo $this->__('No Payment Methods') ?>
31
+ </dt>
32
+ <?php else:
33
+ foreach ($methods as $_method):
34
+ $_code = $_method->getCode();
35
+ ?>
36
+ <dt>
37
+ <?php if(!$oneMethod): ?>
38
+ <input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" title="<?php echo $this->htmlEscape($_method->getTitle()) ?>" onclick="payment.switchMethod('<?php echo $_code ?>')"<?php if($this->getSelectedMethodCode()==$_code): ?> checked="checked"<?php endif; ?> class="radio" />
39
+ <?php else: ?>
40
+ <span class="no-display"><input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" checked="checked" class="radio" /></span>
41
+ <?php $oneMethod = $_code; ?>
42
+ <?php endif; ?>
43
+ <label for="p_method_<?php echo $_code ?>"><?php echo $this->getMethodTitle($_method) ?> <?php echo $this->getMethodLabelAfterHtml($_method) ?></label>
44
+ </dt>
45
+ <?php if ($html = $this->getPaymentMethodFormHtml($_method)): ?>
46
+ <dd>
47
+ <?php echo $html; ?>
48
+ </dd>
49
+ <?php endif; ?>
50
+ <?php endforeach;
51
+ endif;
52
+ ?>
53
+ </dl>
54
+ <?php echo $this->getChildChildHtml('additional'); ?>
55
+ <script type="text/javascript">
56
+ //<![CDATA[
57
+ <?php echo $this->getChildChildHtml('scripts'); ?>
58
+ payment.init();
59
+ <?php if (is_string($oneMethod)): ?>
60
+ payment.switchMethod('<?php echo $oneMethod ?>');
61
+ <?php endif; ?>
62
+ //]]>
63
+ </script>
app/design/frontend/base/default/template/eximbay/form.phtml CHANGED
@@ -14,9 +14,9 @@
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 Mage
18
- * @package Mage_Eximbay
19
- * @copyright Copyright (c) 2013 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
  ?>
@@ -26,11 +26,11 @@
26
  <?php echo Mage::helper('eximbay')->__('You will be redirected to our secure payment page when you place an order.') ?>
27
  </li>
28
  <?php if ($_img = $this->getPaymentImageSrc($_code)): ?>
29
- <li>
30
  <div style="padding:10px 15px 15px;">
31
- <img src="<?php echo $_img ?>" alt="" /><br />
32
- <a href="<?php echo $this->getEximbayInfoUrl() ?>" target="_blank"><?php echo Mage::helper('eximbay')->__('More information about Eximbay') ?></a>
33
  </div>
34
  </li>
 
35
  <?php endif; ?>
36
  </ul>
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 design
18
+ * @package base_default
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
  ?>
26
  <?php echo Mage::helper('eximbay')->__('You will be redirected to our secure payment page when you place an order.') ?>
27
  </li>
28
  <?php if ($_img = $this->getPaymentImageSrc($_code)): ?>
29
+ <li style="float: right;">
30
  <div style="padding:10px 15px 15px;">
31
+ <a href="<?php echo $this->getEximbayInfoUrl() ?>" target="_blank"><img src="<?php echo $_img ?>" alt="" /></a>
 
32
  </div>
33
  </li>
34
+ <br/>
35
  <?php endif; ?>
36
  </ul>
app/design/frontend/base/default/template/eximbay/info.phtml CHANGED
@@ -14,15 +14,15 @@
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 Mage
18
- * @package Mage_Eximbay
19
- * @copyright Copyright (c) 2013 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
- <?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?><br />
24
  <?php if ($this->getInfo()->getLastTransId() == ''): ?>
25
  <em><?php echo Mage::helper('eximbay')->__('You will be redirected to our secure payment page when you place an order.') ?></em>
26
  <?php else: ?>
27
- <?php echo Mage::helper('eximbay')->__('Eximbay Transaction ID: %s', $this->htmlEscape($this->getInfo()->getLastTransId())) ?><br />
28
  <?php endif; ?>
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 design
18
+ * @package base_default
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
+ <?php echo $this->escapeHtml($this->getMethod()->getTitle()) ?><br />
24
  <?php if ($this->getInfo()->getLastTransId() == ''): ?>
25
  <em><?php echo Mage::helper('eximbay')->__('You will be redirected to our secure payment page when you place an order.') ?></em>
26
  <?php else: ?>
27
+ <?php echo Mage::helper('eximbay')->__('Eximbay Transaction ID: %s', $this->escapeHtml($this->getInfo()->getLastTransId())) ?><br />
28
  <?php endif; ?>
app/design/frontend/base/default/template/eximbay/payment.phtml CHANGED
@@ -14,9 +14,9 @@
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 Mage
18
- * @package Mage_Eximbay
19
- * @copyright Copyright (c) 2013 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
  ?>
@@ -26,9 +26,9 @@
26
 
27
  <table style="width:100%;">
28
  <tr>
29
- <td style="width:75%; align:center;">
30
  <?php if ($this->getEximbayDisplayType()): ?>
31
- <iframe style="width:100%; height:600px;" src="<?php echo Mage::getUrl('eximbay/processing/placeform') ?>"></iframe>
32
  <?php else: ?>
33
  <table class="data-table" id="checkout-review-table" style="width:100%;">
34
  <thead>
@@ -39,16 +39,18 @@
39
  <th class="a-center"><?php echo $this->__('Payment Method:') ?></th>
40
  </tr>
41
  </thead>
 
42
  <tr style="height:35px;">
43
- <th style="text-align:center;"><?php echo $this->getEximbayTransId() ?></th>
44
- <th style="text-align:center;"><?php echo $this->getEximbayDate() ?></th>
45
- <th style="text-align:center;"><?php echo $this->getEximbayAmt() ?></th>
46
- <th style="text-align:center;"><?php echo $this->getEximbayTitle() ?></th>
47
  </tr>
 
48
  </table>
49
  <div class="buttons-set" id="review-buttons-container">
50
  <table class="buttons-table" id="review-buttons-table" style="width:100%;">
51
- <tr><td style="text-align:right;">Thank you for your order, please click the button below to pay with Eximbay.</td></tr>
52
  <tr><td style="text-align:left;">
53
  <button type="submit" title="<?php echo $this->__('Pay via Eximbay') ?>" class="button btn-checkout" onclick="javascript:window.open('<?php echo Mage::getUrl('eximbay/processing/placeform') ?>','payment2','scrollbars=yes,status=no,toolbar=no,resizable=yes,location=no,menu=no,width=800,height=470,top=200,left=300'); this.disabled=true; disableCancelLink();"><span><span><?php echo $this->__('Pay via Eximbay') ?></span></span></button>
54
  <p class="f-left"><a id="eximbay-cancel-link" href="<?php echo $this->getUrl('eximbay/processing/cancel') ?>"><?php echo $this->__('Cancel Order') ?></a></p>
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 design
18
+ * @package base_default
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
  ?>
26
 
27
  <table style="width:100%;">
28
  <tr>
29
+ <td style="width:68%; align:center;">
30
  <?php if ($this->getEximbayDisplayType()): ?>
31
+ <iframe style="width:100%; height:600px; border:0;" src="<?php echo Mage::getUrl('eximbay/processing/placeform') ?>"></iframe>
32
  <?php else: ?>
33
  <table class="data-table" id="checkout-review-table" style="width:100%;">
34
  <thead>
39
  <th class="a-center"><?php echo $this->__('Payment Method:') ?></th>
40
  </tr>
41
  </thead>
42
+ <tbody>
43
  <tr style="height:35px;">
44
+ <td style="text-align:center;"><?php echo $this->getEximbayTransId() ?></td>
45
+ <td style="text-align:center;"><?php echo $this->getEximbayDate() ?></td>
46
+ <td style="text-align:center;"><?php echo $this->getEximbayAmt() ?></td>
47
+ <td style="text-align:center;"><?php echo $this->getEximbayTitle() ?></td>
48
  </tr>
49
+ </tbody>
50
  </table>
51
  <div class="buttons-set" id="review-buttons-container">
52
  <table class="buttons-table" id="review-buttons-table" style="width:100%;">
53
+ <tr><td style="text-align:right;"><?php echo Mage::helper('eximbay')->__('Thank you for your order, please click the button below to pay with Eximbay.') ?></td></tr>
54
  <tr><td style="text-align:left;">
55
  <button type="submit" title="<?php echo $this->__('Pay via Eximbay') ?>" class="button btn-checkout" onclick="javascript:window.open('<?php echo Mage::getUrl('eximbay/processing/placeform') ?>','payment2','scrollbars=yes,status=no,toolbar=no,resizable=yes,location=no,menu=no,width=800,height=470,top=200,left=300'); this.disabled=true; disableCancelLink();"><span><span><?php echo $this->__('Pay via Eximbay') ?></span></span></button>
56
  <p class="f-left"><a id="eximbay-cancel-link" href="<?php echo $this->getUrl('eximbay/processing/cancel') ?>"><?php echo $this->__('Cancel Order') ?></a></p>
app/design/frontend/base/default/template/eximbay/placeform.phtml CHANGED
@@ -14,9 +14,9 @@
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 Mage
18
- * @package Mage_Eximbay
19
- * @copyright Copyright (c) 2013 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
  ?>
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 design
18
+ * @package base_default
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
  ?>
app/design/frontend/base/default/template/eximbay/redirect.phtml CHANGED
@@ -14,9 +14,9 @@
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 Mage
18
- * @package Mage_Eximbay
19
- * @copyright Copyright (c) 2013 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
  ?>
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 design
18
+ * @package base_default
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
  ?>
app/etc/modules/{Mage_Eximbay.xml → Krp_Eximbay.xml} RENAMED
@@ -15,26 +15,20 @@
15
  * versions in the future. If you wish to customize Eximbay module for your
16
  * needs please refer to https://www.eximbay.com for more information.
17
  *
18
- * @category Mage
19
- * @package Mage_Eximbay
20
- * @copyright Copyright (c) 2013 KRPartners Co.,Ltd (https://www.eximbay.com)
21
  * @license http://opensource.org/licenses/GPL-3.0 GNU General Public License (GPL 3.0)
22
  */
23
  -->
24
  <config>
25
  <modules>
26
- <!-- declare Mage_NewModule module -->
27
- <Mage_Eximbay>
28
- <!-- this is an active module -->
29
  <active>true</active>
30
- <!-- this module will be located in app/code/local code pool -->
31
- <codePool>local</codePool>
32
- <!-- specify dependencies for correct module loading order -->
33
  <depends>
34
  <Mage_Payment />
35
- </depends>
36
- <!-- declare module's version information for database updates -->
37
- <version>0.1.0</version>
38
- </Mage_Eximbay>
39
  </modules>
40
  </config>
15
  * versions in the future. If you wish to customize Eximbay module for your
16
  * needs please refer to https://www.eximbay.com for more information.
17
  *
18
+ * @category Krp
19
+ * @package Krp_Eximbay
20
+ * @copyright Copyright (c) 2014 KRPartners Co.,Ltd (https://www.eximbay.com)
21
  * @license http://opensource.org/licenses/GPL-3.0 GNU General Public License (GPL 3.0)
22
  */
23
  -->
24
  <config>
25
  <modules>
26
+ <Krp_Eximbay>
 
 
27
  <active>true</active>
28
+ <codePool>community</codePool>
 
 
29
  <depends>
30
  <Mage_Payment />
31
+ </depends>
32
+ </Krp_Eximbay>
 
 
33
  </modules>
34
  </config>
app/locale/en_US/Krp_Eximbay.csv ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "All Credit Cards / Visa, Mastercard, AMEX, JCB, Diners (powered by Eximbay) - International","All Credit Cards / Visa, Mastercard, AMEX, JCB, Diners (powered by Eximbay) - International"
2
+ Enabled,Enabled
3
+ Eximbay Transaction ID: %s,Eximbay Transaction ID: %s
4
+ More information about Eximbay,More information about Eximbay
5
+ Order ID,Order ID
6
+ Payment failed.,Payment failed.
7
+ Payment from Applicable Countries,Payment from Applicable Countries
8
+ Payment from Specific Countries,Payment from Specific Countries
9
+ Payment has not been processed yet.,Payment has not been processed yet.
10
+ Payment was canceled.,Payment was canceled.
11
+ Please pay your order now,Please pay your order now
12
+ Powered by Eximbay,Powered by Eximbay
13
+ Sort Order,Sort Order
14
+ The amount has been authorized and captured by Eximbay.,The amount has been authorized and captured by Eximbay.
15
+ The customer was redirected to Eximbay.,The customer was redirected to Eximbay.
16
+ The order has been canceled.,The order has been canceled.
17
+ Title,Title
18
+ You will be redirected to our secure payment page when you place an order.,You will be redirected to our secure payment page when you place an order.
19
+ "Thank you for your order, please click the button below to pay with Eximbay.","Thank you for your order, please click the button below to pay with Eximbay."
app/locale/en_US/Mage_Eximbay.csv DELETED
@@ -1,22 +0,0 @@
1
- "All Credit Cards / Visa, Mastercard, AMEX, JCB, Diners (powered by Eximbay) - International","All Credit Cards / Visa, Mastercard, AMEX, JCB, Diners (powered by Eximbay) - International"
2
- "Merchant ID","Merchant ID"
3
- "Enabled","Enabled"
4
- "Loading secure payment page (SSL)","Loading secure payment page (SSL)"
5
- "Eximbay","Eximbay"
6
- "Eximbay Settings","Eximbay Settings"
7
- "Eximbay Transaction ID: %s","Eximbay Transaction ID: %s"
8
- "More information about Eximbay","More information about Eximbay"
9
- "Order ID","Order ID"
10
- "Payment failed.","Payment failed."
11
- "Payment from Applicable Countries","Payment from Applicable Countries"
12
- "Payment from Specific Countries","Payment from Specific Countries"
13
- "Payment has not been processed yet.","Payment has not been processed yet."
14
- "Payment was canceled.","Payment was canceled."
15
- "Please pay your order now","Please pay your order now"
16
- "Powered by Eximbay","Powered by Eximbay"
17
- "Sort Order","Sort Order"
18
- "The amount has been authorized and captured by Eximbay.","The amount has been authorized and captured by Eximbay."
19
- "The customer was redirected to Eximbay.","The customer was redirected to Eximbay."
20
- "The order has been canceled.","The order has been canceled."
21
- "Title","Title"
22
- "You will be redirected to our secure payment page when you place an order.","You will be redirected to our secure payment page when you place an order."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Eximbay</name>
4
- <version>1.1.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>Show only first product name.</notes>
12
  <authors><author><name>KRPartners Co.,Ltd</name><user>prokod1</user><email>prokod@kr.net</email></author></authors>
13
- <date>2014-10-17</date>
14
- <time>04:23:53</time>
15
- <contents><target name="magelocal"><dir name="Mage"><dir name="Eximbay"><dir name="Block"><file name="Form.php" hash="b8147288ed4b1618385ce3435542a525"/><file name="Info.php" hash="d54164acde35a307cba6c2a93efa545d"/><file name="Jsinit.php" hash="8485fc4e1405c247c66bc2c3a998945a"/><file name="Payment.php" hash="f01db54dd0e7b8e9311332a8cf505197"/><file name="Placeform.php" hash="847d84d6cd2a4109fe86167122b48238"/><file name="Redirect.php" hash="5f94a39dbe0d151e0624070f3ea36af3"/></dir><dir name="Helper"><file name="Data.php" hash="152b123f6ff4de1ecb49f07c4ddfb85d"/></dir><dir name="Model"><file name="Abstract.php" hash="bcb9584222e4510507872de5ddd891ec"/><file name="Acc.php" hash="216134d769ee10f0704b7d592967c5f4"/><file name="Event.php" hash="57551f30b0abdc691cdb959b24ad8e1a"/><file name="Source.php" hash="105a8fe25e2e08ebca7c425f9353c929"/></dir><dir name="controllers"><file name="EximbayController.php" hash="f4830633769127a2d2558053494fab51"/><file name="ProcessingController.php" hash="eb8aa48637821b2615df3b9d3a5a35aa"/></dir><dir name="etc"><file name="config.xml" hash="3f85e6a4cf9455f6243a7fdc8c63104e"/><file name="system.xml" hash="7ffb8aad1a37974d551db99ae9299f5c"/></dir><dir name="sql"><dir name="eximbay_setup"><file name="mysql4-install-0.1.0.php" hash="a6be2fbf126da40e119bf9d15acd545e"/><file name="mysql4-ugrade-0.1.0-0.2.0.php" hash="b6adcaae8201d20284c53eee72cbca36"/></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="a40141b94abc2e79f48261c380f6bee8"/></dir><dir name="template"><dir name="eximbay"><file name="info.phtml" hash="eb6781c9c3239e9e7680c6d135608a98"/><file name="jsinit.phtml" hash="0c96e841bb9c384df2e04d018c5d3a3e"/><dir name="pdf"><file name="info.phtml" hash="d087d55b5aca15306673e37c37650b9b"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="eximbay.xml" hash="6ff8a6036e516221aad42f5144942278"/></dir><dir name="template"><dir name="eximbay"><file name="blank.phtml" hash="6a2650fc18513a3cfb13d3b8362fac63"/><file name="form.phtml" hash="38fbb480c17767a72c3f2cf957c62255"/><file name="info.phtml" hash="e06bb65b3d5e5c57e15be49b2c69c5b9"/><file name="payment.phtml" hash="96b3399e794bf437ff9f662f7f07ce70"/><file name="placeform.phtml" hash="05f35c94c065c9da92c74833e1f9318f"/><file name="redirect.phtml" hash="3889defdb3ed77611448e05406b193ab"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mage_Eximbay.xml" hash="d2ad4447bb58e1fb25f3624eee141768"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Mage_Eximbay.csv" hash="dcea44085c5e6f5bd41b49eb9333863d"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="eximbay"><file name="banner_120_int.gif" hash="54276432f5b4f61f32e8c8cd2a0cc6d1"/><file name="eximbay_acc.gif" hash="0396c67d5d153ee4cae3189a3d469700"/><file name="eximbay_loading.gif" hash="68affa0374b82d560d800c9ea3e160ad"/></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.0</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>Set separate configuration for all payment methods.</notes>
12
  <authors><author><name>KRPartners Co.,Ltd</name><user>prokod1</user><email>prokod@kr.net</email></author></authors>
13
+ <date>2014-10-27</date>
14
+ <time>10:03:26</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"/></dir><dir name="Model"><file name="Abstract.php" hash="28f480fea2adad55a2b09a3b1e20b85a"/><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="f1cd3aaf3f434e3c4d89da46ade0339f"/><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="294e69b78a1b42cef2e802969324232f"/></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="052fd81e77a426484d57a7cda0ab1052"/></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></dir><file name="form.phtml" hash="fe17e160010d308c0df0ebc29673004d"/><file name="info.phtml" hash="4b365112722a6b4d0555580ac1c20c5e"/><file name="payment.phtml" hash="53c355ab63b578a543ab9912a6de8ffd"/><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>
skin/frontend/base/default/images/eximbay/eximbay_acc.gif DELETED
Binary file
skin/frontend/base/default/images/eximbay/eximbay_acc.jpg ADDED
Binary file
skin/frontend/base/default/images/eximbay/eximbay_alp.jpg ADDED
Binary file
skin/frontend/base/default/images/eximbay/eximbay_banner.png ADDED
Binary file
skin/frontend/base/default/images/eximbay/eximbay_cup.jpg ADDED
Binary file
skin/frontend/base/default/images/eximbay/{banner_120_int.gif → eximbay_logo.gif} RENAMED
File without changes
skin/frontend/base/default/images/eximbay/eximbay_nnb.jpg ADDED
Binary file
skin/frontend/base/default/images/eximbay/eximbay_ppl.jpg ADDED
Binary file
skin/frontend/base/default/images/eximbay/eximbay_tnp.jpg ADDED
Binary file