PagBrasil - Version 2.3.0

Version Notes

- Added responsivity feature to automatically adapt the payment form to any resolution of screen.
- Minor bug fixes

This plugin is only compatible to Magento's checkout type OnePage.

Download this release

Release Info

Developer PagBrasil
Extension PagBrasil
Version 2.3.0
Comparing to
See all releases


Code changes from version 2.2.1 to 2.3.0

app/design/frontend/base/default/template/pagbrasil/payment.phtml CHANGED
@@ -102,9 +102,23 @@ if($this->getPagbrasilMethod() == 'pagbrasil_bb')
102
  {
103
  foreach ($this->getFormData() as $name => $value)
104
  {
105
- ?>
106
- <input type="hidden" name="<?php echo $name; ?>" value="<?php echo $value; ?>"/>
107
- <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  }
109
  ?>
110
  <?php
102
  {
103
  foreach ($this->getFormData() as $name => $value)
104
  {
105
+ if($name == "responsive")
106
+ {
107
+ ?>
108
+ <!--[if lt IE 9]>
109
+ <input type="hidden" name="<?php echo $name; ?>" value="0"/>
110
+ <![endif]-->
111
+ <!--[if (gte IE 9)|!(IE)]><!-->
112
+ <input type="hidden" name="<?php echo $name; ?>" value="<?php echo $value; ?>"/>
113
+ <!--<![endif]-->
114
+ <?php
115
+ }
116
+ else
117
+ {
118
+ ?>
119
+ <input type="hidden" name="<?php echo $name; ?>" value="<?php echo $value; ?>"/>
120
+ <?php
121
+ }
122
  }
123
  ?>
124
  <?php
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>PagBrasil</name>
4
- <version>2.2.1</version>
5
  <stability>stable</stability>
6
  <license>GNU General Public License (GPL)</license>
7
  <channel>community</channel>
@@ -48,13 +48,14 @@ Contact us&#xD;
48
  We will be glad to assist you on opening a merchant account with us. Please contact us at https://www.pagbrasil.com/pb/contact-us.html for more information on how PagBrasil can multiply your sales. &#xD;
49
  &#xD;
50
  Or visit our website www.pagbrasil.com</description>
51
- <notes>Minor bug fixes.&#xD;
 
52
  &#xD;
53
  This plugin is only compatible to Magento's checkout type OnePage.</notes>
54
  <authors><author><name>PagBrasil</name><user>PagBrasil</user><email>support@pagbrasil.com</email></author></authors>
55
- <date>2015-06-08</date>
56
- <time>18:21:44</time>
57
- <contents><target name="magecommunity"><dir name="Mzcart"><dir name="Pagbrasil"><dir name="Block"><file name="Form.php" hash="ba94fcaafb4e285e04e05cb910ffa417"/><file name="Info.php" hash="3124b6b54fe204541371f73fe244fd9c"/><file name="Payment.php" hash="c37ce4f038ddf9d07b194ae8bd358cfa"/><file name="Redirect.php" hash="dcb5b438b357ef72247b9949e3894939"/></dir><dir name="Helper"><file name="Data.php" hash="91dc606b4f412f5fa4c21fe6bbd6258a"/></dir><dir name="Model"><file name="Abstract.php" hash="f5146720c1ed8d914748476d83d31183"/><file name="Acc.php" hash="54929843632c803c8c4672d7dbc8c15c"/><file name="Bb.php" hash="e92c6b31e3b1ef1d3ae8b6b013ada7e6"/><file name="Event.php" hash="548fb8c163d24c9628ce78c12652c187"/><file name="Obt.php" hash="98a85c14af2b0135d26978a009c846e7"/></dir><dir name="controllers"><file name="ProcessingController.php" hash="e9002a1eba32f51d044af0f8c9608e85"/></dir><dir name="etc"><file name="config.xml" hash="67632770c0cd477550ebb1c10bc9db41"/><file name="system.xml" hash="d8663ac53ddbea9fdeec6c86f90dda4a"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="pagbrasil.xml" hash="0dfc4e1e75fa4d8385e130d3fa746920"/></dir><dir name="template"><dir name="pagbrasil"><file name="payment.phtml" hash="d7b531d247a4ee238796c177d13a395c"/><file name="redirect.phtml" hash="99811d651f215827bbd85db9ade1824b"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Mzcart_Pagbrasil.csv" hash="a0eddefab5bd2dd016a3a0621c965a3a"/></dir><dir name="pt_BR"><file name="Mzcart_Pagbrasil.csv" hash="180c6f081be434452c437cdc16465c58"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="pagbrasil"><file name="Thumbs.db" hash="01a92737de4b94181521fb8e47f61c24"/><file name="loading.gif" hash="e27e38e1eac6c9e8736bf8d63044289c"/><file name="pagbrasil_acc.gif" hash="d0c923e9530e02ef737de436b8cdb347"/><file name="pagbrasil_bb.gif" hash="c918b6473bd26fc8b7f98bfe94551430"/><file name="pagbrasil_obt.gif" hash="dfe033cd9116b6bd3bf015eeff63d35b"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mzcart_Pagbrasil.xml" hash="755c1aa1443bef3423a3c68272e5a72e"/></dir></target></contents>
58
  <compatible/>
59
  <dependencies><required><php><min>5.2.0</min><max>5.5.0</max></php></required></dependencies>
60
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>PagBrasil</name>
4
+ <version>2.3.0</version>
5
  <stability>stable</stability>
6
  <license>GNU General Public License (GPL)</license>
7
  <channel>community</channel>
48
  We will be glad to assist you on opening a merchant account with us. Please contact us at https://www.pagbrasil.com/pb/contact-us.html for more information on how PagBrasil can multiply your sales. &#xD;
49
  &#xD;
50
  Or visit our website www.pagbrasil.com</description>
51
+ <notes>- Added responsivity feature to automatically adapt the payment form to any resolution of screen.&#xD;
52
+ - Minor bug fixes&#xD;
53
  &#xD;
54
  This plugin is only compatible to Magento's checkout type OnePage.</notes>
55
  <authors><author><name>PagBrasil</name><user>PagBrasil</user><email>support@pagbrasil.com</email></author></authors>
56
+ <date>2015-06-09</date>
57
+ <time>22:43:36</time>
58
+ <contents><target name="magecommunity"><dir name="Mzcart"><dir name="Pagbrasil"><dir name="Block"><file name="Form.php" hash="ba94fcaafb4e285e04e05cb910ffa417"/><file name="Info.php" hash="3124b6b54fe204541371f73fe244fd9c"/><file name="Payment.php" hash="c37ce4f038ddf9d07b194ae8bd358cfa"/><file name="Redirect.php" hash="dcb5b438b357ef72247b9949e3894939"/></dir><dir name="Helper"><file name="Data.php" hash="91dc606b4f412f5fa4c21fe6bbd6258a"/></dir><dir name="Model"><file name="Abstract.php" hash="f5146720c1ed8d914748476d83d31183"/><file name="Acc.php" hash="54929843632c803c8c4672d7dbc8c15c"/><file name="Bb.php" hash="e92c6b31e3b1ef1d3ae8b6b013ada7e6"/><file name="Event.php" hash="548fb8c163d24c9628ce78c12652c187"/><file name="Obt.php" hash="98a85c14af2b0135d26978a009c846e7"/></dir><dir name="controllers"><file name="ProcessingController.php" hash="e9002a1eba32f51d044af0f8c9608e85"/></dir><dir name="etc"><file name="config.xml" hash="67632770c0cd477550ebb1c10bc9db41"/><file name="system.xml" hash="d8663ac53ddbea9fdeec6c86f90dda4a"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="pagbrasil.xml" hash="0dfc4e1e75fa4d8385e130d3fa746920"/></dir><dir name="template"><dir name="pagbrasil"><file name="payment.phtml" hash="4680277d95053ba4a14f7b1027a545d4"/><file name="redirect.phtml" hash="99811d651f215827bbd85db9ade1824b"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Mzcart_Pagbrasil.csv" hash="a0eddefab5bd2dd016a3a0621c965a3a"/></dir><dir name="pt_BR"><file name="Mzcart_Pagbrasil.csv" hash="180c6f081be434452c437cdc16465c58"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="pagbrasil"><file name="Thumbs.db" hash="01a92737de4b94181521fb8e47f61c24"/><file name="loading.gif" hash="e27e38e1eac6c9e8736bf8d63044289c"/><file name="pagbrasil_acc.gif" hash="d0c923e9530e02ef737de436b8cdb347"/><file name="pagbrasil_bb.gif" hash="c918b6473bd26fc8b7f98bfe94551430"/><file name="pagbrasil_obt.gif" hash="dfe033cd9116b6bd3bf015eeff63d35b"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mzcart_Pagbrasil.xml" hash="755c1aa1443bef3423a3c68272e5a72e"/></dir></target></contents>
59
  <compatible/>
60
  <dependencies><required><php><min>5.2.0</min><max>5.5.0</max></php></required></dependencies>
61
  </package>