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, 1.9.1.1
Download this release
Release Info
Developer | Alexander Diebler |
Extension | ZerebroInternet_Barzahlen |
Version | 1.3.4 |
Comparing to | |
See all releases |
Code changes from version 1.3.3 to 1.3.4
- app/code/community/ZerebroInternet/Barzahlen/Model/Api.php +1 -1
- app/code/community/ZerebroInternet/Barzahlen/Model/Api/Request/Payment.php +1 -1
- app/code/community/ZerebroInternet/Barzahlen/Model/Barzahlen.php +1 -1
- app/code/community/ZerebroInternet/Barzahlen/etc/config.xml +1 -1
- app/design/adminhtml/base/default/template/barzahlen/form.phtml +1 -1
- app/design/frontend/base/default/template/barzahlen/form.phtml +1 -1
- package.xml +5 -5
app/code/community/ZerebroInternet/Barzahlen/Model/Api.php
CHANGED
@@ -18,7 +18,7 @@ class ZerebroInternet_Barzahlen_Model_Api extends ZerebroInternet_Barzahlen_Mode
|
|
18 |
protected $_allowLanguages = array('de', 'en'); //!< allowed languages for requests
|
19 |
protected $_sandbox = false; //!< sandbox settings
|
20 |
protected $_madeAttempts = 0; //!< performed attempts
|
21 |
-
protected $_userAgent = 'PHP SDK v1.1.
|
22 |
|
23 |
/**
|
24 |
* Constructor. Sets basic settings. Adjusted for Magento
|
18 |
protected $_allowLanguages = array('de', 'en'); //!< allowed languages for requests
|
19 |
protected $_sandbox = false; //!< sandbox settings
|
20 |
protected $_madeAttempts = 0; //!< performed attempts
|
21 |
+
protected $_userAgent = 'PHP SDK v1.1.8';
|
22 |
|
23 |
/**
|
24 |
* Constructor. Sets basic settings. Adjusted for Magento
|
app/code/community/ZerebroInternet/Barzahlen/Model/Api/Request/Payment.php
CHANGED
@@ -32,7 +32,7 @@ class ZerebroInternet_Barzahlen_Model_Api_Request_Payment extends ZerebroInterne
|
|
32 |
*/
|
33 |
public function __construct(array $arguments)
|
34 |
{
|
35 |
-
$this->_customerEmail = $arguments['customerEmail'];
|
36 |
$this->_customerStreetNr = $this->isoConvert($arguments['customerStreetNr']);
|
37 |
$this->_customerZipcode = $arguments['customerZipcode'];
|
38 |
$this->_customerCity = $this->isoConvert($arguments['customerCity']);
|
32 |
*/
|
33 |
public function __construct(array $arguments)
|
34 |
{
|
35 |
+
$this->_customerEmail = $this->isoConvert($arguments['customerEmail']);
|
36 |
$this->_customerStreetNr = $this->isoConvert($arguments['customerStreetNr']);
|
37 |
$this->_customerZipcode = $arguments['customerZipcode'];
|
38 |
$this->_customerCity = $this->isoConvert($arguments['customerCity']);
|
app/code/community/ZerebroInternet/Barzahlen/Model/Barzahlen.php
CHANGED
@@ -66,7 +66,7 @@ class ZerebroInternet_Barzahlen_Model_Barzahlen extends Mage_Payment_Model_Metho
|
|
66 |
$barzahlenApi = Mage::getModel('barzahlen/api', array('shopId' => $shopId, 'paymentKey' => $paymentKey, 'sandbox' => $sandbox));
|
67 |
$barzahlenApi->setLanguage(substr((Mage::getSingleton('core/locale')->getLocaleCode()), 0, 2));
|
68 |
$barzahlenApi->setDebug($this->getConfigData('debug'), 'barzahlen.log');
|
69 |
-
$barzahlenApi->setUserAgent('Magento ' . Mage::getVersion() . ' / Plugin v1.3.
|
70 |
|
71 |
return $barzahlenApi;
|
72 |
}
|
66 |
$barzahlenApi = Mage::getModel('barzahlen/api', array('shopId' => $shopId, 'paymentKey' => $paymentKey, 'sandbox' => $sandbox));
|
67 |
$barzahlenApi->setLanguage(substr((Mage::getSingleton('core/locale')->getLocaleCode()), 0, 2));
|
68 |
$barzahlenApi->setDebug($this->getConfigData('debug'), 'barzahlen.log');
|
69 |
+
$barzahlenApi->setUserAgent('Magento ' . Mage::getVersion() . ' / Plugin v1.3.4');
|
70 |
|
71 |
return $barzahlenApi;
|
72 |
}
|
app/code/community/ZerebroInternet/Barzahlen/etc/config.xml
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
|
16 |
<modules>
|
17 |
<ZerebroInternet_Barzahlen>
|
18 |
-
<version>1.3.
|
19 |
</ZerebroInternet_Barzahlen>
|
20 |
</modules>
|
21 |
|
15 |
|
16 |
<modules>
|
17 |
<ZerebroInternet_Barzahlen>
|
18 |
+
<version>1.3.4</version>
|
19 |
</ZerebroInternet_Barzahlen>
|
20 |
</modules>
|
21 |
|
app/design/adminhtml/base/default/template/barzahlen/form.phtml
CHANGED
@@ -18,7 +18,7 @@
|
|
18 |
echo $this->__('bz_adm_partner') . " ";
|
19 |
for($i = 1; $i <= 10; $i++) {
|
20 |
$count = str_pad($i,2,"0",STR_PAD_LEFT);
|
21 |
-
echo '<img src="https://cdn.barzahlen.de/images/barzahlen_partner_'.$count.'.png" alt="" style="
|
22 |
}
|
23 |
?>
|
24 |
<br ><br >
|
18 |
echo $this->__('bz_adm_partner') . " ";
|
19 |
for($i = 1; $i <= 10; $i++) {
|
20 |
$count = str_pad($i,2,"0",STR_PAD_LEFT);
|
21 |
+
echo '<img src="https://cdn.barzahlen.de/images/barzahlen_partner_'.$count.'.png" alt="" style="height: 1em; vertical-align: -0.1em;" >';
|
22 |
}
|
23 |
?>
|
24 |
<br ><br >
|
app/design/frontend/base/default/template/barzahlen/form.phtml
CHANGED
@@ -21,7 +21,7 @@
|
|
21 |
echo $this->__('bz_frnt_partner') . " ";
|
22 |
for($i = 1; $i <= 10; $i++) {
|
23 |
$count = str_pad($i,2,"0",STR_PAD_LEFT);
|
24 |
-
echo '<img src="https://cdn.barzahlen.de/images/barzahlen_partner_'.$count.'.png" alt="" style="
|
25 |
}
|
26 |
echo '</div>';
|
27 |
?>
|
21 |
echo $this->__('bz_frnt_partner') . " ";
|
22 |
for($i = 1; $i <= 10; $i++) {
|
23 |
$count = str_pad($i,2,"0",STR_PAD_LEFT);
|
24 |
+
echo '<img src="https://cdn.barzahlen.de/images/barzahlen_partner_'.$count.'.png" alt="" style="height: 1em; vertical-align: -0.1em; display: inline-block;">';
|
25 |
}
|
26 |
echo '</div>';
|
27 |
?>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>ZerebroInternet_Barzahlen</name>
|
4 |
-
<version>1.3.
|
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 |
---
|
13 |

|
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>2015-
|
18 |
-
<time>
|
19 |
-
<contents><target name="magecommunity"><dir name="ZerebroInternet"><dir name="Barzahlen"><dir name="Block"><file name="Form.php" hash="11aaa33394d528adf3f342ce154c3b75"/><file name="Info.php" hash="b6b9ceb7ad9fbb29a7478b40dfbfde4d"/></dir><dir name="Helper"><file name="Data.php" hash="4f4efae00827b4773d6ec6e7da03beaa"/></dir><dir name="Model"><dir name="Adminexceptions"><file name="Allspecificcountries.php" hash="859035e2aac1f4caca71cb2b6ab9de61"/><file name="Maxordertotal.php" hash="00acafa7d9e0e8ce58bc55d51e8c8d6b"/><file name="Notificationkey.php" hash="5ba9e2bfc73ee2f88e044ab600df9790"/><file name="Paymentkey.php" hash="11e27b590aa8e21e786a05816a326c98"/><file name="Shopid.php" hash="50495d50e739005b1a1f568e62212b0a"/><file name="Specificcountry.php" hash="845636885d8df68765a0edefe44131bb"/><file name="Title.php" hash="8cb9e3155c738183c29566226c38b946"/></dir><dir name="Api"><file name="Abstract.php" hash="1d6d03fbaabe38dba8b1611935b92d4f"/><file name="Notification.php" hash="65249d2f3e21d4187282d22f6b655633"/><dir name="Request"><file name="Abstract.php" hash="6e7b2381ea49a7774aeac8db232b279c"/><file name="Cancel.php" hash="b714ffa98f5d5318e560e4986b0c4164"/><file name="Payment.php" hash="
|
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.4</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 |
---
|
13 |

|
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, 1.9.1.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>2015-06-12</date>
|
18 |
+
<time>07:08:03</time>
|
19 |
+
<contents><target name="magecommunity"><dir name="ZerebroInternet"><dir name="Barzahlen"><dir name="Block"><file name="Form.php" hash="11aaa33394d528adf3f342ce154c3b75"/><file name="Info.php" hash="b6b9ceb7ad9fbb29a7478b40dfbfde4d"/></dir><dir name="Helper"><file name="Data.php" hash="4f4efae00827b4773d6ec6e7da03beaa"/></dir><dir name="Model"><dir name="Adminexceptions"><file name="Allspecificcountries.php" hash="859035e2aac1f4caca71cb2b6ab9de61"/><file name="Maxordertotal.php" hash="00acafa7d9e0e8ce58bc55d51e8c8d6b"/><file name="Notificationkey.php" hash="5ba9e2bfc73ee2f88e044ab600df9790"/><file name="Paymentkey.php" hash="11e27b590aa8e21e786a05816a326c98"/><file name="Shopid.php" hash="50495d50e739005b1a1f568e62212b0a"/><file name="Specificcountry.php" hash="845636885d8df68765a0edefe44131bb"/><file name="Title.php" hash="8cb9e3155c738183c29566226c38b946"/></dir><dir name="Api"><file name="Abstract.php" hash="1d6d03fbaabe38dba8b1611935b92d4f"/><file name="Notification.php" hash="65249d2f3e21d4187282d22f6b655633"/><dir name="Request"><file name="Abstract.php" hash="6e7b2381ea49a7774aeac8db232b279c"/><file name="Cancel.php" hash="b714ffa98f5d5318e560e4986b0c4164"/><file name="Payment.php" hash="bed78eb4d8ab4bf042b7347384312fc1"/><file name="Refund.php" hash="58c9ba406b6977f9cc42e23b4b61b2bb"/><file name="Resend.php" hash="3bdcc36234560f9e210fc8ecd203ba77"/><file name="Update.php" hash="99996cc5416c2a4414ae78c4bb2ac502"/></dir><file name="Version.php" hash="8938c91591899a7c6a54a6264071a7ff"/><dir name="certs"><file name="ca-bundle.crt" hash="7e78dcc7f5a3aefffbb327141dd7ddcf"/></dir></dir><file name="Api.php" hash="5b6dfd04c7cee2fa0ebc936e77e9a1e6"/><file name="Barzahlen.php" hash="9340f085cf9b83cefd7dab0905b2485c"/><file name="Ipn.php" hash="9af5e5ffa51e1a87b8839b2f55acc4f3"/><file name="Observer.php" hash="c227885e62719b17806323bbce26d5e9"/></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="5ad7937e555d2d9f8a98e919178580e7"/><file name="ResendController.php" hash="05c6230cb6245315be6206f9b8d6271f"/></dir><dir name="etc"><file name="config.xml" hash="666ae5804edd06800d16c622182c75de"/><file name="system.xml" hash="f1baed4ecf41f9b7f954d3edcb07ea62"/></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="2ac5bf75e4a58ca280f43c6e37eb852b"/><file name="info.phtml" hash="7f8bc298e4a5df98b11981f6ca50e3ce"/></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="template"><dir name="barzahlen"><file name="info.phtml" hash="7f8bc298e4a5df98b11981f6ca50e3ce"/></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="e9d4be7429c9c54677103dafc9fc8580"/><file name="info.phtml" hash="7f8bc298e4a5df98b11981f6ca50e3ce"/><file name="mark.phtml" hash="9851c72a6e46ae22acba9e5f6dba2331"/><file name="success.phtml" hash="20b02bda31f2ca262111a4beb179b4c3"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="de_DE"><file name="ZerebroInternet_Barzahlen.csv" hash="8c6c57390c3134a011c46322e06f64fb"/></dir><dir name="en_US"><file name="ZerebroInternet_Barzahlen.csv" hash="59f6c49bcb75b4b9f4260b2bc359cf66"/></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>
|