ZerebroInternet_Barzahlen - Version 1.1.3

Version Notes

In this version the following things were already tested successfully on 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

Download this release

Release Info

Developer Magento Core Team
Extension ZerebroInternet_Barzahlen
Version 1.1.3
Comparing to
See all releases


Code changes from version 1.1.2 to 1.1.3

app/code/community/ZerebroInternet/Barzahlen/Model/Api/certs/ca-bundle.crt CHANGED
@@ -14,7 +14,7 @@
14
  ## Just configure this file as the SSLCACertificateFile.
15
  ##
16
 
17
- # @(#) $RCSfile: certdata.txt,v $ $Revision: 1.85 $ $Date: 2012/06/28 13:50:18 $
18
 
19
  GTE CyberTrust Global Root
20
  ==========================
@@ -3823,3 +3823,25 @@ UZTLfhbrES+jkkXITHHZvMmZUldGL1DPvTVp9D0VzgalLA8+9oG6lLvDu79leNKGef9JOxqDDPDe
3823
  eOzI8k1MGt6CKfjBWtrt7uYnXuhF0J0cUahoq0Tj0Itq4/g7u9xN12TyUb7mqqta6THuBrxzvxNi
3824
  Cp/HuZc=
3825
  -----END CERTIFICATE-----
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  ## Just configure this file as the SSLCACertificateFile.
15
  ##
16
 
17
+ # @(#) $RCSfile: certdata.txt,v $ $Revision: 1.87 $ $Date: 2012/12/29 16:32:45 $
18
 
19
  GTE CyberTrust Global Root
20
  ==========================
3823
  eOzI8k1MGt6CKfjBWtrt7uYnXuhF0J0cUahoq0Tj0Itq4/g7u9xN12TyUb7mqqta6THuBrxzvxNi
3824
  Cp/HuZc=
3825
  -----END CERTIFICATE-----
3826
+
3827
+ T-TeleSec GlobalRoot Class 3
3828
+ ============================
3829
+ -----BEGIN CERTIFICATE-----
3830
+ MIIDwzCCAqugAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgjELMAkGA1UEBhMCREUxKzApBgNVBAoM
3831
+ IlQtU3lzdGVtcyBFbnRlcnByaXNl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g/vBa3wW306gmv7PO15wWeph6KU1HWk4HMdJP2udqmJQV0eVp+QD6CSyYRMG7h
3845
+ P0HHRwA11fXT91Q+gT3aSWqas+8QPebrb9HIIkfLzM8BMZLZGOMivgkeGj5asuRrDFR6fUNOuIml
3846
+ e9eiPZaGzPImNC1qkp2aGtAw4l1OBLBfiyB+d8E9lYLRRpo7PHi4b6HQDWSieB4pTpPDpFQUWw==
3847
+ -----END CERTIFICATE-----
app/code/community/ZerebroInternet/Barzahlen/Model/Refund.php CHANGED
@@ -32,7 +32,15 @@ class ZerebroInternet_Barzahlen_Model_Refund extends Mage_Core_Model_Abstract {
32
 
33
  $creditmemo = $observer->getEvent()->getcreditmemo();
34
  $order = $creditmemo->getOrder();
35
- $this->_checkOrderSettings($order);
 
 
 
 
 
 
 
 
36
 
37
  $transactionId = $order->getPayment()->getAdditionalInformation('transaction_id');
38
  $amount = round($creditmemo->getGrandTotal(),2);
@@ -63,22 +71,4 @@ class ZerebroInternet_Barzahlen_Model_Refund extends Mage_Core_Model_Abstract {
63
 
64
  return $observer;
65
  }
66
-
67
- /**
68
- * Checks that the order exists and was paid with Barzahlen.
69
- *
70
- * @param Mage_Sales_Model_Order $order
71
- */
72
- protected function _checkOrderSettings($order) {
73
-
74
- if(!$order->getId()) {
75
- Mage::helper('barzahlen')->bzLog('model/refund: no valid order choosen');
76
- Mage::throwException(Mage::helper('barzahlen')->__('bz_adm_refund_error'));
77
- }
78
-
79
- if($order->getPayment()->getMethod() != ZerebroInternet_Barzahlen_Model_Barzahlen::PAYMENT_CODE) {
80
- Mage::helper('barzahlen')->bzLog('model/refund: barzahlen was not the former choosen payment method');
81
- Mage::throwException(Mage::helper('barzahlen')->__('bz_adm_refund_error'));
82
- }
83
- }
84
  }
