ZerebroInternet_Barzahlen - Version 1.3.1

Version Notes

In this version the following things were already tested successfully on Magento CE 1.5.0.1, 1.5.1.0, 1.6.0.0, 1.6.1.0, 1.6.2.0, 1.7.0.0, 1.7.0.1, 1.7.0.2, 1.8.0.0, 1.8.1.0, 1.9.0.0, 1.9.0.1, 1.9.1.0

Download this release

Release Info

Developer Alexander Diebler
Extension ZerebroInternet_Barzahlen
Version 1.3.1
Comparing to
See all releases


Code changes from version 1.3.0 to 1.3.1

app/code/community/ZerebroInternet/{Barzahlen/Block/.DS_Store → .DS_Store} RENAMED
File without changes
app/code/community/ZerebroInternet/Barzahlen/Model/.DS_Store DELETED
Binary file
app/code/community/ZerebroInternet/Barzahlen/Model/Ipn.php CHANGED
@@ -148,7 +148,11 @@ class ZerebroInternet_Barzahlen_Model_Ipn
148
  protected function _processTransactionExpired()
149
  {
150
  $payment = $this->_order->getPayment();
151
- $payment->getTransaction($this->_receivedData['transaction_id'])->close();
 
 
 
 
152
  $this->_order->registerCancellation($this->_createIpnComment(), false)->save();
153
  $this->_order->sendOrderUpdateEmail(true, $this->_createIpnComment());
154
  }
148
  protected function _processTransactionExpired()
149
  {
150
  $payment = $this->_order->getPayment();
151
+
152
+ if($transaction = $payment->getTransaction($this->_receivedData['transaction_id'])) {
153
+ $transaction->close();
154
+ }
155
+
156
  $this->_order->registerCancellation($this->_createIpnComment(), false)->save();
157
  $this->_order->sendOrderUpdateEmail(true, $this->_createIpnComment());
158
  }
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ZerebroInternet_Barzahlen</name>
4
- <version>1.3.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Source License (OSL) 3.0</license>
7
  <channel>community</channel>
@@ -12,11 +12,11 @@
12
  ---&#xD;
13
  &#xD;
14
  Barzahlen let's your customers pay cash online. You get a payment confirmation in real-time and you benefit from our payment guarantee and new customer groups. See how Barzahlen works: https://www.barzahlen.de/en/partner/the-way-it-works</description>
15
- <notes>In this version the following things were already tested successfully on Magento CE 1.4.2.0, 1.5.0.1, 1.5.1.0, 1.6.0.0, 1.6.1.0, 1.6.2.0, 1.7.0.0, 1.7.0.1, 1.7.0.2, 1.8.0.0, 1.8.1.0, 1.9.0.0, 1.9.0.1</notes>
16
  <authors><author><name>Alexander Diebler</name><user>alexanderdiebler</user><email>support@barzahlen.de</email></author><author><name>Martin Seener</name><user>martinseener</user><email>support@barzahlen.de</email></author></authors>
