Payair_gate - Version 4.0.0.32

Version Notes

Receipt changes and remove Organization Number from admin section.

Download this release

Release Info

Developer Christian Sanchez
Extension Payair_gate
Version 4.0.0.32
Comparing to
See all releases


Code changes from version 4.0.0.31 to 4.0.0.32

app/code/community/Payair/Gate/controllers/IndexController.php CHANGED
@@ -545,11 +545,14 @@ class Payair_Gate_IndexController extends Mage_Core_Controller_Front_Action {
545
  $order->save();
546
  }
547
 
 
548
  $receipt_msg_top = Mage::getStoreConfig('payment/gate/gate_order_info_top', $this->getStoreId());
549
  $receipt_msg_bottom = Mage::getStoreConfig('payment/gate/gate_order_info_bottom', $this->getStoreId());
 
550
  $receipt_data = array(
551
- array("name" => "infoTop", "value" => $receipt_msg_top),
552
- array("name" => "infoBottom", "value" => $receipt_msg_bottom)
 
553
  );
554
 
555
 
545
  $order->save();
546
  }
547
 
548
+ $receipt_logo = Mage::getStoreConfig('payment/gate/gate_receipt_logo', $this->getStoreId());
549
  $receipt_msg_top = Mage::getStoreConfig('payment/gate/gate_order_info_top', $this->getStoreId());
550
  $receipt_msg_bottom = Mage::getStoreConfig('payment/gate/gate_order_info_bottom', $this->getStoreId());
551
+
552
  $receipt_data = array(
553
+ array("name" => "receiptLogo", "value" => $receipt_logo),
554
+ array("name" => "receiptTopMsg", "value" => $receipt_msg_top),
555
+ array("name" => "receiptBottomMsg", "value" => $receipt_msg_bottom)
556
  );
557
 
558
 
app/code/community/Payair/Gate/etc/system.xml CHANGED
@@ -73,14 +73,14 @@
73
  <show_in_website>1</show_in_website>
74
  <show_in_store>1</show_in_store>
75
  </gate_snap_view>
76
- <gate_org_no translate="label">
77
  <label>Organization Number</label>
78
  <frontend_type>text</frontend_type>
79
  <sort_order>9</sort_order>
80
  <show_in_default>1</show_in_default>
81
  <show_in_website>1</show_in_website>
82
  <show_in_store>1</show_in_store>
83
- </gate_org_no>
84
  <gate_receipt_logo translate="label">
85
  <label>Receipt Logo</label>
