Version Notes
MerchantPlus NaviGate payment gateway for credit card processing.
Download this release
Release Info
Developer | Merchantplus |
Extension | Merchantplus_Merchantplus |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.0.1
- app/code/community/Merchantplus/Merchantplus/Model/Adminhtml/System/Config/Source/Transmethod.php +0 -0
- app/code/community/Merchantplus/Merchantplus/Model/Merchantplus.php +3 -1
- app/code/community/Merchantplus/Merchantplus/Model/Observer.php +0 -0
- app/code/community/Merchantplus/Merchantplus/etc/config.xml +0 -0
- app/code/community/Merchantplus/Merchantplus/etc/system.xml +10 -1
- app/etc/modules/Merchantplus_Merchantplus.xml +0 -0
- package.xml +5 -5
app/code/community/Merchantplus/Merchantplus/Model/Adminhtml/System/Config/Source/Transmethod.php
CHANGED
File without changes
|
app/code/community/Merchantplus/Merchantplus/Model/Merchantplus.php
CHANGED
@@ -175,7 +175,9 @@ class Merchantplus_Merchantplus_Model_Merchantplus extends Mage_Payment_Model_Me
|
|
175 |
curl_close($request);
|
176 |
|
177 |
$debugData['response'] = $response;
|
178 |
-
$this->
|
|
|
|
|
179 |
|
180 |
return array('http_code'=>$info['http_code'], 'body'=>$response);
|
181 |
}
|
175 |
curl_close($request);
|
176 |
|
177 |
$debugData['response'] = $response;
|
178 |
+
if($this->getConfigData('debug')==1) {
|
179 |
+
$this->_debug($debugData);
|
180 |
+
}
|
181 |
|
182 |
return array('http_code'=>$info['http_code'], 'body'=>$response);
|
183 |
}
|
app/code/community/Merchantplus/Merchantplus/Model/Observer.php
CHANGED
File without changes
|
app/code/community/Merchantplus/Merchantplus/etc/config.xml
CHANGED
File without changes
|
app/code/community/Merchantplus/Merchantplus/etc/system.xml
CHANGED
@@ -53,11 +53,20 @@
|
|
53 |
<show_in_website>1</show_in_website>
|
54 |
<show_in_store>0</show_in_store>
|
55 |
</method>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
<test translate="label">
|
57 |
<label>Test Mode</label>
|
58 |
<frontend_type>select</frontend_type>
|
59 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
60 |
-
<sort_order>
|
61 |
<show_in_default>1</show_in_default>
|
62 |
<show_in_website>1</show_in_website>
|
63 |
<show_in_store>0</show_in_store>
|
53 |
<show_in_website>1</show_in_website>
|
54 |
<show_in_store>0</show_in_store>
|
55 |
</method>
|
56 |
+
<debug translate="label">
|
57 |
+
<label>Debug</label>
|
58 |
+
<frontend_type>select</frontend_type>
|
59 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
60 |
+
<sort_order>5</sort_order>
|
61 |
+
<show_in_default>1</show_in_default>
|
62 |
+
<show_in_website>1</show_in_website>
|
63 |
+
<show_in_store>0</show_in_store>
|
64 |
+
</debug>
|
65 |
<test translate="label">
|
66 |
<label>Test Mode</label>
|
67 |
<frontend_type>select</frontend_type>
|
68 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
69 |
+
<sort_order>6</sort_order>
|
70 |
<show_in_default>1</show_in_default>
|
71 |
<show_in_website>1</show_in_website>
|
72 |
<show_in_store>0</show_in_store>
|
app/etc/modules/Merchantplus_Merchantplus.xml
CHANGED
File without changes
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Merchantplus_Merchantplus</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>MerchantPlus NaviGate payment gateway for credit card processing.</summary>
|
10 |
<description>MerchantPlus NaviGate payment gateway for credit card processing.</description>
|
11 |
-
<notes>MerchantPlus NaviGate payment gateway for credit card processing
|
12 |
<authors><author><name>Merchantplus</name><user>Merchantplus</user><email>support@merchantplus.com</email></author></authors>
|
13 |
-
<date>2014-
|
14 |
-
<time>
|
15 |
-
<contents></contents>
|
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>Merchantplus_Merchantplus</name>
|
4 |
+
<version>1.0.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>MerchantPlus NaviGate payment gateway for credit card processing.</summary>
|
10 |
<description>MerchantPlus NaviGate payment gateway for credit card processing.</description>
|
11 |
+
<notes>MerchantPlus NaviGate payment gateway for credit card processing.</notes>
|
12 |
<authors><author><name>Merchantplus</name><user>Merchantplus</user><email>support@merchantplus.com</email></author></authors>
|
13 |
+
<date>2014-10-01</date>
|
14 |
+
<time>04:35:21</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Merchantplus"><dir name="Merchantplus"><dir name="Model"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Source"><file name="Transmethod.php" hash="ff9cfa9ae7fccfc6ba0342bae9a83225"/></dir></dir></dir></dir><file name="Merchantplus.php" hash="44d61de33c64d67eded31be3e5b86fe4"/><file name="Observer.php" hash="3b9dbb7ae8331900747cbca62d10a32d"/></dir><dir name="etc"><file name="config.xml" hash="73fada72b72ca1a0ec5891a7531e3ef9"/><file name="system.xml" hash="60d0178b1709b2000b601fb3828f65cf"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Merchantplus_Merchantplus.xml" hash="0ea6437475803b757b8a44515e450a34"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|