Orba_Payupl - Version 0.3.1

Version Notes

- removed unneeded but generating troubles "CURLOPT_SSL_CIPHER_LIST" option from requests to Payu

Download this release

Release Info

Developer ORBA
Extension Orba_Payupl
Version 0.3.1
Comparing to
See all releases


Code changes from version 0.3.0 to 0.3.1

app/code/community/Orba/Payupl/Helper/Data.php CHANGED
@@ -12,7 +12,11 @@ class Orba_Payupl_Helper_Data extends Mage_Core_Helper_Abstract {
12
  $adapter->setConfig(array(
13
  'curloptions' => array(
14
  CURLOPT_SSLVERSION => 1,
15
- CURLOPT_SSL_CIPHER_LIST => 'TLSv1',
 
 
 
 
16
  CURLOPT_SSL_VERIFYHOST => 2,
17
  CURLOPT_SSL_VERIFYPEER => false
18
  )
12
  $adapter->setConfig(array(
13
  'curloptions' => array(
14
  CURLOPT_SSLVERSION => 1,
15
+ // our experience shows that Payu doesn't need this option
16
+ // older versions of CURL don't understand it
17
+ // hence it's commented
18
+ //
19
+ // CURLOPT_SSL_CIPHER_LIST => 'TLSv1',
20
  CURLOPT_SSL_VERIFYHOST => 2,
21
  CURLOPT_SSL_VERIFYPEER => false
22
  )
app/code/community/Orba/Payupl/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Orba_Payupl>
5
- <version>0.3.0</version>
6
  </Orba_Payupl>
7
  </modules>
8
  <frontend>
2
  <config>
3
  <modules>
4
  <Orba_Payupl>
5
+ <version>0.3.1</version>
6
  </Orba_Payupl>
7
  </modules>
8
  <frontend>
app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.3.0-0.3.1.php ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $this->startSetup();
4
+
5
+ @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.3.1', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']), "From: ".(Mage::getStoreConfig('general/store_information/email_address') ? Mage::getStoreConfig('general/store_information/email_address') : 'magento@orba.pl'));
6
+
7
+ $this->endSetup();
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Orba_Payupl</name>
4
- <version>0.3.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/academic.php">Academic Free License (AFL)</license>
7
  <channel>community</channel>
@@ -14,11 +14,11 @@ If you are interested in the paid version of our extension with additional featu
14
  Modu&#x142; dodaje do sklepu nowy spos&#xF3;b p&#x142;atno&#x15B;ci, kt&#xF3;ry daje klientom mo&#x17C;liwo&#x15B;&#x107; u&#x17C;ycia serwisu Payu.pl do dokonania zap&#x142;aty za zakupy.&#xD;
15
  Istnieje mo&#x17C;liwo&#x15B;&#x107; integracji zar&#xF3;wno kont produkcyjnych jak i tych typu "sandbox".&#xD;
16
  Je&#x15B;li jeste&#x15B; zainteresowany p&#x142;atn&#x105; wersj&#x105; naszego modu&#x142;u, kt&#xF3;ry zawiera dodatkowe funkcjonalno&#x15B;ci oraz pomoc technicz&#x105; w cenie, wy&#x15B;lij do nas wiadomo&#x15B;&#x107; e-mail na adres magento@orba.pl.</description>
17
- <notes>- switch from SSL to TLS</notes>
18
  <authors><author><name>ORBA</name><user>orba</user><email>magento@orba.pl</email></author></authors>
19
- <date>2015-01-05</date>
20
- <time>16:53:55</time>
21
- <contents><target name="magecommunity"><dir name="Orba"><dir name="Payupl"><dir name="Block"><file name="Form.php" hash="0dcab12715372a78f007a4abde209413"/><file name="Redirect.php" hash="1a1dfa1fdd2e4d7c22ea8a0c98772313"/></dir><dir name="Helper"><file name="Data.php" hash="1b4c022fed446e5056098f061b5feb0c"/></dir><dir name="Model"><file name="Config.php" hash="3e933a833c5448bb641435a42a9aaa06"/><file name="Encoding.php" hash="54e9e22bd447dcf581c3b00c84f6d693"/><file name="Gateway.php" hash="10f12edec745c038a1d5b6d06180692c"/><file name="Payment.php" hash="85731d469d58c8962c2a9d979f2a6a07"/><file name="Session.php" hash="aad733c0d69beb14192e22415339343e"/></dir><dir name="controllers"><file name="IndexController.php" hash="2ee7e3bcd53c0eda0eb06f000cf23afb"/><file name="PaymentController.php" hash="6767eb564f270c20f364452aa3f87fb7"/></dir><dir name="etc"><file name="config.xml" hash="bf61cb8208c6ac32a44bc456de6e0760"/><file name="system.xml" hash="5f167eebe2529809465e654ffae869de"/></dir><dir name="sql"><dir name="payupl_setup"><file name="mysql4-install-0.1.0.php" hash="1c24d60e370bb07d601e02fcd1833c12"/><file name="mysql4-install-0.1.1.php" hash="8a734508ca8764fe397e8e98b2abda45"/><file name="mysql4-install-0.1.10.php" hash="59f3be8df67ac4eb1af1382b32f82d61"/><file name="mysql4-install-0.1.2.php" hash="212e958f7dcaca1209844703f1946b4e"/><file name="mysql4-install-0.1.3.php" hash="964592d00bb4cf8224ab5d2d73669d25"/><file name="mysql4-install-0.1.4.1.php" hash="0ad9b065639c15858c92dc443056d1c9"/><file name="mysql4-install-0.1.4.php" hash="0ad9b065639c15858c92dc443056d1c9"/><file name="mysql4-install-0.1.5.php" hash="af851501e249c0f711539724c129ef75"/><file name="mysql4-install-0.1.6.php" hash="86e34723c7192e7b3e63f9f6d6209140"/><file name="mysql4-install-0.1.7.php" hash="ef811c98a328f0c405435bb8d5baf2b3"/><file name="mysql4-install-0.1.8.php" hash="9f772cd5cbec3a46cd0b421ad482e965"/><file name="mysql4-install-0.1.9.php" hash="81a8706be704903850ed23ed63992b43"/><file name="mysql4-install-0.2.0.php" hash="008b767fc311dc1b4ac398a4fe3617da"/><file name="mysql4-install-0.2.1.php" hash="c84b836e0a171a74475c3e68419221c9"/><file name="mysql4-install-0.2.2.php" hash="acfff9b789376eeee001f1785def2156"/><file name="mysql4-install-0.3.0.php" hash="8383ea831bd6aac0393a709533b931b3"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="a5d9fc9d94f987f268c7b8246fcfd2b1"/><file name="mysql4-upgrade-0.1.1-0.1.2.php" hash="f1af4499aecb9280a23c73d98f860394"/><file name="mysql4-upgrade-0.1.10.1-0.2.0.php" hash="162f980728001e13b060b93d6b7007fd"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="6e517684413036f0420a48d8524a74e9"/><file name="mysql4-upgrade-0.1.3-0.1.4.1.php" hash="6a25a80a12e295abd83f4ce19a408c95"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="6a25a80a12e295abd83f4ce19a408c95"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="5a6e25ac859b99b1abbeeb8f71ca5acc"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="679f29891e5dfb59dff039926a58abf1"/><file name="mysql4-upgrade-0.1.6-0.1.7.php" hash="9673754430b1c8479b5f7472dfa85a0b"/><file name="mysql4-upgrade-0.1.7-0.1.8.php" hash="74939b2e76798c32b5c2893dccbbfa40"/><file name="mysql4-upgrade-0.1.8-0.1.9.php" hash="0d8819335f562e651c5b8ee4235a9cfb"/><file name="mysql4-upgrade-0.1.9-0.1.10.php" hash="24c14abbcaaeb35abee2535235d4c97d"/><file name="mysql4-upgrade-0.2.0-0.2.1.php" hash="47b9ce56d9cc39db3b17fa51033bce22"/><file name="mysql4-upgrade-0.2.1-0.2.2.php" hash="8ed509924a148aec16e761e352619d58"/><file name="mysql4-upgrade-0.2.2-0.2.3.php" hash="7344d966b7ebc86cef5dc94e715ef426"/><file name="mysql4-upgrade-0.2.3.1-0.2.4.php" hash="7a38b316c2745a076b0c870b648dddc6"/><file name="mysql4-upgrade-0.2.4-0.3.0.php" hash="e590f960ae315da9f18c0340bcec60d5"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="payupl.xml" hash="ee56ac84a7b72fdfaa0dbd4bc31a2fcc"/></dir><dir name="template"><dir name="payupl"><file name="empty.phtml" hash="ed465deabe832b50373acb983787dac7"/><file name="form.phtml" hash="1924fced96f1f107ce02d2636f4e3671"/><file name="online.phtml" hash="cf1636fb4cfeeec6bd6c17e7da07456e"/><file name="redirect.phtml" hash="e3c9e028dba4a49e410b5ed99cc3e0f0"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Orba_Payupl.xml" hash="59211173152eb267325c65e2498faa01"/></dir></target><target name="magelocale"><dir name="pl_PL"><file name="Orba_Payupl.csv" hash="1565e9dc326bdab05183454689f5a531"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="payupl"><file name="logo.jpg" hash="fc75365ea69655f8b9e3e66d75dc8362"/></dir></dir></dir></dir></dir></target></contents>
22
  <compatible/>
23
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
24
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Orba_Payupl</name>
4
+ <version>0.3.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/academic.php">Academic Free License (AFL)</license>
7
  <channel>community</channel>
14
  Modu&#x142; dodaje do sklepu nowy spos&#xF3;b p&#x142;atno&#x15B;ci, kt&#xF3;ry daje klientom mo&#x17C;liwo&#x15B;&#x107; u&#x17C;ycia serwisu Payu.pl do dokonania zap&#x142;aty za zakupy.&#xD;
15
  Istnieje mo&#x17C;liwo&#x15B;&#x107; integracji zar&#xF3;wno kont produkcyjnych jak i tych typu "sandbox".&#xD;
16
  Je&#x15B;li jeste&#x15B; zainteresowany p&#x142;atn&#x105; wersj&#x105; naszego modu&#x142;u, kt&#xF3;ry zawiera dodatkowe funkcjonalno&#x15B;ci oraz pomoc technicz&#x105; w cenie, wy&#x15B;lij do nas wiadomo&#x15B;&#x107; e-mail na adres magento@orba.pl.</description>
17
+ <notes>- removed unneeded but generating troubles "CURLOPT_SSL_CIPHER_LIST" option from requests to Payu</notes>
18
  <authors><author><name>ORBA</name><user>orba</user><email>magento@orba.pl</email></author></authors>
19
+ <date>2015-01-26</date>
20
+ <time>13:59:25</time>
21
+ <contents><target name="magecommunity"><dir name="Orba"><dir name="Payupl"><dir name="Block"><file name="Form.php" hash="0dcab12715372a78f007a4abde209413"/><file name="Redirect.php" hash="1a1dfa1fdd2e4d7c22ea8a0c98772313"/></dir><dir name="Helper"><file name="Data.php" hash="1b90374540c95121de2146a0dc8d56e0"/></dir><dir name="Model"><file name="Config.php" hash="3e933a833c5448bb641435a42a9aaa06"/><file name="Encoding.php" hash="54e9e22bd447dcf581c3b00c84f6d693"/><file name="Gateway.php" hash="10f12edec745c038a1d5b6d06180692c"/><file name="Payment.php" hash="85731d469d58c8962c2a9d979f2a6a07"/><file name="Session.php" hash="aad733c0d69beb14192e22415339343e"/></dir><dir name="controllers"><file name="IndexController.php" hash="2ee7e3bcd53c0eda0eb06f000cf23afb"/><file name="PaymentController.php" hash="6767eb564f270c20f364452aa3f87fb7"/></dir><dir name="etc"><file name="config.xml" hash="74918f1ce36e2099eb788dd0e033f952"/><file name="system.xml" hash="5f167eebe2529809465e654ffae869de"/></dir><dir name="sql"><dir name="payupl_setup"><file name="mysql4-install-0.1.0.php" hash="1c24d60e370bb07d601e02fcd1833c12"/><file name="mysql4-install-0.1.1.php" hash="8a734508ca8764fe397e8e98b2abda45"/><file name="mysql4-install-0.1.10.php" hash="59f3be8df67ac4eb1af1382b32f82d61"/><file name="mysql4-install-0.1.2.php" hash="212e958f7dcaca1209844703f1946b4e"/><file name="mysql4-install-0.1.3.php" hash="964592d00bb4cf8224ab5d2d73669d25"/><file name="mysql4-install-0.1.4.1.php" hash="0ad9b065639c15858c92dc443056d1c9"/><file name="mysql4-install-0.1.4.php" hash="0ad9b065639c15858c92dc443056d1c9"/><file name="mysql4-install-0.1.5.php" hash="af851501e249c0f711539724c129ef75"/><file name="mysql4-install-0.1.6.php" hash="86e34723c7192e7b3e63f9f6d6209140"/><file name="mysql4-install-0.1.7.php" hash="ef811c98a328f0c405435bb8d5baf2b3"/><file name="mysql4-install-0.1.8.php" hash="9f772cd5cbec3a46cd0b421ad482e965"/><file name="mysql4-install-0.1.9.php" hash="81a8706be704903850ed23ed63992b43"/><file name="mysql4-install-0.2.0.php" hash="008b767fc311dc1b4ac398a4fe3617da"/><file name="mysql4-install-0.2.1.php" hash="c84b836e0a171a74475c3e68419221c9"/><file name="mysql4-install-0.2.2.php" hash="acfff9b789376eeee001f1785def2156"/><file name="mysql4-install-0.3.0.php" hash="8383ea831bd6aac0393a709533b931b3"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="a5d9fc9d94f987f268c7b8246fcfd2b1"/><file name="mysql4-upgrade-0.1.1-0.1.2.php" hash="f1af4499aecb9280a23c73d98f860394"/><file name="mysql4-upgrade-0.1.10.1-0.2.0.php" hash="162f980728001e13b060b93d6b7007fd"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="6e517684413036f0420a48d8524a74e9"/><file name="mysql4-upgrade-0.1.3-0.1.4.1.php" hash="6a25a80a12e295abd83f4ce19a408c95"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="6a25a80a12e295abd83f4ce19a408c95"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="5a6e25ac859b99b1abbeeb8f71ca5acc"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="679f29891e5dfb59dff039926a58abf1"/><file name="mysql4-upgrade-0.1.6-0.1.7.php" hash="9673754430b1c8479b5f7472dfa85a0b"/><file name="mysql4-upgrade-0.1.7-0.1.8.php" hash="74939b2e76798c32b5c2893dccbbfa40"/><file name="mysql4-upgrade-0.1.8-0.1.9.php" hash="0d8819335f562e651c5b8ee4235a9cfb"/><file name="mysql4-upgrade-0.1.9-0.1.10.php" hash="24c14abbcaaeb35abee2535235d4c97d"/><file name="mysql4-upgrade-0.2.0-0.2.1.php" hash="47b9ce56d9cc39db3b17fa51033bce22"/><file name="mysql4-upgrade-0.2.1-0.2.2.php" hash="8ed509924a148aec16e761e352619d58"/><file name="mysql4-upgrade-0.2.2-0.2.3.php" hash="7344d966b7ebc86cef5dc94e715ef426"/><file name="mysql4-upgrade-0.2.3.1-0.2.4.php" hash="7a38b316c2745a076b0c870b648dddc6"/><file name="mysql4-upgrade-0.2.4-0.3.0.php" hash="e590f960ae315da9f18c0340bcec60d5"/><file name="mysql4-upgrade-0.3.0-0.3.1.php" hash="5f2e4427c96931db2b292977b7c1e99d"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="payupl.xml" hash="ee56ac84a7b72fdfaa0dbd4bc31a2fcc"/></dir><dir name="template"><dir name="payupl"><file name="empty.phtml" hash="ed465deabe832b50373acb983787dac7"/><file name="form.phtml" hash="1924fced96f1f107ce02d2636f4e3671"/><file name="online.phtml" hash="cf1636fb4cfeeec6bd6c17e7da07456e"/><file name="redirect.phtml" hash="e3c9e028dba4a49e410b5ed99cc3e0f0"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Orba_Payupl.xml" hash="59211173152eb267325c65e2498faa01"/></dir></target><target name="magelocale"><dir name="pl_PL"><file name="Orba_Payupl.csv" hash="1565e9dc326bdab05183454689f5a531"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="payupl"><file name="logo.jpg" hash="fc75365ea69655f8b9e3e66d75dc8362"/></dir></dir></dir></dir></dir></target></contents>
22
  <compatible/>
23
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
24
  </package>