86
  <comment>(example: https://www.payair.com/logo.jpg)</comment>
@@ -91,7 +91,7 @@
91
  <show_in_store>1</show_in_store>
92
  </gate_receipt_logo>
93
  <gate_order_info_top translate="label">
94
- <label>Top Message</label>
95
  <frontend_type>text</frontend_type>
96
  <sort_order>11</sort_order>
97
  <show_in_default>1</show_in_default>
@@ -99,7 +99,7 @@
99
  <show_in_store>1</show_in_store>
100
  </gate_order_info_top>
101
  <gate_order_info_bottom translate="label">
102
- <label>Bottom Message</label>
103
  <frontend_type>text</frontend_type>
104
  <sort_order>12</sort_order>
105
  <show_in_default>1</show_in_default>
73
  <show_in_website>1</show_in_website>
74
  <show_in_store>1</show_in_store>
75
  </gate_snap_view>
76
+ <!--<gate_org_no translate="label">
77
  <label>Organization Number</label>
78
  <frontend_type>text</frontend_type>
79
  <sort_order>9</sort_order>
80
  <show_in_default>1</show_in_default>
81
  <show_in_website>1</show_in_website>
82
  <show_in_store>1</show_in_store>
83
+ </gate_org_no> -->
84
  <gate_receipt_logo translate="label">
85
  <label>Receipt Logo</label>
86
  <comment>(example: https://www.payair.com/logo.jpg)</comment>
91
  <show_in_store>1</show_in_store>
92
  </gate_receipt_logo>
93
  <gate_order_info_top translate="label">
94
+ <label>Receipt Top Message</label>
95
  <frontend_type>text</frontend_type>
96
  <sort_order>11</sort_order>
97
  <show_in_default>1</show_in_default>
99
  <show_in_store>1</show_in_store>
100
  </gate_order_info_top>
101
  <gate_order_info_bottom translate="label">
102
+ <label>Receipt Bottom Message</label>
103
  <frontend_type>text</frontend_type>
104
  <sort_order>12</sort_order>
105
  <show_in_default>1</show_in_default>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Payair_gate</name>
4
- <version>4.0.0.31</version>
5
  <stability>stable</stability>
6
  <license>GPL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Payair payment gateway version 4</summary>
10
  <description>Simplified and secure shopping solution for your customers. Allows checkout in less than 10 seconds.</description>
11
- <notes>delivery method issue resolved</notes>
12
  <authors><author><name>Christian Sanchez</name><user>payair</user><email>christian.sanchez@payair.com</email></author></authors>
13
- <date>2013-10-14</date>
14
- <time>12:32:50</time>
15
- <contents><target name="mageetc"><dir name="modules"><file name="Payair_Gate.xml" hash="ab09c7de9ca9ce3629379a8375ae7fc3"/><file name="Payair_Adminhtml.xml" hash="051013e3888ebf812048921073dae688"/></dir></target><target name="magecommunity"><dir name="Payair"><dir name="Gate"><dir name="Block"><file name="Paycheckout.php" hash="80d88175ae9a5e5070e9c18e40bb6249"/><file name="Paymentjs.php" hash="5159d42ec21867f00f6df5cb9164e3a9"/><file name="Payproduct.php" hash="aa7ae8f31495bdc5a86c4a5103affd9f"/></dir><dir name="Helper"><file name="Data.php" hash="d57a44055ef38461cb28fe3879db9d4b"/></dir><dir name="Model"><file name="Checkout.php" hash="393cb22fb500e95d79ab254c0464b56f"/><file name="Display.php" hash="9f7c3918df8535f1256759271e50f86e"/><file name="Environment.php" hash="f131e5aa46136420acbaffcbef41a10b"/><file name="Observer.php" hash="65a788233ddee12440477d940d8ca927"/><dir name="Order"><dir name="Api"><file name="V2.php" hash="918fdca710f1e424093bc6e8f386bf3c"/></dir><file name="Api.php" hash="73bf707e89776d73fb7acba455bb157e"/></dir><file name="Payair.php" hash="99d39c96bbfdb533249f7746f882c057"/><file name="RestConnect_Model_Oauth_Client.php" hash="2b25cd997acb20d8b67cb2443357bb5c"/></dir><dir name="controllers"><file name="IndexController.php" hash="c322cabcb99eca7ed2ef8c01a6ad5516"/></dir><dir name="etc"><file name="config.xml" hash="cf1b4df4baf2e1d7fec1fe995f8fa4d3"/><file name="system.xml" hash="5fda863ccaf4ccc70e92f00fbfc7bc2f"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="gate"><file name="button.phtml" hash="fae99d344c5a3900c6bf52104b633e17"/><file name="checkout.phtml" hash="06b37288aafb0a4da7d735dc89c93804"/><file name="product.phtml" hash="cac4a0d9dbc33f80086042c8868e5918"/></dir></dir><dir name="layout"><file name="payair.xml" hash="6f4ee086cddac14e810cec8503a7fb3e"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><file name="payair.css" hash="9faab5311b422d70708626ac641251ea"/></dir><dir name="js"><dir name="payair"><file name="payaircheckout.js" hash="d37d8ae1ddb2dee75ced96bc1db970c9"/></dir></dir></dir></dir></dir></target><target name="magemedia"><dir name="payair"><file name="android_video_thumb_small.png" hash="21253916e7b3141eaf6993e6962bc798"/><file name="express_checkout_banner_v3.png" hash="e5ea47cbd4545abd43e4fae504ebdea2"/><file name="express_checkout_bg_383.png" hash="72de32e7645b966296c321a421ccee84"/><file name="test.html" hash="bbc041d0154bebdd5413af6fe993a2ee"/></dir></target><target name="mageweb"><dir name="js"><dir name="payair"><file name="category.js" hash="1a85e88186f9e917494c618630e955e7"/></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Payair_gate</name>
4
+ <version>4.0.0.32</version>
5
  <stability>stable</stability>
6
  <license>GPL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Payair payment gateway version 4</summary>
10
  <description>Simplified and secure shopping solution for your customers. Allows checkout in less than 10 seconds.</description>
11
+ <notes>Receipt changes and remove Organization Number from admin section. </notes>
12
  <authors><author><name>Christian Sanchez</name><user>payair</user><email>christian.sanchez@payair.com</email></author></authors>
13
+ <date>2013-10-23</date>
14
+ <time>12:31:16</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="Payair_Gate.xml" hash="ab09c7de9ca9ce3629379a8375ae7fc3"/><file name="Payair_Adminhtml.xml" hash="051013e3888ebf812048921073dae688"/></dir></target><target name="magecommunity"><dir name="Payair"><dir name="Gate"><dir name="Block"><file name="Paycheckout.php" hash="80d88175ae9a5e5070e9c18e40bb6249"/><file name="Paymentjs.php" hash="5159d42ec21867f00f6df5cb9164e3a9"/><file name="Payproduct.php" hash="aa7ae8f31495bdc5a86c4a5103affd9f"/></dir><dir name="Helper"><file name="Data.php" hash="d57a44055ef38461cb28fe3879db9d4b"/></dir><dir name="Model"><file name="Checkout.php" hash="393cb22fb500e95d79ab254c0464b56f"/><file name="Display.php" hash="9f7c3918df8535f1256759271e50f86e"/><file name="Environment.php" hash="f131e5aa46136420acbaffcbef41a10b"/><file name="Observer.php" hash="65a788233ddee12440477d940d8ca927"/><dir name="Order"><dir name="Api"><file name="V2.php" hash="918fdca710f1e424093bc6e8f386bf3c"/></dir><file name="Api.php" hash="73bf707e89776d73fb7acba455bb157e"/></dir><file name="Payair.php" hash="99d39c96bbfdb533249f7746f882c057"/><file name="RestConnect_Model_Oauth_Client.php" hash="2b25cd997acb20d8b67cb2443357bb5c"/></dir><dir name="controllers"><file name="IndexController.php" hash="4fff11b87f1c43bc30396ee14323f0b2"/></dir><dir name="etc"><file name="config.xml" hash="cf1b4df4baf2e1d7fec1fe995f8fa4d3"/><file name="system.xml" hash="1313cd8a4e43ce3d52eddd4efa513f76"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="gate"><file name="button.phtml" hash="fae99d344c5a3900c6bf52104b633e17"/><file name="checkout.phtml" hash="06b37288aafb0a4da7d735dc89c93804"/><file name="product.phtml" hash="cac4a0d9dbc33f80086042c8868e5918"/></dir></dir><dir name="layout"><file name="payair.xml" hash="6f4ee086cddac14e810cec8503a7fb3e"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><file name="payair.css" hash="9faab5311b422d70708626ac641251ea"/></dir><dir name="js"><dir name="payair"><file name="payaircheckout.js" hash="d37d8ae1ddb2dee75ced96bc1db970c9"/></dir></dir></dir></dir></dir></target><target name="magemedia"><dir name="payair"><file name="android_video_thumb_small.png" hash="21253916e7b3141eaf6993e6962bc798"/><file name="express_checkout_banner_v3.png" hash="e5ea47cbd4545abd43e4fae504ebdea2"/><file name="express_checkout_bg_383.png" hash="72de32e7645b966296c321a421ccee84"/><file name="test.html" hash="bbc041d0154bebdd5413af6fe993a2ee"/></dir></target><target name="mageweb"><dir name="js"><dir name="payair"><file name="category.js" hash="1a85e88186f9e917494c618630e955e7"/></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>