Version Notes
add compatibility class for the old sofort payment methods
Download this release
Release Info
Developer | Paymentnetwork |
Extension | pn_sofortueberweisung |
Version | 3.0.1 |
Comparing to | |
See all releases |
Code changes from version 3.0.0 to 3.0.1
app/code/community/Paymentnetwork/Pnsofortueberweisung/Model/Method/Compatibility.php
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/osl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* @category PayIntelligent
|
17 |
+
* @package Paintelligent_Sofort
|
18 |
+
* @copyright Copyright (c) 2014 PayIntelligent GmbH (http://www.payintelligent.de)
|
19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
+
*/
|
21 |
+
class Paymentnetwork_Pnsofortueberweisung_Model_Method_Compatibility extends Mage_Payment_Model_Method_Abstract
|
22 |
+
{
|
23 |
+
|
24 |
+
protected $_canUseInternal = false;
|
25 |
+
|
26 |
+
protected $_canAuthorize = false;
|
27 |
+
|
28 |
+
protected $_canRefund = false;
|
29 |
+
|
30 |
+
protected $_canRefundInvoicePartial = false;
|
31 |
+
|
32 |
+
protected $_canCapture = false;
|
33 |
+
|
34 |
+
protected $_canCapturePartial = false;
|
35 |
+
|
36 |
+
protected $_canUseCheckout = false;
|
37 |
+
|
38 |
+
protected $_canUseForMultishipping = false;
|
39 |
+
|
40 |
+
protected $_code = 'paymentnetwork_pnsofortueberweisung_compatibility';
|
41 |
+
|
42 |
+
/**
|
43 |
+
* Avoid that the old payment methods are visible in the checkout
|
44 |
+
* @param type $quote
|
45 |
+
* @return boolean
|
46 |
+
*/
|
47 |
+
public function isAvailable($quote = null)
|
48 |
+
{
|
49 |
+
return false;
|
50 |
+
}
|
51 |
+
}
|
app/code/community/Paymentnetwork/Pnsofortueberweisung/etc/config.xml
CHANGED
@@ -1,30 +1,30 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
/**
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
|
23 |
<config>
|
24 |
|
25 |
<modules>
|
26 |
<Paymentnetwork_Pnsofortueberweisung>
|
27 |
-
<version>3.0.
|
28 |
</Paymentnetwork_Pnsofortueberweisung>
|
29 |
</modules>
|
30 |
|
@@ -77,7 +77,34 @@
|
|
77 |
<order_status_received_credited>processing</order_status_received_credited>
|
78 |
<create_creditmemo>after_order</create_creditmemo>
|
79 |
<create_invoice>false</create_invoice>
|
|
|
80 |
</paymentnetwork_pnsofortueberweisung>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
</payment>
|
82 |
</default>
|
83 |
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/osl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* @category PayIntelligent
|
17 |
+
* @package Paintelligent_Sofort
|
18 |
+
* @copyright Copyright (c) 2014 PayIntelligent GmbH (http://www.payintelligent.de)
|
19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
+
*/
|
21 |
+
-->
|
22 |
|
23 |
<config>
|
24 |
|
25 |
<modules>
|
26 |
<Paymentnetwork_Pnsofortueberweisung>
|
27 |
+
<version>3.0.1</version>
|
28 |
</Paymentnetwork_Pnsofortueberweisung>
|
29 |
</modules>
|
30 |
|
77 |
<order_status_received_credited>processing</order_status_received_credited>
|
78 |
<create_creditmemo>after_order</create_creditmemo>
|
79 |
<create_invoice>false</create_invoice>
|
80 |
+
<send_mail>true</send_mail>
|
81 |
</paymentnetwork_pnsofortueberweisung>
|
82 |
+
<!-- just for compatibility -->
|
83 |
+
<pnsofortueberweisung>
|
84 |
+
<active>0</active>
|
85 |
+
<model>Paymentnetwork_Pnsofortueberweisung_Model_Method_Compatibility</model>
|
86 |
+
</pnsofortueberweisung>
|
87 |
+
<sofortrechnung>
|
88 |
+
<active>0</active>
|
89 |
+
<model>Paymentnetwork_Pnsofortueberweisung_Model_Method_Compatibility</model>
|
90 |
+
</sofortrechnung>
|
91 |
+
<pnsofort>
|
92 |
+
<active>0</active>
|
93 |
+
<model>Paymentnetwork_Pnsofortueberweisung_Model_Method_Compatibility</model>
|
94 |
+
</pnsofort>
|
95 |
+
<lastschriftsofort>
|
96 |
+
<active>0</active>
|
97 |
+
<model>Paymentnetwork_Pnsofortueberweisung_Model_Method_Compatibility</model>
|
98 |
+
</lastschriftsofort>
|
99 |
+
<sofort>
|
100 |
+
<active>0</active>
|
101 |
+
<model>Paymentnetwork_Pnsofortueberweisung_Model_Method_Compatibility</model>
|
102 |
+
</sofort>
|
103 |
+
<sofort_ideal>
|
104 |
+
<active>0</active>
|
105 |
+
<model>Paymentnetwork_Pnsofortueberweisung_Model_Method_Compatibility</model>
|
106 |
+
</sofort_ideal>
|
107 |
+
<!-- compatibility end -->
|
108 |
</payment>
|
109 |
</default>
|
110 |
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>pn_sofortueberweisung</name>
|
4 |
-
<version>3.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>
|
10 |
-
<description>
|
11 |
-
<notes>
|
12 |
<authors><author><name>Paymentnetwork</name><user>paymentnetwork</user><email>support@sofort.com</email></author></authors>
|
13 |
-
<date>2014-08-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir><dir name="Paymentnetwork"><dir><dir name="Pnsofortueberweisung"><dir name="Block"><dir name="Adminhtml"><dir name="Payment"><dir name="Config"><dir name="Heading"><file name="Big.php" hash="42674a4f5efd70896e883b307106995c"/><file name="Italic.php" hash="bd526e07224e2341284ac4942605be25"/><file name="Middle.php" hash="9ba8dd2318cfba8143b2bfd098886b5a"/></dir><dir name="Label"><file name="Red.php" hash="486fd04e312dfc57892196b58c71261b"/><file name="Status.php" hash="adad4d9d81c09bee083c2bc3bfba51a0"/><file name="Toggle.php" hash="4b4540ecd1cd0b98487300c9568cf81e"/></dir><file name="Label.php" hash="614e1c5af0a905515398f306386acce7"/></dir></dir></dir><dir name="Form"><file name="Sofort.php" hash="51b9dd7f8e9bb86a9ac979b000e1e00b"/></dir><dir name="Info"><file name="Sofort.php" hash="04ac22543d23a5f5ccc43774b7b20a6c"/></dir></dir><dir name="Helper"><file name="Data.php" hash="5664f1d43db01fd6ebe32b6adf3f8033"/></dir><dir name="Model"><dir name="Method"><file name="Sofort.php" hash="78d696c71abdeb8362bf06bd330ae5ea"/></dir><file name="Observer.php" hash="9a7b3a093d8dd59160bf946a522c2ed1"/><dir name="Service"><file name="Communication.php" hash="56a08c96977aed90f51abfedad617ac1"/></dir><dir name="Source"><dir name="Checkout"><file name="Presentation.php" hash="1cd1ccf53588cc336a5d16e7aa2bfdab"/></dir><dir name="Order"><file name="Invoice.php" hash="2dfde0593e6d6cfa2deb6d7f466942e7"/><file name="Status.php" hash="2013a5a74af933242e00018692e40085"/></dir></dir></dir><dir name="controllers"><file name="PaymentController.php" hash="6525b03d69965c5fa6d6ef8a4f621d52"/></dir><dir name="etc"><file name="config.xml" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>pn_sofortueberweisung</name>
|
4 |
+
<version>3.0.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>Extension for the payment method from SOFORT AG</summary>
|
10 |
+
<description>SOFORT AG is your partner for cutting-edge payment methods. This extension contains the payment method SOFORT Banking. More information can be found on our page https://sofort.com</description>
|
11 |
+
<notes>add compatibility class for the old sofort payment methods</notes>
|
12 |
<authors><author><name>Paymentnetwork</name><user>paymentnetwork</user><email>support@sofort.com</email></author></authors>
|
13 |
+
<date>2014-08-06</date>
|
14 |
+
<time>12:13:10</time>
|
15 |
+
<contents><target name="magecommunity"><dir><dir name="Paymentnetwork"><dir><dir name="Pnsofortueberweisung"><dir name="Block"><dir name="Adminhtml"><dir name="Payment"><dir name="Config"><dir name="Heading"><file name="Big.php" hash="42674a4f5efd70896e883b307106995c"/><file name="Italic.php" hash="bd526e07224e2341284ac4942605be25"/><file name="Middle.php" hash="9ba8dd2318cfba8143b2bfd098886b5a"/></dir><dir name="Label"><file name="Red.php" hash="486fd04e312dfc57892196b58c71261b"/><file name="Status.php" hash="adad4d9d81c09bee083c2bc3bfba51a0"/><file name="Toggle.php" hash="4b4540ecd1cd0b98487300c9568cf81e"/></dir><file name="Label.php" hash="614e1c5af0a905515398f306386acce7"/></dir></dir></dir><dir name="Form"><file name="Sofort.php" hash="51b9dd7f8e9bb86a9ac979b000e1e00b"/></dir><dir name="Info"><file name="Sofort.php" hash="04ac22543d23a5f5ccc43774b7b20a6c"/></dir></dir><dir name="Helper"><file name="Data.php" hash="5664f1d43db01fd6ebe32b6adf3f8033"/></dir><dir name="Model"><dir name="Method"><file name="Compatibility.php" hash="4d5506948c43a6c7d59bda606ead45ce"/><file name="Sofort.php" hash="78d696c71abdeb8362bf06bd330ae5ea"/></dir><file name="Observer.php" hash="9a7b3a093d8dd59160bf946a522c2ed1"/><dir name="Service"><file name="Communication.php" hash="56a08c96977aed90f51abfedad617ac1"/></dir><dir name="Source"><dir name="Checkout"><file name="Presentation.php" hash="1cd1ccf53588cc336a5d16e7aa2bfdab"/></dir><dir name="Order"><file name="Invoice.php" hash="2dfde0593e6d6cfa2deb6d7f466942e7"/><file name="Status.php" hash="2013a5a74af933242e00018692e40085"/></dir></dir></dir><dir name="controllers"><file name="PaymentController.php" hash="6525b03d69965c5fa6d6ef8a4f621d52"/></dir><dir name="etc"><file name="config.xml" hash="a9a43856f36e1dad19810887c5c4db50"/><file name="system.xml" hash="195090acb68e1982aea05c2fa4b7ad35"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="template"><dir name="paymentnetwork"><dir name="sofort"><dir name="info"><file name="sofort.phtml" hash="27bd6f4743ec5f2e27db5030db91faa5"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="paymentnetwork"><dir name="sofort"><dir name="form"><file name="sofort.phtml" hash="46f5482f40fbc08d1758cea508919ff9"/></dir><dir name="info"><file name="sofort.phtml" hash="7a91fc06df387905b56e9ceaff51df66"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Paymentnetwork_Pnsofortueberweisung.xml" hash="06f639f28f328516d226210a7c1d6d9b"/></dir></dir></target><target name="magelib"><dir><dir name="Sofort"><dir name="core"><file name="abstractDataHandler.php" hash="1aec51f3c0d1134fceca90ec4207ad70"/><file name="abstractLoggerHandler.php" hash="79a308a9346d4d86fee91e1445cadf70"/><file name="fileLogger.php" hash="da0922c9c0acf54426fc47f76479b5e7"/><dir name="lib"><file name="arrayToXml.php" hash="8b419fc0515aaf9e39da3b3719b51126"/><file name="arrayToXmlException.php" hash="dddeb29526ccfc6101d4c22582545552"/><dir name="elements"><file name="sofortElement.php" hash="f261befe750d39a6c40826825acdce43"/><file name="sofortTag.php" hash="27b4412b17e2e69bbf95789317c1531e"/><file name="sofortText.php" hash="dc076a1484832a28c70beab4552643aa"/></dir><file name="xmlToArray.php" hash="376ed0bfdacdf04d28d442219c70206c"/><file name="xmlToArrayException.php" hash="fbdfb708ef274101e757766ef57b9de4"/><file name="xmlToArrayNode.php" hash="e24ee5022ce01e048febcb1ef399b95f"/></dir><file name="sofortLibAbstract.inc.php" hash="db9ace2ea7551415d999dc32fd5429a4"/><file name="sofortLibFactory.php" hash="88219c40c0e2337dbc1f1b6168e4d0c4"/><file name="sofortLibHttp.inc.php" hash="6117a55acb7eda5d3c3a9249c0e68c2e"/><file name="sofortLibHttpCurl.inc.php" hash="febda30afef2d6bb12b91f872d15931d"/><file name="sofortLibHttpSocket.inc.php" hash="31621f3cd27236d0bf7f72a7683134aa"/><file name="sofortLibMultipay.inc.php" hash="aa6c9295b3186190777b7d747fbb75eb"/><file name="sofortLibNotification.inc.php" hash="bb7ff597f9e85d5e76224c80f0b02385"/><file name="sofortLibTransactionData.inc.php" hash="1d5ac7981c60fc972758623f6aed1746"/><file name="xmlDataHandler.php" hash="3ed58d72fc31bb7ab35429fc5b21a506"/></dir><dir name="examples"><file name="example.sofortueberweisung.php" hash="1e890df0d6609df8f3776f9c4b80de02"/><file name="example.transaction.php" hash="8b48019a745dd6ca0839d85c81b72483"/></dir><dir name="payment"><file name="sofortLibSofortueberweisung.inc.php" hash="7bbbd6fd2b3d2e5d49841ed7f5291768"/></dir><dir name="unittests"><file name="SofortObject.php" hash="96f43937aeb0e9a33bd716a340b0c96a"/><file name="abstractDataHandlerTest.php" hash="10440fdee7fc6d4abf7f81c64cdb8f83"/><file name="abstractLoggerHandlerTest.php" hash="a25fe8744a245af22dde1bfd549fc85e"/><file name="arrayToXmlTest.php" hash="c2c77f789c3110e0ab65e4fc663a9227"/><file name="fileLoggerTest.php" hash="a8d853ddb0cb596f5db4100d1121a901"/><file name="paymentTest.xml" hash="def52e3ebca6a4146cccbf4c3afcefa6"/><file name="sofortLibAbstractTest.php" hash="62a8d159d79902887acff6d4b4f9e9b8"/><file name="sofortLibHttpCurlTest.php" hash="157782469515caa7be38159fe19733a3"/><file name="sofortLibHttpSocketTest.php" hash="6ae1569b81592f882485330bf735469c"/><file name="sofortLibHttpTest.php" hash="e3383d6a355a4424c1e1f89c59526848"/><file name="sofortLibMultipayTest.php" hash="3b4b978daeeca568497f85b525cbbaab"/><file name="sofortLibNotificationTest.php" hash="bed88694a931ca220e5e452d1c6a7d33"/><file name="sofortLibSofortUeberweisungTest.php" hash="ca6060e673ae1c0362e08663927b5db7"/><file name="sofortLibTest.php" hash="899fee42d03842393c3c106469f8f33c"/><file name="sofortLibTransactionDataTest.php" hash="1eb89534a1f72c54b603bef2df7e6998"/><file name="xmlToArrayNodeTest.php" hash="d9c34e50e6190bff067738853ce77195"/><file name="xmlToArrayTest.php" hash="59df5d3b8cbd90f6d494441bfb7e90a3"/></dir></dir></dir></target><target name="magelocale"><dir><dir name="cs_CZ"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="51977c601bc55324ffc95ab5950bd047"/></dir><dir name="de_AT"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="3687060e55a3a43e1985e4de691cf200"/></dir><dir name="de_CH"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="3687060e55a3a43e1985e4de691cf200"/></dir><dir name="de_DE"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="caa94133653d86fdf84e74949b163e00"/></dir><dir name="en_AU"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="8c874a469a7fe0597f9a2af3fb118713"/></dir><dir name="en_CA"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="8c874a469a7fe0597f9a2af3fb118713"/></dir><dir name="en_GB"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="8c874a469a7fe0597f9a2af3fb118713"/></dir><dir name="en_IE"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="8c874a469a7fe0597f9a2af3fb118713"/></dir><dir name="en_NZ"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="8c874a469a7fe0597f9a2af3fb118713"/></dir><dir name="en_US"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="8c874a469a7fe0597f9a2af3fb118713"/></dir><dir name="en_ZA"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="8c874a469a7fe0597f9a2af3fb118713"/></dir><dir name="es_AR"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="02c10a1cf9b04187b453ad3cee38dd53"/></dir><dir name="es_CL"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="0a9fe42948cabd88e46b4d5a7c20d3b3"/></dir><dir name="es_CO"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="0a9fe42948cabd88e46b4d5a7c20d3b3"/></dir><dir name="es_CR"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="0a9fe42948cabd88e46b4d5a7c20d3b3"/></dir><dir name="es_MX"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="0a9fe42948cabd88e46b4d5a7c20d3b3"/></dir><dir name="es_PA"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="0a9fe42948cabd88e46b4d5a7c20d3b3"/></dir><dir name="es_PE"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="0a9fe42948cabd88e46b4d5a7c20d3b3"/></dir><dir name="es_VE"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="0a9fe42948cabd88e46b4d5a7c20d3b3"/></dir><dir name="fr_CA"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="2bd0303d0c817364dfcec5d6ed6f54cf"/></dir><dir name="fr_FR"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="2bd0303d0c817364dfcec5d6ed6f54cf"/></dir><dir name="hu_HU"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="d32ff3b875ca51024561d2a7107e3dcc"/></dir><dir name="it_CH"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="1165c7323051b7743a102e00639bb23c"/></dir><dir name="it_IT"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="1165c7323051b7743a102e00639bb23c"/></dir><dir name="nl_NL"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="61d58ee02278f8c36e6671cfac005a32"/></dir><dir name="pl_PL"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="787308f63b48f390e9a2089d9c300fb2"/></dir><dir name="sk_SK"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="ef855321b799850a043ef1f20ade2565"/></dir></dir></target><target name="magelocal"><dir><dir name="es_ES"><file name="Paymentnetwork_Pnsofortueberweisung.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|