17
- <date>2014-11-19</date>
18
- <time>20:15:41</time>
19
- <contents><target name="magecommunity"><dir name="ZerebroInternet"><dir name="Barzahlen"><dir name="Block"><file name="Form.php" hash="1d7c24126682d9472e4f85f4fd0a2992"/><file name="Info.php" hash="e37a213d365267151de31fd5698692d9"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Helper"><file name="Data.php" hash="76291350ced0b3db20c576bd19671ebf"/></dir><dir name="Model"><dir name="Adminexceptions"><file name="Allspecificcountries.php" hash="0def5c9f9800982cf2c52f64774e0292"/><file name="Maxordertotal.php" hash="43a4e90d59bac25561ad6747ed816cb9"/><file name="Notificationkey.php" hash="7099fec98ecb6bbf6b9d6a4eca328363"/><file name="Paymentkey.php" hash="c6b212a4080fe1578ce2374947b1ec70"/><file name="Shopid.php" hash="0c101801ed8b0e1be5877a561d51278a"/><file name="Specificcountry.php" hash="e243efeaa058fdb902693f7c9db778fa"/><file name="Title.php" hash="fa702fb53f9aad29a4ee0af939570c50"/></dir><dir name="Api"><file name="Abstract.php" hash="62600c1f0033145cb12a99de60897f3e"/><file name="Notification.php" hash="0abb5e28cf31c5ae9dd5d3a9a4989d94"/><dir name="Request"><file name="Abstract.php" hash="f75b00f1b903dd8b2a38e123974fab89"/><file name="Cancel.php" hash="ded1cade9e6294f61ee3e562c9e23767"/><file name="Payment.php" hash="1cba69b563035966bc563d2aa07f5f00"/><file name="Refund.php" hash="5d33ceeff9244fc312a04d7c67de95c5"/><file name="Resend.php" hash="cfeac2591b55c65247dc35f8a2e788e2"/><file name="Update.php" hash="dce93f89ce7cb1f7f01897dc7b04b251"/></dir><file name="Version.php" hash="095ec5facb8691cd298a102a651a9546"/><dir name="certs"><file name="ca-bundle.crt" hash="7e78dcc7f5a3aefffbb327141dd7ddcf"/></dir></dir><file name="Api.php" hash="ff5bb405065ae299d4bd45374dc8f9db"/><file name="Barzahlen.php" hash="50120ff5790c88b1df4ee6135bb94b4b"/><file name="Ipn.php" hash="1e19cacea612d8328f1118abaec7f0ba"/><file name="Observer.php" hash="77dc49e5ee19592be4c0a13f9465ed41"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Test"><dir name="Block"><file name="Form.php" hash="b3cd3786480b630046d3a17c6ce1f611"/><file name="Info.php" hash="9fd7298fdffa7517ac3fc9de253a488a"/></dir><dir name="Controller"><dir name="IpnController"><dir name="fixtures"><file name="new_order.yaml" hash="591abc9eeafe9d09af91124c984deaa0"/><file name="paid_order.yaml" hash="72e262deb0ebded29da1943f0d9da2d6"/><file name="refunded_order.yaml" hash="e491eb816f6c6453271df94ad0d64d3d"/><file name="successful_refunded_order.yaml" hash="c0bc964307fb64bbe4d18f2ea8253071"/></dir></dir><file name="IpnController.php" hash="1f3e4eef7ab7bb439bbfd70cf6ad6a60"/><dir name="ResendController"><dir name="fixtures"><file name="new_order.yaml" hash="85228a355439c5bbf7da1657a9ca9329"/><file name="paid_order.yaml" hash="426a30ad0231d31c06ab1fb9ab54eeef"/><file name="refunded_order.yaml" hash="cf7435a46780d6f909fe9f2217254fb1"/><file name="successful_refunded_order.yaml" hash="d06bce0043bde8a3c4219f4882ecb64f"/></dir></dir><file name="ResendController.php" hash="812f5db46b3dfaed3c4ee9eab25bc1d1"/></dir><dir name="Helper"><file name="Data.php" hash="133088ca93f7cc6ef6f370b9bfe4f6de"/></dir><dir name="Model"><dir name="Adminexceptions"><dir name="Maxordertotal"><dir name="fixtures"><file name="Maxordertotal.yaml" hash="b189856fe031df252eb73c154b9d452d"/></dir></dir><file name="Maxordertotal.php" hash="711e41947049e5a411ba7c4baa09e47b"/><dir name="Notificationkey"><dir name="fixtures"><file name="Notificationkey.yaml" hash="b189856fe031df252eb73c154b9d452d"/></dir></dir><file name="Notificationkey.php" hash="b36c9ff3dee065d5b06b4a2140dfe540"/><dir name="Paymentkey"><dir name="fixtures"><file name="Paymentkey.yaml" hash="b189856fe031df252eb73c154b9d452d"/></dir></dir><file name="Paymentkey.php" hash="ddf4d622b463ac91baf2b6516547819e"/><dir name="Shopid"><dir name="fixtures"><file name="Shopid.yaml" hash="b189856fe031df252eb73c154b9d452d"/></dir></dir><file name="Shopid.php" hash="dcbe8310a9e6a03a740356da20cb5e6c"/><dir name="Specificcountry"><dir name="fixtures"><file name="Specificcountry.yaml" hash="b189856fe031df252eb73c154b9d452d"/></dir></dir><file name="Specificcountry.php" hash="1019ac4f2935906384bbb5b2d21a68b0"/><dir name="Title"><dir name="fixtures"><file name="Title.yaml" hash="b189856fe031df252eb73c154b9d452d"/></dir></dir><file name="Title.php" hash="260239d3cd2cd524bd554381c5b2469e"/></dir><dir name="Api"><file name="Notification.php" hash="7448cff7361f1cd6cf5d993aae42ca40"/><dir name="Request"><file name="Cancel.php" hash="d20317dd60dd451d624eca591a6193e2"/><file name="Payment.php" hash="a0a49c6044c5aef3f3bd7b5875229e4f"/><file name="Refund.php" hash="ddecb120d693546724b64a9f5824258d"/><file name="Resend.php" hash="60425da28b101df350331da3a7baf498"/></dir></dir><file name="Barzahlen.php" hash="99bca20b1375def3ffc9a51b6df6a5ee"/></dir></dir><dir name="controllers"><file name="IpnController.php" hash="97dd12571170d7d132559398c3a6e809"/><file name="ResendController.php" hash="5945384ce4a8a4fc2afabc06f7448f28"/></dir><dir name="etc"><file name="config.xml" hash="dac41fa3cf42572a6c49acc8dc47bc92"/><file name="system.xml" hash="4d279e51298f0f8935af4298f632fdc1"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="template"><dir name="barzahlen"><file name="form.phtml" hash="4f0f749dc67fdb948320f0a4806e8ecc"/><file name="info.phtml" hash="6d4ff8e0095b67dbbcfd1c5790987a88"/></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="template"><dir name="barzahlen"><file name="info.phtml" hash="6d4ff8e0095b67dbbcfd1c5790987a88"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="barzahlen"><file name="form.phtml" hash="56eccd77732efa4b9018284d0427fd3d"/><file name="info.phtml" hash="6d4ff8e0095b67dbbcfd1c5790987a88"/><file name="mark.phtml" hash="6e6e2110f30dafd96eddca289dd09b70"/><file name="success.phtml" hash="ebb1fe950a262c0d2416d02cc3b5eb91"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="de_DE"><file name="ZerebroInternet_Barzahlen.csv" hash="42a61107214456adb225990cf295bd49"/></dir><dir name="en_US"><file name="ZerebroInternet_Barzahlen.csv" hash="358bc2cc95fbdf64a49fd60a61c07528"/></dir></target><target name="mageetc"><dir name="modules"><file name="ZerebroInternet_Barzahlen.xml" hash="1ae4207fb1d691ed2565b706cb394ebb"/></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.1.2</min><max>6.0.0</max></php></required></dependencies>
22
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ZerebroInternet_Barzahlen</name>
4
+ <version>1.3.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Source License (OSL) 3.0</license>
7
  <channel>community</channel>
