Version Notes
Fixing minor refund issue
Download this release
Release Info
Developer | J2T DESIGN |
Extension | J2t_Payplug |
Version | 1.0.6 |
Comparing to | |
See all releases |
Code changes from version 1.0.5 to 1.0.6
app/code/community/J2t/Payplug/controllers/PaymentController.php
CHANGED
@@ -172,6 +172,8 @@ class J2t_Payplug_PaymentController extends Mage_Core_Controller_Front_Action
|
|
172 |
foreach ($invoices as $invoice) {
|
173 |
$creditmemo = $service->prepareInvoiceCreditmemo($invoice);
|
174 |
$creditmemo->refund();
|
|
|
|
|
175 |
}
|
176 |
//if (!sizeof($invoices)){
|
177 |
$order->setState(Mage::getStoreConfig('payment/j2tpayplug/cancel_order_status', $data['custom_data']));
|
172 |
foreach ($invoices as $invoice) {
|
173 |
$creditmemo = $service->prepareInvoiceCreditmemo($invoice);
|
174 |
$creditmemo->refund();
|
175 |
+
$creditmemo->getInvoice()->save();
|
176 |
+
$creditmemo->save();
|
177 |
}
|
178 |
//if (!sizeof($invoices)){
|
179 |
$order->setState(Mage::getStoreConfig('payment/j2tpayplug/cancel_order_status', $data['custom_data']));
|
app/code/community/J2t/Payplug/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<J2t_Payplug>
|
5 |
-
<version>1.0.
|
6 |
</J2t_Payplug>
|
7 |
</modules>
|
8 |
|
2 |
<config>
|
3 |
<modules>
|
4 |
<J2t_Payplug>
|
5 |
+
<version>1.0.6</version>
|
6 |
</J2t_Payplug>
|
7 |
</modules>
|
8 |
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>J2t_Payplug</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/OSL-3.0">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>PayPlug payment gateway</summary>
|
10 |
<description>It allows to pay with PayPlug</description>
|
11 |
-
<notes>
|
12 |
<authors><author><name>J2T Design</name><user>j2tdesign</user><email>j2tdesign.net@gmail.com</email></author></authors>
|
13 |
-
<date>2015-01-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="J2t"><dir name="Payplug"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Accountdetails.php" hash="c89acdccd51f392dac8dfd032013683f"/></dir></dir></dir><file name="Form.php" hash="0c89710b2d4e94d76e9cc4b37ae3e7a6"/><file name="Info.php" hash="1879d72dca0d0762afa48d7039d07925"/></dir><dir name="Helper"><file name="Data.php" hash="123d5de46cd1577e867e8ab9b0236d09"/></dir><dir name="Model"><file name="Feed.php" hash="a7a040e81827020e74f22f760b8f3f64"/><file name="Observer.php" hash="b385fea0af6f8765f296a2b213b3f10c"/><file name="PaymentMethod.php" hash="0621acf79efad4f9a9fa885ce669812e"/></dir><dir name="controllers"><file name="PaymentController.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>J2t_Payplug</name>
|
4 |
+
<version>1.0.6</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/OSL-3.0">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>PayPlug payment gateway</summary>
|
10 |
<description>It allows to pay with PayPlug</description>
|
11 |
+
<notes>Fixing minor refund issue</notes>
|
12 |
<authors><author><name>J2T Design</name><user>j2tdesign</user><email>j2tdesign.net@gmail.com</email></author></authors>
|
13 |
+
<date>2015-01-29</date>
|
14 |
+
<time>12:15:54</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="J2t"><dir name="Payplug"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Accountdetails.php" hash="c89acdccd51f392dac8dfd032013683f"/></dir></dir></dir><file name="Form.php" hash="0c89710b2d4e94d76e9cc4b37ae3e7a6"/><file name="Info.php" hash="1879d72dca0d0762afa48d7039d07925"/></dir><dir name="Helper"><file name="Data.php" hash="123d5de46cd1577e867e8ab9b0236d09"/></dir><dir name="Model"><file name="Feed.php" hash="a7a040e81827020e74f22f760b8f3f64"/><file name="Observer.php" hash="b385fea0af6f8765f296a2b213b3f10c"/><file name="PaymentMethod.php" hash="0621acf79efad4f9a9fa885ce669812e"/></dir><dir name="controllers"><file name="PaymentController.php" hash="cfb478f2726e775ac35c80ad0defc0f8"/></dir><dir name="etc"><file name="config.xml" hash="486d7acea8670f5446c59501ba0332aa"/><file name="system.xml" hash="6025f80f59a375e4e687065ab2a347df"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="j2tpayplug"><file name="form.phtml" hash="6edeec68d52f962cfe43b703d9925302"/><file name="info.phtml" hash="7270ac2591cb0ad18915d8f5e92bef69"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="j2tpayplug.xml" hash="b4f4d0cbe73cbd00bff554680f531741"/></dir><dir name="template"><dir name="j2tpayplug"><file name="info.phtml" hash="f6aa9ac4ef5ec0aa207e4b5a03666bd1"/><dir name="pdf"><file name="info.phtml" hash="007c81c2ae9e9b16522924a8073294ef"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="J2t_Payplug.xml" hash="dccffdae1d3e6bae6c2e01ed7ec0cff3"/></dir></target><target name="magelocale"><dir><dir name="fr_FR"><file name="j2t_payplug.csv" hash="e974dd6332fdb4714dc519e4df59f1b0"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><file name="j2t_all_admin_1.css" hash="6d64fbd2a114cd820c11017c61bd0897"/><dir name="images"><file name="j2t_all_1.png" hash="19abc9040d74479f19eeb0c686f84766"/></dir></dir></dir></dir></target><target name="magemedia"><dir name="."><file name="icon_accepted_cards_payplug.gif" hash="5270a1ef6a85f679504849cdb1dccb2a"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|