Eximbay - Version 1.1.0

Version Notes

Receiving shipping address 2.

Download this release

Release Info

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


Code changes from version 1.0.9 to 1.1.0

app/code/local/Mage/Eximbay/Model/Abstract.php CHANGED
@@ -221,7 +221,7 @@ abstract class Mage_Eximbay_Model_Abstract extends Mage_Payment_Model_Method_Abs
221
  'amt' => $amt,
222
  'cur' => $cur,
223
  'shop' => Mage::app()->getStore()->getName(),//Mage::app()->getWebsite()->getName(),//Mage::app()->getStore()->getGroup()->getName(),//Mage::getStoreConfig('payment/eximbay_acc/title'),
224
- 'buyer' => $billing->getFirstname() . $billing->getLastname(),
225
  'tel' => $billing->getTelephone(),
226
  'param1' => '',
227
  'param2' => '',
@@ -235,7 +235,8 @@ abstract class Mage_Eximbay_Model_Abstract extends Mage_Payment_Model_Method_Abs
235
  'dm_shipTo_phoneNumber' => $shipping->getTelephone(),
236
  'dm_shipTo_postalCode' => $shipping->getPostcode(),
237
  'dm_shipTo_state' => $shipping->getRegionCode(),
238
- 'dm_shipTo_street1' => $shipping->getStreetFull(),
 
239
  );
240
 
241
  //get item units
221
  'amt' => $amt,
222
  'cur' => $cur,
223
  'shop' => Mage::app()->getStore()->getName(),//Mage::app()->getWebsite()->getName(),//Mage::app()->getStore()->getGroup()->getName(),//Mage::getStoreConfig('payment/eximbay_acc/title'),
224
+ 'buyer' => $billing->getFirstname() . ' ' . $billing->getLastname(),
225
  'tel' => $billing->getTelephone(),
226
  'param1' => '',
227
  'param2' => '',
235
  'dm_shipTo_phoneNumber' => $shipping->getTelephone(),
236
  'dm_shipTo_postalCode' => $shipping->getPostcode(),
237
  'dm_shipTo_state' => $shipping->getRegionCode(),
238
+ 'dm_shipTo_street1' => $shipping->getStreet(1),
239
+ 'dm_shipTo_street2' => $shipping->getStreet(2),
240
  );
241
 
242
  //get item units
app/design/frontend/base/default/template/eximbay/payment.phtml CHANGED
@@ -50,8 +50,8 @@
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; document.getElementById('eximbay-cancel-link').disabled = true;"><span><span><?php echo $this->__('Pay via Eximbay') ?></span></span></button>
54
- <p class="f-left"><a href="<?php echo $this->getUrl('eximbay/processing/cancel') ?>" id="eximbay-cancel-link"><?php echo $this->__('Cancel Order') ?></a></p>
55
  </td>
56
  </tr>
57
  </table>
@@ -63,3 +63,12 @@
63
  </td>
64
  </tr>
65
  </table>
 
 
 
 
 
 
 
 
 
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>
55
  </td>
56
  </tr>
57
  </table>
63
  </td>
64
  </tr>
65
  </table>
66
+ <script type="text/javascript">
67
+ //<![CDATA[
68
+ function disableCancelLink() {
69
+ document.getElementById('eximbay-cancel-link').disabled=true;
70
+ document.getElementById('eximbay-cancel-link').removeAttribute('href');
71
+ document.getElementById('eximbay-cancel-link').style.color = "grey";
72
+ }
73
+ //]]>
74
+ </script>
package.xml CHANGED
@@ -1,38 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Eximbay</name>
4
- <version>1.0.9</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>&lt;p&gt;&lt;i&gt;Eximbay&lt;/i&gt; payment module offers you a variety of popular payment methods via one payment service provider. This module allows you to choose between the following payment types:&lt;/p&gt;&#xD;
11
- &lt;ul&gt;&#xD;
12
- &lt;li&gt;International Credit Cards (VISA, MasterCard, JCB, American Express, and UnionPay)&lt;/li&gt;&#xD;
13
- &lt;li&gt;Paypal, Alipay, Tenpay, CUP(China Union Pay), and 99Bill&lt;/li&gt;&#xD;
14
- &lt;/ul&gt;&#xD;
15
- &lt;p&gt;&lt;strong&gt;Additional Advantages and Services:&lt;/strong&gt;&lt;/p&gt;&#xD;
16
- &lt;ul&gt;&#xD;
17
- &lt;li&gt;Dynamic Currency Conversion(DCC)&lt;br /&gt;&#xD;
18
- -Supports 24 currencies (USD, EUR, JPY, SGD, AUD, HKD THB, GBP, CAD, RUB, TWD, MYR, VND, PHP, MNT, NZD, AED, MOP, BRL, KZT, NOK, SAR, TRY, CNY)&lt;/li&gt;&#xD;
19
- &lt;li&gt;Multi Currency Pricing(MCP)&lt;br /&gt;&#xD;
20
- -Supports 12 currencies (USD, JPY, EUR, GBP, HKD, TWD, CNY, SGD, CAD, AUD, THB, RUB)&lt;/li&gt;&#xD;
21
- &lt;li&gt;Payment Window with Multi-languages&lt;br /&gt;&#xD;
22
- -Supports 4 languages (Korean, Japanese, Chinese, and English)&lt;/li&gt;&#xD;
23
- &lt;li&gt;Risk Management System&lt;br /&gt;&#xD;
24
- -ERM(Eximbay Risk Management System)&lt;br /&gt;&#xD;
25
- -DM/AFS(Decision Manager/Advanced Fraud Screen) Services &#x2013; The World&#x2019;s Biggest Fraud Management Solution by CyberSource Corporation &lt;br /&gt;&#xD;
26
- -2D &amp;amp; 3D secure payment&lt;/li&gt;&#xD;
27
- &lt;/ul&gt;&#xD;
28
- &lt;p&gt;&lt;b&gt;Contact Us:&lt;/b&gt;&lt;/p&gt;&#xD;
29
- &lt;p&gt;If you want to know more about our services and products, please visit us here &lt;a href="https://www.eximbay.com"&gt;www.eximbay.com&lt;/a&gt;&lt;/p&gt;&#xD;
30
- &lt;p&gt;You can also contact us anytime at email address: &lt;u&gt;onlinesupport@eximbay.com&lt;/u&gt;&lt;/p&gt;</description>
31
- <notes>Updated for Cybersource gateway.</notes>
32
  <authors><author><name>KRPartners Co.,Ltd</name><user>prokod1</user><email>prokod@kr.net</email></author></authors>
33
- <date>2014-10-14</date>
34
- <time>06:57:55</time>
35
- <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="f9c9c1d615f405b8a32aa041489685d5"/><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="dc5caf5964467ef488e0f2221a6f4b59"/><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>
36
  <compatible/>
37
- <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
38
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Eximbay</name>
4
+ <version>1.1.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>Receiving shipping address 2.</notes>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  <authors><author><name>KRPartners Co.,Ltd</name><user>prokod1</user><email>prokod@kr.net</email></author></authors>
13
+ <date>2014-10-15</date>
14
+ <time>10:07:07</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="9e2e4f403af64e3e105749a8ad7b528c"/><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>