32
 
33
  $creditmemo = $observer->getEvent()->getcreditmemo();
34
  $order = $creditmemo->getOrder();
35
+
36
+ if(!$order->getId()) {
37
+ Mage::helper('barzahlen')->bzLog('model/refund: no valid order choosen');
38
+ Mage::throwException(Mage::helper('barzahlen')->__('bz_adm_refund_error'));
39
+ }
40
+
41
+ if($order->getPayment()->getMethod() != ZerebroInternet_Barzahlen_Model_Barzahlen::PAYMENT_CODE) {
42
+ return $observer;
43
+ }
44
 
45
  $transactionId = $order->getPayment()->getAdditionalInformation('transaction_id');
46
  $amount = round($creditmemo->getGrandTotal(),2);
71
 
72
  return $observer;
73
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  }
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ZerebroInternet_Barzahlen</name>
4
- <version>1.1.2</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>
@@ -14,9 +14,9 @@
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: http://www.barzahlen.de/partner/funktionsweise</description>
15
  <notes>In this version the following things were already tested successfully on 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</notes>
16
  <authors><author><name>Martin Seener</name><user>auto-converted</user><email>support@barzahlen.de</email></author><author><name>Alexander Diebler</name><user>auto-converted</user><email>support@barzahlen.de</email></author></authors>
