cashbill - Version 1.1.1

Version Notes

Stabilna wersja 1.1.1

Download this release

Release Info

Developer CashBill S.A.
Extension cashbill
Version 1.1.1
Comparing to
See all releases


Code changes from version 1.0.2 to 1.1.1

app/code/community/Platnosci/Cashbill/Model/Payment/Cashbill.php CHANGED
@@ -59,7 +59,7 @@ class Platnosci_Cashbill_Model_Payment_Cashbill extends Mage_Payment_Model_Metho
59
 
60
  $street = join(',',$billing->getStreet());
61
 
62
- $sign = md5($this->getShopID().$order->getBaseGrandTotal().'Zamówienie nr: '.$order_id.'PL'.$order_id.$billing->getFirstname().$billing->getLastname().$order->getCustomerEmail().$billing->getTelephone().$street.$billing->getCity().$billing->getPostcode().'Polska'.$this->getShopKey());
63
 
64
  $redirectionFormData = array(
65
  "service" => $this->getShopID(), //Identyfikator Punktu Płatności nadany w procesie tworzenia
@@ -67,6 +67,7 @@ class Platnosci_Cashbill_Model_Payment_Cashbill extends Mage_Payment_Model_Metho
67
  "lang" => 'PL',
68
  "desc" => "Zamówienie nr: ".$order_id, //Opis transakcji
69
  "userdata" => $order_id, //Dane dodatkowe - id zamówienia
 
70
  "sign" => $sign, //Podpis wysyłanych danych
71
  "forname" => $billing->getFirstname(),
72
  "surname" => $billing->getLastname(),
59
 
60
  $street = join(',',$billing->getStreet());
61
 
62
+ $sign = md5($this->getShopID().$order->getBaseGrandTotal().'Zamówienie nr: '.$order_id.'PL'.$order_id.'Magento'.$billing->getFirstname().$billing->getLastname().$order->getCustomerEmail().$billing->getTelephone().$street.$billing->getCity().$billing->getPostcode().'Polska'.$this->getShopKey());
63
 
64
  $redirectionFormData = array(
65
  "service" => $this->getShopID(), //Identyfikator Punktu Płatności nadany w procesie tworzenia
67
  "lang" => 'PL',
68
  "desc" => "Zamówienie nr: ".$order_id, //Opis transakcji
69
  "userdata" => $order_id, //Dane dodatkowe - id zamówienia
70
+ "ref"=> 'Magento',
71
  "sign" => $sign, //Podpis wysyłanych danych
72
  "forname" => $billing->getFirstname(),
73
  "surname" => $billing->getLastname(),
app/code/community/Platnosci/Cashbill/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Platnosci_Cashbill>
5
- <version>1.0.1</version>
6
  <depends>
7
  <Mage_Payment />
8
  </depends>
2
  <config>
3
  <modules>
4
  <Platnosci_Cashbill>
5
+ <version>1.1.1</version>
6
  <depends>
7
  <Mage_Payment />
8
  </depends>
app/design/adminhtml/default/default/template/platnosci/cashbill/.htaccess ADDED
@@ -0,0 +1 @@
 
1
+ allow from all
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>cashbill</name>
4
- <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license>MIT License</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Modu&#x142; p&#x142;atno&#x15B;ci CashBill</summary>
10
  <description>Dzi&#x119;ki modu&#x142;owi mo&#x17C;esz zaimplementowa&#x107; proste p&#x142;atno&#x15B;ic internetowe z wykorzystanie cashbill.pl</description>
11
- <notes>Stabilna wersja 1.0.2</notes>
12
  <authors><author><name>CashBill S.A.</name><user>cashbill</user><email>lukasz.firek@cashbill.pl</email></author></authors>
13
- <date>2014-12-08</date>
14
- <time>13:02:04</time>
15
- <contents><target name="magecommunity"><dir name="Platnosci"><dir name="Cashbill"><dir name="Block"><dir name="Form"><file name="Cashbill.php" hash="87f212bc545259d8f36490050ea52184"/></dir><dir name="Info"><file name="Cashbill.php" hash="3186b1b56e743cba5cfbc95741af3e3e"/></dir><dir name="Payment"><dir name="Cashbill"><file name="Redirect.php" hash="9cf18bc23bb84f6625eee6dfd509bae7"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="a379f479daa6b5ae48060c2c8338a049"/></dir><dir name="Model"><dir name="Payment"><file name="Cashbill.php" hash="09cf3f239ef1113ba142bc0f2158f379"/></dir></dir><dir name="controllers"><file name="CashbillController.php" hash="515a6550121cb980ddcfc2be31b876d7"/></dir><dir name="etc"><file name="config.xml" hash="8d7ff4156ffd12be31777c6232a730c0"/><file name="system.xml" hash="dfeb682785ef87672f6e54b5b36c1be0"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="platnosci"><dir name="cashbill"><file name="form.phtml" hash="13b8f868d56c95d1965e86775449c394"/><file name="info.phtml" hash="01d8487be6c7b0019a926ff1e8c66893"/><dir name="web"><file name="instrukcja.pdf" hash="174d1b2681202d5bff27eb043f84602e"/><file name="pdf-icon.png" hash="28cdd201144351e73035a9a0e87873c0"/><file name=".htaccess" hash="b203ef4b9ebf35472826208edae9b525"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="platnosci"><dir name="cashbill"><file name="form.phtml" hash="ca71e26277dec846d2d2df101faf2b0e"/><file name="info.phtml" hash="01d8487be6c7b0019a926ff1e8c66893"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Platnosci_Cashbill.xml" hash="2f740e398944f2422f4504b69d8a32bb"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>cashbill</name>
4
+ <version>1.1.1</version>
5
  <stability>stable</stability>
6
  <license>MIT License</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Modu&#x142; p&#x142;atno&#x15B;ci CashBill</summary>
10
  <description>Dzi&#x119;ki modu&#x142;owi mo&#x17C;esz zaimplementowa&#x107; proste p&#x142;atno&#x15B;ic internetowe z wykorzystanie cashbill.pl</description>
11
+ <notes>Stabilna wersja 1.1.1</notes>
12
  <authors><author><name>CashBill S.A.</name><user>cashbill</user><email>lukasz.firek@cashbill.pl</email></author></authors>
13
+ <date>2015-01-05</date>
14
+ <time>11:37:34</time>
15
+ <contents><target name="magecommunity"><dir name="Platnosci"><dir name="Cashbill"><dir name="Block"><dir name="Form"><file name="Cashbill.php" hash="87f212bc545259d8f36490050ea52184"/></dir><dir name="Info"><file name="Cashbill.php" hash="3186b1b56e743cba5cfbc95741af3e3e"/></dir><dir name="Payment"><dir name="Cashbill"><file name="Redirect.php" hash="9cf18bc23bb84f6625eee6dfd509bae7"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="a379f479daa6b5ae48060c2c8338a049"/></dir><dir name="Model"><dir name="Payment"><file name="Cashbill.php" hash="c194700b8c9d309317995ab60b92f491"/></dir></dir><dir name="controllers"><file name="CashbillController.php" hash="515a6550121cb980ddcfc2be31b876d7"/></dir><dir name="etc"><file name="config.xml" hash="561cdf0c731365ba6c3523f3d1691c64"/><file name="system.xml" hash="dfeb682785ef87672f6e54b5b36c1be0"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="platnosci"><dir name="cashbill"><file name="form.phtml" hash="13b8f868d56c95d1965e86775449c394"/><file name="info.phtml" hash="01d8487be6c7b0019a926ff1e8c66893"/><dir name="web"><file name="instrukcja.pdf" hash="174d1b2681202d5bff27eb043f84602e"/><file name="pdf-icon.png" hash="28cdd201144351e73035a9a0e87873c0"/><file name=".htaccess" hash="b203ef4b9ebf35472826208edae9b525"/></dir><file name=".htaccess" hash="b203ef4b9ebf35472826208edae9b525"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="platnosci"><dir name="cashbill"><file name="form.phtml" hash="ca71e26277dec846d2d2df101faf2b0e"/><file name="info.phtml" hash="01d8487be6c7b0019a926ff1e8c66893"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Platnosci_Cashbill.xml" hash="2f740e398944f2422f4504b69d8a32bb"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>