12
  ---&#xD;
13
  &#xD;
14
  Barzahlen let's your customers pay cash online. You get a payment confirmation in real-time and you benefit from our payment guarantee and new customer groups. See how Barzahlen works: https://www.barzahlen.de/en/partner/the-way-it-works</description>
15
+ <notes>In this version the following things were already tested successfully on Magento CE 1.5.0.1, 1.5.1.0, 1.6.0.0, 1.6.1.0, 1.6.2.0, 1.7.0.0, 1.7.0.1, 1.7.0.2, 1.8.0.0, 1.8.1.0, 1.9.0.0, 1.9.0.1, 1.9.1.0</notes>
16
  <authors><author><name>Alexander Diebler</name><user>alexanderdiebler</user><email>support@barzahlen.de</email></author><author><name>Martin Seener</name><user>martinseener</user><email>support@barzahlen.de</email></author></authors>
17
+ <date>2014-12-18</date>
18
+ <time>10:46:45</time>
19
+ <contents><target name="magecommunity"><dir name="ZerebroInternet"><dir name="Barzahlen"><dir name="Block"><file name="Form.php" hash="1d7c24126682d9472e4f85f4fd0a2992"/><file name="Info.php" hash="e37a213d365267151de31fd5698692d9"/></dir><dir name="Helper"><file name="Data.php" hash="76291350ced0b3db20c576bd19671ebf"/></dir><dir name="Model"><dir name="Adminexceptions"><file name="Allspecificcountries.php" hash="0def5c9f9800982cf2c52f64774e0292"/><file name="Maxordertotal.php" hash="43a4e90d59bac25561ad6747ed816cb9"/><file name="Notificationkey.php" hash="7099fec98ecb6bbf6b9d6a4eca328363"/><file name="Paymentkey.php" hash="c6b212a4080fe1578ce2374947b1ec70"/><file name="Shopid.php" hash="0c101801ed8b0e1be5877a561d51278a"/><file name="Specificcountry.php" hash="e243efeaa058fdb902693f7c9db778fa"/><file name="Title.php" hash="fa702fb53f9aad29a4ee0af939570c50"/></dir><dir name="Api"><file name="Abstract.php" hash="62600c1f0033145cb12a99de60897f3e"/><file name="Notification.php" hash="0abb5e28cf31c5ae9dd5d3a9a4989d94"/><dir name="Request"><file name="Abstract.php" hash="f75b00f1b903dd8b2a38e123974fab89"/><file name="Cancel.php" hash="ded1cade9e6294f61ee3e562c9e23767"/><file name="Payment.php" hash="1cba69b563035966bc563d2aa07f5f00"/><file name="Refund.php" hash="5d33ceeff9244fc312a04d7c67de95c5"/><file name="Resend.php" hash="cfeac2591b55c65247dc35f8a2e788e2"/><file name="Update.php" hash="dce93f89ce7cb1f7f01897dc7b04b251"/></dir><file name="Version.php" hash="095ec5facb8691cd298a102a651a9546"/><dir name="certs"><file name="ca-bundle.crt" hash="7e78dcc7f5a3aefffbb327141dd7ddcf"/></dir></dir><file name="Api.php" hash="ff5bb405065ae299d4bd45374dc8f9db"/><file name="Barzahlen.php" hash="50120ff5790c88b1df4ee6135bb94b4b"/><file name="Ipn.php" hash="a91acc2b41857286ae163e148e64be28"/><file name="Observer.php" hash="77dc49e5ee19592be4c0a13f9465ed41"/></dir><dir name="Test"><dir name="Block"><file name="Form.php" hash="b3cd3786480b630046d3a17c6ce1f611"/><file name="Info.php" hash="9fd7298fdffa7517ac3fc9de253a488a"/></dir><dir name="Controller"><dir name="IpnController"><dir name="fixtures"><file name="new_order.yaml" hash="591abc9eeafe9d09af91124c984deaa0"/><file name="paid_order.yaml" hash="72e262deb0ebded29da1943f0d9da2d6"/><file name="refunded_order.yaml" hash="e491eb816f6c6453271df94ad0d64d3d"/><file name="successful_refunded_order.yaml" hash="c0bc964307fb64bbe4d18f2ea8253071"/></dir></dir><file name="IpnController.php" hash="1f3e4eef7ab7bb439bbfd70cf6ad6a60"/><dir name="ResendController"><dir name="fixtures"><file name="new_order.yaml" hash="85228a355439c5bbf7da1657a9ca9329"/><file name="paid_order.yaml" hash="426a30ad0231d31c06ab1fb9ab54eeef"/><file name="refunded_order.yaml" hash="cf7435a46780d6f909fe9f2217254fb1"/><file name="successful_refunded_order.yaml" hash="d06bce0043bde8a3c4219f4882ecb64f"/></dir></dir><file name="ResendController.php" hash="812f5db46b3dfaed3c4ee9eab25bc1d1"/></dir><dir name="Helper"><file name="Data.php" hash="133088ca93f7cc6ef6f370b9bfe4f6de"/></dir><dir name="Model"><dir name="Adminexceptions"><dir name="Maxordertotal"><dir name="fixtures"><file name="Maxordertotal.yaml" hash="b189856fe031df252eb73c154b9d452d"/></dir></dir><file name="Maxordertotal.php" hash="711e41947049e5a411ba7c4baa09e47b"/><dir name="Notificationkey"><dir name="fixtures"><file name="Notificationkey.yaml" hash="b189856fe031df252eb73c154b9d452d"/></dir></dir><file name="Notificationkey.php" hash="b36c9ff3dee065d5b06b4a2140dfe540"/><dir name="Paymentkey"><dir name="fixtures"><file name="Paymentkey.yaml" hash="b189856fe031df252eb73c154b9d452d"/></dir></dir><file name="Paymentkey.php" hash="ddf4d622b463ac91baf2b6516547819e"/><dir name="Shopid"><dir name="fixtures"><file name="Shopid.yaml" hash="b189856fe031df252eb73c154b9d452d"/></dir></dir><file name="Shopid.php" hash="dcbe8310a9e6a03a740356da20cb5e6c"/><dir name="Specificcountry"><dir name="fixtures"><file name="Specificcountry.yaml" hash="b189856fe031df252eb73c154b9d452d"/></dir></dir><file name="Specificcountry.php" hash="1019ac4f2935906384bbb5b2d21a68b0"/><dir name="Title"><dir name="fixtures"><file name="Title.yaml" hash="b189856fe031df252eb73c154b9d452d"/></dir></dir><file name="Title.php" hash="260239d3cd2cd524bd554381c5b2469e"/></dir><dir name="Api"><file name="Notification.php" hash="7448cff7361f1cd6cf5d993aae42ca40"/><dir name="Request"><file name="Cancel.php" hash="d20317dd60dd451d624eca591a6193e2"/><file name="Payment.php" hash="a0a49c6044c5aef3f3bd7b5875229e4f"/><file name="Refund.php" hash="ddecb120d693546724b64a9f5824258d"/><file name="Resend.php" hash="60425da28b101df350331da3a7baf498"/></dir></dir><file name="Barzahlen.php" hash="99bca20b1375def3ffc9a51b6df6a5ee"/></dir></dir><dir name="controllers"><file name="IpnController.php" hash="97dd12571170d7d132559398c3a6e809"/><file name="ResendController.php" hash="5945384ce4a8a4fc2afabc06f7448f28"/></dir><dir name="etc"><file name="config.xml" hash="dac41fa3cf42572a6c49acc8dc47bc92"/><file name="system.xml" hash="4d279e51298f0f8935af4298f632fdc1"/></dir></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="template"><dir name="barzahlen"><file name="form.phtml" hash="4f0f749dc67fdb948320f0a4806e8ecc"/><file name="info.phtml" hash="6d4ff8e0095b67dbbcfd1c5790987a88"/></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="template"><dir name="barzahlen"><file name="info.phtml" hash="6d4ff8e0095b67dbbcfd1c5790987a88"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="barzahlen"><file name="form.phtml" hash="56eccd77732efa4b9018284d0427fd3d"/><file name="info.phtml" hash="6d4ff8e0095b67dbbcfd1c5790987a88"/><file name="mark.phtml" hash="6e6e2110f30dafd96eddca289dd09b70"/><file name="success.phtml" hash="ebb1fe950a262c0d2416d02cc3b5eb91"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="de_DE"><file name="ZerebroInternet_Barzahlen.csv" hash="42a61107214456adb225990cf295bd49"/></dir><dir name="en_US"><file name="ZerebroInternet_Barzahlen.csv" hash="358bc2cc95fbdf64a49fd60a61c07528"/></dir></target><target name="mageetc"><dir name="modules"><file name="ZerebroInternet_Barzahlen.xml" hash="1ae4207fb1d691ed2565b706cb394ebb"/></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.1.2</min><max>6.0.0</max></php></required></dependencies>
22
  </package>