17
- <date>2013-02-19</date>
18
- <time>11:34:47</time>
19
- <contents><target name="magecommunity"><dir name="ZerebroInternet"><dir name="Barzahlen"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="View.php" hash="b5debd20e6e4610d445c8939eb604755"/></dir><file name="View.php" hash="356e39bbf6ec60ebc629e4db7250a2b8"/></dir></dir></dir><file name="Form.php" hash="7b8757345dd8078bc2656d4d6ff1bc5a"/><file name="Info.php" hash="aa843fd0bc613227083ebe1fc9758b23"/></dir><dir name="Helper"><file name="Data.php" hash="b09cbe4014347450f8acc16969489f0e"/></dir><dir name="Model"><dir name="Adminexceptions"><file name="Allspecificcountries.php" hash="050286cb2d67238f6d2a04657bcd47c7"/><file name="Maxordertotal.php" hash="1c1647bdf769bc7c4e7890b10212f655"/><file name="Notificationkey.php" hash="90c05ffb94c780c735e4d4a9f2e5e80c"/><file name="Paymentkey.php" hash="010bf4c06ec5c52f1a0b2ede1860bbdc"/><file name="Shopid.php" hash="028283a7457170e0d3082d43be5d4d54"/><file name="Specificcountry.php" hash="30ec14a1769fa2bbfc9473588e395a7f"/><file name="Title.php" hash="2d5aaaa22a305f0d17ec7f0b33708689"/></dir><dir name="Api"><dir name="Request"><file name="Abstract.php" hash="7bc7ad30078b60eab37572c3ee059d34"/><file name="Payment.php" hash="b69ed622bdd218215d3d375e5642c945"/><file name="Refund.php" hash="3832874b945ee0cfe01fe403ac751f7d"/><file name="Resend.php" hash="03a9f603503b2c95a137b3afa074ea1a"/><file name="Update.php" hash="2609e7a4e9eab13910b25734dd506c3c"/></dir><dir name="certs"><file name="ca-bundle.crt" hash="dc15a3a0ee5d16ea1fa8e3e104d4d40f"/></dir><file name="Abstract.php" hash="ddbdffce737e21b046c6e18001f658f1"/><file name="Notification.php" hash="472ee435c75ba6f0340f9bdbd12a8c7c"/></dir><file name="Api.php" hash="c024a9242149375d44839ff97df16493"/><file name="Barzahlen.php" hash="f23a35c07c8e0cd6c178b834e075464f"/><file name="Ipn.php" hash="117d41011a39d2f6d6ffa1256377a19f"/><file name="Payment.php" hash="69b0fdae4a4892ee580f0fb4c0597ddf"/><file name="Refund.php" hash="2e4beeadcac79ba3292457b47e8ac854"/><file name="Resend.php" hash="9e096207ac0408f6d757f9e4cafc81f2"/></dir><dir name="controllers"><file name="CheckoutController.php" hash="0cd1ea9ea6d1372d1997eec682e4a7c9"/><file name="IpnController.php" hash="69c1f025b92054a8e798310c263b78a6"/><file name="ResendController.php" hash="3ff28616c405317300edff7bd8eee7e0"/></dir><dir name="etc"><file name="config.xml" hash="46e4b8b413dde88ee77f30645d33ec9d"/><file name="system.xml" hash="8ce2576ead32cbc809e3979266a554f2"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="ZerebroInternet_Barzahlen.xml" hash="870d1ed9a0977ca9bfd861850ed8d72c"/></dir></target><target name="magelocale"><dir name="de_DE"><file name="ZerebroInternet_Barzahlen_Admin.csv" hash="74a07c8b552c792821bf8e537d2ea737"/><file name="ZerebroInternet_Barzahlen_Frontend.csv" hash="eca00f201a8a75063a90b69e12586596"/></dir><dir name="en_US"><file name="ZerebroInternet_Barzahlen_Admin.csv" hash="136c76958b729bd2fce5a27d07169d9a"/><file name="ZerebroInternet_Barzahlen_Frontend.csv" hash="ba4c7050219ab94072c1acc567db96dd"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="barzahlen"><file name="info.phtml" hash="a4d8e7a934b5ed3c934ed232cb8c4b72"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="barzahlen.xml" hash="de1b809f4eed9cb2701c1ee49e56dbcd"/></dir><dir name="template"><dir name="barzahlen"><file name="form.phtml" hash="e333610dde7f4f205cd004877de36383"/><file name="info.phtml" hash="57d121b58376d665b452543b0889b87c"/><file name="mark.phtml" hash="5433c4fd69a564de0cdecbba815c59e5"/><file name="processing.phtml" hash="7cbfff204dfec836d69d7a8ab7790488"/></dir></dir></dir></dir></dir></target></contents>
20
  <compatible/>
21
  <dependencies/>
22
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ZerebroInternet_Barzahlen</name>
4
+ <version>1.1.3</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>
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: http://www.barzahlen.de/partner/funktionsweise</description>
15
  <notes>In this version the following things were already tested successfully on 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</notes>
16
  <authors><author><name>Martin Seener</name><user>auto-converted</user><email>support@barzahlen.de</email></author><author><name>Alexander Diebler</name><user>auto-converted</user><email>support@barzahlen.de</email></author></authors>
