Version Notes
Fixed 'Backspace' bug.
Download this release
Release Info
Developer | KRPartners Co.,Ltd |
Extension | Eximbay |
Version | 2.0.8 |
Comparing to | |
See all releases |
Code changes from version 2.0.7 to 2.0.8
app/code/community/Krp/Eximbay/controllers/ProcessingController.php
CHANGED
@@ -54,6 +54,12 @@ class Krp_Eximbay_ProcessingController extends Mage_Core_Controller_Front_Action
|
|
54 |
Mage::throwException('No order for processing found');
|
55 |
}
|
56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
$order->setState(Mage_Sales_Model_Order::STATE_PENDING_PAYMENT, Mage_Sales_Model_Order::STATE_PENDING_PAYMENT,
|
58 |
Mage::helper('eximbay')->__('The customer was redirected to Eximbay.')
|
59 |
);
|
54 |
Mage::throwException('No order for processing found');
|
55 |
}
|
56 |
|
57 |
+
Mage::log($session->getLastRealOrderId().' -> BaseTotalDue : '.$order->getBaseTotalDue().' OrderState : '.$order->getState(), null, 'eximbay'.Mage::getModel('core/date')->date('Y-m-d').'.log');
|
58 |
+
if(($order->getBaseTotalDue() == 0 && $order->getState() == Mage_Sales_Model_Order::STATE_PROCESSING)
|
59 |
+
|| $order->getState() == Mage_Sales_Model_Order::STATE_CANCELED || $order->getState() == Mage_Sales_Model_Order::STATE_COMPLETE || $order->getState() == Mage_Sales_Model_Order::STATE_CLOSED){
|
60 |
+
Mage::throwException(Mage::helper('eximbay')->__('Unable to initialize Eximbay'));
|
61 |
+
}
|
62 |
+
|
63 |
$order->setState(Mage_Sales_Model_Order::STATE_PENDING_PAYMENT, Mage_Sales_Model_Order::STATE_PENDING_PAYMENT,
|
64 |
Mage::helper('eximbay')->__('The customer was redirected to Eximbay.')
|
65 |
);
|
app/locale/en_US/Krp_Eximbay.csv
CHANGED
@@ -17,3 +17,4 @@ 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."
|
|
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."
|
20 |
+
Unable to initialize Eximbay,Unable to initialize Eximbay
|
package.xml
CHANGED
@@ -1,19 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Eximbay</name>
|
4 |
-
<version>2.0.
|
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>
|
12 |
-
Added WeChat payment method.</notes>
|
13 |
<authors><author><name>KRPartners Co.,Ltd</name><user>prokod1</user><email>prokod@kr.net</email></author></authors>
|
14 |
-
<date>
|
15 |
-
<time>
|
16 |
-
<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="907991b8d3763968006af490eb803a32"/></dir></dir></dir><file name="Form.php" hash="f6a8a89d07384accc0501a6806fb8a58"/><file name="Info.php" hash="2a74edc39a49612eca820a6826d03a93"/><file name="Jsinit.php" hash="f5e7e6864d9a66fdeb760865885eb028"/><file name="Payment.php" hash="e55e4e8c36ac4e3a8372723cc7e34fbc"/><file name="Placeform.php" hash="22e9a71ba8d56e338b273df0a31d408e"/><file name="Redirect.php" hash="ed0a1ae878f925001dda455bdcee7281"/></dir><dir name="Helper"><file name="Data.php" hash="39b50d67f2f0ce838900530ded9cb5f7"/><file name="Ppp.php" hash="2209927ca48e88ea8312cb3babb3cac5"/></dir><dir name="Model"><file name="Abstract.php" hash="a59ea03fa4beceaa21f7c7cc8e4c78a7"/><file name="Acc.php" hash="e01ef19e450cc81d7abea76716a68ee3"/><file name="All.php" hash="4a1fe99522a07b0594f62a5fc93d7279"/><file name="Alp.php" hash="fc5e746a521d7e8fe609d56dd8971fb2"/><file name="Cup.php" hash="3e61b570bf9ec0f47a8282b289c5cbc2"/><file name="Ecn.php" hash="8c81daff5feccef2173f7afe399d2b4d"/><file name="Event.php" hash="8da091dc77e42a34c94b81c2c88e6383"/><file name="Nnb.php" hash="dbfd83d3c79479decb81ecd2198a3f31"/><file name="Popup.php" hash="26b4d183cdaebcd6a66e3ccc97570be8"/><file name="Popupiframe.php" hash="fceb0e286d5c7f2d47937dc24763d276"/><file name="Ppl.php" hash="67a14f356dbc79d54b3ad8448416bca6"/><file name="Tnp.php" hash="f5a167e11ec3c37b16d87ac4284f1f95"/><file name="Version.php" hash="d38c79d0ec939a8ee32491b5a54b7ee4"/><file name="Wct.php" hash="b9b24b4bcccba0d98150622621493f39"/></dir><dir name="controllers"><file name="EximbayController.php" hash="9aef2e23676514be7da811f02ace1638"/><file name="ProcessingController.php" hash="
|
17 |
<compatible/>
|
18 |
<dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
|
19 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Eximbay</name>
|
4 |
+
<version>2.0.8</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>Fixed 'Backspace' bug.</notes>
|
|
|
12 |
<authors><author><name>KRPartners Co.,Ltd</name><user>prokod1</user><email>prokod@kr.net</email></author></authors>
|
13 |
+
<date>2016-01-14</date>
|
14 |
+
<time>09:15:09</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="907991b8d3763968006af490eb803a32"/></dir></dir></dir><file name="Form.php" hash="f6a8a89d07384accc0501a6806fb8a58"/><file name="Info.php" hash="2a74edc39a49612eca820a6826d03a93"/><file name="Jsinit.php" hash="f5e7e6864d9a66fdeb760865885eb028"/><file name="Payment.php" hash="e55e4e8c36ac4e3a8372723cc7e34fbc"/><file name="Placeform.php" hash="22e9a71ba8d56e338b273df0a31d408e"/><file name="Redirect.php" hash="ed0a1ae878f925001dda455bdcee7281"/></dir><dir name="Helper"><file name="Data.php" hash="39b50d67f2f0ce838900530ded9cb5f7"/><file name="Ppp.php" hash="2209927ca48e88ea8312cb3babb3cac5"/></dir><dir name="Model"><file name="Abstract.php" hash="a59ea03fa4beceaa21f7c7cc8e4c78a7"/><file name="Acc.php" hash="e01ef19e450cc81d7abea76716a68ee3"/><file name="All.php" hash="4a1fe99522a07b0594f62a5fc93d7279"/><file name="Alp.php" hash="fc5e746a521d7e8fe609d56dd8971fb2"/><file name="Cup.php" hash="3e61b570bf9ec0f47a8282b289c5cbc2"/><file name="Ecn.php" hash="8c81daff5feccef2173f7afe399d2b4d"/><file name="Event.php" hash="8da091dc77e42a34c94b81c2c88e6383"/><file name="Nnb.php" hash="dbfd83d3c79479decb81ecd2198a3f31"/><file name="Popup.php" hash="26b4d183cdaebcd6a66e3ccc97570be8"/><file name="Popupiframe.php" hash="fceb0e286d5c7f2d47937dc24763d276"/><file name="Ppl.php" hash="67a14f356dbc79d54b3ad8448416bca6"/><file name="Tnp.php" hash="f5a167e11ec3c37b16d87ac4284f1f95"/><file name="Version.php" hash="d38c79d0ec939a8ee32491b5a54b7ee4"/><file name="Wct.php" hash="b9b24b4bcccba0d98150622621493f39"/></dir><dir name="controllers"><file name="EximbayController.php" hash="9aef2e23676514be7da811f02ace1638"/><file name="ProcessingController.php" hash="fd0105556407a7ccb85c530b6bfc9ccb"/></dir><dir name="etc"><file name="config.xml" hash="1e17acecec532f891feedbad0e3e22db"/><file name="system.xml" hash="f4ba7e43b701911d8b7413b57fb2c0bd"/></dir><dir name="sql"><dir name="eximbay_setup"><file name="install-2.0.0.php" hash="de251375de4ea828e2f827f0bfbb4ce5"/><file name="mysql4-ugrade-0.1.0-2.0.0.php" hash="8dbe742a111b82d3aa4106bb9bc7fce9"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="eximbay.xml" hash="46de7d1b0a663271c7b90d3bdfc0e8e8"/></dir><dir name="template"><dir name="eximbay"><file name="info.phtml" hash="8d7970f6b7f17546d5741d61455a0654"/><file name="jsinit.phtml" hash="b146ee4b5a669e2bde2cb300baeedd80"/><dir name="pdf"><file name="info.phtml" hash="145976fe44cdfef7cb0a9ec438a3c162"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="eximbay.xml" hash="54999a880758c5b6808782e1d8e8a54a"/></dir><dir name="template"><dir name="eximbay"><file name="blank.phtml" hash="ea239a21df8d55020f39349254ef5cba"/><dir name="checkout"><dir name="onepage"><dir name="payment"><file name="methods.phtml" hash="be48a6dec436726ba2bef57c04e2c18e"/></dir><dir name="review"><file name="button.phtml" hash="6a4af9bbbf6069d659a12bbd739cddd7"/></dir></dir></dir><file name="form.phtml" hash="fe17e160010d308c0df0ebc29673004d"/><file name="info.phtml" hash="4b365112722a6b4d0555580ac1c20c5e"/><file name="payment.phtml" hash="4db824dda606422b07d64c654fe2b39c"/><file name="placeform.phtml" hash="38e1f0c3f2753020994996fcf06b6c53"/><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="ee5c1ca14d318f9d2d37dff0891e739c"/></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="6caf2218511d1658e00224bfce70bb7e"/><file name="eximbay_acc_02.jpg" hash="b64b77cd6a2a3bcea931e78c85b01e54"/><file name="eximbay_all.png" hash="267e51c8853d83772e8950d55ba8c35e"/><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"/><file name="eximbay_wct.jpg" hash="ebb3613df8d89b8c7a398c91fb2c6e88"/></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>
|