17
+ <date>2013-03-04</date>
18
+ <time>13:43:59</time>
19
+ <contents><target name="magecommunity"><dir name="ZerebroInternet"><dir name="Barzahlen"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="View.php" hash="b5debd20e6e4610d445c8939eb604755"/></dir><file name="View.php" hash="356e39bbf6ec60ebc629e4db7250a2b8"/></dir></dir></dir><file name="Form.php" hash="7b8757345dd8078bc2656d4d6ff1bc5a"/><file name="Info.php" hash="aa843fd0bc613227083ebe1fc9758b23"/></dir><dir name="Helper"><file name="Data.php" hash="b09cbe4014347450f8acc16969489f0e"/></dir><dir name="Model"><dir name="Adminexceptions"><file name="Allspecificcountries.php" hash="050286cb2d67238f6d2a04657bcd47c7"/><file name="Maxordertotal.php" hash="1c1647bdf769bc7c4e7890b10212f655"/><file name="Notificationkey.php" hash="90c05ffb94c780c735e4d4a9f2e5e80c"/><file name="Paymentkey.php" hash="010bf4c06ec5c52f1a0b2ede1860bbdc"/><file name="Shopid.php" hash="028283a7457170e0d3082d43be5d4d54"/><file name="Specificcountry.php" hash="30ec14a1769fa2bbfc9473588e395a7f"/><file name="Title.php" hash="2d5aaaa22a305f0d17ec7f0b33708689"/></dir><dir name="Api"><dir name="Request"><file name="Abstract.php" hash="7bc7ad30078b60eab37572c3ee059d34"/><file name="Payment.php" hash="b69ed622bdd218215d3d375e5642c945"/><file name="Refund.php" hash="3832874b945ee0cfe01fe403ac751f7d"/><file name="Resend.php" hash="03a9f603503b2c95a137b3afa074ea1a"/><file name="Update.php" hash="2609e7a4e9eab13910b25734dd506c3c"/></dir><dir name="certs"><file name="ca-bundle.crt" hash="7e78dcc7f5a3aefffbb327141dd7ddcf"/></dir><file name="Abstract.php" hash="ddbdffce737e21b046c6e18001f658f1"/><file name="Notification.php" hash="472ee435c75ba6f0340f9bdbd12a8c7c"/></dir><file name="Api.php" hash="c024a9242149375d44839ff97df16493"/><file name="Barzahlen.php" hash="f23a35c07c8e0cd6c178b834e075464f"/><file name="Ipn.php" hash="117d41011a39d2f6d6ffa1256377a19f"/><file name="Payment.php" hash="69b0fdae4a4892ee580f0fb4c0597ddf"/><file name="Refund.php" hash="f8639e94dbd5e1cdca46f516df6a9187"/><file name="Resend.php" hash="9e096207ac0408f6d757f9e4cafc81f2"/></dir><dir name="controllers"><file name="CheckoutController.php" hash="0cd1ea9ea6d1372d1997eec682e4a7c9"/><file name="IpnController.php" hash="69c1f025b92054a8e798310c263b78a6"/><file name="ResendController.php" hash="3ff28616c405317300edff7bd8eee7e0"/></dir><dir name="etc"><file name="config.xml" hash="46e4b8b413dde88ee77f30645d33ec9d"/><file name="system.xml" hash="8ce2576ead32cbc809e3979266a554f2"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="ZerebroInternet_Barzahlen.xml" hash="870d1ed9a0977ca9bfd861850ed8d72c"/></dir></target><target name="magelocale"><dir name="de_DE"><file name="ZerebroInternet_Barzahlen_Admin.csv" hash="74a07c8b552c792821bf8e537d2ea737"/><file name="ZerebroInternet_Barzahlen_Frontend.csv" hash="eca00f201a8a75063a90b69e12586596"/></dir><dir name="en_US"><file name="ZerebroInternet_Barzahlen_Admin.csv" hash="136c76958b729bd2fce5a27d07169d9a"/><file name="ZerebroInternet_Barzahlen_Frontend.csv" hash="ba4c7050219ab94072c1acc567db96dd"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="barzahlen"><file name="info.phtml" hash="a4d8e7a934b5ed3c934ed232cb8c4b72"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="barzahlen.xml" hash="de1b809f4eed9cb2701c1ee49e56dbcd"/></dir><dir name="template"><dir name="barzahlen"><file name="form.phtml" hash="e333610dde7f4f205cd004877de36383"/><file name="info.phtml" hash="57d121b58376d665b452543b0889b87c"/><file name="mark.phtml" hash="5433c4fd69a564de0cdecbba815c59e5"/><file name="processing.phtml" hash="7cbfff204dfec836d69d7a8ab7790488"/></dir></dir></dir></dir></dir></target></contents>
20
  <compatible/>
21
  <dependencies/>
22
  </package>