Version Notes
- Implemented Novalnet SafetyPay and Novalnet Direct Debit SEPA payment methods.
- Version compatibility has been checked.
- Updated callback script file.
- Updated auto refill option for Credit card, Direct Debit SEPA, Direct Debit Austria & Direct Debit German payment methods.
- Updated Direct Debit SEPA payment module as per new testcase.
- Implemented Referrer id, Reference parameters in all payment methods.
- Updated callback script file as per new testcase.
- Added partial refund feature for Novalnet payment methods.
Download this release
Release Info
Developer | Gabriel Dixon |
Extension | Novalnet |
Version | 5.0.2 |
Comparing to | |
See all releases |
Code changes from version 5.0.0 to 5.0.2
- app/code/community/Novalnet/Payment/Block/Adminhtml/Information.php +3 -2
- app/code/community/Novalnet/Payment/Block/Adminhtml/Sales/Order/Invoice/View.php +42 -0
- app/code/community/Novalnet/Payment/Block/Adminhtml/Sales/Order/View.php +24 -3
- app/code/community/Novalnet/Payment/Block/Adminhtml/Sales/Order/View/Tab/TransactionStatus.php +0 -1
- app/code/community/Novalnet/Payment/Block/Payment/Method/Form/Cc.php +0 -36
- app/code/community/Novalnet/Payment/Block/Payment/Method/Form/Safetypay.php +64 -0
- app/code/community/Novalnet/Payment/Block/Payment/Method/Form/Sepa.php +34 -0
- app/code/community/Novalnet/Payment/Block/Payment/Method/Info/Safetypay.php +64 -0
- app/code/community/Novalnet/Payment/Block/Payment/Method/Info/Sepa.php +71 -0
- app/code/community/Novalnet/Payment/Block/Payment/Method/NovalnetRedirect.php +23 -7
- app/code/community/Novalnet/Payment/Helper/AssignData.php +120 -26
- app/code/community/Novalnet/Payment/Helper/Data.php +45 -43
- app/code/community/Novalnet/Payment/Model/Callback.php +42 -0
- app/code/community/Novalnet/Payment/Model/Config.php +25 -3
- app/code/community/Novalnet/Payment/Model/Novalnet/Source/Sepatype.php +39 -0
- app/code/community/Novalnet/Payment/Model/Payment/Method/Abstract.php +267 -67
- app/code/community/Novalnet/Payment/Model/Payment/Method/NovalnetSafetypay.php +45 -0
- app/code/community/Novalnet/Payment/Model/Payment/Method/NovalnetSepa.php +36 -0
- app/code/community/Novalnet/Payment/Model/Resource/Callback.php +36 -0
- app/code/community/Novalnet/Payment/Model/Resource/Callback/Collection.php +36 -0
- app/code/community/Novalnet/Payment/Model/System/Config/Activemethods.php +3 -3
- app/code/community/Novalnet/Payment/Model/Transactionoverview.php +7 -2
- app/code/community/Novalnet/Payment/Model/Transactionstatus.php +6 -1
- app/code/community/Novalnet/Payment/controllers/Adminhtml/NovalnetSepaController.php +44 -0
- app/code/community/Novalnet/Payment/controllers/Adminhtml/Sales/OrderController.php +131 -2
- app/code/community/Novalnet/Payment/controllers/GatewayController.php +18 -13
- app/code/community/Novalnet/Payment/controllers/NovalnetSepaController.php +44 -0
- app/code/community/Novalnet/Payment/etc/config.xml +53 -14
- app/code/community/Novalnet/Payment/etc/system.xml +872 -252
- app/code/community/Novalnet/Payment/sql/novalnet_setup/install.sql +0 -35
- app/code/community/Novalnet/Payment/sql/novalnet_setup/mysql4-install-1.0.0.php +0 -146
- app/code/community/Novalnet/Payment/sql/novalnet_setup/mysql4-install-5.0.2.php +106 -0
- app/code/community/Novalnet/Payment/sql/novalnet_setup/mysql4-upgrade-5.0.0-5.0.2.php +61 -0
- app/code/community/Novalnet/Payment/sql/novalnet_setup/mysql4-upgrade-5.0.1-5.0.2.php +61 -0
- app/design/adminhtml/default/default/layout/novalnet/configuration.xml +14 -1
- app/design/adminhtml/default/default/template/novalnet/payment/method/form/Cc.phtml +15 -15
- app/design/adminhtml/default/default/template/novalnet/payment/method/form/Ccform.phtml +13 -0
- app/design/adminhtml/default/default/template/novalnet/payment/method/form/Ccsecure.phtml +1 -87
- app/design/adminhtml/default/default/template/novalnet/payment/method/form/Elvaustria.phtml +9 -7
- app/design/adminhtml/default/default/template/novalnet/payment/method/form/Elvgerman.phtml +11 -9
- app/design/adminhtml/default/default/template/novalnet/payment/method/form/Invoice.phtml +2 -2
- app/design/adminhtml/default/default/template/novalnet/payment/method/form/Prepayment.phtml +1 -1
- app/design/adminhtml/default/default/template/novalnet/payment/method/form/Safetypay.phtml +27 -0
- app/design/adminhtml/default/default/template/novalnet/payment/method/form/Sepa.phtml +67 -0
- app/design/adminhtml/default/default/template/novalnet/payment/method/form/Sepaform.phtml +99 -0
- app/design/adminhtml/default/default/template/novalnet/payment/method/info/Safetypay.phtml +37 -0
- app/design/adminhtml/default/default/template/novalnet/payment/method/info/Sepa.phtml +39 -0
- app/design/adminhtml/default/default/template/novalnet/payment/method/pdf/Safetypay.phtml +29 -0
- app/design/adminhtml/default/default/template/novalnet/payment/method/pdf/Sepa.phtml +33 -0
- app/design/adminhtml/default/default/template/novalnet/sales/order/view/info.phtml +165 -0
- app/design/adminhtml/default/default/template/novalnet/sales/order/view/tab/info.phtml +16 -0
- app/design/adminhtml/default/default/template/novalnet/sales/order/view/tab/transactionstatus.phtml +0 -128
- app/design/adminhtml/default/default/template/novalnet/transaction/overview/view/form.phtml +5 -1
- app/design/adminhtml/default/default/template/novalnet/transaction/view/form.phtml +5 -1
- app/design/frontend/base/default/layout/novalnet.xml +13 -0
- app/design/frontend/base/default/template/novalnet/payment/method/form/Cc.phtml +123 -0
- app/design/frontend/base/default/template/novalnet/payment/method/form/Ccform.phtml +94 -0
- app/design/frontend/base/default/template/novalnet/payment/method/form/Ccsecure.phtml +117 -0
- app/design/frontend/base/default/template/novalnet/payment/method/form/Elvaustria.phtml +124 -0
- app/design/frontend/base/default/template/novalnet/payment/method/form/Elvgerman.phtml +148 -0
- app/design/frontend/base/default/template/novalnet/payment/method/form/Ideal.phtml +64 -0
- app/design/frontend/base/default/template/novalnet/payment/method/form/Invoice.phtml +102 -0
- app/design/frontend/base/default/template/novalnet/payment/method/form/Paypal.phtml +64 -0
- app/design/frontend/base/default/template/novalnet/payment/method/form/Phonepayment.phtml +61 -0
- app/design/frontend/base/default/template/novalnet/payment/method/form/Prepayment.phtml +60 -0
- app/design/frontend/base/default/template/novalnet/payment/method/form/Safetypay.phtml +64 -0
- app/design/frontend/base/default/template/novalnet/payment/method/form/Sepa.phtml +67 -0
- app/design/frontend/base/default/template/novalnet/payment/method/form/Sepaform.phtml +100 -0
- app/design/frontend/base/default/template/novalnet/payment/method/form/Sofortueberweisung.phtml +64 -0
- app/design/frontend/base/default/template/novalnet/payment/method/form/blank.phtml +38 -0
- app/design/frontend/base/default/template/novalnet/payment/method/info/Cc.phtml +37 -0
- app/design/frontend/base/default/template/novalnet/payment/method/info/Ccsecure.phtml +40 -0
- app/design/frontend/base/default/template/novalnet/payment/method/info/Elvaustria.phtml +40 -0
- app/design/frontend/base/default/template/novalnet/payment/method/info/Elvgerman.phtml +39 -0
- app/design/frontend/base/default/template/novalnet/payment/method/info/Ideal.phtml +41 -0
- app/design/frontend/base/default/template/novalnet/payment/method/info/Invoice.phtml +56 -0
- app/design/frontend/base/default/template/novalnet/payment/method/info/Paypal.phtml +40 -0
- app/design/frontend/base/default/template/novalnet/payment/method/info/Phonepayment.phtml +41 -0
- app/design/frontend/base/default/template/novalnet/payment/method/info/Prepayment.phtml +55 -0
- app/design/frontend/base/default/template/novalnet/payment/method/info/Safetypay.phtml +40 -0
- app/design/frontend/base/default/template/novalnet/payment/method/info/Sepa.phtml +39 -0
- app/design/frontend/base/default/template/novalnet/payment/method/info/Sofortueberweisung.phtml +40 -0
- app/design/frontend/default/default/layout/novalnet.xml +3 -0
- app/design/frontend/default/default/template/novalnet/payment/method/form/Cc.phtml +24 -13
- app/design/frontend/default/default/template/novalnet/payment/method/form/Ccform.phtml +15 -2
- app/design/frontend/default/default/template/novalnet/payment/method/form/Ccsecure.phtml +15 -11
- app/design/frontend/default/default/template/novalnet/payment/method/form/Elvaustria.phtml +12 -10
- app/design/frontend/default/default/template/novalnet/payment/method/form/Elvgerman.phtml +14 -12
- app/design/frontend/default/default/template/novalnet/payment/method/form/Ideal.phtml +4 -9
- app/design/frontend/default/default/template/novalnet/payment/method/form/Invoice.phtml +14 -14
- app/design/frontend/default/default/template/novalnet/payment/method/form/Paypal.phtml +1 -6
- app/design/frontend/default/default/template/novalnet/payment/method/form/Phonepayment.phtml +4 -4
- app/design/frontend/default/default/template/novalnet/payment/method/form/Prepayment.phtml +1 -1
- app/design/frontend/default/default/template/novalnet/payment/method/form/Safetypay.phtml +64 -0
- app/design/frontend/default/default/template/novalnet/payment/method/form/Sepa.phtml +67 -0
- app/design/frontend/default/default/template/novalnet/payment/method/form/Sepaform.phtml +100 -0
- app/design/frontend/default/default/template/novalnet/payment/method/form/Sofortueberweisung.phtml +5 -10
- app/design/frontend/default/default/template/novalnet/payment/method/info/Safetypay.phtml +40 -0
- app/design/frontend/default/default/template/novalnet/payment/method/info/Sepa.phtml +39 -0
- app/locale/de_DE/Novalnet_Payment.csv +68 -9
- app/locale/en_US/Novalnet_Payment.csv +342 -336
- callback_novalnet2magento.php +134 -99
- js/novalnet/novalnetcc.js +2 -66
- js/novalnet/novalnetsepa.js +112 -0
- novalnet_css_link.php +35 -0
- package.xml +12 -12
- skin/frontend/default/default/images/novalnet/DE/AE_Logo.png +0 -0
- skin/frontend/default/default/images/novalnet/DE/ELV_Logo.png +0 -0
- skin/frontend/default/default/images/novalnet/DE/MC_Logo.png +0 -0
- skin/frontend/default/default/images/novalnet/DE/VI_Logo.png +0 -0
- skin/frontend/default/default/images/novalnet/DE/acdc_info.png +0 -0
- skin/frontend/default/default/images/novalnet/DE/creditcard_small.jpg +0 -0
- skin/frontend/default/default/images/novalnet/DE/ideal_payment_small.png +0 -0
- skin/frontend/default/default/images/novalnet/DE/kauf-auf-rechnung.jpg +0 -0
- skin/frontend/default/default/images/novalnet/DE/novalnet-loading-icon.gif +0 -0
- skin/frontend/default/default/images/novalnet/DE/novaltel_reciever.png +0 -0
- skin/frontend/default/default/images/novalnet/DE/paypal-small.png +0 -0
- skin/frontend/default/default/images/novalnet/DE/safetypay_logo.jpg +0 -0
- skin/frontend/default/default/images/novalnet/DE/sepa_logo.jpg +0 -0
- skin/frontend/default/default/images/novalnet/DE/sofort_Logo.png +0 -0
- skin/frontend/default/default/images/novalnet/DE/vorauskasse.jpg +0 -0
- skin/frontend/default/default/images/novalnet/EN/AE_Logo.png +0 -0
- skin/frontend/default/default/images/novalnet/EN/ELV_Logo.png +0 -0
- skin/frontend/default/default/images/novalnet/EN/MC_Logo.png +0 -0
- skin/frontend/default/default/images/novalnet/EN/VI_Logo.png +0 -0
- skin/frontend/default/default/images/novalnet/EN/acdc_info.png +0 -0
- skin/frontend/default/default/images/novalnet/EN/creditcard_small.jpg +0 -0
- skin/frontend/default/default/images/novalnet/EN/ideal_payment_small.png +0 -0
- skin/frontend/default/default/images/novalnet/EN/kauf-auf-rechnung.jpg +0 -0
- skin/frontend/default/default/images/novalnet/EN/novalnet-loading-icon.gif +0 -0
- skin/frontend/default/default/images/novalnet/EN/novaltel_reciever.png +0 -0
- skin/frontend/default/default/images/novalnet/EN/paypal-small.png +0 -0
- skin/frontend/default/default/images/novalnet/EN/safetypay_logo.jpg +0 -0
- skin/frontend/default/default/images/novalnet/EN/sepa_logo.jpg +0 -0
- skin/frontend/default/default/images/novalnet/EN/sofort_Logo.png +0 -0
- skin/frontend/default/default/images/novalnet/EN/vorauskasse.jpg +0 -0
app/code/community/Novalnet/Payment/Block/Adminhtml/Information.php
CHANGED
@@ -42,7 +42,8 @@ class Novalnet_Payment_Block_Adminhtml_Information extends Mage_Adminhtml_Block_
|
|
42 |
*/
|
43 |
public function getNovalnetUrl()
|
44 |
{
|
45 |
-
$
|
|
|
46 |
return $url;
|
47 |
}
|
48 |
-
}
|
42 |
*/
|
43 |
public function getNovalnetUrl()
|
44 |
{
|
45 |
+
$protocol = Mage::app()->getStore()->isCurrentlySecure() ? 'https' : 'http';
|
46 |
+
$url = $this->escapeUrl($protocol . '://www.novalnet.de/modul/magento-payment-module');
|
47 |
return $url;
|
48 |
}
|
49 |
+
}
|
app/code/community/Novalnet/Payment/Block/Adminhtml/Sales/Order/Invoice/View.php
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
* Part of the Paymentmodule of Novalnet AG
|
17 |
+
* https://www.novalnet.de
|
18 |
+
* If you have found this script usefull a small
|
19 |
+
* recommendation as well as a comment on merchant form
|
20 |
+
* would be greatly appreciated.
|
21 |
+
*
|
22 |
+
* @category Novalnet
|
23 |
+
* @package Novalnet_Payment
|
24 |
+
* @copyright Novalnet AG
|
25 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
class Novalnet_Payment_Block_Adminhtml_Sales_Order_Invoice_View extends Mage_Adminhtml_Block_Sales_Order_Invoice_View {
|
29 |
+
|
30 |
+
public function __construct() {
|
31 |
+
parent::__construct();
|
32 |
+
|
33 |
+
$payment = $this->getInvoice()->getOrder()->getPayment();
|
34 |
+
$paymentMethod = $payment->getMethodInstance()->getCode();
|
35 |
+
|
36 |
+
if (preg_match("/novalnet/i", $paymentMethod)) {
|
37 |
+
if ($paymentMethod == Novalnet_Payment_Model_Config::NN_SEPA) {
|
38 |
+
$this->_removeButton('capture');
|
39 |
+
}
|
40 |
+
}
|
41 |
+
}
|
42 |
+
}
|
app/code/community/Novalnet/Payment/Block/Adminhtml/Sales/Order/View.php
CHANGED
@@ -35,17 +35,38 @@ class Novalnet_Payment_Block_Adminhtml_Sales_Order_View extends Mage_Adminhtml_B
|
|
35 |
$paymentMethod = $payment->getMethodInstance()->getCode();
|
36 |
$helper = Mage::helper('novalnet_payment');
|
37 |
$getTid = $helper->makeValidNumber($payment->getLastTransId());
|
38 |
-
|
|
|
39 |
$this->_removeButton('order_creditmemo');
|
40 |
-
|
|
|
|
|
|
|
41 |
$getTransactionStatus = $helper->loadTransactionStatus($getTid);
|
42 |
|
43 |
$this->_updateButton('order_invoice', 'label', Mage::helper('novalnet_payment')->__('Capture'));
|
44 |
-
|
|
|
|
|
|
|
|
|
|
|
45 |
$this->_removeButton('void_payment');
|
46 |
|
47 |
if ($getTransactionStatus->getTransactionStatus() == Novalnet_Payment_Model_Config::PAYMENT_VOID_STATUS)
|
48 |
$this->_removeButton('order_invoice');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
}
|
50 |
|
51 |
}
|
35 |
$paymentMethod = $payment->getMethodInstance()->getCode();
|
36 |
$helper = Mage::helper('novalnet_payment');
|
37 |
$getTid = $helper->makeValidNumber($payment->getLastTransId());
|
38 |
+
$sepaType = $helper->getModel('novalnetSepa')->_getConfigData('sepatypes');
|
39 |
+
if (preg_match("/novalnet/i", $paymentMethod)) {
|
40 |
$this->_removeButton('order_creditmemo');
|
41 |
+
|
42 |
+
if ($paymentMethod == Novalnet_Payment_Model_Config::NN_SEPA) {
|
43 |
+
$this->_removeButton('Capture');
|
44 |
+
}
|
45 |
$getTransactionStatus = $helper->loadTransactionStatus($getTid);
|
46 |
|
47 |
$this->_updateButton('order_invoice', 'label', Mage::helper('novalnet_payment')->__('Capture'));
|
48 |
+
|
49 |
+
if (in_array($paymentMethod, array(Novalnet_Payment_Model_Config::NN_PAYPAL, Novalnet_Payment_Model_Config::NN_SEPA, Novalnet_Payment_Model_Config::NN_TELEPHONE))) {
|
50 |
+
$this->_removeButton('order_invoice');
|
51 |
+
}
|
52 |
+
|
53 |
+
if ($getTransactionStatus->getTransactionStatus() == Novalnet_Payment_Model_Config::RESPONSE_CODE_APPROVED || ($paymentMethod == Novalnet_Payment_Model_Config::NN_SEPA))
|
54 |
$this->_removeButton('void_payment');
|
55 |
|
56 |
if ($getTransactionStatus->getTransactionStatus() == Novalnet_Payment_Model_Config::PAYMENT_VOID_STATUS)
|
57 |
$this->_removeButton('order_invoice');
|
58 |
+
|
59 |
+
if (in_array($paymentMethod, array(Novalnet_Payment_Model_Config::NN_INVOICE, Novalnet_Payment_Model_Config::NN_PREPAYMENT))) {
|
60 |
+
$this->_removeButton('order_invoice');
|
61 |
+
if($getTransactionStatus->getTransactionStatus() == 91) {
|
62 |
+
$this->_addButton('novalnet_confirm', array(
|
63 |
+
'label' => 'Novalnet Capture',
|
64 |
+
'onclick' => 'setLocation(\'' . $this->getUrl('*/*/novalnetconfirm') . '\')',
|
65 |
+
), 0);
|
66 |
+
}
|
67 |
+
}
|
68 |
+
|
69 |
+
}
|
70 |
}
|
71 |
|
72 |
}
|
app/code/community/Novalnet/Payment/Block/Adminhtml/Sales/Order/View/Tab/TransactionStatus.php
CHANGED
@@ -28,7 +28,6 @@ class Novalnet_Payment_Block_Adminhtml_Sales_Order_View_Tab_TransactionStatus ex
|
|
28 |
|
29 |
public function __construct() {
|
30 |
parent::__construct();
|
31 |
-
//$this->setTemplate('novalnet/sales/order/view/tab/transactionstatus.phtml');
|
32 |
$this->setId('novalnet_payment_block_adminhtml_sales_order_view_tab_transactionstatus');
|
33 |
$this->setDefaultSort('created_at');
|
34 |
$this->setDefaultDir('DESC');
|
28 |
|
29 |
public function __construct() {
|
30 |
parent::__construct();
|
|
|
31 |
$this->setId('novalnet_payment_block_adminhtml_sales_order_view_tab_transactionstatus');
|
32 |
$this->setDefaultSort('created_at');
|
33 |
$this->setDefaultDir('DESC');
|
app/code/community/Novalnet/Payment/Block/Payment/Method/Form/Cc.php
CHANGED
@@ -31,42 +31,6 @@ class Novalnet_Payment_Block_Payment_Method_Form_Cc extends Mage_Payment_Block_F
|
|
31 |
$this->setTemplate('novalnet/payment/method/form/Cc.phtml');
|
32 |
}
|
33 |
|
34 |
-
/**
|
35 |
-
* Retrieve payment configuration object
|
36 |
-
*
|
37 |
-
* @return Mage_Payment_Model_Config
|
38 |
-
*/
|
39 |
-
protected function _getConfig() {
|
40 |
-
return Mage::getModel('payment/config');
|
41 |
-
}
|
42 |
-
|
43 |
-
/**
|
44 |
-
* Retrieve availables credit card types
|
45 |
-
*
|
46 |
-
* @return array
|
47 |
-
*/
|
48 |
-
public function getCcAvailableTypes() {
|
49 |
-
return array('VI', 'MC');
|
50 |
-
}
|
51 |
-
|
52 |
-
/**
|
53 |
-
* Get information to end user from config
|
54 |
-
*
|
55 |
-
* @return string
|
56 |
-
*/
|
57 |
-
public function getUserInfo() {
|
58 |
-
return $this->getMethod()->getConfigData('booking_reference');
|
59 |
-
}
|
60 |
-
|
61 |
-
/**
|
62 |
-
* Retrieve Novalnet Mode in Configuration
|
63 |
-
*
|
64 |
-
* @return bool
|
65 |
-
*/
|
66 |
-
public function getLiveMode() {
|
67 |
-
return $this->getMethod()->_getConfigData('live_mode');
|
68 |
-
}
|
69 |
-
|
70 |
/**
|
71 |
* Check whether Callback type allowed
|
72 |
*
|
31 |
$this->setTemplate('novalnet/payment/method/form/Cc.phtml');
|
32 |
}
|
33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
/**
|
35 |
* Check whether Callback type allowed
|
36 |
*
|
app/code/community/Novalnet/Payment/Block/Payment/Method/Form/Safetypay.php
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
* Part of the Paymentmodule of Novalnet AG
|
17 |
+
* https://www.novalnet.de
|
18 |
+
* If you have found this script usefull a small
|
19 |
+
* recommendation as well as a comment on merchant form
|
20 |
+
* would be greatly appreciated.
|
21 |
+
*
|
22 |
+
* @category Novalnet
|
23 |
+
* @package Novalnet_Payment
|
24 |
+
* @copyright Novalnet AG
|
25 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
+
*/
|
27 |
+
class Novalnet_Payment_Block_Payment_Method_Form_Safetypay extends Mage_Payment_Block_Form {
|
28 |
+
|
29 |
+
/**
|
30 |
+
* Init default template for block
|
31 |
+
*/
|
32 |
+
protected function _construct() {
|
33 |
+
parent::_construct();
|
34 |
+
$this->setTemplate('novalnet/payment/method/form/Safetypay.phtml');
|
35 |
+
}
|
36 |
+
|
37 |
+
/**
|
38 |
+
* Retrieve payment configuration object
|
39 |
+
*
|
40 |
+
* @return Mage_Payment_Model_Config
|
41 |
+
*/
|
42 |
+
protected function _getConfig() {
|
43 |
+
return Mage::getSingleton('payment/config');
|
44 |
+
}
|
45 |
+
|
46 |
+
/**
|
47 |
+
* Get information to end user from config
|
48 |
+
*
|
49 |
+
* @return string
|
50 |
+
*/
|
51 |
+
public function getUserInfo() {
|
52 |
+
return $this->getMethod()->getConfigData('booking_reference');
|
53 |
+
}
|
54 |
+
|
55 |
+
/**
|
56 |
+
* Retrieve Novalnet Mode in Configuration
|
57 |
+
*
|
58 |
+
* @return bool
|
59 |
+
*/
|
60 |
+
public function getLiveMode() {
|
61 |
+
return $this->getMethod()->_getConfigData('live_mode');
|
62 |
+
}
|
63 |
+
|
64 |
+
}
|
app/code/community/Novalnet/Payment/Block/Payment/Method/Form/Sepa.php
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
* Part of the Paymentmodule of Novalnet AG
|
17 |
+
* https://www.novalnet.de
|
18 |
+
* If you have found this script usefull a small
|
19 |
+
* recommendation as well as a comment on merchant form
|
20 |
+
* would be greatly appreciated.
|
21 |
+
*
|
22 |
+
* @category Novalnet
|
23 |
+
* @package Novalnet_Payment
|
24 |
+
* @copyright Novalnet AG
|
25 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
+
*/
|
27 |
+
class Novalnet_Payment_Block_Payment_Method_Form_Sepa extends Mage_Payment_Block_Form {
|
28 |
+
|
29 |
+
protected function _construct() {
|
30 |
+
parent::_construct();
|
31 |
+
$this->setTemplate('novalnet/payment/method/form/Sepa.phtml');
|
32 |
+
}
|
33 |
+
|
34 |
+
}
|
app/code/community/Novalnet/Payment/Block/Payment/Method/Info/Safetypay.php
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
* Part of the Paymentmodule of Novalnet AG
|
17 |
+
* https://www.novalnet.de
|
18 |
+
* If you have found this script usefull a small
|
19 |
+
* recommendation as well as a comment on merchant form
|
20 |
+
* would be greatly appreciated.
|
21 |
+
*
|
22 |
+
* @category Novalnet
|
23 |
+
* @package Novalnet_Payment
|
24 |
+
* @copyright Novalnet AG
|
25 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
+
*/
|
27 |
+
class Novalnet_Payment_Block_Payment_Method_Info_Safetypay extends Mage_Payment_Block_Info {
|
28 |
+
|
29 |
+
/**
|
30 |
+
* Init default template for block
|
31 |
+
*/
|
32 |
+
protected function _construct() {
|
33 |
+
parent::_construct();
|
34 |
+
$this->setTemplate('novalnet/payment/method/info/Safetypay.phtml');
|
35 |
+
}
|
36 |
+
|
37 |
+
/**
|
38 |
+
* Retrieve payment method model
|
39 |
+
*
|
40 |
+
* @return Mage_Payment_Model_Method_Abstract
|
41 |
+
*/
|
42 |
+
public function getMethod() {
|
43 |
+
return $this->getInfo()->getMethodInstance();
|
44 |
+
}
|
45 |
+
|
46 |
+
/**
|
47 |
+
* Render as PDF
|
48 |
+
* @return string
|
49 |
+
*/
|
50 |
+
public function toPdf() {
|
51 |
+
$this->setTemplate('novalnet/payment/method/pdf/Safetypay.phtml');
|
52 |
+
return $this->toHtml();
|
53 |
+
}
|
54 |
+
|
55 |
+
/**
|
56 |
+
* Get some specific information
|
57 |
+
*
|
58 |
+
* @return array
|
59 |
+
*/
|
60 |
+
public function getAdditionalData($key) {
|
61 |
+
return Mage::helper('novalnet_payment')->getAdditionalData($this->getInfo(), $key);
|
62 |
+
}
|
63 |
+
|
64 |
+
}
|
app/code/community/Novalnet/Payment/Block/Payment/Method/Info/Sepa.php
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
* Part of the Paymentmodule of Novalnet AG
|
17 |
+
* https://www.novalnet.de
|
18 |
+
* If you have found this script usefull a small
|
19 |
+
* recommendation as well as a comment on merchant form
|
20 |
+
* would be greatly appreciated.
|
21 |
+
*
|
22 |
+
* @category Novalnet
|
23 |
+
* @package Novalnet_Payment
|
24 |
+
* @copyright Novalnet AG
|
25 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
+
*/
|
27 |
+
class Novalnet_Payment_Block_Payment_Method_Info_Sepa extends Mage_Payment_Block_Info {
|
28 |
+
|
29 |
+
/**
|
30 |
+
* Init default template for block
|
31 |
+
*/
|
32 |
+
protected function _construct() {
|
33 |
+
parent::_construct();
|
34 |
+
$this->setTemplate('novalnet/payment/method/info/Sepa.phtml');
|
35 |
+
}
|
36 |
+
|
37 |
+
/**
|
38 |
+
* Render as PDF
|
39 |
+
* @return string
|
40 |
+
*/
|
41 |
+
public function toPdf() {
|
42 |
+
$this->setTemplate('novalnet/payment/method/pdf/Sepa.phtml');
|
43 |
+
return $this->toHtml();
|
44 |
+
}
|
45 |
+
|
46 |
+
/**
|
47 |
+
* Get some specific information
|
48 |
+
*
|
49 |
+
* @return array
|
50 |
+
*/
|
51 |
+
public function getAdditionalData($key) {
|
52 |
+
return Mage::helper('novalnet_payment')->getAdditionalData($this->getInfo(), $key);
|
53 |
+
}
|
54 |
+
|
55 |
+
/**
|
56 |
+
* Retrieve payment method model
|
57 |
+
*
|
58 |
+
* @return Mage_Payment_Model_Method_Abstract
|
59 |
+
*/
|
60 |
+
public function getMethod() {
|
61 |
+
return $this->getInfo()->getMethodInstance();
|
62 |
+
}
|
63 |
+
|
64 |
+
/**
|
65 |
+
* @return string
|
66 |
+
*/
|
67 |
+
public function getPaymentMethod() {
|
68 |
+
return $this->getMethod()->getConfigData('title');
|
69 |
+
}
|
70 |
+
|
71 |
+
}
|
app/code/community/Novalnet/Payment/Block/Payment/Method/NovalnetRedirect.php
CHANGED
@@ -29,25 +29,41 @@ class Novalnet_Payment_Block_Payment_Method_NovalnetRedirect extends Mage_Core_B
|
|
29 |
protected function _toHtml() {
|
30 |
$payment = $this->getOrder()->getPayment()->getMethodInstance();
|
31 |
$helper = Mage::helper('novalnet_payment');
|
|
|
|
|
32 |
if ($payment->_getConfigData('password', true)
|
33 |
-
|| $
|
34 |
$form = new Varien_Data_Form();
|
35 |
$form->setAction($payment->getConfigData('url'))
|
36 |
-
->setId($
|
37 |
-
->setName($
|
38 |
->setMethod(Novalnet_Payment_Model_Config::NOVALNET_RETURN_METHOD)
|
39 |
->setUseContainer(true);
|
40 |
|
41 |
$getFormData = $payment->buildRequest()->getData();
|
42 |
-
|
|
|
43 |
$form->addField($field, 'hidden', array('name' => $field, 'value' => $value));
|
44 |
}
|
45 |
|
46 |
-
$logFormData = Mage::helper('novalnet_payment/AssignData')->doRemoveSensitiveData($
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
|
48 |
//Save Transaction request data
|
49 |
$modNovalTransactionOverview = $helper->getModelTransactionOverview();
|
50 |
-
$modNovalTransactionOverview->setOrderId($
|
51 |
->setRequestData(serialize($logFormData))
|
52 |
->setCreatedDate($helper->getCurrentDateTime())
|
53 |
->save();
|
@@ -57,7 +73,7 @@ class Novalnet_Payment_Block_Payment_Method_NovalnetRedirect extends Mage_Core_B
|
|
57 |
$html = '<html><body>';
|
58 |
$html.= $this->__('You will be redirected to Novalnet AG website when you place an order.');
|
59 |
$html.= $form->toHtml();
|
60 |
-
$html.= '<script type="text/javascript">document.getElementById("' . $
|
61 |
$html.= '</body></html>';
|
62 |
return $html;
|
63 |
} else {
|
29 |
protected function _toHtml() {
|
30 |
$payment = $this->getOrder()->getPayment()->getMethodInstance();
|
31 |
$helper = Mage::helper('novalnet_payment');
|
32 |
+
$paymentCode = $payment->getCode();
|
33 |
+
|
34 |
if ($payment->_getConfigData('password', true)
|
35 |
+
|| $paymentCode == Novalnet_Payment_Model_Config::NN_CC3D) {
|
36 |
$form = new Varien_Data_Form();
|
37 |
$form->setAction($payment->getConfigData('url'))
|
38 |
+
->setId($paymentCode)
|
39 |
+
->setName($paymentCode)
|
40 |
->setMethod(Novalnet_Payment_Model_Config::NOVALNET_RETURN_METHOD)
|
41 |
->setUseContainer(true);
|
42 |
|
43 |
$getFormData = $payment->buildRequest()->getData();
|
44 |
+
$replacedFormData = Mage::helper('novalnet_payment/AssignData')->replaceParamsBasedOnPayment($getFormData, $paymentCode);
|
45 |
+
foreach ($replacedFormData as $field => $value) {
|
46 |
$form->addField($field, 'hidden', array('name' => $field, 'value' => $value));
|
47 |
}
|
48 |
|
49 |
+
$logFormData = Mage::helper('novalnet_payment/AssignData')->doRemoveSensitiveData($replacedFormData, $paymentCode);
|
50 |
+
$authorizeKey = $payment->_getConfigData('password', true);
|
51 |
+
$authCode = $paymentCode == Novalnet_Payment_Model_Config::NN_CC3D ? $logFormData['auth_code'] : $helper->getDecodedParam($logFormData['auth_code'] ,$authorizeKey);
|
52 |
+
$productId = $paymentCode == Novalnet_Payment_Model_Config::NN_CC3D ? $logFormData['product'] : $helper->getDecodedParam($logFormData['product'] ,$authorizeKey);
|
53 |
+
$tariffId = $paymentCode == Novalnet_Payment_Model_Config::NN_CC3D ? $logFormData['tariff'] : $helper->getDecodedParam($logFormData['tariff'] ,$authorizeKey);
|
54 |
+
$data = array('vendor' => $logFormData['vendor'],
|
55 |
+
'auth_code' => $authCode,
|
56 |
+
'product' => $productId,
|
57 |
+
'tariff' => $tariffId,
|
58 |
+
'key' => $logFormData['key']
|
59 |
+
);
|
60 |
+
$payment = $this->getOrder()->getPayment();
|
61 |
+
$payment->setAdditionalData(serialize($data))
|
62 |
+
->save();
|
63 |
|
64 |
//Save Transaction request data
|
65 |
$modNovalTransactionOverview = $helper->getModelTransactionOverview();
|
66 |
+
$modNovalTransactionOverview->setOrderId($replacedFormData['order_no'])
|
67 |
->setRequestData(serialize($logFormData))
|
68 |
->setCreatedDate($helper->getCurrentDateTime())
|
69 |
->save();
|
73 |
$html = '<html><body>';
|
74 |
$html.= $this->__('You will be redirected to Novalnet AG website when you place an order.');
|
75 |
$html.= $form->toHtml();
|
76 |
+
$html.= '<script type="text/javascript">document.getElementById("' . $paymentCode . '").submit();</script>';
|
77 |
$html.= '</body></html>';
|
78 |
return $html;
|
79 |
} else {
|
app/code/community/Novalnet/Payment/Helper/AssignData.php
CHANGED
@@ -53,42 +53,74 @@ class Novalnet_Payment_Helper_AssignData extends Novalnet_Payment_Helper_Data {
|
|
53 |
if ($this->getModel($paymentCode)->_getConfigData('callback') != 3) {
|
54 |
$infoInstance->setCallbackPinValidationFlag(true);
|
55 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
break;
|
57 |
case Novalnet_Payment_Model_Config::NN_ELVAT:
|
58 |
$infoInstance->setNnAccountHolder(trim($data->getAccountHolderAt()))
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
if ($this->getModel($paymentCode)->_getConfigData('callback') != 3) {
|
66 |
$infoInstance->setCallbackPinValidationFlag(true);
|
67 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
break;
|
69 |
case Novalnet_Payment_Model_Config::NN_CC:
|
70 |
$infoInstance->setPanHash($this->novalnetCardDetails('novalnet_cc_pan_hash'))
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
if ($this->getModel($paymentCode)->_getConfigData('callback') != 3) {
|
77 |
$infoInstance->setCallbackPinValidationFlag(true);
|
78 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
break;
|
80 |
case Novalnet_Payment_Model_Config::NN_CC3D:
|
81 |
$this->_getCheckoutSession()->setNnCcNumber(Mage::helper('core')->encrypt($data->getNnCcNumber()))
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
|
|
|
|
86 |
break;
|
87 |
case Novalnet_Payment_Model_Config::NN_INVOICE:
|
88 |
$infoInstance->setNnCallbackTelNovalnetInvoice($data->getCallbackTel())
|
89 |
->setNnCallbackPinNovalnetInvoice(trim($data->getCallbackPin()))
|
90 |
->setNnNewCallbackPinNovalnetInvoice($data->getNewCallbackPin())
|
91 |
-
->setNnCallbackEmailNovalnetInvoice($data->getCallbackEmail());
|
92 |
if ($this->getModel($paymentCode)->_getConfigData('callback') != 3) {
|
93 |
$infoInstance->setCallbackPinValidationFlag(true);
|
94 |
}
|
@@ -111,9 +143,7 @@ class Novalnet_Payment_Helper_AssignData extends Novalnet_Payment_Helper_Data {
|
|
111 |
$nnBankSortingCode = preg_replace('/[\-\s]+/', '', $infoInstance->getNnBankSortingCode());
|
112 |
|
113 |
if (!$this->checkIsValid($nnAccountHolder)
|
114 |
-
|| !$this->checkIsNumeric($nnAccountNumber) || !$this->checkIsNumeric($nnBankSortingCode)
|
115 |
-
|| strlen($nnAccountNumber) < Novalnet_Payment_Model_Config::ACCNO_MIN_LENGTH
|
116 |
-
|| strlen($nnBankSortingCode) < Novalnet_Payment_Model_Config::BANK_SORTCODE_LENGTH) {
|
117 |
Mage::throwException($this->__('Please enter valid account details') . '!');
|
118 |
}
|
119 |
|
@@ -135,12 +165,27 @@ class Novalnet_Payment_Helper_AssignData extends Novalnet_Payment_Helper_Data {
|
|
135 |
} elseif (!$this->checkIsValid($ccOwner) || !$this->_validateExpDate($expYear, $expMonth)
|
136 |
|| !$this->checkIsNumeric($ccid)) {
|
137 |
Mage::throwException($this->__('Please enter valid credit card details') . '!');
|
138 |
-
} elseif($this->getModel($paymentCode)->_getConfigData('callback') == '1' && !$infoInstance->getNnCallbackTelNovalnetCc() && !$this->checkIsAdmin()){
|
139 |
Mage::throwException($this->__('Please enter the Telephone / Mobilenumber') . '!');
|
140 |
-
} elseif($this->getModel($paymentCode)->_getConfigData('callback') == '3' && !$this->validateEmail($infoInstance->getNnCallbackEmailNovalnetCc()) && !$this->checkIsAdmin()){
|
141 |
Mage::throwException($this->__('Please enter the E-Mail Address') . '!');
|
|
|
|
|
142 |
}
|
143 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
case Novalnet_Payment_Model_Config::NN_CC3D:
|
145 |
$ccOwner = Mage::helper('core')->decrypt($this->_getCheckoutSession()->getNnCcOwner());
|
146 |
$expYear = Mage::helper('core')->decrypt($this->_getCheckoutSession()->getNnCcExpYear());
|
@@ -153,15 +198,16 @@ class Novalnet_Payment_Helper_AssignData extends Novalnet_Payment_Helper_Data {
|
|
153 |
case Novalnet_Payment_Model_Config::NN_IDEAL:
|
154 |
case Novalnet_Payment_Model_Config::NN_PAYPAL:
|
155 |
case Novalnet_Payment_Model_Config::NN_SOFORT:
|
|
|
156 |
if (!$this->getModel($paymentCode)->_getConfigData('password', true)) {
|
157 |
-
Mage::throwException($this->__('Basic
|
158 |
}
|
159 |
|
160 |
if ($paymentCode == Novalnet_Payment_Model_Config::NN_PAYPAL &&
|
161 |
(!$this->getModel($paymentCode)->_getConfigData('api_sign', true)
|
162 |
|| !$this->getModel($paymentCode)->_getConfigData('api_user', true)
|
163 |
|| !$this->getModel($paymentCode)->_getConfigData('api_password', true))) {
|
164 |
-
Mage::throwException($this->__('Basic
|
165 |
}
|
166 |
|
167 |
break;
|
@@ -178,7 +224,8 @@ class Novalnet_Payment_Helper_AssignData extends Novalnet_Payment_Helper_Data {
|
|
178 |
Novalnet_Payment_Model_Config::NN_SOFORT,
|
179 |
Novalnet_Payment_Model_Config::NN_PAYPAL,
|
180 |
Novalnet_Payment_Model_Config::NN_IDEAL,
|
181 |
-
Novalnet_Payment_Model_Config::NN_CC3D
|
|
|
182 |
);
|
183 |
$request->setUserVariable_0(Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB))
|
184 |
->setReturnMethod(Novalnet_Payment_Model_Config::NOVALNET_RETURN_METHOD)
|
@@ -286,6 +333,13 @@ class Novalnet_Payment_Helper_AssignData extends Novalnet_Payment_Helper_Data {
|
|
286 |
->unsCcCvc2()
|
287 |
->unsCcType();
|
288 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
289 |
}
|
290 |
}
|
291 |
return $request;
|
@@ -338,9 +392,9 @@ class Novalnet_Payment_Helper_AssignData extends Novalnet_Payment_Helper_Data {
|
|
338 |
$dueDate = $this->setDueDate($paymentDuration);
|
339 |
$note = NULL;
|
340 |
$note .= "<br /><b>" . $this->__('Please transfer the invoice amount with the following information to our payment provider Novalnet AG') . "</b><br />";
|
341 |
-
$note .= ($dueDate) ? ($this->__('Due Date') . ' : <b>' . $dueDate . "</b><br />") : NULL;
|
342 |
$note .= $this->__('Account Holder2') . " : <b>NOVALNET AG</b><br />";
|
343 |
-
$note .= $this->__('
|
344 |
$note .= $this->__('Bank Sorting Code') . " : <b>" . $result->getInvoiceBankcode() . "</b><br />";
|
345 |
$note .= $this->__('NN_Bank') . " : <b>" . $result->getInvoiceBankname() . " " . trim($result->getInvoiceBankplace()) . "</b><br />";
|
346 |
return $note;
|
@@ -380,4 +434,44 @@ class Novalnet_Payment_Helper_AssignData extends Novalnet_Payment_Helper_Data {
|
|
380 |
return $note;
|
381 |
}
|
382 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
383 |
}
|
53 |
if ($this->getModel($paymentCode)->_getConfigData('callback') != 3) {
|
54 |
$infoInstance->setCallbackPinValidationFlag(true);
|
55 |
}
|
56 |
+
$this->_getCheckout()->setElvDeAccountHolder($infoInstance->getNnAccountHolder())
|
57 |
+
->setElvDeAccountNumber($infoInstance->getNnAccountNumber())
|
58 |
+
->setElvDeBankSortingCode($infoInstance->getNnBankSortingCode())
|
59 |
+
->setNnCallbackTelNovalnetElvgerman($data->getCallbackTel())
|
60 |
+
->setNnCallbackEmailNovalnetElvgerman($data->getCallbackEmail())
|
61 |
+
->setNnPaymentCode($paymentCode);
|
62 |
break;
|
63 |
case Novalnet_Payment_Model_Config::NN_ELVAT:
|
64 |
$infoInstance->setNnAccountHolder(trim($data->getAccountHolderAt()))
|
65 |
+
->setNnAccountNumber(trim($data->getAccountNumberAt()))
|
66 |
+
->setNnBankSortingCode(trim($data->getBankSortingCodeAt()))
|
67 |
+
->setNnCallbackTelNovalnetElvaustria($data->getCallbackTel())
|
68 |
+
->setNnCallbackPinNovalnetElvaustria(trim($data->getCallbackPin()))
|
69 |
+
->setNnNewCallbackPinNovalnetElvaustria($data->getNewCallbackPin())
|
70 |
+
->setNnCallbackEmailNovalnetElvaustria($data->getCallbackEmail());
|
71 |
if ($this->getModel($paymentCode)->_getConfigData('callback') != 3) {
|
72 |
$infoInstance->setCallbackPinValidationFlag(true);
|
73 |
}
|
74 |
+
$this->_getCheckout()->setElvAtAccountHolder($infoInstance->getNnAccountHolder())
|
75 |
+
->setElvAtAccountNumber($infoInstance->getNnAccountNumber())
|
76 |
+
->setElvAtBankSortingCode($infoInstance->getNnBankSortingCode())
|
77 |
+
->setNnCallbackTelNovalnetElvaustria($data->getCallbackTel())
|
78 |
+
->setNnCallbackEmailNovalnetElvaustria($data->getCallbackEmail())
|
79 |
+
->setNnPaymentCode($paymentCode);
|
80 |
break;
|
81 |
case Novalnet_Payment_Model_Config::NN_CC:
|
82 |
$infoInstance->setPanHash($this->novalnetCardDetails('novalnet_cc_pan_hash'))
|
83 |
+
->setUniqueId($this->novalnetCardDetails('novalnet_cc_unique_id'))
|
84 |
+
->setNnCallbackTelNovalnetCc($data->getCallbackTel())
|
85 |
+
->setNnCallbackPinNovalnetCc(trim($data->getCallbackPin()))
|
86 |
+
->setNnNewCallbackPinNovalnetCc($data->getNewCallbackPin())
|
87 |
+
->setNnCallbackEmailNovalnetCc($data->getCallbackEmail());
|
88 |
if ($this->getModel($paymentCode)->_getConfigData('callback') != 3) {
|
89 |
$infoInstance->setCallbackPinValidationFlag(true);
|
90 |
}
|
91 |
+
$this->_getCheckout()->setCcPanHash($infoInstance->getPanHash())
|
92 |
+
->setCcFieldValidator($this->novalnetCardDetails('novalnet_cc_field_validator'))
|
93 |
+
->setNnCallbackTelNovalnetCc($data->getCallbackTel())
|
94 |
+
->setNnCallbackEmailNovalnetCc($data->getCallbackEmail())
|
95 |
+
->setNnPaymentCode($paymentCode);
|
96 |
+
break;
|
97 |
+
case Novalnet_Payment_Model_Config::NN_SEPA:
|
98 |
+
$infoInstance->setSepaPanHash($this->novalnetCardDetails('novalnet_sepa_pan_hash'))
|
99 |
+
->setSepaUniqueId($this->novalnetCardDetails('novalnet_sepa_unique_id'))
|
100 |
+
->setSepaHolder($this->novalnetCardDetails('novalnet_sepa_owner'))
|
101 |
+
->setIbanConfirmed($this->novalnetCardDetails('novalnet_sepa_iban_confirmed'))
|
102 |
+
->setSepaType($this->getModel($paymentCode)->_getConfigData('sepatypes'))
|
103 |
+
->setSepaDuedate($this->getModel($paymentCode)->_getConfigData('sepa_due_date'));
|
104 |
+
$this->_getCheckout()->setSepaHash($infoInstance->getSepaPanHash())
|
105 |
+
->setSepaFieldValidator($this->novalnetCardDetails('novalnet_sepa_field_validator'))
|
106 |
+
->setSepaMandateRef($this->novalnetCardDetails('novalnet_sepa_mandate_ref'))
|
107 |
+
->setSepaMandateDate($this->novalnetCardDetails('novalnet_sepa_mandate_date'))
|
108 |
+
->setNnPaymentCode($paymentCode);
|
109 |
break;
|
110 |
case Novalnet_Payment_Model_Config::NN_CC3D:
|
111 |
$this->_getCheckoutSession()->setNnCcNumber(Mage::helper('core')->encrypt($data->getNnCcNumber()))
|
112 |
+
->setNnCcType(Mage::helper('core')->encrypt($data->getNnCcType()))
|
113 |
+
->setNnCcCvc(Mage::helper('core')->encrypt($data->getNnCcCid()))
|
114 |
+
->setNnCcOwner(Mage::helper('core')->encrypt($data->getNnCcOwner()))
|
115 |
+
->setNnCcExpMonth(Mage::helper('core')->encrypt($data->getNnCcExpMonth()))
|
116 |
+
->setNnCcExpYear(Mage::helper('core')->encrypt($data->getNnCcExpYear()))
|
117 |
+
->setNnPaymentCode($paymentCode);
|
118 |
break;
|
119 |
case Novalnet_Payment_Model_Config::NN_INVOICE:
|
120 |
$infoInstance->setNnCallbackTelNovalnetInvoice($data->getCallbackTel())
|
121 |
->setNnCallbackPinNovalnetInvoice(trim($data->getCallbackPin()))
|
122 |
->setNnNewCallbackPinNovalnetInvoice($data->getNewCallbackPin())
|
123 |
+
->setNnCallbackEmailNovalnetInvoice($data->getCallbackEmail());
|
124 |
if ($this->getModel($paymentCode)->_getConfigData('callback') != 3) {
|
125 |
$infoInstance->setCallbackPinValidationFlag(true);
|
126 |
}
|
143 |
$nnBankSortingCode = preg_replace('/[\-\s]+/', '', $infoInstance->getNnBankSortingCode());
|
144 |
|
145 |
if (!$this->checkIsValid($nnAccountHolder)
|
146 |
+
|| !$this->checkIsNumeric($nnAccountNumber) || !$this->checkIsNumeric($nnBankSortingCode)) {
|
|
|
|
|
147 |
Mage::throwException($this->__('Please enter valid account details') . '!');
|
148 |
}
|
149 |
|
165 |
} elseif (!$this->checkIsValid($ccOwner) || !$this->_validateExpDate($expYear, $expMonth)
|
166 |
|| !$this->checkIsNumeric($ccid)) {
|
167 |
Mage::throwException($this->__('Please enter valid credit card details') . '!');
|
168 |
+
} elseif($this->checkCallbackAmount($paymentCode) && $this->getModel($paymentCode)->_getConfigData('callback') == '1' && !$infoInstance->getNnCallbackTelNovalnetCc() && !$this->checkIsAdmin()){
|
169 |
Mage::throwException($this->__('Please enter the Telephone / Mobilenumber') . '!');
|
170 |
+
} elseif($this->checkCallbackAmount($paymentCode) && $this->getModel($paymentCode)->_getConfigData('callback') == '3' && !$this->validateEmail($infoInstance->getNnCallbackEmailNovalnetCc()) && !$this->checkIsAdmin()){
|
171 |
Mage::throwException($this->__('Please enter the E-Mail Address') . '!');
|
172 |
+
} elseif (!$ccid || !$regExp || !preg_match($regExp ,$ccid)){
|
173 |
+
Mage::throwException($this->__('Please enter valid credit card details') . '!');
|
174 |
}
|
175 |
break;
|
176 |
+
case Novalnet_Payment_Model_Config::NN_SEPA:
|
177 |
+
$sepaDueDate = $infoInstance->getSepaDuedate();
|
178 |
+
$sepaHolder = $infoInstance->getSepaHolder();
|
179 |
+
if (!$infoInstance->getIbanConfirmed()) {
|
180 |
+
Mage::throwException($this->__('Please confirm IBAN & BIC'));
|
181 |
+
} elseif (!$infoInstance->getSepaPanHash() || !$infoInstance->getSepaUniqueId()) {
|
182 |
+
Mage::throwException($this->__('Please enter valid account details'));
|
183 |
+
} elseif (!$sepaHolder || preg_match('/[#%\^<>@$=*!]/', $sepaHolder)) {
|
184 |
+
Mage::throwException($this->__('Please enter valid account details').'!');
|
185 |
+
} elseif ($infoInstance->getSepaType() == 'DD_SEPA' && $sepaDueDate && ($sepaDueDate < 7 || !is_numeric($sepaDueDate))) {
|
186 |
+
Mage::throwException($this->__('Due date is not valid').'!');
|
187 |
+
}
|
188 |
+
break;
|
189 |
case Novalnet_Payment_Model_Config::NN_CC3D:
|
190 |
$ccOwner = Mage::helper('core')->decrypt($this->_getCheckoutSession()->getNnCcOwner());
|
191 |
$expYear = Mage::helper('core')->decrypt($this->_getCheckoutSession()->getNnCcExpYear());
|
198 |
case Novalnet_Payment_Model_Config::NN_IDEAL:
|
199 |
case Novalnet_Payment_Model_Config::NN_PAYPAL:
|
200 |
case Novalnet_Payment_Model_Config::NN_SOFORT:
|
201 |
+
case Novalnet_Payment_Model_Config::NN_SAFETYPAY:
|
202 |
if (!$this->getModel($paymentCode)->_getConfigData('password', true)) {
|
203 |
+
Mage::throwException($this->__('Basic parameter not valid') . '!');
|
204 |
}
|
205 |
|
206 |
if ($paymentCode == Novalnet_Payment_Model_Config::NN_PAYPAL &&
|
207 |
(!$this->getModel($paymentCode)->_getConfigData('api_sign', true)
|
208 |
|| !$this->getModel($paymentCode)->_getConfigData('api_user', true)
|
209 |
|| !$this->getModel($paymentCode)->_getConfigData('api_password', true))) {
|
210 |
+
Mage::throwException($this->__('Basic parameter not valid') . '!');
|
211 |
}
|
212 |
|
213 |
break;
|
224 |
Novalnet_Payment_Model_Config::NN_SOFORT,
|
225 |
Novalnet_Payment_Model_Config::NN_PAYPAL,
|
226 |
Novalnet_Payment_Model_Config::NN_IDEAL,
|
227 |
+
Novalnet_Payment_Model_Config::NN_CC3D,
|
228 |
+
Novalnet_Payment_Model_Config::NN_SAFETYPAY
|
229 |
);
|
230 |
$request->setUserVariable_0(Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB))
|
231 |
->setReturnMethod(Novalnet_Payment_Model_Config::NOVALNET_RETURN_METHOD)
|
333 |
->unsCcCvc2()
|
334 |
->unsCcType();
|
335 |
break;
|
336 |
+
case Novalnet_Payment_Model_Config::NN_SEPA:
|
337 |
+
$request->unsBankAccountHolder()
|
338 |
+
->unsBankAccount()
|
339 |
+
->unsBankCode()
|
340 |
+
->unsBic()
|
341 |
+
->unsIban();
|
342 |
+
break;
|
343 |
}
|
344 |
}
|
345 |
return $request;
|
392 |
$dueDate = $this->setDueDate($paymentDuration);
|
393 |
$note = NULL;
|
394 |
$note .= "<br /><b>" . $this->__('Please transfer the invoice amount with the following information to our payment provider Novalnet AG') . "</b><br />";
|
395 |
+
$note .= ($dueDate) ? ($this->__('Due Date') . ' : <b>' . Mage::helper('core')->formatDate($dueDate) . "</b><br />") : NULL;
|
396 |
$note .= $this->__('Account Holder2') . " : <b>NOVALNET AG</b><br />";
|
397 |
+
$note .= $this->__('NnAccount number') . " : <b>" . $result->getInvoiceAccount() . "</b><br />";
|
398 |
$note .= $this->__('Bank Sorting Code') . " : <b>" . $result->getInvoiceBankcode() . "</b><br />";
|
399 |
$note .= $this->__('NN_Bank') . " : <b>" . $result->getInvoiceBankname() . " " . trim($result->getInvoiceBankplace()) . "</b><br />";
|
400 |
return $note;
|
434 |
return $note;
|
435 |
}
|
436 |
|
437 |
+
public function replaceParamsBasedOnPayment($requestData, $paymentCode, $mode='request') {
|
438 |
+
if($paymentCode == Novalnet_Payment_Model_Config::NN_SAFETYPAY) {
|
439 |
+
|
440 |
+
$replacewithParams = array('vendor'=>'vendor_id', 'auth_code'=>'vendor_authcode', 'product'=>'product_id', 'tariff'=>'tariff_id');
|
441 |
+
$replacewithParams = ($mode == 'response') ? array_flip($replacewithParams) : $replacewithParams;
|
442 |
+
foreach($replacewithParams as $key => $val) {
|
443 |
+
$requestData[$val] = $requestData[$key];
|
444 |
+
unset($requestData[$key]);
|
445 |
+
}
|
446 |
+
$requestData['implementation'] = 'PHP_PCI';
|
447 |
+
|
448 |
+
}
|
449 |
+
return $requestData;
|
450 |
+
}
|
451 |
+
|
452 |
+
/**
|
453 |
+
* Check whether callback option is enabled
|
454 |
+
*
|
455 |
+
*/
|
456 |
+
public function checkCallbackAmount($paymentCode) {
|
457 |
+
$grandTotal = $this->_getCheckoutSession()->getQuote()->getBaseGrandTotal();
|
458 |
+
$grandTotal = $this->getFormatedAmount($grandTotal);
|
459 |
+
$callBackMinimum = (int)$this->getModel($paymentCode)->_getConfigData('callback_minimum_amount');
|
460 |
+
|
461 |
+
return ($callBackMinimum ? $grandTotal >= $callBackMinimum : true);
|
462 |
+
}
|
463 |
+
|
464 |
+
/**
|
465 |
+
* Get checkout session
|
466 |
+
*
|
467 |
+
* @return Mage_Sales_Model_Order
|
468 |
+
*/
|
469 |
+
public function _getCheckout() {
|
470 |
+
if (Mage::app()->getStore()->isAdmin()) {
|
471 |
+
return $this->_getAdminCheckoutSession();
|
472 |
+
} else {
|
473 |
+
return $this->_getCheckoutSession();
|
474 |
+
}
|
475 |
+
}
|
476 |
+
|
477 |
}
|
app/code/community/Novalnet/Payment/Helper/Data.php
CHANGED
@@ -49,8 +49,8 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
49 |
);
|
50 |
|
51 |
/**
|
52 |
-
* Initiate configuration
|
53 |
-
*
|
54 |
* @param $actionName
|
55 |
* @param $request
|
56 |
* @return Varien_Object
|
@@ -74,8 +74,8 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
74 |
}
|
75 |
|
76 |
/**
|
77 |
-
* Get novalnet configure wizard details
|
78 |
-
*
|
79 |
* @return Varien_Object
|
80 |
*/
|
81 |
public function getConfig() {
|
@@ -84,7 +84,7 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
84 |
|
85 |
/**
|
86 |
* Register novalnet configurtion wizard details
|
87 |
-
*
|
88 |
* @param Varien_Object $config
|
89 |
*/
|
90 |
public function registerConfig(Varien_Object $config) {
|
@@ -93,7 +93,7 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
93 |
|
94 |
/**
|
95 |
* Get configuration page
|
96 |
-
*
|
97 |
* @return Varien_Object
|
98 |
*/
|
99 |
public function getConfigPage() {
|
@@ -103,7 +103,7 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
103 |
|
104 |
/**
|
105 |
* Register configuration page
|
106 |
-
*
|
107 |
* @param Varien_Object $config
|
108 |
*/
|
109 |
public function registerConfigPage(Varien_Object $config) {
|
@@ -112,7 +112,7 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
112 |
|
113 |
/**
|
114 |
* Initiate configuration page process
|
115 |
-
*
|
116 |
* @param $page
|
117 |
* @return array|null
|
118 |
*/
|
@@ -132,7 +132,7 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
132 |
|
133 |
/**
|
134 |
* Get configuration wizard next page
|
135 |
-
*
|
136 |
* @return string
|
137 |
*/
|
138 |
public function getNextPageUrlAsString() {
|
@@ -143,7 +143,7 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
143 |
|
144 |
/**
|
145 |
* Get configuration wizard previous page
|
146 |
-
*
|
147 |
* @return string
|
148 |
*/
|
149 |
public function getPreviousPageUrlAsString() {
|
@@ -154,7 +154,7 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
154 |
|
155 |
/**
|
156 |
* Get current page url
|
157 |
-
*
|
158 |
* @return string
|
159 |
*/
|
160 |
public function getPageUrlAsString($nextPageName) {
|
@@ -170,7 +170,7 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
170 |
|
171 |
/**
|
172 |
* Get configuration wizard page code
|
173 |
-
*
|
174 |
* @return string
|
175 |
*/
|
176 |
public function getNextPageCode($pageCode) {
|
@@ -187,7 +187,7 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
187 |
|
188 |
/**
|
189 |
* Check whether logged in as admin
|
190 |
-
*
|
191 |
* @return bool
|
192 |
*/
|
193 |
public function checkIsAdmin() {
|
@@ -205,7 +205,7 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
205 |
|
206 |
/**
|
207 |
* Get current store id
|
208 |
-
*
|
209 |
* @return int
|
210 |
*/
|
211 |
public function getMagentoStoreId() {
|
@@ -218,7 +218,7 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
218 |
|
219 |
/**
|
220 |
* Get current store details
|
221 |
-
*
|
222 |
* @return Mage_Core_Model_Store
|
223 |
*/
|
224 |
public function getMagentoStore() {
|
@@ -227,7 +227,7 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
227 |
|
228 |
/**
|
229 |
* Get current novalnet version
|
230 |
-
*
|
231 |
* @return string
|
232 |
*/
|
233 |
public function getNovalnetVersion() {
|
@@ -237,7 +237,7 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
237 |
|
238 |
/**
|
239 |
* Get customer Ip address
|
240 |
-
*
|
241 |
* @return string
|
242 |
*/
|
243 |
public function getRealIpAddr() {
|
@@ -268,8 +268,8 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
268 |
* @return string
|
269 |
*/
|
270 |
public function getNovalnetPaymentFormLogoUrl() {
|
271 |
-
$
|
272 |
-
$imageUrl = $
|
273 |
return $imageUrl;
|
274 |
}
|
275 |
|
@@ -404,7 +404,7 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
404 |
if ($loginCheck) {
|
405 |
$customerNo = $this->getCustomerSession()->getCustomerId();
|
406 |
} else {
|
407 |
-
$customerNo = '
|
408 |
}
|
409 |
}
|
410 |
return $customerNo;
|
@@ -448,7 +448,7 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
448 |
|
449 |
/**
|
450 |
* Check whether current user have access to the payment method
|
451 |
-
*
|
452 |
* @return bool
|
453 |
*/
|
454 |
public function checkCustomerAccess($userGroupId = NULL) {
|
@@ -463,7 +463,7 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
463 |
|
464 |
/**
|
465 |
* Do encode for novalnet params
|
466 |
-
*
|
467 |
*/
|
468 |
public function setNovalnetEncodedParam(Varien_Object $request, $key) {
|
469 |
$request->setAuthCode($this->getEncodedParam($request->getAuthCode(), $key))
|
@@ -697,21 +697,23 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
697 |
* @return int
|
698 |
*/
|
699 |
public function getPaymentId($code) {
|
|
|
|
|
|
|
700 |
$arrPaymentId = Novalnet_Payment_Model_Config::getInstance()->getNovalnetVariable('novalnetPaymentKey');
|
701 |
return $arrPaymentId[$code];
|
702 |
}
|
703 |
|
704 |
public function checkOrdersCount($minOrderCount) {
|
705 |
-
|
706 |
// Load orders and check
|
707 |
-
$orders = Mage::
|
708 |
-
|
709 |
-
|
710 |
-
->load();
|
711 |
-
if (count($orders) < $minOrderCount) {
|
712 |
return true;
|
713 |
}
|
714 |
return false;
|
|
|
715 |
}
|
716 |
|
717 |
/**
|
@@ -734,7 +736,7 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
734 |
|
735 |
/**
|
736 |
* set due date for invoice payment
|
737 |
-
*
|
738 |
* @return bool
|
739 |
*/
|
740 |
public function setDueDate($paymentDuration) {
|
@@ -749,7 +751,7 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
749 |
|
750 |
/**
|
751 |
* Get novalnet model class
|
752 |
-
*
|
753 |
* @return Novalnet_Payment_Model_Payment_Method_Abstract
|
754 |
*/
|
755 |
public function getModel($modelclass) {
|
@@ -758,7 +760,7 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
758 |
|
759 |
/**
|
760 |
* Get novalnet transaction status model
|
761 |
-
*
|
762 |
* @return Novalnet_Payment_Model_Transactionstatus_Collection
|
763 |
*/
|
764 |
public function getModelTransactionStatus() {
|
@@ -767,7 +769,7 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
767 |
|
768 |
/**
|
769 |
* Get novalnet transaction overview model
|
770 |
-
*
|
771 |
* @return Novalnet_Payment_Model_Transactionoverview_Collection
|
772 |
*/
|
773 |
public function getModelTransactionOverview() {
|
@@ -776,7 +778,7 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
776 |
|
777 |
/**
|
778 |
* Check the value is numeric
|
779 |
-
*
|
780 |
* @param mixed $value
|
781 |
* @return bool
|
782 |
*/
|
@@ -786,7 +788,7 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
786 |
|
787 |
/**
|
788 |
* Check the value contains special characters
|
789 |
-
*
|
790 |
* @param mixed $value
|
791 |
* @return bool
|
792 |
*/
|
@@ -796,16 +798,16 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
796 |
|
797 |
/**
|
798 |
* Check the email id is valid
|
799 |
-
*
|
800 |
* @param mixed $value
|
801 |
* @return bool
|
802 |
*/
|
803 |
public function validateEmail($emailId) {
|
804 |
-
return preg_match(
|
805 |
}
|
806 |
/**
|
807 |
* Replace strings from the value passed
|
808 |
-
*
|
809 |
* @param mixed $value
|
810 |
* @return integer
|
811 |
*/
|
@@ -815,7 +817,7 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
815 |
|
816 |
/**
|
817 |
* Get the formated amount in cents/euro
|
818 |
-
*
|
819 |
* @param float $amount
|
820 |
* @param string $type
|
821 |
* @return mixed
|
@@ -826,7 +828,7 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
826 |
|
827 |
/**
|
828 |
* Load novalnet transaction status based on tid
|
829 |
-
*
|
830 |
* @param integer $txnId
|
831 |
* @return object Novalnet_Payment_Model_Transactionstatus
|
832 |
*/
|
@@ -836,7 +838,7 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
836 |
|
837 |
/**
|
838 |
* Mask payment data
|
839 |
-
*
|
840 |
* @param integer $txnId
|
841 |
* @return varchar
|
842 |
*/
|
@@ -846,16 +848,16 @@ class Novalnet_Payment_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
846 |
|
847 |
/**
|
848 |
* Get novalnet payment configuration global path
|
849 |
-
*
|
850 |
* @return string
|
851 |
*/
|
852 |
public function getNovalnetGlobalPath() {
|
853 |
return 'novalnet_global/novalnet/';
|
854 |
}
|
855 |
-
|
856 |
/**
|
857 |
* Get current site url
|
858 |
-
*
|
859 |
* @return string
|
860 |
*/
|
861 |
|
49 |
);
|
50 |
|
51 |
/**
|
52 |
+
* Initiate configuration
|
53 |
+
*
|
54 |
* @param $actionName
|
55 |
* @param $request
|
56 |
* @return Varien_Object
|
74 |
}
|
75 |
|
76 |
/**
|
77 |
+
* Get novalnet configure wizard details
|
78 |
+
*
|
79 |
* @return Varien_Object
|
80 |
*/
|
81 |
public function getConfig() {
|
84 |
|
85 |
/**
|
86 |
* Register novalnet configurtion wizard details
|
87 |
+
*
|
88 |
* @param Varien_Object $config
|
89 |
*/
|
90 |
public function registerConfig(Varien_Object $config) {
|
93 |
|
94 |
/**
|
95 |
* Get configuration page
|
96 |
+
*
|
97 |
* @return Varien_Object
|
98 |
*/
|
99 |
public function getConfigPage() {
|
103 |
|
104 |
/**
|
105 |
* Register configuration page
|
106 |
+
*
|
107 |
* @param Varien_Object $config
|
108 |
*/
|
109 |
public function registerConfigPage(Varien_Object $config) {
|
112 |
|
113 |
/**
|
114 |
* Initiate configuration page process
|
115 |
+
*
|
116 |
* @param $page
|
117 |
* @return array|null
|
118 |
*/
|
132 |
|
133 |
/**
|
134 |
* Get configuration wizard next page
|
135 |
+
*
|
136 |
* @return string
|
137 |
*/
|
138 |
public function getNextPageUrlAsString() {
|
143 |
|
144 |
/**
|
145 |
* Get configuration wizard previous page
|
146 |
+
*
|
147 |
* @return string
|
148 |
*/
|
149 |
public function getPreviousPageUrlAsString() {
|
154 |
|
155 |
/**
|
156 |
* Get current page url
|
157 |
+
*
|
158 |
* @return string
|
159 |
*/
|
160 |
public function getPageUrlAsString($nextPageName) {
|
170 |
|
171 |
/**
|
172 |
* Get configuration wizard page code
|
173 |
+
*
|
174 |
* @return string
|
175 |
*/
|
176 |
public function getNextPageCode($pageCode) {
|
187 |
|
188 |
/**
|
189 |
* Check whether logged in as admin
|
190 |
+
*
|
191 |
* @return bool
|
192 |
*/
|
193 |
public function checkIsAdmin() {
|
205 |
|
206 |
/**
|
207 |
* Get current store id
|
208 |
+
*
|
209 |
* @return int
|
210 |
*/
|
211 |
public function getMagentoStoreId() {
|
218 |
|
219 |
/**
|
220 |
* Get current store details
|
221 |
+
*
|
222 |
* @return Mage_Core_Model_Store
|
223 |
*/
|
224 |
public function getMagentoStore() {
|
227 |
|
228 |
/**
|
229 |
* Get current novalnet version
|
230 |
+
*
|
231 |
* @return string
|
232 |
*/
|
233 |
public function getNovalnetVersion() {
|
237 |
|
238 |
/**
|
239 |
* Get customer Ip address
|
240 |
+
*
|
241 |
* @return string
|
242 |
*/
|
243 |
public function getRealIpAddr() {
|
268 |
* @return string
|
269 |
*/
|
270 |
public function getNovalnetPaymentFormLogoUrl() {
|
271 |
+
$baseUrl = Mage::getBaseUrl('skin');
|
272 |
+
$imageUrl = $baseUrl . "frontend/default/default/images/novalnet/" . strtoupper($this->getDefaultLanguage()) . "/";
|
273 |
return $imageUrl;
|
274 |
}
|
275 |
|
404 |
if ($loginCheck) {
|
405 |
$customerNo = $this->getCustomerSession()->getCustomerId();
|
406 |
} else {
|
407 |
+
$customerNo = 'guest';
|
408 |
}
|
409 |
}
|
410 |
return $customerNo;
|
448 |
|
449 |
/**
|
450 |
* Check whether current user have access to the payment method
|
451 |
+
*
|
452 |
* @return bool
|
453 |
*/
|
454 |
public function checkCustomerAccess($userGroupId = NULL) {
|
463 |
|
464 |
/**
|
465 |
* Do encode for novalnet params
|
466 |
+
*
|
467 |
*/
|
468 |
public function setNovalnetEncodedParam(Varien_Object $request, $key) {
|
469 |
$request->setAuthCode($this->getEncodedParam($request->getAuthCode(), $key))
|
697 |
* @return int
|
698 |
*/
|
699 |
public function getPaymentId($code) {
|
700 |
+
if($code == 'novalnetSepa' && $this->getModel($code)->_getConfigData('sepatypes') == 'DD_SEPA_SIGNED') {
|
701 |
+
$code = $code.'Signed';
|
702 |
+
}
|
703 |
$arrPaymentId = Novalnet_Payment_Model_Config::getInstance()->getNovalnetVariable('novalnetPaymentKey');
|
704 |
return $arrPaymentId[$code];
|
705 |
}
|
706 |
|
707 |
public function checkOrdersCount($minOrderCount) {
|
708 |
+
$customerId = $this->getCustomerId();
|
709 |
// Load orders and check
|
710 |
+
$orders = Mage::getModel('sales/order')->getCollection()->addFieldToFilter('customer_id',$customerId);
|
711 |
+
$OrdersCount = $orders->count();
|
712 |
+
if (trim($OrdersCount) < $minOrderCount) {
|
|
|
|
|
713 |
return true;
|
714 |
}
|
715 |
return false;
|
716 |
+
|
717 |
}
|
718 |
|
719 |
/**
|
736 |
|
737 |
/**
|
738 |
* set due date for invoice payment
|
739 |
+
*
|
740 |
* @return bool
|
741 |
*/
|
742 |
public function setDueDate($paymentDuration) {
|
751 |
|
752 |
/**
|
753 |
* Get novalnet model class
|
754 |
+
*
|
755 |
* @return Novalnet_Payment_Model_Payment_Method_Abstract
|
756 |
*/
|
757 |
public function getModel($modelclass) {
|
760 |
|
761 |
/**
|
762 |
* Get novalnet transaction status model
|
763 |
+
*
|
764 |
* @return Novalnet_Payment_Model_Transactionstatus_Collection
|
765 |
*/
|
766 |
public function getModelTransactionStatus() {
|
769 |
|
770 |
/**
|
771 |
* Get novalnet transaction overview model
|
772 |
+
*
|
773 |
* @return Novalnet_Payment_Model_Transactionoverview_Collection
|
774 |
*/
|
775 |
public function getModelTransactionOverview() {
|
778 |
|
779 |
/**
|
780 |
* Check the value is numeric
|
781 |
+
*
|
782 |
* @param mixed $value
|
783 |
* @return bool
|
784 |
*/
|
788 |
|
789 |
/**
|
790 |
* Check the value contains special characters
|
791 |
+
*
|
792 |
* @param mixed $value
|
793 |
* @return bool
|
794 |
*/
|
798 |
|
799 |
/**
|
800 |
* Check the email id is valid
|
801 |
+
*
|
802 |
* @param mixed $value
|
803 |
* @return bool
|
804 |
*/
|
805 |
public function validateEmail($emailId) {
|
806 |
+
return preg_match("/^([a-z0-9\+_\-]+)(\.[a-z0-9\+_\-]+)*@([a-z0-9\-]+\.)+[a-z]{2,6}$/ix", $emailId) ? true : false;
|
807 |
}
|
808 |
/**
|
809 |
* Replace strings from the value passed
|
810 |
+
*
|
811 |
* @param mixed $value
|
812 |
* @return integer
|
813 |
*/
|
817 |
|
818 |
/**
|
819 |
* Get the formated amount in cents/euro
|
820 |
+
*
|
821 |
* @param float $amount
|
822 |
* @param string $type
|
823 |
* @return mixed
|
828 |
|
829 |
/**
|
830 |
* Load novalnet transaction status based on tid
|
831 |
+
*
|
832 |
* @param integer $txnId
|
833 |
* @return object Novalnet_Payment_Model_Transactionstatus
|
834 |
*/
|
838 |
|
839 |
/**
|
840 |
* Mask payment data
|
841 |
+
*
|
842 |
* @param integer $txnId
|
843 |
* @return varchar
|
844 |
*/
|
848 |
|
849 |
/**
|
850 |
* Get novalnet payment configuration global path
|
851 |
+
*
|
852 |
* @return string
|
853 |
*/
|
854 |
public function getNovalnetGlobalPath() {
|
855 |
return 'novalnet_global/novalnet/';
|
856 |
}
|
857 |
+
|
858 |
/**
|
859 |
* Get current site url
|
860 |
+
*
|
861 |
* @return string
|
862 |
*/
|
863 |
|
app/code/community/Novalnet/Payment/Model/Callback.php
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
* Part of the Paymentmodule of Novalnet AG
|
17 |
+
* https://www.novalnet.de
|
18 |
+
* If you have found this script usefull a small
|
19 |
+
* recommendation as well as a comment on merchant form
|
20 |
+
* would be greatly appreciated.
|
21 |
+
*
|
22 |
+
* @category Novalnet
|
23 |
+
* @package Novalnet_Payment
|
24 |
+
* @copyright Novalnet AG
|
25 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
+
*/
|
27 |
+
class Novalnet_Payment_Model_Callback extends Mage_Core_Model_Abstract {
|
28 |
+
|
29 |
+
/**
|
30 |
+
*
|
31 |
+
*/
|
32 |
+
public function _construct() {
|
33 |
+
parent::_construct();
|
34 |
+
$this->_init('novalnet_payment/callback');
|
35 |
+
}
|
36 |
+
|
37 |
+
public function loadLogByOrderId($orderId) {
|
38 |
+
$this->load($orderId, 'order_id');
|
39 |
+
return $this;
|
40 |
+
}
|
41 |
+
|
42 |
+
}
|
app/code/community/Novalnet/Payment/Model/Config.php
CHANGED
@@ -30,9 +30,7 @@ class Novalnet_Payment_Model_Config {
|
|
30 |
/* NOVALNET GLOBAL PARAMS STARTS */
|
31 |
/* * ******************************************* */
|
32 |
|
33 |
-
const BANK_SORTCODE_LENGTH = 3; //MIN Bank Sortcode
|
34 |
const CALLBACK_PIN_LENGTH = 4; //PIN Length
|
35 |
-
const ACCNO_MIN_LENGTH = 5; //MIN Acc No
|
36 |
const RESPONSE_CODE_APPROVED = 100; //On Payment Success
|
37 |
const PAYMENT_VOID_STATUS = 103; //On Payment void
|
38 |
const CVV_MIN_LENGTH = 3; //MIN CVV No
|
@@ -46,6 +44,7 @@ class Novalnet_Payment_Model_Config {
|
|
46 |
const PAYPORT_URL = 'https://payport.novalnet.de/paygate.jsp';
|
47 |
const INFO_REQUEST_URL = 'https://payport.novalnet.de/nn_infoport.xml';
|
48 |
const CC_URL = 'https://payport.novalnet.de/direct_form.jsp';
|
|
|
49 |
const INVOICE_PAYMENT_METHOD = 'Invoice';
|
50 |
const PREPAYMENT_PAYMENT_METHOD = 'Prepayment';
|
51 |
const TELEPHONE_PAYMENT_METHOD = 'Telephone';
|
@@ -53,6 +52,7 @@ class Novalnet_Payment_Model_Config {
|
|
53 |
const TRANS_STATUS = 'TRANSACTION_STATUS';
|
54 |
const TRANSMIT_PIN_AGAIN = 'TRANSMIT_PIN_AGAIN';
|
55 |
const REPLY_EMAIL_STATUS = 'REPLY_EMAIL_STATUS';
|
|
|
56 |
const PIN_STATUS = 'PIN_STATUS';
|
57 |
const METHOD_DISABLE_CODE = '0529006';
|
58 |
const PAYPAL_PENDING_CODE = 90;
|
@@ -60,7 +60,7 @@ class Novalnet_Payment_Model_Config {
|
|
60 |
const POST_CALLBACK = 'callback';
|
61 |
|
62 |
static protected $instance;
|
63 |
-
protected $_novalnetPaymentKey = array('novalnetCc' => 6, 'novalnetSecure' => 6, 'novalnetElvgerman' => 2, 'novalnetElvaustria' => 8, 'novalnetInvoice' => 27, 'novalnetPrepayment' => 27, 'novalnetPhonepayment' => 18, 'novalnetPaypal' => 34, 'novalnetSofortueberweisung' => 33, 'novalnetIdeal' => 49);
|
64 |
protected $_callbackAllowedCountry = array('AT', 'DE', 'CH');
|
65 |
protected $_novalnetEncodeParams = array('auth_code', 'product', 'tariff', 'test_mode', 'uniqid', 'amount');
|
66 |
protected $_novalnetHashParams = array('auth_code', 'product', 'tariff', 'amount', 'test_mode', 'uniqid');
|
@@ -77,6 +77,17 @@ class Novalnet_Payment_Model_Config {
|
|
77 |
const NN_CC_FORM_BLOCK = 'novalnet_payment/payment_method_form_Cc';
|
78 |
const NN_CC_INFO_BLOCK = 'novalnet_payment/payment_method_info_Cc';
|
79 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
/* * ******************************************* */
|
81 |
/* NOVALNET CC3D PARAMS */
|
82 |
/* * ******************************************* */
|
@@ -168,6 +179,17 @@ class Novalnet_Payment_Model_Config {
|
|
168 |
const NN_TELEPHONE_FORM_BLOCK = 'novalnet_payment/payment_method_form_Phonepayment';
|
169 |
const NN_TELEPHONE_INFO_BLOCK = 'novalnet_payment/payment_method_info_Phonepayment';
|
170 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
171 |
/* * ****************************************** */
|
172 |
/* NOVALNET ABSTARCT FUNCTIONS */
|
173 |
/* * ****************************************** */
|
30 |
/* NOVALNET GLOBAL PARAMS STARTS */
|
31 |
/* * ******************************************* */
|
32 |
|
|
|
33 |
const CALLBACK_PIN_LENGTH = 4; //PIN Length
|
|
|
34 |
const RESPONSE_CODE_APPROVED = 100; //On Payment Success
|
35 |
const PAYMENT_VOID_STATUS = 103; //On Payment void
|
36 |
const CVV_MIN_LENGTH = 3; //MIN CVV No
|
44 |
const PAYPORT_URL = 'https://payport.novalnet.de/paygate.jsp';
|
45 |
const INFO_REQUEST_URL = 'https://payport.novalnet.de/nn_infoport.xml';
|
46 |
const CC_URL = 'https://payport.novalnet.de/direct_form.jsp';
|
47 |
+
const SEPA_URL = 'https://payport.novalnet.de/direct_form_sepa.jsp';
|
48 |
const INVOICE_PAYMENT_METHOD = 'Invoice';
|
49 |
const PREPAYMENT_PAYMENT_METHOD = 'Prepayment';
|
50 |
const TELEPHONE_PAYMENT_METHOD = 'Telephone';
|
52 |
const TRANS_STATUS = 'TRANSACTION_STATUS';
|
53 |
const TRANSMIT_PIN_AGAIN = 'TRANSMIT_PIN_AGAIN';
|
54 |
const REPLY_EMAIL_STATUS = 'REPLY_EMAIL_STATUS';
|
55 |
+
const SEPA_MANDATE_CONFIRMATION = 'MANDATE_CONFIRMATION';
|
56 |
const PIN_STATUS = 'PIN_STATUS';
|
57 |
const METHOD_DISABLE_CODE = '0529006';
|
58 |
const PAYPAL_PENDING_CODE = 90;
|
60 |
const POST_CALLBACK = 'callback';
|
61 |
|
62 |
static protected $instance;
|
63 |
+
protected $_novalnetPaymentKey = array('novalnetCc' => 6, 'novalnetSecure' => 6, 'novalnetElvgerman' => 2, 'novalnetElvaustria' => 8, 'novalnetInvoice' => 27, 'novalnetPrepayment' => 27, 'novalnetPhonepayment' => 18, 'novalnetPaypal' => 34, 'novalnetSofortueberweisung' => 33, 'novalnetIdeal' => 49, 'novalnetSafetypay' => 54 , 'novalnetSepa' => 37 ,'novalnetSepaSigned' => 55);
|
64 |
protected $_callbackAllowedCountry = array('AT', 'DE', 'CH');
|
65 |
protected $_novalnetEncodeParams = array('auth_code', 'product', 'tariff', 'test_mode', 'uniqid', 'amount');
|
66 |
protected $_novalnetHashParams = array('auth_code', 'product', 'tariff', 'amount', 'test_mode', 'uniqid');
|
77 |
const NN_CC_FORM_BLOCK = 'novalnet_payment/payment_method_form_Cc';
|
78 |
const NN_CC_INFO_BLOCK = 'novalnet_payment/payment_method_info_Cc';
|
79 |
|
80 |
+
/* * ******************************************* */
|
81 |
+
/* NOVALNET SEPA PARAMS */
|
82 |
+
/* * ******************************************* */
|
83 |
+
|
84 |
+
const NN_SEPA = 'novalnetSepa';
|
85 |
+
const NN_SEPA_CAN_CAPTURE = true;
|
86 |
+
const NN_SEPA_CAN_USE_INTERNAL = true;
|
87 |
+
const NN_SEPA_CAN_USE_MULTISHIPPING = false;
|
88 |
+
const NN_SEPA_FORM_BLOCK = 'novalnet_payment/payment_method_form_Sepa';
|
89 |
+
const NN_SEPA_INFO_BLOCK = 'novalnet_payment/payment_method_info_Sepa';
|
90 |
+
|
91 |
/* * ******************************************* */
|
92 |
/* NOVALNET CC3D PARAMS */
|
93 |
/* * ******************************************* */
|
179 |
const NN_TELEPHONE_FORM_BLOCK = 'novalnet_payment/payment_method_form_Phonepayment';
|
180 |
const NN_TELEPHONE_INFO_BLOCK = 'novalnet_payment/payment_method_info_Phonepayment';
|
181 |
|
182 |
+
/* * ****************************************** */
|
183 |
+
/* NOVALNET SAFETYPAY PARAMS */
|
184 |
+
/* * ****************************************** */
|
185 |
+
const NN_SAFETYPAY = 'novalnetSafetypay';
|
186 |
+
const NN_SAFETYPAY_CAN_CAPTURE = true;
|
187 |
+
const NN_SAFETYPAY_CAN_USE_INTERNAL = false;
|
188 |
+
const NN_SAFETYPAY_CAN_REFUND = false;
|
189 |
+
const NN_SAFETYPAY_CAN_USE_MULTISHIPPING = false;
|
190 |
+
const NN_SAFETYPAY_FORM_BLOCK = 'novalnet_payment/payment_method_form_Safetypay';
|
191 |
+
const NN_SAFETYPAY_INFO_BLOCK = 'novalnet_payment/payment_method_info_Safetypay';
|
192 |
+
|
193 |
/* * ****************************************** */
|
194 |
/* NOVALNET ABSTARCT FUNCTIONS */
|
195 |
/* * ****************************************** */
|
app/code/community/Novalnet/Payment/Model/Novalnet/Source/Sepatype.php
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Novalnet
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
class Novalnet_Payment_Model_Novalnet_Source_Sepatype
|
27 |
+
{
|
28 |
+
/**
|
29 |
+
* Return DD SEPA types for current method
|
30 |
+
*
|
31 |
+
* @return array
|
32 |
+
*/
|
33 |
+
public function toOptionArray()
|
34 |
+
{
|
35 |
+
return array( 'DD_SEPA' => Mage::helper('novalnet_payment')->__('SEPA'),
|
36 |
+
'DD_SEPA_SIGNED' => Mage::helper('novalnet_payment')->__('SEPA SIGNED'),
|
37 |
+
);
|
38 |
+
}
|
39 |
+
}
|
app/code/community/Novalnet/Payment/Model/Payment/Method/Abstract.php
CHANGED
@@ -31,6 +31,7 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
31 |
protected $_canCapture = false;
|
32 |
protected $_canCapturePartial = false;
|
33 |
protected $_canRefund = true;
|
|
|
34 |
protected $_canVoid = true;
|
35 |
protected $_canUseInternal = true;
|
36 |
protected $_canUseCheckout = true;
|
@@ -50,7 +51,7 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
50 |
/**
|
51 |
* Load Basic Params in constructor
|
52 |
*
|
53 |
-
* @return
|
54 |
*/
|
55 |
public function __construct() {
|
56 |
//Novalnet Basic parameters
|
@@ -59,6 +60,7 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
59 |
$this->_authcode = $this->_getConfigData('auth_code', true);
|
60 |
$this->_productId = $this->_getConfigData('product_id', true);
|
61 |
$this->_tariffId = $this->_getConfigData('tariff_id', true);
|
|
|
62 |
}
|
63 |
|
64 |
/**
|
@@ -90,6 +92,10 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
90 |
*/
|
91 |
public function assignData($data) {
|
92 |
$infoInstance = $this->_getInfoInstance();
|
|
|
|
|
|
|
|
|
93 |
$this->_dataHelper->assignNovalnetData($this->_code, $data, $infoInstance);
|
94 |
return $this;
|
95 |
}
|
@@ -133,7 +139,8 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
133 |
Novalnet_Payment_Model_Config::NN_IDEAL,
|
134 |
Novalnet_Payment_Model_Config::NN_PAYPAL,
|
135 |
Novalnet_Payment_Model_Config::NN_SOFORT,
|
136 |
-
Novalnet_Payment_Model_Config::NN_CC3D
|
|
|
137 |
);
|
138 |
if ($this->canAuthorize() && $this->_code && !in_array($this->_code, $redirectPayment)) {
|
139 |
switch ($this->_code) {
|
@@ -183,7 +190,8 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
183 |
Novalnet_Payment_Model_Config::NN_IDEAL,
|
184 |
Novalnet_Payment_Model_Config::NN_PAYPAL,
|
185 |
Novalnet_Payment_Model_Config::NN_SOFORT,
|
186 |
-
Novalnet_Payment_Model_Config::
|
|
|
187 |
);
|
188 |
|
189 |
$getTid = $payment->getTransactionId();
|
@@ -195,8 +203,7 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
195 |
$customerId = $payment->getOrder()->getCustomerId();
|
196 |
$amount = $this->_helper->getFormatedAmount($payment->getOrder()->getBaseGrandTotal());
|
197 |
$lastTranId = $this->_helper->makeValidNumber($payment->getLastTransId());
|
198 |
-
|
199 |
-
$this->_assignNnAuthData($request, $storeId);
|
200 |
$request->setTid($lastTranId)
|
201 |
->setStatus($responseCodeApproved)
|
202 |
->setEditStatus(true);
|
@@ -210,6 +217,14 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
210 |
if ($response->getStatus() == $responseCodeApproved) {
|
211 |
$loadTransStatus->setTransactionStatus($responseCodeApproved)
|
212 |
->save();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
213 |
} else {
|
214 |
$this->showException('Error in you capture request');
|
215 |
}
|
@@ -230,19 +245,21 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
230 |
$helper = $this->_helper;
|
231 |
$callbackTelNo = "getNnCallbackTel" . $payCode;
|
232 |
$callbackEmail = "getNnCallbackEmail" . $payCode;
|
|
|
|
|
233 |
|
234 |
if ($type == Novalnet_Payment_Model_Config::POST_NORMAL
|
235 |
|| $type == Novalnet_Payment_Model_Config::POST_CALLBACK) {
|
236 |
$request = new Varien_Object();
|
237 |
$amount = $helper->getFormatedAmount($this->_getAmount());
|
238 |
$billing = $this->_getInfoObject()->getBillingAddress();
|
239 |
-
$this->
|
240 |
$request->setTestMode((!$this->_getConfigData('live_mode')) ? 1 : 0)
|
241 |
->setAmount($amount)
|
242 |
->setCurrency($this->_getInfoObject()->getBaseCurrencyCode())
|
243 |
->setCustomerNo($helper->getCustomerId())
|
244 |
->setUseUtf8(1)
|
245 |
-
->
|
246 |
->setLastName($billing->getLastname())
|
247 |
->setSearchInStreet(1)
|
248 |
->setStreet(implode(',', $billing->getStreet()))
|
@@ -257,12 +274,25 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
257 |
->setGender('u')
|
258 |
->setEmail($this->_getInfoObject()->getCustomerEmail())
|
259 |
->setOrderNo($this->_getOrderId())
|
260 |
-
->
|
261 |
-
|
262 |
-
->
|
263 |
-
->
|
264 |
-
->
|
265 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
266 |
$this->_setNovalnetParam($request, $this->_code);
|
267 |
}
|
268 |
|
@@ -279,6 +309,7 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
279 |
$request->setReplyEmailCheck(true);
|
280 |
}
|
281 |
}
|
|
|
282 |
return $request;
|
283 |
}
|
284 |
|
@@ -310,7 +341,7 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
310 |
* @param Varien_Object $request
|
311 |
* @param Decimal $amount
|
312 |
*/
|
313 |
-
|
314 |
//Reassign the Basic Params Based on store
|
315 |
$this->_vendorId = $this->_getConfigData('merchant_id', true, $storeId);
|
316 |
$this->_authcode = $this->_getConfigData('auth_code', true, $storeId);
|
@@ -323,6 +354,31 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
323 |
->setKey($this->_helper->getPaymentId($this->_code));
|
324 |
}
|
325 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
326 |
/**
|
327 |
* Refund amount
|
328 |
*
|
@@ -330,11 +386,8 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
330 |
* @param float $amount
|
331 |
* @return Mage_Payment_Model_Abstract
|
332 |
*/
|
333 |
-
|
334 |
-
$orderAmount = $this->_getAmount();
|
335 |
-
if($orderAmount !=$amount) {
|
336 |
-
$this->showException('Partial amount is not allowed in online refund. Login to Novalnet admin portal to make partial refund');
|
337 |
-
}
|
338 |
if (!$this->canRefund()) {
|
339 |
$this->showException('Refund action is not available.');
|
340 |
}
|
@@ -344,8 +397,11 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
344 |
$storeId = $payment->getOrder()->getStoreId();
|
345 |
$customerId = $payment->getOrder()->getCustomerId();
|
346 |
$refundAmount = $this->_helper->getFormatedAmount($amount);
|
347 |
-
$getTid = $this->_helper->makeValidNumber($payment->
|
348 |
-
$this->
|
|
|
|
|
|
|
349 |
$request->setTid($getTid)
|
350 |
->setRefundRequest(true)
|
351 |
->setRefundParam($refundAmount);
|
@@ -354,8 +410,9 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
354 |
|
355 |
$buildNovalnetParam = http_build_query($request->getData());
|
356 |
$response = $this->_dataHelper->setRawCallRequest($buildNovalnetParam, Novalnet_Payment_Model_Config::PAYPORT_URL);
|
357 |
-
|
358 |
-
|
|
|
359 |
$loadTransaction = $this->_helper->loadTransactionStatus($getTid);
|
360 |
$loadTransaction->setTransactionStatus($getTransactionStatus->getStatus())
|
361 |
->setAmount($this->_helper->getFormatedAmount($getTransactionStatus->getAmount(), 'RAW'))
|
@@ -364,7 +421,7 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
364 |
$txnid = $response->getTid();
|
365 |
$refund_tid = !empty($txnid) ? $txnid : $payment->getLastTransId() . '-refund';
|
366 |
if (in_array($this->_code, array(Novalnet_Payment_Model_Config::NN_INVOICE, Novalnet_Payment_Model_Config::NN_PREPAYMENT))) {
|
367 |
-
$amountAfterRefund = ($this->_getAmount() -
|
368 |
$loadTransaction->setAmount($amountAfterRefund)
|
369 |
->save();
|
370 |
}
|
@@ -373,16 +430,14 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
373 |
->save();
|
374 |
|
375 |
if ($txnid) { // Only log the novalnet transaction which contains TID
|
376 |
-
$getTransactionStatus = $this->doNovalnetStatusCall($txnid, $storeId);
|
377 |
-
|
378 |
-
|
379 |
$this->logNovalnetStatusData($response, $refund_tid, $customerId, $storeId, $amountAfterRefund);
|
380 |
}
|
381 |
} else {
|
382 |
$this->showException($response->getStatusDesc(), false);
|
383 |
-
}
|
384 |
-
|
385 |
-
$this->logNovalnetTransactionData($request, $response, $payment->getLastTransId(), $customerId, $storeId);
|
386 |
} else {
|
387 |
$this->showException('Error in you refund request');
|
388 |
}
|
@@ -407,7 +462,7 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
407 |
$storeId = $payment->getOrder()->getStoreId();
|
408 |
$customerId = $payment->getOrder()->getCustomerId();
|
409 |
$getTid = $this->_helper->makeValidNumber($payment->getLastTransId());
|
410 |
-
$this->
|
411 |
$request->setTid($getTid)
|
412 |
->setStatus(Novalnet_Payment_Model_Config::PAYMENT_VOID_STATUS)
|
413 |
->setEditStatus(true);
|
@@ -416,6 +471,7 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
416 |
|
417 |
$buildNovalnetParam = http_build_query($request->getData());
|
418 |
$response = $this->_dataHelper->setRawCallRequest($buildNovalnetParam, Novalnet_Payment_Model_Config::PAYPORT_URL);
|
|
|
419 |
if ($response->getStatus() == Novalnet_Payment_Model_Config::RESPONSE_CODE_APPROVED) {
|
420 |
|
421 |
$txnid = $response->getTid();
|
@@ -424,7 +480,7 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
424 |
if (in_array($this->_code, array(Novalnet_Payment_Model_Config::NN_INVOICE, Novalnet_Payment_Model_Config::NN_PREPAYMENT))) {
|
425 |
$bank_void_tid = !empty($txnid) ? $txnid : $payment->getLastTransId();
|
426 |
$data = unserialize($payment->getAdditionalData());
|
427 |
-
|
428 |
$data['NnNoteTID'] = $this->_dataHelper->getBankDetailsTID($bank_void_tid);
|
429 |
$payment->setAdditionalData(serialize($data));
|
430 |
}
|
@@ -432,8 +488,7 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
432 |
$payment->setTransactionId($void_tid)
|
433 |
->setLastTransId($void_tid)
|
434 |
->save();
|
435 |
-
|
436 |
-
$getTransactionStatus = $this->doNovalnetStatusCall($getTid, $storeId);
|
437 |
$loadTransaction = $this->_helper->loadTransactionStatus($getTid);
|
438 |
$loadTransaction->setTransactionStatus($getTransactionStatus->getStatus())
|
439 |
->setAmount($getTransactionStatus->getAmount()) // void amount is zero so set without formating
|
@@ -441,13 +496,11 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
441 |
} else {
|
442 |
$this->showException('Error in you void request');
|
443 |
}
|
444 |
-
$this->logNovalnetTransactionData($request, $response, $payment->getLastTransId(), $customerId, $storeId);
|
445 |
} else {
|
446 |
$this->showException('Error in you void request');
|
447 |
}
|
448 |
return $this;
|
449 |
}
|
450 |
-
|
451 |
/**
|
452 |
* Get Method Session
|
453 |
*
|
@@ -519,7 +572,6 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
519 |
if ($request['key'] == 27) {
|
520 |
$request['invoice_ref'] = 'BNR-' . $request['product'] . '-' . $request['order_no'];
|
521 |
}
|
522 |
-
|
523 |
$result = new Varien_Object();
|
524 |
$response = $this->_setNovalnetRequestCall($request, Novalnet_Payment_Model_Config::PAYPORT_URL);
|
525 |
$result = $response->getRawBody();
|
@@ -536,7 +588,7 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
536 |
*
|
537 |
* @return mixed
|
538 |
*/
|
539 |
-
|
540 |
if ($request_url == "") {
|
541 |
$this->showException('Server Request URL is Empty');
|
542 |
return;
|
@@ -609,6 +661,7 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
609 |
case Novalnet_Payment_Model_Config::NN_SOFORT:
|
610 |
case Novalnet_Payment_Model_Config::NN_PAYPAL:
|
611 |
case Novalnet_Payment_Model_Config::NN_IDEAL:
|
|
|
612 |
$this->_password = $this->_getConfigData('password', true);
|
613 |
$request->setUniqid(uniqid())
|
614 |
->setCountryCode($request->getCountry())
|
@@ -633,6 +686,33 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
633 |
->setPanHash($dataHelper->novalnetCardDetails('novalnet_cc_pan_hash'))
|
634 |
->setUniqueId($dataHelper->novalnetCardDetails('novalnet_cc_unique_id'));
|
635 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
636 |
case Novalnet_Payment_Model_Config::NN_CC3D:
|
637 |
$payment = $infoInstance->getOrder()->getPayment();
|
638 |
$request->setCountryCode($request->getCountry())
|
@@ -666,12 +746,24 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
666 |
//set Novalnet Mode
|
667 |
$ResponseTestMode = $result->getTestMode();
|
668 |
$txnId = $result->getTid();
|
|
|
669 |
$shopMode = $this->_getConfigData('live_mode');
|
670 |
-
$testMode = (((isset($ResponseTestMode) && $ResponseTestMode == 1) || (isset($shopMode) && $shopMode == 0)) ? 1 : 0 );
|
671 |
-
$data = array('NnTestOrder' => $testMode);
|
672 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
673 |
if (in_array($this->_code, array(Novalnet_Payment_Model_Config::NN_INVOICE, Novalnet_Payment_Model_Config::NN_PREPAYMENT))) {
|
674 |
-
|
675 |
$data['NnNote'] = $this->_dataHelper->getNote($response, $this->_getConfigData('payment_duration'));
|
676 |
$data['NnNoteAmount'] = $this->_dataHelper->getBankDetailsAmount($response->getAmount());
|
677 |
$data['NnNoteTID'] = $this->_dataHelper->getBankDetailsTID($txnId);
|
@@ -687,14 +779,22 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
687 |
->setAdditionalData(serialize($data))
|
688 |
->save();
|
689 |
|
|
|
|
|
|
|
690 |
// Capture the payment only if status is 100
|
691 |
-
if ($getTransactionStatus->getStatus() == Novalnet_Payment_Model_Config::RESPONSE_CODE_APPROVED
|
692 |
-
|
693 |
-
|
694 |
-
->
|
695 |
-
|
696 |
-
|
697 |
-
|
|
|
|
|
|
|
|
|
|
|
698 |
$payment->setTransactionId($txnId)
|
699 |
->setLastTransId($txnId)
|
700 |
->setParentTransactionId(null)
|
@@ -719,6 +819,58 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
719 |
}
|
720 |
}
|
721 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
722 |
/**
|
723 |
* Make telephone payment first call and display the messages
|
724 |
*
|
@@ -791,6 +943,7 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
791 |
$data = array('NnTestOrder' => $testMode);
|
792 |
|
793 |
$payment->setStatus(self::STATUS_APPROVED)
|
|
|
794 |
->setLastTransId($result->getTid())
|
795 |
->setAdditionalData(serialize($data))
|
796 |
->save();
|
@@ -821,15 +974,20 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
821 |
*
|
822 |
* @return mixed
|
823 |
*/
|
824 |
-
public function doNovalnetStatusCall($tid, $storeId = NULL, $reqType = Novalnet_Payment_Model_Config::TRANS_STATUS, $extraOption = NULL, $requestData=NULL) {
|
825 |
$requestType = ($reqType == Novalnet_Payment_Model_Config::TRANS_STATUS) ? Novalnet_Payment_Model_Config::TRANS_STATUS : $reqType;
|
826 |
$this->_manualCheckValidate($storeId);
|
|
|
|
|
|
|
|
|
|
|
827 |
$request = '<?xml version="1.0" encoding="UTF-8"?>';
|
828 |
$request .= '<nnxml><info_request>';
|
829 |
-
$request .= '<vendor_id>' . $
|
830 |
-
$request .= '<vendor_authcode>' . $
|
831 |
$request .= '<request_type>' . $requestType . '</request_type>';
|
832 |
-
|
833 |
$request .= '<tid>' . $tid . '</tid>' . $extraOption;
|
834 |
$request .= '</info_request></nnxml>';
|
835 |
|
@@ -893,18 +1051,49 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
893 |
$amount = ($this->_helper->checkIsAdmin()) ? $this->_helper->_getAdminCheckoutSession()->getQuote()->getBaseGrandTotal() : $this->_helper->_getCheckoutSession()->getQuote()->getBaseGrandTotal();
|
894 |
$storeId = $this->_helper->getMagentoStoreId();
|
895 |
$this->_manualCheckValidate($storeId, $amount);
|
|
|
|
|
|
|
|
|
|
|
896 |
//Required Parameters to be passed to the Server
|
897 |
$request = array();
|
898 |
-
|
899 |
-
|
900 |
-
|
901 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
902 |
|
903 |
if ($this->_vendorId && $this->_productId) {
|
904 |
-
$result = $this->_setNovalnetRequestCall($request,
|
905 |
$result = $result->getRawBody();
|
906 |
} else {
|
907 |
-
$result = $this->_helper->__('Basic
|
908 |
}
|
909 |
return $result;
|
910 |
}
|
@@ -916,10 +1105,19 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
916 |
*/
|
917 |
public function validateNovalnetParams() {
|
918 |
$billing = $this->_getInfoObject()->getBillingAddress();
|
|
|
|
|
|
|
919 |
if (!$this->_validateBasicParams()) {
|
920 |
$this->showException($this->_helper->__('Basic parameter not valid') . '!', false);
|
921 |
return false;
|
922 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
923 |
$this->showException($this->_helper->__('Manual limit amount / Product-ID2 / Tariff-ID2 is not valid') . '!', false);
|
924 |
return false;
|
925 |
} elseif (!$this->_helper->validateEmail($this->_getInfoObject()->getCustomerEmail()) || !$billing->getFirstname() || !$billing->getLastname()) {
|
@@ -928,7 +1126,7 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
928 |
}
|
929 |
return true;
|
930 |
}
|
931 |
-
|
932 |
/**
|
933 |
* validate manual checklimit and reassign product id and tariff id
|
934 |
*
|
@@ -1038,7 +1236,7 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
1038 |
if ($methodSession->$callbackTid()) {
|
1039 |
if ($methodSession->$getNnDisableTime() && time() > $methodSession->$getNnDisableTime()) {
|
1040 |
$this->_unsetMethodSession();
|
1041 |
-
} elseif (
|
1042 |
$this->_unsetMethodSession();
|
1043 |
if (!$this->_isPlaceOrder() && $this->_getConfigData('callback') != 3) {
|
1044 |
$this->showException('You have changed the order amount after getting PIN number, please try again with a new call');
|
@@ -1196,21 +1394,23 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
1196 |
->setShopUrl($shopUrl)
|
1197 |
->setCreatedDate($this->_helper->getCurrentDateTime()) //created date
|
1198 |
->save();
|
1199 |
-
|
1200 |
}
|
1201 |
-
|
1202 |
/**
|
1203 |
-
* validate basic params to load Cc Iframe
|
1204 |
*
|
1205 |
* @return bool
|
1206 |
*/
|
1207 |
|
1208 |
-
public function
|
|
|
1209 |
if (!$this->_validateBasicParams()) {
|
1210 |
return false;
|
1211 |
-
} elseif ($this->_getConfigData('manual_checking_amount') && (!$this->_helper->checkIsNumeric($this->_getConfigData('manual_checking_amount')) || !$this->_helper->checkIsNumeric($this->_getConfigData('second_product_id')) || !$this->_helper->checkIsNumeric($this->_getConfigData('second_tariff_id')))) {
|
1212 |
return false;
|
1213 |
}
|
|
|
1214 |
return true;
|
1215 |
}
|
1216 |
|
@@ -1219,7 +1419,7 @@ class Novalnet_Payment_Model_Payment_Method_Abstract extends Mage_Payment_Model_
|
|
1219 |
*
|
1220 |
* @return Mage_Payment_Model_Method_Abstract
|
1221 |
*/
|
1222 |
-
|
1223 |
private function _getInfoInstance() {
|
1224 |
if (!isset($this->infoInstance)) {
|
1225 |
$this->infoInstance = $this->getInfoInstance();
|
31 |
protected $_canCapture = false;
|
32 |
protected $_canCapturePartial = false;
|
33 |
protected $_canRefund = true;
|
34 |
+
protected $_canRefundInvoicePartial = true;
|
35 |
protected $_canVoid = true;
|
36 |
protected $_canUseInternal = true;
|
37 |
protected $_canUseCheckout = true;
|
51 |
/**
|
52 |
* Load Basic Params in constructor
|
53 |
*
|
54 |
+
* @return
|
55 |
*/
|
56 |
public function __construct() {
|
57 |
//Novalnet Basic parameters
|
60 |
$this->_authcode = $this->_getConfigData('auth_code', true);
|
61 |
$this->_productId = $this->_getConfigData('product_id', true);
|
62 |
$this->_tariffId = $this->_getConfigData('tariff_id', true);
|
63 |
+
$this->_referrerId = $this->_getConfigData('referrer_id', true);
|
64 |
}
|
65 |
|
66 |
/**
|
92 |
*/
|
93 |
public function assignData($data) {
|
94 |
$infoInstance = $this->_getInfoInstance();
|
95 |
+
// unset form method session
|
96 |
+
if ($this->_code != $this->_getCheckout()->getNnPaymentCode()) {
|
97 |
+
$this->unsetFormMethodSession();
|
98 |
+
}
|
99 |
$this->_dataHelper->assignNovalnetData($this->_code, $data, $infoInstance);
|
100 |
return $this;
|
101 |
}
|
139 |
Novalnet_Payment_Model_Config::NN_IDEAL,
|
140 |
Novalnet_Payment_Model_Config::NN_PAYPAL,
|
141 |
Novalnet_Payment_Model_Config::NN_SOFORT,
|
142 |
+
Novalnet_Payment_Model_Config::NN_CC3D,
|
143 |
+
Novalnet_Payment_Model_Config::NN_SAFETYPAY
|
144 |
);
|
145 |
if ($this->canAuthorize() && $this->_code && !in_array($this->_code, $redirectPayment)) {
|
146 |
switch ($this->_code) {
|
190 |
Novalnet_Payment_Model_Config::NN_IDEAL,
|
191 |
Novalnet_Payment_Model_Config::NN_PAYPAL,
|
192 |
Novalnet_Payment_Model_Config::NN_SOFORT,
|
193 |
+
Novalnet_Payment_Model_Config::NN_SAFETYPAY,
|
194 |
+
Novalnet_Payment_Model_Config::NN_TELEPHONE
|
195 |
);
|
196 |
|
197 |
$getTid = $payment->getTransactionId();
|
203 |
$customerId = $payment->getOrder()->getCustomerId();
|
204 |
$amount = $this->_helper->getFormatedAmount($payment->getOrder()->getBaseGrandTotal());
|
205 |
$lastTranId = $this->_helper->makeValidNumber($payment->getLastTransId());
|
206 |
+
$this->assignOrderBasicParams($request, $payment, $storeId);
|
|
|
207 |
$request->setTid($lastTranId)
|
208 |
->setStatus($responseCodeApproved)
|
209 |
->setEditStatus(true);
|
217 |
if ($response->getStatus() == $responseCodeApproved) {
|
218 |
$loadTransStatus->setTransactionStatus($responseCodeApproved)
|
219 |
->save();
|
220 |
+
|
221 |
+
$magentoVersion = $this->_getHelper()->getMagentoVersion();
|
222 |
+
// make capture transaction open for lower versions to make refund
|
223 |
+
if (version_compare($magentoVersion, '1.6', '<')) {
|
224 |
+
$payment->setIsTransactionClosed(false)
|
225 |
+
->save();
|
226 |
+
}
|
227 |
+
|
228 |
} else {
|
229 |
$this->showException('Error in you capture request');
|
230 |
}
|
245 |
$helper = $this->_helper;
|
246 |
$callbackTelNo = "getNnCallbackTel" . $payCode;
|
247 |
$callbackEmail = "getNnCallbackEmail" . $payCode;
|
248 |
+
$refernce1 = strip_tags($this->_getConfigData('reference_one'));
|
249 |
+
$refernce2 = strip_tags($this->_getConfigData('reference_two'));
|
250 |
|
251 |
if ($type == Novalnet_Payment_Model_Config::POST_NORMAL
|
252 |
|| $type == Novalnet_Payment_Model_Config::POST_CALLBACK) {
|
253 |
$request = new Varien_Object();
|
254 |
$amount = $helper->getFormatedAmount($this->_getAmount());
|
255 |
$billing = $this->_getInfoObject()->getBillingAddress();
|
256 |
+
$this->assignNnAuthData($request, $storeId);
|
257 |
$request->setTestMode((!$this->_getConfigData('live_mode')) ? 1 : 0)
|
258 |
->setAmount($amount)
|
259 |
->setCurrency($this->_getInfoObject()->getBaseCurrencyCode())
|
260 |
->setCustomerNo($helper->getCustomerId())
|
261 |
->setUseUtf8(1)
|
262 |
+
->setFirstName($billing->getFirstname())
|
263 |
->setLastName($billing->getLastname())
|
264 |
->setSearchInStreet(1)
|
265 |
->setStreet(implode(',', $billing->getStreet()))
|
274 |
->setGender('u')
|
275 |
->setEmail($this->_getInfoObject()->getCustomerEmail())
|
276 |
->setOrderNo($this->_getOrderId())
|
277 |
+
->setSystemUrl(Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB))
|
278 |
+
->setSystemIp($_SERVER['SERVER_ADDR'])
|
279 |
+
->setSystemName('Magento')
|
280 |
+
->setSystemVersion($helper->getMagentoVersion().'-'.$helper->getNovalnetVersion())
|
281 |
+
->setInput1('order_id')
|
282 |
+
->setInputval1($this->_getOrderId());
|
283 |
+
|
284 |
+
if ($this->_referrerId && $helper->checkIsNumeric($this->_referrerId)) {
|
285 |
+
$request->setReferrerId($this->_referrerId);
|
286 |
+
}
|
287 |
+
if ($refernce1) {
|
288 |
+
$request->setInput2('reference1')
|
289 |
+
->setInputval2($refernce1);
|
290 |
+
}
|
291 |
+
if ($refernce2) {
|
292 |
+
$request->setInput3('reference2')
|
293 |
+
->setInputval3($refernce2);
|
294 |
+
}
|
295 |
+
|
296 |
$this->_setNovalnetParam($request, $this->_code);
|
297 |
}
|
298 |
|
309 |
$request->setReplyEmailCheck(true);
|
310 |
}
|
311 |
}
|
312 |
+
|
313 |
return $request;
|
314 |
}
|
315 |
|
341 |
* @param Varien_Object $request
|
342 |
* @param Decimal $amount
|
343 |
*/
|
344 |
+
public function assignNnAuthData(Varien_Object $request, $storeId = NULL) {
|
345 |
//Reassign the Basic Params Based on store
|
346 |
$this->_vendorId = $this->_getConfigData('merchant_id', true, $storeId);
|
347 |
$this->_authcode = $this->_getConfigData('auth_code', true, $storeId);
|
354 |
->setKey($this->_helper->getPaymentId($this->_code));
|
355 |
}
|
356 |
|
357 |
+
/**
|
358 |
+
* Get the Order basic configuration for refund, void, and capture
|
359 |
+
*
|
360 |
+
* @param string $request
|
361 |
+
* @param string $payment
|
362 |
+
*/
|
363 |
+
public function assignOrderBasicParams(Varien_Object $request, $payment, $storeId = NULL)
|
364 |
+
{
|
365 |
+
//Reassign the Basic Params Based on store
|
366 |
+
$this->_vendorId = $this->_getConfigData('merchant_id', true, $storeId);
|
367 |
+
$this->_authcode = $this->_getConfigData('auth_code', true, $storeId);
|
368 |
+
|
369 |
+
$getresponseData = unserialize($payment->getAdditionalData());
|
370 |
+
$vendorId = ($getresponseData['vendor']) ? $getresponseData['vendor'] : $this->_vendorId;
|
371 |
+
$authCode = ($getresponseData['auth_code']) ? $getresponseData['auth_code'] : $this->_authcode;
|
372 |
+
$productId = ($getresponseData['product']) ? $getresponseData['product'] : $this->_productId;
|
373 |
+
$tariffId = ($getresponseData['tariff']) ? $getresponseData['tariff'] : $this->_tariffId;
|
374 |
+
$key = ($getresponseData['key']) ? $getresponseData['key'] : $this->_helper->getPaymentId($this->_code);
|
375 |
+
|
376 |
+
$request->setVendor($vendorId)
|
377 |
+
->setAuthCode($authCode)
|
378 |
+
->setProduct($productId)
|
379 |
+
->setTariff($tariffId)
|
380 |
+
->setKey($key); }
|
381 |
+
|
382 |
/**
|
383 |
* Refund amount
|
384 |
*
|
386 |
* @param float $amount
|
387 |
* @return Mage_Payment_Model_Abstract
|
388 |
*/
|
389 |
+
public function refund(Varien_Object $payment, $amount) {
|
390 |
+
$orderAmount = $this->_getAmount();
|
|
|
|
|
|
|
391 |
if (!$this->canRefund()) {
|
392 |
$this->showException('Refund action is not available.');
|
393 |
}
|
397 |
$storeId = $payment->getOrder()->getStoreId();
|
398 |
$customerId = $payment->getOrder()->getCustomerId();
|
399 |
$refundAmount = $this->_helper->getFormatedAmount($amount);
|
400 |
+
$getTid = $this->_helper->makeValidNumber($payment->getRefundTransactionId());
|
401 |
+
$this->assignOrderBasicParams($request, $payment, $storeId);
|
402 |
+
if (in_array($this->_code, array(Novalnet_Payment_Model_Config::NN_ELVAT, Novalnet_Payment_Model_Config::NN_ELVDE))) {
|
403 |
+
$getTid = $this->_helper->makeValidNumber($payment->getLastTransId());
|
404 |
+
}
|
405 |
$request->setTid($getTid)
|
406 |
->setRefundRequest(true)
|
407 |
->setRefundParam($refundAmount);
|
410 |
|
411 |
$buildNovalnetParam = http_build_query($request->getData());
|
412 |
$response = $this->_dataHelper->setRawCallRequest($buildNovalnetParam, Novalnet_Payment_Model_Config::PAYPORT_URL);
|
413 |
+
$this->logNovalnetTransactionData($request, $response, $payment->getLastTransId(), $customerId, $storeId);
|
414 |
+
if ($response->getStatus() == Novalnet_Payment_Model_Config::RESPONSE_CODE_APPROVED) {
|
415 |
+
$getTransactionStatus = $this->doNovalnetStatusCall($getTid, $storeId, Novalnet_Payment_Model_Config::TRANS_STATUS, NULL, NULL, $request);
|
416 |
$loadTransaction = $this->_helper->loadTransactionStatus($getTid);
|
417 |
$loadTransaction->setTransactionStatus($getTransactionStatus->getStatus())
|
418 |
->setAmount($this->_helper->getFormatedAmount($getTransactionStatus->getAmount(), 'RAW'))
|
421 |
$txnid = $response->getTid();
|
422 |
$refund_tid = !empty($txnid) ? $txnid : $payment->getLastTransId() . '-refund';
|
423 |
if (in_array($this->_code, array(Novalnet_Payment_Model_Config::NN_INVOICE, Novalnet_Payment_Model_Config::NN_PREPAYMENT))) {
|
424 |
+
$amountAfterRefund = ($this->_getAmount() - $payment->getOrder()->getBaseTotalRefunded());
|
425 |
$loadTransaction->setAmount($amountAfterRefund)
|
426 |
->save();
|
427 |
}
|
430 |
->save();
|
431 |
|
432 |
if ($txnid) { // Only log the novalnet transaction which contains TID
|
433 |
+
$getTransactionStatus = $this->doNovalnetStatusCall($txnid, $storeId, Novalnet_Payment_Model_Config::TRANS_STATUS, NULL, NULL, $request);
|
434 |
+
$response->setStatus($getTransactionStatus->getStatus());
|
435 |
+
$amountAfterRefund = $this->_helper->getFormatedAmount($getTransactionStatus->getAmount(), 'RAW');
|
436 |
$this->logNovalnetStatusData($response, $refund_tid, $customerId, $storeId, $amountAfterRefund);
|
437 |
}
|
438 |
} else {
|
439 |
$this->showException($response->getStatusDesc(), false);
|
440 |
+
}
|
|
|
|
|
441 |
} else {
|
442 |
$this->showException('Error in you refund request');
|
443 |
}
|
462 |
$storeId = $payment->getOrder()->getStoreId();
|
463 |
$customerId = $payment->getOrder()->getCustomerId();
|
464 |
$getTid = $this->_helper->makeValidNumber($payment->getLastTransId());
|
465 |
+
$this->assignOrderBasicParams($request, $payment, $storeId);
|
466 |
$request->setTid($getTid)
|
467 |
->setStatus(Novalnet_Payment_Model_Config::PAYMENT_VOID_STATUS)
|
468 |
->setEditStatus(true);
|
471 |
|
472 |
$buildNovalnetParam = http_build_query($request->getData());
|
473 |
$response = $this->_dataHelper->setRawCallRequest($buildNovalnetParam, Novalnet_Payment_Model_Config::PAYPORT_URL);
|
474 |
+
$this->logNovalnetTransactionData($request, $response, $payment->getLastTransId(), $customerId, $storeId);
|
475 |
if ($response->getStatus() == Novalnet_Payment_Model_Config::RESPONSE_CODE_APPROVED) {
|
476 |
|
477 |
$txnid = $response->getTid();
|
480 |
if (in_array($this->_code, array(Novalnet_Payment_Model_Config::NN_INVOICE, Novalnet_Payment_Model_Config::NN_PREPAYMENT))) {
|
481 |
$bank_void_tid = !empty($txnid) ? $txnid : $payment->getLastTransId();
|
482 |
$data = unserialize($payment->getAdditionalData());
|
483 |
+
//$data['NnNoteAmount'] = $this->_dataHelper->getBankDetailsAmount($amountAfterRefund);
|
484 |
$data['NnNoteTID'] = $this->_dataHelper->getBankDetailsTID($bank_void_tid);
|
485 |
$payment->setAdditionalData(serialize($data));
|
486 |
}
|
488 |
$payment->setTransactionId($void_tid)
|
489 |
->setLastTransId($void_tid)
|
490 |
->save();
|
491 |
+
$getTransactionStatus = $this->doNovalnetStatusCall($getTid, $storeId, Novalnet_Payment_Model_Config::TRANS_STATUS, NULL, NULL, $request);
|
|
|
492 |
$loadTransaction = $this->_helper->loadTransactionStatus($getTid);
|
493 |
$loadTransaction->setTransactionStatus($getTransactionStatus->getStatus())
|
494 |
->setAmount($getTransactionStatus->getAmount()) // void amount is zero so set without formating
|
496 |
} else {
|
497 |
$this->showException('Error in you void request');
|
498 |
}
|
|
|
499 |
} else {
|
500 |
$this->showException('Error in you void request');
|
501 |
}
|
502 |
return $this;
|
503 |
}
|
|
|
504 |
/**
|
505 |
* Get Method Session
|
506 |
*
|
572 |
if ($request['key'] == 27) {
|
573 |
$request['invoice_ref'] = 'BNR-' . $request['product'] . '-' . $request['order_no'];
|
574 |
}
|
|
|
575 |
$result = new Varien_Object();
|
576 |
$response = $this->_setNovalnetRequestCall($request, Novalnet_Payment_Model_Config::PAYPORT_URL);
|
577 |
$result = $response->getRawBody();
|
588 |
*
|
589 |
* @return mixed
|
590 |
*/
|
591 |
+
public function _setNovalnetRequestCall($request_data, $request_url, $type = "") {
|
592 |
if ($request_url == "") {
|
593 |
$this->showException('Server Request URL is Empty');
|
594 |
return;
|
661 |
case Novalnet_Payment_Model_Config::NN_SOFORT:
|
662 |
case Novalnet_Payment_Model_Config::NN_PAYPAL:
|
663 |
case Novalnet_Payment_Model_Config::NN_IDEAL:
|
664 |
+
case Novalnet_Payment_Model_Config::NN_SAFETYPAY:
|
665 |
$this->_password = $this->_getConfigData('password', true);
|
666 |
$request->setUniqid(uniqid())
|
667 |
->setCountryCode($request->getCountry())
|
686 |
->setPanHash($dataHelper->novalnetCardDetails('novalnet_cc_pan_hash'))
|
687 |
->setUniqueId($dataHelper->novalnetCardDetails('novalnet_cc_unique_id'));
|
688 |
break;
|
689 |
+
case Novalnet_Payment_Model_Config::NN_SEPA:
|
690 |
+
$request->setBankAccountHolder($dataHelper->novalnetCardDetails('novalnet_sepa_owner'))
|
691 |
+
->setBankAccount()
|
692 |
+
->setBankCode()
|
693 |
+
->setBic()
|
694 |
+
->setIban()
|
695 |
+
->setSepaHash($dataHelper->novalnetCardDetails('novalnet_sepa_pan_hash'))
|
696 |
+
->setSepaUniqueId($dataHelper->novalnetCardDetails('novalnet_sepa_unique_id'))
|
697 |
+
->setIbanBicConfirmed($dataHelper->novalnetCardDetails('novalnet_sepa_iban_confirmed'));
|
698 |
+
if ($this->_getConfigData('sepatypes') == 'DD_SEPA_SIGNED') {
|
699 |
+
$request->setMandatePresent(0);
|
700 |
+
$this->_getCheckout()->unsNnMandatePresent();
|
701 |
+
$mandate_ref = $dataHelper->novalnetCardDetails('novalnet_sepa_mandate_ref');
|
702 |
+
$mandate_signature_date = $dataHelper->novalnetCardDetails('novalnet_sepa_mandate_date');
|
703 |
+
if ($mandate_ref && $mandate_signature_date) {
|
704 |
+
$request->setMandatePresent(1)
|
705 |
+
->setMandateRef($mandate_ref)
|
706 |
+
->setMandateSignatureDate($mandate_signature_date);
|
707 |
+
$this->_getCheckout()->setNnMandatePresent(1);
|
708 |
+
}
|
709 |
+
} else {
|
710 |
+
$paymentDuration = trim($this->_getConfigData('sepa_due_date'));
|
711 |
+
$dueDate = (!$paymentDuration) ? date('Y-m-d', strtotime('+7 days')) : date('Y-m-d', strtotime('+' . $paymentDuration . ' days'));
|
712 |
+
$request->setSepaDueDate($dueDate);
|
713 |
+
}
|
714 |
+
|
715 |
+
break;
|
716 |
case Novalnet_Payment_Model_Config::NN_CC3D:
|
717 |
$payment = $infoInstance->getOrder()->getPayment();
|
718 |
$request->setCountryCode($request->getCountry())
|
746 |
//set Novalnet Mode
|
747 |
$ResponseTestMode = $result->getTestMode();
|
748 |
$txnId = $result->getTid();
|
749 |
+
$txnId = trim($txnId);
|
750 |
$shopMode = $this->_getConfigData('live_mode');
|
|
|
|
|
751 |
|
752 |
+
$testMode = (((isset($ResponseTestMode) && $ResponseTestMode == 1) || (isset($shopMode) && $shopMode == 0)) ? 1 : 0 );
|
753 |
+
$data = array('NnTestOrder' => $testMode,
|
754 |
+
'vendor' => $this->_vendorId,
|
755 |
+
'auth_code' => $this->_authcode,
|
756 |
+
'product' => $this->_productId,
|
757 |
+
'tariff' => $this->_tariffId,
|
758 |
+
'key' => $this->_helper->getPaymentId($this->_code)
|
759 |
+
);
|
760 |
+
if ($this->_getConfigData('sepatypes') == 'DD_SEPA_SIGNED' && !$this->_getCheckout()->getNnMandatePresent()) {
|
761 |
+
$sepaMandateUrl = $this->sepaMandateUrl($result);
|
762 |
+
$data['NnSepaSigned'] = 1;
|
763 |
+
$data['NnSepaMandateUrl'] = $sepaMandateUrl;
|
764 |
+
$data['NnNcNo'] = $result->getNcNo();
|
765 |
+
}
|
766 |
if (in_array($this->_code, array(Novalnet_Payment_Model_Config::NN_INVOICE, Novalnet_Payment_Model_Config::NN_PREPAYMENT))) {
|
|
|
767 |
$data['NnNote'] = $this->_dataHelper->getNote($response, $this->_getConfigData('payment_duration'));
|
768 |
$data['NnNoteAmount'] = $this->_dataHelper->getBankDetailsAmount($response->getAmount());
|
769 |
$data['NnNoteTID'] = $this->_dataHelper->getBankDetailsTID($txnId);
|
779 |
->setAdditionalData(serialize($data))
|
780 |
->save();
|
781 |
|
782 |
+
$magentoVersion = $this->_getHelper()->getMagentoVersion();
|
783 |
+
$captureMode = (version_compare($magentoVersion, '1.6', '<')) ? false : true;
|
784 |
+
|
785 |
// Capture the payment only if status is 100
|
786 |
+
if (($getTransactionStatus->getStatus() == Novalnet_Payment_Model_Config::RESPONSE_CODE_APPROVED &&
|
787 |
+
!in_array($this->_code, array(Novalnet_Payment_Model_Config::NN_INVOICE, Novalnet_Payment_Model_Config::NN_PREPAYMENT))) || ($getTransactionStatus->getStatus() == Novalnet_Payment_Model_Config::RESPONSE_CODE_APPROVED && ($this->_code == Novalnet_Payment_Model_Config::NN_SEPA && $this->_getCheckout()->getNnMandatePresent()))) {
|
788 |
+
$payment->setTransactionId("$txnId-capture") // Add capture text to make the new transaction
|
789 |
+
->setParentTransactionId($txnId)
|
790 |
+
->setIsTransactionClosed($captureMode) // Close the transaction
|
791 |
+
->capture(null)
|
792 |
+
->setIsTransactionClosed(true)
|
793 |
+
->save();
|
794 |
+
} elseif ((in_array($this->_code, array(Novalnet_Payment_Model_Config::NN_INVOICE, Novalnet_Payment_Model_Config::NN_PREPAYMENT)) && $getTransactionStatus->getStatus() == Novalnet_Payment_Model_Config::RESPONSE_CODE_APPROVED) || (($this->_code == Novalnet_Payment_Model_Config::NN_SEPA && !$this->_getCheckout()->getNnMandatePresent()) && $getTransactionStatus->getStatus() == Novalnet_Payment_Model_Config::RESPONSE_CODE_APPROVED)) {
|
795 |
+
$payment->setIsTransactionClosed(true);
|
796 |
+
}
|
797 |
+
$this->unsetFormMethodSession();
|
798 |
$payment->setTransactionId($txnId)
|
799 |
->setLastTransId($txnId)
|
800 |
->setParentTransactionId(null)
|
819 |
}
|
820 |
}
|
821 |
|
822 |
+
/**
|
823 |
+
* Unset Form method session
|
824 |
+
*
|
825 |
+
*/
|
826 |
+
public function unsetFormMethodSession() {
|
827 |
+
$this->_getCheckout()->unsNnCcNumber()
|
828 |
+
->unsNnCcType()
|
829 |
+
->unsNnCcCvc()
|
830 |
+
->unsNnCcOwner()
|
831 |
+
->unsNnCcExpMonth()
|
832 |
+
->unsNnCcExpYear()
|
833 |
+
->unsNnPaymentCode();
|
834 |
+
$this->_getCheckout()->unsNnMandatePresent()
|
835 |
+
->unsSepaFieldValidator()
|
836 |
+
->unsSepaMandateRef()
|
837 |
+
->unsSepaMandateDate()
|
838 |
+
->unsSepaHash()
|
839 |
+
->unsCcPanHash()
|
840 |
+
->unsCcFieldValidator();
|
841 |
+
$this->_getCheckout()->unsElvDeAccountHolder()
|
842 |
+
->unsElvDeAccountNumber()
|
843 |
+
->unsElvDeBankSortingCode()
|
844 |
+
->unsElvAtAccountHolder()
|
845 |
+
->unsElvAtAccountNumber()
|
846 |
+
->unsElvAtBankSortingCode();
|
847 |
+
$this->_getCheckout()->unsNnCallbackTelNovalnetElvgerman()
|
848 |
+
->unsNnCallbackEmailNovalnetElvgerman()
|
849 |
+
->unsNnCallbackTelNovalnetElvaustria()
|
850 |
+
->unsNnCallbackEmailNovalnetElvaustria()
|
851 |
+
->unsNnCallbackTelNovalnetCc()
|
852 |
+
->unsNnCallbackEmailNovalnetCc();
|
853 |
+
}
|
854 |
+
|
855 |
+
public function sepaMandateUrl($response) {
|
856 |
+
$mandate_refer = $response->getMandateRef();
|
857 |
+
$mandate_url = $response->getMandateUrl();
|
858 |
+
$tid = trim($response->getTid());
|
859 |
+
$mandate_ref = (isset($mandate_refer) && trim($mandate_refer) !='') ? ('&mandate_ref=' . $mandate_refer) : ('&mandate_ref=NN' . $this->_vendorId. '-' . $tid);
|
860 |
+
$param = '?vendor_id='. $this->_vendorId . '&tid=' . $tid . $mandate_ref;
|
861 |
+
if ($mandate_url && trim($mandate_url) !='' ) {
|
862 |
+
if (strpos($mandate_url, "?") !== false) {
|
863 |
+
$url = explode('?', $mandate_url);
|
864 |
+
$comment = $url[0].$param;
|
865 |
+
}
|
866 |
+
}
|
867 |
+
else {
|
868 |
+
$url = 'https://payport.novalnet.de/sepa/mandate_pdf_generate.jsp';
|
869 |
+
$comment = $url.$param;
|
870 |
+
}
|
871 |
+
|
872 |
+
return $comment;
|
873 |
+
}
|
874 |
/**
|
875 |
* Make telephone payment first call and display the messages
|
876 |
*
|
943 |
$data = array('NnTestOrder' => $testMode);
|
944 |
|
945 |
$payment->setStatus(self::STATUS_APPROVED)
|
946 |
+
->setTransactionId($result->getTid())
|
947 |
->setLastTransId($result->getTid())
|
948 |
->setAdditionalData(serialize($data))
|
949 |
->save();
|
974 |
*
|
975 |
* @return mixed
|
976 |
*/
|
977 |
+
public function doNovalnetStatusCall($tid, $storeId = NULL, $reqType = Novalnet_Payment_Model_Config::TRANS_STATUS, $extraOption = NULL, $requestData=NULL, $params = NULL) {
|
978 |
$requestType = ($reqType == Novalnet_Payment_Model_Config::TRANS_STATUS) ? Novalnet_Payment_Model_Config::TRANS_STATUS : $reqType;
|
979 |
$this->_manualCheckValidate($storeId);
|
980 |
+
|
981 |
+
$VendorId = (isset($params) && $params->getVendor()) ? $params->getVendor() : $this->_vendorId;
|
982 |
+
$AuthCode = (isset($params) && $params->getAuthCode()) ? $params->getAuthCode() : $this->_authcode;
|
983 |
+
$ProductId = (isset($params) && $params->getProduct()) ? $params->getProduct() : $this->_productId;
|
984 |
+
|
985 |
$request = '<?xml version="1.0" encoding="UTF-8"?>';
|
986 |
$request .= '<nnxml><info_request>';
|
987 |
+
$request .= '<vendor_id>' . $VendorId . '</vendor_id>';
|
988 |
+
$request .= '<vendor_authcode>' . $AuthCode . '</vendor_authcode>';
|
989 |
$request .= '<request_type>' . $requestType . '</request_type>';
|
990 |
+
$request .= '<product_id>' . $ProductId . '</product_id>';
|
991 |
$request .= '<tid>' . $tid . '</tid>' . $extraOption;
|
992 |
$request .= '</info_request></nnxml>';
|
993 |
|
1051 |
$amount = ($this->_helper->checkIsAdmin()) ? $this->_helper->_getAdminCheckoutSession()->getQuote()->getBaseGrandTotal() : $this->_helper->_getCheckoutSession()->getQuote()->getBaseGrandTotal();
|
1052 |
$storeId = $this->_helper->getMagentoStoreId();
|
1053 |
$this->_manualCheckValidate($storeId, $amount);
|
1054 |
+
$url = Novalnet_Payment_Model_Config::CC_URL;
|
1055 |
+
$billing = $this->_getCheckout()->getQuote()->getBillingAddress();
|
1056 |
+
$sepaError = $this->_getConfigData('sepa_error');
|
1057 |
+
$ccError = $this->_getConfigData('cc_error');
|
1058 |
+
|
1059 |
//Required Parameters to be passed to the Server
|
1060 |
$request = array();
|
1061 |
+
|
1062 |
+
if ($this->_code == Novalnet_Payment_Model_Config::NN_SEPA) {
|
1063 |
+
$request['lang'] = strtoupper(substr(Mage::app()->getLocale()->getLocaleCode(), 0, 2));
|
1064 |
+
$request['vendor_id'] = $this->_vendorId;
|
1065 |
+
$request['product_id'] = $this->_productId;
|
1066 |
+
$request['payment_id'] = $this->_helper->getPaymentId($this->_code);
|
1067 |
+
$request['country'] = $billing->getCountryId();
|
1068 |
+
$request['authcode'] = $this->_authcode;
|
1069 |
+
|
1070 |
+
$request['panhash'] = $sepaError ? $this->_getCheckout()->getSepaHash() : '';
|
1071 |
+
$request['fldVdr'] = $this->_getCheckout()->getSepaFieldValidator();
|
1072 |
+
$request['mandate_ref'] = $this->_getCheckout()->getSepaMandateRef();
|
1073 |
+
$request['mandate_date'] = $this->_getCheckout()->getSepaMandateDate();
|
1074 |
+
$request['name'] = utf8_decode($billing->getFirstname()).' '.utf8_decode($billing->getLastname());
|
1075 |
+
$request['comp'] = utf8_decode($billing->getCompany());
|
1076 |
+
$request['address'] = utf8_decode(implode(',', $billing->getStreet()));
|
1077 |
+
$request['zip'] = $billing->getPostcode();
|
1078 |
+
$request['city'] = utf8_decode($billing->getCity());
|
1079 |
+
$request['email'] = $this->_getCheckout()->getQuote()->getCustomerEmail();
|
1080 |
+
|
1081 |
+
$url = Novalnet_Payment_Model_Config::SEPA_URL;
|
1082 |
+
} else {
|
1083 |
+
$request['nn_lang_nn'] = strtoupper(substr(Mage::app()->getLocale()->getLocaleCode(), 0, 2));
|
1084 |
+
$request['nn_vendor_id_nn'] = $this->_vendorId;
|
1085 |
+
$request['nn_authcode_nn'] = $this->_authcode;
|
1086 |
+
$request['nn_product_id_nn'] = $this->_productId;
|
1087 |
+
$request['nn_payment_id_nn'] = $this->_helper->getPaymentId($this->_code);
|
1088 |
+
$request['nn_hash'] = $ccError ? $this->_getCheckout()->getCcPanHash() : '';
|
1089 |
+
$request['fldVdr'] = $this->_getCheckout()->getCcFieldValidator();
|
1090 |
+
}
|
1091 |
|
1092 |
if ($this->_vendorId && $this->_productId) {
|
1093 |
+
$result = $this->_setNovalnetRequestCall($request, $url);
|
1094 |
$result = $result->getRawBody();
|
1095 |
} else {
|
1096 |
+
$result = $this->_helper->__('Basic parameter not valid');
|
1097 |
}
|
1098 |
return $result;
|
1099 |
}
|
1105 |
*/
|
1106 |
public function validateNovalnetParams() {
|
1107 |
$billing = $this->_getInfoObject()->getBillingAddress();
|
1108 |
+
$helper = $this->_helper;
|
1109 |
+
$sepaDueDate = $this->_getConfigData('sepa_due_date');
|
1110 |
+
|
1111 |
if (!$this->_validateBasicParams()) {
|
1112 |
$this->showException($this->_helper->__('Basic parameter not valid') . '!', false);
|
1113 |
return false;
|
1114 |
+
} elseif ($this->_referrerId && !$helper->checkIsNumeric($this->_referrerId)) {
|
1115 |
+
$this->showException($this->_helper->__('Referrer ID is not valid') . '!', false);
|
1116 |
+
return false;
|
1117 |
+
} elseif ($this->_code == Novalnet_Payment_Model_Config::NN_SEPA && $this->_getConfigData('sepatypes') == 'DD_SEPA' && $sepaDueDate && ($sepaDueDate < 7 || !$helper->checkIsNumeric($sepaDueDate))) {
|
1118 |
+
$this->showException($this->_helper->__('SEPA Due date is not valid') . '!', false);
|
1119 |
+
return false;
|
1120 |
+
} elseif ((int)$this->_getConfigData('manual_checking_amount') && (!$this->_helper->checkIsNumeric($this->_getConfigData('manual_checking_amount')) || !$this->_helper->checkIsNumeric($this->_getConfigData('second_product_id')) || !$this->_helper->checkIsNumeric($this->_getConfigData('second_tariff_id')))) {
|
1121 |
$this->showException($this->_helper->__('Manual limit amount / Product-ID2 / Tariff-ID2 is not valid') . '!', false);
|
1122 |
return false;
|
1123 |
} elseif (!$this->_helper->validateEmail($this->_getInfoObject()->getCustomerEmail()) || !$billing->getFirstname() || !$billing->getLastname()) {
|
1126 |
}
|
1127 |
return true;
|
1128 |
}
|
1129 |
+
|
1130 |
/**
|
1131 |
* validate manual checklimit and reassign product id and tariff id
|
1132 |
*
|
1236 |
if ($methodSession->$callbackTid()) {
|
1237 |
if ($methodSession->$getNnDisableTime() && time() > $methodSession->$getNnDisableTime()) {
|
1238 |
$this->_unsetMethodSession();
|
1239 |
+
} elseif ($methodSession->getOrderAmount() != $this->_helper->getFormatedAmount($this->_getAmount())) {
|
1240 |
$this->_unsetMethodSession();
|
1241 |
if (!$this->_isPlaceOrder() && $this->_getConfigData('callback') != 3) {
|
1242 |
$this->showException('You have changed the order amount after getting PIN number, please try again with a new call');
|
1394 |
->setShopUrl($shopUrl)
|
1395 |
->setCreatedDate($this->_helper->getCurrentDateTime()) //created date
|
1396 |
->save();
|
1397 |
+
|
1398 |
}
|
1399 |
+
|
1400 |
/**
|
1401 |
+
* validate basic params to load Cc & SEPA Iframe
|
1402 |
*
|
1403 |
* @return bool
|
1404 |
*/
|
1405 |
|
1406 |
+
public function validateNovalnetIframeParams() {
|
1407 |
+
//$this->_manualCheckValidate();
|
1408 |
if (!$this->_validateBasicParams()) {
|
1409 |
return false;
|
1410 |
+
} elseif ((int)$this->_getConfigData('manual_checking_amount') && (!$this->_helper->checkIsNumeric($this->_getConfigData('manual_checking_amount')) || !$this->_helper->checkIsNumeric($this->_getConfigData('second_product_id')) || !$this->_helper->checkIsNumeric($this->_getConfigData('second_tariff_id')))) {
|
1411 |
return false;
|
1412 |
}
|
1413 |
+
$this->_manualCheckValidate();
|
1414 |
return true;
|
1415 |
}
|
1416 |
|
1419 |
*
|
1420 |
* @return Mage_Payment_Model_Method_Abstract
|
1421 |
*/
|
1422 |
+
|
1423 |
private function _getInfoInstance() {
|
1424 |
if (!isset($this->infoInstance)) {
|
1425 |
$this->infoInstance = $this->getInfoInstance();
|
app/code/community/Novalnet/Payment/Model/Payment/Method/NovalnetSafetypay.php
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
* Part of the Paymentmodule of Novalnet AG
|
17 |
+
* https://www.novalnet.de
|
18 |
+
* If you have found this script usefull a small
|
19 |
+
* recommendation as well as a comment on merchant form
|
20 |
+
* would be greatly appreciated.
|
21 |
+
*
|
22 |
+
* @category Novalnet
|
23 |
+
* @package Novalnet_Payment
|
24 |
+
* @copyright Novalnet AG
|
25 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
+
*/
|
27 |
+
class Novalnet_Payment_Model_Payment_Method_NovalnetSafetypay extends Novalnet_Payment_Model_Payment_Method_Abstract {
|
28 |
+
|
29 |
+
protected $_code = Novalnet_Payment_Model_Config::NN_SAFETYPAY;
|
30 |
+
protected $_canCapture = Novalnet_Payment_Model_Config::NN_SAFETYPAY_CAN_CAPTURE;
|
31 |
+
protected $_canRefund = Novalnet_Payment_Model_Config::NN_SAFETYPAY_CAN_REFUND;
|
32 |
+
protected $_canUseInternal = Novalnet_Payment_Model_Config::NN_SAFETYPAY_CAN_USE_INTERNAL;
|
33 |
+
protected $_canUseForMultishipping = Novalnet_Payment_Model_Config::NN_SAFETYPAY_CAN_USE_MULTISHIPPING;
|
34 |
+
protected $_formBlockType = Novalnet_Payment_Model_Config::NN_SAFETYPAY_FORM_BLOCK;
|
35 |
+
protected $_infoBlockType = Novalnet_Payment_Model_Config::NN_SAFETYPAY_INFO_BLOCK;
|
36 |
+
|
37 |
+
/**
|
38 |
+
* Get redirect URL
|
39 |
+
*
|
40 |
+
* @return Mage_Payment_Helper_Data
|
41 |
+
*/
|
42 |
+
public function getOrderPlaceRedirectUrl() {
|
43 |
+
return $this->_getHelper()->getUrl(Novalnet_Payment_Model_Config::GATEWAY_REDIRECT_URL);
|
44 |
+
}
|
45 |
+
}
|
app/code/community/Novalnet/Payment/Model/Payment/Method/NovalnetSepa.php
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
* Part of the Paymentmodule of Novalnet AG
|
17 |
+
* https://www.novalnet.de
|
18 |
+
* If you have found this script usefull a small
|
19 |
+
* recommendation as well as a comment on merchant form
|
20 |
+
* would be greatly appreciated.
|
21 |
+
*
|
22 |
+
* @category Novalnet
|
23 |
+
* @package Novalnet_Payment
|
24 |
+
* @copyright Novalnet AG
|
25 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
+
*/
|
27 |
+
class Novalnet_Payment_Model_Payment_Method_NovalnetSepa extends Novalnet_Payment_Model_Payment_Method_Abstract {
|
28 |
+
|
29 |
+
protected $_code = Novalnet_Payment_Model_Config::NN_SEPA;
|
30 |
+
protected $_canCapture = Novalnet_Payment_Model_Config::NN_SEPA_CAN_CAPTURE;
|
31 |
+
protected $_canUseInternal = Novalnet_Payment_Model_Config::NN_SEPA_CAN_USE_INTERNAL;
|
32 |
+
protected $_canUseForMultishipping = Novalnet_Payment_Model_Config::NN_SEPA_CAN_USE_MULTISHIPPING;
|
33 |
+
protected $_formBlockType = Novalnet_Payment_Model_Config::NN_SEPA_FORM_BLOCK;
|
34 |
+
protected $_infoBlockType = Novalnet_Payment_Model_Config::NN_SEPA_INFO_BLOCK;
|
35 |
+
|
36 |
+
}
|
app/code/community/Novalnet/Payment/Model/Resource/Callback.php
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
* Part of the Paymentmodule of Novalnet AG
|
17 |
+
* https://www.novalnet.de
|
18 |
+
* If you have found this script usefull a small
|
19 |
+
* recommendation as well as a comment on merchant form
|
20 |
+
* would be greatly appreciated.
|
21 |
+
*
|
22 |
+
* @category Novalnet
|
23 |
+
* @package Novalnet_Payment
|
24 |
+
* @copyright Novalnet AG
|
25 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
+
*/
|
27 |
+
class Novalnet_Payment_Model_Resource_Callback extends Mage_Core_Model_Mysql4_Abstract {
|
28 |
+
|
29 |
+
/**
|
30 |
+
*
|
31 |
+
*/
|
32 |
+
public function _construct() {
|
33 |
+
$this->_init('novalnet_payment/callback', 'id');
|
34 |
+
}
|
35 |
+
|
36 |
+
}
|
app/code/community/Novalnet/Payment/Model/Resource/Callback/Collection.php
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
* Part of the Paymentmodule of Novalnet AG
|
17 |
+
* https://www.novalnet.de
|
18 |
+
* If you have found this script usefull a small
|
19 |
+
* recommendation as well as a comment on merchant form
|
20 |
+
* would be greatly appreciated.
|
21 |
+
*
|
22 |
+
* @category Novalnet
|
23 |
+
* @package Novalnet_Payment
|
24 |
+
* @copyright Novalnet AG
|
25 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
+
*/
|
27 |
+
class Novalnet_Payment_Model_Resource_Callback_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
|
28 |
+
|
29 |
+
/**
|
30 |
+
*
|
31 |
+
*/
|
32 |
+
public function _construct() {
|
33 |
+
$this->_init('novalnet_payment/callback');
|
34 |
+
}
|
35 |
+
|
36 |
+
}
|
app/code/community/Novalnet/Payment/Model/System/Config/Activemethods.php
CHANGED
@@ -31,10 +31,10 @@ class Novalnet_Payment_Model_System_Config_Activemethods {
|
|
31 |
$activePayment = false;
|
32 |
$inactivePayment = false;
|
33 |
|
34 |
-
if (strlen($code = Mage::
|
35 |
$scopeId = Mage::getModel('core/store')->load($code)->getId();
|
36 |
}
|
37 |
-
elseif (strlen($code = Mage::
|
38 |
$website_id = Mage::getModel('core/website')->load($code)->getId();
|
39 |
$scopeId = Mage::app()->getWebsite($website_id)->getDefaultStore()->getId();
|
40 |
}
|
@@ -49,7 +49,7 @@ class Novalnet_Payment_Model_System_Config_Activemethods {
|
|
49 |
|
50 |
$paymentActive = Mage::getStoreConfig('payment/' . $paymentCode . '/active', $scopeId);
|
51 |
if ($paymentActive == true) {
|
52 |
-
$paymentTitle = Mage::getStoreConfig('payment/' . $paymentCode . '/title');
|
53 |
$methods[$paymentCode] = array(
|
54 |
'label' => $paymentTitle,
|
55 |
'value' => $paymentCode,
|
31 |
$activePayment = false;
|
32 |
$inactivePayment = false;
|
33 |
|
34 |
+
if (strlen($code = Mage::app()->getRequest()->getParam('store'))) { // store level
|
35 |
$scopeId = Mage::getModel('core/store')->load($code)->getId();
|
36 |
}
|
37 |
+
elseif (strlen($code = Mage::app()->getRequest()->getParam('website'))) { // website level
|
38 |
$website_id = Mage::getModel('core/website')->load($code)->getId();
|
39 |
$scopeId = Mage::app()->getWebsite($website_id)->getDefaultStore()->getId();
|
40 |
}
|
49 |
|
50 |
$paymentActive = Mage::getStoreConfig('payment/' . $paymentCode . '/active', $scopeId);
|
51 |
if ($paymentActive == true) {
|
52 |
+
$paymentTitle = Mage::getStoreConfig('payment/' . $paymentCode . '/title', $scopeId);
|
53 |
$methods[$paymentCode] = array(
|
54 |
'label' => $paymentTitle,
|
55 |
'value' => $paymentCode,
|
app/code/community/Novalnet/Payment/Model/Transactionoverview.php
CHANGED
@@ -51,7 +51,7 @@ class Novalnet_Payment_Model_Transactionoverview extends Mage_Core_Model_Abstrac
|
|
51 |
* @return Novalnet_Payment_Model_Transactionoverview
|
52 |
*/
|
53 |
public function loadByPayment(Mage_Sales_Model_Order_Payment $payment) {
|
54 |
-
if ($payment->getOrder()->getIncrementId()) {
|
55 |
$this->load($payment->getOrder()->getIncrementId(), 'order_id');
|
56 |
}
|
57 |
return $this;
|
@@ -62,4 +62,9 @@ class Novalnet_Payment_Model_Transactionoverview extends Mage_Core_Model_Abstrac
|
|
62 |
return $this;
|
63 |
}
|
64 |
|
65 |
-
|
|
|
|
|
|
|
|
|
|
51 |
* @return Novalnet_Payment_Model_Transactionoverview
|
52 |
*/
|
53 |
public function loadByPayment(Mage_Sales_Model_Order_Payment $payment) {
|
54 |
+
if ($payment->getOrder()->getIncrementId()) {
|
55 |
$this->load($payment->getOrder()->getIncrementId(), 'order_id');
|
56 |
}
|
57 |
return $this;
|
62 |
return $this;
|
63 |
}
|
64 |
|
65 |
+
public function loadLogByOrderId($orderId) {
|
66 |
+
$this->load($orderId, 'order_id');
|
67 |
+
return $this;
|
68 |
+
}
|
69 |
+
|
70 |
+
}
|
app/code/community/Novalnet/Payment/Model/Transactionstatus.php
CHANGED
@@ -61,5 +61,10 @@ class Novalnet_Payment_Model_Transactionstatus extends Mage_Core_Model_Abstract
|
|
61 |
$this->load($transactionStatus->getNnTxnId(), 'nn_txn_id');
|
62 |
return $this;
|
63 |
}
|
|
|
|
|
|
|
|
|
|
|
64 |
|
65 |
-
}
|
61 |
$this->load($transactionStatus->getNnTxnId(), 'nn_txn_id');
|
62 |
return $this;
|
63 |
}
|
64 |
+
|
65 |
+
public function loadLogByOrderId($orderId) {
|
66 |
+
$this->load($orderId, 'order_id');
|
67 |
+
return $this;
|
68 |
+
}
|
69 |
|
70 |
+
}
|
app/code/community/Novalnet/Payment/controllers/Adminhtml/NovalnetSepaController.php
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
* Part of the Paymentmodule of Novalnet AG
|
17 |
+
* https://www.novalnet.de
|
18 |
+
* If you have found this script usefull a small
|
19 |
+
* recommendation as well as a comment on merchant form
|
20 |
+
* would be greatly appreciated.
|
21 |
+
*
|
22 |
+
* @category Novalnet
|
23 |
+
* @package Novalnet_Payment
|
24 |
+
* @copyright Novalnet AG
|
25 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
+
*/
|
27 |
+
class Novalnet_Payment_Adminhtml_NovalnetSepaController extends Mage_Adminhtml_Controller_Action {
|
28 |
+
|
29 |
+
public function indexAction() {
|
30 |
+
//Loading current layout
|
31 |
+
$this->loadLayout();
|
32 |
+
|
33 |
+
//Creating a new block
|
34 |
+
$block = $this->getLayout()->createBlock('Mage_Core_Block_Template', 'SepaForm', array('template' => 'novalnet/payment/method/form/Sepaform.phtml'));
|
35 |
+
$this->getLayout()->getBlock('content')->append($block);
|
36 |
+
|
37 |
+
// TO avoid Background and to load our form in empty page
|
38 |
+
$this->getLayout()->getBlock('root')->setTemplate('novalnet/payment/method/form/blank.phtml');
|
39 |
+
|
40 |
+
//Now showing it with rendering of layout
|
41 |
+
$this->renderLayout();
|
42 |
+
}
|
43 |
+
|
44 |
+
}
|
app/code/community/Novalnet/Payment/controllers/Adminhtml/Sales/OrderController.php
CHANGED
@@ -85,7 +85,7 @@ class Novalnet_Payment_Adminhtml_Sales_OrderController extends Mage_Adminhtml_Sa
|
|
85 |
* Invoice update order
|
86 |
*/
|
87 |
public function invoiceupdateAction() {
|
88 |
-
$order = $this->_initOrder();
|
89 |
if ($order) {
|
90 |
try {
|
91 |
Mage::helper('novalnet_payment/AssignData')->setNovalnetInvoiceUpdate($order);
|
@@ -99,7 +99,7 @@ class Novalnet_Payment_Adminhtml_Sales_OrderController extends Mage_Adminhtml_Sa
|
|
99 |
}
|
100 |
|
101 |
public function holdAction() {
|
102 |
-
$order = $this->_initOrder();
|
103 |
if ($order) {
|
104 |
try {
|
105 |
Mage::helper('novalnet_payment/AssignData')->setNovalnetTidOnHold($order);
|
@@ -117,4 +117,133 @@ class Novalnet_Payment_Adminhtml_Sales_OrderController extends Mage_Adminhtml_Sa
|
|
117 |
}
|
118 |
}
|
119 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
}
|
85 |
* Invoice update order
|
86 |
*/
|
87 |
public function invoiceupdateAction() {
|
88 |
+
$order = $this->_initOrder();
|
89 |
if ($order) {
|
90 |
try {
|
91 |
Mage::helper('novalnet_payment/AssignData')->setNovalnetInvoiceUpdate($order);
|
99 |
}
|
100 |
|
101 |
public function holdAction() {
|
102 |
+
$order = $this->_initOrder();
|
103 |
if ($order) {
|
104 |
try {
|
105 |
Mage::helper('novalnet_payment/AssignData')->setNovalnetTidOnHold($order);
|
117 |
}
|
118 |
}
|
119 |
|
120 |
+
public function novalnetconfirmAction() {
|
121 |
+
$order = $this->_initOrder();
|
122 |
+
if ($order) {
|
123 |
+
try {
|
124 |
+
$payment = $order->getPayment();
|
125 |
+
$paymentObj = $payment->getMethodInstance();
|
126 |
+
$getTid = $payment->getTransactionId();
|
127 |
+
$responseCodeApproved = Novalnet_Payment_Model_Config::RESPONSE_CODE_APPROVED;
|
128 |
+
$request = new Varien_Object();
|
129 |
+
$storeId = $payment->getOrder()->getStoreId();
|
130 |
+
$customerId = $payment->getOrder()->getCustomerId();
|
131 |
+
$amount = Mage::helper('novalnet_payment')->getFormatedAmount($payment->getOrder()->getBaseGrandTotal());
|
132 |
+
$lastTranId = Mage::helper('novalnet_payment')->makeValidNumber($payment->getLastTransId());
|
133 |
+
$paymentObj->assignOrderBasicParams($request, $payment, $storeId);
|
134 |
+
$request->setTid($lastTranId)
|
135 |
+
->setStatus($responseCodeApproved)
|
136 |
+
->setEditStatus(true);
|
137 |
+
$loadTransStatus = Mage::helper('novalnet_payment')->loadTransactionStatus($lastTranId);
|
138 |
+
$transStatus = $loadTransStatus->getTransactionStatus();
|
139 |
+
if (!in_array(NULL, $request->toArray()) && !empty($transStatus) && $transStatus != $responseCodeApproved) {
|
140 |
+
$buildNovalnetParam = http_build_query($request->getData());
|
141 |
+
$response = Mage::helper('novalnet_payment/AssignData')->setRawCallRequest($buildNovalnetParam, Novalnet_Payment_Model_Config::PAYPORT_URL);
|
142 |
+
if ($response->getStatus() == $responseCodeApproved) {
|
143 |
+
$loadTransStatus->setTransactionStatus($responseCodeApproved)
|
144 |
+
->save();
|
145 |
+
$payment->setTransactionId($lastTranId);
|
146 |
+
$transaction = $payment->addTransaction(Mage_Sales_Model_Order_Payment_Transaction::TYPE_AUTH, null, false);
|
147 |
+
$transaction->setIsClosed(true)
|
148 |
+
->save();
|
149 |
+
}
|
150 |
+
$paymentObj->logNovalnetTransactionData($request, $response, $payment->getLastTransId(), $customerId, $storeId);
|
151 |
+
}
|
152 |
+
if ($response->getStatus() != $responseCodeApproved) {
|
153 |
+
$this->_getSession()->addSuccess(
|
154 |
+
$this->__('There was an error in refund request. Status Code : '. $response->getStatus())
|
155 |
+
);
|
156 |
+
} else {
|
157 |
+
$this->_getSession()->addSuccess(
|
158 |
+
$this->__('The order has been updated.')
|
159 |
+
);
|
160 |
+
}
|
161 |
+
} catch (Mage_Core_Exception $e) {
|
162 |
+
$this->_getSession()->addError($e->getMessage());
|
163 |
+
} catch (Exception $e) {
|
164 |
+
$this->_getSession()->addError($e->getMessage());
|
165 |
+
}
|
166 |
+
$this->_redirect('*/sales_order/view', array('order_id' => $order->getId()));
|
167 |
+
}
|
168 |
+
}
|
169 |
+
|
170 |
+
public function sepasignedAction() {
|
171 |
+
$sepa_date = $this->getRequest()->getParam('sepa_date');
|
172 |
+
$order = $this->_initOrder();
|
173 |
+
|
174 |
+
if ($order && $sepa_date) {
|
175 |
+
try {
|
176 |
+
$payment = $order->getPayment();
|
177 |
+
$paymentObj = $payment->getMethodInstance();
|
178 |
+
$lastTranId = Mage::helper('novalnet_payment')->makeValidNumber($payment->getLastTransId());
|
179 |
+
$lastTranId = trim($lastTranId);
|
180 |
+
$storeId = $payment->getOrder()->getStoreId();
|
181 |
+
$vendorId = Mage::helper('novalnet_payment')->getModel('novalnetSepa')->_getConfigData('merchant_id', true, $storeId);
|
182 |
+
$authcode = Mage::helper('novalnet_payment')->getModel('novalnetSepa')->_getConfigData('auth_code', true, $storeId);
|
183 |
+
$sepaMandateConfirm = Novalnet_Payment_Model_Config::SEPA_MANDATE_CONFIRMATION;
|
184 |
+
$data = unserialize($payment->getAdditionalData());
|
185 |
+
$requestData = new Varien_Object();
|
186 |
+
$request = '<?xml version="1.0" encoding="UTF-8"?>';
|
187 |
+
$request .= '<nnxml><info_request>';
|
188 |
+
$request .= '<vendor_id>' . trim($vendorId) . '</vendor_id>';
|
189 |
+
$request .= '<vendor_authcode>' . trim($authcode) . '</vendor_authcode>';
|
190 |
+
$request .= '<request_type>' . $sepaMandateConfirm . '</request_type>';
|
191 |
+
$request .= '<mandate_signature_date>' . $sepa_date . '</mandate_signature_date>';
|
192 |
+
$request .= '<order_no>' . $payment->getOrder()->getIncrementId() . '</order_no>';
|
193 |
+
$request .= '<customer_no>' . $data['NnNcNo'] . '</customer_no>';
|
194 |
+
$request .= '<tid>' . $lastTranId . '</tid>';
|
195 |
+
$request .= '</info_request></nnxml>';
|
196 |
+
|
197 |
+
if ($vendorId && $authcode) {
|
198 |
+
$response = $paymentObj->_setNovalnetRequestCall($request, Novalnet_Payment_Model_Config::INFO_REQUEST_URL, 'XML');
|
199 |
+
$requestData->setData($request);
|
200 |
+
} else {
|
201 |
+
$this->_getSession()->addError($this->__('Basic parameter not valid'));
|
202 |
+
}
|
203 |
+
|
204 |
+
$responseCodeApproved = Novalnet_Payment_Model_Config::RESPONSE_CODE_APPROVED;
|
205 |
+
$loadTransStatus = Mage::helper('novalnet_payment')->loadTransactionStatus($lastTranId);
|
206 |
+
|
207 |
+
if ($response && $response->getStatus() == $responseCodeApproved) {
|
208 |
+
$data['NnSepaSigned'] = 0;
|
209 |
+
$data['NnSepaDueDate'] = $sepa_date;
|
210 |
+
|
211 |
+
$payment->setAdditionalData(serialize($data))
|
212 |
+
->save();
|
213 |
+
|
214 |
+
//authorize type closed
|
215 |
+
$loadTransStatus->setTransactionStatus($responseCodeApproved)
|
216 |
+
->save();
|
217 |
+
$payment->setTransactionId($payment->getLastTransId());
|
218 |
+
$transaction = $payment->addTransaction(Mage_Sales_Model_Order_Payment_Transaction::TYPE_AUTH, null, false);
|
219 |
+
$transaction->setIsClosed(true)
|
220 |
+
->save();
|
221 |
+
|
222 |
+
//order transaction closed
|
223 |
+
$order->setIsTransactionClosed(true)
|
224 |
+
->save();
|
225 |
+
|
226 |
+
$payment->setTransactionId($lastTranId."-capture")
|
227 |
+
->setParentTransactionId($lastTranId)
|
228 |
+
->capture(null)
|
229 |
+
->setIsTransactionClosed(true)
|
230 |
+
->save();
|
231 |
+
//set order status to processing
|
232 |
+
$order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, true)
|
233 |
+
->save();
|
234 |
+
$this->_getSession()->addSuccess(
|
235 |
+
$this->__('The order has been updated.')
|
236 |
+
);
|
237 |
+
} else {
|
238 |
+
$this->_getSession()->addError($response->getStatusMessage());
|
239 |
+
}
|
240 |
+
$paymentObj->logNovalnetTransactionData($requestData, $response, $payment->getLastTransId(), $data['NnNcNo'], $storeId);
|
241 |
+
} catch (Mage_Core_Exception $e) {
|
242 |
+
$this->_getSession()->addError($e->getMessage());
|
243 |
+
} catch (Exception $e) {
|
244 |
+
$this->_getSession()->addError($e->getMessage());
|
245 |
+
}
|
246 |
+
$this->_redirect('*/sales_order/view', array('order_id' => $order->getId()));
|
247 |
+
}
|
248 |
+
}
|
249 |
}
|
app/code/community/Novalnet/Payment/controllers/GatewayController.php
CHANGED
@@ -37,6 +37,7 @@ class Novalnet_Payment_GatewayController extends Mage_Core_Controller_Front_Acti
|
|
37 |
|
38 |
//$payment = $this->_getPayment();
|
39 |
$paymentObj = $this->_getPaymentObject();
|
|
|
40 |
|
41 |
if ($session->getLastRealOrderId() && $items) {
|
42 |
if ($order->getPayment()->getAdditionalInformation($paymentObj->getCode() . '_redirectAction') != 1) {
|
@@ -69,11 +70,10 @@ class Novalnet_Payment_GatewayController extends Mage_Core_Controller_Front_Acti
|
|
69 |
$session = $this->_getCheckout();
|
70 |
$response = $this->getRequest()->getParams();
|
71 |
$this->doTransactionOrderLog($response);
|
72 |
-
$response['orderId'] = $response['inputval1'];
|
73 |
$status = $this->_checkReturnedData();
|
74 |
|
75 |
//OnFailure
|
76 |
-
if (!$response['
|
77 |
$session->getQuote()->setIsActive(false)->save();
|
78 |
Mage::getSingleton('core/session')->addError("Payment error");
|
79 |
$this->_redirect('checkout/onepage/failure');
|
@@ -93,7 +93,8 @@ class Novalnet_Payment_GatewayController extends Mage_Core_Controller_Front_Acti
|
|
93 |
$session = $this->_getCheckout();
|
94 |
$payment = $order->getPayment();
|
95 |
$paymentObj = $payment->getMethodInstance();
|
96 |
-
|
|
|
97 |
$session->getQuote()->setIsActive(false)->save();
|
98 |
$response = $this->getRequest()->getParams();
|
99 |
$this->doTransactionOrderLog($response); // Save return error response
|
@@ -108,7 +109,8 @@ class Novalnet_Payment_GatewayController extends Mage_Core_Controller_Front_Acti
|
|
108 |
if ($paymentObj->_getConfigData('save_cancelled_tid') == 1) {
|
109 |
$payment->setLastTransId($response["tid"]);
|
110 |
}
|
111 |
-
$data =
|
|
|
112 |
$payment->setAdditionalData(serialize($data));
|
113 |
|
114 |
//Cancel the order:-
|
@@ -134,21 +136,21 @@ class Novalnet_Payment_GatewayController extends Mage_Core_Controller_Front_Acti
|
|
134 |
return;
|
135 |
}
|
136 |
|
|
|
|
|
|
|
|
|
137 |
//Get response
|
138 |
-
$response = $this->getRequest()->getParams();
|
139 |
$dataObj = new Varien_Object($response);
|
140 |
-
$response['orderId'] = $response['inputval1'];
|
141 |
-
$order = $this->_getOrder();
|
142 |
|
143 |
//Unhold an order:-
|
144 |
if ($order->canUnhold()) {
|
145 |
$order->unhold()->save();
|
146 |
}
|
147 |
|
148 |
-
$payment = $order->getPayment();
|
149 |
-
$paymentObj = $payment->getMethodInstance();
|
150 |
-
|
151 |
$this->unsetNovalnetSessionData($paymentObj->getCode());
|
|
|
152 |
$authorizeKey = $paymentObj->_getConfigData('password', true);
|
153 |
if ($response['status'] == Novalnet_Payment_Model_Config::RESPONSE_CODE_APPROVED && $paymentObj->getCode() != Novalnet_Payment_Model_Config::NN_CC3D) {
|
154 |
$response['status'] = $this->_getNovalnetHelper()->checkParams($response, $authorizeKey);
|
@@ -160,9 +162,10 @@ class Novalnet_Payment_GatewayController extends Mage_Core_Controller_Front_Acti
|
|
160 |
$serverResponse = ($paymentObj->getCode() != Novalnet_Payment_Model_Config::NN_CC3D) ? $this->_getNovalnetHelper()->getDecodedParam($response['test_mode'], $authorizeKey) : $response['test_mode'];
|
161 |
$shopMode = $paymentObj->_getConfigData('live_mode');
|
162 |
$testMode = (((isset($serverResponse) && $serverResponse == 1) || (isset($shopMode) && $shopMode == 0)) ? 1 : 0 );
|
163 |
-
$data =
|
|
|
164 |
$amount = is_numeric($response['amount']) ? $response['amount'] : $this->_getNovalnetHelper()->getDecodedParam($response['amount'], $authorizeKey);
|
165 |
-
$formatedAmount = $this->_getNovalnetHelper()->getFormatedAmount($amount);
|
166 |
$transMode = ($paymentObj->getCode() == Novalnet_Payment_Model_Config::NN_CC3D) ? false : true;
|
167 |
|
168 |
$payment->setStatus(Novalnet_Payment_Model_Payment_Method_Abstract::STATUS_SUCCESS)
|
@@ -175,11 +178,13 @@ class Novalnet_Payment_GatewayController extends Mage_Core_Controller_Front_Acti
|
|
175 |
|
176 |
$txnId = $response['tid'];
|
177 |
$getAdminTransaction = $this->_getPaymentObject()->doNovalnetStatusCall($response['tid']);
|
|
|
|
|
178 |
if ($getAdminTransaction->getStatus() == Novalnet_Payment_Model_Config::RESPONSE_CODE_APPROVED) {
|
179 |
|
180 |
$payment->setTransactionId($txnId) // Add capture text to make the new transaction
|
181 |
->setParentTransactionId(null)
|
182 |
-
->setIsTransactionClosed(
|
183 |
->setLastTransId($txnId)
|
184 |
->capture(null)
|
185 |
->save();
|
37 |
|
38 |
//$payment = $this->_getPayment();
|
39 |
$paymentObj = $this->_getPaymentObject();
|
40 |
+
$session->getQuote()->setIsActive(true)->save();
|
41 |
|
42 |
if ($session->getLastRealOrderId() && $items) {
|
43 |
if ($order->getPayment()->getAdditionalInformation($paymentObj->getCode() . '_redirectAction') != 1) {
|
70 |
$session = $this->_getCheckout();
|
71 |
$response = $this->getRequest()->getParams();
|
72 |
$this->doTransactionOrderLog($response);
|
|
|
73 |
$status = $this->_checkReturnedData();
|
74 |
|
75 |
//OnFailure
|
76 |
+
if (!$response['order_no'] || !$status) {
|
77 |
$session->getQuote()->setIsActive(false)->save();
|
78 |
Mage::getSingleton('core/session')->addError("Payment error");
|
79 |
$this->_redirect('checkout/onepage/failure');
|
93 |
$session = $this->_getCheckout();
|
94 |
$payment = $order->getPayment();
|
95 |
$paymentObj = $payment->getMethodInstance();
|
96 |
+
|
97 |
+
$order->getPayment()->getMethodInstance()->unsetFormMethodSession();
|
98 |
$session->getQuote()->setIsActive(false)->save();
|
99 |
$response = $this->getRequest()->getParams();
|
100 |
$this->doTransactionOrderLog($response); // Save return error response
|
109 |
if ($paymentObj->_getConfigData('save_cancelled_tid') == 1) {
|
110 |
$payment->setLastTransId($response["tid"]);
|
111 |
}
|
112 |
+
$data = unserialize($payment->getAdditionalData());
|
113 |
+
$data['NnComments'] = $paystatus;
|
114 |
$payment->setAdditionalData(serialize($data));
|
115 |
|
116 |
//Cancel the order:-
|
136 |
return;
|
137 |
}
|
138 |
|
139 |
+
$order = $this->_getOrder();
|
140 |
+
$payment = $order->getPayment();
|
141 |
+
$paymentObj = $payment->getMethodInstance();
|
142 |
+
$this->_getCheckout()->getQuote()->setIsActive(true)->save();
|
143 |
//Get response
|
144 |
+
$response = Mage::helper('novalnet_payment/AssignData')->replaceParamsBasedOnPayment($this->getRequest()->getParams(), $paymentObj->getCode(), 'response');
|
145 |
$dataObj = new Varien_Object($response);
|
|
|
|
|
146 |
|
147 |
//Unhold an order:-
|
148 |
if ($order->canUnhold()) {
|
149 |
$order->unhold()->save();
|
150 |
}
|
151 |
|
|
|
|
|
|
|
152 |
$this->unsetNovalnetSessionData($paymentObj->getCode());
|
153 |
+
$order->getPayment()->getMethodInstance()->unsetFormMethodSession();
|
154 |
$authorizeKey = $paymentObj->_getConfigData('password', true);
|
155 |
if ($response['status'] == Novalnet_Payment_Model_Config::RESPONSE_CODE_APPROVED && $paymentObj->getCode() != Novalnet_Payment_Model_Config::NN_CC3D) {
|
156 |
$response['status'] = $this->_getNovalnetHelper()->checkParams($response, $authorizeKey);
|
162 |
$serverResponse = ($paymentObj->getCode() != Novalnet_Payment_Model_Config::NN_CC3D) ? $this->_getNovalnetHelper()->getDecodedParam($response['test_mode'], $authorizeKey) : $response['test_mode'];
|
163 |
$shopMode = $paymentObj->_getConfigData('live_mode');
|
164 |
$testMode = (((isset($serverResponse) && $serverResponse == 1) || (isset($shopMode) && $shopMode == 0)) ? 1 : 0 );
|
165 |
+
$data = unserialize($payment->getAdditionalData());
|
166 |
+
$data['NnTestOrder'] = $testMode;
|
167 |
$amount = is_numeric($response['amount']) ? $response['amount'] : $this->_getNovalnetHelper()->getDecodedParam($response['amount'], $authorizeKey);
|
168 |
+
$formatedAmount = $this->_getNovalnetHelper()->getFormatedAmount($amount, 'RAW');
|
169 |
$transMode = ($paymentObj->getCode() == Novalnet_Payment_Model_Config::NN_CC3D) ? false : true;
|
170 |
|
171 |
$payment->setStatus(Novalnet_Payment_Model_Payment_Method_Abstract::STATUS_SUCCESS)
|
178 |
|
179 |
$txnId = $response['tid'];
|
180 |
$getAdminTransaction = $this->_getPaymentObject()->doNovalnetStatusCall($response['tid']);
|
181 |
+
$magentoVersion = $this->_getNovalnetHelper()->getMagentoVersion();
|
182 |
+
$captureMode = (version_compare($magentoVersion, '1.6', '<')) ? false : true;
|
183 |
if ($getAdminTransaction->getStatus() == Novalnet_Payment_Model_Config::RESPONSE_CODE_APPROVED) {
|
184 |
|
185 |
$payment->setTransactionId($txnId) // Add capture text to make the new transaction
|
186 |
->setParentTransactionId(null)
|
187 |
+
->setIsTransactionClosed($captureMode)
|
188 |
->setLastTransId($txnId)
|
189 |
->capture(null)
|
190 |
->save();
|
app/code/community/Novalnet/Payment/controllers/NovalnetSepaController.php
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
* Part of the Paymentmodule of Novalnet AG
|
17 |
+
* https://www.novalnet.de
|
18 |
+
* If you have found this script usefull a small
|
19 |
+
* recommendation as well as a comment on merchant form
|
20 |
+
* would be greatly appreciated.
|
21 |
+
*
|
22 |
+
* @category Novalnet
|
23 |
+
* @package Novalnet_Payment
|
24 |
+
* @copyright Novalnet AG
|
25 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
+
*/
|
27 |
+
class Novalnet_Payment_NovalnetSepaController extends Mage_Core_Controller_Front_Action {
|
28 |
+
|
29 |
+
public function indexAction() {
|
30 |
+
//Loading current layout
|
31 |
+
$this->loadLayout();
|
32 |
+
|
33 |
+
//Creating a new block
|
34 |
+
$block = $this->getLayout()->createBlock('Mage_Core_Block_Template', 'SepaForm', array('template' => 'novalnet/payment/method/form/Sepaform.phtml'));
|
35 |
+
$this->getLayout()->getBlock('content')->append($block);
|
36 |
+
|
37 |
+
// TO avoid Background and to load our form in empty page
|
38 |
+
$this->getLayout()->getBlock('root')->setTemplate('novalnet/payment/method/form/blank.phtml');
|
39 |
+
|
40 |
+
//Now showing it with rendering of layout
|
41 |
+
$this->renderLayout();
|
42 |
+
}
|
43 |
+
|
44 |
+
}
|
app/code/community/Novalnet/Payment/etc/config.xml
CHANGED
@@ -3,12 +3,20 @@
|
|
3 |
<modules>
|
4 |
<Novalnet_Payment>
|
5 |
<!-- declare module's version information for database updates -->
|
6 |
-
<version>5.0.
|
7 |
</Novalnet_Payment>
|
8 |
</modules>
|
9 |
|
10 |
<global>
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
<blocks>
|
13 |
<novalnet_payment>
|
14 |
<class>Novalnet_Payment_Block</class>
|
@@ -16,13 +24,13 @@
|
|
16 |
<adminhtml>
|
17 |
<rewrite>
|
18 |
<sales_order_view>Novalnet_Payment_Block_Adminhtml_Sales_Order_View</sales_order_view>
|
|
|
19 |
</rewrite>
|
20 |
</adminhtml>
|
21 |
</blocks>
|
22 |
|
23 |
<!-- declare model group for new module -->
|
24 |
<models>
|
25 |
-
<!-- model group alias to be used in Mage::getModel('newmodule/...') -->
|
26 |
<novalnet_payment>
|
27 |
<!-- base class name for the model group -->
|
28 |
<class>Novalnet_Payment_Model</class>
|
@@ -40,6 +48,9 @@
|
|
40 |
<order_log>
|
41 |
<table>novalnet_payment_order_log</table>
|
42 |
</order_log>
|
|
|
|
|
|
|
43 |
</entities>
|
44 |
</novalnet_resource>
|
45 |
</models>
|
@@ -149,6 +160,11 @@
|
|
149 |
<class>Novalnet_Payment_Helper</class>
|
150 |
</novalnet_payment>
|
151 |
</helpers>
|
|
|
|
|
|
|
|
|
|
|
152 |
</global>
|
153 |
|
154 |
<adminhtml>
|
@@ -220,7 +236,7 @@
|
|
220 |
<default>
|
221 |
<!-- 'payment' configuration section (tab) -->
|
222 |
<payment>
|
223 |
-
<!-- '
|
224 |
<novalnetElvgerman translate="title" module="novalnet_payment">
|
225 |
<!-- by default this payment method is inactive -->
|
226 |
<active>0</active>
|
@@ -230,36 +246,33 @@
|
|
230 |
<title>Novalnet Lastschrift Deutschland</title>
|
231 |
<payment_action>authorize</payment_action>
|
232 |
<allowspecific>0</allowspecific>
|
|
|
|
|
233 |
</novalnetElvgerman>
|
234 |
<novalnetElvaustria translate="title" module="novalnet_payment">
|
235 |
-
<!-- by default this payment method is inactive -->
|
236 |
<active>0</active>
|
237 |
-
|
238 |
<model>novalnet_payment/payment_method_novalnetElvaustria</model>
|
239 |
-
<!-- default title for payment checkout page and order view page -->
|
240 |
<title>Novalnet Lastschrift Österreich</title>
|
241 |
<payment_action>authorize</payment_action>
|
242 |
<allowspecific>0</allowspecific>
|
|
|
243 |
</novalnetElvaustria>
|
244 |
<novalnetInvoice translate="title" module="novalnet_payment">
|
245 |
-
<!-- by default this payment method is inactive -->
|
246 |
<active>0</active>
|
247 |
-
<!-- model to handle logic for this payment method -->
|
248 |
<model>novalnet_payment/payment_method_novalnetInvoice</model>
|
249 |
-
<!-- default title for payment checkout page and order view page -->
|
250 |
<title>Novalnet Kauf auf Rechnung</title>
|
251 |
<payment_action>authorize</payment_action>
|
252 |
<allowspecific>0</allowspecific>
|
|
|
253 |
</novalnetInvoice>
|
254 |
<novalnetPrepayment translate="title" module="novalnet_payment">
|
255 |
-
<!-- by default this payment method is inactive -->
|
256 |
<active>0</active>
|
257 |
-
<!-- model to handle logic for this payment method -->
|
258 |
<model>novalnet_payment/payment_method_novalnetPrepayment</model>
|
259 |
-
<!-- default title for payment checkout page and order view page -->
|
260 |
<title>Novalnet Vorauskasse</title>
|
261 |
<payment_action>authorize</payment_action>
|
262 |
<allowspecific>0</allowspecific>
|
|
|
263 |
</novalnetPrepayment>
|
264 |
<novalnetSofortueberweisung translate="title" module="novalnet_payment">
|
265 |
<active>0</active>
|
@@ -268,6 +281,7 @@
|
|
268 |
<title>Novalnet Sofortueberweisung</title>
|
269 |
<allowspecific>0</allowspecific>
|
270 |
<createinvoice>0</createinvoice>
|
|
|
271 |
</novalnetSofortueberweisung>
|
272 |
<novalnetPaypal translate="title" module="novalnet_payment">
|
273 |
<active>0</active>
|
@@ -276,6 +290,7 @@
|
|
276 |
<title>Novalnet PayPal</title>
|
277 |
<allowspecific>0</allowspecific>
|
278 |
<createinvoice>0</createinvoice>
|
|
|
279 |
</novalnetPaypal>
|
280 |
<novalnetIdeal translate="title" module="novalnet_payment">
|
281 |
<active>0</active>
|
@@ -284,23 +299,38 @@
|
|
284 |
<title>Novalnet iDEAL</title>
|
285 |
<allowspecific>0</allowspecific>
|
286 |
<createinvoice>0</createinvoice>
|
|
|
287 |
</novalnetIdeal>
|
288 |
<novalnetCc translate="title" module="novalnet_payment">
|
289 |
<active>0</active>
|
|
|
290 |
<model>novalnet_payment/payment_method_novalnetCc</model>
|
291 |
<payment_action>authorize</payment_action>
|
292 |
<allowspecific>0</allowspecific>
|
293 |
<title>Novalnet Kreditkarte</title>
|
294 |
<gateway_timeout>90</gateway_timeout>
|
|
|
295 |
</novalnetCc>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
296 |
<novalnetSecure translate="title" module="novalnet_payment">
|
297 |
<cctypes>VI,MC</cctypes>
|
298 |
<active>0</active>
|
|
|
299 |
<model>novalnet_payment/payment_method_novalnetSecure</model>
|
300 |
<order_status>0</order_status>
|
301 |
<url>https://payport.novalnet.de/global_pci_payport</url>
|
302 |
<allowspecific>0</allowspecific>
|
303 |
<title>Novalnet Kreditkarte 3D Secure</title>
|
|
|
304 |
</novalnetSecure>
|
305 |
<novalnetPhonepayment translate="title" module="novalnet_payment">
|
306 |
<active>0</active>
|
@@ -310,8 +340,17 @@
|
|
310 |
<allowspecific>0</allowspecific>
|
311 |
<title>Novalnet Telefonpayment</title>
|
312 |
<gateway_timeout>90</gateway_timeout>
|
|
|
313 |
</novalnetPhonepayment>
|
314 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
315 |
</payment>
|
316 |
</default>
|
317 |
</config>
|
3 |
<modules>
|
4 |
<Novalnet_Payment>
|
5 |
<!-- declare module's version information for database updates -->
|
6 |
+
<version>5.0.2</version>
|
7 |
</Novalnet_Payment>
|
8 |
</modules>
|
9 |
|
10 |
<global>
|
11 |
+
<template>
|
12 |
+
<email>
|
13 |
+
<novalnet_callback_email_template module="novalnet_payment">
|
14 |
+
<label>Novalnet Callback Email</label>
|
15 |
+
<file>novalnet/novalnet_callback_email.html</file>
|
16 |
+
<type>html</type>
|
17 |
+
</novalnet_callback_email_template>
|
18 |
+
</email>
|
19 |
+
</template>
|
20 |
<blocks>
|
21 |
<novalnet_payment>
|
22 |
<class>Novalnet_Payment_Block</class>
|
24 |
<adminhtml>
|
25 |
<rewrite>
|
26 |
<sales_order_view>Novalnet_Payment_Block_Adminhtml_Sales_Order_View</sales_order_view>
|
27 |
+
<sales_order_invoice_view>Novalnet_Payment_Block_Adminhtml_Sales_Order_Invoice_View</sales_order_invoice_view>
|
28 |
</rewrite>
|
29 |
</adminhtml>
|
30 |
</blocks>
|
31 |
|
32 |
<!-- declare model group for new module -->
|
33 |
<models>
|
|
|
34 |
<novalnet_payment>
|
35 |
<!-- base class name for the model group -->
|
36 |
<class>Novalnet_Payment_Model</class>
|
48 |
<order_log>
|
49 |
<table>novalnet_payment_order_log</table>
|
50 |
</order_log>
|
51 |
+
<callback>
|
52 |
+
<table>novalnet_payment_callback</table>
|
53 |
+
</callback>
|
54 |
</entities>
|
55 |
</novalnet_resource>
|
56 |
</models>
|
160 |
<class>Novalnet_Payment_Helper</class>
|
161 |
</novalnet_payment>
|
162 |
</helpers>
|
163 |
+
<payment>
|
164 |
+
<groups>
|
165 |
+
<novalnet>Novalnet</novalnet>
|
166 |
+
</groups>
|
167 |
+
</payment>
|
168 |
</global>
|
169 |
|
170 |
<adminhtml>
|
236 |
<default>
|
237 |
<!-- 'payment' configuration section (tab) -->
|
238 |
<payment>
|
239 |
+
<!-- 'module' configuration group (fieldset) -->
|
240 |
<novalnetElvgerman translate="title" module="novalnet_payment">
|
241 |
<!-- by default this payment method is inactive -->
|
242 |
<active>0</active>
|
246 |
<title>Novalnet Lastschrift Deutschland</title>
|
247 |
<payment_action>authorize</payment_action>
|
248 |
<allowspecific>0</allowspecific>
|
249 |
+
<group>novalnet</group>
|
250 |
+
<elvgerman_error>1</elvgerman_error>
|
251 |
</novalnetElvgerman>
|
252 |
<novalnetElvaustria translate="title" module="novalnet_payment">
|
|
|
253 |
<active>0</active>
|
254 |
+
<elvastria_error>1</elvastria_error>
|
255 |
<model>novalnet_payment/payment_method_novalnetElvaustria</model>
|
|
|
256 |
<title>Novalnet Lastschrift Österreich</title>
|
257 |
<payment_action>authorize</payment_action>
|
258 |
<allowspecific>0</allowspecific>
|
259 |
+
<group>novalnet</group>
|
260 |
</novalnetElvaustria>
|
261 |
<novalnetInvoice translate="title" module="novalnet_payment">
|
|
|
262 |
<active>0</active>
|
|
|
263 |
<model>novalnet_payment/payment_method_novalnetInvoice</model>
|
|
|
264 |
<title>Novalnet Kauf auf Rechnung</title>
|
265 |
<payment_action>authorize</payment_action>
|
266 |
<allowspecific>0</allowspecific>
|
267 |
+
<group>novalnet</group>
|
268 |
</novalnetInvoice>
|
269 |
<novalnetPrepayment translate="title" module="novalnet_payment">
|
|
|
270 |
<active>0</active>
|
|
|
271 |
<model>novalnet_payment/payment_method_novalnetPrepayment</model>
|
|
|
272 |
<title>Novalnet Vorauskasse</title>
|
273 |
<payment_action>authorize</payment_action>
|
274 |
<allowspecific>0</allowspecific>
|
275 |
+
<group>novalnet</group>
|
276 |
</novalnetPrepayment>
|
277 |
<novalnetSofortueberweisung translate="title" module="novalnet_payment">
|
278 |
<active>0</active>
|
281 |
<title>Novalnet Sofortueberweisung</title>
|
282 |
<allowspecific>0</allowspecific>
|
283 |
<createinvoice>0</createinvoice>
|
284 |
+
<group>novalnet</group>
|
285 |
</novalnetSofortueberweisung>
|
286 |
<novalnetPaypal translate="title" module="novalnet_payment">
|
287 |
<active>0</active>
|
290 |
<title>Novalnet PayPal</title>
|
291 |
<allowspecific>0</allowspecific>
|
292 |
<createinvoice>0</createinvoice>
|
293 |
+
<group>novalnet</group>
|
294 |
</novalnetPaypal>
|
295 |
<novalnetIdeal translate="title" module="novalnet_payment">
|
296 |
<active>0</active>
|
299 |
<title>Novalnet iDEAL</title>
|
300 |
<allowspecific>0</allowspecific>
|
301 |
<createinvoice>0</createinvoice>
|
302 |
+
<group>novalnet</group>
|
303 |
</novalnetIdeal>
|
304 |
<novalnetCc translate="title" module="novalnet_payment">
|
305 |
<active>0</active>
|
306 |
+
<cc_error>1</cc_error>
|
307 |
<model>novalnet_payment/payment_method_novalnetCc</model>
|
308 |
<payment_action>authorize</payment_action>
|
309 |
<allowspecific>0</allowspecific>
|
310 |
<title>Novalnet Kreditkarte</title>
|
311 |
<gateway_timeout>90</gateway_timeout>
|
312 |
+
<group>novalnet</group>
|
313 |
</novalnetCc>
|
314 |
+
<novalnetSepa translate="title" module="novalnet_payment">
|
315 |
+
<active>0</active>
|
316 |
+
<sepa_error>1</sepa_error>
|
317 |
+
<model>novalnet_payment/payment_method_novalnetSepa</model>
|
318 |
+
<payment_action>authorize</payment_action>
|
319 |
+
<allowspecific>0</allowspecific>
|
320 |
+
<title>Novalnet Lastschrift SEPA</title>
|
321 |
+
<gateway_timeout>90</gateway_timeout>
|
322 |
+
<group>novalnet</group>
|
323 |
+
</novalnetSepa>
|
324 |
<novalnetSecure translate="title" module="novalnet_payment">
|
325 |
<cctypes>VI,MC</cctypes>
|
326 |
<active>0</active>
|
327 |
+
<novalnetSecure_error>1</novalnetSecure_error>
|
328 |
<model>novalnet_payment/payment_method_novalnetSecure</model>
|
329 |
<order_status>0</order_status>
|
330 |
<url>https://payport.novalnet.de/global_pci_payport</url>
|
331 |
<allowspecific>0</allowspecific>
|
332 |
<title>Novalnet Kreditkarte 3D Secure</title>
|
333 |
+
<group>novalnet</group>
|
334 |
</novalnetSecure>
|
335 |
<novalnetPhonepayment translate="title" module="novalnet_payment">
|
336 |
<active>0</active>
|
340 |
<allowspecific>0</allowspecific>
|
341 |
<title>Novalnet Telefonpayment</title>
|
342 |
<gateway_timeout>90</gateway_timeout>
|
343 |
+
<group>novalnet</group>
|
344 |
</novalnetPhonepayment>
|
345 |
+
<novalnetSafetypay translate="title" module="novalnet_payment">
|
346 |
+
<active>0</active>
|
347 |
+
<url>https://payport.novalnet.de/safetypay</url>
|
348 |
+
<model>novalnet_payment/payment_method_novalnetSafetypay</model>
|
349 |
+
<title>Novalnet SafetyPay</title>
|
350 |
+
<allowspecific>0</allowspecific>
|
351 |
+
<createinvoice>0</createinvoice>
|
352 |
+
<group>novalnet</group>
|
353 |
+
</novalnetSafetypay>
|
354 |
</payment>
|
355 |
</default>
|
356 |
</config>
|
app/code/community/Novalnet/Payment/etc/system.xml
CHANGED
@@ -8,10 +8,10 @@
|
|
8 |
</novalnet>
|
9 |
</tabs>
|
10 |
<sections>
|
11 |
-
|
12 |
<!--{{{ Global tab-->
|
13 |
<novalnet_global translate="label" module="novalnet_payment">
|
14 |
-
<label>
|
15 |
<tab>novalnet</tab>
|
16 |
<frontend_type>text</frontend_type>
|
17 |
<sort_order>20</sort_order>
|
@@ -110,6 +110,15 @@
|
|
110 |
<show_in_website>1</show_in_website>
|
111 |
<show_in_store>1</show_in_store>
|
112 |
</api_sign>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
</fields>
|
114 |
</novalnet>
|
115 |
</groups>
|
@@ -164,41 +173,70 @@
|
|
164 |
<show_in_store>1</show_in_store>
|
165 |
</order_status>
|
166 |
<manual_checking_amount tranlate="label" >
|
167 |
-
<label>Manual checking
|
168 |
-
<comment>
|
169 |
<frontend_type>text</frontend_type>
|
170 |
<config_path>payment/novalnetCc/manual_checking_amount</config_path>
|
171 |
-
<sort_order>
|
172 |
<show_in_default>1</show_in_default>
|
173 |
<show_in_website>1</show_in_website>
|
174 |
<show_in_store>1</show_in_store>
|
175 |
</manual_checking_amount>
|
176 |
<second_product_id translate="label">
|
177 |
-
<label>Second
|
178 |
-
<comment>
|
179 |
<frontend_type>text</frontend_type>
|
180 |
<config_path>payment/novalnetCc/second_product_id</config_path>
|
181 |
-
<sort_order>
|
182 |
<show_in_default>1</show_in_default>
|
183 |
<show_in_website>1</show_in_website>
|
184 |
<show_in_store>1</show_in_store>
|
185 |
</second_product_id>
|
186 |
<second_tariff_id translate="label">
|
187 |
-
<label>Second
|
188 |
-
<comment>
|
189 |
<frontend_type>text</frontend_type>
|
190 |
<config_path>payment/novalnetCc/second_tariff_id</config_path>
|
191 |
-
<sort_order>
|
192 |
<show_in_default>1</show_in_default>
|
193 |
<show_in_website>1</show_in_website>
|
194 |
<show_in_store>1</show_in_store>
|
195 |
</second_tariff_id>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
196 |
<booking_reference translate="label">
|
197 |
-
<label>Information to the end customer</label>
|
198 |
-
<comment>will appear in the payment form</comment>
|
199 |
<frontend_type>text</frontend_type>
|
200 |
<config_path>payment/novalnetCc/booking_reference</config_path>
|
201 |
-
<sort_order>
|
202 |
<show_in_default>1</show_in_default>
|
203 |
<show_in_website>1</show_in_website>
|
204 |
<show_in_store>1</show_in_store>
|
@@ -208,7 +246,7 @@
|
|
208 |
<label>User Group Excluded</label>
|
209 |
<frontend_type>text</frontend_type>
|
210 |
<config_path>payment/novalnetCc/user_group_excluded</config_path>
|
211 |
-
<sort_order>
|
212 |
<show_in_default>1</show_in_default>
|
213 |
<show_in_website>1</show_in_website>
|
214 |
<show_in_store>1</show_in_store>
|
@@ -218,7 +256,7 @@
|
|
218 |
<label>Gateway Timeout</label>
|
219 |
<frontend_type>text</frontend_type>
|
220 |
<config_path>payment/novalnetCc/gateway_timeout</config_path>
|
221 |
-
<sort_order>
|
222 |
<show_in_default>1</show_in_default>
|
223 |
<show_in_website>1</show_in_website>
|
224 |
<show_in_store>1</show_in_store>
|
@@ -227,7 +265,7 @@
|
|
227 |
<label>Payment from applicable countries</label>
|
228 |
<frontend_type>allowspecific</frontend_type>
|
229 |
<config_path>payment/novalnetCc/allowspecific</config_path>
|
230 |
-
<sort_order>
|
231 |
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
232 |
<show_in_default>1</show_in_default>
|
233 |
<show_in_website>1</show_in_website>
|
@@ -237,7 +275,7 @@
|
|
237 |
<label>Payment from Specific countries</label>
|
238 |
<frontend_type>multiselect</frontend_type>
|
239 |
<config_path>payment/novalnetCc/specificcountry</config_path>
|
240 |
-
<sort_order>
|
241 |
<source_model>adminhtml/system_config_source_country</source_model>
|
242 |
<show_in_default>1</show_in_default>
|
243 |
<show_in_website>1</show_in_website>
|
@@ -248,7 +286,7 @@
|
|
248 |
<label>Novalnet Minimum Order Total</label>
|
249 |
<frontend_type>text</frontend_type>
|
250 |
<config_path>payment/novalnetCc/min_order_total</config_path>
|
251 |
-
<sort_order>
|
252 |
<show_in_default>1</show_in_default>
|
253 |
<show_in_website>1</show_in_website>
|
254 |
<show_in_store>1</show_in_store>
|
@@ -257,7 +295,7 @@
|
|
257 |
<label>Novalnet Maximum Order Total</label>
|
258 |
<frontend_type>text</frontend_type>
|
259 |
<config_path>payment/novalnetCc/max_order_total</config_path>
|
260 |
-
<sort_order>
|
261 |
<show_in_default>1</show_in_default>
|
262 |
<show_in_website>1</show_in_website>
|
263 |
<show_in_store>1</show_in_store>
|
@@ -266,7 +304,7 @@
|
|
266 |
<label>Novalnet Minimum Orders Count</label>
|
267 |
<frontend_type>text</frontend_type>
|
268 |
<config_path>payment/novalnetCc/orderscount</config_path>
|
269 |
-
<sort_order>
|
270 |
<comment>Novalnet Minimum Orders Count Desc</comment>
|
271 |
<show_in_default>1</show_in_default>
|
272 |
<show_in_website>1</show_in_website>
|
@@ -277,7 +315,7 @@
|
|
277 |
<comment>Sort order of display. Lowest is displayed first.</comment>
|
278 |
<frontend_type>text</frontend_type>
|
279 |
<config_path>payment/novalnetCc/sort_order</config_path>
|
280 |
-
<sort_order>
|
281 |
<show_in_default>1</show_in_default>
|
282 |
<show_in_website>1</show_in_website>
|
283 |
<show_in_store>1</show_in_store>
|
@@ -285,10 +323,221 @@
|
|
285 |
</fields>
|
286 |
</novalnetCc>
|
287 |
<!--}}} Novalnet Credit Card-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
288 |
<!--{{{ Novalnet Elvgerman-->
|
289 |
<novalnetElvgerman translate="label" module="novalnet_payment">
|
290 |
<label>Novalnet Direct Debit German</label>
|
291 |
-
<sort_order>
|
292 |
<show_in_default>1</show_in_default>
|
293 |
<show_in_website>1</show_in_website>
|
294 |
<show_in_store>1</show_in_store>
|
@@ -324,61 +573,91 @@
|
|
324 |
<show_in_store>1</show_in_store>
|
325 |
</order_status>
|
326 |
<manual_checking_amount tranlate="label" >
|
327 |
-
<label>Manual checking
|
328 |
-
<comment>
|
329 |
<frontend_type>text</frontend_type>
|
330 |
<config_path>payment/novalnetElvgerman/manual_checking_amount</config_path>
|
331 |
-
<sort_order>
|
332 |
<show_in_default>1</show_in_default>
|
333 |
<show_in_website>1</show_in_website>
|
334 |
<show_in_store>1</show_in_store>
|
335 |
</manual_checking_amount>
|
336 |
<second_product_id translate="label">
|
337 |
-
<label>Second
|
338 |
-
<comment>
|
339 |
<frontend_type>text</frontend_type>
|
340 |
-
|
341 |
-
<sort_order>
|
342 |
<show_in_default>1</show_in_default>
|
343 |
<show_in_website>1</show_in_website>
|
344 |
<show_in_store>1</show_in_store>
|
345 |
</second_product_id>
|
346 |
<second_tariff_id translate="label">
|
347 |
-
<label>Second
|
348 |
-
<comment>
|
349 |
<frontend_type>text</frontend_type>
|
350 |
<config_path>payment/novalnetElvgerman/second_tariff_id</config_path>
|
351 |
-
<sort_order>
|
352 |
<show_in_default>1</show_in_default>
|
353 |
<show_in_website>1</show_in_website>
|
354 |
<show_in_store>1</show_in_store>
|
355 |
</second_tariff_id>
|
356 |
<acdc_check translate="label">
|
357 |
-
<label>Enable
|
|
|
358 |
<frontend_type>select</frontend_type>
|
359 |
<config_path>payment/novalnetElvgerman/acdc_check</config_path>
|
360 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
361 |
-
<sort_order>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
362 |
<show_in_default>1</show_in_default>
|
363 |
<show_in_website>1</show_in_website>
|
364 |
<show_in_store>1</show_in_store>
|
365 |
-
</
|
366 |
<user_group_excluded translate="label">
|
367 |
<comment>Excluded User Group Desc</comment>
|
368 |
<label>User Group Excluded</label>
|
369 |
<frontend_type>text</frontend_type>
|
370 |
<config_path>payment/novalnetElvgerman/user_group_excluded</config_path>
|
371 |
-
<sort_order>
|
372 |
<show_in_default>1</show_in_default>
|
373 |
<show_in_website>1</show_in_website>
|
374 |
<show_in_store>1</show_in_store>
|
375 |
</user_group_excluded>
|
376 |
<booking_reference translate="label">
|
377 |
-
<label>Information to the end customer</label>
|
378 |
-
<comment>will appear in the payment form</comment>
|
379 |
<frontend_type>text</frontend_type>
|
380 |
<config_path>payment/novalnetElvgerman/booking_reference</config_path>
|
381 |
-
<sort_order>
|
382 |
<show_in_default>1</show_in_default>
|
383 |
<show_in_website>1</show_in_website>
|
384 |
<show_in_store>1</show_in_store>
|
@@ -388,7 +667,7 @@
|
|
388 |
<label>Gateway Timeout</label>
|
389 |
<frontend_type>text</frontend_type>
|
390 |
<config_path>payment/novalnetElvgerman/gateway_timeout</config_path>
|
391 |
-
<sort_order>
|
392 |
<show_in_default>1</show_in_default>
|
393 |
<show_in_website>1</show_in_website>
|
394 |
<show_in_store>1</show_in_store>
|
@@ -397,7 +676,7 @@
|
|
397 |
<label>Payment from applicable countries</label>
|
398 |
<frontend_type>allowspecific</frontend_type>
|
399 |
<config_path>payment/novalnetElvgerman/allowspecific</config_path>
|
400 |
-
<sort_order>
|
401 |
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
402 |
<show_in_default>1</show_in_default>
|
403 |
<show_in_website>1</show_in_website>
|
@@ -407,7 +686,7 @@
|
|
407 |
<label>Payment from Specific countries</label>
|
408 |
<frontend_type>multiselect</frontend_type>
|
409 |
<config_path>payment/novalnetElvgerman/specificcountry</config_path>
|
410 |
-
<sort_order>
|
411 |
<source_model>adminhtml/system_config_source_country</source_model>
|
412 |
<show_in_default>1</show_in_default>
|
413 |
<show_in_website>1</show_in_website>
|
@@ -418,7 +697,7 @@
|
|
418 |
<label>Novalnet Minimum Order Total</label>
|
419 |
<frontend_type>text</frontend_type>
|
420 |
<config_path>payment/novalnetElvgerman/min_order_total</config_path>
|
421 |
-
<sort_order>
|
422 |
<show_in_default>1</show_in_default>
|
423 |
<show_in_website>1</show_in_website>
|
424 |
<show_in_store>1</show_in_store>
|
@@ -427,7 +706,7 @@
|
|
427 |
<label>Novalnet Maximum Order Total</label>
|
428 |
<frontend_type>text</frontend_type>
|
429 |
<config_path>payment/novalnetElvgerman/max_order_total</config_path>
|
430 |
-
<sort_order>
|
431 |
<show_in_default>1</show_in_default>
|
432 |
<show_in_website>1</show_in_website>
|
433 |
<show_in_store>1</show_in_store>
|
@@ -436,7 +715,7 @@
|
|
436 |
<label>Novalnet Minimum Orders Count</label>
|
437 |
<frontend_type>text</frontend_type>
|
438 |
<config_path>payment/novalnetElvgerman/orderscount</config_path>
|
439 |
-
<sort_order>
|
440 |
<comment>Novalnet Minimum Orders Count Desc</comment>
|
441 |
<show_in_default>1</show_in_default>
|
442 |
<show_in_website>1</show_in_website>
|
@@ -447,7 +726,7 @@
|
|
447 |
<comment>Sort order of display. Lowest is displayed first.</comment>
|
448 |
<frontend_type>text</frontend_type>
|
449 |
<config_path>payment/novalnetElvgerman/sort_order</config_path>
|
450 |
-
<sort_order>
|
451 |
<show_in_default>1</show_in_default>
|
452 |
<show_in_website>1</show_in_website>
|
453 |
<show_in_store>1</show_in_store>
|
@@ -494,51 +773,80 @@
|
|
494 |
<show_in_store>1</show_in_store>
|
495 |
</order_status>
|
496 |
<manual_checking_amount tranlate="label" >
|
497 |
-
<label>Manual checking
|
498 |
-
<comment>
|
499 |
<frontend_type>text</frontend_type>
|
500 |
<config_path>payment/novalnetElvaustria/manual_checking_amount</config_path>
|
501 |
-
<sort_order>
|
502 |
<show_in_default>1</show_in_default>
|
503 |
<show_in_website>1</show_in_website>
|
504 |
<show_in_store>1</show_in_store>
|
505 |
</manual_checking_amount>
|
506 |
<second_product_id translate="label">
|
507 |
-
<label>Second
|
508 |
-
<comment>
|
509 |
<frontend_type>text</frontend_type>
|
510 |
<config_path>payment/novalnetElvaustria/second_product_id</config_path>
|
511 |
-
<sort_order>
|
512 |
<show_in_default>1</show_in_default>
|
513 |
<show_in_website>1</show_in_website>
|
514 |
<show_in_store>1</show_in_store>
|
515 |
</second_product_id>
|
516 |
<second_tariff_id translate="label">
|
517 |
-
<label>Second
|
518 |
-
<comment>
|
519 |
<frontend_type>text</frontend_type>
|
520 |
<config_path>payment/novalnetElvaustria/second_tariff_id</config_path>
|
521 |
-
<sort_order>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
522 |
<show_in_default>1</show_in_default>
|
523 |
<show_in_website>1</show_in_website>
|
524 |
<show_in_store>1</show_in_store>
|
525 |
-
</
|
526 |
<user_group_excluded translate="label">
|
527 |
<comment>Excluded User Group Desc</comment>
|
528 |
<label>User Group Excluded</label>
|
529 |
<frontend_type>text</frontend_type>
|
530 |
<config_path>payment/novalnetElvaustria/user_group_excluded</config_path>
|
531 |
-
<sort_order>
|
532 |
<show_in_default>1</show_in_default>
|
533 |
<show_in_website>1</show_in_website>
|
534 |
<show_in_store>1</show_in_store>
|
535 |
</user_group_excluded>
|
536 |
<booking_reference translate="label">
|
537 |
-
<label>Information to the end customer</label>
|
538 |
-
<comment>will appear in the payment form</comment>
|
539 |
<frontend_type>text</frontend_type>
|
540 |
<config_path>payment/novalnetElvaustria/booking_reference</config_path>
|
541 |
-
<sort_order>
|
542 |
<show_in_default>1</show_in_default>
|
543 |
<show_in_website>1</show_in_website>
|
544 |
<show_in_store>1</show_in_store>
|
@@ -548,7 +856,7 @@
|
|
548 |
<label>Gateway Timeout</label>
|
549 |
<frontend_type>text</frontend_type>
|
550 |
<config_path>payment/novalnetElvaustria/gateway_timeout</config_path>
|
551 |
-
<sort_order>
|
552 |
<show_in_default>1</show_in_default>
|
553 |
<show_in_website>1</show_in_website>
|
554 |
<show_in_store>1</show_in_store>
|
@@ -557,7 +865,7 @@
|
|
557 |
<label>Payment from applicable countries</label>
|
558 |
<frontend_type>allowspecific</frontend_type>
|
559 |
<config_path>payment/novalnetElvaustria/allowspecific</config_path>
|
560 |
-
<sort_order>
|
561 |
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
562 |
<show_in_default>1</show_in_default>
|
563 |
<show_in_website>1</show_in_website>
|
@@ -567,7 +875,7 @@
|
|
567 |
<label>Payment from Specific countries</label>
|
568 |
<frontend_type>multiselect</frontend_type>
|
569 |
<config_path>payment/novalnetElvaustria/specificcountry</config_path>
|
570 |
-
<sort_order>
|
571 |
<source_model>adminhtml/system_config_source_country</source_model>
|
572 |
<show_in_default>1</show_in_default>
|
573 |
<show_in_website>1</show_in_website>
|
@@ -578,7 +886,7 @@
|
|
578 |
<label>Novalnet Minimum Order Total</label>
|
579 |
<frontend_type>text</frontend_type>
|
580 |
<config_path>payment/novalnetElvaustria/min_order_total</config_path>
|
581 |
-
<sort_order>
|
582 |
<show_in_default>1</show_in_default>
|
583 |
<show_in_website>1</show_in_website>
|
584 |
<show_in_store>1</show_in_store>
|
@@ -586,8 +894,8 @@
|
|
586 |
<max_order_total translate="label">
|
587 |
<label>Novalnet Maximum Order Total</label>
|
588 |
<frontend_type>text</frontend_type>
|
589 |
-
|
590 |
-
<sort_order>
|
591 |
<show_in_default>1</show_in_default>
|
592 |
<show_in_website>1</show_in_website>
|
593 |
<show_in_store>1</show_in_store>
|
@@ -596,7 +904,7 @@
|
|
596 |
<label>Novalnet Minimum Orders Count</label>
|
597 |
<frontend_type>text</frontend_type>
|
598 |
<config_path>payment/novalnetElvaustria/orderscount</config_path>
|
599 |
-
<sort_order>
|
600 |
<comment>Novalnet Minimum Orders Count Desc</comment>
|
601 |
<show_in_default>1</show_in_default>
|
602 |
<show_in_website>1</show_in_website>
|
@@ -607,7 +915,7 @@
|
|
607 |
<comment>Sort order of display. Lowest is displayed first.</comment>
|
608 |
<frontend_type>text</frontend_type>
|
609 |
<config_path>payment/novalnetElvaustria/sort_order</config_path>
|
610 |
-
<sort_order>
|
611 |
<show_in_default>1</show_in_default>
|
612 |
<show_in_website>1</show_in_website>
|
613 |
<show_in_store>1</show_in_store>
|
@@ -626,7 +934,7 @@
|
|
626 |
<active translate="label">
|
627 |
<label>Enable Novalnet Module</label>
|
628 |
<frontend_type>select</frontend_type>
|
629 |
-
|
630 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
631 |
<sort_order>1</sort_order>
|
632 |
<show_in_default>1</show_in_default>
|
@@ -636,7 +944,7 @@
|
|
636 |
<title translate="label">
|
637 |
<label>Novalnet Title</label>
|
638 |
<frontend_type>text</frontend_type>
|
639 |
-
|
640 |
<sort_order>2</sort_order>
|
641 |
<show_in_default>1</show_in_default>
|
642 |
<show_in_website>1</show_in_website>
|
@@ -646,7 +954,7 @@
|
|
646 |
<label>Set order Status</label>
|
647 |
<comment>Set the status of orders made with this payment module to this value</comment>
|
648 |
<frontend_type>select</frontend_type>
|
649 |
-
|
650 |
<source_model>adminhtml/system_config_source_order_status</source_model>
|
651 |
<sort_order>3</sort_order>
|
652 |
<show_in_default>1</show_in_default>
|
@@ -654,20 +962,39 @@
|
|
654 |
<show_in_store>1</show_in_store>
|
655 |
</order_status>
|
656 |
<booking_reference translate="label">
|
657 |
-
<label>Information to the end customer</label>
|
658 |
-
<comment>will appear in the payment form</comment>
|
659 |
<frontend_type>text</frontend_type>
|
660 |
-
|
661 |
-
<sort_order>
|
662 |
<show_in_default>1</show_in_default>
|
663 |
<show_in_website>1</show_in_website>
|
664 |
<show_in_store>1</show_in_store>
|
665 |
</booking_reference>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
666 |
<payment_duration translate="label">
|
667 |
<label>Payment Duration</label>
|
668 |
<frontend_type>text</frontend_type>
|
669 |
-
|
670 |
-
<sort_order>
|
671 |
<show_in_default>1</show_in_default>
|
672 |
<show_in_website>1</show_in_website>
|
673 |
<show_in_store>1</show_in_store>
|
@@ -676,18 +1003,18 @@
|
|
676 |
<comment>Excluded User Group Desc</comment>
|
677 |
<label>User Group Excluded</label>
|
678 |
<frontend_type>text</frontend_type>
|
679 |
-
|
680 |
-
<sort_order>
|
681 |
<show_in_default>1</show_in_default>
|
682 |
<show_in_website>1</show_in_website>
|
683 |
<show_in_store>1</show_in_store>
|
684 |
-
</user_group_excluded>
|
685 |
<gateway_timeout translate="label">
|
686 |
<comment>Gateway Timeout in seconds</comment>
|
687 |
<label>Gateway Timeout</label>
|
688 |
<frontend_type>text</frontend_type>
|
689 |
-
|
690 |
-
<sort_order>
|
691 |
<show_in_default>1</show_in_default>
|
692 |
<show_in_website>1</show_in_website>
|
693 |
<show_in_store>1</show_in_store>
|
@@ -695,8 +1022,8 @@
|
|
695 |
<allowspecific translate="label">
|
696 |
<label>Payment from applicable countries</label>
|
697 |
<frontend_type>allowspecific</frontend_type>
|
698 |
-
|
699 |
-
<sort_order>
|
700 |
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
701 |
<show_in_default>1</show_in_default>
|
702 |
<show_in_website>1</show_in_website>
|
@@ -705,8 +1032,8 @@
|
|
705 |
<specificcountry translate="label">
|
706 |
<label>Payment from Specific countries</label>
|
707 |
<frontend_type>multiselect</frontend_type>
|
708 |
-
|
709 |
-
<sort_order>
|
710 |
<source_model>adminhtml/system_config_source_country</source_model>
|
711 |
<show_in_default>1</show_in_default>
|
712 |
<show_in_website>1</show_in_website>
|
@@ -716,8 +1043,8 @@
|
|
716 |
<min_order_total translate="label">
|
717 |
<label>Novalnet Minimum Order Total</label>
|
718 |
<frontend_type>text</frontend_type>
|
719 |
-
|
720 |
-
<sort_order>
|
721 |
<show_in_default>1</show_in_default>
|
722 |
<show_in_website>1</show_in_website>
|
723 |
<show_in_store>1</show_in_store>
|
@@ -725,8 +1052,8 @@
|
|
725 |
<max_order_total translate="label">
|
726 |
<label>Novalnet Maximum Order Total</label>
|
727 |
<frontend_type>text</frontend_type>
|
728 |
-
|
729 |
-
<sort_order>
|
730 |
<show_in_default>1</show_in_default>
|
731 |
<show_in_website>1</show_in_website>
|
732 |
<show_in_store>1</show_in_store>
|
@@ -734,8 +1061,8 @@
|
|
734 |
<orderscount translate="label">
|
735 |
<label>Novalnet Minimum Orders Count</label>
|
736 |
<frontend_type>text</frontend_type>
|
737 |
-
|
738 |
-
<sort_order>
|
739 |
<comment>Novalnet Minimum Orders Count Desc</comment>
|
740 |
<show_in_default>1</show_in_default>
|
741 |
<show_in_website>1</show_in_website>
|
@@ -745,8 +1072,8 @@
|
|
745 |
<label>Novalnet Sort Order</label>
|
746 |
<comment>Sort order of display. Lowest is displayed first.</comment>
|
747 |
<frontend_type>text</frontend_type>
|
748 |
-
|
749 |
-
<sort_order>
|
750 |
<show_in_default>1</show_in_default>
|
751 |
<show_in_website>1</show_in_website>
|
752 |
<show_in_store>1</show_in_store>
|
@@ -765,7 +1092,7 @@
|
|
765 |
<active translate="label">
|
766 |
<label>Enable Novalnet Module</label>
|
767 |
<frontend_type>select</frontend_type>
|
768 |
-
|
769 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
770 |
<sort_order>1</sort_order>
|
771 |
<show_in_default>1</show_in_default>
|
@@ -775,7 +1102,7 @@
|
|
775 |
<title translate="label">
|
776 |
<label>Novalnet Title</label>
|
777 |
<frontend_type>text</frontend_type>
|
778 |
-
|
779 |
<sort_order>2</sort_order>
|
780 |
<show_in_default>1</show_in_default>
|
781 |
<show_in_website>1</show_in_website>
|
@@ -785,7 +1112,7 @@
|
|
785 |
<label>Set order Status</label>
|
786 |
<comment>Set the status of orders made with this payment module to this value</comment>
|
787 |
<frontend_type>select</frontend_type>
|
788 |
-
|
789 |
<source_model>adminhtml/system_config_source_order_status</source_model>
|
790 |
<sort_order>3</sort_order>
|
791 |
<show_in_default>1</show_in_default>
|
@@ -793,21 +1120,40 @@
|
|
793 |
<show_in_store>1</show_in_store>
|
794 |
</order_status>
|
795 |
<booking_reference translate="label">
|
796 |
-
<label>Information to the end customer</label>
|
797 |
-
<comment>will appear in the payment form</comment>
|
798 |
<frontend_type>text</frontend_type>
|
799 |
-
|
800 |
-
<sort_order>
|
801 |
<show_in_default>1</show_in_default>
|
802 |
<show_in_website>1</show_in_website>
|
803 |
<show_in_store>1</show_in_store>
|
804 |
</booking_reference>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
805 |
<user_group_excluded translate="label">
|
806 |
<comment>Excluded User Group Desc</comment>
|
807 |
<label>User Group Excluded</label>
|
808 |
<frontend_type>text</frontend_type>
|
809 |
-
|
810 |
-
<sort_order>
|
811 |
<show_in_default>1</show_in_default>
|
812 |
<show_in_website>1</show_in_website>
|
813 |
<show_in_store>1</show_in_store>
|
@@ -816,8 +1162,8 @@
|
|
816 |
<comment>Gateway Timeout in seconds</comment>
|
817 |
<label>Gateway Timeout</label>
|
818 |
<frontend_type>text</frontend_type>
|
819 |
-
|
820 |
-
<sort_order>
|
821 |
<show_in_default>1</show_in_default>
|
822 |
<show_in_website>1</show_in_website>
|
823 |
<show_in_store>1</show_in_store>
|
@@ -825,8 +1171,8 @@
|
|
825 |
<allowspecific translate="label">
|
826 |
<label>Payment from applicable countries</label>
|
827 |
<frontend_type>allowspecific</frontend_type>
|
828 |
-
|
829 |
-
<sort_order>
|
830 |
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
831 |
<show_in_default>1</show_in_default>
|
832 |
<show_in_website>1</show_in_website>
|
@@ -835,8 +1181,8 @@
|
|
835 |
<specificcountry translate="label">
|
836 |
<label>Payment from Specific countries</label>
|
837 |
<frontend_type>multiselect</frontend_type>
|
838 |
-
|
839 |
-
<sort_order>
|
840 |
<source_model>adminhtml/system_config_source_country</source_model>
|
841 |
<show_in_default>1</show_in_default>
|
842 |
<show_in_website>1</show_in_website>
|
@@ -846,8 +1192,8 @@
|
|
846 |
<min_order_total translate="label">
|
847 |
<label>Novalnet Minimum Order Total</label>
|
848 |
<frontend_type>text</frontend_type>
|
849 |
-
|
850 |
-
<sort_order>
|
851 |
<show_in_default>1</show_in_default>
|
852 |
<show_in_website>1</show_in_website>
|
853 |
<show_in_store>1</show_in_store>
|
@@ -855,8 +1201,8 @@
|
|
855 |
<max_order_total translate="label">
|
856 |
<label>Novalnet Maximum Order Total</label>
|
857 |
<frontend_type>text</frontend_type>
|
858 |
-
|
859 |
-
<sort_order>
|
860 |
<show_in_default>1</show_in_default>
|
861 |
<show_in_website>1</show_in_website>
|
862 |
<show_in_store>1</show_in_store>
|
@@ -864,8 +1210,8 @@
|
|
864 |
<orderscount translate="label">
|
865 |
<label>Novalnet Minimum Orders Count</label>
|
866 |
<frontend_type>text</frontend_type>
|
867 |
-
|
868 |
-
<sort_order>
|
869 |
<comment>Novalnet Minimum Orders Count Desc</comment>
|
870 |
<show_in_default>1</show_in_default>
|
871 |
<show_in_website>1</show_in_website>
|
@@ -875,8 +1221,8 @@
|
|
875 |
<label>Novalnet Sort Order</label>
|
876 |
<comment>Sort order of display. Lowest is displayed first.</comment>
|
877 |
<frontend_type>text</frontend_type>
|
878 |
-
|
879 |
-
<sort_order>
|
880 |
<show_in_default>1</show_in_default>
|
881 |
<show_in_website>1</show_in_website>
|
882 |
<show_in_store>1</show_in_store>
|
@@ -895,7 +1241,7 @@
|
|
895 |
<active translate="label">
|
896 |
<label>Enable Novalnet Module</label>
|
897 |
<frontend_type>select</frontend_type>
|
898 |
-
|
899 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
900 |
<sort_order>0</sort_order>
|
901 |
<show_in_default>1</show_in_default>
|
@@ -905,7 +1251,7 @@
|
|
905 |
<title translate="label">
|
906 |
<label>Novalnet Title</label>
|
907 |
<frontend_type>text</frontend_type>
|
908 |
-
|
909 |
<sort_order>2</sort_order>
|
910 |
<show_in_default>1</show_in_default>
|
911 |
<show_in_website>1</show_in_website>
|
@@ -914,7 +1260,7 @@
|
|
914 |
<order_status translate="label">
|
915 |
<label>Order Status Before Payment</label>
|
916 |
<frontend_type>select</frontend_type>
|
917 |
-
|
918 |
<source_model>adminhtml/system_config_source_order_status</source_model>
|
919 |
<sort_order>3</sort_order>
|
920 |
<show_in_default>1</show_in_default>
|
@@ -924,7 +1270,7 @@
|
|
924 |
<order_status_after_payment translate="label">
|
925 |
<label>Order Status After Successful Payment</label>
|
926 |
<frontend_type>select</frontend_type>
|
927 |
-
|
928 |
<source_model>adminhtml/system_config_source_order_status</source_model>
|
929 |
<sort_order>4</sort_order>
|
930 |
<show_in_default>1</show_in_default>
|
@@ -932,21 +1278,40 @@
|
|
932 |
<show_in_store>1</show_in_store>
|
933 |
</order_status_after_payment>
|
934 |
<booking_reference translate="label">
|
935 |
-
<label>Information to the end customer</label>
|
936 |
-
<comment>will appear in the payment form</comment>
|
937 |
<frontend_type>text</frontend_type>
|
938 |
-
|
939 |
-
<sort_order>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
940 |
<show_in_default>1</show_in_default>
|
941 |
<show_in_website>1</show_in_website>
|
942 |
<show_in_store>1</show_in_store>
|
943 |
-
</
|
944 |
<user_group_excluded translate="label">
|
945 |
<comment>Excluded User Group Desc</comment>
|
946 |
<label>User Group Excluded</label>
|
947 |
<frontend_type>text</frontend_type>
|
948 |
-
|
949 |
-
<sort_order>
|
950 |
<show_in_default>1</show_in_default>
|
951 |
<show_in_website>1</show_in_website>
|
952 |
<show_in_store>1</show_in_store>
|
@@ -954,9 +1319,9 @@
|
|
954 |
<save_cancelled_tid translate="label">
|
955 |
<label>Display Novalnet Transaction ID for Cancelled Order</label>
|
956 |
<frontend_type>select</frontend_type>
|
957 |
-
|
958 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
959 |
-
<sort_order>
|
960 |
<show_in_default>1</show_in_default>
|
961 |
<show_in_website>1</show_in_website>
|
962 |
<show_in_store>1</show_in_store>
|
@@ -965,8 +1330,8 @@
|
|
965 |
<comment>Gateway Timeout in seconds</comment>
|
966 |
<label>Gateway Timeout</label>
|
967 |
<frontend_type>text</frontend_type>
|
968 |
-
|
969 |
-
<sort_order>
|
970 |
<show_in_default>1</show_in_default>
|
971 |
<show_in_website>1</show_in_website>
|
972 |
<show_in_store>1</show_in_store>
|
@@ -974,8 +1339,8 @@
|
|
974 |
<allowspecific translate="label">
|
975 |
<label>Payment from applicable countries</label>
|
976 |
<frontend_type>allowspecific</frontend_type>
|
977 |
-
|
978 |
-
<sort_order>
|
979 |
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
980 |
<show_in_default>1</show_in_default>
|
981 |
<show_in_website>1</show_in_website>
|
@@ -984,8 +1349,8 @@
|
|
984 |
<specificcountry translate="label">
|
985 |
<label>Payment from Specific countries</label>
|
986 |
<frontend_type>multiselect</frontend_type>
|
987 |
-
|
988 |
-
<sort_order>
|
989 |
<source_model>adminhtml/system_config_source_country</source_model>
|
990 |
<show_in_default>1</show_in_default>
|
991 |
<show_in_website>1</show_in_website>
|
@@ -995,8 +1360,8 @@
|
|
995 |
<min_order_total translate="label">
|
996 |
<label>Novalnet Minimum Order Total</label>
|
997 |
<frontend_type>text</frontend_type>
|
998 |
-
|
999 |
-
<sort_order>
|
1000 |
<show_in_default>1</show_in_default>
|
1001 |
<show_in_website>1</show_in_website>
|
1002 |
<show_in_store>1</show_in_store>
|
@@ -1004,8 +1369,8 @@
|
|
1004 |
<max_order_total translate="label">
|
1005 |
<label>Novalnet Maximum Order Total</label>
|
1006 |
<frontend_type>text</frontend_type>
|
1007 |
-
|
1008 |
-
<sort_order>
|
1009 |
<show_in_default>1</show_in_default>
|
1010 |
<show_in_website>1</show_in_website>
|
1011 |
<show_in_store>1</show_in_store>
|
@@ -1013,8 +1378,8 @@
|
|
1013 |
<orderscount translate="label">
|
1014 |
<label>Novalnet Minimum Orders Count</label>
|
1015 |
<frontend_type>text</frontend_type>
|
1016 |
-
|
1017 |
-
<sort_order>
|
1018 |
<comment>Novalnet Minimum Orders Count Desc</comment>
|
1019 |
<show_in_default>1</show_in_default>
|
1020 |
<show_in_website>1</show_in_website>
|
@@ -1024,8 +1389,8 @@
|
|
1024 |
<label>Novalnet Sort Order</label>
|
1025 |
<comment>Sort order of display. Lowest is displayed first.</comment>
|
1026 |
<frontend_type>text</frontend_type>
|
1027 |
-
|
1028 |
-
<sort_order>
|
1029 |
<show_in_default>1</show_in_default>
|
1030 |
<show_in_website>1</show_in_website>
|
1031 |
<show_in_store>1</show_in_store>
|
@@ -1082,21 +1447,40 @@
|
|
1082 |
<show_in_store>1</show_in_store>
|
1083 |
</order_status_after_payment>
|
1084 |
<booking_reference translate="label">
|
1085 |
-
<label>Information to the end customer</label>
|
1086 |
-
<comment>will appear in the payment form</comment>
|
1087 |
<frontend_type>text</frontend_type>
|
1088 |
<config_path>payment/novalnetPaypal/booking_reference</config_path>
|
1089 |
-
<sort_order>
|
1090 |
<show_in_default>1</show_in_default>
|
1091 |
<show_in_website>1</show_in_website>
|
1092 |
<show_in_store>1</show_in_store>
|
1093 |
</booking_reference>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1094 |
<user_group_excluded translate="label">
|
1095 |
<comment>Excluded User Group Desc</comment>
|
1096 |
<label>User Group Excluded</label>
|
1097 |
<frontend_type>text</frontend_type>
|
1098 |
<config_path>payment/novalnetPaypal/user_group_excluded</config_path>
|
1099 |
-
<sort_order>
|
1100 |
<show_in_default>1</show_in_default>
|
1101 |
<show_in_website>1</show_in_website>
|
1102 |
<show_in_store>1</show_in_store>
|
@@ -1106,7 +1490,7 @@
|
|
1106 |
<frontend_type>select</frontend_type>
|
1107 |
<config_path>payment/novalnetPaypal/save_cancelled_tid</config_path>
|
1108 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1109 |
-
<sort_order>
|
1110 |
<show_in_default>1</show_in_default>
|
1111 |
<show_in_website>1</show_in_website>
|
1112 |
<show_in_store>1</show_in_store>
|
@@ -1116,7 +1500,7 @@
|
|
1116 |
<label>Gateway Timeout</label>
|
1117 |
<frontend_type>text</frontend_type>
|
1118 |
<config_path>payment/novalnetPaypal/gateway_timeout</config_path>
|
1119 |
-
<sort_order>
|
1120 |
<show_in_default>1</show_in_default>
|
1121 |
<show_in_website>1</show_in_website>
|
1122 |
<show_in_store>1</show_in_store>
|
@@ -1125,7 +1509,7 @@
|
|
1125 |
<label>Payment from applicable countries</label>
|
1126 |
<frontend_type>allowspecific</frontend_type>
|
1127 |
<config_path>payment/novalnetPaypal/allowspecific</config_path>
|
1128 |
-
<sort_order>
|
1129 |
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1130 |
<show_in_default>1</show_in_default>
|
1131 |
<show_in_website>1</show_in_website>
|
@@ -1135,7 +1519,7 @@
|
|
1135 |
<label>Payment from Specific countries</label>
|
1136 |
<frontend_type>multiselect</frontend_type>
|
1137 |
<config_path>payment/novalnetPaypal/specificcountry</config_path>
|
1138 |
-
<sort_order>
|
1139 |
<source_model>adminhtml/system_config_source_country</source_model>
|
1140 |
<show_in_default>1</show_in_default>
|
1141 |
<show_in_website>1</show_in_website>
|
@@ -1147,8 +1531,8 @@
|
|
1147 |
<min_order_total translate="label">
|
1148 |
<label>Novalnet Minimum Order Total</label>
|
1149 |
<frontend_type>text</frontend_type>
|
1150 |
-
|
1151 |
-
<sort_order>
|
1152 |
<show_in_default>1</show_in_default>
|
1153 |
<show_in_website>1</show_in_website>
|
1154 |
<show_in_store>1</show_in_store>
|
@@ -1157,7 +1541,7 @@
|
|
1157 |
<label>Novalnet Maximum Order Total</label>
|
1158 |
<frontend_type>text</frontend_type>
|
1159 |
<config_path>payment/novalnetPaypal/max_order_total</config_path>
|
1160 |
-
<sort_order>
|
1161 |
<show_in_default>1</show_in_default>
|
1162 |
<show_in_website>1</show_in_website>
|
1163 |
<show_in_store>1</show_in_store>
|
@@ -1166,7 +1550,7 @@
|
|
1166 |
<label>Novalnet Minimum Orders Count</label>
|
1167 |
<frontend_type>text</frontend_type>
|
1168 |
<config_path>payment/novalnetPaypal/orderscount</config_path>
|
1169 |
-
<sort_order>
|
1170 |
<comment>Novalnet Minimum Orders Count Desc</comment>
|
1171 |
<show_in_default>1</show_in_default>
|
1172 |
<show_in_website>1</show_in_website>
|
@@ -1177,7 +1561,7 @@
|
|
1177 |
<comment>Sort order of display. Lowest is displayed first.</comment>
|
1178 |
<frontend_type>text</frontend_type>
|
1179 |
<config_path>payment/novalnetPaypal/sort_order</config_path>
|
1180 |
-
<sort_order>
|
1181 |
<show_in_default>1</show_in_default>
|
1182 |
<show_in_website>1</show_in_website>
|
1183 |
<show_in_store>1</show_in_store>
|
@@ -1197,7 +1581,7 @@
|
|
1197 |
<active translate="label">
|
1198 |
<label>Enable Novalnet Module</label>
|
1199 |
<frontend_type>select</frontend_type>
|
1200 |
-
|
1201 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1202 |
<sort_order>1</sort_order>
|
1203 |
<show_in_default>1</show_in_default>
|
@@ -1234,21 +1618,40 @@
|
|
1234 |
<show_in_store>1</show_in_store>
|
1235 |
</order_status_after_payment>
|
1236 |
<booking_reference translate="label">
|
1237 |
-
<label>Information to the end customer</label>
|
1238 |
-
<comment>will appear in the payment form</comment>
|
1239 |
<frontend_type>text</frontend_type>
|
1240 |
<config_path>payment/novalnetIdeal/booking_reference</config_path>
|
1241 |
-
<sort_order>
|
1242 |
<show_in_default>1</show_in_default>
|
1243 |
<show_in_website>1</show_in_website>
|
1244 |
<show_in_store>1</show_in_store>
|
1245 |
</booking_reference>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1246 |
<user_group_excluded translate="label">
|
1247 |
<comment>Excluded User Group Desc</comment>
|
1248 |
<label>User Group Excluded</label>
|
1249 |
<frontend_type>text</frontend_type>
|
1250 |
<config_path>payment/novalnetIdeal/user_group_excluded</config_path>
|
1251 |
-
<sort_order>
|
1252 |
<show_in_default>1</show_in_default>
|
1253 |
<show_in_website>1</show_in_website>
|
1254 |
<show_in_store>1</show_in_store>
|
@@ -1258,7 +1661,7 @@
|
|
1258 |
<frontend_type>select</frontend_type>
|
1259 |
<config_path>payment/novalnetIdeal/save_cancelled_tid</config_path>
|
1260 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1261 |
-
<sort_order>
|
1262 |
<show_in_default>1</show_in_default>
|
1263 |
<show_in_website>1</show_in_website>
|
1264 |
<show_in_store>1</show_in_store>
|
@@ -1268,7 +1671,7 @@
|
|
1268 |
<label>Gateway Timeout</label>
|
1269 |
<frontend_type>text</frontend_type>
|
1270 |
<config_path>payment/novalnetIdeal/gateway_timeout</config_path>
|
1271 |
-
<sort_order>
|
1272 |
<show_in_default>1</show_in_default>
|
1273 |
<show_in_website>1</show_in_website>
|
1274 |
<show_in_store>1</show_in_store>
|
@@ -1277,7 +1680,7 @@
|
|
1277 |
<label>Payment from applicable countries</label>
|
1278 |
<frontend_type>allowspecific</frontend_type>
|
1279 |
<config_path>payment/novalnetIdeal/allowspecific</config_path>
|
1280 |
-
<sort_order>
|
1281 |
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1282 |
<show_in_default>1</show_in_default>
|
1283 |
<show_in_website>1</show_in_website>
|
@@ -1287,7 +1690,7 @@
|
|
1287 |
<label>Payment from Specific countries</label>
|
1288 |
<frontend_type>multiselect</frontend_type>
|
1289 |
<config_path>payment/novalnetIdeal/specificcountry</config_path>
|
1290 |
-
<sort_order>
|
1291 |
<source_model>adminhtml/system_config_source_country</source_model>
|
1292 |
<show_in_default>1</show_in_default>
|
1293 |
<show_in_website>1</show_in_website>
|
@@ -1295,28 +1698,28 @@
|
|
1295 |
<depends><allowspecific>1</allowspecific></depends>
|
1296 |
</specificcountry>
|
1297 |
<min_order_total translate="label">
|
1298 |
-
|
1299 |
-
|
1300 |
-
|
1301 |
-
|
1302 |
-
|
1303 |
-
|
1304 |
-
|
1305 |
</min_order_total>
|
1306 |
<max_order_total translate="label">
|
1307 |
-
|
1308 |
-
|
1309 |
-
|
1310 |
-
|
1311 |
-
|
1312 |
-
|
1313 |
-
|
1314 |
</max_order_total>
|
1315 |
<orderscount translate="label">
|
1316 |
<label>Novalnet Minimum Orders Count</label>
|
1317 |
<frontend_type>text</frontend_type>
|
1318 |
<config_path>payment/novalnetIdeal/orderscount</config_path>
|
1319 |
-
<sort_order>
|
1320 |
<comment>Novalnet Minimum Orders Count Desc</comment>
|
1321 |
<show_in_default>1</show_in_default>
|
1322 |
<show_in_website>1</show_in_website>
|
@@ -1327,7 +1730,7 @@
|
|
1327 |
<comment>Sort order of display. Lowest is displayed first.</comment>
|
1328 |
<frontend_type>text</frontend_type>
|
1329 |
<config_path>payment/novalnetIdeal/sort_order</config_path>
|
1330 |
-
<sort_order>
|
1331 |
<show_in_default>1</show_in_default>
|
1332 |
<show_in_website>1</show_in_website>
|
1333 |
<show_in_store>1</show_in_store>
|
@@ -1356,7 +1759,7 @@
|
|
1356 |
<title translate="label">
|
1357 |
<label>Novalnet Title</label>
|
1358 |
<frontend_type>text</frontend_type>
|
1359 |
-
|
1360 |
<sort_order>2</sort_order>
|
1361 |
<show_in_default>1</show_in_default>
|
1362 |
<show_in_website>1</show_in_website>
|
@@ -1365,7 +1768,7 @@
|
|
1365 |
<order_status translate="label">
|
1366 |
<label>Set order Status</label>
|
1367 |
<frontend_type>select</frontend_type>
|
1368 |
-
|
1369 |
<source_model>adminhtml/system_config_source_order_status</source_model>
|
1370 |
<sort_order>3</sort_order>
|
1371 |
<show_in_default>1</show_in_default>
|
@@ -1373,21 +1776,40 @@
|
|
1373 |
<show_in_store>1</show_in_store>
|
1374 |
</order_status>
|
1375 |
<booking_reference translate="label">
|
1376 |
-
<label>Information to the end customer</label>
|
1377 |
-
<comment>will appear in the payment form</comment>
|
1378 |
<frontend_type>text</frontend_type>
|
1379 |
-
|
1380 |
-
<sort_order>
|
1381 |
<show_in_default>1</show_in_default>
|
1382 |
<show_in_website>1</show_in_website>
|
1383 |
<show_in_store>1</show_in_store>
|
1384 |
</booking_reference>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1385 |
<user_group_excluded translate="label">
|
1386 |
<comment>Excluded User Group Desc</comment>
|
1387 |
<label>User Group Excluded</label>
|
1388 |
<frontend_type>text</frontend_type>
|
1389 |
-
|
1390 |
-
<sort_order>
|
1391 |
<show_in_default>1</show_in_default>
|
1392 |
<show_in_website>1</show_in_website>
|
1393 |
<show_in_store>1</show_in_store>
|
@@ -1396,8 +1818,8 @@
|
|
1396 |
<comment>Gateway Timeout in seconds</comment>
|
1397 |
<label>Gateway Timeout</label>
|
1398 |
<frontend_type>text</frontend_type>
|
1399 |
-
|
1400 |
-
<sort_order>
|
1401 |
<show_in_default>1</show_in_default>
|
1402 |
<show_in_website>1</show_in_website>
|
1403 |
<show_in_store>1</show_in_store>
|
@@ -1405,8 +1827,8 @@
|
|
1405 |
<allowspecific translate="label">
|
1406 |
<label>Payment from applicable countries</label>
|
1407 |
<frontend_type>allowspecific</frontend_type>
|
1408 |
-
|
1409 |
-
<sort_order>
|
1410 |
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1411 |
<show_in_default>1</show_in_default>
|
1412 |
<show_in_website>1</show_in_website>
|
@@ -1415,8 +1837,8 @@
|
|
1415 |
<specificcountry translate="label">
|
1416 |
<label>Payment from Specific countries</label>
|
1417 |
<frontend_type>multiselect</frontend_type>
|
1418 |
-
|
1419 |
-
<sort_order>
|
1420 |
<source_model>adminhtml/system_config_source_country</source_model>
|
1421 |
<show_in_default>1</show_in_default>
|
1422 |
<show_in_website>1</show_in_website>
|
@@ -1426,8 +1848,8 @@
|
|
1426 |
<min_order_total translate="label">
|
1427 |
<label>Novalnet Minimum Order Total</label>
|
1428 |
<frontend_type>text</frontend_type>
|
1429 |
-
|
1430 |
-
<sort_order>
|
1431 |
<show_in_default>1</show_in_default>
|
1432 |
<show_in_website>1</show_in_website>
|
1433 |
<show_in_store>1</show_in_store>
|
@@ -1435,8 +1857,8 @@
|
|
1435 |
<max_order_total translate="label">
|
1436 |
<label>Novalnet Maximum Order Total</label>
|
1437 |
<frontend_type>text</frontend_type>
|
1438 |
-
|
1439 |
-
<sort_order>
|
1440 |
<show_in_default>1</show_in_default>
|
1441 |
<show_in_website>1</show_in_website>
|
1442 |
<show_in_store>1</show_in_store>
|
@@ -1444,8 +1866,8 @@
|
|
1444 |
<orderscount translate="label">
|
1445 |
<label>Novalnet Minimum Orders Count</label>
|
1446 |
<frontend_type>text</frontend_type>
|
1447 |
-
|
1448 |
-
<sort_order>
|
1449 |
<comment>Novalnet Minimum Orders Count Desc</comment>
|
1450 |
<show_in_default>1</show_in_default>
|
1451 |
<show_in_website>1</show_in_website>
|
@@ -1456,7 +1878,7 @@
|
|
1456 |
<comment>Sort order of display. Lowest is displayed first.</comment>
|
1457 |
<frontend_type>text</frontend_type>
|
1458 |
<config_path>payment/novalnetPhonepayment/sort_order</config_path>
|
1459 |
-
<sort_order>
|
1460 |
<show_in_default>1</show_in_default>
|
1461 |
<show_in_website>1</show_in_website>
|
1462 |
<show_in_store>1</show_in_store>
|
@@ -1467,7 +1889,7 @@
|
|
1467 |
<!--{{{ Novalnet Secure-->
|
1468 |
<novalnetSecure translate="label" module="novalnet_payment">
|
1469 |
<label>Novalnet Credit Card 3D-Secure</label>
|
1470 |
-
<sort_order>
|
1471 |
<show_in_default>1</show_in_default>
|
1472 |
<show_in_website>1</show_in_website>
|
1473 |
<show_in_store>1</show_in_store>
|
@@ -1494,7 +1916,7 @@
|
|
1494 |
<order_status translate="label">
|
1495 |
<label>Order Status Before Payment</label>
|
1496 |
<frontend_type>select</frontend_type>
|
1497 |
-
|
1498 |
<source_model>adminhtml/system_config_source_order_status</source_model>
|
1499 |
<sort_order>3</sort_order>
|
1500 |
<show_in_default>1</show_in_default>
|
@@ -1504,7 +1926,7 @@
|
|
1504 |
<order_status_after_payment translate="label">
|
1505 |
<label>Order Status After Successful Payment</label>
|
1506 |
<frontend_type>select</frontend_type>
|
1507 |
-
|
1508 |
<source_model>adminhtml/system_config_source_order_status</source_model>
|
1509 |
<sort_order>4</sort_order>
|
1510 |
<show_in_default>1</show_in_default>
|
@@ -1514,7 +1936,7 @@
|
|
1514 |
<cctypes translate="label">
|
1515 |
<label>Credit Card Types</label>
|
1516 |
<frontend_type>multiselect</frontend_type>
|
1517 |
-
|
1518 |
<source_model>novalnet_payment/novalnet_source_cctype</source_model>
|
1519 |
<sort_order>5</sort_order>
|
1520 |
<show_in_default>1</show_in_default>
|
@@ -1522,51 +1944,80 @@
|
|
1522 |
<show_in_store>1</show_in_store>
|
1523 |
</cctypes>
|
1524 |
<manual_checking_amount tranlate="label" >
|
1525 |
-
<label>Manual checking
|
1526 |
-
<comment>
|
1527 |
<frontend_type>text</frontend_type>
|
1528 |
-
|
1529 |
-
<sort_order>
|
1530 |
<show_in_default>1</show_in_default>
|
1531 |
<show_in_website>1</show_in_website>
|
1532 |
<show_in_store>1</show_in_store>
|
1533 |
</manual_checking_amount>
|
1534 |
<second_product_id translate="label">
|
1535 |
-
<label>Second
|
1536 |
-
<comment>
|
1537 |
<frontend_type>text</frontend_type>
|
1538 |
-
|
1539 |
-
<sort_order>
|
1540 |
<show_in_default>1</show_in_default>
|
1541 |
<show_in_website>1</show_in_website>
|
1542 |
<show_in_store>1</show_in_store>
|
1543 |
</second_product_id>
|
1544 |
<second_tariff_id translate="label">
|
1545 |
-
<label>Second
|
1546 |
-
<comment>
|
1547 |
<frontend_type>text</frontend_type>
|
1548 |
-
|
1549 |
-
<sort_order>
|
1550 |
<show_in_default>1</show_in_default>
|
1551 |
<show_in_website>1</show_in_website>
|
1552 |
<show_in_store>1</show_in_store>
|
1553 |
</second_tariff_id>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1554 |
<booking_reference translate="label">
|
1555 |
-
<label>Information to the end customer</label>
|
1556 |
-
<comment>will appear in the payment form</comment>
|
1557 |
<frontend_type>text</frontend_type>
|
1558 |
-
|
1559 |
-
<sort_order>
|
1560 |
<show_in_default>1</show_in_default>
|
1561 |
<show_in_website>1</show_in_website>
|
1562 |
<show_in_store>1</show_in_store>
|
1563 |
</booking_reference>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1564 |
<user_group_excluded translate="label">
|
1565 |
<comment>Excluded User Group Desc</comment>
|
1566 |
<label>User Group Excluded</label>
|
1567 |
<frontend_type>text</frontend_type>
|
1568 |
-
|
1569 |
-
<sort_order>
|
1570 |
<show_in_default>1</show_in_default>
|
1571 |
<show_in_website>1</show_in_website>
|
1572 |
<show_in_store>1</show_in_store>
|
@@ -1574,9 +2025,9 @@
|
|
1574 |
<save_cancelled_tid translate="label">
|
1575 |
<label>Display Novalnet Transaction ID for Cancelled Order</label>
|
1576 |
<frontend_type>select</frontend_type>
|
1577 |
-
|
1578 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1579 |
-
<sort_order>
|
1580 |
<show_in_default>1</show_in_default>
|
1581 |
<show_in_website>1</show_in_website>
|
1582 |
<show_in_store>1</show_in_store>
|
@@ -1585,8 +2036,8 @@
|
|
1585 |
<comment>Gateway Timeout in seconds</comment>
|
1586 |
<label>Gateway Timeout</label>
|
1587 |
<frontend_type>text</frontend_type>
|
1588 |
-
|
1589 |
-
<sort_order>
|
1590 |
<show_in_default>1</show_in_default>
|
1591 |
<show_in_website>1</show_in_website>
|
1592 |
<show_in_store>1</show_in_store>
|
@@ -1594,8 +2045,8 @@
|
|
1594 |
<allowspecific translate="label">
|
1595 |
<label>Payment from applicable countries</label>
|
1596 |
<frontend_type>allowspecific</frontend_type>
|
1597 |
-
|
1598 |
-
<sort_order>
|
1599 |
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1600 |
<show_in_default>1</show_in_default>
|
1601 |
<show_in_website>1</show_in_website>
|
@@ -1604,8 +2055,8 @@
|
|
1604 |
<specificcountry translate="label">
|
1605 |
<label>Payment from Specific countries</label>
|
1606 |
<frontend_type>multiselect</frontend_type>
|
1607 |
-
|
1608 |
-
<sort_order>
|
1609 |
<source_model>adminhtml/system_config_source_country</source_model>
|
1610 |
<show_in_default>1</show_in_default>
|
1611 |
<show_in_website>1</show_in_website>
|
@@ -1615,8 +2066,8 @@
|
|
1615 |
<min_order_total translate="label">
|
1616 |
<label>Novalnet Minimum Order Total</label>
|
1617 |
<frontend_type>text</frontend_type>
|
1618 |
-
|
1619 |
-
<sort_order>
|
1620 |
<show_in_default>1</show_in_default>
|
1621 |
<show_in_website>1</show_in_website>
|
1622 |
<show_in_store>1</show_in_store>
|
@@ -1625,27 +2076,27 @@
|
|
1625 |
<label>Novalnet Maximum Order Total</label>
|
1626 |
<frontend_type>text</frontend_type>
|
1627 |
<config_path>payment/novalnetSecure/max_order_total</config_path>
|
1628 |
-
<sort_order>
|
1629 |
<show_in_default>1</show_in_default>
|
1630 |
<show_in_website>1</show_in_website>
|
1631 |
<show_in_store>1</show_in_store>
|
1632 |
</max_order_total>
|
1633 |
<orderscount translate="label">
|
1634 |
-
|
1635 |
-
|
1636 |
-
|
1637 |
-
|
1638 |
-
|
1639 |
<show_in_default>1</show_in_default>
|
1640 |
-
|
1641 |
-
|
1642 |
</orderscount>
|
1643 |
<sort_order translate="label">
|
1644 |
<label>Novalnet Sort Order</label>
|
1645 |
<comment>Sort order of display. Lowest is displayed first.</comment>
|
1646 |
<frontend_type>text</frontend_type>
|
1647 |
<config_path>payment/novalnetSecure/sort_order</config_path>
|
1648 |
-
<sort_order>
|
1649 |
<show_in_default>1</show_in_default>
|
1650 |
<show_in_website>1</show_in_website>
|
1651 |
<show_in_store>1</show_in_store>
|
@@ -1653,16 +2104,185 @@
|
|
1653 |
</fields>
|
1654 |
</novalnetSecure>
|
1655 |
<!--}}} Novalnet Secure-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1656 |
</groups>
|
1657 |
</novalnet_paymethods>
|
1658 |
-
<!-- novalnet paymethods -->
|
1659 |
-
|
1660 |
<!-- Fraud prevention -->
|
1661 |
<fraud_prevent translate="label" module="novalnet_payment">
|
1662 |
<label>Risk and Control</label>
|
1663 |
<tab>novalnet</tab>
|
1664 |
<frontend_type>text</frontend_type>
|
1665 |
-
<sort_order>
|
1666 |
<show_in_default>1</show_in_default>
|
1667 |
<show_in_website>1</show_in_website>
|
1668 |
<show_in_store>1</show_in_store>
|
@@ -1678,7 +2298,7 @@
|
|
1678 |
<fields>
|
1679 |
<callback translate="label">
|
1680 |
<comment>PIN by Callback/SMS/E-Mail Desc</comment>
|
1681 |
-
<label>PIN by Callback/SMS/E-Mail</label>
|
1682 |
<frontend_type>select</frontend_type>
|
1683 |
<config_path>payment/novalnetCc/callback</config_path>
|
1684 |
<source_model>novalnet_payment/novalnet_source_callbacktypes</source_model>
|
@@ -1709,7 +2329,7 @@
|
|
1709 |
<fields>
|
1710 |
<callback translate="label">
|
1711 |
<comment>PIN by Callback/SMS/E-Mail Desc</comment>
|
1712 |
-
<label>PIN by Callback/SMS/E-Mail</label>
|
1713 |
<frontend_type>select</frontend_type>
|
1714 |
<config_path>payment/novalnetElvaustria/callback</config_path>
|
1715 |
<source_model>novalnet_payment/novalnet_source_callbacktypes</source_model>
|
@@ -1740,7 +2360,7 @@
|
|
1740 |
<fields>
|
1741 |
<callback translate="label">
|
1742 |
<comment>PIN by Callback/SMS/E-Mail Desc</comment>
|
1743 |
-
<label>PIN by Callback/SMS/E-Mail</label>
|
1744 |
<frontend_type>select</frontend_type>
|
1745 |
<config_path>payment/novalnetElvgerman/callback</config_path>
|
1746 |
<source_model>novalnet_payment/novalnet_source_callbacktypes</source_model>
|
@@ -1772,7 +2392,7 @@
|
|
1772 |
<fields>
|
1773 |
<callback translate="label">
|
1774 |
<comment>PIN by Callback/SMS/E-Mail Desc</comment>
|
1775 |
-
<label>PIN by Callback/SMS/E-Mail</label>
|
1776 |
<frontend_type>select</frontend_type>
|
1777 |
<config_path>payment/novalnetInvoice/callback</config_path>
|
1778 |
<source_model>novalnet_payment/novalnet_source_callbacktypes</source_model>
|
8 |
</novalnet>
|
9 |
</tabs>
|
10 |
<sections>
|
11 |
+
|
12 |
<!--{{{ Global tab-->
|
13 |
<novalnet_global translate="label" module="novalnet_payment">
|
14 |
+
<label>General</label>
|
15 |
<tab>novalnet</tab>
|
16 |
<frontend_type>text</frontend_type>
|
17 |
<sort_order>20</sort_order>
|
110 |
<show_in_website>1</show_in_website>
|
111 |
<show_in_store>1</show_in_store>
|
112 |
</api_sign>
|
113 |
+
<referrer_id translate="label">
|
114 |
+
<label>Referrer ID</label>
|
115 |
+
<comment>Referrer ID Desc</comment>
|
116 |
+
<frontend_type>text</frontend_type>
|
117 |
+
<sort_order>100</sort_order>
|
118 |
+
<show_in_default>1</show_in_default>
|
119 |
+
<show_in_website>1</show_in_website>
|
120 |
+
<show_in_store>1</show_in_store>
|
121 |
+
</referrer_id>
|
122 |
</fields>
|
123 |
</novalnet>
|
124 |
</groups>
|
173 |
<show_in_store>1</show_in_store>
|
174 |
</order_status>
|
175 |
<manual_checking_amount tranlate="label" >
|
176 |
+
<label>Manual checking of order</label>
|
177 |
+
<comment>Manual checking of order Desc</comment>
|
178 |
<frontend_type>text</frontend_type>
|
179 |
<config_path>payment/novalnetCc/manual_checking_amount</config_path>
|
180 |
+
<sort_order>4</sort_order>
|
181 |
<show_in_default>1</show_in_default>
|
182 |
<show_in_website>1</show_in_website>
|
183 |
<show_in_store>1</show_in_store>
|
184 |
</manual_checking_amount>
|
185 |
<second_product_id translate="label">
|
186 |
+
<label>Second Product ID for manual check condition</label>
|
187 |
+
<comment>Second Product ID in Novalnet to use the manual check condition</comment>
|
188 |
<frontend_type>text</frontend_type>
|
189 |
<config_path>payment/novalnetCc/second_product_id</config_path>
|
190 |
+
<sort_order>5</sort_order>
|
191 |
<show_in_default>1</show_in_default>
|
192 |
<show_in_website>1</show_in_website>
|
193 |
<show_in_store>1</show_in_store>
|
194 |
</second_product_id>
|
195 |
<second_tariff_id translate="label">
|
196 |
+
<label>Second Tariff ID for manual check condition</label>
|
197 |
+
<comment>Second Tariff ID in Novalnet to use the manual check condition</comment>
|
198 |
<frontend_type>text</frontend_type>
|
199 |
<config_path>payment/novalnetCc/second_tariff_id</config_path>
|
200 |
+
<sort_order>6</sort_order>
|
201 |
<show_in_default>1</show_in_default>
|
202 |
<show_in_website>1</show_in_website>
|
203 |
<show_in_store>1</show_in_store>
|
204 |
</second_tariff_id>
|
205 |
+
<cc_error translate="label">
|
206 |
+
<label>Auto refill the payment data entered in payment page</label>
|
207 |
+
<frontend_type>select</frontend_type>
|
208 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
209 |
+
<config_path>payment/novalnetCc/cc_error</config_path>
|
210 |
+
<sort_order>7</sort_order>
|
211 |
+
<show_in_default>1</show_in_default>
|
212 |
+
<show_in_website>1</show_in_website>
|
213 |
+
<show_in_store>1</show_in_store>
|
214 |
+
</cc_error>
|
215 |
+
<reference_one translate="label">
|
216 |
+
<label>Transaction reference 1</label>
|
217 |
+
<comment>This will appear in the transactions details / account statement</comment>
|
218 |
+
<frontend_type>text</frontend_type>
|
219 |
+
<config_path>payment/novalnetCc/reference_one</config_path>
|
220 |
+
<sort_order>12</sort_order>
|
221 |
+
<show_in_default>1</show_in_default>
|
222 |
+
<show_in_website>1</show_in_website>
|
223 |
+
<show_in_store>1</show_in_store>
|
224 |
+
</reference_one>
|
225 |
+
<reference_two translate="label">
|
226 |
+
<label>Transaction reference 2</label>
|
227 |
+
<comment>This will appear in the transactions details / account statement</comment>
|
228 |
+
<frontend_type>text</frontend_type>
|
229 |
+
<config_path>payment/novalnetCc/reference_two</config_path>
|
230 |
+
<sort_order>13</sort_order>
|
231 |
+
<show_in_default>1</show_in_default>
|
232 |
+
<show_in_website>1</show_in_website>
|
233 |
+
<show_in_store>1</show_in_store>
|
234 |
+
</reference_two>
|
235 |
<booking_reference translate="label">
|
236 |
+
<label>Information to the end customer (this will appear in the payment page)</label>
|
|
|
237 |
<frontend_type>text</frontend_type>
|
238 |
<config_path>payment/novalnetCc/booking_reference</config_path>
|
239 |
+
<sort_order>14</sort_order>
|
240 |
<show_in_default>1</show_in_default>
|
241 |
<show_in_website>1</show_in_website>
|
242 |
<show_in_store>1</show_in_store>
|
246 |
<label>User Group Excluded</label>
|
247 |
<frontend_type>text</frontend_type>
|
248 |
<config_path>payment/novalnetCc/user_group_excluded</config_path>
|
249 |
+
<sort_order>15</sort_order>
|
250 |
<show_in_default>1</show_in_default>
|
251 |
<show_in_website>1</show_in_website>
|
252 |
<show_in_store>1</show_in_store>
|
256 |
<label>Gateway Timeout</label>
|
257 |
<frontend_type>text</frontend_type>
|
258 |
<config_path>payment/novalnetCc/gateway_timeout</config_path>
|
259 |
+
<sort_order>16</sort_order>
|
260 |
<show_in_default>1</show_in_default>
|
261 |
<show_in_website>1</show_in_website>
|
262 |
<show_in_store>1</show_in_store>
|
265 |
<label>Payment from applicable countries</label>
|
266 |
<frontend_type>allowspecific</frontend_type>
|
267 |
<config_path>payment/novalnetCc/allowspecific</config_path>
|
268 |
+
<sort_order>17</sort_order>
|
269 |
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
270 |
<show_in_default>1</show_in_default>
|
271 |
<show_in_website>1</show_in_website>
|
275 |
<label>Payment from Specific countries</label>
|
276 |
<frontend_type>multiselect</frontend_type>
|
277 |
<config_path>payment/novalnetCc/specificcountry</config_path>
|
278 |
+
<sort_order>18</sort_order>
|
279 |
<source_model>adminhtml/system_config_source_country</source_model>
|
280 |
<show_in_default>1</show_in_default>
|
281 |
<show_in_website>1</show_in_website>
|
286 |
<label>Novalnet Minimum Order Total</label>
|
287 |
<frontend_type>text</frontend_type>
|
288 |
<config_path>payment/novalnetCc/min_order_total</config_path>
|
289 |
+
<sort_order>19</sort_order>
|
290 |
<show_in_default>1</show_in_default>
|
291 |
<show_in_website>1</show_in_website>
|
292 |
<show_in_store>1</show_in_store>
|
295 |
<label>Novalnet Maximum Order Total</label>
|
296 |
<frontend_type>text</frontend_type>
|
297 |
<config_path>payment/novalnetCc/max_order_total</config_path>
|
298 |
+
<sort_order>20</sort_order>
|
299 |
<show_in_default>1</show_in_default>
|
300 |
<show_in_website>1</show_in_website>
|
301 |
<show_in_store>1</show_in_store>
|
304 |
<label>Novalnet Minimum Orders Count</label>
|
305 |
<frontend_type>text</frontend_type>
|
306 |
<config_path>payment/novalnetCc/orderscount</config_path>
|
307 |
+
<sort_order>21</sort_order>
|
308 |
<comment>Novalnet Minimum Orders Count Desc</comment>
|
309 |
<show_in_default>1</show_in_default>
|
310 |
<show_in_website>1</show_in_website>
|
315 |
<comment>Sort order of display. Lowest is displayed first.</comment>
|
316 |
<frontend_type>text</frontend_type>
|
317 |
<config_path>payment/novalnetCc/sort_order</config_path>
|
318 |
+
<sort_order>22</sort_order>
|
319 |
<show_in_default>1</show_in_default>
|
320 |
<show_in_website>1</show_in_website>
|
321 |
<show_in_store>1</show_in_store>
|
323 |
</fields>
|
324 |
</novalnetCc>
|
325 |
<!--}}} Novalnet Credit Card-->
|
326 |
+
<!--{{{ Novalnet SEPA-->
|
327 |
+
<novalnetSepa translate="label" module="novalnet_payment">
|
328 |
+
<label>Novalnet Direct Debit SEPA</label>
|
329 |
+
<sort_order>683</sort_order>
|
330 |
+
<show_in_default>1</show_in_default>
|
331 |
+
<show_in_website>1</show_in_website>
|
332 |
+
<show_in_store>1</show_in_store>
|
333 |
+
<fields>
|
334 |
+
<active translate="label">
|
335 |
+
<label>Enable Novalnet Module</label>
|
336 |
+
<frontend_type>select</frontend_type>
|
337 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
338 |
+
<config_path>payment/novalnetSepa/active</config_path>
|
339 |
+
<sort_order>1</sort_order>
|
340 |
+
<show_in_default>1</show_in_default>
|
341 |
+
<show_in_website>1</show_in_website>
|
342 |
+
<show_in_store>1</show_in_store>
|
343 |
+
</active>
|
344 |
+
<title translate="label">
|
345 |
+
<label>Novalnet Title</label>
|
346 |
+
<frontend_type>text</frontend_type>
|
347 |
+
<config_path>payment/novalnetSepa/title</config_path>
|
348 |
+
<sort_order>2</sort_order>
|
349 |
+
<show_in_default>1</show_in_default>
|
350 |
+
<show_in_website>1</show_in_website>
|
351 |
+
<show_in_store>1</show_in_store>
|
352 |
+
</title>
|
353 |
+
<order_status translate="label">
|
354 |
+
<label>Set order Status</label>
|
355 |
+
<comment>Set the status of orders made with this payment module to this value</comment>
|
356 |
+
<frontend_type>select</frontend_type>
|
357 |
+
<config_path>payment/novalnetSepa/order_status</config_path>
|
358 |
+
<source_model>adminhtml/system_config_source_order_status</source_model>
|
359 |
+
<sort_order>3</sort_order>
|
360 |
+
<show_in_default>1</show_in_default>
|
361 |
+
<show_in_website>1</show_in_website>
|
362 |
+
<show_in_store>1</show_in_store>
|
363 |
+
</order_status>
|
364 |
+
<manual_checking_amount tranlate="label" >
|
365 |
+
<label>Manual checking of order</label>
|
366 |
+
<comment>Manual checking of order Desc</comment>
|
367 |
+
<frontend_type>text</frontend_type>
|
368 |
+
<config_path>payment/novalnetSepa/manual_checking_amount</config_path>
|
369 |
+
<sort_order>4</sort_order>
|
370 |
+
<show_in_default>1</show_in_default>
|
371 |
+
<show_in_website>1</show_in_website>
|
372 |
+
<show_in_store>1</show_in_store>
|
373 |
+
</manual_checking_amount>
|
374 |
+
<second_product_id translate="label">
|
375 |
+
<label>Second Product ID for manual check condition</label>
|
376 |
+
<comment>Second Product ID in Novalnet to use the manual check condition</comment>
|
377 |
+
<frontend_type>text</frontend_type>
|
378 |
+
<config_path>payment/novalnetSepa/second_product_id</config_path>
|
379 |
+
<sort_order>5</sort_order>
|
380 |
+
<show_in_default>1</show_in_default>
|
381 |
+
<show_in_website>1</show_in_website>
|
382 |
+
<show_in_store>1</show_in_store>
|
383 |
+
</second_product_id>
|
384 |
+
<second_tariff_id translate="label">
|
385 |
+
<label>Second Tariff ID for manual check condition</label>
|
386 |
+
<comment>Second Tariff ID in Novalnet to use the manual check condition</comment>
|
387 |
+
<frontend_type>text</frontend_type>
|
388 |
+
<config_path>payment/novalnetSepa/second_tariff_id</config_path>
|
389 |
+
<sort_order>6</sort_order>
|
390 |
+
<show_in_default>1</show_in_default>
|
391 |
+
<show_in_website>1</show_in_website>
|
392 |
+
<show_in_store>1</show_in_store>
|
393 |
+
</second_tariff_id>
|
394 |
+
<sepatypes translate="label">
|
395 |
+
<label>SEPA Payment Type</label>
|
396 |
+
<comment>SEPA Payment type Desc</comment>
|
397 |
+
<frontend_type>select</frontend_type>
|
398 |
+
<config_path>payment/novalnetSepa/sepatypes</config_path>
|
399 |
+
<source_model>novalnet_payment/novalnet_source_sepatype</source_model>
|
400 |
+
<sort_order>7</sort_order>
|
401 |
+
<show_in_default>1</show_in_default>
|
402 |
+
<show_in_website>1</show_in_website>
|
403 |
+
<show_in_store>1</show_in_store>
|
404 |
+
</sepatypes>
|
405 |
+
<sepa_duedate translate="label">
|
406 |
+
<label>SEPA Payment duration in days</label>
|
407 |
+
<comment>SEPA Due Date description</comment>
|
408 |
+
<frontend_type>text</frontend_type>
|
409 |
+
<config_path>payment/novalnetSepa/sepa_due_date</config_path>
|
410 |
+
<sort_order>8</sort_order>
|
411 |
+
<show_in_default>1</show_in_default>
|
412 |
+
<show_in_website>1</show_in_website>
|
413 |
+
<show_in_store>1</show_in_store>
|
414 |
+
<depends><sepatypes>DD_SEPA</sepatypes></depends>
|
415 |
+
</sepa_duedate>
|
416 |
+
<sepa_error translate="label">
|
417 |
+
<label>Auto refill the payment data entered in payment page</label>
|
418 |
+
<frontend_type>select</frontend_type>
|
419 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
420 |
+
<config_path>payment/novalnetSepa/sepa_error</config_path>
|
421 |
+
<sort_order>9</sort_order>
|
422 |
+
<show_in_default>1</show_in_default>
|
423 |
+
<show_in_website>1</show_in_website>
|
424 |
+
<show_in_store>1</show_in_store>
|
425 |
+
</sepa_error>
|
426 |
+
<reference_one translate="label">
|
427 |
+
<label>Transaction reference 1</label>
|
428 |
+
<comment>This will appear in the transactions details / account statement</comment>
|
429 |
+
<frontend_type>text</frontend_type>
|
430 |
+
<config_path>payment/novalnetSepa/reference_one</config_path>
|
431 |
+
<sort_order>14</sort_order>
|
432 |
+
<show_in_default>1</show_in_default>
|
433 |
+
<show_in_website>1</show_in_website>
|
434 |
+
<show_in_store>1</show_in_store>
|
435 |
+
</reference_one>
|
436 |
+
<reference_two translate="label">
|
437 |
+
<label>Transaction reference 2</label>
|
438 |
+
<comment>This will appear in the transactions details / account statement</comment>
|
439 |
+
<frontend_type>text</frontend_type>
|
440 |
+
<config_path>payment/novalnetSepa/reference_two</config_path>
|
441 |
+
<sort_order>15</sort_order>
|
442 |
+
<show_in_default>1</show_in_default>
|
443 |
+
<show_in_website>1</show_in_website>
|
444 |
+
<show_in_store>1</show_in_store>
|
445 |
+
</reference_two>
|
446 |
+
<booking_reference translate="label">
|
447 |
+
<label>Information to the end customer (this will appear in the payment page)</label>
|
448 |
+
<frontend_type>text</frontend_type>
|
449 |
+
<config_path>payment/novalnetSepa/booking_reference</config_path>
|
450 |
+
<sort_order>16</sort_order>
|
451 |
+
<show_in_default>1</show_in_default>
|
452 |
+
<show_in_website>1</show_in_website>
|
453 |
+
<show_in_store>1</show_in_store>
|
454 |
+
</booking_reference>
|
455 |
+
<user_group_excluded translate="label">
|
456 |
+
<comment>Excluded User Group Desc</comment>
|
457 |
+
<label>User Group Excluded</label>
|
458 |
+
<frontend_type>text</frontend_type>
|
459 |
+
<config_path>payment/novalnetSepa/user_group_excluded</config_path>
|
460 |
+
<sort_order>17</sort_order>
|
461 |
+
<show_in_default>1</show_in_default>
|
462 |
+
<show_in_website>1</show_in_website>
|
463 |
+
<show_in_store>1</show_in_store>
|
464 |
+
</user_group_excluded>
|
465 |
+
<gateway_timeout translate="label">
|
466 |
+
<comment>Gateway Timeout in seconds</comment>
|
467 |
+
<label>Gateway Timeout</label>
|
468 |
+
<frontend_type>text</frontend_type>
|
469 |
+
<config_path>payment/novalnetSepa/gateway_timeout</config_path>
|
470 |
+
<sort_order>18</sort_order>
|
471 |
+
<show_in_default>1</show_in_default>
|
472 |
+
<show_in_website>1</show_in_website>
|
473 |
+
<show_in_store>1</show_in_store>
|
474 |
+
</gateway_timeout>
|
475 |
+
<allowspecific translate="label">
|
476 |
+
<label>Payment from applicable countries</label>
|
477 |
+
<frontend_type>allowspecific</frontend_type>
|
478 |
+
<config_path>payment/novalnetSepa/allowspecific</config_path>
|
479 |
+
<sort_order>19</sort_order>
|
480 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
481 |
+
<show_in_default>1</show_in_default>
|
482 |
+
<show_in_website>1</show_in_website>
|
483 |
+
<show_in_store>1</show_in_store>
|
484 |
+
</allowspecific>
|
485 |
+
<specificcountry translate="label">
|
486 |
+
<label>Payment from Specific countries</label>
|
487 |
+
<frontend_type>multiselect</frontend_type>
|
488 |
+
<config_path>payment/novalnetSepa/specificcountry</config_path>
|
489 |
+
<sort_order>20</sort_order>
|
490 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
491 |
+
<show_in_default>1</show_in_default>
|
492 |
+
<show_in_website>1</show_in_website>
|
493 |
+
<show_in_store>1</show_in_store>
|
494 |
+
<depends><allowspecific>1</allowspecific></depends>
|
495 |
+
</specificcountry>
|
496 |
+
<min_order_total translate="label">
|
497 |
+
<label>Novalnet Minimum Order Total</label>
|
498 |
+
<frontend_type>text</frontend_type>
|
499 |
+
<config_path>payment/novalnetSepa/min_order_total</config_path>
|
500 |
+
<sort_order>21</sort_order>
|
501 |
+
<show_in_default>1</show_in_default>
|
502 |
+
<show_in_website>1</show_in_website>
|
503 |
+
<show_in_store>1</show_in_store>
|
504 |
+
</min_order_total>
|
505 |
+
<max_order_total translate="label">
|
506 |
+
<label>Novalnet Maximum Order Total</label>
|
507 |
+
<frontend_type>text</frontend_type>
|
508 |
+
<config_path>payment/novalnetSepa/max_order_total</config_path>
|
509 |
+
<sort_order>22</sort_order>
|
510 |
+
<show_in_default>1</show_in_default>
|
511 |
+
<show_in_website>1</show_in_website>
|
512 |
+
<show_in_store>1</show_in_store>
|
513 |
+
</max_order_total>
|
514 |
+
<orderscount translate="label">
|
515 |
+
<label>Novalnet Minimum Orders Count</label>
|
516 |
+
<frontend_type>text</frontend_type>
|
517 |
+
<config_path>payment/novalnetSepa/orderscount</config_path>
|
518 |
+
<sort_order>23</sort_order>
|
519 |
+
<comment>Novalnet Minimum Orders Count Desc</comment>
|
520 |
+
<show_in_default>1</show_in_default>
|
521 |
+
<show_in_website>1</show_in_website>
|
522 |
+
<show_in_store>1</show_in_store>
|
523 |
+
</orderscount>
|
524 |
+
<sort_order translate="label">
|
525 |
+
<label>Novalnet Sort Order</label>
|
526 |
+
<comment>Sort order of display. Lowest is displayed first.</comment>
|
527 |
+
<frontend_type>text</frontend_type>
|
528 |
+
<config_path>payment/novalnetSepa/sort_order</config_path>
|
529 |
+
<sort_order>24</sort_order>
|
530 |
+
<show_in_default>1</show_in_default>
|
531 |
+
<show_in_website>1</show_in_website>
|
532 |
+
<show_in_store>1</show_in_store>
|
533 |
+
</sort_order>
|
534 |
+
</fields>
|
535 |
+
</novalnetSepa>
|
536 |
+
<!--}}} Novalnet SEPA-->
|
537 |
<!--{{{ Novalnet Elvgerman-->
|
538 |
<novalnetElvgerman translate="label" module="novalnet_payment">
|
539 |
<label>Novalnet Direct Debit German</label>
|
540 |
+
<sort_order>684</sort_order>
|
541 |
<show_in_default>1</show_in_default>
|
542 |
<show_in_website>1</show_in_website>
|
543 |
<show_in_store>1</show_in_store>
|
573 |
<show_in_store>1</show_in_store>
|
574 |
</order_status>
|
575 |
<manual_checking_amount tranlate="label" >
|
576 |
+
<label>Manual checking of order</label>
|
577 |
+
<comment>Manual checking of order Desc</comment>
|
578 |
<frontend_type>text</frontend_type>
|
579 |
<config_path>payment/novalnetElvgerman/manual_checking_amount</config_path>
|
580 |
+
<sort_order>4</sort_order>
|
581 |
<show_in_default>1</show_in_default>
|
582 |
<show_in_website>1</show_in_website>
|
583 |
<show_in_store>1</show_in_store>
|
584 |
</manual_checking_amount>
|
585 |
<second_product_id translate="label">
|
586 |
+
<label>Second Product ID for manual check condition</label>
|
587 |
+
<comment>Second Product ID in Novalnet to use the manual check condition</comment>
|
588 |
<frontend_type>text</frontend_type>
|
589 |
+
<config_path>payment/novalnetElvgerman/second_product_id</config_path>
|
590 |
+
<sort_order>5</sort_order>
|
591 |
<show_in_default>1</show_in_default>
|
592 |
<show_in_website>1</show_in_website>
|
593 |
<show_in_store>1</show_in_store>
|
594 |
</second_product_id>
|
595 |
<second_tariff_id translate="label">
|
596 |
+
<label>Second Tariff ID for manual check condition</label>
|
597 |
+
<comment>Second Tariff ID in Novalnet to use the manual check condition</comment>
|
598 |
<frontend_type>text</frontend_type>
|
599 |
<config_path>payment/novalnetElvgerman/second_tariff_id</config_path>
|
600 |
+
<sort_order>6</sort_order>
|
601 |
<show_in_default>1</show_in_default>
|
602 |
<show_in_website>1</show_in_website>
|
603 |
<show_in_store>1</show_in_store>
|
604 |
</second_tariff_id>
|
605 |
<acdc_check translate="label">
|
606 |
+
<label>Enable Account Check Direct Control (ACDC)</label>
|
607 |
+
<comment>Activates the Account Check Direct Control at the payment process</comment>
|
608 |
<frontend_type>select</frontend_type>
|
609 |
<config_path>payment/novalnetElvgerman/acdc_check</config_path>
|
610 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
611 |
+
<sort_order>7</sort_order>
|
612 |
+
<show_in_default>1</show_in_default>
|
613 |
+
<show_in_website>1</show_in_website>
|
614 |
+
<show_in_store>1</show_in_store>
|
615 |
+
</acdc_check>
|
616 |
+
<elvgerman_error translate="label">
|
617 |
+
<label>Auto refill the payment data entered in payment page</label>
|
618 |
+
<frontend_type>select</frontend_type>
|
619 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
620 |
+
<config_path>payment/novalnetElvgerman/elvgerman_error</config_path>
|
621 |
+
<sort_order>8</sort_order>
|
622 |
+
<show_in_default>1</show_in_default>
|
623 |
+
<show_in_website>1</show_in_website>
|
624 |
+
<show_in_store>1</show_in_store>
|
625 |
+
</elvgerman_error>
|
626 |
+
<reference_one translate="label">
|
627 |
+
<label>Transaction reference 1</label>
|
628 |
+
<comment>This will appear in the transactions details / account statement</comment>
|
629 |
+
<frontend_type>text</frontend_type>
|
630 |
+
<config_path>payment/novalnetElvgerman/reference_one</config_path>
|
631 |
+
<sort_order>9</sort_order>
|
632 |
+
<show_in_default>1</show_in_default>
|
633 |
+
<show_in_website>1</show_in_website>
|
634 |
+
<show_in_store>1</show_in_store>
|
635 |
+
</reference_one>
|
636 |
+
<reference_two translate="label">
|
637 |
+
<label>Transaction reference 2</label>
|
638 |
+
<comment>This will appear in the transactions details / account statement</comment>
|
639 |
+
<frontend_type>text</frontend_type>
|
640 |
+
<config_path>payment/novalnetElvgerman/reference_two</config_path>
|
641 |
+
<sort_order>10</sort_order>
|
642 |
<show_in_default>1</show_in_default>
|
643 |
<show_in_website>1</show_in_website>
|
644 |
<show_in_store>1</show_in_store>
|
645 |
+
</reference_two>
|
646 |
<user_group_excluded translate="label">
|
647 |
<comment>Excluded User Group Desc</comment>
|
648 |
<label>User Group Excluded</label>
|
649 |
<frontend_type>text</frontend_type>
|
650 |
<config_path>payment/novalnetElvgerman/user_group_excluded</config_path>
|
651 |
+
<sort_order>11</sort_order>
|
652 |
<show_in_default>1</show_in_default>
|
653 |
<show_in_website>1</show_in_website>
|
654 |
<show_in_store>1</show_in_store>
|
655 |
</user_group_excluded>
|
656 |
<booking_reference translate="label">
|
657 |
+
<label>Information to the end customer (this will appear in the payment page)</label>
|
|
|
658 |
<frontend_type>text</frontend_type>
|
659 |
<config_path>payment/novalnetElvgerman/booking_reference</config_path>
|
660 |
+
<sort_order>12</sort_order>
|
661 |
<show_in_default>1</show_in_default>
|
662 |
<show_in_website>1</show_in_website>
|
663 |
<show_in_store>1</show_in_store>
|
667 |
<label>Gateway Timeout</label>
|
668 |
<frontend_type>text</frontend_type>
|
669 |
<config_path>payment/novalnetElvgerman/gateway_timeout</config_path>
|
670 |
+
<sort_order>13</sort_order>
|
671 |
<show_in_default>1</show_in_default>
|
672 |
<show_in_website>1</show_in_website>
|
673 |
<show_in_store>1</show_in_store>
|
676 |
<label>Payment from applicable countries</label>
|
677 |
<frontend_type>allowspecific</frontend_type>
|
678 |
<config_path>payment/novalnetElvgerman/allowspecific</config_path>
|
679 |
+
<sort_order>14</sort_order>
|
680 |
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
681 |
<show_in_default>1</show_in_default>
|
682 |
<show_in_website>1</show_in_website>
|
686 |
<label>Payment from Specific countries</label>
|
687 |
<frontend_type>multiselect</frontend_type>
|
688 |
<config_path>payment/novalnetElvgerman/specificcountry</config_path>
|
689 |
+
<sort_order>15</sort_order>
|
690 |
<source_model>adminhtml/system_config_source_country</source_model>
|
691 |
<show_in_default>1</show_in_default>
|
692 |
<show_in_website>1</show_in_website>
|
697 |
<label>Novalnet Minimum Order Total</label>
|
698 |
<frontend_type>text</frontend_type>
|
699 |
<config_path>payment/novalnetElvgerman/min_order_total</config_path>
|
700 |
+
<sort_order>16</sort_order>
|
701 |
<show_in_default>1</show_in_default>
|
702 |
<show_in_website>1</show_in_website>
|
703 |
<show_in_store>1</show_in_store>
|
706 |
<label>Novalnet Maximum Order Total</label>
|
707 |
<frontend_type>text</frontend_type>
|
708 |
<config_path>payment/novalnetElvgerman/max_order_total</config_path>
|
709 |
+
<sort_order>17</sort_order>
|
710 |
<show_in_default>1</show_in_default>
|
711 |
<show_in_website>1</show_in_website>
|
712 |
<show_in_store>1</show_in_store>
|
715 |
<label>Novalnet Minimum Orders Count</label>
|
716 |
<frontend_type>text</frontend_type>
|
717 |
<config_path>payment/novalnetElvgerman/orderscount</config_path>
|
718 |
+
<sort_order>18</sort_order>
|
719 |
<comment>Novalnet Minimum Orders Count Desc</comment>
|
720 |
<show_in_default>1</show_in_default>
|
721 |
<show_in_website>1</show_in_website>
|
726 |
<comment>Sort order of display. Lowest is displayed first.</comment>
|
727 |
<frontend_type>text</frontend_type>
|
728 |
<config_path>payment/novalnetElvgerman/sort_order</config_path>
|
729 |
+
<sort_order>19</sort_order>
|
730 |
<show_in_default>1</show_in_default>
|
731 |
<show_in_website>1</show_in_website>
|
732 |
<show_in_store>1</show_in_store>
|
773 |
<show_in_store>1</show_in_store>
|
774 |
</order_status>
|
775 |
<manual_checking_amount tranlate="label" >
|
776 |
+
<label>Manual checking of order</label>
|
777 |
+
<comment>Manual checking of order Desc</comment>
|
778 |
<frontend_type>text</frontend_type>
|
779 |
<config_path>payment/novalnetElvaustria/manual_checking_amount</config_path>
|
780 |
+
<sort_order>4</sort_order>
|
781 |
<show_in_default>1</show_in_default>
|
782 |
<show_in_website>1</show_in_website>
|
783 |
<show_in_store>1</show_in_store>
|
784 |
</manual_checking_amount>
|
785 |
<second_product_id translate="label">
|
786 |
+
<label>Second Product ID for manual check condition</label>
|
787 |
+
<comment>Second Product ID in Novalnet to use the manual check condition</comment>
|
788 |
<frontend_type>text</frontend_type>
|
789 |
<config_path>payment/novalnetElvaustria/second_product_id</config_path>
|
790 |
+
<sort_order>5</sort_order>
|
791 |
<show_in_default>1</show_in_default>
|
792 |
<show_in_website>1</show_in_website>
|
793 |
<show_in_store>1</show_in_store>
|
794 |
</second_product_id>
|
795 |
<second_tariff_id translate="label">
|
796 |
+
<label>Second Tariff ID for manual check condition</label>
|
797 |
+
<comment>Second Tariff ID in Novalnet to use the manual check condition</comment>
|
798 |
<frontend_type>text</frontend_type>
|
799 |
<config_path>payment/novalnetElvaustria/second_tariff_id</config_path>
|
800 |
+
<sort_order>6</sort_order>
|
801 |
+
<show_in_default>1</show_in_default>
|
802 |
+
<show_in_website>1</show_in_website>
|
803 |
+
<show_in_store>1</show_in_store>
|
804 |
+
</second_tariff_id>
|
805 |
+
<elvastria_error translate="label">
|
806 |
+
<label>Auto refill the payment data entered in payment page</label>
|
807 |
+
<frontend_type>select</frontend_type>
|
808 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
809 |
+
<config_path>payment/novalnetElvaustria/elvastria_error</config_path>
|
810 |
+
<sort_order>7</sort_order>
|
811 |
+
<show_in_default>1</show_in_default>
|
812 |
+
<show_in_website>1</show_in_website>
|
813 |
+
<show_in_store>1</show_in_store>
|
814 |
+
</elvastria_error>
|
815 |
+
<reference_one translate="label">
|
816 |
+
<label>Transaction reference 1</label>
|
817 |
+
<comment>This will appear in the transactions details / account statement</comment>
|
818 |
+
<frontend_type>text</frontend_type>
|
819 |
+
<config_path>payment/novalnetElvaustria/reference_one</config_path>
|
820 |
+
<sort_order>8</sort_order>
|
821 |
+
<show_in_default>1</show_in_default>
|
822 |
+
<show_in_website>1</show_in_website>
|
823 |
+
<show_in_store>1</show_in_store>
|
824 |
+
</reference_one>
|
825 |
+
<reference_two translate="label">
|
826 |
+
<label>Transaction reference 2</label>
|
827 |
+
<comment>This will appear in the transactions details / account statement</comment>
|
828 |
+
<frontend_type>text</frontend_type>
|
829 |
+
<config_path>payment/novalnetElvaustria/reference_two</config_path>
|
830 |
+
<sort_order>9</sort_order>
|
831 |
<show_in_default>1</show_in_default>
|
832 |
<show_in_website>1</show_in_website>
|
833 |
<show_in_store>1</show_in_store>
|
834 |
+
</reference_two>
|
835 |
<user_group_excluded translate="label">
|
836 |
<comment>Excluded User Group Desc</comment>
|
837 |
<label>User Group Excluded</label>
|
838 |
<frontend_type>text</frontend_type>
|
839 |
<config_path>payment/novalnetElvaustria/user_group_excluded</config_path>
|
840 |
+
<sort_order>10</sort_order>
|
841 |
<show_in_default>1</show_in_default>
|
842 |
<show_in_website>1</show_in_website>
|
843 |
<show_in_store>1</show_in_store>
|
844 |
</user_group_excluded>
|
845 |
<booking_reference translate="label">
|
846 |
+
<label>Information to the end customer (this will appear in the payment page)</label>
|
|
|
847 |
<frontend_type>text</frontend_type>
|
848 |
<config_path>payment/novalnetElvaustria/booking_reference</config_path>
|
849 |
+
<sort_order>11</sort_order>
|
850 |
<show_in_default>1</show_in_default>
|
851 |
<show_in_website>1</show_in_website>
|
852 |
<show_in_store>1</show_in_store>
|
856 |
<label>Gateway Timeout</label>
|
857 |
<frontend_type>text</frontend_type>
|
858 |
<config_path>payment/novalnetElvaustria/gateway_timeout</config_path>
|
859 |
+
<sort_order>12</sort_order>
|
860 |
<show_in_default>1</show_in_default>
|
861 |
<show_in_website>1</show_in_website>
|
862 |
<show_in_store>1</show_in_store>
|
865 |
<label>Payment from applicable countries</label>
|
866 |
<frontend_type>allowspecific</frontend_type>
|
867 |
<config_path>payment/novalnetElvaustria/allowspecific</config_path>
|
868 |
+
<sort_order>13</sort_order>
|
869 |
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
870 |
<show_in_default>1</show_in_default>
|
871 |
<show_in_website>1</show_in_website>
|
875 |
<label>Payment from Specific countries</label>
|
876 |
<frontend_type>multiselect</frontend_type>
|
877 |
<config_path>payment/novalnetElvaustria/specificcountry</config_path>
|
878 |
+
<sort_order>14</sort_order>
|
879 |
<source_model>adminhtml/system_config_source_country</source_model>
|
880 |
<show_in_default>1</show_in_default>
|
881 |
<show_in_website>1</show_in_website>
|
886 |
<label>Novalnet Minimum Order Total</label>
|
887 |
<frontend_type>text</frontend_type>
|
888 |
<config_path>payment/novalnetElvaustria/min_order_total</config_path>
|
889 |
+
<sort_order>15</sort_order>
|
890 |
<show_in_default>1</show_in_default>
|
891 |
<show_in_website>1</show_in_website>
|
892 |
<show_in_store>1</show_in_store>
|
894 |
<max_order_total translate="label">
|
895 |
<label>Novalnet Maximum Order Total</label>
|
896 |
<frontend_type>text</frontend_type>
|
897 |
+
<config_path>payment/novalnetElvaustria/max_order_total</config_path>
|
898 |
+
<sort_order>16</sort_order>
|
899 |
<show_in_default>1</show_in_default>
|
900 |
<show_in_website>1</show_in_website>
|
901 |
<show_in_store>1</show_in_store>
|
904 |
<label>Novalnet Minimum Orders Count</label>
|
905 |
<frontend_type>text</frontend_type>
|
906 |
<config_path>payment/novalnetElvaustria/orderscount</config_path>
|
907 |
+
<sort_order>17</sort_order>
|
908 |
<comment>Novalnet Minimum Orders Count Desc</comment>
|
909 |
<show_in_default>1</show_in_default>
|
910 |
<show_in_website>1</show_in_website>
|
915 |
<comment>Sort order of display. Lowest is displayed first.</comment>
|
916 |
<frontend_type>text</frontend_type>
|
917 |
<config_path>payment/novalnetElvaustria/sort_order</config_path>
|
918 |
+
<sort_order>18</sort_order>
|
919 |
<show_in_default>1</show_in_default>
|
920 |
<show_in_website>1</show_in_website>
|
921 |
<show_in_store>1</show_in_store>
|
934 |
<active translate="label">
|
935 |
<label>Enable Novalnet Module</label>
|
936 |
<frontend_type>select</frontend_type>
|
937 |
+
<config_path>payment/novalnetInvoice/active</config_path>
|
938 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
939 |
<sort_order>1</sort_order>
|
940 |
<show_in_default>1</show_in_default>
|
944 |
<title translate="label">
|
945 |
<label>Novalnet Title</label>
|
946 |
<frontend_type>text</frontend_type>
|
947 |
+
<config_path>payment/novalnetInvoice/title</config_path>
|
948 |
<sort_order>2</sort_order>
|
949 |
<show_in_default>1</show_in_default>
|
950 |
<show_in_website>1</show_in_website>
|
954 |
<label>Set order Status</label>
|
955 |
<comment>Set the status of orders made with this payment module to this value</comment>
|
956 |
<frontend_type>select</frontend_type>
|
957 |
+
<config_path>payment/novalnetInvoice/order_status</config_path>
|
958 |
<source_model>adminhtml/system_config_source_order_status</source_model>
|
959 |
<sort_order>3</sort_order>
|
960 |
<show_in_default>1</show_in_default>
|
962 |
<show_in_store>1</show_in_store>
|
963 |
</order_status>
|
964 |
<booking_reference translate="label">
|
965 |
+
<label>Information to the end customer (this will appear in the payment page)</label>
|
|
|
966 |
<frontend_type>text</frontend_type>
|
967 |
+
<config_path>payment/novalnetInvoice/booking_reference</config_path>
|
968 |
+
<sort_order>4</sort_order>
|
969 |
<show_in_default>1</show_in_default>
|
970 |
<show_in_website>1</show_in_website>
|
971 |
<show_in_store>1</show_in_store>
|
972 |
</booking_reference>
|
973 |
+
<reference_one translate="label">
|
974 |
+
<label>Transaction reference 1</label>
|
975 |
+
<comment>This will appear in the transactions details / account statement</comment>
|
976 |
+
<frontend_type>text</frontend_type>
|
977 |
+
<config_path>payment/novalnetInvoice/reference_one</config_path>
|
978 |
+
<sort_order>5</sort_order>
|
979 |
+
<show_in_default>1</show_in_default>
|
980 |
+
<show_in_website>1</show_in_website>
|
981 |
+
<show_in_store>1</show_in_store>
|
982 |
+
</reference_one>
|
983 |
+
<reference_two translate="label">
|
984 |
+
<label>Transaction reference 2</label>
|
985 |
+
<comment>This will appear in the transactions details / account statement</comment>
|
986 |
+
<frontend_type>text</frontend_type>
|
987 |
+
<config_path>payment/novalnetInvoice/reference_two</config_path>
|
988 |
+
<sort_order>6</sort_order>
|
989 |
+
<show_in_default>1</show_in_default>
|
990 |
+
<show_in_website>1</show_in_website>
|
991 |
+
<show_in_store>1</show_in_store>
|
992 |
+
</reference_two>
|
993 |
<payment_duration translate="label">
|
994 |
<label>Payment Duration</label>
|
995 |
<frontend_type>text</frontend_type>
|
996 |
+
<config_path>payment/novalnetInvoice/payment_duration</config_path>
|
997 |
+
<sort_order>7</sort_order>
|
998 |
<show_in_default>1</show_in_default>
|
999 |
<show_in_website>1</show_in_website>
|
1000 |
<show_in_store>1</show_in_store>
|
1003 |
<comment>Excluded User Group Desc</comment>
|
1004 |
<label>User Group Excluded</label>
|
1005 |
<frontend_type>text</frontend_type>
|
1006 |
+
<config_path>payment/novalnetInvoice/user_group_excluded</config_path>
|
1007 |
+
<sort_order>8</sort_order>
|
1008 |
<show_in_default>1</show_in_default>
|
1009 |
<show_in_website>1</show_in_website>
|
1010 |
<show_in_store>1</show_in_store>
|
1011 |
+
</user_group_excluded>
|
1012 |
<gateway_timeout translate="label">
|
1013 |
<comment>Gateway Timeout in seconds</comment>
|
1014 |
<label>Gateway Timeout</label>
|
1015 |
<frontend_type>text</frontend_type>
|
1016 |
+
<config_path>payment/novalnetInvoice/gateway_timeout</config_path>
|
1017 |
+
<sort_order>9</sort_order>
|
1018 |
<show_in_default>1</show_in_default>
|
1019 |
<show_in_website>1</show_in_website>
|
1020 |
<show_in_store>1</show_in_store>
|
1022 |
<allowspecific translate="label">
|
1023 |
<label>Payment from applicable countries</label>
|
1024 |
<frontend_type>allowspecific</frontend_type>
|
1025 |
+
<config_path>payment/novalnetInvoice/allowspecific</config_path>
|
1026 |
+
<sort_order>10</sort_order>
|
1027 |
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1028 |
<show_in_default>1</show_in_default>
|
1029 |
<show_in_website>1</show_in_website>
|
1032 |
<specificcountry translate="label">
|
1033 |
<label>Payment from Specific countries</label>
|
1034 |
<frontend_type>multiselect</frontend_type>
|
1035 |
+
<config_path>payment/novalnetInvoice/specificcountry</config_path>
|
1036 |
+
<sort_order>11</sort_order>
|
1037 |
<source_model>adminhtml/system_config_source_country</source_model>
|
1038 |
<show_in_default>1</show_in_default>
|
1039 |
<show_in_website>1</show_in_website>
|
1043 |
<min_order_total translate="label">
|
1044 |
<label>Novalnet Minimum Order Total</label>
|
1045 |
<frontend_type>text</frontend_type>
|
1046 |
+
<config_path>payment/novalnetInvoice/min_order_total</config_path>
|
1047 |
+
<sort_order>12</sort_order>
|
1048 |
<show_in_default>1</show_in_default>
|
1049 |
<show_in_website>1</show_in_website>
|
1050 |
<show_in_store>1</show_in_store>
|
1052 |
<max_order_total translate="label">
|
1053 |
<label>Novalnet Maximum Order Total</label>
|
1054 |
<frontend_type>text</frontend_type>
|
1055 |
+
<config_path>payment/novalnetInvoice/max_order_total</config_path>
|
1056 |
+
<sort_order>13</sort_order>
|
1057 |
<show_in_default>1</show_in_default>
|
1058 |
<show_in_website>1</show_in_website>
|
1059 |
<show_in_store>1</show_in_store>
|
1061 |
<orderscount translate="label">
|
1062 |
<label>Novalnet Minimum Orders Count</label>
|
1063 |
<frontend_type>text</frontend_type>
|
1064 |
+
<config_path>payment/novalnetInvoice/orderscount</config_path>
|
1065 |
+
<sort_order>14</sort_order>
|
1066 |
<comment>Novalnet Minimum Orders Count Desc</comment>
|
1067 |
<show_in_default>1</show_in_default>
|
1068 |
<show_in_website>1</show_in_website>
|
1072 |
<label>Novalnet Sort Order</label>
|
1073 |
<comment>Sort order of display. Lowest is displayed first.</comment>
|
1074 |
<frontend_type>text</frontend_type>
|
1075 |
+
<config_path>payment/novalnetInvoice/sort_order</config_path>
|
1076 |
+
<sort_order>15</sort_order>
|
1077 |
<show_in_default>1</show_in_default>
|
1078 |
<show_in_website>1</show_in_website>
|
1079 |
<show_in_store>1</show_in_store>
|
1092 |
<active translate="label">
|
1093 |
<label>Enable Novalnet Module</label>
|
1094 |
<frontend_type>select</frontend_type>
|
1095 |
+
<config_path>payment/novalnetPrepayment/active</config_path>
|
1096 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1097 |
<sort_order>1</sort_order>
|
1098 |
<show_in_default>1</show_in_default>
|
1102 |
<title translate="label">
|
1103 |
<label>Novalnet Title</label>
|
1104 |
<frontend_type>text</frontend_type>
|
1105 |
+
<config_path>payment/novalnetPrepayment/title</config_path>
|
1106 |
<sort_order>2</sort_order>
|
1107 |
<show_in_default>1</show_in_default>
|
1108 |
<show_in_website>1</show_in_website>
|
1112 |
<label>Set order Status</label>
|
1113 |
<comment>Set the status of orders made with this payment module to this value</comment>
|
1114 |
<frontend_type>select</frontend_type>
|
1115 |
+
<config_path>payment/novalnetPrepayment/order_status</config_path>
|
1116 |
<source_model>adminhtml/system_config_source_order_status</source_model>
|
1117 |
<sort_order>3</sort_order>
|
1118 |
<show_in_default>1</show_in_default>
|
1120 |
<show_in_store>1</show_in_store>
|
1121 |
</order_status>
|
1122 |
<booking_reference translate="label">
|
1123 |
+
<label>Information to the end customer (this will appear in the payment page)</label>
|
|
|
1124 |
<frontend_type>text</frontend_type>
|
1125 |
+
<config_path>payment/novalnetPrepayment/booking_reference</config_path>
|
1126 |
+
<sort_order>4</sort_order>
|
1127 |
<show_in_default>1</show_in_default>
|
1128 |
<show_in_website>1</show_in_website>
|
1129 |
<show_in_store>1</show_in_store>
|
1130 |
</booking_reference>
|
1131 |
+
<reference_one translate="label">
|
1132 |
+
<label>Transaction reference 1</label>
|
1133 |
+
<comment>This will appear in the transactions details / account statement</comment>
|
1134 |
+
<frontend_type>text</frontend_type>
|
1135 |
+
<config_path>payment/novalnetPrepayment/reference_one</config_path>
|
1136 |
+
<sort_order>5</sort_order>
|
1137 |
+
<show_in_default>1</show_in_default>
|
1138 |
+
<show_in_website>1</show_in_website>
|
1139 |
+
<show_in_store>1</show_in_store>
|
1140 |
+
</reference_one>
|
1141 |
+
<reference_two translate="label">
|
1142 |
+
<label>Transaction reference 2</label>
|
1143 |
+
<comment>This will appear in the transactions details / account statement</comment>
|
1144 |
+
<frontend_type>text</frontend_type>
|
1145 |
+
<config_path>payment/novalnetPrepayment/reference_two</config_path>
|
1146 |
+
<sort_order>6</sort_order>
|
1147 |
+
<show_in_default>1</show_in_default>
|
1148 |
+
<show_in_website>1</show_in_website>
|
1149 |
+
<show_in_store>1</show_in_store>
|
1150 |
+
</reference_two>
|
1151 |
<user_group_excluded translate="label">
|
1152 |
<comment>Excluded User Group Desc</comment>
|
1153 |
<label>User Group Excluded</label>
|
1154 |
<frontend_type>text</frontend_type>
|
1155 |
+
<config_path>payment/novalnetPrepayment/user_group_excluded</config_path>
|
1156 |
+
<sort_order>7</sort_order>
|
1157 |
<show_in_default>1</show_in_default>
|
1158 |
<show_in_website>1</show_in_website>
|
1159 |
<show_in_store>1</show_in_store>
|
1162 |
<comment>Gateway Timeout in seconds</comment>
|
1163 |
<label>Gateway Timeout</label>
|
1164 |
<frontend_type>text</frontend_type>
|
1165 |
+
<config_path>payment/novalnetPrepayment/gateway_timeout</config_path>
|
1166 |
+
<sort_order>8</sort_order>
|
1167 |
<show_in_default>1</show_in_default>
|
1168 |
<show_in_website>1</show_in_website>
|
1169 |
<show_in_store>1</show_in_store>
|
1171 |
<allowspecific translate="label">
|
1172 |
<label>Payment from applicable countries</label>
|
1173 |
<frontend_type>allowspecific</frontend_type>
|
1174 |
+
<config_path>payment/novalnetPrepayment/allowspecific</config_path>
|
1175 |
+
<sort_order>9</sort_order>
|
1176 |
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1177 |
<show_in_default>1</show_in_default>
|
1178 |
<show_in_website>1</show_in_website>
|
1181 |
<specificcountry translate="label">
|
1182 |
<label>Payment from Specific countries</label>
|
1183 |
<frontend_type>multiselect</frontend_type>
|
1184 |
+
<config_path>payment/novalnetPrepayment/specificcountry</config_path>
|
1185 |
+
<sort_order>10</sort_order>
|
1186 |
<source_model>adminhtml/system_config_source_country</source_model>
|
1187 |
<show_in_default>1</show_in_default>
|
1188 |
<show_in_website>1</show_in_website>
|
1192 |
<min_order_total translate="label">
|
1193 |
<label>Novalnet Minimum Order Total</label>
|
1194 |
<frontend_type>text</frontend_type>
|
1195 |
+
<config_path>payment/novalnetPrepayment/min_order_total</config_path>
|
1196 |
+
<sort_order>11</sort_order>
|
1197 |
<show_in_default>1</show_in_default>
|
1198 |
<show_in_website>1</show_in_website>
|
1199 |
<show_in_store>1</show_in_store>
|
1201 |
<max_order_total translate="label">
|
1202 |
<label>Novalnet Maximum Order Total</label>
|
1203 |
<frontend_type>text</frontend_type>
|
1204 |
+
<config_path>payment/novalnetPrepayment/max_order_total</config_path>
|
1205 |
+
<sort_order>12</sort_order>
|
1206 |
<show_in_default>1</show_in_default>
|
1207 |
<show_in_website>1</show_in_website>
|
1208 |
<show_in_store>1</show_in_store>
|
1210 |
<orderscount translate="label">
|
1211 |
<label>Novalnet Minimum Orders Count</label>
|
1212 |
<frontend_type>text</frontend_type>
|
1213 |
+
<config_path>payment/novalnetPrepayment/orderscount</config_path>
|
1214 |
+
<sort_order>13</sort_order>
|
1215 |
<comment>Novalnet Minimum Orders Count Desc</comment>
|
1216 |
<show_in_default>1</show_in_default>
|
1217 |
<show_in_website>1</show_in_website>
|
1221 |
<label>Novalnet Sort Order</label>
|
1222 |
<comment>Sort order of display. Lowest is displayed first.</comment>
|
1223 |
<frontend_type>text</frontend_type>
|
1224 |
+
<config_path>payment/novalnetPrepayment/sort_order</config_path>
|
1225 |
+
<sort_order>14</sort_order>
|
1226 |
<show_in_default>1</show_in_default>
|
1227 |
<show_in_website>1</show_in_website>
|
1228 |
<show_in_store>1</show_in_store>
|
1241 |
<active translate="label">
|
1242 |
<label>Enable Novalnet Module</label>
|
1243 |
<frontend_type>select</frontend_type>
|
1244 |
+
<config_path>payment/novalnetSofortueberweisung/active</config_path>
|
1245 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1246 |
<sort_order>0</sort_order>
|
1247 |
<show_in_default>1</show_in_default>
|
1251 |
<title translate="label">
|
1252 |
<label>Novalnet Title</label>
|
1253 |
<frontend_type>text</frontend_type>
|
1254 |
+
<config_path>payment/novalnetSofortueberweisung/title</config_path>
|
1255 |
<sort_order>2</sort_order>
|
1256 |
<show_in_default>1</show_in_default>
|
1257 |
<show_in_website>1</show_in_website>
|
1260 |
<order_status translate="label">
|
1261 |
<label>Order Status Before Payment</label>
|
1262 |
<frontend_type>select</frontend_type>
|
1263 |
+
<config_path>payment/novalnetSofortueberweisung/order_status</config_path>
|
1264 |
<source_model>adminhtml/system_config_source_order_status</source_model>
|
1265 |
<sort_order>3</sort_order>
|
1266 |
<show_in_default>1</show_in_default>
|
1270 |
<order_status_after_payment translate="label">
|
1271 |
<label>Order Status After Successful Payment</label>
|
1272 |
<frontend_type>select</frontend_type>
|
1273 |
+
<config_path>payment/novalnetSofortueberweisung/order_status_after_payment</config_path>
|
1274 |
<source_model>adminhtml/system_config_source_order_status</source_model>
|
1275 |
<sort_order>4</sort_order>
|
1276 |
<show_in_default>1</show_in_default>
|
1278 |
<show_in_store>1</show_in_store>
|
1279 |
</order_status_after_payment>
|
1280 |
<booking_reference translate="label">
|
1281 |
+
<label>Information to the end customer (this will appear in the payment page)</label>
|
|
|
1282 |
<frontend_type>text</frontend_type>
|
1283 |
+
<config_path>payment/novalnetSofortueberweisung/booking_reference</config_path>
|
1284 |
+
<sort_order>5</sort_order>
|
1285 |
+
<show_in_default>1</show_in_default>
|
1286 |
+
<show_in_website>1</show_in_website>
|
1287 |
+
<show_in_store>1</show_in_store>
|
1288 |
+
</booking_reference>
|
1289 |
+
<reference_one translate="label">
|
1290 |
+
<label>Transaction reference 1</label>
|
1291 |
+
<comment>This will appear in the transactions details / account statement</comment>
|
1292 |
+
<frontend_type>text</frontend_type>
|
1293 |
+
<config_path>payment/novalnetSofortueberweisung/reference_one</config_path>
|
1294 |
+
<sort_order>6</sort_order>
|
1295 |
+
<show_in_default>1</show_in_default>
|
1296 |
+
<show_in_website>1</show_in_website>
|
1297 |
+
<show_in_store>1</show_in_store>
|
1298 |
+
</reference_one>
|
1299 |
+
<reference_two translate="label">
|
1300 |
+
<label>Transaction reference 2</label>
|
1301 |
+
<comment>This will appear in the transactions details / account statement</comment>
|
1302 |
+
<frontend_type>text</frontend_type>
|
1303 |
+
<config_path>payment/novalnetSofortueberweisung/reference_two</config_path>
|
1304 |
+
<sort_order>7</sort_order>
|
1305 |
<show_in_default>1</show_in_default>
|
1306 |
<show_in_website>1</show_in_website>
|
1307 |
<show_in_store>1</show_in_store>
|
1308 |
+
</reference_two>
|
1309 |
<user_group_excluded translate="label">
|
1310 |
<comment>Excluded User Group Desc</comment>
|
1311 |
<label>User Group Excluded</label>
|
1312 |
<frontend_type>text</frontend_type>
|
1313 |
+
<config_path>payment/novalnetSofortueberweisung/user_group_excluded</config_path>
|
1314 |
+
<sort_order>8</sort_order>
|
1315 |
<show_in_default>1</show_in_default>
|
1316 |
<show_in_website>1</show_in_website>
|
1317 |
<show_in_store>1</show_in_store>
|
1319 |
<save_cancelled_tid translate="label">
|
1320 |
<label>Display Novalnet Transaction ID for Cancelled Order</label>
|
1321 |
<frontend_type>select</frontend_type>
|
1322 |
+
<config_path>payment/novalnetSofortueberweisung/save_cancelled_tid</config_path>
|
1323 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1324 |
+
<sort_order>9</sort_order>
|
1325 |
<show_in_default>1</show_in_default>
|
1326 |
<show_in_website>1</show_in_website>
|
1327 |
<show_in_store>1</show_in_store>
|
1330 |
<comment>Gateway Timeout in seconds</comment>
|
1331 |
<label>Gateway Timeout</label>
|
1332 |
<frontend_type>text</frontend_type>
|
1333 |
+
<config_path>payment/novalnetSofortueberweisung/gateway_timeout</config_path>
|
1334 |
+
<sort_order>10</sort_order>
|
1335 |
<show_in_default>1</show_in_default>
|
1336 |
<show_in_website>1</show_in_website>
|
1337 |
<show_in_store>1</show_in_store>
|
1339 |
<allowspecific translate="label">
|
1340 |
<label>Payment from applicable countries</label>
|
1341 |
<frontend_type>allowspecific</frontend_type>
|
1342 |
+
<config_path>payment/novalnetSofortueberweisung/allowspecific</config_path>
|
1343 |
+
<sort_order>11</sort_order>
|
1344 |
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1345 |
<show_in_default>1</show_in_default>
|
1346 |
<show_in_website>1</show_in_website>
|
1349 |
<specificcountry translate="label">
|
1350 |
<label>Payment from Specific countries</label>
|
1351 |
<frontend_type>multiselect</frontend_type>
|
1352 |
+
<config_path>payment/novalnetSofortueberweisung/specificcountry</config_path>
|
1353 |
+
<sort_order>12</sort_order>
|
1354 |
<source_model>adminhtml/system_config_source_country</source_model>
|
1355 |
<show_in_default>1</show_in_default>
|
1356 |
<show_in_website>1</show_in_website>
|
1360 |
<min_order_total translate="label">
|
1361 |
<label>Novalnet Minimum Order Total</label>
|
1362 |
<frontend_type>text</frontend_type>
|
1363 |
+
<config_path>payment/novalnetSofortueberweisung/min_order_total</config_path>
|
1364 |
+
<sort_order>13</sort_order>
|
1365 |
<show_in_default>1</show_in_default>
|
1366 |
<show_in_website>1</show_in_website>
|
1367 |
<show_in_store>1</show_in_store>
|
1369 |
<max_order_total translate="label">
|
1370 |
<label>Novalnet Maximum Order Total</label>
|
1371 |
<frontend_type>text</frontend_type>
|
1372 |
+
<config_path>payment/novalnetSofortueberweisung/max_order_total</config_path>
|
1373 |
+
<sort_order>14</sort_order>
|
1374 |
<show_in_default>1</show_in_default>
|
1375 |
<show_in_website>1</show_in_website>
|
1376 |
<show_in_store>1</show_in_store>
|
1378 |
<orderscount translate="label">
|
1379 |
<label>Novalnet Minimum Orders Count</label>
|
1380 |
<frontend_type>text</frontend_type>
|
1381 |
+
<config_path>payment/novalnetSofortueberweisung/orderscount</config_path>
|
1382 |
+
<sort_order>15</sort_order>
|
1383 |
<comment>Novalnet Minimum Orders Count Desc</comment>
|
1384 |
<show_in_default>1</show_in_default>
|
1385 |
<show_in_website>1</show_in_website>
|
1389 |
<label>Novalnet Sort Order</label>
|
1390 |
<comment>Sort order of display. Lowest is displayed first.</comment>
|
1391 |
<frontend_type>text</frontend_type>
|
1392 |
+
<config_path>payment/novalnetSofortueberweisung/sort_order</config_path>
|
1393 |
+
<sort_order>16</sort_order>
|
1394 |
<show_in_default>1</show_in_default>
|
1395 |
<show_in_website>1</show_in_website>
|
1396 |
<show_in_store>1</show_in_store>
|
1447 |
<show_in_store>1</show_in_store>
|
1448 |
</order_status_after_payment>
|
1449 |
<booking_reference translate="label">
|
1450 |
+
<label>Information to the end customer (this will appear in the payment page)</label>
|
|
|
1451 |
<frontend_type>text</frontend_type>
|
1452 |
<config_path>payment/novalnetPaypal/booking_reference</config_path>
|
1453 |
+
<sort_order>5</sort_order>
|
1454 |
<show_in_default>1</show_in_default>
|
1455 |
<show_in_website>1</show_in_website>
|
1456 |
<show_in_store>1</show_in_store>
|
1457 |
</booking_reference>
|
1458 |
+
<reference_one translate="label">
|
1459 |
+
<label>Transaction reference 1</label>
|
1460 |
+
<comment>This will appear in the transactions details / account statement</comment>
|
1461 |
+
<frontend_type>text</frontend_type>
|
1462 |
+
<config_path>payment/novalnetPaypal/reference_one</config_path>
|
1463 |
+
<sort_order>6</sort_order>
|
1464 |
+
<show_in_default>1</show_in_default>
|
1465 |
+
<show_in_website>1</show_in_website>
|
1466 |
+
<show_in_store>1</show_in_store>
|
1467 |
+
</reference_one>
|
1468 |
+
<reference_two translate="label">
|
1469 |
+
<label>Transaction reference 2</label>
|
1470 |
+
<comment>This will appear in the transactions details / account statement</comment>
|
1471 |
+
<frontend_type>text</frontend_type>
|
1472 |
+
<config_path>payment/novalnetPaypal/reference_two</config_path>
|
1473 |
+
<sort_order>7</sort_order>
|
1474 |
+
<show_in_default>1</show_in_default>
|
1475 |
+
<show_in_website>1</show_in_website>
|
1476 |
+
<show_in_store>1</show_in_store>
|
1477 |
+
</reference_two>
|
1478 |
<user_group_excluded translate="label">
|
1479 |
<comment>Excluded User Group Desc</comment>
|
1480 |
<label>User Group Excluded</label>
|
1481 |
<frontend_type>text</frontend_type>
|
1482 |
<config_path>payment/novalnetPaypal/user_group_excluded</config_path>
|
1483 |
+
<sort_order>8</sort_order>
|
1484 |
<show_in_default>1</show_in_default>
|
1485 |
<show_in_website>1</show_in_website>
|
1486 |
<show_in_store>1</show_in_store>
|
1490 |
<frontend_type>select</frontend_type>
|
1491 |
<config_path>payment/novalnetPaypal/save_cancelled_tid</config_path>
|
1492 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1493 |
+
<sort_order>9</sort_order>
|
1494 |
<show_in_default>1</show_in_default>
|
1495 |
<show_in_website>1</show_in_website>
|
1496 |
<show_in_store>1</show_in_store>
|
1500 |
<label>Gateway Timeout</label>
|
1501 |
<frontend_type>text</frontend_type>
|
1502 |
<config_path>payment/novalnetPaypal/gateway_timeout</config_path>
|
1503 |
+
<sort_order>10</sort_order>
|
1504 |
<show_in_default>1</show_in_default>
|
1505 |
<show_in_website>1</show_in_website>
|
1506 |
<show_in_store>1</show_in_store>
|
1509 |
<label>Payment from applicable countries</label>
|
1510 |
<frontend_type>allowspecific</frontend_type>
|
1511 |
<config_path>payment/novalnetPaypal/allowspecific</config_path>
|
1512 |
+
<sort_order>11</sort_order>
|
1513 |
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1514 |
<show_in_default>1</show_in_default>
|
1515 |
<show_in_website>1</show_in_website>
|
1519 |
<label>Payment from Specific countries</label>
|
1520 |
<frontend_type>multiselect</frontend_type>
|
1521 |
<config_path>payment/novalnetPaypal/specificcountry</config_path>
|
1522 |
+
<sort_order>12</sort_order>
|
1523 |
<source_model>adminhtml/system_config_source_country</source_model>
|
1524 |
<show_in_default>1</show_in_default>
|
1525 |
<show_in_website>1</show_in_website>
|
1531 |
<min_order_total translate="label">
|
1532 |
<label>Novalnet Minimum Order Total</label>
|
1533 |
<frontend_type>text</frontend_type>
|
1534 |
+
<config_path>payment/novalnetPaypal/min_order_total</config_path>
|
1535 |
+
<sort_order>13</sort_order>
|
1536 |
<show_in_default>1</show_in_default>
|
1537 |
<show_in_website>1</show_in_website>
|
1538 |
<show_in_store>1</show_in_store>
|
1541 |
<label>Novalnet Maximum Order Total</label>
|
1542 |
<frontend_type>text</frontend_type>
|
1543 |
<config_path>payment/novalnetPaypal/max_order_total</config_path>
|
1544 |
+
<sort_order>14</sort_order>
|
1545 |
<show_in_default>1</show_in_default>
|
1546 |
<show_in_website>1</show_in_website>
|
1547 |
<show_in_store>1</show_in_store>
|
1550 |
<label>Novalnet Minimum Orders Count</label>
|
1551 |
<frontend_type>text</frontend_type>
|
1552 |
<config_path>payment/novalnetPaypal/orderscount</config_path>
|
1553 |
+
<sort_order>15</sort_order>
|
1554 |
<comment>Novalnet Minimum Orders Count Desc</comment>
|
1555 |
<show_in_default>1</show_in_default>
|
1556 |
<show_in_website>1</show_in_website>
|
1561 |
<comment>Sort order of display. Lowest is displayed first.</comment>
|
1562 |
<frontend_type>text</frontend_type>
|
1563 |
<config_path>payment/novalnetPaypal/sort_order</config_path>
|
1564 |
+
<sort_order>16</sort_order>
|
1565 |
<show_in_default>1</show_in_default>
|
1566 |
<show_in_website>1</show_in_website>
|
1567 |
<show_in_store>1</show_in_store>
|
1581 |
<active translate="label">
|
1582 |
<label>Enable Novalnet Module</label>
|
1583 |
<frontend_type>select</frontend_type>
|
1584 |
+
<config_path>payment/novalnetIdeal/active</config_path>
|
1585 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1586 |
<sort_order>1</sort_order>
|
1587 |
<show_in_default>1</show_in_default>
|
1618 |
<show_in_store>1</show_in_store>
|
1619 |
</order_status_after_payment>
|
1620 |
<booking_reference translate="label">
|
1621 |
+
<label>Information to the end customer (this will appear in the payment page)</label>
|
|
|
1622 |
<frontend_type>text</frontend_type>
|
1623 |
<config_path>payment/novalnetIdeal/booking_reference</config_path>
|
1624 |
+
<sort_order>5</sort_order>
|
1625 |
<show_in_default>1</show_in_default>
|
1626 |
<show_in_website>1</show_in_website>
|
1627 |
<show_in_store>1</show_in_store>
|
1628 |
</booking_reference>
|
1629 |
+
<reference_one translate="label">
|
1630 |
+
<label>Transaction reference 1</label>
|
1631 |
+
<comment>This will appear in the transactions details / account statement</comment>
|
1632 |
+
<frontend_type>text</frontend_type>
|
1633 |
+
<config_path>payment/novalnetIdeal/reference_one</config_path>
|
1634 |
+
<sort_order>6</sort_order>
|
1635 |
+
<show_in_default>1</show_in_default>
|
1636 |
+
<show_in_website>1</show_in_website>
|
1637 |
+
<show_in_store>1</show_in_store>
|
1638 |
+
</reference_one>
|
1639 |
+
<reference_two translate="label">
|
1640 |
+
<label>Transaction reference 2</label>
|
1641 |
+
<comment>This will appear in the transactions details / account statement</comment>
|
1642 |
+
<frontend_type>text</frontend_type>
|
1643 |
+
<config_path>payment/novalnetIdeal/reference_two</config_path>
|
1644 |
+
<sort_order>7</sort_order>
|
1645 |
+
<show_in_default>1</show_in_default>
|
1646 |
+
<show_in_website>1</show_in_website>
|
1647 |
+
<show_in_store>1</show_in_store>
|
1648 |
+
</reference_two>
|
1649 |
<user_group_excluded translate="label">
|
1650 |
<comment>Excluded User Group Desc</comment>
|
1651 |
<label>User Group Excluded</label>
|
1652 |
<frontend_type>text</frontend_type>
|
1653 |
<config_path>payment/novalnetIdeal/user_group_excluded</config_path>
|
1654 |
+
<sort_order>8</sort_order>
|
1655 |
<show_in_default>1</show_in_default>
|
1656 |
<show_in_website>1</show_in_website>
|
1657 |
<show_in_store>1</show_in_store>
|
1661 |
<frontend_type>select</frontend_type>
|
1662 |
<config_path>payment/novalnetIdeal/save_cancelled_tid</config_path>
|
1663 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1664 |
+
<sort_order>9</sort_order>
|
1665 |
<show_in_default>1</show_in_default>
|
1666 |
<show_in_website>1</show_in_website>
|
1667 |
<show_in_store>1</show_in_store>
|
1671 |
<label>Gateway Timeout</label>
|
1672 |
<frontend_type>text</frontend_type>
|
1673 |
<config_path>payment/novalnetIdeal/gateway_timeout</config_path>
|
1674 |
+
<sort_order>10</sort_order>
|
1675 |
<show_in_default>1</show_in_default>
|
1676 |
<show_in_website>1</show_in_website>
|
1677 |
<show_in_store>1</show_in_store>
|
1680 |
<label>Payment from applicable countries</label>
|
1681 |
<frontend_type>allowspecific</frontend_type>
|
1682 |
<config_path>payment/novalnetIdeal/allowspecific</config_path>
|
1683 |
+
<sort_order>11</sort_order>
|
1684 |
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1685 |
<show_in_default>1</show_in_default>
|
1686 |
<show_in_website>1</show_in_website>
|
1690 |
<label>Payment from Specific countries</label>
|
1691 |
<frontend_type>multiselect</frontend_type>
|
1692 |
<config_path>payment/novalnetIdeal/specificcountry</config_path>
|
1693 |
+
<sort_order>12</sort_order>
|
1694 |
<source_model>adminhtml/system_config_source_country</source_model>
|
1695 |
<show_in_default>1</show_in_default>
|
1696 |
<show_in_website>1</show_in_website>
|
1698 |
<depends><allowspecific>1</allowspecific></depends>
|
1699 |
</specificcountry>
|
1700 |
<min_order_total translate="label">
|
1701 |
+
<label>Novalnet Minimum Order Total</label>
|
1702 |
+
<frontend_type>text</frontend_type>
|
1703 |
+
<config_path>payment/novalnetIdeal/min_order_total</config_path>
|
1704 |
+
<sort_order>13</sort_order>
|
1705 |
+
<show_in_default>1</show_in_default>
|
1706 |
+
<show_in_website>1</show_in_website>
|
1707 |
+
<show_in_store>1</show_in_store>
|
1708 |
</min_order_total>
|
1709 |
<max_order_total translate="label">
|
1710 |
+
<label>Novalnet Maximum Order Total</label>
|
1711 |
+
<frontend_type>text</frontend_type>
|
1712 |
+
<config_path>payment/novalnetIdeal/max_order_total</config_path>
|
1713 |
+
<sort_order>14</sort_order>
|
1714 |
+
<show_in_default>1</show_in_default>
|
1715 |
+
<show_in_website>1</show_in_website>
|
1716 |
+
<show_in_store>1</show_in_store>
|
1717 |
</max_order_total>
|
1718 |
<orderscount translate="label">
|
1719 |
<label>Novalnet Minimum Orders Count</label>
|
1720 |
<frontend_type>text</frontend_type>
|
1721 |
<config_path>payment/novalnetIdeal/orderscount</config_path>
|
1722 |
+
<sort_order>15</sort_order>
|
1723 |
<comment>Novalnet Minimum Orders Count Desc</comment>
|
1724 |
<show_in_default>1</show_in_default>
|
1725 |
<show_in_website>1</show_in_website>
|
1730 |
<comment>Sort order of display. Lowest is displayed first.</comment>
|
1731 |
<frontend_type>text</frontend_type>
|
1732 |
<config_path>payment/novalnetIdeal/sort_order</config_path>
|
1733 |
+
<sort_order>16</sort_order>
|
1734 |
<show_in_default>1</show_in_default>
|
1735 |
<show_in_website>1</show_in_website>
|
1736 |
<show_in_store>1</show_in_store>
|
1759 |
<title translate="label">
|
1760 |
<label>Novalnet Title</label>
|
1761 |
<frontend_type>text</frontend_type>
|
1762 |
+
<config_path>payment/novalnetPhonepayment/title</config_path>
|
1763 |
<sort_order>2</sort_order>
|
1764 |
<show_in_default>1</show_in_default>
|
1765 |
<show_in_website>1</show_in_website>
|
1768 |
<order_status translate="label">
|
1769 |
<label>Set order Status</label>
|
1770 |
<frontend_type>select</frontend_type>
|
1771 |
+
<config_path>payment/novalnetPhonepayment/order_status</config_path>
|
1772 |
<source_model>adminhtml/system_config_source_order_status</source_model>
|
1773 |
<sort_order>3</sort_order>
|
1774 |
<show_in_default>1</show_in_default>
|
1776 |
<show_in_store>1</show_in_store>
|
1777 |
</order_status>
|
1778 |
<booking_reference translate="label">
|
1779 |
+
<label>Information to the end customer (this will appear in the payment page)</label>
|
|
|
1780 |
<frontend_type>text</frontend_type>
|
1781 |
+
<config_path>payment/novalnetPhonepayment/booking_reference</config_path>
|
1782 |
+
<sort_order>4</sort_order>
|
1783 |
<show_in_default>1</show_in_default>
|
1784 |
<show_in_website>1</show_in_website>
|
1785 |
<show_in_store>1</show_in_store>
|
1786 |
</booking_reference>
|
1787 |
+
<reference_one translate="label">
|
1788 |
+
<label>Transaction reference 1</label>
|
1789 |
+
<comment>This will appear in the transactions details / account statement</comment>
|
1790 |
+
<frontend_type>text</frontend_type>
|
1791 |
+
<config_path>payment/novalnetPhonepayment/reference_one</config_path>
|
1792 |
+
<sort_order>5</sort_order>
|
1793 |
+
<show_in_default>1</show_in_default>
|
1794 |
+
<show_in_website>1</show_in_website>
|
1795 |
+
<show_in_store>1</show_in_store>
|
1796 |
+
</reference_one>
|
1797 |
+
<reference_two translate="label">
|
1798 |
+
<label>Transaction reference 2</label>
|
1799 |
+
<comment>This will appear in the transactions details / account statement</comment>
|
1800 |
+
<frontend_type>text</frontend_type>
|
1801 |
+
<config_path>payment/novalnetPhonepayment/reference_two</config_path>
|
1802 |
+
<sort_order>6</sort_order>
|
1803 |
+
<show_in_default>1</show_in_default>
|
1804 |
+
<show_in_website>1</show_in_website>
|
1805 |
+
<show_in_store>1</show_in_store>
|
1806 |
+
</reference_two>
|
1807 |
<user_group_excluded translate="label">
|
1808 |
<comment>Excluded User Group Desc</comment>
|
1809 |
<label>User Group Excluded</label>
|
1810 |
<frontend_type>text</frontend_type>
|
1811 |
+
<config_path>payment/novalnetPhonepayment/user_group_excluded</config_path>
|
1812 |
+
<sort_order>7</sort_order>
|
1813 |
<show_in_default>1</show_in_default>
|
1814 |
<show_in_website>1</show_in_website>
|
1815 |
<show_in_store>1</show_in_store>
|
1818 |
<comment>Gateway Timeout in seconds</comment>
|
1819 |
<label>Gateway Timeout</label>
|
1820 |
<frontend_type>text</frontend_type>
|
1821 |
+
<config_path>payment/novalnetPhonepayment/gateway_timeout</config_path>
|
1822 |
+
<sort_order>8</sort_order>
|
1823 |
<show_in_default>1</show_in_default>
|
1824 |
<show_in_website>1</show_in_website>
|
1825 |
<show_in_store>1</show_in_store>
|
1827 |
<allowspecific translate="label">
|
1828 |
<label>Payment from applicable countries</label>
|
1829 |
<frontend_type>allowspecific</frontend_type>
|
1830 |
+
<config_path>payment/novalnetPhonepayment/allowspecific</config_path>
|
1831 |
+
<sort_order>9</sort_order>
|
1832 |
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1833 |
<show_in_default>1</show_in_default>
|
1834 |
<show_in_website>1</show_in_website>
|
1837 |
<specificcountry translate="label">
|
1838 |
<label>Payment from Specific countries</label>
|
1839 |
<frontend_type>multiselect</frontend_type>
|
1840 |
+
<config_path>payment/novalnetPhonepayment/specificcountry</config_path>
|
1841 |
+
<sort_order>10</sort_order>
|
1842 |
<source_model>adminhtml/system_config_source_country</source_model>
|
1843 |
<show_in_default>1</show_in_default>
|
1844 |
<show_in_website>1</show_in_website>
|
1848 |
<min_order_total translate="label">
|
1849 |
<label>Novalnet Minimum Order Total</label>
|
1850 |
<frontend_type>text</frontend_type>
|
1851 |
+
<config_path>payment/novalnetPhonepayment/min_order_total</config_path>
|
1852 |
+
<sort_order>11</sort_order>
|
1853 |
<show_in_default>1</show_in_default>
|
1854 |
<show_in_website>1</show_in_website>
|
1855 |
<show_in_store>1</show_in_store>
|
1857 |
<max_order_total translate="label">
|
1858 |
<label>Novalnet Maximum Order Total</label>
|
1859 |
<frontend_type>text</frontend_type>
|
1860 |
+
<config_path>payment/novalnetPhonepayment/max_order_total</config_path>
|
1861 |
+
<sort_order>12</sort_order>
|
1862 |
<show_in_default>1</show_in_default>
|
1863 |
<show_in_website>1</show_in_website>
|
1864 |
<show_in_store>1</show_in_store>
|
1866 |
<orderscount translate="label">
|
1867 |
<label>Novalnet Minimum Orders Count</label>
|
1868 |
<frontend_type>text</frontend_type>
|
1869 |
+
<config_path>payment/novalnetPhonepayment/orderscount</config_path>
|
1870 |
+
<sort_order>13</sort_order>
|
1871 |
<comment>Novalnet Minimum Orders Count Desc</comment>
|
1872 |
<show_in_default>1</show_in_default>
|
1873 |
<show_in_website>1</show_in_website>
|
1878 |
<comment>Sort order of display. Lowest is displayed first.</comment>
|
1879 |
<frontend_type>text</frontend_type>
|
1880 |
<config_path>payment/novalnetPhonepayment/sort_order</config_path>
|
1881 |
+
<sort_order>14</sort_order>
|
1882 |
<show_in_default>1</show_in_default>
|
1883 |
<show_in_website>1</show_in_website>
|
1884 |
<show_in_store>1</show_in_store>
|
1889 |
<!--{{{ Novalnet Secure-->
|
1890 |
<novalnetSecure translate="label" module="novalnet_payment">
|
1891 |
<label>Novalnet Credit Card 3D-Secure</label>
|
1892 |
+
<sort_order>682</sort_order>
|
1893 |
<show_in_default>1</show_in_default>
|
1894 |
<show_in_website>1</show_in_website>
|
1895 |
<show_in_store>1</show_in_store>
|
1916 |
<order_status translate="label">
|
1917 |
<label>Order Status Before Payment</label>
|
1918 |
<frontend_type>select</frontend_type>
|
1919 |
+
<config_path>payment/novalnetSecure/order_status</config_path>
|
1920 |
<source_model>adminhtml/system_config_source_order_status</source_model>
|
1921 |
<sort_order>3</sort_order>
|
1922 |
<show_in_default>1</show_in_default>
|
1926 |
<order_status_after_payment translate="label">
|
1927 |
<label>Order Status After Successful Payment</label>
|
1928 |
<frontend_type>select</frontend_type>
|
1929 |
+
<config_path>payment/novalnetSecure/order_status_after_payment</config_path>
|
1930 |
<source_model>adminhtml/system_config_source_order_status</source_model>
|
1931 |
<sort_order>4</sort_order>
|
1932 |
<show_in_default>1</show_in_default>
|
1936 |
<cctypes translate="label">
|
1937 |
<label>Credit Card Types</label>
|
1938 |
<frontend_type>multiselect</frontend_type>
|
1939 |
+
<config_path>payment/novalnetSecure/cctypes</config_path>
|
1940 |
<source_model>novalnet_payment/novalnet_source_cctype</source_model>
|
1941 |
<sort_order>5</sort_order>
|
1942 |
<show_in_default>1</show_in_default>
|
1944 |
<show_in_store>1</show_in_store>
|
1945 |
</cctypes>
|
1946 |
<manual_checking_amount tranlate="label" >
|
1947 |
+
<label>Manual checking of order</label>
|
1948 |
+
<comment>Manual checking of order Desc</comment>
|
1949 |
<frontend_type>text</frontend_type>
|
1950 |
+
<config_path>payment/novalnetSecure/manual_checking_amount</config_path>
|
1951 |
+
<sort_order>6</sort_order>
|
1952 |
<show_in_default>1</show_in_default>
|
1953 |
<show_in_website>1</show_in_website>
|
1954 |
<show_in_store>1</show_in_store>
|
1955 |
</manual_checking_amount>
|
1956 |
<second_product_id translate="label">
|
1957 |
+
<label>Second Product ID for manual check condition</label>
|
1958 |
+
<comment>Second Product ID in Novalnet to use the manual check condition</comment>
|
1959 |
<frontend_type>text</frontend_type>
|
1960 |
+
<config_path>payment/novalnetSecure/second_product_id</config_path>
|
1961 |
+
<sort_order>7</sort_order>
|
1962 |
<show_in_default>1</show_in_default>
|
1963 |
<show_in_website>1</show_in_website>
|
1964 |
<show_in_store>1</show_in_store>
|
1965 |
</second_product_id>
|
1966 |
<second_tariff_id translate="label">
|
1967 |
+
<label>Second Tariff ID for manual check condition</label>
|
1968 |
+
<comment>Second Tariff ID in Novalnet to use the manual check condition</comment>
|
1969 |
<frontend_type>text</frontend_type>
|
1970 |
+
<config_path>payment/novalnetSecure/second_tariff_id</config_path>
|
1971 |
+
<sort_order>8</sort_order>
|
1972 |
<show_in_default>1</show_in_default>
|
1973 |
<show_in_website>1</show_in_website>
|
1974 |
<show_in_store>1</show_in_store>
|
1975 |
</second_tariff_id>
|
1976 |
+
<novalnetSecure_error translate="label">
|
1977 |
+
<label>Auto refill the payment data entered in payment page</label>
|
1978 |
+
<frontend_type>select</frontend_type>
|
1979 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1980 |
+
<config_path>payment/novalnetSecure/novalnetSecure_error</config_path>
|
1981 |
+
<sort_order>9</sort_order>
|
1982 |
+
<show_in_default>1</show_in_default>
|
1983 |
+
<show_in_website>1</show_in_website>
|
1984 |
+
<show_in_store>1</show_in_store>
|
1985 |
+
</novalnetSecure_error>
|
1986 |
<booking_reference translate="label">
|
1987 |
+
<label>Information to the end customer (this will appear in the payment page)</label>
|
|
|
1988 |
<frontend_type>text</frontend_type>
|
1989 |
+
<config_path>payment/novalnetSecure/booking_reference</config_path>
|
1990 |
+
<sort_order>10</sort_order>
|
1991 |
<show_in_default>1</show_in_default>
|
1992 |
<show_in_website>1</show_in_website>
|
1993 |
<show_in_store>1</show_in_store>
|
1994 |
</booking_reference>
|
1995 |
+
<reference_one translate="label">
|
1996 |
+
<label>Transaction reference 1</label>
|
1997 |
+
<comment>This will appear in the transactions details / account statement</comment>
|
1998 |
+
<frontend_type>text</frontend_type>
|
1999 |
+
<config_path>payment/novalnetSecure/reference_one</config_path>
|
2000 |
+
<sort_order>11</sort_order>
|
2001 |
+
<show_in_default>1</show_in_default>
|
2002 |
+
<show_in_website>1</show_in_website>
|
2003 |
+
<show_in_store>1</show_in_store>
|
2004 |
+
</reference_one>
|
2005 |
+
<reference_two translate="label">
|
2006 |
+
<label>Transaction reference 2</label>
|
2007 |
+
<comment>This will appear in the transactions details / account statement</comment>
|
2008 |
+
<frontend_type>text</frontend_type>
|
2009 |
+
<config_path>payment/novalnetSecure/reference_two</config_path>
|
2010 |
+
<sort_order>12</sort_order>
|
2011 |
+
<show_in_default>1</show_in_default>
|
2012 |
+
<show_in_website>1</show_in_website>
|
2013 |
+
<show_in_store>1</show_in_store>
|
2014 |
+
</reference_two>
|
2015 |
<user_group_excluded translate="label">
|
2016 |
<comment>Excluded User Group Desc</comment>
|
2017 |
<label>User Group Excluded</label>
|
2018 |
<frontend_type>text</frontend_type>
|
2019 |
+
<config_path>payment/novalnetSecure/user_group_excluded</config_path>
|
2020 |
+
<sort_order>13</sort_order>
|
2021 |
<show_in_default>1</show_in_default>
|
2022 |
<show_in_website>1</show_in_website>
|
2023 |
<show_in_store>1</show_in_store>
|
2025 |
<save_cancelled_tid translate="label">
|
2026 |
<label>Display Novalnet Transaction ID for Cancelled Order</label>
|
2027 |
<frontend_type>select</frontend_type>
|
2028 |
+
<config_path>payment/novalnetSecure/save_cancelled_tid</config_path>
|
2029 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
2030 |
+
<sort_order>14</sort_order>
|
2031 |
<show_in_default>1</show_in_default>
|
2032 |
<show_in_website>1</show_in_website>
|
2033 |
<show_in_store>1</show_in_store>
|
2036 |
<comment>Gateway Timeout in seconds</comment>
|
2037 |
<label>Gateway Timeout</label>
|
2038 |
<frontend_type>text</frontend_type>
|
2039 |
+
<config_path>payment/novalnetSecure/gateway_timeout</config_path>
|
2040 |
+
<sort_order>15</sort_order>
|
2041 |
<show_in_default>1</show_in_default>
|
2042 |
<show_in_website>1</show_in_website>
|
2043 |
<show_in_store>1</show_in_store>
|
2045 |
<allowspecific translate="label">
|
2046 |
<label>Payment from applicable countries</label>
|
2047 |
<frontend_type>allowspecific</frontend_type>
|
2048 |
+
<config_path>payment/novalnetSecure/allowspecific</config_path>
|
2049 |
+
<sort_order>16</sort_order>
|
2050 |
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
2051 |
<show_in_default>1</show_in_default>
|
2052 |
<show_in_website>1</show_in_website>
|
2055 |
<specificcountry translate="label">
|
2056 |
<label>Payment from Specific countries</label>
|
2057 |
<frontend_type>multiselect</frontend_type>
|
2058 |
+
<config_path>payment/novalnetSecure/specificcountry</config_path>
|
2059 |
+
<sort_order>17</sort_order>
|
2060 |
<source_model>adminhtml/system_config_source_country</source_model>
|
2061 |
<show_in_default>1</show_in_default>
|
2062 |
<show_in_website>1</show_in_website>
|
2066 |
<min_order_total translate="label">
|
2067 |
<label>Novalnet Minimum Order Total</label>
|
2068 |
<frontend_type>text</frontend_type>
|
2069 |
+
<config_path>payment/novalnetSecure/min_order_total</config_path>
|
2070 |
+
<sort_order>18</sort_order>
|
2071 |
<show_in_default>1</show_in_default>
|
2072 |
<show_in_website>1</show_in_website>
|
2073 |
<show_in_store>1</show_in_store>
|
2076 |
<label>Novalnet Maximum Order Total</label>
|
2077 |
<frontend_type>text</frontend_type>
|
2078 |
<config_path>payment/novalnetSecure/max_order_total</config_path>
|
2079 |
+
<sort_order>19</sort_order>
|
2080 |
<show_in_default>1</show_in_default>
|
2081 |
<show_in_website>1</show_in_website>
|
2082 |
<show_in_store>1</show_in_store>
|
2083 |
</max_order_total>
|
2084 |
<orderscount translate="label">
|
2085 |
+
<label>Novalnet Minimum Orders Count</label>
|
2086 |
+
<frontend_type>text</frontend_type>
|
2087 |
+
<config_path>payment/novalnetSecure/orderscount</config_path>
|
2088 |
+
<sort_order>20</sort_order>
|
2089 |
+
<comment>Novalnet Minimum Orders Count Desc</comment>
|
2090 |
<show_in_default>1</show_in_default>
|
2091 |
+
<show_in_website>1</show_in_website>
|
2092 |
+
<show_in_store>1</show_in_store>
|
2093 |
</orderscount>
|
2094 |
<sort_order translate="label">
|
2095 |
<label>Novalnet Sort Order</label>
|
2096 |
<comment>Sort order of display. Lowest is displayed first.</comment>
|
2097 |
<frontend_type>text</frontend_type>
|
2098 |
<config_path>payment/novalnetSecure/sort_order</config_path>
|
2099 |
+
<sort_order>21</sort_order>
|
2100 |
<show_in_default>1</show_in_default>
|
2101 |
<show_in_website>1</show_in_website>
|
2102 |
<show_in_store>1</show_in_store>
|
2104 |
</fields>
|
2105 |
</novalnetSecure>
|
2106 |
<!--}}} Novalnet Secure-->
|
2107 |
+
<!--{{{ Novalnet Safetypay-->
|
2108 |
+
<novalnetSafetypay translate="label" module="novalnet_payment">
|
2109 |
+
<label>Novalnet Safetypay</label>
|
2110 |
+
<frontend_type>text</frontend_type>
|
2111 |
+
<sort_order>690</sort_order>
|
2112 |
+
<show_in_default>1</show_in_default>
|
2113 |
+
<show_in_website>1</show_in_website>
|
2114 |
+
<show_in_store>1</show_in_store>
|
2115 |
+
<fields>
|
2116 |
+
<active translate="label">
|
2117 |
+
<label>Enable Novalnet Module</label>
|
2118 |
+
<frontend_type>select</frontend_type>
|
2119 |
+
<config_path>payment/novalnetSafetypay/active</config_path>
|
2120 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
2121 |
+
<sort_order>1</sort_order>
|
2122 |
+
<show_in_default>1</show_in_default>
|
2123 |
+
<show_in_website>1</show_in_website>
|
2124 |
+
<show_in_store>1</show_in_store>
|
2125 |
+
</active>
|
2126 |
+
<title translate="label">
|
2127 |
+
<label>Novalnet Title</label>
|
2128 |
+
<frontend_type>text</frontend_type>
|
2129 |
+
<config_path>payment/novalnetSafetypay/title</config_path>
|
2130 |
+
<sort_order>2</sort_order>
|
2131 |
+
<show_in_default>1</show_in_default>
|
2132 |
+
<show_in_website>1</show_in_website>
|
2133 |
+
<show_in_store>1</show_in_store>
|
2134 |
+
</title>
|
2135 |
+
<order_status translate="label">
|
2136 |
+
<label>Order Status Before Payment</label>
|
2137 |
+
<frontend_type>select</frontend_type>
|
2138 |
+
<config_path>payment/novalnetSafetypay/order_status</config_path>
|
2139 |
+
<source_model>adminhtml/system_config_source_order_status</source_model>
|
2140 |
+
<sort_order>3</sort_order>
|
2141 |
+
<show_in_default>1</show_in_default>
|
2142 |
+
<show_in_website>1</show_in_website>
|
2143 |
+
<show_in_store>1</show_in_store>
|
2144 |
+
</order_status>
|
2145 |
+
<order_status_after_payment translate="label">
|
2146 |
+
<label>Order Status After Successful Payment</label>
|
2147 |
+
<frontend_type>select</frontend_type>
|
2148 |
+
<config_path>payment/novalnetSafetypay/order_status_after_payment</config_path>
|
2149 |
+
<source_model>adminhtml/system_config_source_order_status</source_model>
|
2150 |
+
<sort_order>4</sort_order>
|
2151 |
+
<show_in_default>1</show_in_default>
|
2152 |
+
<show_in_website>1</show_in_website>
|
2153 |
+
<show_in_store>1</show_in_store>
|
2154 |
+
</order_status_after_payment>
|
2155 |
+
<booking_reference translate="label">
|
2156 |
+
<label>Information to the end customer (this will appear in the payment page)</label>
|
2157 |
+
<frontend_type>text</frontend_type>
|
2158 |
+
<config_path>payment/novalnetSafetypay/booking_reference</config_path>
|
2159 |
+
<sort_order>5</sort_order>
|
2160 |
+
<show_in_default>1</show_in_default>
|
2161 |
+
<show_in_website>1</show_in_website>
|
2162 |
+
<show_in_store>1</show_in_store>
|
2163 |
+
</booking_reference>
|
2164 |
+
<reference_one translate="label">
|
2165 |
+
<label>Transaction reference 1</label>
|
2166 |
+
<comment>This will appear in the transactions details / account statement</comment>
|
2167 |
+
<frontend_type>text</frontend_type>
|
2168 |
+
<config_path>payment/novalnetSafetypay/reference_one</config_path>
|
2169 |
+
<sort_order>6</sort_order>
|
2170 |
+
<show_in_default>1</show_in_default>
|
2171 |
+
<show_in_website>1</show_in_website>
|
2172 |
+
<show_in_store>1</show_in_store>
|
2173 |
+
</reference_one>
|
2174 |
+
<reference_two translate="label">
|
2175 |
+
<label>Transaction reference 2</label>
|
2176 |
+
<comment>This will appear in the transactions details / account statement</comment>
|
2177 |
+
<frontend_type>text</frontend_type>
|
2178 |
+
<config_path>payment/novalnetSafetypay/reference_two</config_path>
|
2179 |
+
<sort_order>7</sort_order>
|
2180 |
+
<show_in_default>1</show_in_default>
|
2181 |
+
<show_in_website>1</show_in_website>
|
2182 |
+
<show_in_store>1</show_in_store>
|
2183 |
+
</reference_two>
|
2184 |
+
<user_group_excluded translate="label">
|
2185 |
+
<comment>Excluded User Group Desc</comment>
|
2186 |
+
<label>User Group Excluded</label>
|
2187 |
+
<frontend_type>text</frontend_type>
|
2188 |
+
<config_path>payment/novalnetSafetypay/user_group_excluded</config_path>
|
2189 |
+
<sort_order>8</sort_order>
|
2190 |
+
<show_in_default>1</show_in_default>
|
2191 |
+
<show_in_website>1</show_in_website>
|
2192 |
+
<show_in_store>1</show_in_store>
|
2193 |
+
</user_group_excluded>
|
2194 |
+
<save_cancelled_tid translate="label">
|
2195 |
+
<label>Display Novalnet Transaction ID for Cancelled Order</label>
|
2196 |
+
<frontend_type>select</frontend_type>
|
2197 |
+
<config_path>payment/novalnetSafetypay/save_cancelled_tid</config_path>
|
2198 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
2199 |
+
<sort_order>9</sort_order>
|
2200 |
+
<show_in_default>1</show_in_default>
|
2201 |
+
<show_in_website>1</show_in_website>
|
2202 |
+
<show_in_store>1</show_in_store>
|
2203 |
+
</save_cancelled_tid>
|
2204 |
+
<gateway_timeout translate="label">
|
2205 |
+
<comment>Gateway Timeout in seconds</comment>
|
2206 |
+
<label>Gateway Timeout</label>
|
2207 |
+
<frontend_type>text</frontend_type>
|
2208 |
+
<config_path>payment/novalnetSafetypay/gateway_timeout</config_path>
|
2209 |
+
<sort_order>10</sort_order>
|
2210 |
+
<show_in_default>1</show_in_default>
|
2211 |
+
<show_in_website>1</show_in_website>
|
2212 |
+
<show_in_store>1</show_in_store>
|
2213 |
+
</gateway_timeout>
|
2214 |
+
<allowspecific translate="label">
|
2215 |
+
<label>Payment from applicable countries</label>
|
2216 |
+
<frontend_type>allowspecific</frontend_type>
|
2217 |
+
<config_path>payment/novalnetSafetypay/allowspecific</config_path>
|
2218 |
+
<sort_order>11</sort_order>
|
2219 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
2220 |
+
<show_in_default>1</show_in_default>
|
2221 |
+
<show_in_website>1</show_in_website>
|
2222 |
+
<show_in_store>1</show_in_store>
|
2223 |
+
</allowspecific>
|
2224 |
+
<specificcountry translate="label">
|
2225 |
+
<label>Payment from Specific countries</label>
|
2226 |
+
<frontend_type>multiselect</frontend_type>
|
2227 |
+
<config_path>payment/novalnetSafetypay/specificcountry</config_path>
|
2228 |
+
<sort_order>12</sort_order>
|
2229 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
2230 |
+
<show_in_default>1</show_in_default>
|
2231 |
+
<show_in_website>1</show_in_website>
|
2232 |
+
<show_in_store>1</show_in_store>
|
2233 |
+
<depends><allowspecific>1</allowspecific></depends>
|
2234 |
+
</specificcountry>
|
2235 |
+
<min_order_total translate="label">
|
2236 |
+
<label>Novalnet Minimum Order Total</label>
|
2237 |
+
<frontend_type>text</frontend_type>
|
2238 |
+
<config_path>payment/novalnetSafetypay/min_order_total</config_path>
|
2239 |
+
<sort_order>13</sort_order>
|
2240 |
+
<show_in_default>1</show_in_default>
|
2241 |
+
<show_in_website>1</show_in_website>
|
2242 |
+
<show_in_store>1</show_in_store>
|
2243 |
+
</min_order_total>
|
2244 |
+
<max_order_total translate="label">
|
2245 |
+
<label>Novalnet Maximum Order Total</label>
|
2246 |
+
<frontend_type>text</frontend_type>
|
2247 |
+
<config_path>payment/novalnetSafetypay/max_order_total</config_path>
|
2248 |
+
<sort_order>14</sort_order>
|
2249 |
+
<show_in_default>1</show_in_default>
|
2250 |
+
<show_in_website>1</show_in_website>
|
2251 |
+
<show_in_store>1</show_in_store>
|
2252 |
+
</max_order_total>
|
2253 |
+
<orderscount translate="label">
|
2254 |
+
<label>Novalnet Minimum Orders Count</label>
|
2255 |
+
<frontend_type>text</frontend_type>
|
2256 |
+
<config_path>payment/novalnetSafetypay/orderscount</config_path>
|
2257 |
+
<sort_order>15</sort_order>
|
2258 |
+
<comment>Novalnet Minimum Orders Count Desc</comment>
|
2259 |
+
<show_in_default>1</show_in_default>
|
2260 |
+
<show_in_website>1</show_in_website>
|
2261 |
+
<show_in_store>1</show_in_store>
|
2262 |
+
</orderscount>
|
2263 |
+
<sort_order translate="label">
|
2264 |
+
<label>Novalnet Sort Order</label>
|
2265 |
+
<comment>Sort order of display. Lowest is displayed first.</comment>
|
2266 |
+
<frontend_type>text</frontend_type>
|
2267 |
+
<config_path>payment/novalnetSafetypay/sort_order</config_path>
|
2268 |
+
<sort_order>16</sort_order>
|
2269 |
+
<show_in_default>1</show_in_default>
|
2270 |
+
<show_in_website>1</show_in_website>
|
2271 |
+
<show_in_store>1</show_in_store>
|
2272 |
+
</sort_order>
|
2273 |
+
</fields>
|
2274 |
+
</novalnetSafetypay>
|
2275 |
+
<!--}}} Novalnet Safetypay-->
|
2276 |
</groups>
|
2277 |
</novalnet_paymethods>
|
2278 |
+
<!-- novalnet paymethods -->
|
2279 |
+
|
2280 |
<!-- Fraud prevention -->
|
2281 |
<fraud_prevent translate="label" module="novalnet_payment">
|
2282 |
<label>Risk and Control</label>
|
2283 |
<tab>novalnet</tab>
|
2284 |
<frontend_type>text</frontend_type>
|
2285 |
+
<sort_order>40</sort_order>
|
2286 |
<show_in_default>1</show_in_default>
|
2287 |
<show_in_website>1</show_in_website>
|
2288 |
<show_in_store>1</show_in_store>
|
2298 |
<fields>
|
2299 |
<callback translate="label">
|
2300 |
<comment>PIN by Callback/SMS/E-Mail Desc</comment>
|
2301 |
+
<label>Fraudprevention through PIN by Callback/SMS/E-Mail</label>
|
2302 |
<frontend_type>select</frontend_type>
|
2303 |
<config_path>payment/novalnetCc/callback</config_path>
|
2304 |
<source_model>novalnet_payment/novalnet_source_callbacktypes</source_model>
|
2329 |
<fields>
|
2330 |
<callback translate="label">
|
2331 |
<comment>PIN by Callback/SMS/E-Mail Desc</comment>
|
2332 |
+
<label>Fraudprevention through PIN by Callback/SMS/E-Mail</label>
|
2333 |
<frontend_type>select</frontend_type>
|
2334 |
<config_path>payment/novalnetElvaustria/callback</config_path>
|
2335 |
<source_model>novalnet_payment/novalnet_source_callbacktypes</source_model>
|
2360 |
<fields>
|
2361 |
<callback translate="label">
|
2362 |
<comment>PIN by Callback/SMS/E-Mail Desc</comment>
|
2363 |
+
<label>Fraudprevention through PIN by Callback/SMS/E-Mail</label>
|
2364 |
<frontend_type>select</frontend_type>
|
2365 |
<config_path>payment/novalnetElvgerman/callback</config_path>
|
2366 |
<source_model>novalnet_payment/novalnet_source_callbacktypes</source_model>
|
2392 |
<fields>
|
2393 |
<callback translate="label">
|
2394 |
<comment>PIN by Callback/SMS/E-Mail Desc</comment>
|
2395 |
+
<label>Fraudprevention through PIN by Callback/SMS/E-Mail</label>
|
2396 |
<frontend_type>select</frontend_type>
|
2397 |
<config_path>payment/novalnetInvoice/callback</config_path>
|
2398 |
<source_model>novalnet_payment/novalnet_source_callbacktypes</source_model>
|
app/code/community/Novalnet/Payment/sql/novalnet_setup/install.sql
DELETED
@@ -1,35 +0,0 @@
|
|
1 |
-
DROP TABLE IF EXISTS `{{novalnet_order_log}}` ;
|
2 |
-
CREATE TABLE `{{novalnet_order_log}}` (
|
3 |
-
`nn_log_id` int(11) UNSIGNED NOT NULL auto_increment,
|
4 |
-
`request_data` TEXT NOT NULL DEFAULT '',
|
5 |
-
`response_data` TEXT NOT NULL DEFAULT '',
|
6 |
-
`order_id` VARCHAR(50) NOT NULL DEFAULT '',
|
7 |
-
`customer_id` int(11) NOT NULL,
|
8 |
-
`status` VARCHAR(20) NOT NULL DEFAULT '',
|
9 |
-
`failed_reason` TEXT NOT NULL DEFAULT '',
|
10 |
-
`store_id` int(11) UNSIGNED NOT NULL,
|
11 |
-
`shop_url` VARCHAR(255) NOT NULL DEFAULT '',
|
12 |
-
`transaction_id` VARCHAR(50) NOT NULL,
|
13 |
-
`additional_data` TEXT NOT NULL DEFAULT '',
|
14 |
-
`created_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
15 |
-
PRIMARY KEY (`nn_log_id`)
|
16 |
-
) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_unicode_ci;
|
17 |
-
|
18 |
-
|
19 |
-
DROP TABLE IF EXISTS `{{novalnet_transaction_status}}` ;
|
20 |
-
CREATE TABLE `{{novalnet_transaction_status}}` (
|
21 |
-
`nn_txn_id` int(11) UNSIGNED NOT NULL auto_increment,
|
22 |
-
`transaction_no` VARCHAR(50) NOT NULL,
|
23 |
-
`order_id` VARCHAR(50) NOT NULL DEFAULT '',
|
24 |
-
`transaction_status` VARCHAR(20) NOT NULL DEFAULT 0,
|
25 |
-
`nc_no` VARCHAR(11) NOT NULL,
|
26 |
-
`customer_id` int(11) NOT NULL,
|
27 |
-
`payment_name` VARCHAR(50) NOT NULL DEFAULT '',
|
28 |
-
`amount` decimal(12,4) NOT NULL,
|
29 |
-
`remote_ip` VARCHAR(20) NOT NULL,
|
30 |
-
`store_id` int(11) UNSIGNED NOT NULL,
|
31 |
-
`shop_url` VARCHAR(255) NOT NULL DEFAULT '',
|
32 |
-
`additional_data` TEXT NOT NULL DEFAULT '',
|
33 |
-
`created_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
34 |
-
PRIMARY KEY (`nn_txn_id`)
|
35 |
-
) ENGINE = INNODB CHARACTER SET utf8 COLLATE utf8_unicode_ci;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Novalnet/Payment/sql/novalnet_setup/mysql4-install-1.0.0.php
DELETED
@@ -1,146 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/** novalnet tables */
|
4 |
-
$tableOrderLog = $this->getTable('novalnet_payment/order_log');
|
5 |
-
$tableTransactionStatus = $this->getTable('novalnet_payment/transaction_status');
|
6 |
-
|
7 |
-
$installer = $this;
|
8 |
-
$installer->startSetup();
|
9 |
-
$helper = Mage::helper('novalnet_payment');
|
10 |
-
|
11 |
-
$magentoVersion = Mage::getVersion();
|
12 |
-
|
13 |
-
$useOldVersion = false;
|
14 |
-
if (version_compare($magentoVersion, '1.6', '<'))
|
15 |
-
$useOldVersion = true;
|
16 |
-
|
17 |
-
if ($useOldVersion) {
|
18 |
-
|
19 |
-
$datetime = 'datetime';
|
20 |
-
$sql = file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'install.sql');
|
21 |
-
|
22 |
-
$installSqlConfig = array(
|
23 |
-
'{{novalnet_order_log}}' => $tableOrderLog,
|
24 |
-
'{{novalnet_transaction_status}}' => $tableTransactionStatus
|
25 |
-
);
|
26 |
-
|
27 |
-
$installSql = str_replace(array_keys($installSqlConfig), array_values($installSqlConfig), $sql);
|
28 |
-
$installer->run($installSql);
|
29 |
-
} else {
|
30 |
-
$connection = $installer->getConnection();
|
31 |
-
$table = $connection->newTable($tableOrderLog);
|
32 |
-
|
33 |
-
$table->addColumn('nn_log_id', Varien_Db_Ddl_Table::TYPE_INTEGER, 11, array(
|
34 |
-
'unsigned' => true,
|
35 |
-
'nullable' => false,
|
36 |
-
'primary' => true,
|
37 |
-
'identity' => true,
|
38 |
-
'auto_increment' => true)
|
39 |
-
);
|
40 |
-
$table->addColumn('request_data', Varien_Db_Ddl_Table::TYPE_TEXT, NULL, array(
|
41 |
-
'nullable' => false)
|
42 |
-
);
|
43 |
-
$table->addColumn('response_data', Varien_Db_Ddl_Table::TYPE_TEXT, NULL, array(
|
44 |
-
'nullable' => false)
|
45 |
-
);
|
46 |
-
$table->addColumn('order_id', Varien_Db_Ddl_Table::TYPE_VARCHAR, 50, array(
|
47 |
-
'unsigned' => false,
|
48 |
-
'nullable' => false)
|
49 |
-
);
|
50 |
-
$table->addColumn('customer_id', Varien_Db_Ddl_Table::TYPE_INTEGER, 11, array(
|
51 |
-
'unsigned' => true,
|
52 |
-
'nullable' => false)
|
53 |
-
);
|
54 |
-
$table->addColumn('status', Varien_Db_Ddl_Table::TYPE_VARCHAR, 20, array('nullable' => false)
|
55 |
-
);
|
56 |
-
$table->addColumn('failed_reason', Varien_Db_Ddl_Table::TYPE_TEXT, NULL, array(
|
57 |
-
'unsigned' => true,
|
58 |
-
'nullable' => false)
|
59 |
-
);
|
60 |
-
$table->addColumn('store_id', Varien_Db_Ddl_Table::TYPE_INTEGER, 11, array(
|
61 |
-
'unsigned' => true,
|
62 |
-
'nullable' => false)
|
63 |
-
);
|
64 |
-
$table->addColumn('shop_url', Varien_Db_Ddl_Table::TYPE_VARCHAR, 255, array('nullable' => false)
|
65 |
-
);
|
66 |
-
$table->addColumn('transaction_id', Varien_Db_Ddl_Table::TYPE_VARCHAR, 50, array('nullable' => false)
|
67 |
-
);
|
68 |
-
$table->addColumn('additional_data', Varien_Db_Ddl_Table::TYPE_TEXT, NULL, array(
|
69 |
-
'unsigned' => true,
|
70 |
-
'nullable' => false)
|
71 |
-
);
|
72 |
-
$table->addColumn('created_date', Varien_Db_Ddl_Table::TYPE_DATETIME, NULL, array(
|
73 |
-
'unsigned' => true,
|
74 |
-
'nullable' => false)
|
75 |
-
);
|
76 |
-
|
77 |
-
//Set Engine to MyISAM
|
78 |
-
$table->setOption('type', 'MyISAM');
|
79 |
-
|
80 |
-
// Create table 'novalnet_order_log'
|
81 |
-
$connection->createTable($table);
|
82 |
-
|
83 |
-
// Create table 'novalnet_transaction_status'
|
84 |
-
$table = $connection->newTable($tableTransactionStatus);
|
85 |
-
|
86 |
-
$table->addColumn('nn_txn_id', Varien_Db_Ddl_Table::TYPE_INTEGER, 11, array(
|
87 |
-
'unsigned' => true,
|
88 |
-
'nullable' => false,
|
89 |
-
'primary' => true,
|
90 |
-
'identity' => true,
|
91 |
-
'auto_increment' => true)
|
92 |
-
);
|
93 |
-
$table->addColumn('transaction_no', Varien_Db_Ddl_Table::TYPE_VARCHAR, 50, array(
|
94 |
-
'nullable' => false)
|
95 |
-
);
|
96 |
-
$table->addColumn('order_id', Varien_Db_Ddl_Table::TYPE_VARCHAR, 50, array(
|
97 |
-
'unsigned' => false,
|
98 |
-
'nullable' => false)
|
99 |
-
);
|
100 |
-
$table->addColumn('transaction_status', Varien_Db_Ddl_Table::TYPE_VARCHAR, 20, array(
|
101 |
-
'unsigned' => true,
|
102 |
-
'nullable' => false)
|
103 |
-
);
|
104 |
-
$table->addColumn('nc_no', Varien_Db_Ddl_Table::TYPE_VARCHAR, 10, array(
|
105 |
-
'unsigned' => true,
|
106 |
-
'nullable' => false)
|
107 |
-
);
|
108 |
-
$table->addColumn('customer_id', Varien_Db_Ddl_Table::TYPE_INTEGER, 11, array(
|
109 |
-
'unsigned' => true,
|
110 |
-
'nullable' => false)
|
111 |
-
);
|
112 |
-
$table->addColumn('payment_name', Varien_Db_Ddl_Table::TYPE_VARCHAR, 50, array(
|
113 |
-
'unsigned' => true,
|
114 |
-
'nullable' => false)
|
115 |
-
);
|
116 |
-
$table->addColumn('amount', Varien_Db_Ddl_Table::TYPE_DECIMAL, '12,4', array(
|
117 |
-
'unsigned' => true,
|
118 |
-
'nullable' => false)
|
119 |
-
);
|
120 |
-
$table->addColumn('remote_ip', Varien_Db_Ddl_Table::TYPE_VARCHAR, 20, array(
|
121 |
-
'unsigned' => true,
|
122 |
-
'nullable' => false)
|
123 |
-
);
|
124 |
-
$table->addColumn('store_id', Varien_Db_Ddl_Table::TYPE_INTEGER, NULL, array(
|
125 |
-
'unsigned' => true,
|
126 |
-
'nullable' => false)
|
127 |
-
);
|
128 |
-
$table->addColumn('shop_url', Varien_Db_Ddl_Table::TYPE_VARCHAR, 255, array(
|
129 |
-
'unsigned' => true,
|
130 |
-
'nullable' => false)
|
131 |
-
);
|
132 |
-
$table->addColumn('additional_data', Varien_Db_Ddl_Table::TYPE_TEXT, NULL, array(
|
133 |
-
'unsigned' => true,
|
134 |
-
'nullable' => false)
|
135 |
-
);
|
136 |
-
$table->addColumn('created_date', Varien_Db_Ddl_Table::TYPE_DATETIME, NULL, array(
|
137 |
-
'unsigned' => true,
|
138 |
-
'nullable' => false)
|
139 |
-
);
|
140 |
-
//Set Engine to InnoDB
|
141 |
-
$table->setOption('type', 'InnoDB');
|
142 |
-
// Create table 'novalnet_transaction_status'
|
143 |
-
$connection->createTable($table);
|
144 |
-
}
|
145 |
-
|
146 |
-
$installer->endSetup();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Novalnet/Payment/sql/novalnet_setup/mysql4-install-5.0.2.php
ADDED
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/** novalnet tables */
|
28 |
+
$tableOrderLog = $this->getTable('novalnet_payment/order_log');
|
29 |
+
$tableTransactionStatus = $this->getTable('novalnet_payment/transaction_status');
|
30 |
+
$tableCallback = $this->getTable('novalnet_payment/callback');
|
31 |
+
|
32 |
+
/** magento tables */
|
33 |
+
$tableOrderPayment = $this->getTable('sales/order_payment');
|
34 |
+
|
35 |
+
$installer = $this;
|
36 |
+
|
37 |
+
$installer->startSetup();
|
38 |
+
|
39 |
+
#-----------------------------------------------------------------
|
40 |
+
#-- Create Table novalnet_order_log
|
41 |
+
#-----------------------------------------------------------------
|
42 |
+
$installer->run("
|
43 |
+
CREATE TABLE IF NOT EXISTS `{$tableOrderLog}` (
|
44 |
+
`nn_log_id` int(11) UNSIGNED NOT NULL auto_increment,
|
45 |
+
`request_data` TEXT NOT NULL DEFAULT '',
|
46 |
+
`response_data` TEXT NOT NULL DEFAULT '',
|
47 |
+
`order_id` VARCHAR(50) NOT NULL DEFAULT '',
|
48 |
+
`customer_id` VARCHAR(10) NOT NULL DEFAULT '',
|
49 |
+
`status` VARCHAR(20) NOT NULL DEFAULT '',
|
50 |
+
`failed_reason` TEXT NOT NULL DEFAULT '',
|
51 |
+
`store_id` int(11) UNSIGNED NOT NULL,
|
52 |
+
`shop_url` VARCHAR(255) NOT NULL DEFAULT '',
|
53 |
+
`transaction_id` VARCHAR(50) NOT NULL,
|
54 |
+
`additional_data` TEXT NOT NULL DEFAULT '',
|
55 |
+
`created_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
56 |
+
PRIMARY KEY (`nn_log_id`)
|
57 |
+
) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_unicode_ci;
|
58 |
+
");
|
59 |
+
|
60 |
+
#-----------------------------------------------------------------
|
61 |
+
#-- Create Table novalnet_transaction_status
|
62 |
+
#-----------------------------------------------------------------
|
63 |
+
$installer->run("
|
64 |
+
CREATE TABLE IF NOT EXISTS `{$tableTransactionStatus}` (
|
65 |
+
`nn_txn_id` int(11) UNSIGNED NOT NULL auto_increment,
|
66 |
+
`transaction_no` VARCHAR(50) NOT NULL,
|
67 |
+
`order_id` VARCHAR(50) NOT NULL DEFAULT '',
|
68 |
+
`transaction_status` VARCHAR(20) NOT NULL DEFAULT 0,
|
69 |
+
`nc_no` VARCHAR(11) NOT NULL,
|
70 |
+
`customer_id` VARCHAR(10) NOT NULL DEFAULT '',
|
71 |
+
`payment_name` VARCHAR(50) NOT NULL DEFAULT '',
|
72 |
+
`amount` decimal(12,4) NOT NULL,
|
73 |
+
`remote_ip` VARCHAR(20) NOT NULL,
|
74 |
+
`store_id` int(11) UNSIGNED NOT NULL,
|
75 |
+
`shop_url` VARCHAR(255) NOT NULL DEFAULT '',
|
76 |
+
`additional_data` TEXT NOT NULL DEFAULT '',
|
77 |
+
`created_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
78 |
+
PRIMARY KEY (`nn_txn_id`)
|
79 |
+
) ENGINE = INNODB CHARACTER SET utf8 COLLATE utf8_unicode_ci;
|
80 |
+
");
|
81 |
+
|
82 |
+
#-----------------------------------------------------------------
|
83 |
+
#-- Create Table novalnet_order_callback
|
84 |
+
#-----------------------------------------------------------------
|
85 |
+
$installer->run("
|
86 |
+
CREATE TABLE IF NOT EXISTS `{$tableCallback}` (
|
87 |
+
`id` int(11) UNSIGNED NOT NULL auto_increment,
|
88 |
+
`order_id` VARCHAR(50) NOT NULL DEFAULT '',
|
89 |
+
`callback_amount` int(11) UNSIGNED NOT NULL,
|
90 |
+
`reference_tid` VARCHAR(50) NOT NULL,
|
91 |
+
`callback_datetime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
92 |
+
`callback_tid` VARCHAR(50) NOT NULL,
|
93 |
+
`callback_log` TEXT NOT NULL DEFAULT '',
|
94 |
+
PRIMARY KEY (`id`)
|
95 |
+
) ENGINE = INNODB CHARACTER SET utf8 COLLATE utf8_unicode_ci;
|
96 |
+
");
|
97 |
+
|
98 |
+
$installer->run("
|
99 |
+
UPDATE `{$tableOrderPayment}` SET `method` = 'novalnetSofortueberweisung'
|
100 |
+
WHERE `method` = 'novalnetsofortueberweisung';
|
101 |
+
UPDATE `{$tableOrderPayment}` SET `method` = 'novalnetPaypal'
|
102 |
+
WHERE `method` = 'novalnetpaypal';
|
103 |
+
UPDATE `{$tableOrderPayment}` SET `method` = 'novalnetIdeal'
|
104 |
+
WHERE `method` = 'novalnetideal';
|
105 |
+
");
|
106 |
+
$installer->endSetup();
|
app/code/community/Novalnet/Payment/sql/novalnet_setup/mysql4-upgrade-5.0.0-5.0.2.php
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/** novalnet table */
|
28 |
+
$tableCallback = $this->getTable('novalnet_payment/callback');
|
29 |
+
|
30 |
+
/** magento table */
|
31 |
+
$tableOrderPayment = $this->getTable('sales/order_payment');
|
32 |
+
|
33 |
+
$installer = $this;
|
34 |
+
|
35 |
+
$installer->startSetup();
|
36 |
+
|
37 |
+
#-----------------------------------------------------------------
|
38 |
+
#-- Create Table novalnet_order_callback
|
39 |
+
#-----------------------------------------------------------------
|
40 |
+
$installer->run("
|
41 |
+
CREATE TABLE IF NOT EXISTS `{$tableCallback}` (
|
42 |
+
`id` int(11) UNSIGNED NOT NULL auto_increment,
|
43 |
+
`order_id` VARCHAR(50) NOT NULL DEFAULT '',
|
44 |
+
`callback_amount` int(11) UNSIGNED NOT NULL,
|
45 |
+
`reference_tid` VARCHAR(50) NOT NULL,
|
46 |
+
`callback_datetime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
47 |
+
`callback_tid` VARCHAR(50) NOT NULL,
|
48 |
+
`callback_log` TEXT NOT NULL DEFAULT '',
|
49 |
+
PRIMARY KEY (`id`)
|
50 |
+
) ENGINE = INNODB CHARACTER SET utf8 COLLATE utf8_unicode_ci;
|
51 |
+
");
|
52 |
+
|
53 |
+
$installer->run("
|
54 |
+
UPDATE `{$tableOrderPayment}` SET `method` = 'novalnetSofortueberweisung'
|
55 |
+
WHERE `method` = 'novalnetsofortueberweisung';
|
56 |
+
UPDATE `{$tableOrderPayment}` SET `method` = 'novalnetPaypal'
|
57 |
+
WHERE `method` = 'novalnetpaypal';
|
58 |
+
UPDATE `{$tableOrderPayment}` SET `method` = 'novalnetIdeal'
|
59 |
+
WHERE `method` = 'novalnetideal';
|
60 |
+
");
|
61 |
+
$installer->endSetup();
|
app/code/community/Novalnet/Payment/sql/novalnet_setup/mysql4-upgrade-5.0.1-5.0.2.php
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/** novalnet table */
|
28 |
+
$tableCallback = $this->getTable('novalnet_payment/callback');
|
29 |
+
|
30 |
+
/** magento table */
|
31 |
+
$tableOrderPayment = $this->getTable('sales/order_payment');
|
32 |
+
|
33 |
+
$installer = $this;
|
34 |
+
|
35 |
+
$installer->startSetup();
|
36 |
+
|
37 |
+
#-----------------------------------------------------------------
|
38 |
+
#-- Create Table novalnet_order_callback
|
39 |
+
#-----------------------------------------------------------------
|
40 |
+
$installer->run("
|
41 |
+
CREATE TABLE IF NOT EXISTS `{$tableCallback}` (
|
42 |
+
`id` int(11) UNSIGNED NOT NULL auto_increment,
|
43 |
+
`order_id` VARCHAR(50) NOT NULL DEFAULT '',
|
44 |
+
`callback_amount` int(11) UNSIGNED NOT NULL,
|
45 |
+
`reference_tid` VARCHAR(50) NOT NULL,
|
46 |
+
`callback_datetime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
47 |
+
`callback_tid` VARCHAR(50) NOT NULL,
|
48 |
+
`callback_log` TEXT NOT NULL DEFAULT '',
|
49 |
+
PRIMARY KEY (`id`)
|
50 |
+
) ENGINE = INNODB CHARACTER SET utf8 COLLATE utf8_unicode_ci;
|
51 |
+
");
|
52 |
+
|
53 |
+
$installer->run("
|
54 |
+
UPDATE `{$tableOrderPayment}` SET `method` = 'novalnetSofortueberweisung'
|
55 |
+
WHERE `method` = 'novalnetsofortueberweisung';
|
56 |
+
UPDATE `{$tableOrderPayment}` SET `method` = 'novalnetPaypal'
|
57 |
+
WHERE `method` = 'novalnetpaypal';
|
58 |
+
UPDATE `{$tableOrderPayment}` SET `method` = 'novalnetIdeal'
|
59 |
+
WHERE `method` = 'novalnetideal';
|
60 |
+
");
|
61 |
+
$installer->endSetup();
|
app/design/adminhtml/default/default/layout/novalnet/configuration.xml
CHANGED
@@ -5,6 +5,9 @@
|
|
5 |
<action method="addJs">
|
6 |
<script>novalnet/novalnetcc.js</script>
|
7 |
</action>
|
|
|
|
|
|
|
8 |
</reference>
|
9 |
</adminhtml_sales_order_create_index>
|
10 |
|
@@ -35,6 +38,16 @@
|
|
35 |
<block>novalnet_payment/adminhtml_sales_order_view_tab_transactionOverview</block>
|
36 |
</action>
|
37 |
</reference>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
</adminhtml_sales_order_view>
|
39 |
|
40 |
<!--
|
@@ -116,4 +129,4 @@
|
|
116 |
name="novalnet_payment_information" />
|
117 |
</reference>
|
118 |
</novalnet_payment_adminhtml_information_index>
|
119 |
-
</layout>
|
5 |
<action method="addJs">
|
6 |
<script>novalnet/novalnetcc.js</script>
|
7 |
</action>
|
8 |
+
<action method="addJs">
|
9 |
+
<script>novalnet/novalnetsepa.js</script>
|
10 |
+
</action>
|
11 |
</reference>
|
12 |
</adminhtml_sales_order_create_index>
|
13 |
|
38 |
<block>novalnet_payment/adminhtml_sales_order_view_tab_transactionOverview</block>
|
39 |
</action>
|
40 |
</reference>
|
41 |
+
<reference name="order_tab_info">
|
42 |
+
<action method="setTemplate">
|
43 |
+
<template>novalnet/sales/order/view/info.phtml</template>
|
44 |
+
</action>
|
45 |
+
</reference>
|
46 |
+
<!--
|
47 |
+
<reference name="content">
|
48 |
+
<block type="adminhtml/sales_order_view" name="order_info" template="novalnet/sales/order/info.phtml" />
|
49 |
+
</reference>
|
50 |
+
-->
|
51 |
</adminhtml_sales_order_view>
|
52 |
|
53 |
<!--
|
129 |
name="novalnet_payment_information" />
|
130 |
</reference>
|
131 |
</novalnet_payment_adminhtml_information_index>
|
132 |
+
</layout>
|
app/design/adminhtml/default/default/template/novalnet/payment/method/form/Cc.phtml
CHANGED
@@ -23,40 +23,42 @@
|
|
23 |
* @copyright Novalnet AG
|
24 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
|
31 |
?>
|
32 |
<fieldset class="form-list" id="fieldset_<?php echo $code ?>">
|
33 |
<!--{{{ Payment Logo -->
|
34 |
<div>
|
35 |
-
<a href="<?php echo $helper->getNovalnetUrl() ?>" target="_new" style="text-decoration:none;">
|
36 |
-
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . "
|
37 |
<img style="height:20px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->_getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
38 |
</a>
|
|
|
39 |
</div>
|
40 |
<!--}}} Payment Logo -->
|
41 |
<!--{{{ Novalnet Cc Form -->
|
42 |
<div id="payment_form_<?php echo $code ?>" style="display:none;">
|
43 |
-
<?php if(!$this->getMethod()->
|
44 |
<div style="font-weight:bold;color:red;font-size:12px;">
|
45 |
<?php echo $this->__('Basic parameter not valid').'!' ?>
|
46 |
</div>
|
47 |
<?php else:?>
|
48 |
-
<div id="
|
49 |
-
<img src="<?php echo $helper->getNovalnetPaymentFormLogoUrl()
|
50 |
</div>
|
51 |
-
<iframe frameborder="0" name="ifm_payment_form_<?php echo $code ?>" id="ifm_payment_form_<?php echo $code ?>"
|
52 |
-
style="width:
|
53 |
</iframe>
|
54 |
<?php endif; ?>
|
55 |
</div>
|
56 |
|
57 |
<input type="hidden" id="original_vendor_id" value="<?php echo trim($this->getMethod()->_getConfigData('merchant_id', true)) ?>" />
|
58 |
<input type="hidden" id="original_vendor_authcode" value="<?php echo trim($this->getMethod()->_getConfigData('auth_code', true)) ?>" />
|
59 |
-
|
|
|
60 |
<input type="hidden" name="novalnet_cc_owner" id="novalnet_cc_owner" value="" />
|
61 |
<input type="hidden" name="novalnet_cc_type" id="novalnet_cc_type" value="" />
|
62 |
<input type="hidden" name="novalnet_cc_exp_month" id="novalnet_cc_exp_month" value="" />
|
@@ -64,8 +66,6 @@
|
|
64 |
<input type="hidden" name="novalnet_cc_cid" id="novalnet_cc_cid" value="" />
|
65 |
<input type="hidden" name="novalnet_cc_pan_hash" id="novalnet_cc_pan_hash" value="" />
|
66 |
<input type="hidden" name="novalnet_cc_unique_id" id="novalnet_cc_unique_id" value="" />
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
<!--}}} Novalnet Cc Form -->
|
71 |
</fieldset>
|
23 |
* @copyright Novalnet AG
|
24 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
+
include(MAGENTO_ROOT.'/novalnet_css_link.php');
|
27 |
+
|
28 |
+
$code = $this->getMethodCode();
|
29 |
+
$helper = Mage::helper('novalnet_payment');
|
30 |
|
31 |
?>
|
32 |
<fieldset class="form-list" id="fieldset_<?php echo $code ?>">
|
33 |
<!--{{{ Payment Logo -->
|
34 |
<div>
|
35 |
+
<a href="<?php echo $helper->getNovalnetUrl() ?>" target="_new" style="text-decoration:none;">
|
36 |
+
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . "creditcard_small.jpg" ?>
|
37 |
<img style="height:20px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->_getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
38 |
</a>
|
39 |
+
<!-- Amex Logo -->
|
40 |
</div>
|
41 |
<!--}}} Payment Logo -->
|
42 |
<!--{{{ Novalnet Cc Form -->
|
43 |
<div id="payment_form_<?php echo $code ?>" style="display:none;">
|
44 |
+
<?php if(!$this->getMethod()->validateNovalnetIframeParams()): ?>
|
45 |
<div style="font-weight:bold;color:red;font-size:12px;">
|
46 |
<?php echo $this->__('Basic parameter not valid').'!' ?>
|
47 |
</div>
|
48 |
<?php else:?>
|
49 |
+
<div id="nncc_loading">
|
50 |
+
<img src="<?php echo $helper->getNovalnetPaymentFormLogoUrl() ?>novalnet-loading-icon.gif" alt="Loading" />
|
51 |
</div>
|
52 |
+
<iframe frameborder="0" name="ifm_payment_form_<?php echo $code ?>" id="ifm_payment_form_<?php echo $code ?>"
|
53 |
+
style="width: 400px; height: 320px; border: none; display: block; margin-top: 5px;" onload="document.getElementById('nncc_loading').style.display = 'none'" src="<?php echo Mage::helper('adminhtml')->getUrl('adminhtml/NovalnetCc/index') ?>" >
|
54 |
</iframe>
|
55 |
<?php endif; ?>
|
56 |
</div>
|
57 |
|
58 |
<input type="hidden" id="original_vendor_id" value="<?php echo trim($this->getMethod()->_getConfigData('merchant_id', true)) ?>" />
|
59 |
<input type="hidden" id="original_vendor_authcode" value="<?php echo trim($this->getMethod()->_getConfigData('auth_code', true)) ?>" />
|
60 |
+
<input type="hidden" id="original_customstyle_css" value="<?php echo NOVALNET_CC_CUSTOM_CSS; ?>" />
|
61 |
+
<input type="hidden" id="original_customstyle_cssval" value="<?php echo NOVALNET_CC_CUSTOM_CSS_STYLE; ?>" />
|
62 |
<input type="hidden" name="novalnet_cc_owner" id="novalnet_cc_owner" value="" />
|
63 |
<input type="hidden" name="novalnet_cc_type" id="novalnet_cc_type" value="" />
|
64 |
<input type="hidden" name="novalnet_cc_exp_month" id="novalnet_cc_exp_month" value="" />
|
66 |
<input type="hidden" name="novalnet_cc_cid" id="novalnet_cc_cid" value="" />
|
67 |
<input type="hidden" name="novalnet_cc_pan_hash" id="novalnet_cc_pan_hash" value="" />
|
68 |
<input type="hidden" name="novalnet_cc_unique_id" id="novalnet_cc_unique_id" value="" />
|
69 |
+
<input type="hidden" name="novalnet_cc_field_validator" id="novalnet_cc_field_validator" value="" />
|
|
|
|
|
70 |
<!--}}} Novalnet Cc Form -->
|
71 |
</fieldset>
|
app/design/adminhtml/default/default/template/novalnet/payment/method/form/Ccform.phtml
CHANGED
@@ -30,8 +30,21 @@
|
|
30 |
<script type="text/javascript">
|
31 |
function updateHiddenElements(elements) {
|
32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
for (var i=0; i<elements.length; i++) {
|
34 |
switch (elements[i].name) {
|
|
|
|
|
|
|
35 |
case 'novalnet_cc_owner':
|
36 |
elements[i].value = document.getElementById('<?php echo $_code ?>_cc_owner').value;
|
37 |
break;
|
30 |
<script type="text/javascript">
|
31 |
function updateHiddenElements(elements) {
|
32 |
|
33 |
+
var cc_type=0; var cc_owner=0; var cc_no=0; var cc_hash=0; var cc_month=0; var cc_year=0; var cc_cid=0;
|
34 |
+
if(document.getElementById("novalnetCc_cc_type").value!= '') cc_type=1;
|
35 |
+
if(document.getElementById("novalnetCc_cc_owner").value!= '') cc_owner=1;
|
36 |
+
if(document.getElementById("novalnetCc_cc_number").value!= '') cc_no=1;
|
37 |
+
if(document.getElementById("novalnetCc_expiration").value!= '') cc_month = 1;
|
38 |
+
if(document.getElementById("novalnetCc_expiration_yr").value!= '') cc_year = 1;
|
39 |
+
if(document.getElementById("novalnetCc_cc_cid").value!= '') cc_cid=1;
|
40 |
+
|
41 |
+
var novalnet_cc_field_validator = cc_type+','+cc_owner+','+cc_no+','+cc_month+','+cc_year+','+cc_cid;
|
42 |
+
|
43 |
for (var i=0; i<elements.length; i++) {
|
44 |
switch (elements[i].name) {
|
45 |
+
case 'novalnet_cc_field_validator':
|
46 |
+
elements[i].value = novalnet_cc_field_validator;
|
47 |
+
break;
|
48 |
case 'novalnet_cc_owner':
|
49 |
elements[i].value = document.getElementById('<?php echo $_code ?>_cc_owner').value;
|
50 |
break;
|
app/design/adminhtml/default/default/template/novalnet/payment/method/form/Ccsecure.phtml
CHANGED
@@ -24,90 +24,4 @@
|
|
24 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
-
<?php
|
28 |
-
$code = $this->getMethodCode();
|
29 |
-
$helper = Mage::helper('novalnet_payment');
|
30 |
-
?>
|
31 |
-
<fieldset class="form-list">
|
32 |
-
<!--{{{ Payment Logo -->
|
33 |
-
<div>
|
34 |
-
<a href="<?php echo $helper->getNovalnetUrl();?>" target="_new" style="text-decoration:none;">
|
35 |
-
<?php foreach($this->getCcAvailableTypes() as $_typeCode => $_typeName): ?>
|
36 |
-
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl()."/img/". $_typeCode ."_Logo.png"; ?>
|
37 |
-
<img style="height:20px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
38 |
-
<?php endforeach; ?>
|
39 |
-
</a>
|
40 |
-
</div>
|
41 |
-
<!--}}} Payment Logo -->
|
42 |
-
<ul id="payment_form_<?php echo $code ?>" style="display:none">
|
43 |
-
<li>
|
44 |
-
<?php echo $this->__('The amount will be booked immediately from your credit card.') ?>
|
45 |
-
</li>
|
46 |
-
<?php if($this->getUserInfo()): ?>
|
47 |
-
<li>
|
48 |
-
<?php echo $this->getUserInfo()?>
|
49 |
-
</li>
|
50 |
-
<?php endif ?>
|
51 |
-
<?php if($this->getLiveMode() == 0): ?>
|
52 |
-
<li>
|
53 |
-
<div style="font-weight:bold;color:red;font-size:12px;">
|
54 |
-
<?php echo $this->__('Please Note: This transaction will run on TEST MODE and the amount will not be charged') ?>
|
55 |
-
</div>
|
56 |
-
</li>
|
57 |
-
<?php endif ?>
|
58 |
-
<li>
|
59 |
-
<div class="input-box">
|
60 |
-
<label style="float:none;" for="<?php echo $code ?>_cc_type"><?php echo $this->__('Credit Card Type') ?> <span class="required">*</span></label><br />
|
61 |
-
<select id="<?php echo $code ?>_cc_type" name="payment[nn_cc_type]" class="required-entry validate-cc-type-select">
|
62 |
-
<option value=""><?php echo $this->__('--Please Select--')?></option>
|
63 |
-
<?php foreach ($this->getCcAvailableTypes() as $_typeCode => $_typeName): ?>
|
64 |
-
<option value="<?php echo $_typeCode ?>"><?php echo $_typeName ?></option>
|
65 |
-
<?php endforeach; ?>
|
66 |
-
</select>
|
67 |
-
</div>
|
68 |
-
</li>
|
69 |
-
<li>
|
70 |
-
<div class="input-box">
|
71 |
-
<label style="float:none;" for="<?php echo $code ?>_cc_owner"><?php echo $this->__('Credit card holder') ?> <span class="required">*</span></label><br/>
|
72 |
-
<input type="text" title="<?php echo $this->__('Name on Card') ?>" class="required-entry input-text" id="<?php echo $code ?>_cc_owner" name="payment[nn_cc_owner]" autocomplete="off" />
|
73 |
-
</div>
|
74 |
-
</li>
|
75 |
-
<li>
|
76 |
-
<div class="input-box">
|
77 |
-
<label style="float:none;" for="<?php echo $code ?>_cc_number"><?php echo $this->__('Card number') ?> <span class="required">*</span></label><br/>
|
78 |
-
<input type="text" id="<?php echo $code ?>_cc_number" name="payment[nn_cc_number]" title="<?php echo $this->__('Credit Card Number') ?>" class="required-entry input-text validate-cc-number validate-cc-type" autocomplete="off" />
|
79 |
-
</div>
|
80 |
-
</li>
|
81 |
-
<li>
|
82 |
-
<div class="input-box">
|
83 |
-
<label style="float:none;" for="<?php echo $code ?>_expiration"><?php echo $this->__('Expiration Date') ?> <span class="required">*</span></label><br />
|
84 |
-
<div class="v-fix">
|
85 |
-
<select id="<?php echo $code ?>_expiration" style="width:140px;" name="payment[nn_cc_exp_month]" class="required-entry">
|
86 |
-
<option value=""><?php echo $this->__('Month'); ?></option>
|
87 |
-
<?php foreach ($this->getCcMonths() as $k=>$v): ?>
|
88 |
-
<option value="<?php echo $k ?>"><?php echo $v ?></option>
|
89 |
-
<?php endforeach; ?>
|
90 |
-
</select>
|
91 |
-
</div>
|
92 |
-
<div class="v-fix" style="padding-left:5px;">
|
93 |
-
<select id="<?php echo $code ?>_expiration_yr" style="width:103px;" name="payment[nn_cc_exp_year]" class="required-entry">
|
94 |
-
<option value=""><?php echo $this->__('Year'); ?></option>
|
95 |
-
<?php foreach ($this->getCcYears() as $k=>$v): ?>
|
96 |
-
<option value="<?php echo $k ?>"><?php echo $v ?></option>
|
97 |
-
<?php endforeach; ?>
|
98 |
-
</select>
|
99 |
-
</div>
|
100 |
-
</div>
|
101 |
-
</li>
|
102 |
-
<?php if($this->hasVerification()): ?>
|
103 |
-
<li>
|
104 |
-
<div class="input-box">
|
105 |
-
<label style="float:none;" for="<?php echo $code ?>_cc_cid"><?php echo $this->__('Card Verification Number') ?> <span class="required">*</span></label><br />
|
106 |
-
<div class="v-fix"><input type="text" title="<?php echo $this->__('Card Verification Number') ?>" class="required-entry input-text validate-cc-cvn" id="<?php echo $code ?>_cc_cid" name="payment[nn_cc_cid]" style="width:3em;" autocomplete="off" maxlength="4" /></div>
|
107 |
-
|
108 |
-
<a href="#" class="cvv-what-is-this"><?php echo $this->__('What is this?') ?></a>
|
109 |
-
</div>
|
110 |
-
</li>
|
111 |
-
<?php endif; ?>
|
112 |
-
</ul>
|
113 |
-
</fieldset>
|
24 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
+
<?php echo $this->__('Not possible') ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/adminhtml/default/default/template/novalnet/payment/method/form/Elvaustria.phtml
CHANGED
@@ -27,12 +27,14 @@
|
|
27 |
<?php
|
28 |
$code = $this->getMethodCode();
|
29 |
$helper = Mage::helper('novalnet_payment');
|
|
|
|
|
30 |
?>
|
31 |
<fieldset class="form-list">
|
32 |
<div>
|
33 |
<!--{{{ Payment Logo -->
|
34 |
<a href="<?php echo $helper->getNovalnetUrl();?>" target="_new" style="text-decoration:none;">
|
35 |
-
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl()."
|
36 |
<img style="height:20px;" src="<?php echo $imgpath; ?>" alt="<?php echo $this->getMethod()->getConfigData('title'); ?>" title="<?php echo $this->getMethod()->getConfigData('title'); ?>" />
|
37 |
</a>
|
38 |
<!--}}} Payment Logo -->
|
@@ -58,20 +60,20 @@
|
|
58 |
<?php endif ?>
|
59 |
<li>
|
60 |
<div class="input-box">
|
61 |
-
<label style="float:none;" for="<?php echo $code ?>_account_holder"><?php echo $this->__('Account Holder')
|
62 |
-
<input type="text" id="<?php echo $code ?>_account_holder" name="payment[account_holder_at]" title="<?php echo $this->__('Account Holder') ?>" class="required-entry input-text" autocomplete="off" />
|
63 |
</div>
|
64 |
</li>
|
65 |
<li>
|
66 |
<div class="input-box">
|
67 |
-
<label style="float:none;" for="<?php echo $code ?>_account_number"><?php echo $this->__('
|
68 |
-
<input type="text" id="<?php echo $code ?>_account_number" name="payment[account_number_at]" title="<?php echo $this->__('
|
69 |
</div>
|
70 |
</li>
|
71 |
<li>
|
72 |
<div class="input-box">
|
73 |
-
<label style="float:none;" for="<?php echo $code ?>_bank_sorting_code"><?php echo $this->__('Bank Code')
|
74 |
-
<input type="text" id="<?php echo $code ?>_bank_sorting_code" name="payment[bank_sorting_code_at]" title="<?php echo $this->__('Bank Code') ?>" class="required-entry input-text" autocomplete="off" />
|
75 |
</div>
|
76 |
</li>
|
77 |
</ul>
|
27 |
<?php
|
28 |
$code = $this->getMethodCode();
|
29 |
$helper = Mage::helper('novalnet_payment');
|
30 |
+
$assignDatahelper = Mage::helper('novalnet_payment/AssignData');
|
31 |
+
$elvastriaError = $this->getMethod()->getConfigData('elvastria_error');
|
32 |
?>
|
33 |
<fieldset class="form-list">
|
34 |
<div>
|
35 |
<!--{{{ Payment Logo -->
|
36 |
<a href="<?php echo $helper->getNovalnetUrl();?>" target="_new" style="text-decoration:none;">
|
37 |
+
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl()."ELV_Logo.png"; ?>
|
38 |
<img style="height:20px;" src="<?php echo $imgpath; ?>" alt="<?php echo $this->getMethod()->getConfigData('title'); ?>" title="<?php echo $this->getMethod()->getConfigData('title'); ?>" />
|
39 |
</a>
|
40 |
<!--}}} Payment Logo -->
|
60 |
<?php endif ?>
|
61 |
<li>
|
62 |
<div class="input-box">
|
63 |
+
<label style="float:none;" for="<?php echo $code ?>_account_holder"><?php echo $this->__('Account Holder') ?><span class="required">*</span></label><br/>
|
64 |
+
<input type="text" value="<?php echo $elvastriaError ? $assignDatahelper->_getCheckout()->getElvAtAccountHolder() : '';?>"id="<?php echo $code ?>_account_holder" name="payment[account_holder_at]" title="<?php echo $this->__('Account Holder') ?>" class="required-entry input-text" autocomplete="off" />
|
65 |
</div>
|
66 |
</li>
|
67 |
<li>
|
68 |
<div class="input-box">
|
69 |
+
<label style="float:none;" for="<?php echo $code ?>_account_number"><?php echo $this->__('NnAccount number') ?><span class="required">*</span></label><br/>
|
70 |
+
<input type="text" value="<?php echo $elvastriaError ? $assignDatahelper->_getCheckout()->getElvAtAccountNumber() : '';?>"id="<?php echo $code ?>_account_number" name="payment[account_number_at]" title="<?php echo $this->__('NnAccount Number') ?>" class="required-entry input-text" autocomplete="off" />
|
71 |
</div>
|
72 |
</li>
|
73 |
<li>
|
74 |
<div class="input-box">
|
75 |
+
<label style="float:none;" for="<?php echo $code ?>_bank_sorting_code"><?php echo $this->__('Bank Code') ?><span class="required">*</span></label><br/>
|
76 |
+
<input type="text" value="<?php echo $elvastriaError ? $assignDatahelper->_getCheckout()->getElvAtBankSortingCode() : '';?>" id="<?php echo $code ?>_bank_sorting_code" name="payment[bank_sorting_code_at]" title="<?php echo $this->__('Bank Code') ?>" class="required-entry input-text" autocomplete="off" />
|
77 |
</div>
|
78 |
</li>
|
79 |
</ul>
|
app/design/adminhtml/default/default/template/novalnet/payment/method/form/Elvgerman.phtml
CHANGED
@@ -27,12 +27,14 @@
|
|
27 |
<?php
|
28 |
$code = $this->getMethodCode();
|
29 |
$helper = Mage::helper('novalnet_payment');
|
|
|
|
|
30 |
?>
|
31 |
<fieldset class="form-list">
|
32 |
<div>
|
33 |
<!--{{{ Payment Logo -->
|
34 |
<a href="<?php echo $helper->getNovalnetUrl();?>" target="_new" style="text-decoration:none;">
|
35 |
-
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl()."
|
36 |
<img style="height:20px;" src="<?php echo $imgpath; ?>" alt="<?php echo $this->getMethod()->getConfigData('title'); ?>" title="<?php echo $this->getMethod()->getConfigData('title'); ?>" />
|
37 |
</a>
|
38 |
<!--}}} Payment Logo -->
|
@@ -58,20 +60,20 @@
|
|
58 |
<?php endif ?>
|
59 |
<li>
|
60 |
<div class="input-box">
|
61 |
-
<label style="float:none;" for="<?php echo $code ?>_account_holder"><?php echo $this->__('Account Holder')
|
62 |
-
<input type="text" id="<?php echo $code ?>_account_holder" name="payment[account_holder]" title="<?php echo $this->__('Account Holder') ?>" class="required-entry input-text" autocomplete="off" />
|
63 |
</div>
|
64 |
</li>
|
65 |
<li>
|
66 |
<div class="input-box">
|
67 |
-
<label style="float:none;" for="<?php echo $code ?>_account_number"><?php echo $this->__('
|
68 |
-
<input type="text" id="<?php echo $code ?>_account_number" name="payment[account_number]" title="<?php echo $this->__('
|
69 |
</div>
|
70 |
</li>
|
71 |
<li>
|
72 |
<div class="input-box">
|
73 |
-
<label style="float:none;" for="<?php echo $code ?>_bank_sorting_code"><?php echo $this->__('Bank Code')
|
74 |
-
<input type="text" id="<?php echo $code ?>_bank_sorting_code" name="payment[bank_sorting_code]" title="<?php echo $this->__('Bank Code') ?>" class="required-entry input-text" autocomplete="off" />
|
75 |
</div>
|
76 |
</li>
|
77 |
<!--{{{ ACDC check-->
|
@@ -79,7 +81,7 @@
|
|
79 |
<li>
|
80 |
<div class="input-box">
|
81 |
<input type="checkbox" id="<?php echo $code ?>_acdc" name="payment[acdc]" title="<?php echo $this->__('acdc') ?>" class="required-entry" />
|
82 |
-
<label style="float:none;" id="elvde_acdc" for="<?php echo $code ?>_acdc"><b><a><?php echo $this->__('
|
83 |
</div>
|
84 |
</li>
|
85 |
<script type="text/javascript">
|
@@ -88,7 +90,7 @@
|
|
88 |
//ACDC Info
|
89 |
$("elvde_acdc").observe('mouseover', function() {
|
90 |
var url = parent.location.href;
|
91 |
-
url = '<?php echo $helper->getNovalnetPaymentFormLogoUrl();
|
92 |
showbaby = window.open(url,'showbaby','toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=1,width='+w+',height='+h+',left='+x+',top='+y+',screenX='+x+',screenY='+y);
|
93 |
showbaby.focus();
|
94 |
});
|
27 |
<?php
|
28 |
$code = $this->getMethodCode();
|
29 |
$helper = Mage::helper('novalnet_payment');
|
30 |
+
$assignDatahelper = Mage::helper('novalnet_payment/AssignData');
|
31 |
+
$elvgermanError = $this->getMethod()->getConfigData('elvgerman_error');
|
32 |
?>
|
33 |
<fieldset class="form-list">
|
34 |
<div>
|
35 |
<!--{{{ Payment Logo -->
|
36 |
<a href="<?php echo $helper->getNovalnetUrl();?>" target="_new" style="text-decoration:none;">
|
37 |
+
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl()."ELV_Logo.png"; ?>
|
38 |
<img style="height:20px;" src="<?php echo $imgpath; ?>" alt="<?php echo $this->getMethod()->getConfigData('title'); ?>" title="<?php echo $this->getMethod()->getConfigData('title'); ?>" />
|
39 |
</a>
|
40 |
<!--}}} Payment Logo -->
|
60 |
<?php endif ?>
|
61 |
<li>
|
62 |
<div class="input-box">
|
63 |
+
<label style="float:none;" for="<?php echo $code ?>_account_holder"><?php echo $this->__('Account Holder') ?><span class="required">*</span></label><br/>
|
64 |
+
<input type="text" value="<?php echo $elvgermanError ? $assignDatahelper->_getCheckout()->getElvDeAccountHolder() : '';?>"id="<?php echo $code ?>_account_holder" name="payment[account_holder]" title="<?php echo $this->__('Account Holder') ?>" class="required-entry input-text" autocomplete="off" />
|
65 |
</div>
|
66 |
</li>
|
67 |
<li>
|
68 |
<div class="input-box">
|
69 |
+
<label style="float:none;" for="<?php echo $code ?>_account_number"><?php echo $this->__('NnAccount number') ?><span class="required">*</span></label><br/>
|
70 |
+
<input type="text" value="<?php echo $elvgermanError ? $assignDatahelper->_getCheckout()->getElvDeAccountNumber() : '';?>"id="<?php echo $code ?>_account_number" name="payment[account_number]" title="<?php echo $this->__('NnAccount Number') ?>" class="required-entry input-text" autocomplete="off" />
|
71 |
</div>
|
72 |
</li>
|
73 |
<li>
|
74 |
<div class="input-box">
|
75 |
+
<label style="float:none;" for="<?php echo $code ?>_bank_sorting_code"><?php echo $this->__('Bank Code') ?><span class="required">*</span></label><br/>
|
76 |
+
<input type="text" value="<?php echo $elvgermanError ? $assignDatahelper->_getCheckout()->getElvDeBankSortingCode() : '';?>" id="<?php echo $code ?>_bank_sorting_code" name="payment[bank_sorting_code]" title="<?php echo $this->__('Bank Code') ?>" class="required-entry input-text" autocomplete="off" />
|
77 |
</div>
|
78 |
</li>
|
79 |
<!--{{{ ACDC check-->
|
81 |
<li>
|
82 |
<div class="input-box">
|
83 |
<input type="checkbox" id="<?php echo $code ?>_acdc" name="payment[acdc]" title="<?php echo $this->__('acdc') ?>" class="required-entry" />
|
84 |
+
<label style="float:none;" id="elvde_acdc" for="<?php echo $code ?>_acdc"><b><a><?php echo $this->__('Please enable ACDC Check.') ?></a></b> <span class="required">*</span></label>
|
85 |
</div>
|
86 |
</li>
|
87 |
<script type="text/javascript">
|
90 |
//ACDC Info
|
91 |
$("elvde_acdc").observe('mouseover', function() {
|
92 |
var url = parent.location.href;
|
93 |
+
url = '<?php echo $helper->getNovalnetPaymentFormLogoUrl(); ?>acdc_info.png';w='550';h='300';x=screen.availWidth/2-w/2;y=screen.availHeight/2-h/2;
|
94 |
showbaby = window.open(url,'showbaby','toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=1,width='+w+',height='+h+',left='+x+',top='+y+',screenX='+x+',screenY='+y);
|
95 |
showbaby.focus();
|
96 |
});
|
app/design/adminhtml/default/default/template/novalnet/payment/method/form/Invoice.phtml
CHANGED
@@ -31,8 +31,8 @@
|
|
31 |
<fieldset class="form-list">
|
32 |
<!-- PAYMENT LOGO -->
|
33 |
<div>
|
34 |
-
<A HREF="<?php echo $helper->getNovalnetUrl() ?>" TARGET="_new" style="text-decoration:none;">
|
35 |
-
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl()."
|
36 |
<img style="height:30px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
37 |
</A>
|
38 |
</div>
|
31 |
<fieldset class="form-list">
|
32 |
<!-- PAYMENT LOGO -->
|
33 |
<div>
|
34 |
+
<A HREF="<?php echo $helper->getNovalnetUrl() ?>" TARGET="_new" style="text-decoration:none;">
|
35 |
+
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl()."kauf-auf-rechnung.jpg"; ?>
|
36 |
<img style="height:30px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
37 |
</A>
|
38 |
</div>
|
app/design/adminhtml/default/default/template/novalnet/payment/method/form/Prepayment.phtml
CHANGED
@@ -32,7 +32,7 @@
|
|
32 |
<!-- PAYMENT LOGO -->
|
33 |
<div>
|
34 |
<a href="<?php echo $helper->getNovalnetUrl() ?>" target="_new" style="text-decoration:none;">
|
35 |
-
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl()."
|
36 |
<img style="height:30px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
37 |
</a>
|
38 |
</div>
|
32 |
<!-- PAYMENT LOGO -->
|
33 |
<div>
|
34 |
<a href="<?php echo $helper->getNovalnetUrl() ?>" target="_new" style="text-decoration:none;">
|
35 |
+
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl()."vorauskasse.jpg"; ?>
|
36 |
<img style="height:30px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
37 |
</a>
|
38 |
</div>
|
app/design/adminhtml/default/default/template/novalnet/payment/method/form/Safetypay.phtml
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php echo $this->__('Not possible') ?>
|
app/design/adminhtml/default/default/template/novalnet/payment/method/form/Sepa.phtml
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
include(MAGENTO_ROOT.'/novalnet_css_link.php');
|
27 |
+
|
28 |
+
$code = $this->getMethodCode();
|
29 |
+
$helper = Mage::helper('novalnet_payment');
|
30 |
+
|
31 |
+
?>
|
32 |
+
<fieldset class="form-list" id="fieldset_<?php echo $code ?>">
|
33 |
+
<!--{{{ Payment Logo -->
|
34 |
+
<div>
|
35 |
+
<a HREF="<?php echo $helper->getNovalnetUrl();?>" TARGET="_new" style="text-decoration:none;">
|
36 |
+
<?php $image = "sepa_logo.jpg";
|
37 |
+
$imgpath = $helper->getNovalnetPaymentFormLogoUrl().$image; ?>
|
38 |
+
<img style="height:20px;" src="<?php echo $imgpath; ?>" alt="<?php echo $this->getMethod()->getConfigData('title'); ?>" title="<?php echo $this->getMethod()->getConfigData('title'); ?>" />
|
39 |
+
</a>
|
40 |
+
</div>
|
41 |
+
<!--}}} Payment Logo -->
|
42 |
+
<!--{{{ Novalnet SEPA Form -->
|
43 |
+
<div id="payment_form_<?php echo $code ?>" style="display:none;">
|
44 |
+
<?php if (!$this->getMethod()->validateNovalnetIframeParams()): ?>
|
45 |
+
<div style="font-weight:bold;color:red;font-size:12px;">
|
46 |
+
<?php echo $this->__('Basic parameter not valid') . '!' ?>
|
47 |
+
</div>
|
48 |
+
<?php else: ?>
|
49 |
+
<div id="nn_loading">
|
50 |
+
<img src="<?php echo $helper->getNovalnetPaymentFormLogoUrl() ?>novalnet-loading-icon.gif" alt="Loading" />
|
51 |
+
</div>
|
52 |
+
<iframe frameborder="0" scrolling="no" name="ifm_payment_form_<?php echo $code ?>" id="ifm_payment_form_<?php echo $code ?>"
|
53 |
+
style="width: 400px; height: 480px; border: none; display: block; margin-top: 5px;" onload="document.getElementById('nn_loading').style.display = 'none'" src="<?php echo Mage::helper('adminhtml')->getUrl('adminhtml/NovalnetSepa/index') ?>" >
|
54 |
+
</iframe>
|
55 |
+
<?php endif; ?>
|
56 |
+
</div>
|
57 |
+
<input type="hidden" id="original_sepa_customstyle_css" value="<?php echo NOVALNET_SEPA_CUSTOM_CSS; ?>" />
|
58 |
+
<input type="hidden" id="original_sepa_customstyle_cssval" value="<?php echo NOVALNET_SEPA_CUSTOM_CSS_STYLE; ?>" />
|
59 |
+
<input type="hidden" name="novalnet_sepa_owner" id="novalnet_sepa_owner" value="" />
|
60 |
+
<input type="hidden" name="novalnet_sepa_pan_hash" id="novalnet_sepa_pan_hash" value="" />
|
61 |
+
<input type="hidden" name="novalnet_sepa_unique_id" id="novalnet_sepa_unique_id" value="" />
|
62 |
+
<input type="hidden" name="novalnet_sepa_mandate_ref" id="novalnet_sepa_mandate_ref" value="" />
|
63 |
+
<input type="hidden" name="novalnet_sepa_mandate_date" id="novalnet_sepa_mandate_date" value="" />
|
64 |
+
<input type="hidden" name="novalnet_sepa_iban_confirmed" id="novalnet_sepa_iban_confirmed" value="" />
|
65 |
+
<input type="hidden" name="novalnet_sepa_field_validator" id="novalnet_sepa_field_validator" value="" />
|
66 |
+
<!--}}} Novalnet SEPA Form -->
|
67 |
+
</fieldset>
|
app/design/adminhtml/default/default/template/novalnet/payment/method/form/Sepaform.phtml
ADDED
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_code = Novalnet_Payment_Model_Config::NN_SEPA;
|
29 |
+
?>
|
30 |
+
<script type="text/javascript">
|
31 |
+
function updateHiddenElements(elements) {
|
32 |
+
var sepa_owner=0;var sepa_accountno=0;var sepa_bankcode=0;var sepa_iban=0;var sepa_swiftbic=0; var sepa_hash=0; var sepa_country=0;
|
33 |
+
if(document.getElementById("novalnet_sepa_owner").value!= '')sepa_owner=1;
|
34 |
+
if(document.getElementById("novalnet_sepa_accountno").value!= '')sepa_accountno=1;
|
35 |
+
if(document.getElementById("novalnet_sepa_bankcode").value!= '')sepa_bankcode=1;
|
36 |
+
if(document.getElementById("novalnet_sepa_iban").value!= '')sepa_iban=1;
|
37 |
+
if(document.getElementById("novalnet_sepa_swiftbic").value!= '')sepa_swiftbic=1;
|
38 |
+
if(document.getElementById("nnsepa_hash").value!= '')sepa_hash=1;
|
39 |
+
if(document.getElementById("novalnet_sepa_country").value!= '') {
|
40 |
+
var country = document.getElementById("novalnet_sepa_country");
|
41 |
+
sepa_country = 1+'-'+country.options[country.selectedIndex].value;
|
42 |
+
}
|
43 |
+
|
44 |
+
var novalnet_sepa_field_validator = sepa_owner+','+sepa_accountno+','+sepa_bankcode+','+sepa_iban+','+sepa_swiftbic+','+sepa_hash+','+sepa_country;
|
45 |
+
|
46 |
+
for (var i=0; i<elements.length; i++) {
|
47 |
+
switch (elements[i].name) {
|
48 |
+
case 'novalnet_sepa_field_validator':
|
49 |
+
elements[i].value = novalnet_sepa_field_validator;
|
50 |
+
break;
|
51 |
+
case 'novalnet_sepa_owner':
|
52 |
+
elements[i].value = document.getElementById('novalnet_sepa_owner').value;
|
53 |
+
break;
|
54 |
+
case 'novalnet_sepa_pan_hash':
|
55 |
+
elements[i].value = document.getElementById('nnsepa_hash').value;
|
56 |
+
break;
|
57 |
+
case 'novalnet_sepa_unique_id':
|
58 |
+
elements[i].value = document.getElementById('nnsepa_unique_id').value;
|
59 |
+
break;
|
60 |
+
case 'novalnet_sepa_mandate_ref':
|
61 |
+
elements[i].value = document.getElementById('nnsepa_mandate_ref').value;
|
62 |
+
break;
|
63 |
+
case 'novalnet_sepa_mandate_date':
|
64 |
+
elements[i].value = document.getElementById('nnsepa_mandate_date').value;
|
65 |
+
break;
|
66 |
+
case 'novalnet_sepa_iban_confirmed':
|
67 |
+
elements[i].value = document.getElementById('nnsepa_iban_confirmed').value;
|
68 |
+
break;
|
69 |
+
}
|
70 |
+
}
|
71 |
+
return true;
|
72 |
+
}
|
73 |
+
</script>
|
74 |
+
<!--{{{ Payment Description -->
|
75 |
+
<ul>
|
76 |
+
<li style="margin: 0 0 8px;">
|
77 |
+
<?php if (Mage::helper('novalnet_payment')->getModel('novalnetSepa')->_getConfigData('sepatypes') == 'DD_SEPA') {
|
78 |
+
echo $this->__('Your account will be debited upon delivery of goods.');
|
79 |
+
} else {
|
80 |
+
echo $this->__('Please note that your account will be debited after receiving the signed mandate from you.');
|
81 |
+
}
|
82 |
+
?>
|
83 |
+
</li>
|
84 |
+
<li style="margin: 0 0 8px;">
|
85 |
+
<?php echo Mage::helper('novalnet_payment')->getModel('novalnetSepa')->_getConfigData('booking_reference') ?>
|
86 |
+
</li>
|
87 |
+
<?php if (Mage::helper('novalnet_payment')->getModel('novalnetSepa')->_getConfigData('live_mode', true) == 0): ?>
|
88 |
+
<li style="margin: 0 0 8px;">
|
89 |
+
<div style="font-weight:bold;color:red;font-size:12px;">
|
90 |
+
<?php echo $this->__('Please Note: This transaction will run on TEST MODE and the amount will not be charged') ?>
|
91 |
+
</div>
|
92 |
+
</li>
|
93 |
+
<?php endif ?>
|
94 |
+
</ul>
|
95 |
+
<!--}}} Payment Description -->
|
96 |
+
|
97 |
+
<!--{{{ Novalnet Iframe -->
|
98 |
+
<?php echo Mage::helper('novalnet_payment')->getModel('novalnetSepa')->getNovalnetIframe() ?>
|
99 |
+
<!--}}} Novalnet Iframe -->
|
app/design/adminhtml/default/default/template/novalnet/payment/method/info/Safetypay.phtml
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if($_info = $this->getInfo()): ?>
|
28 |
+
<?php if ($this->getAdditionalData('NnTestOrder'))
|
29 |
+
echo '<div style="color:white;font-weight:bold;background:red;padding:5px 10px;text-align:center;font-size:15px">!',$this->__('Testorder'),'!</div>' ?>
|
30 |
+
<?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?><br />
|
31 |
+
<?php if ($_info->getLastTransId()!="") echo $this->__('TID: %s', $this->htmlEscape($_info->getLastTransId())).'<br />' ?>
|
32 |
+
<?php if ($this->getAdditionalData('NnComments')) { ?>
|
33 |
+
<?php echo $this->getAdditionalData('NnComments') ?><br />
|
34 |
+
<?php } ?>
|
35 |
+
<?php else: ?>
|
36 |
+
<?php echo $this->__('Error in getting payment method'); ?>
|
37 |
+
<?php endif; ?>
|
app/design/adminhtml/default/default/template/novalnet/payment/method/info/Sepa.phtml
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_info = $this->getInfo();
|
29 |
+
if ($_info): ?>
|
30 |
+
<?php if ($this->getAdditionalData('NnTestOrder'))
|
31 |
+
echo '<div style="color:white;font-weight:bold;background:red;padding:5px 10px;text-align:center;font-size:15px">!',$this->__('Testorder'),'!</div>' ?>
|
32 |
+
<?php echo $this->htmlEscape($this->getPaymentMethod()) ?><br />
|
33 |
+
<?php if ($_info->getLastTransId()!="") echo $this->__('TID: %s', $this->htmlEscape($_info->getLastTransId())).'<br />'; ?>
|
34 |
+
<?php if ($this->getAdditionalData('NnComments')) echo $this->getAdditionalData('NnComments') ?>
|
35 |
+
<?php if ($this->getAdditionalData('NnSepaDueDate')) echo $this->__('Mandate Signature Date : '). $this->getAdditionalData('NnSepaDueDate') ?><br />
|
36 |
+
<?php if ($_info->getLastTransId()!="" && $this->getAdditionalData('NnSepaMandateUrl')) echo $this->__('Download your mandate').'<a href="'.$this->getAdditionalData('NnSepaMandateUrl').'">'.$this->__('Click here').'</a>'; ?>
|
37 |
+
<?php else: ?>
|
38 |
+
<?php echo $this->__('Error in getting payment method') ?>
|
39 |
+
<?php endif; ?>
|
app/design/adminhtml/default/default/template/novalnet/payment/method/pdf/Safetypay.phtml
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if ($this->getAdditionalData('NnTestOrder')) echo $this->__('Testorder'); ?>{{pdf_row_separator}}
|
28 |
+
<strong><?php echo Mage::helper('novalnet_payment')->__('%s',$this->getMethod()->getTitle()) ?></strong>{{pdf_row_separator}}
|
29 |
+
<?php echo Mage::helper('novalnet_payment')->__('TID: %s',$this->getInfo()->getLastTransId()) ?>{{pdf_row_separator}}
|
app/design/adminhtml/default/default/template/novalnet/payment/method/pdf/Sepa.phtml
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Novalnet
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_info = $this->getInfo();
|
29 |
+
?>
|
30 |
+
<?php if ($this->getAdditionalData('NnTestOrder')) echo $this->__('Testorder'); ?>{{pdf_row_separator}}
|
31 |
+
<strong><?php echo Mage::helper('novalnet_payment')->__('%s',$this->getMethod()->getTitle()) ?></strong>{{pdf_row_separator}}
|
32 |
+
<?php echo Mage::helper('novalnet_payment')->__('TID: %s',$this->getInfo()->getLastTransId()) ?>{{pdf_row_separator}}
|
33 |
+
<?php if ($this->getAdditionalData('NnSepaDueDate')) echo $this->__('Mandate Signature Date : '). $this->getAdditionalData('NnSepaDueDate') ?>{{pdf_row_separator}}
|
app/design/adminhtml/default/default/template/novalnet/sales/order/view/info.phtml
ADDED
@@ -0,0 +1,165 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_default
|
23 |
+
* @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php /** @var $this Mage_Adminhtml_Block_Sales_Order_View_Tab_Info */ ?>
|
28 |
+
<?php $_order = $this->getOrder();
|
29 |
+
$payment = $_order->getPayment();
|
30 |
+
?>
|
31 |
+
<div>
|
32 |
+
<div id="order-messages">
|
33 |
+
<?php echo $this->getChildHtml('order_messages') ?>
|
34 |
+
</div>
|
35 |
+
<?php echo $this->getChildHtml('order_info') ?>
|
36 |
+
<input type="hidden" name="order_id" value="<?php echo $_order->getId() ?>"/>
|
37 |
+
<?php if ($_order->getIsVirtual()): ?>
|
38 |
+
<div class="box-right">
|
39 |
+
<?php else: ?>
|
40 |
+
<div class="box-left">
|
41 |
+
<?php endif; ?>
|
42 |
+
<!--Payment Method-->
|
43 |
+
<div class="entry-edit">
|
44 |
+
<div class="entry-edit-head">
|
45 |
+
<h4 class="icon-head head-payment-method"><?php echo Mage::helper('sales')->__('Payment Information') ?></h4>
|
46 |
+
</div>
|
47 |
+
<fieldset>
|
48 |
+
<?php echo $this->getPaymentHtml() ?>
|
49 |
+
<div><?php echo Mage::helper('sales')->__('Order was placed using %s', $_order->getOrderCurrencyCode()) ?></div>
|
50 |
+
</fieldset>
|
51 |
+
</div>
|
52 |
+
<?php if (Mage::helper('novalnet_payment')->getAdditionalData($payment,'NnSepaSigned')): ?>
|
53 |
+
<div class="entry-edit">
|
54 |
+
<div class="entry-edit-head">
|
55 |
+
<h4 class="icon-head head-products"><?php echo Mage::helper('sales')->__('Novalnet Mandate confirmed') ?></h4>
|
56 |
+
</div>
|
57 |
+
<fieldset>
|
58 |
+
<br />
|
59 |
+
<div><?php echo $this->__('Mandate Signature Date') ?>: <input class="validate-date required-entry" type="text" id="sepa_mandate_sign" name="sepa_mandate_sign" value="" style="width:6em" />
|
60 |
+
<button type="button" title="<?php echo $this->__('SEPA Mandate Sign') ?>" class="button" onclick="sepa_action('<?php echo Mage::helper('adminhtml')->getUrl('*/*/sepasigned',array('order_id' => $_order->getId())) ?>');"><span><span><?php echo $this->__('SEPA Mandate Sign') ?></span></span></button><br /><br />
|
61 |
+
<?php echo $this->__('Enter Mandate signature date in the format of YYYY-MM-DD') ?>
|
62 |
+
</div>
|
63 |
+
<br />
|
64 |
+
</fieldset>
|
65 |
+
</div>
|
66 |
+
<?php endif; ?>
|
67 |
+
</div>
|
68 |
+
<?php if (!$_order->getIsVirtual()): ?>
|
69 |
+
<div class="box-right">
|
70 |
+
<!--Shipping Method-->
|
71 |
+
<div class="entry-edit">
|
72 |
+
<div class="entry-edit-head">
|
73 |
+
<h4 class="icon-head head-shipping-method"><?php echo Mage::helper('sales')->__('Shipping & Handling Information') ?></h4>
|
74 |
+
</div>
|
75 |
+
<fieldset>
|
76 |
+
<?php if ($_order->getTracksCollection()->count()) : ?>
|
77 |
+
<a href="#" id="linkId" onclick="popWin('<?php echo $this->helper('shipping')->getTrackingPopupUrlBySalesModel($_order) ?>','trackorder','width=800,height=600,resizable=yes,scrollbars=yes')" title="<?php echo $this->__('Track Order') ?>"><?php echo $this->__('Track Order') ?></a>
|
78 |
+
<br/>
|
79 |
+
<?php endif; ?>
|
80 |
+
<?php if ($_order->getShippingDescription()): ?>
|
81 |
+
<strong><?php echo $this->escapeHtml($_order->getShippingDescription()) ?></strong>
|
82 |
+
|
83 |
+
<?php if ($this->helper('tax')->displayShippingPriceIncludingTax()): ?>
|
84 |
+
<?php $_excl = $this->displayShippingPriceInclTax($_order); ?>
|
85 |
+
<?php else: ?>
|
86 |
+
<?php $_excl = $this->displayPriceAttribute('shipping_amount', false, ' '); ?>
|
87 |
+
<?php endif; ?>
|
88 |
+
<?php $_incl = $this->displayShippingPriceInclTax($_order); ?>
|
89 |
+
|
90 |
+
<?php echo $_excl; ?>
|
91 |
+
<?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
|
92 |
+
(<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
|
93 |
+
<?php endif; ?>
|
94 |
+
<?php else: ?>
|
95 |
+
<?php echo $this->helper('sales')->__('No shipping information available'); ?>
|
96 |
+
<?php endif; ?>
|
97 |
+
</fieldset>
|
98 |
+
</div>
|
99 |
+
</div>
|
100 |
+
<?php endif; ?>
|
101 |
+
<div class="clear"></div>
|
102 |
+
<?php echo $this->getGiftOptionsHtml() ?>
|
103 |
+
<div class="clear"></div>
|
104 |
+
<div class="entry-edit">
|
105 |
+
<div class="entry-edit-head">
|
106 |
+
<h4 class="icon-head head-products"><?php echo Mage::helper('sales')->__('Items Ordered') ?></h4>
|
107 |
+
</div>
|
108 |
+
</div>
|
109 |
+
<?php echo $this->getItemsHtml() ?>
|
110 |
+
<div class="clear"></div>
|
111 |
+
|
112 |
+
<div class="box-left">
|
113 |
+
<div class="entry-edit">
|
114 |
+
<div class="entry-edit-head">
|
115 |
+
<h4><?php echo Mage::helper('sales')->__('Comments History') ?></h4>
|
116 |
+
</div>
|
117 |
+
<fieldset><?php echo $this->getChildHtml('order_history') ?></fieldset>
|
118 |
+
</div>
|
119 |
+
</div>
|
120 |
+
<div class="box-right entry-edit">
|
121 |
+
<div class="entry-edit-head"><h4><?php echo Mage::helper('sales')->__('Order Totals') ?></h4></div>
|
122 |
+
<div class="order-totals"><?php echo $this->getChildHtml('order_totals') ?></div>
|
123 |
+
</div>
|
124 |
+
<div class="clear"></div>
|
125 |
+
</div>
|
126 |
+
|
127 |
+
<?php echo $this->getChildHtml('popup_window');?>
|
128 |
+
<script type="text/javascript">
|
129 |
+
//<![CDATA[
|
130 |
+
/**
|
131 |
+
* Retrieve gift options tooltip content
|
132 |
+
*/
|
133 |
+
function getGiftOptionsTooltipContent(itemId) {
|
134 |
+
var contentLines = [];
|
135 |
+
var headerLine = null;
|
136 |
+
var contentLine = null;
|
137 |
+
|
138 |
+
$$('#gift_options_data_' + itemId + ' .gift-options-tooltip-content').each(function (element) {
|
139 |
+
if (element.down(0)) {
|
140 |
+
headerLine = element.down(0).innerHTML;
|
141 |
+
contentLine = element.down(0).next().innerHTML;
|
142 |
+
if (contentLine.length > 30) {
|
143 |
+
contentLine = contentLine.slice(0,30) + '...';
|
144 |
+
}
|
145 |
+
contentLines.push(headerLine + ' ' + contentLine);
|
146 |
+
}
|
147 |
+
});
|
148 |
+
return contentLines.join('<br/>');
|
149 |
+
}
|
150 |
+
giftOptionsTooltip.setTooltipContentLoaderFunction(getGiftOptionsTooltipContent);
|
151 |
+
|
152 |
+
function sepa_action(url)
|
153 |
+
{
|
154 |
+
var date = document.getElementById('sepa_mandate_sign').value;
|
155 |
+
|
156 |
+
if(date.match(/^[0-9]{4}\-(0[1-9]|1[012])\-(0[1-9]|[12][0-9]|3[01])/)) {
|
157 |
+
window.location.href = url + "sepa_date/" + date;
|
158 |
+
} else {
|
159 |
+
Translator.add('Mandate signature date is invalid', '<?php echo $this->__('Mandate signature date is invalid'); ?>');
|
160 |
+
alert(Translator.translate('Mandate signature date is invalid'));
|
161 |
+
}
|
162 |
+
return false;
|
163 |
+
}
|
164 |
+
//]]>
|
165 |
+
</script>
|
app/design/adminhtml/default/default/template/novalnet/sales/order/view/tab/info.phtml
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="clear"></div>
|
2 |
+
<div class="box-left">
|
3 |
+
<div class="entry-edit">
|
4 |
+
<div class="entry-edit-head">
|
5 |
+
<h4 class="icon-head head-products"><?php echo Mage::helper('sales')->__('SEPA Mandate Signed') ?></h4>
|
6 |
+
</div>
|
7 |
+
</div>
|
8 |
+
<div class="grid np">
|
9 |
+
<fieldset>
|
10 |
+
<br />
|
11 |
+
<div><?php echo $this->__('Date') ?>: <input class="input-text no-changes required-entry" type="text" id="sepa_mandate_sign" name="sepa_mandate_sign" value="<?php echo $this->getFilter('report_from') ?>" style="width:5em" />
|
12 |
+
<button style="" onclick="setLocation('')" class="scalable go" type="button" title="SEPA Mandate Signed" id="id_b4e98b73dc3651d37e7548172e49c4d4"><span><span><span>Mandate Signed</span></span></span></button>
|
13 |
+
</div>
|
14 |
+
<br />
|
15 |
+
</fieldset>
|
16 |
+
</div>
|
app/design/adminhtml/default/default/template/novalnet/sales/order/view/tab/transactionstatus.phtml
DELETED
@@ -1,128 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Magento
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-3.0.php
|
11 |
-
* If you did not receive a copy of the license and are unable to
|
12 |
-
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
-
*
|
15 |
-
* Part of the Paymentmodule of Novalnet AG
|
16 |
-
* https://www.novalnet.de
|
17 |
-
* If you have found this script usefull a small
|
18 |
-
* recommendation as well as a comment on merchant form
|
19 |
-
* would be greatly appreciated.
|
20 |
-
*
|
21 |
-
* @category Novalnet
|
22 |
-
* @package Novalnet_Payment
|
23 |
-
* @copyright Novalnet AG
|
24 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
-
*/
|
26 |
-
$data = $this->getTransaction();
|
27 |
-
?>
|
28 |
-
<input type="hidden" name="order_id" value="<?php echo $data->getOrderId() ?>"/>
|
29 |
-
|
30 |
-
<div class="box-left">
|
31 |
-
<!--Novalnet Order Information-->
|
32 |
-
<div class="entry-edit">
|
33 |
-
<div class="entry-edit-head">
|
34 |
-
<h4 class="icon-head head-payment-method"><?php echo Mage::helper('novalnet_payment')->__('Novalnet Order Information') ?></h4>
|
35 |
-
</div>
|
36 |
-
<div class="fieldset">
|
37 |
-
<table cellspacing="0" class="form-list">
|
38 |
-
<tr>
|
39 |
-
<td class="label">
|
40 |
-
<label><?php echo $this->helper('novalnet_payment')->__('Store-ID') ?></label>
|
41 |
-
</td>
|
42 |
-
<td class="label">
|
43 |
-
<strong><?php echo $data->getStoreId() ?></strong>
|
44 |
-
</td>
|
45 |
-
</tr>
|
46 |
-
<tr>
|
47 |
-
<td class="label">
|
48 |
-
<label><?php echo $this->helper('novalnet_payment')->__('Order-ID') ?></label>
|
49 |
-
</td>
|
50 |
-
<td class="label">
|
51 |
-
<strong><?php echo $data->getOrderId() ?></strong>
|
52 |
-
</td>
|
53 |
-
</tr>
|
54 |
-
<tr>
|
55 |
-
<td class="label">
|
56 |
-
<label><?php echo $this->helper('novalnet_payment')->__('Tranaction-ID') ?></label>
|
57 |
-
</td>
|
58 |
-
<td class="label">
|
59 |
-
<strong><?php echo $data->getTransactionNo() ?></strong>
|
60 |
-
</td>
|
61 |
-
</tr>
|
62 |
-
<tr>
|
63 |
-
<td class="label">
|
64 |
-
<label><?php echo $this->helper('novalnet_payment')->__('Transaction-Status') ?></label>
|
65 |
-
</td>
|
66 |
-
<td class="label">
|
67 |
-
<strong><?php echo $data->getTransactionStatus() ?></strong>
|
68 |
-
</td>
|
69 |
-
</tr>
|
70 |
-
<tr>
|
71 |
-
<td class="label">
|
72 |
-
<label><?php echo $this->helper('novalnet_payment')->__('NC No') ?></label>
|
73 |
-
</td>
|
74 |
-
<td class="label">
|
75 |
-
<strong><?php echo $data->getNcNo() ?></strong>
|
76 |
-
</td>
|
77 |
-
</tr>
|
78 |
-
<tr>
|
79 |
-
<td class="label">
|
80 |
-
<label><?php echo $this->helper('novalnet_payment')->__('Customer-ID') ?></label>
|
81 |
-
</td>
|
82 |
-
<td class="label">
|
83 |
-
<strong><?php echo $data->getCustomerId() ?></strong>
|
84 |
-
</td>
|
85 |
-
</tr>
|
86 |
-
</table>
|
87 |
-
</div>
|
88 |
-
</div>
|
89 |
-
</div>
|
90 |
-
<div class="box-right">
|
91 |
-
<!--Novalnet Order Shop Information-->
|
92 |
-
<div class="entry-edit">
|
93 |
-
<div class="entry-edit-head">
|
94 |
-
<h4 class="icon-head head-payment-method"><?php echo Mage::helper('novalnet_payment')->__('Novalnet Shop Information') ?></h4>
|
95 |
-
</div>
|
96 |
-
</div>
|
97 |
-
<div class="fieldset">
|
98 |
-
<table cellspacing="0" class="form-list">
|
99 |
-
<tr>
|
100 |
-
<td class="label">
|
101 |
-
<label><?php echo $this->helper('novalnet_payment')->__('Shop URL') ?></label>
|
102 |
-
</td>
|
103 |
-
<td class="label">
|
104 |
-
<strong><?php echo $data->getShopUrl() ?></strong>
|
105 |
-
</td>
|
106 |
-
</tr>
|
107 |
-
</table>
|
108 |
-
</div>
|
109 |
-
|
110 |
-
<!--Novalnet Order Additional Information-->
|
111 |
-
<div class="entry-edit">
|
112 |
-
<div class="entry-edit-head">
|
113 |
-
<h4 class="icon-head head-payment-method"><?php echo Mage::helper('novalnet_payment')->__('Novalnet Additional Information') ?></h4>
|
114 |
-
</div>
|
115 |
-
</div>
|
116 |
-
<div class="fieldset">
|
117 |
-
<table cellspacing="0" class="form-list">
|
118 |
-
<tr>
|
119 |
-
<td class="label">
|
120 |
-
<label><?php echo $this->helper('novalnet_payment')->__('Additional Data') ?></label>
|
121 |
-
</td>
|
122 |
-
<td class="label">
|
123 |
-
<strong><?php echo $data->getAdditionalData() ?></strong>
|
124 |
-
</td>
|
125 |
-
</tr>
|
126 |
-
</table>
|
127 |
-
</div>
|
128 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/adminhtml/default/default/template/novalnet/transaction/overview/view/form.phtml
CHANGED
@@ -59,7 +59,11 @@ $data = $this->getNovalnetTransactionOverview();
|
|
59 |
<label><?php echo $this->helper('novalnet_payment')->__('Order-ID') ?></label>
|
60 |
</td>
|
61 |
<td class="label">
|
62 |
-
|
|
|
|
|
|
|
|
|
63 |
</td>
|
64 |
</tr>
|
65 |
<tr>
|
59 |
<label><?php echo $this->helper('novalnet_payment')->__('Order-ID') ?></label>
|
60 |
</td>
|
61 |
<td class="label">
|
62 |
+
<?php
|
63 |
+
$orderViewId = Mage::getModel('sales/order')->loadByIncrementId($data->getOrderId())->getId();
|
64 |
+
$orderViewUrl = Mage::helper('adminhtml')->getUrl('adminhtml/sales_order/view', array('order_id' => $orderViewId));
|
65 |
+
?>
|
66 |
+
<strong><a href="<?php echo $orderViewUrl ?>"><?php echo $data->getOrderId() ?></a></strong>
|
67 |
</td>
|
68 |
</tr>
|
69 |
<tr>
|
app/design/adminhtml/default/default/template/novalnet/transaction/view/form.phtml
CHANGED
@@ -61,7 +61,11 @@ $data = $this->getNovalnetTransactionStatus();
|
|
61 |
<label><?php echo $this->helper('novalnet_payment')->__('Order-ID') ?></label>
|
62 |
</td>
|
63 |
<td class="label">
|
64 |
-
|
|
|
|
|
|
|
|
|
65 |
</td>
|
66 |
</tr>
|
67 |
<tr>
|
61 |
<label><?php echo $this->helper('novalnet_payment')->__('Order-ID') ?></label>
|
62 |
</td>
|
63 |
<td class="label">
|
64 |
+
<?php
|
65 |
+
$orderViewId = Mage::getModel('sales/order')->loadByIncrementId($data->getOrderId())->getId();
|
66 |
+
$orderViewUrl = Mage::helper('adminhtml')->getUrl('adminhtml/sales_order/view', array('order_id' => $orderViewId));
|
67 |
+
?>
|
68 |
+
<strong><a href="<?php echo $orderViewUrl ?>"><?php echo $data->getOrderId() ?></a></strong>
|
69 |
</td>
|
70 |
</tr>
|
71 |
<tr>
|
app/design/frontend/base/default/layout/novalnet.xml
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<layout version="0.1.0">
|
3 |
+
<checkout_onepage_index>
|
4 |
+
<reference name="head">
|
5 |
+
<action method="addJs">
|
6 |
+
<script>novalnet/novalnetcc.js</script>
|
7 |
+
</action>
|
8 |
+
<action method="addJs">
|
9 |
+
<script>novalnet/novalnetsepa.js</script>
|
10 |
+
</action>
|
11 |
+
</reference>
|
12 |
+
</checkout_onepage_index>
|
13 |
+
</layout>
|
app/design/frontend/base/default/template/novalnet/payment/method/form/Cc.phtml
ADDED
@@ -0,0 +1,123 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
* Part of the Paymentmodule of Novalnet AG
|
17 |
+
* https://www.novalnet.de
|
18 |
+
* If you have found this script usefull a small
|
19 |
+
* recommendation as well as a comment on merchant form
|
20 |
+
* would be greatly appreciated.
|
21 |
+
*
|
22 |
+
* @category Novalnet
|
23 |
+
* @package Novalnet_Payment
|
24 |
+
* @copyright Novalnet AG
|
25 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
+
*/
|
27 |
+
/*
|
28 |
+
* For Custom Style
|
29 |
+
*/
|
30 |
+
|
31 |
+
include(MAGENTO_ROOT.'/novalnet_css_link.php');
|
32 |
+
|
33 |
+
$code = $this->getMethodCode();
|
34 |
+
$helper = Mage::helper('novalnet_payment');
|
35 |
+
$assignDatahelper = Mage::helper('novalnet_payment/AssignData');
|
36 |
+
$ccError = $this->getMethod()->getConfigData('cc_error');
|
37 |
+
?>
|
38 |
+
<fieldset class="form-list" id="fieldset_<?php echo $code ?>">
|
39 |
+
<!--{{{ Payment Logo -->
|
40 |
+
<div>
|
41 |
+
<a href="<?php echo $helper->getNovalnetUrl() ?>" target="_new" style="text-decoration:none;">
|
42 |
+
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . "creditcard_small.jpg" ?>
|
43 |
+
<img style="height:20px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->_getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
44 |
+
</a>
|
45 |
+
<!-- Amex Logo -->
|
46 |
+
</div>
|
47 |
+
<!--}}} Payment Logo -->
|
48 |
+
<!--{{{ Novalnet Cc Form -->
|
49 |
+
<div id="payment_form_<?php echo $code ?>" style="display:none;">
|
50 |
+
<?php if (!$this->getMethod()->validateNovalnetIframeParams()): ?>
|
51 |
+
<div style="font-weight:bold;color:red;font-size:12px;">
|
52 |
+
<?php echo $this->__('Basic parameter not valid') . '!' ?>
|
53 |
+
</div>
|
54 |
+
<?php else: ?>
|
55 |
+
<div id="nncc_loading">
|
56 |
+
<img src="<?php echo $helper->getNovalnetPaymentFormLogoUrl() ?>novalnet-loading-icon.gif" alt="Loading" />
|
57 |
+
</div>
|
58 |
+
<iframe frameborder="0" name="ifm_payment_form_<?php echo $code ?>" id="ifm_payment_form_<?php echo $code ?>"
|
59 |
+
style="width: 603px; height: 320px; border: none; display: block; margin-top: 5px;" onload="document.getElementById('nncc_loading').style.display = 'none'" src="<?php echo $helper->getUrl('novalnet_payment/NovalnetCc') ?>" >
|
60 |
+
</iframe>
|
61 |
+
<ul>
|
62 |
+
<!--{{{ CallbackType-->
|
63 |
+
<?php if ($this->isCallbackTypeCall()): ?>
|
64 |
+
<!--{{{ PIN by Callback-->
|
65 |
+
<?php if ($this->getCallbackConfigData() != 3): ?>
|
66 |
+
<li>
|
67 |
+
<div class="input-box">
|
68 |
+
<label style="float:none;" for="<?php echo $code ?>_callback_tel">
|
69 |
+
<?php if ($this->getCallbackConfigData() == 2): ?>
|
70 |
+
<?php echo $this->__('Mobile phone number'); ?>
|
71 |
+
<?php else: ?>
|
72 |
+
<?php echo $this->__('Ihre Telefon- / Mobil- Nummer'); ?>
|
73 |
+
<?php endif; ?>
|
74 |
+
<span class="required">*</span></label><br/>
|
75 |
+
<input type="text" autocomplete="off" id="<?php echo $code ?>_callback_tel" name="payment[callback_tel]" title="<?php echo $this->__('Callback') ?>" class="required-entry input-text" value="<?php echo $ccError ? $assignDatahelper->_getCheckout()->getNnCallbackTelNovalnetCc() : '';?>"/>
|
76 |
+
</div>
|
77 |
+
</li>
|
78 |
+
<li>
|
79 |
+
<div style="font-weight:bold;color:gray;border:1px solid #BFBFBF;font-size:11px; background:#FEFFBF; padding:10px; margin-top:10px;width:400px;">
|
80 |
+
<?php echo $this->__('Hinweis: Nach einem Klick auf "Fortsetzen" erhalten Sie in Kürze eine PIN per Telefon-/Handyrückruf oder SMS.') ?>
|
81 |
+
</div>
|
82 |
+
<div class="input-box">
|
83 |
+
<label style="float:none;" for="<?php echo $code ?>_callback_pin"><?php echo $this->__('PIN') ?><span class="required">*</span></label><br/>
|
84 |
+
<input onchange="document.getElementById('new_callback_pin').checked = false;" size="4" type="text" id="<?php echo $code ?>_callback_pin" name="payment[callback_pin]" title="<?php echo $this->__('Callback') ?>" class="input-text" /><br/>
|
85 |
+
<input id="new_callback_pin" type="checkbox" name="payment[new_callback_pin]" value="1">
|
86 |
+
<label style="float:none;" for="new_callback_pin"><?php echo $this->__('Forgot PIN? [New PIN Request]') ?></label>
|
87 |
+
</div>
|
88 |
+
</li>
|
89 |
+
<!--}}} PIN by Callback-->
|
90 |
+
<!--{{{ Reply by Email-->
|
91 |
+
<?php elseif ($this->getCallbackConfigData() == 3): ?>
|
92 |
+
<li>
|
93 |
+
<div style="font-weight:bold;color:gray;border:1px solid #BFBFBF;font-size:11px; background:#FEFFBF; padding:10px; margin-top:10px;width:400px;">
|
94 |
+
<?php echo $this->__('Hinweis: Nach einem Klick auf "Fortsetzen" erhalten Sie in Kürze ein EMAIL, das Sie sofort ohne änderung des Mailtexts beantworten müssen.') ?>
|
95 |
+
</div>
|
96 |
+
<div class="input-box">
|
97 |
+
<label style="float:none;" for="<?php echo $code ?>_callback_email"><?php echo $this->__('E-mail Address') ?><span class="required">*</span></label><br/>
|
98 |
+
<input type="text" autocomplete="off" id="<?php echo $code ?>_callback_email" name="payment[callback_email]" title="<?php echo $this->__('Callback Email') ?>" class="input-text validate-email required-entry" value="<?php echo $ccError ? $assignDatahelper->_getCheckout()->getNnCallbackEmailNovalnetCc() : '';?>"/>
|
99 |
+
</div>
|
100 |
+
</li>
|
101 |
+
<?php endif ?>
|
102 |
+
<!--}}} Reply by Email-->
|
103 |
+
<?php endif ?>
|
104 |
+
<!--}}} CallbackType-->
|
105 |
+
</ul>
|
106 |
+
<?php endif; ?>
|
107 |
+
</div>
|
108 |
+
|
109 |
+
<input type="hidden" id="original_vendor_id" value="<?php echo trim($this->getMethod()->_getConfigData('merchant_id', true)) ?>" />
|
110 |
+
<input type="hidden" id="original_vendor_authcode" value="<?php echo trim($this->getMethod()->_getConfigData('auth_code', true)) ?>" />
|
111 |
+
<input type="hidden" id="original_customstyle_css" value="<?php echo NOVALNET_CC_CUSTOM_CSS; ?>" />
|
112 |
+
<input type="hidden" id="original_customstyle_cssval" value="<?php echo NOVALNET_CC_CUSTOM_CSS_STYLE; ?>" />
|
113 |
+
|
114 |
+
<input type="hidden" name="novalnet_cc_owner" id="novalnet_cc_owner" value="" />
|
115 |
+
<input type="hidden" name="novalnet_cc_type" id="novalnet_cc_type" value="" />
|
116 |
+
<input type="hidden" name="novalnet_cc_exp_month" id="novalnet_cc_exp_month" value="" />
|
117 |
+
<input type="hidden" name="novalnet_cc_exp_year" id="novalnet_cc_exp_year" value="" />
|
118 |
+
<input type="hidden" name="novalnet_cc_cid" id="novalnet_cc_cid" value="" />
|
119 |
+
<input type="hidden" name="novalnet_cc_pan_hash" id="novalnet_cc_pan_hash" value="" />
|
120 |
+
<input type="hidden" name="novalnet_cc_unique_id" id="novalnet_cc_unique_id" value="" />
|
121 |
+
<input type="hidden" name="novalnet_cc_field_validator" id="novalnet_cc_field_validator" value="" />
|
122 |
+
|
123 |
+
</fieldset>
|
app/design/frontend/base/default/template/novalnet/payment/method/form/Ccform.phtml
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_code = Novalnet_Payment_Model_Config::NN_CC;
|
29 |
+
?>
|
30 |
+
<script type="text/javascript">
|
31 |
+
function updateHiddenElements(elements) {
|
32 |
+
|
33 |
+
var cc_type=0; var cc_owner=0; var cc_no=0; var cc_hash=0; var cc_month=0; var cc_year=0; var cc_cid=0;
|
34 |
+
if(document.getElementById("novalnetCc_cc_type").value!= '') cc_type=1;
|
35 |
+
if(document.getElementById("novalnetCc_cc_owner").value!= '') cc_owner=1;
|
36 |
+
if(document.getElementById("novalnetCc_cc_number").value!= '') cc_no=1;
|
37 |
+
if(document.getElementById("novalnetCc_expiration").value!= '') cc_month = 1;
|
38 |
+
if(document.getElementById("novalnetCc_expiration_yr").value!= '') cc_year = 1;
|
39 |
+
if(document.getElementById("novalnetCc_cc_cid").value!= '') cc_cid=1;
|
40 |
+
|
41 |
+
var novalnet_cc_field_validator = cc_type+','+cc_owner+','+cc_no+','+cc_month+','+cc_year+','+cc_cid;
|
42 |
+
|
43 |
+
for (var i=0; i<elements.length; i++) {
|
44 |
+
switch (elements[i].name) {
|
45 |
+
case 'novalnet_cc_field_validator':
|
46 |
+
elements[i].value = novalnet_cc_field_validator;
|
47 |
+
break;
|
48 |
+
case 'novalnet_cc_owner':
|
49 |
+
elements[i].value = document.getElementById('<?php echo $_code ?>_cc_owner').value;
|
50 |
+
break;
|
51 |
+
case 'novalnet_cc_type':
|
52 |
+
elements[i].value = document.getElementById('<?php echo $_code ?>_cc_type').value;
|
53 |
+
break;
|
54 |
+
case 'novalnet_cc_pan_hash':
|
55 |
+
elements[i].value = document.getElementById('nncc_cardno_id').value;
|
56 |
+
break;
|
57 |
+
case 'novalnet_cc_unique_id':
|
58 |
+
elements[i].value = document.getElementById('nncc_unique_id').value;
|
59 |
+
break;
|
60 |
+
case 'novalnet_cc_exp_month':
|
61 |
+
elements[i].value = document.getElementById('<?php echo $_code ?>_expiration').value;
|
62 |
+
break;
|
63 |
+
case 'novalnet_cc_exp_year':
|
64 |
+
elements[i].value = document.getElementById('<?php echo $_code ?>_expiration_yr').value;
|
65 |
+
break;
|
66 |
+
case 'novalnet_cc_cid':
|
67 |
+
elements[i].value = document.getElementById('<?php echo $_code ?>_cc_cid').value;
|
68 |
+
break;
|
69 |
+
}
|
70 |
+
}
|
71 |
+
return true;
|
72 |
+
}
|
73 |
+
</script>
|
74 |
+
<!--{{{ Payment Description -->
|
75 |
+
<ul>
|
76 |
+
<li style="margin: 0 0 8px;">
|
77 |
+
<?php echo $this->__('The amount will be booked immediately from your credit card.'); ?>
|
78 |
+
</li>
|
79 |
+
<li style="margin: 0 0 8px;">
|
80 |
+
<?php echo Mage::helper('novalnet_payment')->getModel('novalnetCc')->_getConfigData('booking_reference') ?>
|
81 |
+
</li>
|
82 |
+
<?php if (Mage::helper('novalnet_payment')->getModel('novalnetCc')->_getConfigData('live_mode', true) == 0): ?>
|
83 |
+
<li style="margin: 0 0 8px;">
|
84 |
+
<div style="font-weight:bold;color:red;font-size:12px;">
|
85 |
+
<?php echo $this->__('Please Note: This transaction will run on TEST MODE and the amount will not be charged') ?>
|
86 |
+
</div>
|
87 |
+
</li>
|
88 |
+
<?php endif ?>
|
89 |
+
</ul>
|
90 |
+
<!--}}} Payment Description -->
|
91 |
+
|
92 |
+
<!--{{{ Novalnet Iframe -->
|
93 |
+
<?php echo Mage::helper('novalnet_payment')->getModel('novalnetCc')->getNovalnetIframe() ?>
|
94 |
+
<!--}}} Novalnet Iframe -->
|
app/design/frontend/base/default/template/novalnet/payment/method/form/Ccsecure.phtml
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$code = $this->getMethodCode();
|
29 |
+
$helper = Mage::helper('novalnet_payment');
|
30 |
+
$novalnetSecureError = $this->getMethod()->getConfigData('novalnetSecure_error');
|
31 |
+
?>
|
32 |
+
<fieldset class="form-list">
|
33 |
+
<!--{{{ Payment Logo -->
|
34 |
+
<div>
|
35 |
+
<a href="<?php echo $helper->getNovalnetUrl(); ?>" target="_new" style="text-decoration:none;">
|
36 |
+
<?php foreach ($this->getCcAvailableTypes() as $_typeCode => $_typeName): ?>
|
37 |
+
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . $_typeCode . "_Logo.png"; ?>
|
38 |
+
<img style="height:20px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
39 |
+
<?php endforeach; ?>
|
40 |
+
</a>
|
41 |
+
</div>
|
42 |
+
<!--}}} Payment Logo -->
|
43 |
+
<ul id="payment_form_<?php echo $code ?>" style="display:none">
|
44 |
+
<li>
|
45 |
+
<?php echo $helper->__('The amount will be booked immediately from your credit card.') ?>
|
46 |
+
</li>
|
47 |
+
<?php if ($this->getUserInfo()): ?>
|
48 |
+
<li>
|
49 |
+
<?php echo $this->getUserInfo() ?>
|
50 |
+
</li>
|
51 |
+
<?php endif ?>
|
52 |
+
<?php if ($this->getLiveMode() == 0): ?>
|
53 |
+
<li>
|
54 |
+
<div style="font-weight:bold;color:red;font-size:12px;">
|
55 |
+
<?php echo $helper->__('Please Note: This transaction will run on TEST MODE and the amount will not be charged') ?>
|
56 |
+
</div>
|
57 |
+
</li>
|
58 |
+
<?php endif ?>
|
59 |
+
<li>
|
60 |
+
<div class="input-box">
|
61 |
+
<label style="float:none;" for="<?php echo $code ?>_cc_type"><?php echo $this->__('Credit Card Type') ?><span class="required">*</span></label><br />
|
62 |
+
<select id="<?php echo $code ?>_cc_type" name="payment[nn_cc_type]" class="required-entry validate-cc-type-select">
|
63 |
+
<option value=""><?php echo $this->__('--Please Select--') ?></option>
|
64 |
+
<?php $_ccType = Mage::helper('core')->decrypt($helper->_getCheckoutSession()->getNnCcType()) ?>
|
65 |
+
<?php foreach ($this->getCcAvailableTypes() as $_typeCode => $_typeName): ?>
|
66 |
+
<option value="<?php echo $_typeCode ?>"<?php if($_typeCode==$_ccType && $novalnetSecureError): ?> selected="selected"<?php endif ?>><?php echo $_typeName ?></option>
|
67 |
+
<?php endforeach; ?>
|
68 |
+
</select>
|
69 |
+
</div>
|
70 |
+
</li>
|
71 |
+
<li>
|
72 |
+
<div class="input-box">
|
73 |
+
<label style="float:none;" for="<?php echo $code ?>_cc_owner"><?php echo $this->__('Credit card holder') ?><span class="required">*</span></label><br/>
|
74 |
+
<input type="text" title="<?php echo $this->__('Name on Card') ?>" class="required-entry input-text" id="<?php echo $code ?>_cc_owner" name="payment[nn_cc_owner]" autocomplete="off" value="<?php echo $novalnetSecureError ? Mage::helper('core')->decrypt($helper->_getCheckoutSession()->getNnCcOwner()) : '';?>" />
|
75 |
+
</div>
|
76 |
+
</li>
|
77 |
+
<li>
|
78 |
+
<div class="input-box">
|
79 |
+
<label style="float:none;" for="<?php echo $code ?>_cc_number"><?php echo $this->__('Card number') ?><span class="required">*</span></label><br/>
|
80 |
+
<input type="text" id="<?php echo $code ?>_cc_number" name="payment[nn_cc_number]" title="<?php echo $this->__('Credit Card Number') ?>" class="required-entry input-text validate-cc-number validate-cc-type" autocomplete="off" value="<?php echo $novalnetSecureError ? Mage::helper('core')->decrypt($helper->_getCheckoutSession()->getNnCcNumber()) : '';?>" />
|
81 |
+
</div>
|
82 |
+
</li>
|
83 |
+
<li>
|
84 |
+
<div class="input-box">
|
85 |
+
<label style="float:none;" for="<?php echo $code ?>_expiration"><?php echo $this->__('Cc Expiration Date') ?><span class="required">*</span></label><br />
|
86 |
+
<div class="v-fix">
|
87 |
+
<select id="<?php echo $code ?>_expiration" style="width:140px;" name="payment[nn_cc_exp_month]" class="required-entry">
|
88 |
+
<option value=""><?php echo $this->__('Month'); ?></option>
|
89 |
+
<?php $_ccExpMonth = Mage::helper('core')->decrypt($helper->_getCheckoutSession()->getNnCcExpMonth()) ?>
|
90 |
+
<?php foreach ($this->getCcMonths() as $k => $v): ?>
|
91 |
+
<option value="<?php echo $k ?>"<?php if($k==$_ccExpMonth && $novalnetSecureError): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
92 |
+
<?php endforeach; ?>
|
93 |
+
</select>
|
94 |
+
</div>
|
95 |
+
<div class="v-fix" style="padding-left:5px;">
|
96 |
+
<select id="<?php echo $code ?>_expiration_yr" style="width:103px;" name="payment[nn_cc_exp_year]" class="required-entry">
|
97 |
+
<option value=""><?php echo $this->__('Year'); ?></option>
|
98 |
+
<?php $_ccExpYear = Mage::helper('core')->decrypt($helper->_getCheckoutSession()->getNnCcExpYear()) ?>
|
99 |
+
<?php foreach ($this->getCcYears() as $k => $v): ?>
|
100 |
+
<option value="<?php echo $k ?>"<?php if($k==$_ccExpYear && $novalnetSecureError): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
101 |
+
<?php endforeach; ?>
|
102 |
+
</select>
|
103 |
+
</div>
|
104 |
+
</div>
|
105 |
+
</li>
|
106 |
+
<?php if ($this->hasVerification()): ?>
|
107 |
+
<li>
|
108 |
+
<div class="input-box">
|
109 |
+
<label style="float:none;" for="<?php echo $code ?>_cc_cid"><?php echo $this->__('Cc Card Verification Number') ?><span class="required">*</span></label><br />
|
110 |
+
<div class="v-fix"><input type="text" title="<?php echo $this->__('Card Verification Number') ?>" class="required-entry input-text validate-cc-cvn" id="<?php echo $code ?>_cc_cid" name="payment[nn_cc_cid]" style="width:3em;" autocomplete="off" maxlength="4" /></div>
|
111 |
+
|
112 |
+
<a href="#" class="cvv-what-is-this"><?php echo $this->__('What is this?') ?></a>
|
113 |
+
</div>
|
114 |
+
</li>
|
115 |
+
<?php endif; ?>
|
116 |
+
</ul>
|
117 |
+
</fieldset>
|
app/design/frontend/base/default/template/novalnet/payment/method/form/Elvaustria.phtml
ADDED
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$code = $this->getMethodCode();
|
29 |
+
$helper = Mage::helper('novalnet_payment');
|
30 |
+
$assignDatahelper = Mage::helper('novalnet_payment/AssignData');
|
31 |
+
$elvastriaError = $this->getMethod()->getConfigData('elvastria_error');
|
32 |
+
?>
|
33 |
+
<fieldset class="form-list">
|
34 |
+
<div>
|
35 |
+
<!--{{{ Payment Logo -->
|
36 |
+
<a href="<?php echo $helper->getNovalnetUrl(); ?>" target="_new" style="text-decoration:none;">
|
37 |
+
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . "ELV_Logo.png"; ?>
|
38 |
+
<img style="height:20px;" src="<?php echo $imgpath; ?>" alt="<?php echo $this->getMethod()->getConfigData('title'); ?>" title="<?php echo $this->getMethod()->getConfigData('title'); ?>" />
|
39 |
+
</a>
|
40 |
+
<!--}}} Payment Logo -->
|
41 |
+
</div>
|
42 |
+
<!--{{{ ELVAT Form -->
|
43 |
+
<ul id="payment_form_<?php echo $code ?>" style="display:none">
|
44 |
+
<!--{{{ Payment Description -->
|
45 |
+
<li style="padding-top: 0.5em;">
|
46 |
+
<?php echo $this->__('Your account will be debited upon delivery of goods.') ?>
|
47 |
+
</li>
|
48 |
+
<!--}}} Payment Description -->
|
49 |
+
<?php if ($this->getUserInfo()): ?>
|
50 |
+
<li>
|
51 |
+
<?php echo $this->getUserInfo() ?>
|
52 |
+
</li>
|
53 |
+
<?php endif ?>
|
54 |
+
<?php if ($this->getLiveMode() == 0): ?>
|
55 |
+
<li>
|
56 |
+
<div style="font-weight:bold;color:red;font-size:12px;">
|
57 |
+
<?php echo $this->__('Please Note: This transaction will run on TEST MODE and the amount will not be charged') ?>
|
58 |
+
</div>
|
59 |
+
</li>
|
60 |
+
<?php endif ?>
|
61 |
+
<li>
|
62 |
+
<div class="input-box">
|
63 |
+
<label style="float:none;" for="<?php echo $code ?>_account_holder"><?php echo $this->__('Account Holder') ?><span class="required">*</span></label><br/>
|
64 |
+
<input type="text" value="<?php echo $elvastriaError ? $assignDatahelper->_getCheckout()->getElvAtAccountHolder(): '';?>"id="<?php echo $code ?>_account_holder" name="payment[account_holder_at]" title="<?php echo $this->__('Account Holder') ?>" class="required-entry input-text" autocomplete="off" />
|
65 |
+
</div>
|
66 |
+
</li>
|
67 |
+
<li>
|
68 |
+
<div class="input-box">
|
69 |
+
<label style="float:none;" for="<?php echo $code ?>_account_number"><?php echo $this->__('NnAccount number') ?><span class="required">*</span></label><br/>
|
70 |
+
<input type="text" value="<?php echo $elvastriaError ? $assignDatahelper->_getCheckout()->getElvAtAccountNumber(): '';?>"id="<?php echo $code ?>_account_number" name="payment[account_number_at]" title="<?php echo $this->__('NnAccount Number') ?>" class="required-entry input-text" autocomplete="off" />
|
71 |
+
</div>
|
72 |
+
</li>
|
73 |
+
<li>
|
74 |
+
<div class="input-box">
|
75 |
+
<label style="float:none;" for="<?php echo $code ?>_bank_sorting_code"><?php echo $this->__('Bank Sorting Code') ?><span class="required">*</span></label><br/>
|
76 |
+
<input type="text" value="<?php echo $elvastriaError ? $assignDatahelper->_getCheckout()->getElvAtBankSortingCode() : '';?>" id="<?php echo $code ?>_bank_sorting_code" name="payment[bank_sorting_code_at]" title="<?php echo $this->__('Bank Sorting Code') ?>" class="required-entry input-text" autocomplete="off" />
|
77 |
+
</div>
|
78 |
+
</li>
|
79 |
+
<!--{{{ CallbackType-->
|
80 |
+
<?php if ($this->isCallbackTypeCall()): ?>
|
81 |
+
<!--{{{ PIN by Callback-->
|
82 |
+
<?php if ($this->getCallbackConfigData() != 3): ?>
|
83 |
+
<li>
|
84 |
+
<div class="input-box">
|
85 |
+
<label style="float:none;" for="<?php echo $code ?>_callback_tel">
|
86 |
+
<?php if ($this->getCallbackConfigData() == 2): ?>
|
87 |
+
<?php echo $this->__('Mobile phone number'); ?>
|
88 |
+
<?php else: ?>
|
89 |
+
<?php echo $this->__('Ihre Telefon- / Mobil- Nummer'); ?>
|
90 |
+
<?php endif; ?>
|
91 |
+
<span class="required">*</span></label><br/>
|
92 |
+
<input type="text" autocomplete="off" id="<?php echo $code ?>_callback_tel" name="payment[callback_tel]" title="<?php echo $this->__('Callback') ?>" class="required-entry input-text" value="<?php echo $elvastriaError ? $assignDatahelper->_getCheckout()->getNnCallbackTelNovalnetElvaustria(): '';?>"/>
|
93 |
+
</div>
|
94 |
+
</li>
|
95 |
+
<li>
|
96 |
+
<div style="font-weight:bold;color:gray;border:1px solid #BFBFBF;font-size:11px; background:#FEFFBF; padding:10px; margin-top:10px;width:400px;">
|
97 |
+
<?php echo $this->__('Hinweis: Nach einem Klick auf "Fortsetzen" erhalten Sie in Kürze eine PIN per Telefon-/Handyrückruf oder SMS.') ?>
|
98 |
+
</div>
|
99 |
+
<div class="input-box">
|
100 |
+
<label style="float:none;" for="<?php echo $code ?>_callback_pin"><?php echo $this->__('PIN') ?><span class="required">*</span></label><br/>
|
101 |
+
<input onchange="document.getElementById('new_callback_pin').checked = false;" size="4" type="text" id="<?php echo $code ?>_callback_pin" name="payment[callback_pin]" title="<?php echo $this->__('Callback') ?>" class="input-text" /><br/>
|
102 |
+
<input id="new_callback_pin" type="checkbox" name="payment[new_callback_pin]" value="1">
|
103 |
+
<label style="float:none;" for="new_callback_pin"><?php echo $this->__('Forgot PIN? [New PIN Request]') ?></label>
|
104 |
+
</div>
|
105 |
+
</li>
|
106 |
+
<!--}}} PIN by Callback-->
|
107 |
+
<!--{{{ Reply by Email-->
|
108 |
+
<?php elseif ($this->getCallbackConfigData() == 3): ?>
|
109 |
+
<li>
|
110 |
+
<div style="font-weight:bold;color:gray;border:1px solid #BFBFBF;font-size:11px; background:#FEFFBF; padding:10px; margin-top:10px;width:400px;">
|
111 |
+
<?php echo $this->__('Hinweis: Nach einem Klick auf "Fortsetzen" erhalten Sie in Kürze ein EMAIL, das Sie sofort ohne änderung des Mailtexts beantworten müssen.') ?>
|
112 |
+
</div>
|
113 |
+
<div class="input-box">
|
114 |
+
<label style="float:none;" for="<?php echo $code ?>_callback_email"><?php echo $this->__('E-mail Address') ?><span class="required">*</span></label><br/>
|
115 |
+
<input type="text" autocomplete="off" id="<?php echo $code ?>_callback_email" name="payment[callback_email]" title="<?php echo $this->__('Callback Email') ?>" class="input-text validate-email required-entry" value="<?php echo $elvastriaError ? $assignDatahelper->_getCheckout()->getNnCallbackEmailNovalnetElvaustria(): '';?>"/>
|
116 |
+
</div>
|
117 |
+
</li>
|
118 |
+
<?php endif ?>
|
119 |
+
<!--}}} Reply by Email-->
|
120 |
+
<?php endif ?>
|
121 |
+
<!--}}} CallbackType-->
|
122 |
+
</ul>
|
123 |
+
<!-- ELVAT Form -->
|
124 |
+
</fieldset>
|
app/design/frontend/base/default/template/novalnet/payment/method/form/Elvgerman.phtml
ADDED
@@ -0,0 +1,148 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$code = $this->getMethodCode();
|
29 |
+
$helper = Mage::helper('novalnet_payment');
|
30 |
+
$assignDatahelper = Mage::helper('novalnet_payment/AssignData');
|
31 |
+
$elvgermanError = $this->getMethod()->getConfigData('elvgerman_error');
|
32 |
+
?>
|
33 |
+
<fieldset class="form-list">
|
34 |
+
<div>
|
35 |
+
<!--{{{ Payment Logo -->
|
36 |
+
<a href="<?php echo $helper->getNovalnetUrl(); ?>" target="_new" style="text-decoration:none;">
|
37 |
+
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . "ELV_Logo.png"; ?>
|
38 |
+
<img style="height:20px;" src="<?php echo $imgpath; ?>" alt="<?php echo $this->getMethod()->getConfigData('title'); ?>" title="<?php echo $this->getMethod()->getConfigData('title'); ?>" />
|
39 |
+
</a>
|
40 |
+
<!--}}} Payment Logo -->
|
41 |
+
</div>
|
42 |
+
<!--{{{ ELVDE Form -->
|
43 |
+
<ul id="payment_form_<?php echo $code ?>" style="display:none">
|
44 |
+
<!--{{{ Payment Description -->
|
45 |
+
<li style="padding-top: 0.5em;">
|
46 |
+
<?php echo $this->__('Your account will be debited upon delivery of goods.') ?>
|
47 |
+
</li>
|
48 |
+
<!--}}} Payment Description -->
|
49 |
+
<?php if ($this->getUserInfo()): ?>
|
50 |
+
<li>
|
51 |
+
<?php echo $this->getUserInfo() ?>
|
52 |
+
</li>
|
53 |
+
<?php endif ?>
|
54 |
+
<?php if ($this->getLiveMode() == 0): ?>
|
55 |
+
<li>
|
56 |
+
<div style="font-weight:bold;color:red;font-size:12px;">
|
57 |
+
<?php echo $this->__('Please Note: This transaction will run on TEST MODE and the amount will not be charged') ?>
|
58 |
+
</div>
|
59 |
+
</li>
|
60 |
+
<?php endif ?>
|
61 |
+
<li>
|
62 |
+
<div class="input-box">
|
63 |
+
<label style="float:none;" for="<?php echo $code ?>_account_holder"><?php echo $this->__('Account Holder') ?><span class="required">*</span></label><br/>
|
64 |
+
<input type="text" value="<?php echo $elvgermanError ? $assignDatahelper->_getCheckout()->getElvDeAccountHolder() : '';?>" id="<?php echo $code ?>_account_holder" name="payment[account_holder]" title="<?php echo $this->__('Account Holder') ?>" class="required-entry input-text" autocomplete="off" />
|
65 |
+
</div>
|
66 |
+
</li>
|
67 |
+
<li>
|
68 |
+
<div class="input-box">
|
69 |
+
<label style="float:none;" for="<?php echo $code ?>_account_number"><?php echo $this->__('NnAccount number') ?><span class="required">*</span></label><br/>
|
70 |
+
<input type="text" value="<?php echo $elvgermanError ? $assignDatahelper->_getCheckout()->getElvDeAccountNumber() : '';?>" id="<?php echo $code ?>_account_number" name="payment[account_number]" title="<?php echo $this->__('NnAccount Number') ?>" class="required-entry input-text" autocomplete="off" />
|
71 |
+
</div>
|
72 |
+
</li>
|
73 |
+
<li>
|
74 |
+
<div class="input-box">
|
75 |
+
<label style="float:none;" for="<?php echo $code ?>_bank_sorting_code"><?php echo $this->__('Bank Sorting Code') ?><span class="required">*</span></label><br/>
|
76 |
+
<input type="text" value="<?php echo $elvgermanError ? $assignDatahelper->_getCheckout()->getElvDeBankSortingCode() : '';?>" id="<?php echo $code ?>_bank_sorting_code" name="payment[bank_sorting_code]" title="<?php echo $this->__('Bank Sorting Code') ?>" class="required-entry input-text" autocomplete="off" />
|
77 |
+
</div>
|
78 |
+
</li>
|
79 |
+
<!--{{{ ACDC check-->
|
80 |
+
<?php if ($this->getAcdc()): ?>
|
81 |
+
<li>
|
82 |
+
<div class="input-box">
|
83 |
+
<input type="checkbox" id="<?php echo $code ?>_acdc" name="payment[acdc]" title="<?php echo $this->__('acdc') ?>" class="required-entry" />
|
84 |
+
<label style="float:none;" id="elvde_acdc" for="<?php echo $code ?>_acdc"><b><a><?php echo $this->__('Please enable ACDC Check.') ?></a></b> <span class="required">*</span></label>
|
85 |
+
</div>
|
86 |
+
</li>
|
87 |
+
<script type="text/javascript">
|
88 |
+
var showbaby;
|
89 |
+
|
90 |
+
//ACDC Info
|
91 |
+
$("elvde_acdc").observe('mouseover', function() {
|
92 |
+
var url = parent.location.href;
|
93 |
+
url = '<?php echo $helper->getNovalnetPaymentFormLogoUrl(); ?>acdc_info.png';w='550';h='300';x=screen.availWidth/2-w/2;y=screen.availHeight/2-h/2;
|
94 |
+
showbaby = window.open(url,'showbaby','toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=1,width='+w+',height='+h+',left='+x+',top='+y+',screenX='+x+',screenY='+y);
|
95 |
+
showbaby.focus();
|
96 |
+
});
|
97 |
+
|
98 |
+
//Hide ACDC info
|
99 |
+
function hide_acdc_info() { showbaby.close(); }
|
100 |
+
</script>
|
101 |
+
<?php endif ?>
|
102 |
+
<!--}}} ACDC check-->
|
103 |
+
<!--{{{ CallbackType-->
|
104 |
+
<?php if ($this->isCallbackTypeCall()): ?>
|
105 |
+
<!--{{{ PIN by Callback-->
|
106 |
+
<?php if ($this->getCallbackConfigData() != 3): ?>
|
107 |
+
<li>
|
108 |
+
<div class="input-box">
|
109 |
+
<label style="float:none;" for="<?php echo $code ?>_callback_tel">
|
110 |
+
<?php if ($this->getCallbackConfigData() == 2): ?>
|
111 |
+
<?php echo $this->__('Mobile phone number'); ?>
|
112 |
+
<?php else: ?>
|
113 |
+
<?php echo $this->__('Ihre Telefon- / Mobil- Nummer'); ?>
|
114 |
+
<?php endif; ?>
|
115 |
+
<span class="required">*</span></label><br/>
|
116 |
+
<input type="text" id="<?php echo $code ?>_callback_tel" name="payment[callback_tel]" title="<?php echo $this->__('Callback') ?>" class="required-entry input-text" autocomplete="off" value="<?php echo $elvgermanError ? $assignDatahelper->_getCheckout()->getNnCallbackTelNovalnetElvgerman() : '';?>"/>
|
117 |
+
</div>
|
118 |
+
</li>
|
119 |
+
<li>
|
120 |
+
<div style="font-weight:bold;color:gray;border:1px solid #BFBFBF;font-size:11px; background:#FEFFBF; padding:10px; margin-top:10px;width:400px;">
|
121 |
+
<?php echo $this->__('Hinweis: Nach einem Klick auf "Fortsetzen" erhalten Sie in Kürze eine PIN per Telefon-/Handyrückruf oder SMS.') ?>
|
122 |
+
</div>
|
123 |
+
<div class="input-box">
|
124 |
+
<label style="float:none;" for="<?php echo $code ?>_callback_pin"><?php echo $this->__('PIN') ?><span class="required">*</span></label><br/>
|
125 |
+
<input onchange="document.getElementById('de_new_callback_pin').checked = false;" size="4" type="text" id="<?php echo $code ?>_callback_pin" name="payment[callback_pin]" title="<?php echo $this->__('Callback') ?>" class="input-text" autocomplete="off" /><br/>
|
126 |
+
<input id="de_new_callback_pin" type="checkbox" name="payment[new_callback_pin]" value="1">
|
127 |
+
<label style="float:none;" for="de_new_callback_pin"><?php echo $this->__('Forgot PIN? [New PIN Request]') ?></label>
|
128 |
+
</div>
|
129 |
+
</li>
|
130 |
+
<!--}}} PIN by Callback-->
|
131 |
+
<!--{{{ Reply by Email-->
|
132 |
+
<?php elseif ($this->getCallbackConfigData() == 3): ?>
|
133 |
+
<li>
|
134 |
+
<div style="font-weight:bold;color:gray;border:1px solid #BFBFBF;font-size:11px; background:#FEFFBF; padding:10px; margin-top:10px;width:400px;">
|
135 |
+
<?php echo $this->__('Hinweis: Nach einem Klick auf "Fortsetzen" erhalten Sie in Kürze ein EMAIL, das Sie sofort ohne änderung des Mailtexts beantworten müssen.') ?>
|
136 |
+
</div>
|
137 |
+
<div class="input-box">
|
138 |
+
<label style="float:none;" for="<?php echo $code ?>_callback_email"><?php echo $this->__('E-mail Address') ?><span class="required">*</span></label><br/>
|
139 |
+
<input type="text" id="<?php echo $code ?>_callback_email" name="payment[callback_email]" title="<?php echo $this->__('Callback Email') ?>" class="input-text validate-email required-entry" autocomplete="off" value="<?php echo $elvgermanError ? $assignDatahelper->_getCheckout()->getNnCallbackEmailNovalnetElvgerman() : '';?>"/>
|
140 |
+
</div>
|
141 |
+
</li>
|
142 |
+
<?php endif ?>
|
143 |
+
<!--}}} Reply by Email-->
|
144 |
+
<?php endif ?>
|
145 |
+
<!--}}} CallbackType-->
|
146 |
+
</ul>
|
147 |
+
<!-- ELVDE Form -->
|
148 |
+
</fieldset>
|
app/design/frontend/base/default/template/novalnet/payment/method/form/Ideal.phtml
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<a name="<?php echo $this->getMethodCode() ?>"></a>
|
28 |
+
<?php
|
29 |
+
$_code = $this->getMethodCode();
|
30 |
+
$helper = Mage::helper('novalnet_payment');
|
31 |
+
?>
|
32 |
+
<fieldset class="form-list">
|
33 |
+
<!--{{{ Payment Logo -->
|
34 |
+
<div>
|
35 |
+
<a href="<?php echo $helper->getNovalnetUrl() ?>" target="_new" style="text-decoration:none;">
|
36 |
+
<?php $image = "ideal_payment_small.png";
|
37 |
+
$imgpath = $helper->getNovalnetPaymentFormLogoUrl() . $image; ?>
|
38 |
+
<img style="height:32px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
39 |
+
</a>
|
40 |
+
</div>
|
41 |
+
<!--}}} Payment Logo -->
|
42 |
+
<!--{{{ Payment Description -->
|
43 |
+
<div>
|
44 |
+
<ul id="payment_form_<?php echo $_code ?>" style="display:none;">
|
45 |
+
<li>
|
46 |
+
<?php echo $this->__('You will be redirected to Novalnet AG website when you place an order.') ?>
|
47 |
+
</li>
|
48 |
+
<?php if ($this->getUserInfo()): ?>
|
49 |
+
<li>
|
50 |
+
<?php echo $this->getUserInfo() ?>
|
51 |
+
</li>
|
52 |
+
<?php endif; ?>
|
53 |
+
<?php if ($this->getLiveMode() == 0): ?>
|
54 |
+
<li>
|
55 |
+
<div style="font-weight:bold;color:red;font-size:12px;">
|
56 |
+
<?php echo $this->__('Please Note: This transaction will run on TEST MODE and the amount will not be charged') ?>
|
57 |
+
</div>
|
58 |
+
</li>
|
59 |
+
<?php endif ?>
|
60 |
+
</ul>
|
61 |
+
</div>
|
62 |
+
<!--}}} Payment Description -->
|
63 |
+
<div class="clear"></div>
|
64 |
+
</fieldset>
|
app/design/frontend/base/default/template/novalnet/payment/method/form/Invoice.phtml
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$code = $this->getMethodCode();
|
29 |
+
$helper = Mage::helper('novalnet_payment');
|
30 |
+
?>
|
31 |
+
<fieldset class="form-list">
|
32 |
+
<!-- PAYMENT LOGO -->
|
33 |
+
<div>
|
34 |
+
<a href="<?php echo $helper->getNovalnetUrl() ?>" target="_new" style="text-decoration:none;">
|
35 |
+
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . "kauf-auf-rechnung.jpg"; ?>
|
36 |
+
<img style="height:30px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
37 |
+
</a>
|
38 |
+
</div>
|
39 |
+
<!-- PAYMENT LOGO -->
|
40 |
+
<ul id="payment_form_<?php echo $code ?>" style="display:none">
|
41 |
+
<!--{{{ PAYMENT DESCRIPTION -->
|
42 |
+
<li>
|
43 |
+
<?php echo $this->__('The Bank details will be emailed to you soon after the completion of checkout process') ?>
|
44 |
+
</li>
|
45 |
+
<?php if ($this->getUserInfo()): ?>
|
46 |
+
<li>
|
47 |
+
<?php echo $this->getUserInfo() ?>
|
48 |
+
</li>
|
49 |
+
<?php endif ?>
|
50 |
+
<?php if ($this->getLiveMode() == 0): ?>
|
51 |
+
<li>
|
52 |
+
<div style="font-weight:bold;color:red;font-size:12px;">
|
53 |
+
<?php echo $this->__('Please Note: This transaction will run on TEST MODE and the amount will not be charged') ?>
|
54 |
+
</div>
|
55 |
+
</li>
|
56 |
+
<?php endif ?>
|
57 |
+
<!--}}} PAYMENT DESCRIPTION -->
|
58 |
+
<!--{{{ CallbackType-->
|
59 |
+
<?php if ($this->isCallbackTypeCall()): ?>
|
60 |
+
<!--{{{ PIN by Callback-->
|
61 |
+
<?php if ($this->getCallbackConfigData() != 3): ?>
|
62 |
+
<li>
|
63 |
+
<div class="input-box">
|
64 |
+
<label style="float:none;" for="<?php echo $code ?>_callback_tel">
|
65 |
+
<?php if ($this->getCallbackConfigData() == 2): ?>
|
66 |
+
<?php echo $this->__('Mobile phone number'); ?>
|
67 |
+
<?php else: ?>
|
68 |
+
<?php echo $this->__('Ihre Telefon- / Mobil- Nummer'); ?>
|
69 |
+
<?php endif; ?>
|
70 |
+
<span class="required">*</span></label><br/>
|
71 |
+
<input type="text" value="" id="<?php echo $code ?>_callback_tel" name="payment[callback_tel]" title="<?php echo $this->__('Callback') ?>" class="required-entry input-text" />
|
72 |
+
</div>
|
73 |
+
</li>
|
74 |
+
<li>
|
75 |
+
<div style="font-weight:bold;color:gray;border:1px solid #BFBFBF;font-size:11px; background:#FEFFBF; padding:10px; margin-top:10px;width:400px;">
|
76 |
+
<?php echo $this->__('Hinweis: Nach einem Klick auf "Fortsetzen" erhalten Sie in Kürze eine PIN per Telefon-/Handyrückruf oder SMS.') ?>
|
77 |
+
</div>
|
78 |
+
<div class="input-box">
|
79 |
+
<label style="float:none;" for="<?php echo $code ?>_callback_pin"><?php echo $this->__('PIN') ?><span class="required">*</span></label><br/>
|
80 |
+
<input onchange="document.getElementById('inv_new_callback_pin').checked = false;" size="4" type="text" id="<?php echo $code ?>_callback_pin" name="payment[callback_pin]" title="<?php echo $this->__('Callback') ?>" class="input-text" /><br/>
|
81 |
+
<input id="inv_new_callback_pin" type="checkbox" name="payment[new_callback_pin]" value="1">
|
82 |
+
<label style="float:none;" for="inv_new_callback_pin"><?php echo $this->__('Forgot PIN? [New PIN Request]') ?></label>
|
83 |
+
</div>
|
84 |
+
</li>
|
85 |
+
<!--}}} PIN by Callback-->
|
86 |
+
<!--{{{ Reply by Email-->
|
87 |
+
<?php elseif ($this->getCallbackConfigData() == 3): ?>
|
88 |
+
<li>
|
89 |
+
<div style="font-weight:bold;color:gray;border:1px solid #BFBFBF;font-size:11px; background:#FEFFBF; padding:10px; margin-top:10px;width:400px;">
|
90 |
+
<?php echo $this->__('Hinweis: Nach einem Klick auf "Fortsetzen" erhalten Sie in Kürze ein EMAIL, das Sie sofort ohne änderung des Mailtexts beantworten müssen.') ?>
|
91 |
+
</div>
|
92 |
+
<div class="input-box">
|
93 |
+
<label style="float:none;" for="<?php echo $code ?>_callback_email"><?php echo $this->__('E-mail Address') ?><span class="required">*</span></label><br/>
|
94 |
+
<input type="text" value="" id="<?php echo $code ?>_callback_email" name="payment[callback_email]" title="<?php echo $this->__('Callback Email') ?>" class="input-text validate-email required-entry" />
|
95 |
+
</div>
|
96 |
+
</li>
|
97 |
+
<?php endif ?>
|
98 |
+
<!--}}} Reply by Email-->
|
99 |
+
<?php endif ?>
|
100 |
+
<!--}}} CallbackType-->
|
101 |
+
</ul>
|
102 |
+
</fieldset>
|
app/design/frontend/base/default/template/novalnet/payment/method/form/Paypal.phtml
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<a name="<?php echo $this->getMethodCode() ?>"></a>
|
28 |
+
<?php
|
29 |
+
$_code = $this->getMethodCode();
|
30 |
+
$helper = Mage::helper('novalnet_payment');
|
31 |
+
?>
|
32 |
+
<fieldset class="form-list">
|
33 |
+
<!--{{{ Payment Logo -->
|
34 |
+
<div>
|
35 |
+
<a href="<?php echo $helper->getNovalnetUrl() ?>" target="_new" style="text-decoration:none;">
|
36 |
+
<?php $image = "paypal-small.png";
|
37 |
+
$imgpath = $helper->getNovalnetPaymentFormLogoUrl() . $image; ?>
|
38 |
+
<img style="height:32px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
39 |
+
</a>
|
40 |
+
</div>
|
41 |
+
<!--}}} Payment Logo -->
|
42 |
+
<!--{{{ Payment Description -->
|
43 |
+
<div>
|
44 |
+
<ul id="payment_form_<?php echo $_code ?>" style="display:none;">
|
45 |
+
<li>
|
46 |
+
<?php echo $this->__('You will be redirected to Novalnet AG website when you place an order.') ?>
|
47 |
+
</li>
|
48 |
+
<?php if ($this->getUserInfo()): ?>
|
49 |
+
<li>
|
50 |
+
<?php echo $this->getUserInfo() ?>
|
51 |
+
</li>
|
52 |
+
<?php endif; ?>
|
53 |
+
<?php if ($this->getLiveMode() == 0): ?>
|
54 |
+
<li>
|
55 |
+
<div style="font-weight:bold;color:red;font-size:12px;">
|
56 |
+
<?php echo $this->__('Please Note: This transaction will run on TEST MODE and the amount will not be charged') ?>
|
57 |
+
</div>
|
58 |
+
</li>
|
59 |
+
<?php endif ?>
|
60 |
+
</ul>
|
61 |
+
</div>
|
62 |
+
<!--}}} Payment Description -->
|
63 |
+
<div class="clear"></div>
|
64 |
+
</fieldset>
|
app/design/frontend/base/default/template/novalnet/payment/method/form/Phonepayment.phtml
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$code = $this->getMethodCode();
|
29 |
+
$helper = Mage::helper('novalnet_payment');
|
30 |
+
?>
|
31 |
+
<fieldset class="form-list">
|
32 |
+
<!--{{{ Payment Logo -->
|
33 |
+
<div>
|
34 |
+
<A HREF="<?php echo $helper->getNovalnetUrl() ?>" TARGET="_new" style="text-decoration:none;">
|
35 |
+
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . "novaltel_reciever.png"; ?>
|
36 |
+
<img style="height:32px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
37 |
+
</A>
|
38 |
+
</div>
|
39 |
+
<!--}}} Payment Logo -->
|
40 |
+
<!--{{{ Payment Description-->
|
41 |
+
<div>
|
42 |
+
<ul id="payment_form_<?php echo $code ?>" style="display:none">
|
43 |
+
<li>
|
44 |
+
<?php echo $this->__('Your amount will be added in your telephone bill when you place the order') ?>
|
45 |
+
</li>
|
46 |
+
<?php if ($this->getUserInfo()): ?>
|
47 |
+
<li>
|
48 |
+
<?php echo $this->getUserInfo() ?>
|
49 |
+
</li>
|
50 |
+
<?php endif ?>
|
51 |
+
<?php if ($this->getLiveMode() == 0): ?>
|
52 |
+
<li>
|
53 |
+
<div style="font-weight:bold;color:red;font-size:12px;">
|
54 |
+
<?php echo $this->__('Please Note: This transaction will run on TEST MODE and the amount will not be charged') ?>
|
55 |
+
</div>
|
56 |
+
</li>
|
57 |
+
<?php endif ?>
|
58 |
+
</ul>
|
59 |
+
</div>
|
60 |
+
<!--}}} Payment Description-->
|
61 |
+
</fieldset>
|
app/design/frontend/base/default/template/novalnet/payment/method/form/Prepayment.phtml
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$code = $this->getMethodCode();
|
29 |
+
$helper = Mage::helper('novalnet_payment');
|
30 |
+
?>
|
31 |
+
<fieldset class="form-list">
|
32 |
+
<!-- PAYMENT LOGO -->
|
33 |
+
<div>
|
34 |
+
<a href="<?php echo $helper->getNovalnetUrl() ?>" target="_new" style="text-decoration:none;">
|
35 |
+
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . "vorauskasse.jpg"; ?>
|
36 |
+
<img style="height:30px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
37 |
+
</a>
|
38 |
+
</div>
|
39 |
+
<!-- PAYMENT LOGO -->
|
40 |
+
<ul id="payment_form_<?php echo $code ?>" style="display:none">
|
41 |
+
<!--{{{ PAYMENT DESCRIPTION -->
|
42 |
+
<li>
|
43 |
+
<?php echo $this->__('The Bank details will be emailed to you soon after the completion of checkout process') ?>
|
44 |
+
</li>
|
45 |
+
<?php if ($this->getUserInfo()): ?>
|
46 |
+
<li>
|
47 |
+
<?php echo $this->getUserInfo() ?>
|
48 |
+
</li>
|
49 |
+
<?php endif ?>
|
50 |
+
<?php if ($this->getLiveMode() == 0): ?>
|
51 |
+
<li>
|
52 |
+
<div style="font-weight:bold;color:red;font-size:12px;">
|
53 |
+
<?php echo $this->__('Please Note: This transaction will run on TEST MODE and the amount will not be charged') ?>
|
54 |
+
</div>
|
55 |
+
</li>
|
56 |
+
<?php endif ?>
|
57 |
+
<!--}}} PAYMENT DESCRIPTION -->
|
58 |
+
|
59 |
+
</ul>
|
60 |
+
</fieldset>
|
app/design/frontend/base/default/template/novalnet/payment/method/form/Safetypay.phtml
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<a name="<?php echo $this->getMethodCode() ?>"></a>
|
28 |
+
<?php
|
29 |
+
$_code = $this->getMethodCode();
|
30 |
+
$helper = Mage::helper('novalnet_payment');
|
31 |
+
?>
|
32 |
+
<fieldset class="form-list">
|
33 |
+
<!--{{{ Payment Logo -->
|
34 |
+
<div>
|
35 |
+
<a href="<?php echo $helper->getNovalnetUrl() ?>" target="_new" style="text-decoration:none;">
|
36 |
+
<?php $image = "safetypay_logo.jpg"; ?>
|
37 |
+
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . $image; ?>
|
38 |
+
<img style="height:32px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
39 |
+
</a>
|
40 |
+
</div>
|
41 |
+
<!--}}} Payment Logo -->
|
42 |
+
<!--{{{ Payment Description -->
|
43 |
+
<div>
|
44 |
+
<ul id="payment_form_<?php echo $_code ?>" style="display:none;">
|
45 |
+
<li>
|
46 |
+
<?php echo $this->__('You will be redirected to Novalnet AG website when you place an order.') ?>
|
47 |
+
</li>
|
48 |
+
<?php if ($this->getUserInfo()): ?>
|
49 |
+
<li>
|
50 |
+
<?php echo $this->getUserInfo() ?>
|
51 |
+
</li>
|
52 |
+
<?php endif; ?>
|
53 |
+
<?php if ($this->getLiveMode() == 0): ?>
|
54 |
+
<li>
|
55 |
+
<div style="font-weight:bold;color:red;font-size:12px;">
|
56 |
+
<?php echo $this->__('Please Note: This transaction will run on TEST MODE and the amount will not be charged') ?>
|
57 |
+
</div>
|
58 |
+
</li>
|
59 |
+
<?php endif ?>
|
60 |
+
</ul>
|
61 |
+
</div>
|
62 |
+
<!--}}} Payment Description -->
|
63 |
+
<div class="clear"></div>
|
64 |
+
</fieldset>
|
app/design/frontend/base/default/template/novalnet/payment/method/form/Sepa.phtml
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
include(MAGENTO_ROOT.'/novalnet_css_link.php');
|
27 |
+
|
28 |
+
$code = $this->getMethodCode();
|
29 |
+
$helper = Mage::helper('novalnet_payment');
|
30 |
+
|
31 |
+
?>
|
32 |
+
<fieldset class="form-list" id="fieldset_<?php echo $code ?>">
|
33 |
+
<!--{{{ Payment Logo -->
|
34 |
+
<div>
|
35 |
+
<a HREF="<?php echo $helper->getNovalnetUrl();?>" TARGET="_new" style="text-decoration:none;">
|
36 |
+
<?php $image = "sepa_logo.jpg";
|
37 |
+
$imgpath = $helper->getNovalnetPaymentFormLogoUrl().$image; ?>
|
38 |
+
<img style="height:20px;" src="<?php echo $imgpath; ?>" alt="<?php echo $this->getMethod()->getConfigData('title'); ?>" title="<?php echo $this->getMethod()->getConfigData('title'); ?>" />
|
39 |
+
</a>
|
40 |
+
</div>
|
41 |
+
<!--}}} Payment Logo -->
|
42 |
+
<!--{{{ Novalnet SEPA Form -->
|
43 |
+
<div id="payment_form_<?php echo $code ?>" style="display:none;">
|
44 |
+
<?php if (!$this->getMethod()->validateNovalnetIframeParams()): ?>
|
45 |
+
<div style="font-weight:bold;color:red;font-size:12px;">
|
46 |
+
<?php echo $this->__('Basic parameter not valid') . '!' ?>
|
47 |
+
</div>
|
48 |
+
<?php else: ?>
|
49 |
+
<div id="nn_loading">
|
50 |
+
<img src="<?php echo $helper->getNovalnetPaymentFormLogoUrl() ?>novalnet-loading-icon.gif" alt="Loading" />
|
51 |
+
</div>
|
52 |
+
<iframe frameborder="0" scrolling="no" name="ifm_payment_form_<?php echo $code ?>" id="ifm_payment_form_<?php echo $code ?>"
|
53 |
+
style="width: 603px; height: 480px; border: none; display: block; margin-top: 5px;" onload="document.getElementById('nn_loading').style.display = 'none'" src="<?php echo $helper->getUrl('novalnet_payment/NovalnetSepa') ?>" >
|
54 |
+
</iframe>
|
55 |
+
<?php endif; ?>
|
56 |
+
</div>
|
57 |
+
<input type="hidden" id="original_sepa_customstyle_css" value="<?php echo NOVALNET_SEPA_CUSTOM_CSS; ?>" />
|
58 |
+
<input type="hidden" id="original_sepa_customstyle_cssval" value="<?php echo NOVALNET_SEPA_CUSTOM_CSS_STYLE; ?>" />
|
59 |
+
<input type="hidden" name="novalnet_sepa_owner" id="novalnet_sepa_owner" value="" />
|
60 |
+
<input type="hidden" name="novalnet_sepa_pan_hash" id="novalnet_sepa_pan_hash" value="" />
|
61 |
+
<input type="hidden" name="novalnet_sepa_unique_id" id="novalnet_sepa_unique_id" value="" />
|
62 |
+
<input type="hidden" name="novalnet_sepa_mandate_ref" id="novalnet_sepa_mandate_ref" value="" />
|
63 |
+
<input type="hidden" name="novalnet_sepa_mandate_date" id="novalnet_sepa_mandate_date" value="" />
|
64 |
+
<input type="hidden" name="novalnet_sepa_iban_confirmed" id="novalnet_sepa_iban_confirmed" value="" />
|
65 |
+
<input type="hidden" name="novalnet_sepa_field_validator" id="novalnet_sepa_field_validator" value="" />
|
66 |
+
<!--}}} Novalnet SEPA Form -->
|
67 |
+
</fieldset>
|
app/design/frontend/base/default/template/novalnet/payment/method/form/Sepaform.phtml
ADDED
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_code = Novalnet_Payment_Model_Config::NN_SEPA;
|
29 |
+
?>
|
30 |
+
<script type="text/javascript">
|
31 |
+
function updateHiddenElements(elements) {
|
32 |
+
|
33 |
+
var sepa_owner=0;var sepa_accountno=0;var sepa_bankcode=0;var sepa_iban=0;var sepa_swiftbic=0; var sepa_hash=0; var sepa_country=0;
|
34 |
+
if(document.getElementById("novalnet_sepa_owner").value!= '')sepa_owner=1;
|
35 |
+
if(document.getElementById("novalnet_sepa_accountno").value!= '')sepa_accountno=1;
|
36 |
+
if(document.getElementById("novalnet_sepa_bankcode").value!= '')sepa_bankcode=1;
|
37 |
+
if(document.getElementById("novalnet_sepa_iban").value!= '')sepa_iban=1;
|
38 |
+
if(document.getElementById("novalnet_sepa_swiftbic").value!= '')sepa_swiftbic=1;
|
39 |
+
if(document.getElementById("nnsepa_hash").value!= '')sepa_hash=1;
|
40 |
+
if(document.getElementById("novalnet_sepa_country").value!= '') {
|
41 |
+
var country = document.getElementById("novalnet_sepa_country");
|
42 |
+
sepa_country = 1+'-'+country.options[country.selectedIndex].value;
|
43 |
+
}
|
44 |
+
|
45 |
+
var novalnet_sepa_field_validator = sepa_owner+','+sepa_accountno+','+sepa_bankcode+','+sepa_iban+','+sepa_swiftbic+','+sepa_hash+','+sepa_country;
|
46 |
+
|
47 |
+
for (var i=0; i<elements.length; i++) {
|
48 |
+
switch (elements[i].name) {
|
49 |
+
case 'novalnet_sepa_field_validator':
|
50 |
+
elements[i].value = novalnet_sepa_field_validator;
|
51 |
+
break;
|
52 |
+
case 'novalnet_sepa_owner':
|
53 |
+
elements[i].value = document.getElementById('novalnet_sepa_owner').value;
|
54 |
+
break;
|
55 |
+
case 'novalnet_sepa_pan_hash':
|
56 |
+
elements[i].value = document.getElementById('nnsepa_hash').value;
|
57 |
+
break;
|
58 |
+
case 'novalnet_sepa_unique_id':
|
59 |
+
elements[i].value = document.getElementById('nnsepa_unique_id').value;
|
60 |
+
break;
|
61 |
+
case 'novalnet_sepa_mandate_ref':
|
62 |
+
elements[i].value = document.getElementById('nnsepa_mandate_ref').value;
|
63 |
+
break;
|
64 |
+
case 'novalnet_sepa_mandate_date':
|
65 |
+
elements[i].value = document.getElementById('nnsepa_mandate_date').value;
|
66 |
+
break;
|
67 |
+
case 'novalnet_sepa_iban_confirmed':
|
68 |
+
elements[i].value = document.getElementById('nnsepa_iban_confirmed').value;
|
69 |
+
break;
|
70 |
+
}
|
71 |
+
}
|
72 |
+
return true;
|
73 |
+
}
|
74 |
+
</script>
|
75 |
+
<!--{{{ Payment Description -->
|
76 |
+
<ul>
|
77 |
+
<li style="margin: 0 0 8px;">
|
78 |
+
<?php if (Mage::helper('novalnet_payment')->getModel('novalnetSepa')->_getConfigData('sepatypes') == 'DD_SEPA') {
|
79 |
+
echo $this->__('Your account will be debited upon delivery of goods.');
|
80 |
+
} else {
|
81 |
+
echo $this->__('Please note that your account will be debited after receiving the signed mandate from you.');
|
82 |
+
}
|
83 |
+
?>
|
84 |
+
</li>
|
85 |
+
<li style="margin: 0 0 8px;">
|
86 |
+
<?php echo Mage::helper('novalnet_payment')->getModel('novalnetSepa')->_getConfigData('booking_reference') ?>
|
87 |
+
</li>
|
88 |
+
<?php if (Mage::helper('novalnet_payment')->getModel('novalnetSepa')->_getConfigData('live_mode', true) == 0): ?>
|
89 |
+
<li style="margin: 0 0 8px;">
|
90 |
+
<div style="font-weight:bold;color:red;font-size:12px;">
|
91 |
+
<?php echo $this->__('Please Note: This transaction will run on TEST MODE and the amount will not be charged') ?>
|
92 |
+
</div>
|
93 |
+
</li>
|
94 |
+
<?php endif ?>
|
95 |
+
</ul>
|
96 |
+
<!--}}} Payment Description -->
|
97 |
+
|
98 |
+
<!--{{{ Novalnet Iframe -->
|
99 |
+
<?php echo Mage::helper('novalnet_payment')->getModel('novalnetSepa')->getNovalnetIframe() ?>
|
100 |
+
<!--}}} Novalnet Iframe -->
|
app/design/frontend/base/default/template/novalnet/payment/method/form/Sofortueberweisung.phtml
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<a name="<?php echo $this->getMethodCode() ?>"></a>
|
28 |
+
<?php
|
29 |
+
$_code = $this->getMethodCode();
|
30 |
+
$helper = Mage::helper('novalnet_payment');
|
31 |
+
?>
|
32 |
+
<fieldset class="form-list">
|
33 |
+
<!--{{{ Payment Logo -->
|
34 |
+
<div>
|
35 |
+
<a href="<?php echo $helper->getNovalnetUrl() ?>" target="_new" style="text-decoration:none;">
|
36 |
+
<?php $image = "sofort_Logo.png";
|
37 |
+
$imgpath = $helper->getNovalnetPaymentFormLogoUrl() . $image; ?>
|
38 |
+
<img style="height:32px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
39 |
+
</a>
|
40 |
+
</div>
|
41 |
+
<!--}}} Payment Logo -->
|
42 |
+
<!--{{{ Payment Description -->
|
43 |
+
<div>
|
44 |
+
<ul id="payment_form_<?php echo $_code ?>" style="display:none;">
|
45 |
+
<li>
|
46 |
+
<?php echo $this->__('You will be redirected to Novalnet AG website when you place an order.') ?>
|
47 |
+
</li>
|
48 |
+
<?php if ($this->getUserInfo()): ?>
|
49 |
+
<li>
|
50 |
+
<?php echo $this->getUserInfo() ?>
|
51 |
+
</li>
|
52 |
+
<?php endif; ?>
|
53 |
+
<?php if ($this->getLiveMode() == 0): ?>
|
54 |
+
<li>
|
55 |
+
<div style="font-weight:bold;color:red;font-size:12px;">
|
56 |
+
<?php echo $this->__('Please Note: This transaction will run on TEST MODE and the amount will not be charged') ?>
|
57 |
+
</div>
|
58 |
+
</li>
|
59 |
+
<?php endif ?>
|
60 |
+
</ul>
|
61 |
+
</div>
|
62 |
+
<!--}}} Payment Description -->
|
63 |
+
<div class="clear"></div>
|
64 |
+
</fieldset>
|
app/design/frontend/base/default/template/novalnet/payment/method/form/blank.phtml
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
28 |
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
|
29 |
+
<head>
|
30 |
+
<?php echo $this->getChildHtml('head') ?>
|
31 |
+
<style>
|
32 |
+
body {background-color:transparent; background-image:none; text-align:left}
|
33 |
+
</style>
|
34 |
+
</head>
|
35 |
+
<body>
|
36 |
+
<?php echo $this->getChildHtml('content') ?>
|
37 |
+
</body>
|
38 |
+
</html>
|
app/design/frontend/base/default/template/novalnet/payment/method/info/Cc.phtml
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Novalnet
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_info = $this->getInfo();
|
29 |
+
if ($_info): ?>
|
30 |
+
<?php if ($this->getAdditionalData('NnTestOrder'))
|
31 |
+
echo '<div style="color:white;font-weight:bold;background:red;padding:5px 10px;text-align:center;font-size:15px">!',$this->__('Testorder'),'!</div>' ?>
|
32 |
+
<?php echo $this->htmlEscape($this->getPaymentMethod()) ?><br />
|
33 |
+
<?php if ($_info->getLastTransId()!="") echo $this->__('TID: %s', $this->htmlEscape($_info->getLastTransId())).'<br />' ?>
|
34 |
+
<?php if ($this->getAdditionalData('NnComments')) echo $this->getAdditionalData('NnComments') ?>
|
35 |
+
<?php else: ?>
|
36 |
+
<?php echo $this->__('Error in getting payment method') ?>
|
37 |
+
<?php endif; ?>
|
app/design/frontend/base/default/template/novalnet/payment/method/info/Ccsecure.phtml
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Novalnet
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_info = $this->getInfo();
|
29 |
+
if ($_info): ?>
|
30 |
+
<?php if ($this->getAdditionalData('NnTestOrder'))
|
31 |
+
echo '<div style="color:white;font-weight:bold;background:red;padding:5px 10px;text-align:center;font-size:15px">!', $this->__('Testorder'), '!</div>'
|
32 |
+
?>
|
33 |
+
<?php echo $this->htmlEscape($this->getPaymentMethod()) ?><br />
|
34 |
+
<?php if ($_info->getLastTransId() != "") echo $this->__('TID: %s', $this->htmlEscape($_info->getLastTransId())) . '<br />' ?>
|
35 |
+
<?php if ($this->getAdditionalData('NnComments')) { ?>
|
36 |
+
<?php echo $this->getAdditionalData('NnComments') ?><br />
|
37 |
+
<?php } ?>
|
38 |
+
<?php else: ?>
|
39 |
+
<?php echo $this->__('Error in getting payment method') ?>
|
40 |
+
<?php endif; ?>
|
app/design/frontend/base/default/template/novalnet/payment/method/info/Elvaustria.phtml
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Novalnet
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_info = $this->getInfo();
|
29 |
+
if ($_info): ?>
|
30 |
+
<?php if ($this->getAdditionalData('NnTestOrder'))
|
31 |
+
echo '<div style="color:white;font-weight:bold;background:red;padding:5px 10px;text-align:center;font-size:15px">!', $this->__('Testorder'), '!</div>'
|
32 |
+
?>
|
33 |
+
<?php echo $this->htmlEscape($this->getPaymentMethod()) ?><br />
|
34 |
+
<?php if ($_info->getLastTransId() != "") echo $this->__('TID: %s', $this->htmlEscape($_info->getLastTransId())) . '<br />' ?>
|
35 |
+
<!--<?php echo $this->__('Account Holder: %s', $this->htmlEscape($this->getAdditionalData('NnAccountHolder'))) ?><br />
|
36 |
+
<?php echo $this->__('Account Number: %s', $this->htmlEscape($this->getAdditionalData('NnAccountNumber'))) ?><br />
|
37 |
+
<?php echo $this->__('Bank Sorting Code: %s', $this->htmlEscape($this->getAdditionalData('NnBankSortingCode'))) ?><br />-->
|
38 |
+
<?php else: ?>
|
39 |
+
<?php echo $this->__('Error in getting payment method') ?>
|
40 |
+
<?php endif; ?>
|
app/design/frontend/base/default/template/novalnet/payment/method/info/Elvgerman.phtml
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Novalnet
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_info = $this->getInfo();
|
29 |
+
if ($_info): ?>
|
30 |
+
<?php if ($this->getAdditionalData('NnTestOrder'))
|
31 |
+
echo '<div style="color:white;font-weight:bold;background:red;padding:5px 10px;text-align:center;font-size:15px">!',$this->__('Testorder'),'!</div>' ?>
|
32 |
+
<?php echo $this->htmlEscape($this->getPaymentMethod()) ?><br />
|
33 |
+
<?php if ($_info->getLastTransId()!="") echo $this->__('TID: %s', $this->htmlEscape($_info->getLastTransId())).'<br />' ?>
|
34 |
+
<!--<?php echo $this->__('Account Holder: %s', $this->htmlEscape($this->getAdditionalData('NnAccountHolder'))) ?><br />
|
35 |
+
<?php echo $this->__('Account Number: %s', $this->htmlEscape($this->getAdditionalData('NnAccountNumber'))) ?><br />
|
36 |
+
<?php echo $this->__('Bank Sorting Code: %s', $this->htmlEscape($this->getAdditionalData('NnBankSortingCode'))) ?><br />-->
|
37 |
+
<?php else: ?>
|
38 |
+
<?php echo $this->__('Error in getting payment method') ?>
|
39 |
+
<?php endif; ?>
|
app/design/frontend/base/default/template/novalnet/payment/method/info/Ideal.phtml
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Novalnet
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_info = $this->getInfo();
|
29 |
+
if ($_info):
|
30 |
+
?>
|
31 |
+
<?php if ($this->getAdditionalData('NnTestOrder'))
|
32 |
+
echo '<div style="color:white;font-weight:bold;background:red;padding:5px 10px;text-align:center;font-size:15px">!', $this->__('Testorder'), '!</div>'
|
33 |
+
?>
|
34 |
+
<?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?><br />
|
35 |
+
<?php if ($_info->getLastTransId() != "") echo $this->__('TID: %s', $this->htmlEscape($_info->getLastTransId())) . '<br />' ?>
|
36 |
+
<?php if ($this->getAdditionalData('NnComments')) { ?>
|
37 |
+
<?php echo $this->getAdditionalData('NnComments') ?><br />
|
38 |
+
<?php } ?>
|
39 |
+
<?php else: ?>
|
40 |
+
<?php echo $this->__('Error in getting payment method'); ?>
|
41 |
+
<?php endif; ?>
|
app/design/frontend/base/default/template/novalnet/payment/method/info/Invoice.phtml
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Novalnet
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_info = $this->getInfo();
|
29 |
+
if ($_info):
|
30 |
+
?>
|
31 |
+
<?php if ($this->getAdditionalData('NnTestOrder'))
|
32 |
+
echo '<div style="color:white;font-weight:bold;background:red;padding:5px 10px;text-align:center;font-size:15px">!', $this->__('Testorder'), '!</div>'
|
33 |
+
?>
|
34 |
+
<?php echo $this->htmlEscape($this->getPaymentMethod()) ?><br />
|
35 |
+
<?php if ($_info->getLastTransId() != "") echo $this->__('TID: %s', $this->htmlEscape($_info->getLastTransId())) ?>
|
36 |
+
<?php if (strlen($this->getAdditionalData('NnComments'))) {
|
37 |
+
echo '<br>', nl2br($this->getAdditionalData('NnComments'));
|
38 |
+
} ?>
|
39 |
+
<?php if (strlen($this->getAdditionalData('NnNote'))) {
|
40 |
+
echo '<br>', nl2br($this->getAdditionalData('NnNote'));
|
41 |
+
} ?>
|
42 |
+
<?php if (strlen($this->getAdditionalData('NnNoteAmount'))) {
|
43 |
+
echo nl2br($this->getAdditionalData('NnNoteAmount'));
|
44 |
+
} ?>
|
45 |
+
<?php if (strlen($this->getAdditionalData('NnNoteTID'))) {
|
46 |
+
echo nl2br($this->getAdditionalData('NnNoteTID'));
|
47 |
+
} ?>
|
48 |
+
<?php if (strlen($this->getAdditionalData('NnNoteTransfer'))) {
|
49 |
+
echo nl2br($this->getAdditionalData('NnNoteTransfer'));
|
50 |
+
} ?>
|
51 |
+
<?php if (strlen($this->getAdditionalData('NnScript'))) {
|
52 |
+
echo '<br>', nl2br($this->getAdditionalData('NnScript'));
|
53 |
+
} ?>
|
54 |
+
<?php else: ?>
|
55 |
+
<?php echo $this->__('Error in getting payment method') ?>
|
56 |
+
<?php endif; ?>
|
app/design/frontend/base/default/template/novalnet/payment/method/info/Paypal.phtml
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Novalnet
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
$_info = $this->getInfo();
|
28 |
+
if ($_info):
|
29 |
+
?>
|
30 |
+
<?php if ($this->getAdditionalData('NnTestOrder'))
|
31 |
+
echo '<div style="color:white;font-weight:bold;background:red;padding:5px 10px;text-align:center;font-size:15px">!', $this->__('Testorder'), '!</div>'
|
32 |
+
?>
|
33 |
+
<?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?><br />
|
34 |
+
<?php if ($_info->getLastTransId() != "") echo $this->__('TID: %s', $this->htmlEscape($_info->getLastTransId())) . '<br />' ?>
|
35 |
+
<?php if ($this->getAdditionalData('NnComments')) { ?>
|
36 |
+
<?php echo $this->getAdditionalData('NnComments') ?><br />
|
37 |
+
<?php } ?>
|
38 |
+
<?php else: ?>
|
39 |
+
<?php echo $this->__('Error in getting payment method'); ?>
|
40 |
+
<?php endif; ?>
|
app/design/frontend/base/default/template/novalnet/payment/method/info/Phonepayment.phtml
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Novalnet
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_info = $this->getInfo();
|
29 |
+
if ($_info):
|
30 |
+
?>
|
31 |
+
<?php if ($this->getAdditionalData('NnTestOrder'))
|
32 |
+
echo '<div style="color:white;font-weight:bold;background:red;padding:5px 10px;text-align:center;font-size:15px">!', $this->__('Testorder'), '!</div>'
|
33 |
+
?>
|
34 |
+
<?php echo $this->htmlEscape($this->getPaymentMethod()) ?><br />
|
35 |
+
<?php if ($_info->getLastTransId() != "") echo $this->__('TID: %s', $this->htmlEscape($_info->getLastTransId())) . '<br />' ?>
|
36 |
+
<?php if ($this->getAdditionalData('NnComments')) { ?>
|
37 |
+
<?php echo $this->getAdditionalData('NnComments') ?><br />
|
38 |
+
<?php } ?>
|
39 |
+
<?php else: ?>
|
40 |
+
<?php echo $this->__('Error in getting payment method') ?>
|
41 |
+
<?php endif; ?>
|
app/design/frontend/base/default/template/novalnet/payment/method/info/Prepayment.phtml
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Novalnet
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_info = $this->getInfo();
|
29 |
+
if ($_info): ?>
|
30 |
+
<?php if ($this->getAdditionalData('NnTestOrder'))
|
31 |
+
echo '<div style="color:white;font-weight:bold;background:red;padding:5px 10px;text-align:center;font-size:15px">!', $this->__('Testorder'), '!</div>'
|
32 |
+
?>
|
33 |
+
<?php echo $this->htmlEscape($this->getPaymentMethod()) ?><br />
|
34 |
+
<?php if ($_info->getLastTransId() != "") echo $this->__('TID: %s', $this->htmlEscape($_info->getLastTransId())) ?>
|
35 |
+
<?php if (strlen($this->getAdditionalData('NnComments'))) {
|
36 |
+
echo '<br>', nl2br($this->getAdditionalData('NnComments'));
|
37 |
+
} ?>
|
38 |
+
<?php if (strlen($this->getAdditionalData('NnNote'))) {
|
39 |
+
echo '<br>', nl2br($this->getAdditionalData('NnNote'));
|
40 |
+
} ?>
|
41 |
+
<?php if (strlen($this->getAdditionalData('NnNoteAmount'))) {
|
42 |
+
echo nl2br($this->getAdditionalData('NnNoteAmount'));
|
43 |
+
} ?>
|
44 |
+
<?php if (strlen($this->getAdditionalData('NnNoteTID'))) {
|
45 |
+
echo nl2br($this->getAdditionalData('NnNoteTID'));
|
46 |
+
} ?>
|
47 |
+
<?php if (strlen($this->getAdditionalData('NnNoteTransfer'))) {
|
48 |
+
echo nl2br($this->getAdditionalData('NnNoteTransfer'));
|
49 |
+
} ?>
|
50 |
+
<?php if (strlen($this->getAdditionalData('NnScript'))) {
|
51 |
+
echo '<br>', nl2br($this->getAdditionalData('NnScript'));
|
52 |
+
} ?>
|
53 |
+
<?php else: ?>
|
54 |
+
<?php echo $this->__('Error in getting payment method') ?>
|
55 |
+
<?php endif; ?>
|
app/design/frontend/base/default/template/novalnet/payment/method/info/Safetypay.phtml
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Novalnet
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
$_info = $this->getInfo();
|
28 |
+
if ($_info):
|
29 |
+
?>
|
30 |
+
<?php if ($this->getAdditionalData('NnTestOrder'))
|
31 |
+
echo '<div style="color:white;font-weight:bold;background:red;padding:5px 10px;text-align:center;font-size:15px">!', $this->__('Testorder'), '!</div>'
|
32 |
+
?>
|
33 |
+
<?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?><br />
|
34 |
+
<?php if ($_info->getLastTransId() != "") echo $this->__('TID: %s', $this->htmlEscape($_info->getLastTransId())) . '<br />' ?>
|
35 |
+
<?php if ($this->getAdditionalData('NnComments')) { ?>
|
36 |
+
<?php echo $this->getAdditionalData('NnComments') ?><br />
|
37 |
+
<?php } ?>
|
38 |
+
<?php else: ?>
|
39 |
+
<?php echo $this->__('Error in getting payment method'); ?>
|
40 |
+
<?php endif; ?>
|
app/design/frontend/base/default/template/novalnet/payment/method/info/Sepa.phtml
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Novalnet
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_info = $this->getInfo();
|
29 |
+
if ($_info): ?>
|
30 |
+
<?php if ($this->getAdditionalData('NnTestOrder'))
|
31 |
+
echo '<div style="color:white;font-weight:bold;background:red;padding:5px 10px;text-align:center;font-size:15px">!',$this->__('Testorder'),'!</div>' ?>
|
32 |
+
<?php echo $this->htmlEscape($this->getPaymentMethod()) ?><br />
|
33 |
+
<?php if ($_info->getLastTransId()!="") echo $this->__('TID: %s', $this->htmlEscape($_info->getLastTransId())).'<br />' ?>
|
34 |
+
<?php if ($this->getAdditionalData('NnComments')) echo $this->getAdditionalData('NnComments') ?>
|
35 |
+
<?php if ($this->getAdditionalData('NnSepaDueDate')) echo $this->__('Mandate Signature Date : '). $this->getAdditionalData('NnSepaDueDate') ?><br />
|
36 |
+
<?php if ($_info->getLastTransId()!="" && $this->getAdditionalData('NnSepaMandateUrl')) echo $this->__('Download your mandate').'<a href="'.$this->getAdditionalData('NnSepaMandateUrl').'">'.$this->__('Click here').'</a>'; ?>
|
37 |
+
<?php else: ?>
|
38 |
+
<?php echo $this->__('Error in getting payment method') ?>
|
39 |
+
<?php endif; ?>
|
app/design/frontend/base/default/template/novalnet/payment/method/info/Sofortueberweisung.phtml
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Novalnet
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
$_info = $this->getInfo();
|
28 |
+
if ($_info):
|
29 |
+
?>
|
30 |
+
<?php if ($this->getAdditionalData('NnTestOrder'))
|
31 |
+
echo '<div style="color:white;font-weight:bold;background:red;padding:5px 10px;text-align:center;font-size:15px">!', $this->__('Testorder'), '!</div>'
|
32 |
+
?>
|
33 |
+
<?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?><br />
|
34 |
+
<?php if ($_info->getLastTransId() != "") echo $this->__('TID: %s', $this->htmlEscape($_info->getLastTransId())) . '<br />' ?>
|
35 |
+
<?php if ($this->getAdditionalData('NnComments')) { ?>
|
36 |
+
<?php echo $this->getAdditionalData('NnComments') ?><br />
|
37 |
+
<?php } ?>
|
38 |
+
<?php else: ?>
|
39 |
+
<?php echo $this->__('Error in getting payment method'); ?>
|
40 |
+
<?php endif; ?>
|
app/design/frontend/default/default/layout/novalnet.xml
CHANGED
@@ -5,6 +5,9 @@
|
|
5 |
<action method="addJs">
|
6 |
<script>novalnet/novalnetcc.js</script>
|
7 |
</action>
|
|
|
|
|
|
|
8 |
</reference>
|
9 |
</checkout_onepage_index>
|
10 |
</layout>
|
5 |
<action method="addJs">
|
6 |
<script>novalnet/novalnetcc.js</script>
|
7 |
</action>
|
8 |
+
<action method="addJs">
|
9 |
+
<script>novalnet/novalnetsepa.js</script>
|
10 |
+
</action>
|
11 |
</reference>
|
12 |
</checkout_onepage_index>
|
13 |
</layout>
|
app/design/frontend/default/default/template/novalnet/payment/method/form/Cc.phtml
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
<?php
|
|
|
2 |
/**
|
3 |
* Magento
|
4 |
*
|
@@ -23,32 +24,39 @@
|
|
23 |
* @copyright Novalnet AG
|
24 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
-
|
27 |
-
|
|
|
|
|
|
|
|
|
28 |
$code = $this->getMethodCode();
|
29 |
$helper = Mage::helper('novalnet_payment');
|
|
|
|
|
30 |
?>
|
31 |
-
<fieldset class="form-list" id="fieldset_<?php echo $code ?>">
|
32 |
<!--{{{ Payment Logo -->
|
33 |
<div>
|
34 |
-
<a href="<?php echo $helper->getNovalnetUrl() ?>" target="_new" style="text-decoration:none;">
|
35 |
-
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . "
|
36 |
<img style="height:20px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->_getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
37 |
</a>
|
|
|
38 |
</div>
|
39 |
<!--}}} Payment Logo -->
|
40 |
<!--{{{ Novalnet Cc Form -->
|
41 |
<div id="payment_form_<?php echo $code ?>" style="display:none;">
|
42 |
-
<?php if (!$this->getMethod()->
|
43 |
<div style="font-weight:bold;color:red;font-size:12px;">
|
44 |
<?php echo $this->__('Basic parameter not valid') . '!' ?>
|
45 |
</div>
|
46 |
<?php else: ?>
|
47 |
-
<div id="
|
48 |
-
<img src="<?php echo $helper->getNovalnetPaymentFormLogoUrl()
|
49 |
</div>
|
50 |
-
<iframe frameborder="0" name="ifm_payment_form_<?php echo $code ?>" id="ifm_payment_form_<?php echo $code ?>"
|
51 |
-
style="width: 603px; height: 320px; border: none; display: block; margin-top: 5px;" onload="document.getElementById('
|
52 |
</iframe>
|
53 |
<ul>
|
54 |
<!--{{{ CallbackType-->
|
@@ -64,7 +72,7 @@ $helper = Mage::helper('novalnet_payment');
|
|
64 |
<?php echo $this->__('Ihre Telefon- / Mobil- Nummer'); ?>
|
65 |
<?php endif; ?>
|
66 |
<span class="required">*</span></label><br/>
|
67 |
-
<input type="text" autocomplete="off" id="<?php echo $code ?>_callback_tel" name="payment[callback_tel]" title="<?php echo $this->__('Callback') ?>" class="required-entry input-text" />
|
68 |
</div>
|
69 |
</li>
|
70 |
<li>
|
@@ -86,8 +94,8 @@ $helper = Mage::helper('novalnet_payment');
|
|
86 |
<?php echo $this->__('Hinweis: Nach einem Klick auf "Fortsetzen" erhalten Sie in Kürze ein EMAIL, das Sie sofort ohne änderung des Mailtexts beantworten müssen.') ?>
|
87 |
</div>
|
88 |
<div class="input-box">
|
89 |
-
<label style="float:none;" for="<?php echo $code ?>_callback_email"><?php echo $this->__('
|
90 |
-
<input type="text" autocomplete="off" id="<?php echo $code ?>_callback_email" name="payment[callback_email]" title="<?php echo $this->__('Callback Email') ?>" class="input-text validate-email required-entry" />
|
91 |
</div>
|
92 |
</li>
|
93 |
<?php endif ?>
|
@@ -100,6 +108,8 @@ $helper = Mage::helper('novalnet_payment');
|
|
100 |
|
101 |
<input type="hidden" id="original_vendor_id" value="<?php echo trim($this->getMethod()->_getConfigData('merchant_id', true)) ?>" />
|
102 |
<input type="hidden" id="original_vendor_authcode" value="<?php echo trim($this->getMethod()->_getConfigData('auth_code', true)) ?>" />
|
|
|
|
|
103 |
|
104 |
<input type="hidden" name="novalnet_cc_owner" id="novalnet_cc_owner" value="" />
|
105 |
<input type="hidden" name="novalnet_cc_type" id="novalnet_cc_type" value="" />
|
@@ -108,5 +118,6 @@ $helper = Mage::helper('novalnet_payment');
|
|
108 |
<input type="hidden" name="novalnet_cc_cid" id="novalnet_cc_cid" value="" />
|
109 |
<input type="hidden" name="novalnet_cc_pan_hash" id="novalnet_cc_pan_hash" value="" />
|
110 |
<input type="hidden" name="novalnet_cc_unique_id" id="novalnet_cc_unique_id" value="" />
|
|
|
111 |
|
112 |
</fieldset>
|
1 |
<?php
|
2 |
+
|
3 |
/**
|
4 |
* Magento
|
5 |
*
|
24 |
* @copyright Novalnet AG
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
+
/*
|
28 |
+
* For Custom Style
|
29 |
+
*/
|
30 |
+
|
31 |
+
include(MAGENTO_ROOT.'/novalnet_css_link.php');
|
32 |
+
|
33 |
$code = $this->getMethodCode();
|
34 |
$helper = Mage::helper('novalnet_payment');
|
35 |
+
$assignDatahelper = Mage::helper('novalnet_payment/AssignData');
|
36 |
+
$ccError = $this->getMethod()->getConfigData('cc_error');
|
37 |
?>
|
38 |
+
<fieldset class="form-list" id="fieldset_<?php echo $code ?>">
|
39 |
<!--{{{ Payment Logo -->
|
40 |
<div>
|
41 |
+
<a href="<?php echo $helper->getNovalnetUrl() ?>" target="_new" style="text-decoration:none;">
|
42 |
+
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . "creditcard_small.jpg" ?>
|
43 |
<img style="height:20px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->_getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
44 |
</a>
|
45 |
+
<!-- Amex Logo -->
|
46 |
</div>
|
47 |
<!--}}} Payment Logo -->
|
48 |
<!--{{{ Novalnet Cc Form -->
|
49 |
<div id="payment_form_<?php echo $code ?>" style="display:none;">
|
50 |
+
<?php if (!$this->getMethod()->validateNovalnetIframeParams()): ?>
|
51 |
<div style="font-weight:bold;color:red;font-size:12px;">
|
52 |
<?php echo $this->__('Basic parameter not valid') . '!' ?>
|
53 |
</div>
|
54 |
<?php else: ?>
|
55 |
+
<div id="nncc_loading">
|
56 |
+
<img src="<?php echo $helper->getNovalnetPaymentFormLogoUrl() ?>novalnet-loading-icon.gif" alt="Loading" />
|
57 |
</div>
|
58 |
+
<iframe frameborder="0" name="ifm_payment_form_<?php echo $code ?>" id="ifm_payment_form_<?php echo $code ?>"
|
59 |
+
style="width: 603px; height: 320px; border: none; display: block; margin-top: 5px;" onload="document.getElementById('nncc_loading').style.display = 'none'" src="<?php echo $helper->getUrl('novalnet_payment/NovalnetCc') ?>" >
|
60 |
</iframe>
|
61 |
<ul>
|
62 |
<!--{{{ CallbackType-->
|
72 |
<?php echo $this->__('Ihre Telefon- / Mobil- Nummer'); ?>
|
73 |
<?php endif; ?>
|
74 |
<span class="required">*</span></label><br/>
|
75 |
+
<input type="text" autocomplete="off" id="<?php echo $code ?>_callback_tel" name="payment[callback_tel]" title="<?php echo $this->__('Callback') ?>" class="required-entry input-text" value="<?php echo $ccError ? $assignDatahelper->_getCheckout()->getNnCallbackTelNovalnetCc() : '';?>"/>
|
76 |
</div>
|
77 |
</li>
|
78 |
<li>
|
94 |
<?php echo $this->__('Hinweis: Nach einem Klick auf "Fortsetzen" erhalten Sie in Kürze ein EMAIL, das Sie sofort ohne änderung des Mailtexts beantworten müssen.') ?>
|
95 |
</div>
|
96 |
<div class="input-box">
|
97 |
+
<label style="float:none;" for="<?php echo $code ?>_callback_email"><?php echo $this->__('E-mail Address') ?><span class="required">*</span></label><br/>
|
98 |
+
<input type="text" autocomplete="off" id="<?php echo $code ?>_callback_email" name="payment[callback_email]" title="<?php echo $this->__('Callback Email') ?>" class="input-text validate-email required-entry" value="<?php echo $ccError ? $assignDatahelper->_getCheckout()->getNnCallbackEmailNovalnetCc() : '';?>"/>
|
99 |
</div>
|
100 |
</li>
|
101 |
<?php endif ?>
|
108 |
|
109 |
<input type="hidden" id="original_vendor_id" value="<?php echo trim($this->getMethod()->_getConfigData('merchant_id', true)) ?>" />
|
110 |
<input type="hidden" id="original_vendor_authcode" value="<?php echo trim($this->getMethod()->_getConfigData('auth_code', true)) ?>" />
|
111 |
+
<input type="hidden" id="original_customstyle_css" value="<?php echo NOVALNET_CC_CUSTOM_CSS; ?>" />
|
112 |
+
<input type="hidden" id="original_customstyle_cssval" value="<?php echo NOVALNET_CC_CUSTOM_CSS_STYLE; ?>" />
|
113 |
|
114 |
<input type="hidden" name="novalnet_cc_owner" id="novalnet_cc_owner" value="" />
|
115 |
<input type="hidden" name="novalnet_cc_type" id="novalnet_cc_type" value="" />
|
118 |
<input type="hidden" name="novalnet_cc_cid" id="novalnet_cc_cid" value="" />
|
119 |
<input type="hidden" name="novalnet_cc_pan_hash" id="novalnet_cc_pan_hash" value="" />
|
120 |
<input type="hidden" name="novalnet_cc_unique_id" id="novalnet_cc_unique_id" value="" />
|
121 |
+
<input type="hidden" name="novalnet_cc_field_validator" id="novalnet_cc_field_validator" value="" />
|
122 |
|
123 |
</fieldset>
|
app/design/frontend/default/default/template/novalnet/payment/method/form/Ccform.phtml
CHANGED
@@ -30,8 +30,21 @@ $_code = Novalnet_Payment_Model_Config::NN_CC;
|
|
30 |
<script type="text/javascript">
|
31 |
function updateHiddenElements(elements) {
|
32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
for (var i=0; i<elements.length; i++) {
|
34 |
switch (elements[i].name) {
|
|
|
|
|
|
|
35 |
case 'novalnet_cc_owner':
|
36 |
elements[i].value = document.getElementById('<?php echo $_code ?>_cc_owner').value;
|
37 |
break;
|
@@ -65,13 +78,13 @@ $_code = Novalnet_Payment_Model_Config::NN_CC;
|
|
65 |
</li>
|
66 |
<li style="margin: 0 0 8px;">
|
67 |
<?php echo Mage::helper('novalnet_payment')->getModel('novalnetCc')->_getConfigData('booking_reference') ?>
|
68 |
-
</li>
|
69 |
<?php if (Mage::helper('novalnet_payment')->getModel('novalnetCc')->_getConfigData('live_mode', true) == 0): ?>
|
70 |
<li style="margin: 0 0 8px;">
|
71 |
<div style="font-weight:bold;color:red;font-size:12px;">
|
72 |
<?php echo $this->__('Please Note: This transaction will run on TEST MODE and the amount will not be charged') ?>
|
73 |
</div>
|
74 |
-
</li>
|
75 |
<?php endif ?>
|
76 |
</ul>
|
77 |
<!--}}} Payment Description -->
|
30 |
<script type="text/javascript">
|
31 |
function updateHiddenElements(elements) {
|
32 |
|
33 |
+
var cc_type=0; var cc_owner=0; var cc_no=0; var cc_hash=0; var cc_month=0; var cc_year=0; var cc_cid=0;
|
34 |
+
if(document.getElementById("novalnetCc_cc_type").value!= '') cc_type=1;
|
35 |
+
if(document.getElementById("novalnetCc_cc_owner").value!= '') cc_owner=1;
|
36 |
+
if(document.getElementById("novalnetCc_cc_number").value!= '') cc_no=1;
|
37 |
+
if(document.getElementById("novalnetCc_expiration").value!= '') cc_month = 1;
|
38 |
+
if(document.getElementById("novalnetCc_expiration_yr").value!= '') cc_year = 1;
|
39 |
+
if(document.getElementById("novalnetCc_cc_cid").value!= '') cc_cid=1;
|
40 |
+
|
41 |
+
var novalnet_cc_field_validator = cc_type+','+cc_owner+','+cc_no+','+cc_month+','+cc_year+','+cc_cid;
|
42 |
+
|
43 |
for (var i=0; i<elements.length; i++) {
|
44 |
switch (elements[i].name) {
|
45 |
+
case 'novalnet_cc_field_validator':
|
46 |
+
elements[i].value = novalnet_cc_field_validator;
|
47 |
+
break;
|
48 |
case 'novalnet_cc_owner':
|
49 |
elements[i].value = document.getElementById('<?php echo $_code ?>_cc_owner').value;
|
50 |
break;
|
78 |
</li>
|
79 |
<li style="margin: 0 0 8px;">
|
80 |
<?php echo Mage::helper('novalnet_payment')->getModel('novalnetCc')->_getConfigData('booking_reference') ?>
|
81 |
+
</li>
|
82 |
<?php if (Mage::helper('novalnet_payment')->getModel('novalnetCc')->_getConfigData('live_mode', true) == 0): ?>
|
83 |
<li style="margin: 0 0 8px;">
|
84 |
<div style="font-weight:bold;color:red;font-size:12px;">
|
85 |
<?php echo $this->__('Please Note: This transaction will run on TEST MODE and the amount will not be charged') ?>
|
86 |
</div>
|
87 |
+
</li>
|
88 |
<?php endif ?>
|
89 |
</ul>
|
90 |
<!--}}} Payment Description -->
|
app/design/frontend/default/default/template/novalnet/payment/method/form/Ccsecure.phtml
CHANGED
@@ -27,13 +27,14 @@
|
|
27 |
<?php
|
28 |
$code = $this->getMethodCode();
|
29 |
$helper = Mage::helper('novalnet_payment');
|
|
|
30 |
?>
|
31 |
<fieldset class="form-list">
|
32 |
<!--{{{ Payment Logo -->
|
33 |
<div>
|
34 |
<a href="<?php echo $helper->getNovalnetUrl(); ?>" target="_new" style="text-decoration:none;">
|
35 |
<?php foreach ($this->getCcAvailableTypes() as $_typeCode => $_typeName): ?>
|
36 |
-
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() .
|
37 |
<img style="height:20px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
38 |
<?php endforeach; ?>
|
39 |
</a>
|
@@ -57,43 +58,46 @@ $helper = Mage::helper('novalnet_payment');
|
|
57 |
<?php endif ?>
|
58 |
<li>
|
59 |
<div class="input-box">
|
60 |
-
<label style="float:none;" for="<?php echo $code ?>_cc_type"><?php echo $this->__('Credit Card Type')
|
61 |
<select id="<?php echo $code ?>_cc_type" name="payment[nn_cc_type]" class="required-entry validate-cc-type-select">
|
62 |
<option value=""><?php echo $this->__('--Please Select--') ?></option>
|
|
|
63 |
<?php foreach ($this->getCcAvailableTypes() as $_typeCode => $_typeName): ?>
|
64 |
-
<option value="<?php echo $_typeCode ?>"
|
65 |
<?php endforeach; ?>
|
66 |
</select>
|
67 |
</div>
|
68 |
</li>
|
69 |
<li>
|
70 |
<div class="input-box">
|
71 |
-
<label style="float:none;" for="<?php echo $code ?>_cc_owner"><?php echo $this->__('Credit card holder')
|
72 |
-
<input type="text" title="<?php echo $this->__('Name on Card') ?>" class="required-entry input-text" id="<?php echo $code ?>_cc_owner" name="payment[nn_cc_owner]" autocomplete="off" />
|
73 |
</div>
|
74 |
</li>
|
75 |
<li>
|
76 |
<div class="input-box">
|
77 |
-
<label style="float:none;" for="<?php echo $code ?>_cc_number"><?php echo $this->__('Card number')
|
78 |
-
<input type="text" id="<?php echo $code ?>_cc_number" name="payment[nn_cc_number]" title="<?php echo $this->__('Credit Card Number') ?>" class="required-entry input-text validate-cc-number validate-cc-type" autocomplete="off" />
|
79 |
</div>
|
80 |
</li>
|
81 |
<li>
|
82 |
<div class="input-box">
|
83 |
-
<label style="float:none;" for="<?php echo $code ?>_expiration"><?php echo $this->__('Cc Expiration Date')
|
84 |
<div class="v-fix">
|
85 |
<select id="<?php echo $code ?>_expiration" style="width:140px;" name="payment[nn_cc_exp_month]" class="required-entry">
|
86 |
<option value=""><?php echo $this->__('Month'); ?></option>
|
|
|
87 |
<?php foreach ($this->getCcMonths() as $k => $v): ?>
|
88 |
-
<option value="<?php echo $k ?>"
|
89 |
<?php endforeach; ?>
|
90 |
</select>
|
91 |
</div>
|
92 |
<div class="v-fix" style="padding-left:5px;">
|
93 |
<select id="<?php echo $code ?>_expiration_yr" style="width:103px;" name="payment[nn_cc_exp_year]" class="required-entry">
|
94 |
<option value=""><?php echo $this->__('Year'); ?></option>
|
|
|
95 |
<?php foreach ($this->getCcYears() as $k => $v): ?>
|
96 |
-
<option value="<?php echo $k ?>"
|
97 |
<?php endforeach; ?>
|
98 |
</select>
|
99 |
</div>
|
@@ -102,7 +106,7 @@ $helper = Mage::helper('novalnet_payment');
|
|
102 |
<?php if ($this->hasVerification()): ?>
|
103 |
<li>
|
104 |
<div class="input-box">
|
105 |
-
<label style="float:none;" for="<?php echo $code ?>_cc_cid"><?php echo $this->__('Cc Card Verification Number')
|
106 |
<div class="v-fix"><input type="text" title="<?php echo $this->__('Card Verification Number') ?>" class="required-entry input-text validate-cc-cvn" id="<?php echo $code ?>_cc_cid" name="payment[nn_cc_cid]" style="width:3em;" autocomplete="off" maxlength="4" /></div>
|
107 |
|
108 |
<a href="#" class="cvv-what-is-this"><?php echo $this->__('What is this?') ?></a>
|
27 |
<?php
|
28 |
$code = $this->getMethodCode();
|
29 |
$helper = Mage::helper('novalnet_payment');
|
30 |
+
$novalnetSecureError = $this->getMethod()->getConfigData('novalnetSecure_error');
|
31 |
?>
|
32 |
<fieldset class="form-list">
|
33 |
<!--{{{ Payment Logo -->
|
34 |
<div>
|
35 |
<a href="<?php echo $helper->getNovalnetUrl(); ?>" target="_new" style="text-decoration:none;">
|
36 |
<?php foreach ($this->getCcAvailableTypes() as $_typeCode => $_typeName): ?>
|
37 |
+
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . $_typeCode . "_Logo.png"; ?>
|
38 |
<img style="height:20px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
39 |
<?php endforeach; ?>
|
40 |
</a>
|
58 |
<?php endif ?>
|
59 |
<li>
|
60 |
<div class="input-box">
|
61 |
+
<label style="float:none;" for="<?php echo $code ?>_cc_type"><?php echo $this->__('Credit Card Type') ?><span class="required">*</span></label><br />
|
62 |
<select id="<?php echo $code ?>_cc_type" name="payment[nn_cc_type]" class="required-entry validate-cc-type-select">
|
63 |
<option value=""><?php echo $this->__('--Please Select--') ?></option>
|
64 |
+
<?php $_ccType = Mage::helper('core')->decrypt($helper->_getCheckoutSession()->getNnCcType()) ?>
|
65 |
<?php foreach ($this->getCcAvailableTypes() as $_typeCode => $_typeName): ?>
|
66 |
+
<option value="<?php echo $_typeCode ?>"<?php if($_typeCode==$_ccType && $novalnetSecureError): ?> selected="selected"<?php endif ?>><?php echo $_typeName ?></option>
|
67 |
<?php endforeach; ?>
|
68 |
</select>
|
69 |
</div>
|
70 |
</li>
|
71 |
<li>
|
72 |
<div class="input-box">
|
73 |
+
<label style="float:none;" for="<?php echo $code ?>_cc_owner"><?php echo $this->__('Credit card holder') ?><span class="required">*</span></label><br/>
|
74 |
+
<input type="text" title="<?php echo $this->__('Name on Card') ?>" class="required-entry input-text" id="<?php echo $code ?>_cc_owner" name="payment[nn_cc_owner]" autocomplete="off" value="<?php echo $novalnetSecureError ? Mage::helper('core')->decrypt($helper->_getCheckoutSession()->getNnCcOwner()) : '';?>" />
|
75 |
</div>
|
76 |
</li>
|
77 |
<li>
|
78 |
<div class="input-box">
|
79 |
+
<label style="float:none;" for="<?php echo $code ?>_cc_number"><?php echo $this->__('Card number') ?><span class="required">*</span></label><br/>
|
80 |
+
<input type="text" id="<?php echo $code ?>_cc_number" name="payment[nn_cc_number]" title="<?php echo $this->__('Credit Card Number') ?>" class="required-entry input-text validate-cc-number validate-cc-type" autocomplete="off" value="<?php echo $novalnetSecureError ? Mage::helper('core')->decrypt($helper->_getCheckoutSession()->getNnCcNumber()) : '';?>" />
|
81 |
</div>
|
82 |
</li>
|
83 |
<li>
|
84 |
<div class="input-box">
|
85 |
+
<label style="float:none;" for="<?php echo $code ?>_expiration"><?php echo $this->__('Cc Expiration Date') ?><span class="required">*</span></label><br />
|
86 |
<div class="v-fix">
|
87 |
<select id="<?php echo $code ?>_expiration" style="width:140px;" name="payment[nn_cc_exp_month]" class="required-entry">
|
88 |
<option value=""><?php echo $this->__('Month'); ?></option>
|
89 |
+
<?php $_ccExpMonth = Mage::helper('core')->decrypt($helper->_getCheckoutSession()->getNnCcExpMonth()) ?>
|
90 |
<?php foreach ($this->getCcMonths() as $k => $v): ?>
|
91 |
+
<option value="<?php echo $k ?>"<?php if($k==$_ccExpMonth && $novalnetSecureError): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
92 |
<?php endforeach; ?>
|
93 |
</select>
|
94 |
</div>
|
95 |
<div class="v-fix" style="padding-left:5px;">
|
96 |
<select id="<?php echo $code ?>_expiration_yr" style="width:103px;" name="payment[nn_cc_exp_year]" class="required-entry">
|
97 |
<option value=""><?php echo $this->__('Year'); ?></option>
|
98 |
+
<?php $_ccExpYear = Mage::helper('core')->decrypt($helper->_getCheckoutSession()->getNnCcExpYear()) ?>
|
99 |
<?php foreach ($this->getCcYears() as $k => $v): ?>
|
100 |
+
<option value="<?php echo $k ?>"<?php if($k==$_ccExpYear && $novalnetSecureError): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
101 |
<?php endforeach; ?>
|
102 |
</select>
|
103 |
</div>
|
106 |
<?php if ($this->hasVerification()): ?>
|
107 |
<li>
|
108 |
<div class="input-box">
|
109 |
+
<label style="float:none;" for="<?php echo $code ?>_cc_cid"><?php echo $this->__('Cc Card Verification Number') ?><span class="required">*</span></label><br />
|
110 |
<div class="v-fix"><input type="text" title="<?php echo $this->__('Card Verification Number') ?>" class="required-entry input-text validate-cc-cvn" id="<?php echo $code ?>_cc_cid" name="payment[nn_cc_cid]" style="width:3em;" autocomplete="off" maxlength="4" /></div>
|
111 |
|
112 |
<a href="#" class="cvv-what-is-this"><?php echo $this->__('What is this?') ?></a>
|
app/design/frontend/default/default/template/novalnet/payment/method/form/Elvaustria.phtml
CHANGED
@@ -27,12 +27,14 @@
|
|
27 |
<?php
|
28 |
$code = $this->getMethodCode();
|
29 |
$helper = Mage::helper('novalnet_payment');
|
|
|
|
|
30 |
?>
|
31 |
<fieldset class="form-list">
|
32 |
<div>
|
33 |
<!--{{{ Payment Logo -->
|
34 |
<a href="<?php echo $helper->getNovalnetUrl(); ?>" target="_new" style="text-decoration:none;">
|
35 |
-
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . "
|
36 |
<img style="height:20px;" src="<?php echo $imgpath; ?>" alt="<?php echo $this->getMethod()->getConfigData('title'); ?>" title="<?php echo $this->getMethod()->getConfigData('title'); ?>" />
|
37 |
</a>
|
38 |
<!--}}} Payment Logo -->
|
@@ -58,20 +60,20 @@ $helper = Mage::helper('novalnet_payment');
|
|
58 |
<?php endif ?>
|
59 |
<li>
|
60 |
<div class="input-box">
|
61 |
-
<label style="float:none;" for="<?php echo $code ?>_account_holder"><?php echo $this->__('Account Holder')
|
62 |
-
<input type="text" id="<?php echo $code ?>_account_holder" name="payment[account_holder_at]" title="<?php echo $this->__('Account Holder') ?>" class="required-entry input-text" autocomplete="off" />
|
63 |
</div>
|
64 |
</li>
|
65 |
<li>
|
66 |
<div class="input-box">
|
67 |
-
<label style="float:none;" for="<?php echo $code ?>_account_number"><?php echo $this->__('
|
68 |
-
<input type="text" id="<?php echo $code ?>_account_number" name="payment[account_number_at]" title="<?php echo $this->__('
|
69 |
</div>
|
70 |
</li>
|
71 |
<li>
|
72 |
<div class="input-box">
|
73 |
-
<label style="float:none;" for="<?php echo $code ?>_bank_sorting_code"><?php echo $this->__('Bank Sorting Code')
|
74 |
-
<input type="text" id="<?php echo $code ?>_bank_sorting_code" name="payment[bank_sorting_code_at]" title="<?php echo $this->__('Bank Sorting Code') ?>" class="required-entry input-text" autocomplete="off" />
|
75 |
</div>
|
76 |
</li>
|
77 |
<!--{{{ CallbackType-->
|
@@ -87,7 +89,7 @@ $helper = Mage::helper('novalnet_payment');
|
|
87 |
<?php echo $this->__('Ihre Telefon- / Mobil- Nummer'); ?>
|
88 |
<?php endif; ?>
|
89 |
<span class="required">*</span></label><br/>
|
90 |
-
<input type="text" autocomplete="off" id="<?php echo $code ?>_callback_tel" name="payment[callback_tel]" title="<?php echo $this->__('Callback') ?>" class="required-entry input-text" />
|
91 |
</div>
|
92 |
</li>
|
93 |
<li>
|
@@ -109,8 +111,8 @@ $helper = Mage::helper('novalnet_payment');
|
|
109 |
<?php echo $this->__('Hinweis: Nach einem Klick auf "Fortsetzen" erhalten Sie in Kürze ein EMAIL, das Sie sofort ohne änderung des Mailtexts beantworten müssen.') ?>
|
110 |
</div>
|
111 |
<div class="input-box">
|
112 |
-
<label style="float:none;" for="<?php echo $code ?>_callback_email"><?php echo $this->__('
|
113 |
-
<input type="text" autocomplete="off" id="<?php echo $code ?>_callback_email" name="payment[callback_email]" title="<?php echo $this->__('Callback Email') ?>" class="input-text validate-email required-entry" />
|
114 |
</div>
|
115 |
</li>
|
116 |
<?php endif ?>
|
27 |
<?php
|
28 |
$code = $this->getMethodCode();
|
29 |
$helper = Mage::helper('novalnet_payment');
|
30 |
+
$assignDatahelper = Mage::helper('novalnet_payment/AssignData');
|
31 |
+
$elvastriaError = $this->getMethod()->getConfigData('elvastria_error');
|
32 |
?>
|
33 |
<fieldset class="form-list">
|
34 |
<div>
|
35 |
<!--{{{ Payment Logo -->
|
36 |
<a href="<?php echo $helper->getNovalnetUrl(); ?>" target="_new" style="text-decoration:none;">
|
37 |
+
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . "ELV_Logo.png"; ?>
|
38 |
<img style="height:20px;" src="<?php echo $imgpath; ?>" alt="<?php echo $this->getMethod()->getConfigData('title'); ?>" title="<?php echo $this->getMethod()->getConfigData('title'); ?>" />
|
39 |
</a>
|
40 |
<!--}}} Payment Logo -->
|
60 |
<?php endif ?>
|
61 |
<li>
|
62 |
<div class="input-box">
|
63 |
+
<label style="float:none;" for="<?php echo $code ?>_account_holder"><?php echo $this->__('Account Holder') ?><span class="required">*</span></label><br/>
|
64 |
+
<input type="text" value="<?php echo $elvastriaError ? $assignDatahelper->_getCheckout()->getElvAtAccountHolder(): '';?>"id="<?php echo $code ?>_account_holder" name="payment[account_holder_at]" title="<?php echo $this->__('Account Holder') ?>" class="required-entry input-text" autocomplete="off" />
|
65 |
</div>
|
66 |
</li>
|
67 |
<li>
|
68 |
<div class="input-box">
|
69 |
+
<label style="float:none;" for="<?php echo $code ?>_account_number"><?php echo $this->__('NnAccount number') ?><span class="required">*</span></label><br/>
|
70 |
+
<input type="text" value="<?php echo $elvastriaError ? $assignDatahelper->_getCheckout()->getElvAtAccountNumber(): '';?>"id="<?php echo $code ?>_account_number" name="payment[account_number_at]" title="<?php echo $this->__('NnAccount Number') ?>" class="required-entry input-text" autocomplete="off" />
|
71 |
</div>
|
72 |
</li>
|
73 |
<li>
|
74 |
<div class="input-box">
|
75 |
+
<label style="float:none;" for="<?php echo $code ?>_bank_sorting_code"><?php echo $this->__('Bank Sorting Code') ?><span class="required">*</span></label><br/>
|
76 |
+
<input type="text" value="<?php echo $elvastriaError ? $assignDatahelper->_getCheckout()->getElvAtBankSortingCode() : '';?>" id="<?php echo $code ?>_bank_sorting_code" name="payment[bank_sorting_code_at]" title="<?php echo $this->__('Bank Sorting Code') ?>" class="required-entry input-text" autocomplete="off" />
|
77 |
</div>
|
78 |
</li>
|
79 |
<!--{{{ CallbackType-->
|
89 |
<?php echo $this->__('Ihre Telefon- / Mobil- Nummer'); ?>
|
90 |
<?php endif; ?>
|
91 |
<span class="required">*</span></label><br/>
|
92 |
+
<input type="text" autocomplete="off" id="<?php echo $code ?>_callback_tel" name="payment[callback_tel]" title="<?php echo $this->__('Callback') ?>" class="required-entry input-text" value="<?php echo $elvastriaError ? $assignDatahelper->_getCheckout()->getNnCallbackTelNovalnetElvaustria(): '';?>"/>
|
93 |
</div>
|
94 |
</li>
|
95 |
<li>
|
111 |
<?php echo $this->__('Hinweis: Nach einem Klick auf "Fortsetzen" erhalten Sie in Kürze ein EMAIL, das Sie sofort ohne änderung des Mailtexts beantworten müssen.') ?>
|
112 |
</div>
|
113 |
<div class="input-box">
|
114 |
+
<label style="float:none;" for="<?php echo $code ?>_callback_email"><?php echo $this->__('E-mail Address') ?><span class="required">*</span></label><br/>
|
115 |
+
<input type="text" autocomplete="off" id="<?php echo $code ?>_callback_email" name="payment[callback_email]" title="<?php echo $this->__('Callback Email') ?>" class="input-text validate-email required-entry" value="<?php echo $elvastriaError ? $assignDatahelper->_getCheckout()->getNnCallbackEmailNovalnetElvaustria(): '';?>"/>
|
116 |
</div>
|
117 |
</li>
|
118 |
<?php endif ?>
|
app/design/frontend/default/default/template/novalnet/payment/method/form/Elvgerman.phtml
CHANGED
@@ -27,12 +27,14 @@
|
|
27 |
<?php
|
28 |
$code = $this->getMethodCode();
|
29 |
$helper = Mage::helper('novalnet_payment');
|
|
|
|
|
30 |
?>
|
31 |
<fieldset class="form-list">
|
32 |
<div>
|
33 |
<!--{{{ Payment Logo -->
|
34 |
<a href="<?php echo $helper->getNovalnetUrl(); ?>" target="_new" style="text-decoration:none;">
|
35 |
-
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . "
|
36 |
<img style="height:20px;" src="<?php echo $imgpath; ?>" alt="<?php echo $this->getMethod()->getConfigData('title'); ?>" title="<?php echo $this->getMethod()->getConfigData('title'); ?>" />
|
37 |
</a>
|
38 |
<!--}}} Payment Logo -->
|
@@ -58,20 +60,20 @@ $helper = Mage::helper('novalnet_payment');
|
|
58 |
<?php endif ?>
|
59 |
<li>
|
60 |
<div class="input-box">
|
61 |
-
<label style="float:none;" for="<?php echo $code ?>_account_holder"><?php echo $this->__('Account Holder')
|
62 |
-
<input type="text" value="" id="<?php echo $code ?>_account_holder" name="payment[account_holder]" title="<?php echo $this->__('Account Holder') ?>" class="required-entry input-text" autocomplete="off" />
|
63 |
</div>
|
64 |
</li>
|
65 |
<li>
|
66 |
<div class="input-box">
|
67 |
-
<label style="float:none;" for="<?php echo $code ?>_account_number"><?php echo $this->__('
|
68 |
-
<input type="text" value="" id="<?php echo $code ?>_account_number" name="payment[account_number]" title="<?php echo $this->__('
|
69 |
</div>
|
70 |
</li>
|
71 |
<li>
|
72 |
<div class="input-box">
|
73 |
-
<label style="float:none;" for="<?php echo $code ?>_bank_sorting_code"><?php echo $this->__('Bank Sorting Code')
|
74 |
-
<input type="text" value="" id="<?php echo $code ?>_bank_sorting_code" name="payment[bank_sorting_code]" title="<?php echo $this->__('Bank Sorting Code') ?>" class="required-entry input-text" autocomplete="off" />
|
75 |
</div>
|
76 |
</li>
|
77 |
<!--{{{ ACDC check-->
|
@@ -79,7 +81,7 @@ $helper = Mage::helper('novalnet_payment');
|
|
79 |
<li>
|
80 |
<div class="input-box">
|
81 |
<input type="checkbox" id="<?php echo $code ?>_acdc" name="payment[acdc]" title="<?php echo $this->__('acdc') ?>" class="required-entry" />
|
82 |
-
<label style="float:none;" id="elvde_acdc" for="<?php echo $code ?>_acdc"><b><a><?php echo $this->__('
|
83 |
</div>
|
84 |
</li>
|
85 |
<script type="text/javascript">
|
@@ -88,7 +90,7 @@ $helper = Mage::helper('novalnet_payment');
|
|
88 |
//ACDC Info
|
89 |
$("elvde_acdc").observe('mouseover', function() {
|
90 |
var url = parent.location.href;
|
91 |
-
url = '<?php echo $helper->getNovalnetPaymentFormLogoUrl();
|
92 |
showbaby = window.open(url,'showbaby','toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=1,width='+w+',height='+h+',left='+x+',top='+y+',screenX='+x+',screenY='+y);
|
93 |
showbaby.focus();
|
94 |
});
|
@@ -111,7 +113,7 @@ $helper = Mage::helper('novalnet_payment');
|
|
111 |
<?php echo $this->__('Ihre Telefon- / Mobil- Nummer'); ?>
|
112 |
<?php endif; ?>
|
113 |
<span class="required">*</span></label><br/>
|
114 |
-
<input type="text" id="<?php echo $code ?>_callback_tel" name="payment[callback_tel]" title="<?php echo $this->__('Callback') ?>" class="required-entry input-text" autocomplete="off" />
|
115 |
</div>
|
116 |
</li>
|
117 |
<li>
|
@@ -133,8 +135,8 @@ $helper = Mage::helper('novalnet_payment');
|
|
133 |
<?php echo $this->__('Hinweis: Nach einem Klick auf "Fortsetzen" erhalten Sie in Kürze ein EMAIL, das Sie sofort ohne änderung des Mailtexts beantworten müssen.') ?>
|
134 |
</div>
|
135 |
<div class="input-box">
|
136 |
-
<label style="float:none;" for="<?php echo $code ?>_callback_email"><?php echo $this->__('
|
137 |
-
<input type="text" id="<?php echo $code ?>_callback_email" name="payment[callback_email]" title="<?php echo $this->__('Callback Email') ?>" class="input-text validate-email required-entry" autocomplete="off" />
|
138 |
</div>
|
139 |
</li>
|
140 |
<?php endif ?>
|
27 |
<?php
|
28 |
$code = $this->getMethodCode();
|
29 |
$helper = Mage::helper('novalnet_payment');
|
30 |
+
$assignDatahelper = Mage::helper('novalnet_payment/AssignData');
|
31 |
+
$elvgermanError = $this->getMethod()->getConfigData('elvgerman_error');
|
32 |
?>
|
33 |
<fieldset class="form-list">
|
34 |
<div>
|
35 |
<!--{{{ Payment Logo -->
|
36 |
<a href="<?php echo $helper->getNovalnetUrl(); ?>" target="_new" style="text-decoration:none;">
|
37 |
+
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . "ELV_Logo.png"; ?>
|
38 |
<img style="height:20px;" src="<?php echo $imgpath; ?>" alt="<?php echo $this->getMethod()->getConfigData('title'); ?>" title="<?php echo $this->getMethod()->getConfigData('title'); ?>" />
|
39 |
</a>
|
40 |
<!--}}} Payment Logo -->
|
60 |
<?php endif ?>
|
61 |
<li>
|
62 |
<div class="input-box">
|
63 |
+
<label style="float:none;" for="<?php echo $code ?>_account_holder"><?php echo $this->__('Account Holder') ?><span class="required">*</span></label><br/>
|
64 |
+
<input type="text" value="<?php echo $elvgermanError ? $assignDatahelper->_getCheckout()->getElvDeAccountHolder() : '';?>" id="<?php echo $code ?>_account_holder" name="payment[account_holder]" title="<?php echo $this->__('Account Holder') ?>" class="required-entry input-text" autocomplete="off" />
|
65 |
</div>
|
66 |
</li>
|
67 |
<li>
|
68 |
<div class="input-box">
|
69 |
+
<label style="float:none;" for="<?php echo $code ?>_account_number"><?php echo $this->__('NnAccount number') ?><span class="required">*</span></label><br/>
|
70 |
+
<input type="text" value="<?php echo $elvgermanError ? $assignDatahelper->_getCheckout()->getElvDeAccountNumber() : '';?>" id="<?php echo $code ?>_account_number" name="payment[account_number]" title="<?php echo $this->__('NnAccount Number') ?>" class="required-entry input-text" autocomplete="off" />
|
71 |
</div>
|
72 |
</li>
|
73 |
<li>
|
74 |
<div class="input-box">
|
75 |
+
<label style="float:none;" for="<?php echo $code ?>_bank_sorting_code"><?php echo $this->__('Bank Sorting Code') ?><span class="required">*</span></label><br/>
|
76 |
+
<input type="text" value="<?php echo $elvgermanError ? $assignDatahelper->_getCheckout()->getElvDeBankSortingCode() : '';?>" id="<?php echo $code ?>_bank_sorting_code" name="payment[bank_sorting_code]" title="<?php echo $this->__('Bank Sorting Code') ?>" class="required-entry input-text" autocomplete="off" />
|
77 |
</div>
|
78 |
</li>
|
79 |
<!--{{{ ACDC check-->
|
81 |
<li>
|
82 |
<div class="input-box">
|
83 |
<input type="checkbox" id="<?php echo $code ?>_acdc" name="payment[acdc]" title="<?php echo $this->__('acdc') ?>" class="required-entry" />
|
84 |
+
<label style="float:none;" id="elvde_acdc" for="<?php echo $code ?>_acdc"><b><a><?php echo $this->__('Please enable ACDC Check.') ?></a></b> <span class="required">*</span></label>
|
85 |
</div>
|
86 |
</li>
|
87 |
<script type="text/javascript">
|
90 |
//ACDC Info
|
91 |
$("elvde_acdc").observe('mouseover', function() {
|
92 |
var url = parent.location.href;
|
93 |
+
url = '<?php echo $helper->getNovalnetPaymentFormLogoUrl(); ?>acdc_info.png';w='550';h='300';x=screen.availWidth/2-w/2;y=screen.availHeight/2-h/2;
|
94 |
showbaby = window.open(url,'showbaby','toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=1,width='+w+',height='+h+',left='+x+',top='+y+',screenX='+x+',screenY='+y);
|
95 |
showbaby.focus();
|
96 |
});
|
113 |
<?php echo $this->__('Ihre Telefon- / Mobil- Nummer'); ?>
|
114 |
<?php endif; ?>
|
115 |
<span class="required">*</span></label><br/>
|
116 |
+
<input type="text" id="<?php echo $code ?>_callback_tel" name="payment[callback_tel]" title="<?php echo $this->__('Callback') ?>" class="required-entry input-text" autocomplete="off" value="<?php echo $elvgermanError ? $assignDatahelper->_getCheckout()->getNnCallbackTelNovalnetElvgerman() : '';?>"/>
|
117 |
</div>
|
118 |
</li>
|
119 |
<li>
|
135 |
<?php echo $this->__('Hinweis: Nach einem Klick auf "Fortsetzen" erhalten Sie in Kürze ein EMAIL, das Sie sofort ohne änderung des Mailtexts beantworten müssen.') ?>
|
136 |
</div>
|
137 |
<div class="input-box">
|
138 |
+
<label style="float:none;" for="<?php echo $code ?>_callback_email"><?php echo $this->__('E-mail Address') ?><span class="required">*</span></label><br/>
|
139 |
+
<input type="text" id="<?php echo $code ?>_callback_email" name="payment[callback_email]" title="<?php echo $this->__('Callback Email') ?>" class="input-text validate-email required-entry" autocomplete="off" value="<?php echo $elvgermanError ? $assignDatahelper->_getCheckout()->getNnCallbackEmailNovalnetElvgerman() : '';?>"/>
|
140 |
</div>
|
141 |
</li>
|
142 |
<?php endif ?>
|
app/design/frontend/default/default/template/novalnet/payment/method/form/Ideal.phtml
CHANGED
@@ -32,20 +32,15 @@ $helper = Mage::helper('novalnet_payment');
|
|
32 |
<fieldset class="form-list">
|
33 |
<!--{{{ Payment Logo -->
|
34 |
<div>
|
35 |
-
<a href="<?php echo $helper->getNovalnetUrl() ?>" target="_new" style="text-decoration:none;">
|
36 |
-
|
37 |
-
|
38 |
-
$image = "/img/ideal_payment_small.png";
|
39 |
-
else
|
40 |
-
$image = "/img/ideal_payment_small.png";
|
41 |
-
?>
|
42 |
-
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . $image; ?>
|
43 |
<img style="height:32px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
44 |
</a>
|
45 |
</div>
|
46 |
<!--}}} Payment Logo -->
|
47 |
<!--{{{ Payment Description -->
|
48 |
-
<div>
|
49 |
<ul id="payment_form_<?php echo $_code ?>" style="display:none;">
|
50 |
<li>
|
51 |
<?php echo $this->__('You will be redirected to Novalnet AG website when you place an order.') ?>
|
32 |
<fieldset class="form-list">
|
33 |
<!--{{{ Payment Logo -->
|
34 |
<div>
|
35 |
+
<a href="<?php echo $helper->getNovalnetUrl() ?>" target="_new" style="text-decoration:none;">
|
36 |
+
<?php $image = "ideal_payment_small.png";
|
37 |
+
$imgpath = $helper->getNovalnetPaymentFormLogoUrl() . $image; ?>
|
|
|
|
|
|
|
|
|
|
|
38 |
<img style="height:32px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
39 |
</a>
|
40 |
</div>
|
41 |
<!--}}} Payment Logo -->
|
42 |
<!--{{{ Payment Description -->
|
43 |
+
<div>
|
44 |
<ul id="payment_form_<?php echo $_code ?>" style="display:none;">
|
45 |
<li>
|
46 |
<?php echo $this->__('You will be redirected to Novalnet AG website when you place an order.') ?>
|
app/design/frontend/default/default/template/novalnet/payment/method/form/Invoice.phtml
CHANGED
@@ -31,8 +31,8 @@ $helper = Mage::helper('novalnet_payment');
|
|
31 |
<fieldset class="form-list">
|
32 |
<!-- PAYMENT LOGO -->
|
33 |
<div>
|
34 |
-
<a href="<?php echo $helper->getNovalnetUrl() ?>" target="_new" style="text-decoration:none;">
|
35 |
-
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . "
|
36 |
<img style="height:30px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
37 |
</a>
|
38 |
</div>
|
@@ -56,9 +56,9 @@ $helper = Mage::helper('novalnet_payment');
|
|
56 |
<?php endif ?>
|
57 |
<!--}}} PAYMENT DESCRIPTION -->
|
58 |
<!--{{{ CallbackType-->
|
59 |
-
<?php if ($this->isCallbackTypeCall()): ?>
|
60 |
-
<!--{{{ PIN by Callback-->
|
61 |
-
<?php if ($this->getCallbackConfigData() != 3): ?>
|
62 |
<li>
|
63 |
<div class="input-box">
|
64 |
<label style="float:none;" for="<?php echo $code ?>_callback_tel">
|
@@ -68,7 +68,7 @@ $helper = Mage::helper('novalnet_payment');
|
|
68 |
<?php echo $this->__('Ihre Telefon- / Mobil- Nummer'); ?>
|
69 |
<?php endif; ?>
|
70 |
<span class="required">*</span></label><br/>
|
71 |
-
<input type="text" value="" id="<?php echo $code ?>_callback_tel" name="payment[callback_tel]" title="<?php echo $this->__('Callback') ?>" class="required-entry input-text" />
|
72 |
</div>
|
73 |
</li>
|
74 |
<li>
|
@@ -78,25 +78,25 @@ $helper = Mage::helper('novalnet_payment');
|
|
78 |
<div class="input-box">
|
79 |
<label style="float:none;" for="<?php echo $code ?>_callback_pin"><?php echo $this->__('PIN') ?><span class="required">*</span></label><br/>
|
80 |
<input onchange="document.getElementById('inv_new_callback_pin').checked = false;" size="4" type="text" id="<?php echo $code ?>_callback_pin" name="payment[callback_pin]" title="<?php echo $this->__('Callback') ?>" class="input-text" /><br/>
|
81 |
-
<input id="inv_new_callback_pin" type="checkbox" name="payment[new_callback_pin]" value="1">
|
82 |
-
<label style="float:none;" for="inv_new_callback_pin"><?php echo $this->__('Forgot PIN? [New PIN Request]') ?></label>
|
83 |
</div>
|
84 |
</li>
|
85 |
-
<!--}}} PIN by Callback-->
|
86 |
-
<!--{{{ Reply by Email-->
|
87 |
<?php elseif ($this->getCallbackConfigData() == 3): ?>
|
88 |
<li>
|
89 |
<div style="font-weight:bold;color:gray;border:1px solid #BFBFBF;font-size:11px; background:#FEFFBF; padding:10px; margin-top:10px;width:400px;">
|
90 |
<?php echo $this->__('Hinweis: Nach einem Klick auf "Fortsetzen" erhalten Sie in Kürze ein EMAIL, das Sie sofort ohne änderung des Mailtexts beantworten müssen.') ?>
|
91 |
</div>
|
92 |
<div class="input-box">
|
93 |
-
<label style="float:none;" for="<?php echo $code ?>_callback_email"><?php echo $this->__('
|
94 |
-
<input type="text" value="" id="<?php echo $code ?>_callback_email" name="payment[callback_email]" title="<?php echo $this->__('Callback Email') ?>" class="input-text validate-email required-entry" />
|
95 |
</div>
|
96 |
</li>
|
97 |
<?php endif ?>
|
98 |
-
<!--}}} Reply by Email-->
|
99 |
<?php endif ?>
|
100 |
-
<!--}}} CallbackType-->
|
101 |
</ul>
|
102 |
</fieldset>
|
31 |
<fieldset class="form-list">
|
32 |
<!-- PAYMENT LOGO -->
|
33 |
<div>
|
34 |
+
<a href="<?php echo $helper->getNovalnetUrl() ?>" target="_new" style="text-decoration:none;">
|
35 |
+
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . "kauf-auf-rechnung.jpg"; ?>
|
36 |
<img style="height:30px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
37 |
</a>
|
38 |
</div>
|
56 |
<?php endif ?>
|
57 |
<!--}}} PAYMENT DESCRIPTION -->
|
58 |
<!--{{{ CallbackType-->
|
59 |
+
<?php if ($this->isCallbackTypeCall()): ?>
|
60 |
+
<!--{{{ PIN by Callback-->
|
61 |
+
<?php if ($this->getCallbackConfigData() != 3): ?>
|
62 |
<li>
|
63 |
<div class="input-box">
|
64 |
<label style="float:none;" for="<?php echo $code ?>_callback_tel">
|
68 |
<?php echo $this->__('Ihre Telefon- / Mobil- Nummer'); ?>
|
69 |
<?php endif; ?>
|
70 |
<span class="required">*</span></label><br/>
|
71 |
+
<input type="text" value="" id="<?php echo $code ?>_callback_tel" name="payment[callback_tel]" title="<?php echo $this->__('Callback') ?>" class="required-entry input-text" />
|
72 |
</div>
|
73 |
</li>
|
74 |
<li>
|
78 |
<div class="input-box">
|
79 |
<label style="float:none;" for="<?php echo $code ?>_callback_pin"><?php echo $this->__('PIN') ?><span class="required">*</span></label><br/>
|
80 |
<input onchange="document.getElementById('inv_new_callback_pin').checked = false;" size="4" type="text" id="<?php echo $code ?>_callback_pin" name="payment[callback_pin]" title="<?php echo $this->__('Callback') ?>" class="input-text" /><br/>
|
81 |
+
<input id="inv_new_callback_pin" type="checkbox" name="payment[new_callback_pin]" value="1">
|
82 |
+
<label style="float:none;" for="inv_new_callback_pin"><?php echo $this->__('Forgot PIN? [New PIN Request]') ?></label>
|
83 |
</div>
|
84 |
</li>
|
85 |
+
<!--}}} PIN by Callback-->
|
86 |
+
<!--{{{ Reply by Email-->
|
87 |
<?php elseif ($this->getCallbackConfigData() == 3): ?>
|
88 |
<li>
|
89 |
<div style="font-weight:bold;color:gray;border:1px solid #BFBFBF;font-size:11px; background:#FEFFBF; padding:10px; margin-top:10px;width:400px;">
|
90 |
<?php echo $this->__('Hinweis: Nach einem Klick auf "Fortsetzen" erhalten Sie in Kürze ein EMAIL, das Sie sofort ohne änderung des Mailtexts beantworten müssen.') ?>
|
91 |
</div>
|
92 |
<div class="input-box">
|
93 |
+
<label style="float:none;" for="<?php echo $code ?>_callback_email"><?php echo $this->__('E-mail Address') ?><span class="required">*</span></label><br/>
|
94 |
+
<input type="text" value="" id="<?php echo $code ?>_callback_email" name="payment[callback_email]" title="<?php echo $this->__('Callback Email') ?>" class="input-text validate-email required-entry" />
|
95 |
</div>
|
96 |
</li>
|
97 |
<?php endif ?>
|
98 |
+
<!--}}} Reply by Email-->
|
99 |
<?php endif ?>
|
100 |
+
<!--}}} CallbackType-->
|
101 |
</ul>
|
102 |
</fieldset>
|
app/design/frontend/default/default/template/novalnet/payment/method/form/Paypal.phtml
CHANGED
@@ -33,12 +33,7 @@ $helper = Mage::helper('novalnet_payment');
|
|
33 |
<!--{{{ Payment Logo -->
|
34 |
<div>
|
35 |
<a href="<?php echo $helper->getNovalnetUrl() ?>" target="_new" style="text-decoration:none;">
|
36 |
-
<?php
|
37 |
-
$image = "/img/paypal-small.png";
|
38 |
-
else
|
39 |
-
$image = "/img/paypal-small.png"; */
|
40 |
-
?>
|
41 |
-
<?php $image = "/img/paypal-small.png";
|
42 |
$imgpath = $helper->getNovalnetPaymentFormLogoUrl() . $image; ?>
|
43 |
<img style="height:32px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
44 |
</a>
|
33 |
<!--{{{ Payment Logo -->
|
34 |
<div>
|
35 |
<a href="<?php echo $helper->getNovalnetUrl() ?>" target="_new" style="text-decoration:none;">
|
36 |
+
<?php $image = "paypal-small.png";
|
|
|
|
|
|
|
|
|
|
|
37 |
$imgpath = $helper->getNovalnetPaymentFormLogoUrl() . $image; ?>
|
38 |
<img style="height:32px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
39 |
</a>
|
app/design/frontend/default/default/template/novalnet/payment/method/form/Phonepayment.phtml
CHANGED
@@ -31,13 +31,13 @@ $helper = Mage::helper('novalnet_payment');
|
|
31 |
<fieldset class="form-list">
|
32 |
<!--{{{ Payment Logo -->
|
33 |
<div>
|
34 |
-
<A HREF="<?php echo $helper->getNovalnetUrl() ?>" TARGET="_new" style="text-decoration:none;">
|
35 |
-
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . "
|
36 |
<img style="height:32px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
37 |
</A>
|
38 |
</div>
|
39 |
<!--}}} Payment Logo -->
|
40 |
-
<!--{{{ Payment Description-->
|
41 |
<div>
|
42 |
<ul id="payment_form_<?php echo $code ?>" style="display:none">
|
43 |
<li>
|
@@ -57,5 +57,5 @@ $helper = Mage::helper('novalnet_payment');
|
|
57 |
<?php endif ?>
|
58 |
</ul>
|
59 |
</div>
|
60 |
-
<!--}}} Payment Description-->
|
61 |
</fieldset>
|
31 |
<fieldset class="form-list">
|
32 |
<!--{{{ Payment Logo -->
|
33 |
<div>
|
34 |
+
<A HREF="<?php echo $helper->getNovalnetUrl() ?>" TARGET="_new" style="text-decoration:none;">
|
35 |
+
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . "novaltel_reciever.png"; ?>
|
36 |
<img style="height:32px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
37 |
</A>
|
38 |
</div>
|
39 |
<!--}}} Payment Logo -->
|
40 |
+
<!--{{{ Payment Description-->
|
41 |
<div>
|
42 |
<ul id="payment_form_<?php echo $code ?>" style="display:none">
|
43 |
<li>
|
57 |
<?php endif ?>
|
58 |
</ul>
|
59 |
</div>
|
60 |
+
<!--}}} Payment Description-->
|
61 |
</fieldset>
|
app/design/frontend/default/default/template/novalnet/payment/method/form/Prepayment.phtml
CHANGED
@@ -32,7 +32,7 @@ $helper = Mage::helper('novalnet_payment');
|
|
32 |
<!-- PAYMENT LOGO -->
|
33 |
<div>
|
34 |
<a href="<?php echo $helper->getNovalnetUrl() ?>" target="_new" style="text-decoration:none;">
|
35 |
-
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . "
|
36 |
<img style="height:30px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
37 |
</a>
|
38 |
</div>
|
32 |
<!-- PAYMENT LOGO -->
|
33 |
<div>
|
34 |
<a href="<?php echo $helper->getNovalnetUrl() ?>" target="_new" style="text-decoration:none;">
|
35 |
+
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . "vorauskasse.jpg"; ?>
|
36 |
<img style="height:30px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
37 |
</a>
|
38 |
</div>
|
app/design/frontend/default/default/template/novalnet/payment/method/form/Safetypay.phtml
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<a name="<?php echo $this->getMethodCode() ?>"></a>
|
28 |
+
<?php
|
29 |
+
$_code = $this->getMethodCode();
|
30 |
+
$helper = Mage::helper('novalnet_payment');
|
31 |
+
?>
|
32 |
+
<fieldset class="form-list">
|
33 |
+
<!--{{{ Payment Logo -->
|
34 |
+
<div>
|
35 |
+
<a href="<?php echo $helper->getNovalnetUrl() ?>" target="_new" style="text-decoration:none;">
|
36 |
+
<?php $image = "safetypay_logo.jpg"; ?>
|
37 |
+
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . $image; ?>
|
38 |
+
<img style="height:32px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
39 |
+
</a>
|
40 |
+
</div>
|
41 |
+
<!--}}} Payment Logo -->
|
42 |
+
<!--{{{ Payment Description -->
|
43 |
+
<div>
|
44 |
+
<ul id="payment_form_<?php echo $_code ?>" style="display:none;">
|
45 |
+
<li>
|
46 |
+
<?php echo $this->__('You will be redirected to Novalnet AG website when you place an order.') ?>
|
47 |
+
</li>
|
48 |
+
<?php if ($this->getUserInfo()): ?>
|
49 |
+
<li>
|
50 |
+
<?php echo $this->getUserInfo() ?>
|
51 |
+
</li>
|
52 |
+
<?php endif; ?>
|
53 |
+
<?php if ($this->getLiveMode() == 0): ?>
|
54 |
+
<li>
|
55 |
+
<div style="font-weight:bold;color:red;font-size:12px;">
|
56 |
+
<?php echo $this->__('Please Note: This transaction will run on TEST MODE and the amount will not be charged') ?>
|
57 |
+
</div>
|
58 |
+
</li>
|
59 |
+
<?php endif ?>
|
60 |
+
</ul>
|
61 |
+
</div>
|
62 |
+
<!--}}} Payment Description -->
|
63 |
+
<div class="clear"></div>
|
64 |
+
</fieldset>
|
app/design/frontend/default/default/template/novalnet/payment/method/form/Sepa.phtml
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
include(MAGENTO_ROOT.'/novalnet_css_link.php');
|
27 |
+
|
28 |
+
$code = $this->getMethodCode();
|
29 |
+
$helper = Mage::helper('novalnet_payment');
|
30 |
+
|
31 |
+
?>
|
32 |
+
<fieldset class="form-list" id="fieldset_<?php echo $code ?>">
|
33 |
+
<!--{{{ Payment Logo -->
|
34 |
+
<div>
|
35 |
+
<a HREF="<?php echo $helper->getNovalnetUrl();?>" TARGET="_new" style="text-decoration:none;">
|
36 |
+
<?php $image = "sepa_logo.jpg";
|
37 |
+
$imgpath = $helper->getNovalnetPaymentFormLogoUrl().$image; ?>
|
38 |
+
<img style="height:20px;" src="<?php echo $imgpath; ?>" alt="<?php echo $this->getMethod()->getConfigData('title'); ?>" title="<?php echo $this->getMethod()->getConfigData('title'); ?>" />
|
39 |
+
</a>
|
40 |
+
</div>
|
41 |
+
<!--}}} Payment Logo -->
|
42 |
+
<!--{{{ Novalnet SEPA Form -->
|
43 |
+
<div id="payment_form_<?php echo $code ?>" style="display:none;">
|
44 |
+
<?php if (!$this->getMethod()->validateNovalnetIframeParams()): ?>
|
45 |
+
<div style="font-weight:bold;color:red;font-size:12px;">
|
46 |
+
<?php echo $this->__('Basic parameter not valid') . '!' ?>
|
47 |
+
</div>
|
48 |
+
<?php else: ?>
|
49 |
+
<div id="nn_loading">
|
50 |
+
<img src="<?php echo $helper->getNovalnetPaymentFormLogoUrl() ?>novalnet-loading-icon.gif" alt="Loading" />
|
51 |
+
</div>
|
52 |
+
<iframe frameborder="0" scrolling="no" name="ifm_payment_form_<?php echo $code ?>" id="ifm_payment_form_<?php echo $code ?>"
|
53 |
+
style="width: 603px; height: 480px; border: none; display: block; margin-top: 5px;" onload="document.getElementById('nn_loading').style.display = 'none'" src="<?php echo $helper->getUrl('novalnet_payment/NovalnetSepa') ?>" >
|
54 |
+
</iframe>
|
55 |
+
<?php endif; ?>
|
56 |
+
</div>
|
57 |
+
<input type="hidden" id="original_sepa_customstyle_css" value="<?php echo NOVALNET_SEPA_CUSTOM_CSS; ?>" />
|
58 |
+
<input type="hidden" id="original_sepa_customstyle_cssval" value="<?php echo NOVALNET_SEPA_CUSTOM_CSS_STYLE; ?>" />
|
59 |
+
<input type="hidden" name="novalnet_sepa_owner" id="novalnet_sepa_owner" value="" />
|
60 |
+
<input type="hidden" name="novalnet_sepa_pan_hash" id="novalnet_sepa_pan_hash" value="" />
|
61 |
+
<input type="hidden" name="novalnet_sepa_unique_id" id="novalnet_sepa_unique_id" value="" />
|
62 |
+
<input type="hidden" name="novalnet_sepa_mandate_ref" id="novalnet_sepa_mandate_ref" value="" />
|
63 |
+
<input type="hidden" name="novalnet_sepa_mandate_date" id="novalnet_sepa_mandate_date" value="" />
|
64 |
+
<input type="hidden" name="novalnet_sepa_iban_confirmed" id="novalnet_sepa_iban_confirmed" value="" />
|
65 |
+
<input type="hidden" name="novalnet_sepa_field_validator" id="novalnet_sepa_field_validator" value="" />
|
66 |
+
<!--}}} Novalnet SEPA Form -->
|
67 |
+
</fieldset>
|
app/design/frontend/default/default/template/novalnet/payment/method/form/Sepaform.phtml
ADDED
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Novalnet
|
22 |
+
* @package Novalnet_Payment
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_code = Novalnet_Payment_Model_Config::NN_SEPA;
|
29 |
+
?>
|
30 |
+
<script type="text/javascript">
|
31 |
+
function updateHiddenElements(elements) {
|
32 |
+
|
33 |
+
var sepa_owner=0;var sepa_accountno=0;var sepa_bankcode=0;var sepa_iban=0;var sepa_swiftbic=0; var sepa_hash=0; var sepa_country=0;
|
34 |
+
if(document.getElementById("novalnet_sepa_owner").value!= '')sepa_owner=1;
|
35 |
+
if(document.getElementById("novalnet_sepa_accountno").value!= '')sepa_accountno=1;
|
36 |
+
if(document.getElementById("novalnet_sepa_bankcode").value!= '')sepa_bankcode=1;
|
37 |
+
if(document.getElementById("novalnet_sepa_iban").value!= '')sepa_iban=1;
|
38 |
+
if(document.getElementById("novalnet_sepa_swiftbic").value!= '')sepa_swiftbic=1;
|
39 |
+
if(document.getElementById("nnsepa_hash").value!= '')sepa_hash=1;
|
40 |
+
if(document.getElementById("novalnet_sepa_country").value!= '') {
|
41 |
+
var country = document.getElementById("novalnet_sepa_country");
|
42 |
+
sepa_country = 1+'-'+country.options[country.selectedIndex].value;
|
43 |
+
}
|
44 |
+
|
45 |
+
var novalnet_sepa_field_validator = sepa_owner+','+sepa_accountno+','+sepa_bankcode+','+sepa_iban+','+sepa_swiftbic+','+sepa_hash+','+sepa_country;
|
46 |
+
|
47 |
+
for (var i=0; i<elements.length; i++) {
|
48 |
+
switch (elements[i].name) {
|
49 |
+
case 'novalnet_sepa_field_validator':
|
50 |
+
elements[i].value = novalnet_sepa_field_validator;
|
51 |
+
break;
|
52 |
+
case 'novalnet_sepa_owner':
|
53 |
+
elements[i].value = document.getElementById('novalnet_sepa_owner').value;
|
54 |
+
break;
|
55 |
+
case 'novalnet_sepa_pan_hash':
|
56 |
+
elements[i].value = document.getElementById('nnsepa_hash').value;
|
57 |
+
break;
|
58 |
+
case 'novalnet_sepa_unique_id':
|
59 |
+
elements[i].value = document.getElementById('nnsepa_unique_id').value;
|
60 |
+
break;
|
61 |
+
case 'novalnet_sepa_mandate_ref':
|
62 |
+
elements[i].value = document.getElementById('nnsepa_mandate_ref').value;
|
63 |
+
break;
|
64 |
+
case 'novalnet_sepa_mandate_date':
|
65 |
+
elements[i].value = document.getElementById('nnsepa_mandate_date').value;
|
66 |
+
break;
|
67 |
+
case 'novalnet_sepa_iban_confirmed':
|
68 |
+
elements[i].value = document.getElementById('nnsepa_iban_confirmed').value;
|
69 |
+
break;
|
70 |
+
}
|
71 |
+
}
|
72 |
+
return true;
|
73 |
+
}
|
74 |
+
</script>
|
75 |
+
<!--{{{ Payment Description -->
|
76 |
+
<ul>
|
77 |
+
<li style="margin: 0 0 8px;">
|
78 |
+
<?php if (Mage::helper('novalnet_payment')->getModel('novalnetSepa')->_getConfigData('sepatypes') == 'DD_SEPA') {
|
79 |
+
echo $this->__('Your account will be debited upon delivery of goods.');
|
80 |
+
} else {
|
81 |
+
echo $this->__('Please note that your account will be debited after receiving the signed mandate from you.');
|
82 |
+
}
|
83 |
+
?>
|
84 |
+
</li>
|
85 |
+
<li style="margin: 0 0 8px;">
|
86 |
+
<?php echo Mage::helper('novalnet_payment')->getModel('novalnetSepa')->_getConfigData('booking_reference') ?>
|
87 |
+
</li>
|
88 |
+
<?php if (Mage::helper('novalnet_payment')->getModel('novalnetSepa')->_getConfigData('live_mode', true) == 0): ?>
|
89 |
+
<li style="margin: 0 0 8px;">
|
90 |
+
<div style="font-weight:bold;color:red;font-size:12px;">
|
91 |
+
<?php echo $this->__('Please Note: This transaction will run on TEST MODE and the amount will not be charged') ?>
|
92 |
+
</div>
|
93 |
+
</li>
|
94 |
+
<?php endif ?>
|
95 |
+
</ul>
|
96 |
+
<!--}}} Payment Description -->
|
97 |
+
|
98 |
+
<!--{{{ Novalnet Iframe -->
|
99 |
+
<?php echo Mage::helper('novalnet_payment')->getModel('novalnetSepa')->getNovalnetIframe() ?>
|
100 |
+
<!--}}} Novalnet Iframe -->
|
app/design/frontend/default/default/template/novalnet/payment/method/form/Sofortueberweisung.phtml
CHANGED
@@ -32,20 +32,15 @@ $helper = Mage::helper('novalnet_payment');
|
|
32 |
<fieldset class="form-list">
|
33 |
<!--{{{ Payment Logo -->
|
34 |
<div>
|
35 |
-
<a href="<?php echo $helper->getNovalnetUrl() ?>" target="_new" style="text-decoration:none;">
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
else
|
40 |
-
$image = "/img/sofort_Logo_en.png";
|
41 |
-
?>
|
42 |
-
<?php $imgpath = $helper->getNovalnetPaymentFormLogoUrl() . $image; ?>
|
43 |
-
<img style="height:32px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
44 |
</a>
|
45 |
</div>
|
46 |
<!--}}} Payment Logo -->
|
47 |
<!--{{{ Payment Description -->
|
48 |
-
<div>
|
49 |
<ul id="payment_form_<?php echo $_code ?>" style="display:none;">
|
50 |
<li>
|
51 |
<?php echo $this->__('You will be redirected to Novalnet AG website when you place an order.') ?>
|
32 |
<fieldset class="form-list">
|
33 |
<!--{{{ Payment Logo -->
|
34 |
<div>
|
35 |
+
<a href="<?php echo $helper->getNovalnetUrl() ?>" target="_new" style="text-decoration:none;">
|
36 |
+
<?php $image = "sofort_Logo.png";
|
37 |
+
$imgpath = $helper->getNovalnetPaymentFormLogoUrl() . $image; ?>
|
38 |
+
<img style="height:32px;" src="<?php echo $imgpath ?>" alt="<?php echo $this->getMethod()->getConfigData('title') ?>" title="<?php echo $this->getMethod()->getConfigData('title') ?>" />
|
|
|
|
|
|
|
|
|
|
|
39 |
</a>
|
40 |
</div>
|
41 |
<!--}}} Payment Logo -->
|
42 |
<!--{{{ Payment Description -->
|
43 |
+
<div>
|
44 |
<ul id="payment_form_<?php echo $_code ?>" style="display:none;">
|
45 |
<li>
|
46 |
<?php echo $this->__('You will be redirected to Novalnet AG website when you place an order.') ?>
|
app/design/frontend/default/default/template/novalnet/payment/method/info/Safetypay.phtml
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Novalnet
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
$_info = $this->getInfo();
|
28 |
+
if ($_info):
|
29 |
+
?>
|
30 |
+
<?php if ($this->getAdditionalData('NnTestOrder'))
|
31 |
+
echo '<div style="color:white;font-weight:bold;background:red;padding:5px 10px;text-align:center;font-size:15px">!', $this->__('Testorder'), '!</div>'
|
32 |
+
?>
|
33 |
+
<?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?><br />
|
34 |
+
<?php if ($_info->getLastTransId() != "") echo $this->__('TID: %s', $this->htmlEscape($_info->getLastTransId())) . '<br />' ?>
|
35 |
+
<?php if ($this->getAdditionalData('NnComments')) { ?>
|
36 |
+
<?php echo $this->getAdditionalData('NnComments') ?><br />
|
37 |
+
<?php } ?>
|
38 |
+
<?php else: ?>
|
39 |
+
<?php echo $this->__('Error in getting payment method'); ?>
|
40 |
+
<?php endif; ?>
|
app/design/frontend/default/default/template/novalnet/payment/method/info/Sepa.phtml
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* Part of the Paymentmodule of Novalnet AG
|
16 |
+
* https://www.novalnet.de
|
17 |
+
* If you have found this script usefull a small
|
18 |
+
* recommendation as well as a comment on merchant form
|
19 |
+
* would be greatly appreciated.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Novalnet
|
23 |
+
* @copyright Novalnet AG
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_info = $this->getInfo();
|
29 |
+
if ($_info): ?>
|
30 |
+
<?php if ($this->getAdditionalData('NnTestOrder'))
|
31 |
+
echo '<div style="color:white;font-weight:bold;background:red;padding:5px 10px;text-align:center;font-size:15px">!',$this->__('Testorder'),'!</div>' ?>
|
32 |
+
<?php echo $this->htmlEscape($this->getPaymentMethod()) ?><br />
|
33 |
+
<?php if ($_info->getLastTransId()!="") echo $this->__('TID: %s', $this->htmlEscape($_info->getLastTransId())).'<br />' ?>
|
34 |
+
<?php if ($this->getAdditionalData('NnComments')) echo $this->getAdditionalData('NnComments') ?>
|
35 |
+
<?php if ($this->getAdditionalData('NnSepaDueDate')) echo $this->__('Mandate Signature Date : '). $this->getAdditionalData('NnSepaDueDate') ?><br />
|
36 |
+
<?php if ($_info->getLastTransId()!="" && $this->getAdditionalData('NnSepaMandateUrl')) echo $this->__('Download your mandate').'<a href="'.$this->getAdditionalData('NnSepaMandateUrl').'">'.$this->__('Click here').'</a>'; ?>
|
37 |
+
<?php else: ?>
|
38 |
+
<?php echo $this->__('Error in getting payment method') ?>
|
39 |
+
<?php endif; ?>
|
app/locale/de_DE/Novalnet_Payment.csv
CHANGED
@@ -3,7 +3,6 @@ accepted,wird akzeptiert,
|
|
3 |
Account Holder,Kontoinhaber,
|
4 |
Account Holder: %s,Kontoinhaber: %s,
|
5 |
Account Holder2,Kontoinhaber,
|
6 |
-
Account Number,Kontonummer,
|
7 |
Account Number: %s,Kontonummer: %s,
|
8 |
acdc Check,ACDC-Check,
|
9 |
ACDC-Check,ACDC-Check aktivieren,
|
@@ -56,9 +55,11 @@ Direct Debit Austria,Lastschrift Österreich,
|
|
56 |
Direct Debit Austria PCI,Lastschrift Österreich PCI,
|
57 |
Direct Debit German,Lastschrift Deutschland,
|
58 |
Direct Debit German PCI,Lastschrift Deutschland PCI,
|
|
|
|
|
59 |
Due at,Gültig bis,
|
60 |
Due Date,Fälligkeitsdatum,
|
61 |
-
|
62 |
Email address missing,Emailadresse nicht vorhanden,
|
63 |
Enable credit rating check,Bonitätsprüfung aktivieren,
|
64 |
Enable Novalnet Module,Modul aktivieren,
|
@@ -104,6 +105,8 @@ Novalnet Credit Card PCI,Novalnet Kreditkarte PCI,
|
|
104 |
Novalnet Direct Debit Austria,Novalnet Lastschrift Österreich,
|
105 |
Novalnet Direct Debit Austria PCI,Novalnet Lastschrift Österreich PCI,
|
106 |
Novalnet Direct Debit German,Novalnet Lastschrift Deutschland,
|
|
|
|
|
107 |
Novalnet Direct Debit German PCI,Novalnet Lastschrift Deutschland PCI,
|
108 |
Novalnet Ideal,Novalnet iDEAL,
|
109 |
Novalnet Instant Bank Transfer,Novalnet Sofortüberweisung,
|
@@ -195,7 +198,7 @@ You will be redirected to Novalnet AG website when you place an order.,"Sie werd
|
|
195 |
You will shortly receive a PIN by phone / SMS. Please enter the PIN in the appropriate text box,Sie erhalten in Kürze eine PIN per Telefon/SMS. Geben Sie bitte die PIN in das entsprechende Textfeld ein,
|
196 |
Your account will be debited upon delivery of goods.,Die Belastung Ihres Kontos erfolgt mit dem Versand der Ware.,
|
197 |
Your amount will be added in your telephone bill when you place the order,"Ihr Betrag wird zu Ihrer Telefonrechnung hinzugefügt werden, wenn Sie die Bestellung aufgeben.",
|
198 |
-
|
199 |
Credit card holder,Kreditkarteninhaber,
|
200 |
Card number,Kartennummer,
|
201 |
Authentication Failed,Geben Sie bitte gültige Kreditkartendaten ein!,
|
@@ -234,7 +237,7 @@ Please fill the customer name/email fields.,Geben Sie bitte den Kundennamen / di
|
|
234 |
"Notification password;"" """"Benachrichtigungspasswort""""""",,
|
235 |
"Order No.: ;""Best. """,,
|
236 |
"Order: ;""Best. """,,
|
237 |
-
"Paycode information;""Ware wird umgehend nach Bezahlung mit paycode versandt. Sie benötigen erst zum Zeitpunkt der Bezahlung Ihre Online-Banking-Daten (PIN und
|
238 |
TAN).""",,
|
239 |
"Paycode: %s;""Paycode: %s""",,
|
240 |
"payment error;""Fehler bei Bezahlung""",,
|
@@ -252,7 +255,7 @@ TAN).""",,
|
|
252 |
"Save payment;""sicher und schnell bezahlen""",,
|
253 |
"Sofortueberweisung;""Sofortüberweisung""",,
|
254 |
"Sofortueberweisung payment loaded;""Sofortüberweisung wurde geladen""",,
|
255 |
-
"Theres no password defined;""Es ist kein Passwort definiert! Bitte tragen Sie das erstellte/angelegte Passwort aus dem Kundenbereich bei sofortüberweisung.de in
|
256 |
das entsprechende Feld für die Konfiguration ein.""",,
|
257 |
"Transaction Id: %s;""Transaktions Id: %s""",,
|
258 |
"Transaction Id: %s;""Transaktions Id: %s""",,
|
@@ -322,7 +325,7 @@ Please fill the customer name/email fields.;”Geben Sie bitte den Kundennamen /
|
|
322 |
"Phonepayment;""Per Telefon""",,
|
323 |
"Please click on continue after your successive call;""Nach Ihrem erfolgreichen Anruf klicken Sie bitte unten auf Weiter""",,
|
324 |
"Please dial this number;""Bitte rufen Sie diese Telefonnummer an""",,
|
325 |
-
"Please note that the Transfer can only be identified with the above mentioned Reference;""Bitte beachten Sie", dass die Ueberweisung nur bearbeitet werden kann,"
|
326 |
wenn der oben angegebene Verwendungszweck verwendet wird"""
|
327 |
"Please transfer the amount at the latest, untill;""Bitte ueberweisen Sie den Betrag spaetestens bis zum""",,
|
328 |
"Please transfer the amount to following account;""Bitte ueberweisen sie den Betrag auf folgendes Konto""",,
|
@@ -347,6 +350,7 @@ Please fill the customer name/email fields.;”Geben Sie bitte den Kundennamen /
|
|
347 |
Not possible,Nicht verfügbar im Backend,
|
348 |
Account holder: %s,Kontoinhaber: %s,
|
349 |
Account number,Kontonummer,
|
|
|
350 |
Account number: %s,Kontonummer: %s,
|
351 |
Bank code,Bankleitzahl,
|
352 |
Bank code: %s,Bankleitzahl: %s,
|
@@ -373,7 +377,7 @@ No registration,keine Registrierung notwendig,
|
|
373 |
Notification password," ""Benachrichtigungspasswort""",
|
374 |
Order No.: ,Best. ,
|
375 |
Order: ,Best. ,
|
376 |
-
Paycode information,"Ware wird umgehend nach Bezahlung mit paycode versandt. Sie benötigen erst zum Zeitpunkt der Bezahlung Ihre Online-Banking-Daten (PIN und
|
377 |
TAN).",
|
378 |
Paycode: %s,Paycode: %s,
|
379 |
payment error,Fehler bei Bezahlung,
|
@@ -391,7 +395,7 @@ Projekt Id,Projekt ID,
|
|
391 |
Save payment,sicher und schnell bezahlen,
|
392 |
Sofortueberweisung,Sofortüberweisung,
|
393 |
Sofortueberweisung payment loaded,Sofortüberweisung wurde geladen,
|
394 |
-
Theres no password defined,"Es ist kein Passwort definiert! Bitte tragen Sie das erstellte/angelegte Passwort aus dem Kundenbereich bei sofortüberweisung.de in
|
395 |
das entsprechende Feld für die Konfiguration ein.",
|
396 |
Transaction Id: %s,Transaktions Id: %s,
|
397 |
Transaction Id: %s,Transaktions Id: %s,
|
@@ -408,4 +412,59 @@ Manual limit amount / Product-ID2 / Tariff-ID2 is not valid,Ungültige Bestellgr
|
|
408 |
Basic parameter not valid,Ungültige Parameter für die Händlereinstellungen,
|
409 |
Novalnet Payment access key,Novalnet Paymentzugriffsschlüssel,
|
410 |
Please enter the Telephone / Mobilenumber,Geben Sie bitte die Telefon- / Handynummer ein,
|
411 |
-
Please enter the E-Mail Address,Bitte geben Sie die E-Mail-Adresse
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
Account Holder,Kontoinhaber,
|
4 |
Account Holder: %s,Kontoinhaber: %s,
|
5 |
Account Holder2,Kontoinhaber,
|
|
|
6 |
Account Number: %s,Kontonummer: %s,
|
7 |
acdc Check,ACDC-Check,
|
8 |
ACDC-Check,ACDC-Check aktivieren,
|
55 |
Direct Debit Austria PCI,Lastschrift Österreich PCI,
|
56 |
Direct Debit German,Lastschrift Deutschland,
|
57 |
Direct Debit German PCI,Lastschrift Deutschland PCI,
|
58 |
+
Direct Debit SEPA,Lastschrift SEPA,
|
59 |
+
Direct Debit SEPA Signed,Lastschrift SEPA Signed,
|
60 |
Due at,Gültig bis,
|
61 |
Due Date,Fälligkeitsdatum,
|
62 |
+
E-mail Address,E-Mail Adresse,
|
63 |
Email address missing,Emailadresse nicht vorhanden,
|
64 |
Enable credit rating check,Bonitätsprüfung aktivieren,
|
65 |
Enable Novalnet Module,Modul aktivieren,
|
105 |
Novalnet Direct Debit Austria,Novalnet Lastschrift Österreich,
|
106 |
Novalnet Direct Debit Austria PCI,Novalnet Lastschrift Österreich PCI,
|
107 |
Novalnet Direct Debit German,Novalnet Lastschrift Deutschland,
|
108 |
+
Novalnet Direct Debit SEPA,Novalnet Lastschrift SEPA,
|
109 |
+
Novalnet Direct Debit SEPA Signed,Novalnet Lastschrift SEPA Signed,
|
110 |
Novalnet Direct Debit German PCI,Novalnet Lastschrift Deutschland PCI,
|
111 |
Novalnet Ideal,Novalnet iDEAL,
|
112 |
Novalnet Instant Bank Transfer,Novalnet Sofortüberweisung,
|
198 |
You will shortly receive a PIN by phone / SMS. Please enter the PIN in the appropriate text box,Sie erhalten in Kürze eine PIN per Telefon/SMS. Geben Sie bitte die PIN in das entsprechende Textfeld ein,
|
199 |
Your account will be debited upon delivery of goods.,Die Belastung Ihres Kontos erfolgt mit dem Versand der Ware.,
|
200 |
Your amount will be added in your telephone bill when you place the order,"Ihr Betrag wird zu Ihrer Telefonrechnung hinzugefügt werden, wenn Sie die Bestellung aufgeben.",
|
201 |
+
Please enable ACDC Check.,Aktivieren Sie bitte den ACDC-Check.,
|
202 |
Credit card holder,Kreditkarteninhaber,
|
203 |
Card number,Kartennummer,
|
204 |
Authentication Failed,Geben Sie bitte gültige Kreditkartendaten ein!,
|
237 |
"Notification password;"" """"Benachrichtigungspasswort""""""",,
|
238 |
"Order No.: ;""Best. """,,
|
239 |
"Order: ;""Best. """,,
|
240 |
+
"Paycode information;""Ware wird umgehend nach Bezahlung mit paycode versandt. Sie benötigen erst zum Zeitpunkt der Bezahlung Ihre Online-Banking-Daten (PIN und
|
241 |
TAN).""",,
|
242 |
"Paycode: %s;""Paycode: %s""",,
|
243 |
"payment error;""Fehler bei Bezahlung""",,
|
255 |
"Save payment;""sicher und schnell bezahlen""",,
|
256 |
"Sofortueberweisung;""Sofortüberweisung""",,
|
257 |
"Sofortueberweisung payment loaded;""Sofortüberweisung wurde geladen""",,
|
258 |
+
"Theres no password defined;""Es ist kein Passwort definiert! Bitte tragen Sie das erstellte/angelegte Passwort aus dem Kundenbereich bei sofortüberweisung.de in
|
259 |
das entsprechende Feld für die Konfiguration ein.""",,
|
260 |
"Transaction Id: %s;""Transaktions Id: %s""",,
|
261 |
"Transaction Id: %s;""Transaktions Id: %s""",,
|
325 |
"Phonepayment;""Per Telefon""",,
|
326 |
"Please click on continue after your successive call;""Nach Ihrem erfolgreichen Anruf klicken Sie bitte unten auf Weiter""",,
|
327 |
"Please dial this number;""Bitte rufen Sie diese Telefonnummer an""",,
|
328 |
+
"Please note that the Transfer can only be identified with the above mentioned Reference;""Bitte beachten Sie", dass die Ueberweisung nur bearbeitet werden kann,"
|
329 |
wenn der oben angegebene Verwendungszweck verwendet wird"""
|
330 |
"Please transfer the amount at the latest, untill;""Bitte ueberweisen Sie den Betrag spaetestens bis zum""",,
|
331 |
"Please transfer the amount to following account;""Bitte ueberweisen sie den Betrag auf folgendes Konto""",,
|
350 |
Not possible,Nicht verfügbar im Backend,
|
351 |
Account holder: %s,Kontoinhaber: %s,
|
352 |
Account number,Kontonummer,
|
353 |
+
NnAccount number,Kontonummer,
|
354 |
Account number: %s,Kontonummer: %s,
|
355 |
Bank code,Bankleitzahl,
|
356 |
Bank code: %s,Bankleitzahl: %s,
|
377 |
Notification password," ""Benachrichtigungspasswort""",
|
378 |
Order No.: ,Best. ,
|
379 |
Order: ,Best. ,
|
380 |
+
Paycode information,"Ware wird umgehend nach Bezahlung mit paycode versandt. Sie benötigen erst zum Zeitpunkt der Bezahlung Ihre Online-Banking-Daten (PIN und
|
381 |
TAN).",
|
382 |
Paycode: %s,Paycode: %s,
|
383 |
payment error,Fehler bei Bezahlung,
|
395 |
Save payment,sicher und schnell bezahlen,
|
396 |
Sofortueberweisung,Sofortüberweisung,
|
397 |
Sofortueberweisung payment loaded,Sofortüberweisung wurde geladen,
|
398 |
+
Theres no password defined,"Es ist kein Passwort definiert! Bitte tragen Sie das erstellte/angelegte Passwort aus dem Kundenbereich bei sofortüberweisung.de in
|
399 |
das entsprechende Feld für die Konfiguration ein.",
|
400 |
Transaction Id: %s,Transaktions Id: %s,
|
401 |
Transaction Id: %s,Transaktions Id: %s,
|
412 |
Basic parameter not valid,Ungültige Parameter für die Händlereinstellungen,
|
413 |
Novalnet Payment access key,Novalnet Paymentzugriffsschlüssel,
|
414 |
Please enter the Telephone / Mobilenumber,Geben Sie bitte die Telefon- / Handynummer ein,
|
415 |
+
Please enter the E-Mail Address,Bitte geben Sie die E-Mail-Adresse,
|
416 |
+
Information,Informationen,
|
417 |
+
Configuration-wizard,Konfigurationsprogramm,
|
418 |
+
Risk and Control,Risikomanagement und Kontrolle,
|
419 |
+
Novalnet Order Information,Novalnet Bestellinformationen,
|
420 |
+
Novalnet Response Data,Novalnet Rückgabedaten,
|
421 |
+
Novalnet Request Data,Novalnet Aufrufdaten,
|
422 |
+
Novalnet Additional Information,Novalnet Zusätzliche Informationen,
|
423 |
+
Novalnet Transactions Log,Novalnet - Transaktions-Log,
|
424 |
+
Novalnet Transactions Overview,Novalnet - Transaktionsäbersicht,
|
425 |
+
Transaction Status,Status der Transaktion,
|
426 |
+
Selected payment methods will be in Live Mode,Für ausgewählten Zahlungsarten wird der Live-Modus gesetzt,
|
427 |
+
Account Number,Kontonummer,
|
428 |
+
Novalnet Transactions,Novalnet Transaktions,
|
429 |
+
Novalnet - Transaction Overview,Novalnet - Transaktionsäbersicht,
|
430 |
+
Novalnet - Transaction Log,Novalnet - Transaktions-Log,
|
431 |
+
Novalnet Shop Information,Novalnet Shop Informationen,
|
432 |
+
Novalnet Payment,Novalnet Zahlung,
|
433 |
+
Enable the payment Method and activate the Risk and Control option,Zahlungsart und Risikomanagement-Einstellungen aktivieren,
|
434 |
+
SEPA Payment Type,SEPA-Zahlungstyp,
|
435 |
+
SEPA Payment duration in days,SEPA Zahlungsdauer in Tagen,
|
436 |
+
Please confirm IBAN & BIC,Bitte bestätigen Sie IBAN ünd BIC,
|
437 |
+
Enter Mandate signature date in the format of YYYY-MM-DD,Geben Mandat Signatur Datum im Format YYYY-MM-DD,
|
438 |
+
Mandate Signature Date : ,Mandat Signatur Datum : ,
|
439 |
+
Mandate Signature Date,Mandat Signatur Datum ,
|
440 |
+
Mandate signature date is invalid,Mandat Signatur Datum ist ungültige,
|
441 |
+
Novalnet Mandate confirmed,Novalnet Mandat bestätigt,
|
442 |
+
Download your mandate,Ihr Mandat als PDF : ,
|
443 |
+
Enter the Due date in days it should be greater than 6. If you leave as empty means default value will be considered as 7 days.,Tragen Sie das Fälligkeitsdatum in Tagen ein es sollten mehr als 6 Tage sein. Eine fehlerhafte Eingabe wird automatisch als 7 Tage übernommen.,
|
444 |
+
Please note the transaction will be completed immediately with out mandate.,Bitte nehmen Sie zur Kenntnis dass die Transaktion auch ohne Auftrag umgehend ausgeführt wird.,
|
445 |
+
Please note that transaction will not be completed. the transaction will be completed on confirming the mandate with mandate date.,Bitte nehmen Sie zur Kenntnis dass der Auftrag nicht ausgeführt wird. Die Transaktion wird ausgeführt, sobald eine Auftragsbestätigung mit Auftragsdatum vorliegt.
|
446 |
+
Your account will be debited upon delivery of goods.,Die Belastung Ihres Kontos erfolgt mit dem Versand der Ware.,
|
447 |
+
Please note that your account will be debited after receiving the signed mandate from you.,"Bitte nehmen Sie zur Kenntnis, dass Ihr Konto nach dem Eingehen Ihres unterschriebenen Auftrags belasted wird",
|
448 |
+
SEPA Due date is not valid,SEPA Fälligkeitsdatum Ungültiger,
|
449 |
+
Click here,Klicken Sie hier,
|
450 |
+
SEPA Payment type Desc,"<b>Lastschrift SEPA :</b> Diese wird in Echtzeit inkl. des SEPA-Lastschriftmandats (elektronische Übermittlung) umgehend ausgeführt. <br /><b>Lastschrift SEPA Signed :</b> Bitte nehmen Sie zur Kenntnis, dass bei diesem Prozess zuerst nur die Bestellung ausgeführt wird.<br />Bei einer erfolgreichen Bestellung erhält der Endkunde einen Link zum Downloaden des SEPA-Mandatsformulars und soll dieses vollständig ausgefüllt per Post an Sie senden. Sobald Sie das Mandat erhalten haben, bestätigen Sie dies manuell im Admin-Bereich und geben das Mandatsdatum ein. Erst dann wird die Zahlung durch Novalnet ausgeführt.", bestätigen Sie dies manuell im Admin-Bereich und geben das Mandatsdatum ein.
|
451 |
+
Erst dann wird die Zahlung durch Novalnet ausgeführt.,,
|
452 |
+
Enable Account Check Direct Control (ACDC),ACDC (Account Check Direct Control)-Check aktivieren,
|
453 |
+
Activates the Account Check Direct Control at the payment process,Aktiviert den ACDC (Account Check Direct Control)-Check während des Bezahlvorgangs.,
|
454 |
+
Transaction reference 1,1. Verwendungszweck,
|
455 |
+
Transaction reference 2,2. Verwendungszweck,
|
456 |
+
This will appear in the transactions details / account statement,Dies erscheint in den Transaktionsdetails / im Kontoauszug.,
|
457 |
+
Referrer ID Desc,"ID des Partners bei Novalnet, der Ihnen Novalnet empfohlen hat (nur Ziffern erlaubt, ansonsten leer lassen) ",
|
458 |
+
Second Product ID in Novalnet to use the manual check condition,"Zweite Produkt-ID bei Novalnet, um Buchungen manuell zu überprüfen.",
|
459 |
+
Second Tariff ID in Novalnet to use the manual check condition,"Zweite Tarif-ID bei Novalnet, um Buchungen manuell zu überprüfen.",
|
460 |
+
Manual checking of order,"Manuelle Überprüfung der Bestellung ab einem Betrag (in Cent) (Anmerkung: dies ist eine Zahlung on hold, welche Sie manuell überprüfen und aktivieren müssen.)",
|
461 |
+
Manual checking of order Desc,"Alle Bestellungen über diesem Betrag werden von Novalnet on hold gesetzt. Erst nach Ihrer manuellen Überprüfung und Bestätigung bei Novalnet, wird die Buchung ausgeführt.",
|
462 |
+
Fraudprevention through PIN by Callback/SMS/E-Mail,Betrugsprävention durch PIN by Callback/SMS/E-Mail,
|
463 |
+
Auto refill the payment data entered in payment page,Eingabefelder des Bezahlformulars automatisch mit den Eingabedaten befüllen. (Auto-refill),
|
464 |
+
Second Tariff ID for manual check condition,"Zweite Tarif-ID, für manuell überprüfte Buchungen",
|
465 |
+
Referrer ID,Referrer-ID ,
|
466 |
+
Second Product ID for manual check condition,Zweite Produkt-ID für manuell überprüfte Buchungen ,
|
467 |
+
Information to the end customer (this will appear in the payment page),Informationen für den Endkunden (dies erscheint im Bezahlformular),
|
468 |
+
Iframe size of the payment page ,Größe des Iframe-Bezahlformulars,
|
469 |
+
SEPA Due Date description,"Tragen Sie das Fälligkeitsdatum in Tagen ein, es sollten mehr als 6 Tage sein. Eine fehlerhafte Eingabe wird automatisch als 7 Tage übernommen.",
|
470 |
+
Referrer ID is not valid,Ungültiger Wert für den Referrer-ID,
|
app/locale/en_US/Novalnet_Payment.csv
CHANGED
@@ -1,336 +1,342 @@
|
|
1 |
-
Enable Novalnet Module,Enable module
|
2 |
-
--Please Select--,--Please Select
|
3 |
-
accepted,accepted
|
4 |
-
Account Holder,Account Holder
|
5 |
-
Account Holder: %s,Account Holder: %s
|
6 |
-
Account Holder2,Account Holder
|
7 |
-
Account Number,Account Number
|
8 |
-
|
9 |
-
|
10 |
-
ACDC-Check
|
11 |
-
ACDC-Check
|
12 |
-
|
13 |
-
|
14 |
-
and
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
Bank
|
19 |
-
Bank Sorting Code
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
Callback
|
25 |
-
|
26 |
-
Card Verification Number
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
Country
|
33 |
-
|
34 |
-
Credit Card
|
35 |
-
Credit
|
36 |
-
Credit card holder
|
37 |
-
Credit
|
38 |
-
Credit Card Number
|
39 |
-
Credit Card Number:
|
40 |
-
Credit Card
|
41 |
-
Credit Card
|
42 |
-
Credit Card Type
|
43 |
-
Credit Card
|
44 |
-
|
45 |
-
|
46 |
-
Customer
|
47 |
-
Customer
|
48 |
-
Customer was
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
Due
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
Expiration Date
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
Gateway Timeout
|
67 |
-
|
68 |
-
"Hinweis: Nach einem Klick auf ""Fortsetzen"" erhalten Sie in Kürze
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
Novalnet
|
85 |
-
Novalnet Credit Card
|
86 |
-
Novalnet Credit Card
|
87 |
-
Novalnet
|
88 |
-
Novalnet
|
89 |
-
Novalnet Direct Debit
|
90 |
-
Novalnet Direct Debit Austria
|
91 |
-
Novalnet Direct Debit
|
92 |
-
Novalnet Direct Debit German
|
93 |
-
Novalnet
|
94 |
-
Novalnet Ideal,Novalnet
|
95 |
-
Novalnet
|
96 |
-
Novalnet
|
97 |
-
Novalnet
|
98 |
-
Novalnet Live Mode
|
99 |
-
Novalnet
|
100 |
-
Novalnet
|
101 |
-
Novalnet
|
102 |
-
Novalnet Minimum
|
103 |
-
Novalnet Minimum Orders Count
|
104 |
-
Novalnet
|
105 |
-
Novalnet
|
106 |
-
Novalnet Phonepayment
|
107 |
-
Novalnet
|
108 |
-
Novalnet Prepayment,Novalnet Prepayment
|
109 |
-
Novalnet
|
110 |
-
Novalnet
|
111 |
-
Novalnet
|
112 |
-
|
113 |
-
|
114 |
-
Order
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
Payment
|
120 |
-
Payment from
|
121 |
-
|
122 |
-
PAYPAL API
|
123 |
-
PAYPAL API
|
124 |
-
|
125 |
-
|
126 |
-
PIN
|
127 |
-
|
128 |
-
Please
|
129 |
-
Please
|
130 |
-
Please
|
131 |
-
Please
|
132 |
-
Please
|
133 |
-
Please
|
134 |
-
Please
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
Second Novalnet
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
The
|
148 |
-
The
|
149 |
-
|
150 |
-
This
|
151 |
-
This is
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
You
|
159 |
-
You
|
160 |
-
You will
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
,
|
167 |
-
|
168 |
-
|
169 |
-
Account
|
170 |
-
Account number
|
171 |
-
|
172 |
-
Bank code
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
Customer canceled payment
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
Minimum
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
Order
|
195 |
-
|
196 |
-
Paycode
|
197 |
-
|
198 |
-
|
199 |
-
Payment was
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
Please
|
204 |
-
Please fill out the account
|
205 |
-
Please fill out the
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
Sofortueberweisung
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
You will be redirected to
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
Country
|
235 |
-
|
236 |
-
Customer
|
237 |
-
Customer
|
238 |
-
Customer was
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
Minimum
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
Novalnet Merchant ID,Novalnet Merchant ID
|
258 |
-
Novalnet Product ID,Novalnet Product ID
|
259 |
-
Novalnet Tariff ID,Novalnet Tariff ID
|
260 |
-
Order Price not found,Order Price not found
|
261 |
-
Parameter missing,Parameter missing
|
262 |
-
Params (aryResponse) missing,Params (aryResponse) missing
|
263 |
-
Pay by Call,Pay by Call
|
264 |
-
Payment from applicable countries,Payment from applicable countries
|
265 |
-
Payment from Specific countries,Payment from Specific countries
|
266 |
-
Please click on continue after your successive call,Please click on continue after your successive call
|
267 |
-
Please dial the following number,Please dial the following number
|
268 |
-
Please note that the Transfer can only be identified with the above mentioned Reference,Please note that the Transfer can only be identified with the above mentioned Reference
|
269 |
-
Please wait for the Signal tone and hangup the reciever,Please wait for the Signal tone and hangup the reciever
|
270 |
-
Reference,Reference
|
271 |
-
Response contains no XML data,Response contains no XML data
|
272 |
-
Step,Step
|
273 |
-
Test Mode,Test mode
|
274 |
-
Testorder,Test order
|
275 |
-
This call costs,This call costs
|
276 |
-
This is a required field,This is a required field
|
277 |
-
Title,Title
|
278 |
-
User Group Excluded,User Group Excluded
|
279 |
-
Year,Year
|
280 |
-
You will be redirected to Novalnet AG in a few seconds,You will be redirected to Novalnet AG in a few seconds
|
281 |
-
|
282 |
-
Not possible,Not available
|
283 |
-
Account holder: %s,Kontoinhaber: %s
|
284 |
-
Account number,Account number
|
285 |
-
Account number: %s,Account number: %s
|
286 |
-
Bank code,Bank code
|
287 |
-
Bank code: %s,Bank code: %s
|
288 |
-
Cancelation of payment,Cancelation of payment
|
289 |
-
Create Invoice,Create Invoice after payment
|
290 |
-
Customer canceled payment,Customer canceled payment
|
291 |
-
Customer canceled payment or payment error,Customer canceled payment or payment error
|
292 |
-
Die Hashfunktionen sind nicht verfügbar!,Check Hash Failed
|
293 |
-
Error while saving this configuration: ,Error while saving this configuration
|
294 |
-
Expires,Expires
|
295 |
-
Fast shippiung,ships immediately from stock / immediate download
|
296 |
-
Gateway request error: %s,Gateway request error: %s
|
297 |
-
Get stock articles.,Stock quickly obtained due to immediate dispatch. Now you need your online banking data (PIN/TAN)
|
298 |
-
Holder,Account holder
|
299 |
-
Invalid amount for authorization.,Invalid amount for authorization
|
300 |
-
Item was successfully saved,Item was successfully saved
|
301 |
-
Maximum Order Total,Maximum Order Total
|
302 |
-
Minimum Order Total,Minimum Order Total
|
303 |
-
Minimum Orders Count,Minimum Orders Count
|
304 |
-
More,More information
|
305 |
-
Netherlands banks,Netherlands banks
|
306 |
-
No registration,no registration required
|
307 |
-
Notification password," ""Notification password"""
|
308 |
-
Order No.: ,Order No
|
309 |
-
Order: ,Order
|
310 |
-
Paycode information,Product is immediately sent after the payment with a paycode. Your online banking data is primarily needed when paying (PIN und TAN)
|
311 |
-
Paycode: %s,Paycode: %s
|
312 |
-
payment error,payment error
|
313 |
-
Payment was not successfull,Payment was not successfull. An error occured
|
314 |
-
Payment was successful.,Payment was successful
|
315 |
-
Paymentinformations: %s,Paymentinformations: %s
|
316 |
-
"Paymentinformations: %s;""Paymentinformations: %s"""
|
317 |
-
Please check your account data.,Please check your account data
|
318 |
-
Please fill out the account holder,Please fill in the account holder
|
319 |
-
Please fill out the account number,Please fill in the account number
|
320 |
-
Please fill out the bank code,Please fill in the bank code
|
321 |
-
Privacy,T??V-certified privacy
|
322 |
-
Project password,Project password
|
323 |
-
Projekt Id,Project ID
|
324 |
-
Save payment,pay safely und fast
|
325 |
-
Sofortueberweisung,Sofort??berweisung
|
326 |
-
Sofortueberweisung payment loaded,Sofortueberweisung was loaded
|
327 |
-
Theres no password defined,"There is no password defined. Please fill in the created/designed password from the customer area at sofort??berweisung.de in the
|
328 |
-
corresponding field for the configuration."
|
329 |
-
Transaction Id: %s,TID: %s
|
330 |
-
Use input check,Activate input check
|
331 |
-
User Id,User ID
|
332 |
-
You will be redirected to Sofortueberweisung in a few seconds.,You will be redirected to Sofortueberweisung in a few seconds
|
333 |
-
You will be redirected to Sofort??berweisung,You will be redirected to Sofort??berweisung
|
334 |
-
Your benefit:,Your advantages
|
335 |
-
Second Product Id/Tariff Id is missing/Invalid,Second Product Id/Tariff Id is missing/Invalid
|
336 |
-
Your amount will be added in your telephone bill when you place the order,Your amount will be added in your telephone bill when you place the order
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Enable Novalnet Module,Enable module,,
|
2 |
+
--Please Select--,--Please Select--,,
|
3 |
+
accepted,accepted,,
|
4 |
+
Account Holder,Account Holder,,
|
5 |
+
Account Holder: %s,Account Holder: %s,,
|
6 |
+
Account Holder2,Account Holder,,
|
7 |
+
Account Number,Account Number,,
|
8 |
+
NnAccount number,Account Number,,
|
9 |
+
Account Number: %s,Account Number: %s,,
|
10 |
+
acdc Check,ACDC-Check,,
|
11 |
+
ACDC-Check,Enable ACDC Control,,
|
12 |
+
ACDC-Check accepted,ACDC-Check accepted,,
|
13 |
+
Amount,Amount,,
|
14 |
+
"Amounts below 0,99 Euros and above 10,00 Euros cannot be processed and are not accepted","Amounts below 0,99 Euros and above 10,00 Euros cannot be processed and are not accepted",,
|
15 |
+
and is only possible from German Landline Telefon connection,and is only possible from German Landline Telefon connection,,
|
16 |
+
Antwort per Email,Email Reply,,
|
17 |
+
AT,Austria,,
|
18 |
+
Bank,Bank,,
|
19 |
+
Bank Sorting Code,Bank Code,,
|
20 |
+
Bank Sorting Code: %s,Bank Code: %s,,
|
21 |
+
Basic Parameter Missing,Basic Parameter Missing,,
|
22 |
+
Billing Addr. not found,Billing Addr. not found,,
|
23 |
+
Booking Reference,Booking Reference,,
|
24 |
+
Callback (Telefon & Handy),Callback (Landline & mobile),,
|
25 |
+
Callback session has expired. Please resubmit payment method,"Your PIN session has expired, Please try again",,
|
26 |
+
Card Verification Number,CVC (Verification Code),,
|
27 |
+
Card Verification Number: %s,CVC (Verification Code): %s,,
|
28 |
+
Cc Card Verification Number,CVC (Verification Code),,
|
29 |
+
CC,Credit Card,,
|
30 |
+
Cc,Credit Card,,
|
31 |
+
Comment,Comment,,
|
32 |
+
Country,Country,,
|
33 |
+
Country: ,Country:,,
|
34 |
+
Credit Card,Credit Card,,
|
35 |
+
Credit Card 3D-Secure,Credit Card 3D Secure,,
|
36 |
+
Credit card holder ,Credit Card holder,,
|
37 |
+
Credit card holder: %s,Credit Card holder: %s,,
|
38 |
+
Credit Card Number,Credit Card Number,,
|
39 |
+
Credit Card Number: %s,Credit Card Number: %s,,
|
40 |
+
Credit Card Number: xxxx-%s,Credit Card Number: xxxx-%s,,
|
41 |
+
Credit Card PCI,Credit Card PCI,,
|
42 |
+
Credit Card Type,Credit Card Type,,
|
43 |
+
Credit Card Type: %s,Credit Card Type: %s,,
|
44 |
+
Credit Card Types,Credit Card Types,,
|
45 |
+
Creditcard,Credit Card,,
|
46 |
+
Customer aborted payment process,Customer aborted payment process,,
|
47 |
+
Customer successfully returned from Novalnet,Customer successfully returned from Novalnet,,
|
48 |
+
Customer was redirected to Novalnet,Customer was redirected to Novalnet,,
|
49 |
+
Customer was rejected by Novalnet,Customer was rejected by Novalnet,,
|
50 |
+
DE,Germany,,
|
51 |
+
Did you called this number,Haben Sie diese Nummer angerufen,,
|
52 |
+
Die Hashfunktionen sind nicht verf?gbar!,Check Hash Failed,,
|
53 |
+
Direct Debit,Direct Debit,,
|
54 |
+
Due at,Due at,,
|
55 |
+
Due Date,Due Date,,
|
56 |
+
E-mail Address,Email Address,,
|
57 |
+
Email address missing,Email address missing,,
|
58 |
+
Enter your Novalnet Password,Enter your Novalnet payment access key,,
|
59 |
+
Error,Error,,
|
60 |
+
Excluded User Group Desc,"To exclude groups of customers, write their IDs here (separated by comma). You can find the IDs in the Customers → Customer Groups.",,
|
61 |
+
Expiration Date,Expiration Date,,
|
62 |
+
Expiration Date: %s/%s,Expiration Date: %s/%s,,
|
63 |
+
Cc Expiration Date,Expiration Date,,
|
64 |
+
Following steps are required to complete the telephone payment process,Following steps are required to complete the telephone payment process,,
|
65 |
+
Forgot PIN? [New PIN Request],Forgot PIN? [New PIN Request],,
|
66 |
+
Gateway Timeout,Gateway Timeout,,
|
67 |
+
Gateway Timeout in seconds,Gateway Timeout in seconds,,
|
68 |
+
"Hinweis: Nach einem Klick auf ""Fortsetzen"" erhalten Sie in Kürze ein EMAIL, das Sie sofort ohne änderung des Mailtexts beantworten müssen.","Note: Shortly, after clicking on ""Continue"" you will recieve an EMAIL, that you need to reply right away, without making any changes.",,
|
69 |
+
"Hinweis: Nach einem Klick auf ""Fortsetzen"" erhalten Sie in Kürze eine PIN per Telefon-/Handyrückruf oder SMS.","Note: Shortly, after clicking on ""Continue"" you will receive a PIN via a landline or mobile network call, or via SMS.",,
|
70 |
+
I accept the ACDC check,I accept the ACDC check,,
|
71 |
+
Ihre Telefon- / Mobil- Nummer,Phone Number,,
|
72 |
+
inclusive tax,including VAT,,
|
73 |
+
Instant Bank Transfer,Instant Bank Transfer,,
|
74 |
+
Invoice,Invoice,,
|
75 |
+
Manual checking amount in cents,Manual checking amount in cents,,
|
76 |
+
Minimum Amount For Callback (in cents),Minimum Amount Limit for Callback in cents,,
|
77 |
+
Month,Month,,
|
78 |
+
New order status,Set Order Status,,
|
79 |
+
Nicht aktiv,Not active,,
|
80 |
+
NN_Amount,Amount,,
|
81 |
+
NN_Bank,Bank,,
|
82 |
+
NN_Reference,Reference,,
|
83 |
+
Notice for Clients,Notice for Clients,,
|
84 |
+
Novalnet Auth Code,Novalnet Merchant Authorisation Code,,
|
85 |
+
Novalnet Credit Card,Novalnet Credit Card,,
|
86 |
+
Novalnet Credit Card 3D-Secure,Novalnet Credit Card 3D Secure,,
|
87 |
+
Novalnet Credit Card PCI,Novalnet Credit Card PCI,,
|
88 |
+
Novalnet Creditcard,Novalnet Credit Card,,
|
89 |
+
Novalnet Direct Debit,Novalnet Direct Debit,,
|
90 |
+
Novalnet Direct Debit Austria,Novalnet Direct Debit Austria,,
|
91 |
+
Novalnet Direct Debit Austria PCI,Novalnet Direct Debit Austria PCI,,
|
92 |
+
Novalnet Direct Debit German,Novalnet Direct Debit German,,
|
93 |
+
Novalnet Direct Debit German PCI,Novalnet Direct Debit German PCI,,
|
94 |
+
Novalnet Ideal,Novalnet iDeal,,
|
95 |
+
Novalnet Ideal,Novalnet iDEAL,,
|
96 |
+
Novalnet Instant Bank Transfer,Novalnet Instant Bank Transfer,,
|
97 |
+
Novalnet Invoice,Novalnet Invoice,,
|
98 |
+
Novalnet Live Mode,Enable Live Mode,,
|
99 |
+
Novalnet Live Mode Desc,You have to set the live mode to 'Yes' for real payments.,,
|
100 |
+
Novalnet Maximum Order Total,Maximum Order Total (in Euro),,
|
101 |
+
Novalnet Merchant ID,Novalnet Merchant ID,,
|
102 |
+
Novalnet Minimum Order Total,Minimum Order Total (in Euro),,
|
103 |
+
Novalnet Minimum Orders Count,Minimum Orders Count,,
|
104 |
+
Novalnet Minimum Orders Count Desc,"Default: ""0"" for disabled check | Minimum count of orders (in the past) needed for the customer to use this payment method.",,
|
105 |
+
Novalnet Password,Novalnet Payment access key,,
|
106 |
+
Novalnet Phonepayment,Novalnet Telephone Payment,,
|
107 |
+
Novalnet Phonepayment Desc,"If you like to test phonepayment contact Novalnet AG (Phone: 0049 89 923068320), please!",,
|
108 |
+
Novalnet Prepayment,Novalnet Prepayment,,
|
109 |
+
Novalnet Prepayment,Novalnet Prepayment,,
|
110 |
+
Novalnet Product ID,Novalnet Product ID,,
|
111 |
+
Novalnet Sort Order,Sort order of display,,
|
112 |
+
Novalnet Tariff Id,Novalnet Tariff ID,,
|
113 |
+
Only for foreign transfers,Only for international transfers,,
|
114 |
+
Order amount has been changed. Please resubmit the payment method,"You have changed the cart amount after getting PIN number, please try again with new call",,
|
115 |
+
Order Price not found,Order Price not found,,
|
116 |
+
Parameter missing,Parameter missing,,
|
117 |
+
Params (aryResponse) missing,Params (aryResponse) missing,,
|
118 |
+
Pay by Call,Pay by Call,,
|
119 |
+
Payment Duration,Payment period in days,,
|
120 |
+
Payment from applicable countries,Payment from applicable countries,,
|
121 |
+
Payment from Specific countries,Payment from Specific countries,,
|
122 |
+
PAYPAL API Password,PayPal API Password,,
|
123 |
+
PAYPAL API Signature,PayPal API Signature,,
|
124 |
+
PAYPAL API User Name,PayPal API User Name,,
|
125 |
+
Phonepayment,Phonepayment,,
|
126 |
+
PIN by Callback/SMS/E-Mail Desc,"When activated by PIN Callback / SMS / E-Mail the customer to enter their phone / mobile number / E-Mail requested. By phone or SMS, the customer receives a PIN from Novalnet AG, which must enter before ordering. If the PIN is valid, the payment process has been completed successfully, otherwise the customer will be prompted again to enter the PIN. This service is only available for customers from specified countries.",,
|
127 |
+
PIN you have entered is incorrect or empty,PIN you have entered is incorrect or empty,,
|
128 |
+
Please agree to all terms and conditions before ordering.,Please agree to all terms and conditions before ordering.,,
|
129 |
+
Please click on continue after your successive call,Please click on continue after your successive call,,
|
130 |
+
Please dial the following number,Please dial the following number,,
|
131 |
+
Please enter valid account details,Please enter valid account details,,
|
132 |
+
Please note that the Transfer can only be identified with the above mentioned Reference,Please note that the Transfer can only be identified with the above mentioned Reference,,
|
133 |
+
Please reply to the e-mail,"We have sent a email, please answer",,
|
134 |
+
Please transfer the invoice amount with the following information to our payment provider Novalnet AG,Please transfer the amount to the following information to our payment service Novalnet AG,,
|
135 |
+
Please wait for the Signal tone and hangup the reciever,Please wait for the Signal tone and hangup the reciever,,
|
136 |
+
Prepayment,Prepayment,,
|
137 |
+
Reference,Reference,,
|
138 |
+
Required Second Product Tariff,Product-ID2 and/or Tariff-ID2 missing,,
|
139 |
+
Response contains no XML data,Response contains no XML data,,
|
140 |
+
Second Novalnet Product ID,Second Product ID in Novalnet,,
|
141 |
+
Second Novalnet Tariff Id,Second Tariff ID in Novalnet,,
|
142 |
+
SMS (nur Handy),SMS (Mobile only),,
|
143 |
+
Step,Step,,
|
144 |
+
successful,successful,,
|
145 |
+
Test Mode,Test mode,,
|
146 |
+
Testorder,Test order,,
|
147 |
+
The amount will be booked immediately from your credit card.,The amount will be booked immediately from your credit card when you submit the order.,,
|
148 |
+
The Bank details will be emailed to you soon after the completion of checkout process,The Bank details will be emailed to you soon after the completion of checkout process.,,
|
149 |
+
The password is admin.novalnet.de:Master Data-Paymentzugriffsschluessel view.,"The password is admin.novalnet.de: Master Data - Paymentzugriffsschluessel view.Please consider this even if the live mode = 0, the order amount is deducted, if true account data is entered. This is due to the implementation by the Provider Payment Network AG.",,
|
150 |
+
This call costs,This call costs,,
|
151 |
+
This is a required field,This is a required field,,
|
152 |
+
This is not a valid pin code.,The entered PIN is incorrect or blank!,,
|
153 |
+
TID: %s,Novalnet Transaction ID: %s,,
|
154 |
+
to following account:,to following account:,,
|
155 |
+
User Group Excluded,User Group Excluded,,
|
156 |
+
What is this?,What is this?,,
|
157 |
+
Year,Year,,
|
158 |
+
"You have changed the order amount after getting PIN number, please try again with a new call","You have changed the order amount after getting PIN number, please try again with a new call",,
|
159 |
+
You receive a call soon! Please enter the PIN code received in the text box.,You will shortly receive a PIN via phone / SMS. Please enter the PIN in the appropriate text box,,
|
160 |
+
You will be redirected to Novalnet AG website when you place an order.,You will be redirected to Novalnet AG website when you place the order.,,
|
161 |
+
You will shortly receive a PIN by phone / SMS. Please enter the PIN in the appropriate text box,You will shortly receive a PIN by phone / SMS. Please enter the PIN in the appropriate text box,,
|
162 |
+
Credit card holder,Credit Card holder,,
|
163 |
+
Card number,Card number,,
|
164 |
+
Authentication Failed,Please enter valid credit card details,,
|
165 |
+
Please fill the customer name/email fields.,Please fill the customer name/email fields.,,
|
166 |
+
You have changed the order amount after receiving telephone number,"You have changed the order amount after receiving telephone number, please try again with a new call",,
|
167 |
+
,,,
|
168 |
+
Not possible,Not available,,
|
169 |
+
Account holder: %s,Kontoinhaber: %s,,
|
170 |
+
Account number,Account number,,
|
171 |
+
Account number: %s,Account number: %s,,
|
172 |
+
Bank code,Bank code,,
|
173 |
+
Bank code: %s,Bank code: %s,,
|
174 |
+
Cancelation of payment,Cancelation of payment,,
|
175 |
+
Create Invoice,Create Invoice after payment,,
|
176 |
+
Customer canceled payment,Customer canceled payment,,
|
177 |
+
Customer canceled payment or payment error,Customer canceled payment or payment error,,
|
178 |
+
Die Hashfunktionen sind nicht verfügbar!,Check Hash Failed,,
|
179 |
+
Error while saving this configuration: ,Error while saving this configuration:,,
|
180 |
+
Expires,Expires,,
|
181 |
+
Fast shippiung,ships immediately from stock / immediate download,,
|
182 |
+
Gateway request error: %s,Gateway request error: %s,,
|
183 |
+
Get stock articles.,Stock quickly obtained due to immediate dispatch. Now you need your online banking data (PIN/TAN).,,
|
184 |
+
Holder,Account holder,,
|
185 |
+
Invalid amount for authorization.,Invalid amount for authorization.,,
|
186 |
+
Item was successfully saved,Item was successfully saved.,,
|
187 |
+
Maximum Order Total,Maximum Order Total,,
|
188 |
+
Minimum Order Total,Minimum Order Total,,
|
189 |
+
Minimum Orders Count,Minimum Orders Count,,
|
190 |
+
More,More information,,
|
191 |
+
Netherlands banks,Netherlands banks?,,
|
192 |
+
No registration,no registration required,,
|
193 |
+
Notification password," ""Notification password""",,
|
194 |
+
Order No.: ,Order No.,,
|
195 |
+
Order: ,Order.,,
|
196 |
+
Paycode information,Product is immediately sent after the payment with a paycode. Your online banking data is primarily needed when paying (PIN und TAN).,,
|
197 |
+
Paycode: %s,Paycode: %s,,
|
198 |
+
payment error,payment error,,
|
199 |
+
Payment was not successfull,Payment was not successfull. An error occured.,,
|
200 |
+
Payment was successful.,Payment was successful.,,
|
201 |
+
Paymentinformations: %s,Paymentinformations: %s,,
|
202 |
+
"Paymentinformations: %s;""Paymentinformations: %s""",,,
|
203 |
+
Please check your account data.,Please check your account data.,,
|
204 |
+
Please fill out the account holder,Please fill in the account holder,,
|
205 |
+
Please fill out the account number,Please fill in the account number,,
|
206 |
+
Please fill out the bank code,Please fill in the bank code,,
|
207 |
+
Privacy,T??V-certified privacy,,
|
208 |
+
Project password,Project password,,
|
209 |
+
Projekt Id,Project ID,,
|
210 |
+
Save payment,pay safely und fast,,
|
211 |
+
Sofortueberweisung,Sofort??berweisung,,
|
212 |
+
Sofortueberweisung payment loaded,Sofortueberweisung was loaded,,
|
213 |
+
Theres no password defined,"There is no password defined. Please fill in the created/designed password from the customer area at sofort??berweisung.de in the
|
214 |
+
corresponding field for the configuration.",,
|
215 |
+
Transaction Id: %s,TID: %s,,
|
216 |
+
Use input check,Activate input check,,
|
217 |
+
User Id,User ID,,
|
218 |
+
You will be redirected to Sofortueberweisung in a few seconds.,You will be redirected to Sofortueberweisung in a few seconds.,,
|
219 |
+
You will be redirected to Sofort??berweisung,You will be redirected to Sofort??berweisung,,
|
220 |
+
Your benefit:,Your advantages:,,
|
221 |
+
Please fill the customer name/email fields.,Please fill the customer name/email fields.,,
|
222 |
+
,,,
|
223 |
+
Enabled,Enable module,,
|
224 |
+
--Please Select--,--Please Select--,,
|
225 |
+
accepted,accepted,,
|
226 |
+
Amount,Amount,,
|
227 |
+
AT,Austria,,
|
228 |
+
Bank,Bank,,
|
229 |
+
Billing Addr. not found,Billing Addr. not found,,
|
230 |
+
Booking Reference,Booking Reference,,
|
231 |
+
CC,Credit Card,,
|
232 |
+
Cc,Credit Card,,
|
233 |
+
Comment,Comment,,
|
234 |
+
Country,Country,,
|
235 |
+
Country: ,Country:,,
|
236 |
+
Customer aborted payment process,Customer aborted payment process,,
|
237 |
+
Customer successfully returned from Novalnet,Customer successfully returned from Novalnet,,
|
238 |
+
Customer was redirected to Novalnet,Customer was redirected to Novalnet,,
|
239 |
+
Customer was rejected by Novalnet,Customer was rejected by Novalnet,,
|
240 |
+
DE,Germany,,
|
241 |
+
Did you called this number,Haben Sie diese Nummer angerufen,,
|
242 |
+
Die Hashfunktionen sind nicht verfügbar!,Check Hash Failed,,
|
243 |
+
Due at,Due at,,
|
244 |
+
Email address missing,Email address missing,,
|
245 |
+
Error,Error,,
|
246 |
+
Following steps are required to complete the telephone payment process,Following steps are required to complete the telephone payment process,,
|
247 |
+
I accept the ACDC check,I accept the ACDC check,,
|
248 |
+
Live Mode,Live mode,,
|
249 |
+
Maximum Order Total,Maximum Order Total,,
|
250 |
+
Method,Method,,
|
251 |
+
Minimum Order Total,Minimum Order Total,,
|
252 |
+
Minimum Orders Count,Minimum Orders Count,,
|
253 |
+
Month,Month,,
|
254 |
+
New order status,New order status,,
|
255 |
+
Note: after submitting your order an email with bank transfer data of the Novalnet AG will be sent to you.,Bemerkung: Nach dem Absenden Ihrer Bestellung wird,,
|
256 |
+
Notice for Clients,Notice for Clients,,
|
257 |
+
Novalnet Merchant ID,Novalnet Merchant ID,,
|
258 |
+
Novalnet Product ID,Novalnet Product ID,,
|
259 |
+
Novalnet Tariff ID,Novalnet Tariff ID,,
|
260 |
+
Order Price not found,Order Price not found,,
|
261 |
+
Parameter missing,Parameter missing,,
|
262 |
+
Params (aryResponse) missing,Params (aryResponse) missing,,
|
263 |
+
Pay by Call,Pay by Call,,
|
264 |
+
Payment from applicable countries,Payment from applicable countries,,
|
265 |
+
Payment from Specific countries,Payment from Specific countries,,
|
266 |
+
Please click on continue after your successive call,Please click on continue after your successive call,,
|
267 |
+
Please dial the following number,Please dial the following number,,
|
268 |
+
Please note that the Transfer can only be identified with the above mentioned Reference,Please note that the Transfer can only be identified with the above mentioned Reference,,
|
269 |
+
Please wait for the Signal tone and hangup the reciever,Please wait for the Signal tone and hangup the reciever,,
|
270 |
+
Reference,Reference,,
|
271 |
+
Response contains no XML data,Response contains no XML data,,
|
272 |
+
Step,Step,,
|
273 |
+
Test Mode,Test mode,,
|
274 |
+
Testorder,Test order,,
|
275 |
+
This call costs,This call costs,,
|
276 |
+
This is a required field,This is a required field,,
|
277 |
+
Title,Title,,
|
278 |
+
User Group Excluded,User Group Excluded,,
|
279 |
+
Year,Year,,
|
280 |
+
You will be redirected to Novalnet AG in a few seconds,You will be redirected to Novalnet AG in a few seconds,,
|
281 |
+
,,,
|
282 |
+
Not possible,Not available,,
|
283 |
+
Account holder: %s,Kontoinhaber: %s,,
|
284 |
+
Account number,Account number,,
|
285 |
+
Account number: %s,Account number: %s,,
|
286 |
+
Bank code,Bank code,,
|
287 |
+
Bank code: %s,Bank code: %s,,
|
288 |
+
Cancelation of payment,Cancelation of payment,,
|
289 |
+
Create Invoice,Create Invoice after payment,,
|
290 |
+
Customer canceled payment,Customer canceled payment,,
|
291 |
+
Customer canceled payment or payment error,Customer canceled payment or payment error,,
|
292 |
+
Die Hashfunktionen sind nicht verfügbar!,Check Hash Failed,,
|
293 |
+
Error while saving this configuration: ,Error while saving this configuration:,,
|
294 |
+
Expires,Expires,,
|
295 |
+
Fast shippiung,ships immediately from stock / immediate download,,
|
296 |
+
Gateway request error: %s,Gateway request error: %s,,
|
297 |
+
Get stock articles.,Stock quickly obtained due to immediate dispatch. Now you need your online banking data (PIN/TAN).,,
|
298 |
+
Holder,Account holder,,
|
299 |
+
Invalid amount for authorization.,Invalid amount for authorization.,,
|
300 |
+
Item was successfully saved,Item was successfully saved.,,
|
301 |
+
Maximum Order Total,Maximum Order Total,,
|
302 |
+
Minimum Order Total,Minimum Order Total,,
|
303 |
+
Minimum Orders Count,Minimum Orders Count,,
|
304 |
+
More,More information,,
|
305 |
+
Netherlands banks,Netherlands banks?,,
|
306 |
+
No registration,no registration required,,
|
307 |
+
Notification password," ""Notification password""",,
|
308 |
+
Order No.: ,Order No.,,
|
309 |
+
Order: ,Order.,,
|
310 |
+
Paycode information,Product is immediately sent after the payment with a paycode. Your online banking data is primarily needed when paying (PIN und TAN).,,
|
311 |
+
Paycode: %s,Paycode: %s,,
|
312 |
+
payment error,payment error,,
|
313 |
+
Payment was not successfull,Payment was not successfull. An error occured.,,
|
314 |
+
Payment was successful.,Payment was successful.,,
|
315 |
+
Paymentinformations: %s,Paymentinformations: %s,,
|
316 |
+
"Paymentinformations: %s;""Paymentinformations: %s""",,,
|
317 |
+
Please check your account data.,Please check your account data.,,
|
318 |
+
Please fill out the account holder,Please fill in the account holder,,
|
319 |
+
Please fill out the account number,Please fill in the account number,,
|
320 |
+
Please fill out the bank code,Please fill in the bank code,,
|
321 |
+
Privacy,T??V-certified privacy,,
|
322 |
+
Project password,Project password,,
|
323 |
+
Projekt Id,Project ID,,
|
324 |
+
Save payment,pay safely und fast,,
|
325 |
+
Sofortueberweisung,Sofort??berweisung,,
|
326 |
+
Sofortueberweisung payment loaded,Sofortueberweisung was loaded,,
|
327 |
+
Theres no password defined,"There is no password defined. Please fill in the created/designed password from the customer area at sofort??berweisung.de in the
|
328 |
+
corresponding field for the configuration.",,
|
329 |
+
Transaction Id: %s,TID: %s,,
|
330 |
+
Use input check,Activate input check,,
|
331 |
+
User Id,User ID,,
|
332 |
+
You will be redirected to Sofortueberweisung in a few seconds.,You will be redirected to Sofortueberweisung in a few seconds.,,
|
333 |
+
You will be redirected to Sofort??berweisung,You will be redirected to Sofort??berweisung,,
|
334 |
+
Your benefit:,Your advantages:,,
|
335 |
+
Second Product Id/Tariff Id is missing/Invalid,Second Product Id/Tariff Id is missing/Invalid,,
|
336 |
+
Your amount will be added in your telephone bill when you place the order,Your amount will be added in your telephone bill when you place the order.,,
|
337 |
+
SEPA Payment type Desc,"<b>Direct Debit SEPA :</b> Real time processing with online SEPA Direct Debit Mandate (electronic transmission). <br /> <b>Direct Debit SEPA Signed :</b> Please note that in this process first only the order will be processed. <br />On successful order a link for downloading the SEPA Mandate will be sent to the end user who has to print out and complete the form and send it per post to you. On receipt of this SEPA mandate, you need to confirm the mandate inside the admin portal giving the mandate date. Only then this transaction will be executed through Novalnet.", you need to confirm the mandate inside the admin portal giving the mandate date. Only then this transaction will be executed through Novalnet.,
|
338 |
+
Download your mandate, Download your mandate :,,
|
339 |
+
Manual checking of order,"Manual checking of order, above amount in cents (Note: this is a onhold booking, needs your manual verification and activation)", above amount in cents (Note: this is a onhold booking this is a onhold booking, needs your manual verification and activation)
|
340 |
+
Manual checking of order Desc,All the orders above this amount will be set on hold by Novalnet and only after your manual verifcation and confirmation at Novalnet the booking will be done,,
|
341 |
+
Referrer ID Desc,"Referrer ID of the partner at Novalnet, who referred you (only numbers allowed) ",,
|
342 |
+
SEPA Due Date description,"Enter the Due date in days, it should be greater than 6. If you leave as empty means default value will be considered as 7 days.",,
|
callback_novalnet2magento.php
CHANGED
@@ -43,9 +43,11 @@ $storeId = Mage_Core_Model_App::ADMIN_STORE_ID;
|
|
43 |
Mage::app()->setCurrentStore($storeId);
|
44 |
Mage::app('admin');
|
45 |
umask(0);
|
46 |
-
date_default_timezone_set('Europe/Berlin');
|
47 |
|
48 |
-
|
|
|
|
|
|
|
49 |
$logFile = 'novalnet_callback_script_'.date('Y-m-d').'.log';
|
50 |
$log = false;//false|true; adapt
|
51 |
$debug = false; //false|true; adapt: set to false for go-live
|
@@ -55,10 +57,10 @@ $useZendEmail = true;//false|true; adapt for your need
|
|
55 |
$lineBreak = empty($_SERVER['HTTP_HOST'])? PHP_EOL: '<br />';
|
56 |
$addSubsequentTidToDb = true;//whether to add the new tid to db; adapt if necessary
|
57 |
|
58 |
-
$allowedPayment = array('novalnetcc'=>array('CREDITCARD', 'CREDITCARD_BOOKBACK'), 'novalnetsecure'=>array('CREDITCARD', 'CREDITCARD_BOOKBACK'), 'novalnetelvaustria'=>array('DIRECT_DEBIT_AT'), 'novalnetelvgerman'=>array('DIRECT_DEBIT_DE'), 'novalnetinvoice'=>array('INVOICE_CREDIT'), 'novalnetprepayment'=>array('INVOICE_CREDIT'), 'novalnetideal'=>array('IDEAL'), 'novalnetpaypal'=>array('PAYPAL'), 'novalnetsofortueberweisung'=>array('ONLINE_TRANSFER'));
|
59 |
-
$invoiceAllowed = array('INVOICE_CREDIT');
|
60 |
$paypalAllowed = array('PAYPAL');
|
61 |
-
$aPaymentTypes = array('CREDITCARD', 'CREDITCARD_BOOKBACK', 'DIRECT_DEBIT_AT', 'DIRECT_DEBIT_DE', 'DIRECT_DEBIT_ES', 'DIRECT_DEBIT_SEPA', 'ONLINE_TRANSFER', 'INVOICE_CREDIT', 'PAYPAL', 'REFUND_BY_BANK_TRANSFER_EU', 'IDEAL');//adapt here if needed;
|
62 |
|
63 |
// Order State/Status Settings
|
64 |
/*5. Standard Types of Status/States:
|
@@ -74,7 +76,6 @@ $orderComment = $lineBreak.date('d.m.Y H:i:s').': Novalnet callback script chang
|
|
74 |
|
75 |
//Security Setting; only this IP is allowed for call back script
|
76 |
$ipAllowed = '195.143.189.210'; //Novalnet IP, is a fixed value, DO NOT CHANGE!!!!!
|
77 |
-
//$ipAllowed = '127.0.0.1';
|
78 |
|
79 |
//Reporting Email Addresses Settings
|
80 |
$shopInfo = 'Magento '.$lineBreak; //manditory;adapt for your need
|
@@ -86,7 +87,7 @@ $emailSubject = 'Novalnet Callback Script Access Report'; //adapt if necessary;
|
|
86 |
$emailBody = 'Novalnet Callback Script Access Report : '.$lineBreak;//Email text's 1. line, can be let blank, adapt for your need
|
87 |
$emailFromName = ""; // Sender name, adapt
|
88 |
$emailToName = ""; // Recipient name, adapt
|
89 |
-
$callBackExecuted = false;
|
90 |
//Parameters Settings
|
91 |
$hParamsRequired = array(
|
92 |
'vendor_id' => '',
|
@@ -109,7 +110,7 @@ try {
|
|
109 |
|
110 |
//Check Params
|
111 |
if (checkIP($_REQUEST)){
|
112 |
-
|
113 |
$response = $_REQUEST;
|
114 |
$orderNo = $response['order_no'] ? $response['order_no'] : $response['order_id'];
|
115 |
if(empty($response['payment_type'])) {
|
@@ -119,25 +120,28 @@ try {
|
|
119 |
} elseif(!empty($response['payment_type']) and in_array(strtoupper($response['payment_type']), $aPaymentTypes)) {
|
120 |
//Complete the order incase response failure from novalnet server
|
121 |
$order = getOrderByIncrementId($orderNo);
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
|
|
|
|
|
|
133 |
if(!empty($orderNo) && $order->getIncrementId() == $orderNo && empty($checkTidExist)) {
|
134 |
-
|
135 |
//Unhold an order:-
|
136 |
if ($order->canUnhold()) {
|
137 |
$order->unhold()->save();
|
138 |
}
|
139 |
-
|
140 |
-
$serverResponse = $response['test_mode'];
|
141 |
$shopMode = $paymentObj->_getConfigData('live_mode', '', $storeId);
|
142 |
$testMode = (((isset($serverResponse) && $serverResponse == 1) || (isset($shopMode) && $shopMode == 0)) ? 1 : 0 );
|
143 |
$data = array('NnTestOrder' => $testMode);
|
@@ -147,8 +151,8 @@ try {
|
|
147 |
->setStatusDescription(Mage::helper('novalnet_payment')->__('Payment was successful.'))
|
148 |
->setAdditionalData(serialize($data))
|
149 |
->setIsTransactionClosed($transMode)
|
150 |
-
->save();
|
151 |
-
doTransactionStatusSave($response, $getAdminTransaction, $orderNo); // Save the Transaction status
|
152 |
if ($getAdminTransaction->getStatus() == Novalnet_Payment_Model_Config::RESPONSE_CODE_APPROVED) {
|
153 |
$payment->setTransactionId($txnId) // Add capture text to make the new transaction
|
154 |
->setParentTransactionId(null)
|
@@ -163,33 +167,13 @@ try {
|
|
163 |
->authorize(true, Mage::helper('novalnet_payment')->getFormatedAmount($response['amount'], 'RAW'))
|
164 |
->save();
|
165 |
}
|
166 |
-
|
167 |
$setOrderAfterStatus = $paymentObj->_getConfigData('order_status_after_payment') ? $paymentObj->_getConfigData('order_status_after_payment') : Mage_Sales_Model_Order::STATE_PROCESSING; // If after status is empty set default status
|
168 |
$order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, $setOrderAfterStatus, $helper->__('Customer successfully returned from Novalnet'), true
|
169 |
)->save();
|
170 |
-
$callBackExecuted = true;
|
171 |
doTransactionOrderLog($response, $orderNo);
|
172 |
-
|
173 |
-
//Add subsequent TID to DB column last_trans_id
|
174 |
-
/* if ($addSubsequentTidToDb){
|
175 |
-
$payment = $order->getPayment();
|
176 |
-
$data = unserialize($payment->getAdditionalData());
|
177 |
-
if(in_array($_REQUEST['payment_type'],$paypalAllowed)) {
|
178 |
-
$script = 'Novalnet Callback Script executed successfully on ' . date('Y-m-d H:i:s');
|
179 |
-
} else {
|
180 |
-
$script = 'Novalnet Callback Script executed successfully. The subsequent TID: (' . $_REQUEST['tid'] . ') on ' . date('Y-m-d H:i:s');
|
181 |
-
}
|
182 |
-
$arr = array('NnComments'=>$script);
|
183 |
-
$payment->setAdditionalData(serialize(array_merge($data,$arr)));
|
184 |
-
$order->setPayment($payment)
|
185 |
-
->save();
|
186 |
-
}
|
187 |
-
if(in_array($response['payment_type'],$paypalAllowed)) {
|
188 |
-
$emailBody .= "Novalnet Callback Script executed successfully. Payment for order id :" . $orderNo . ' on ' . date('Y-m-d H:i:s').$lineBreak;
|
189 |
-
} else {
|
190 |
-
$emailBody .= "Novalnet Callback Script executed successfully. Payment for order id :" . $orderNo . '. New TID: ('. $txnId . ') on ' . date('Y-m-d H:i:s').$lineBreak;
|
191 |
-
} */
|
192 |
-
|
193 |
//sendNewOrderEmail
|
194 |
if (!$order->getEmailSent() && $order->getId()) {
|
195 |
try {
|
@@ -201,14 +185,17 @@ try {
|
|
201 |
}
|
202 |
}
|
203 |
$order->save();
|
204 |
-
}
|
205 |
-
// if (!empty($response['payment_type']) and in_array(strtoupper($response['payment_type']),$aPaymentTypes)) {
|
206 |
if (checkParams($_REQUEST)){
|
207 |
//Get Order ID and Set New Order Status
|
208 |
if ($ordercheckstatus = BasicValidation($_REQUEST)){
|
209 |
-
|
210 |
-
if ($getAdminTransaction->getStatus() == Novalnet_Payment_Model_Config::RESPONSE_CODE_APPROVED) {
|
211 |
setOrderStatus($orderNo);//and send error mails if any
|
|
|
|
|
|
|
212 |
}
|
213 |
}
|
214 |
}
|
@@ -245,7 +232,8 @@ if ($emailBody){
|
|
245 |
}
|
246 |
|
247 |
// ############## Sub Routines #####################
|
248 |
-
function sendMail($emailBody)
|
|
|
249 |
global $lineBreak, $debug, $emailFromAddr, $emailToAddr, $emailFromName, $emailToName, $emailSubject, $storeId, $shopInfo, $useZendEmail;
|
250 |
if ($useZendEmail){
|
251 |
if (!sendEmailZend($emailBody)){
|
@@ -262,7 +250,9 @@ function sendMail($emailBody){
|
|
262 |
}*/
|
263 |
return true;
|
264 |
}
|
265 |
-
|
|
|
|
|
266 |
global $lineBreak, $debug, $emailFromAddr, $emailToAddr, $emailFromName, $emailToName, $emailSubject, $storeId, $shopInfo, $mailHost, $mailPort;
|
267 |
$emailBodyT = str_replace('<br />', PHP_EOL, $emailBody);
|
268 |
|
@@ -284,7 +274,6 @@ function sendEmailMagento($emailBody){
|
|
284 |
$emailTemplateVariables['subject'] = $emailSubject;
|
285 |
$emailTemplateVariables['body'] = $emailBodyT;
|
286 |
$processedTemplate = $emailTemplate->getProcessedTemplate($emailTemplateVariables, true);
|
287 |
-
//echo 'hh: <pre>'; print_r($processedTemplate); echo '<hr />'; exit;
|
288 |
|
289 |
//Send Email
|
290 |
ini_set('SMTP', $mailHost);
|
@@ -307,16 +296,18 @@ function sendEmailMagento($emailBody){
|
|
307 |
}
|
308 |
return true;
|
309 |
}
|
310 |
-
|
|
|
|
|
311 |
global $lineBreak, $debug, $emailFromAddr, $emailToAddr, $emailFromName, $emailToName, $emailSubject, $storeId, $shopInfo, $mailHost, $mailPort;
|
312 |
$emailBodyT = str_replace('<br />', PHP_EOL, $emailBody);
|
313 |
ini_set('SMTP', $mailHost);
|
314 |
ini_set('smtp_port', $mailPort);
|
315 |
|
316 |
-
$mail = new Zend_Mail();
|
317 |
$mail->setBodyText($emailBodyT);//$mail->setBodyHTML($emailBodyT);
|
318 |
$mail->setFrom($emailFromAddr, $emailFromName);
|
319 |
-
$mail->addTo($emailToAddr, $emailToName);
|
320 |
$mail->setSubject($emailSubject);
|
321 |
|
322 |
try {
|
@@ -332,14 +323,17 @@ function sendEmailZend($emailBody){
|
|
332 |
}
|
333 |
return true;
|
334 |
}
|
335 |
-
|
|
|
|
|
336 |
global $debug, $emailBody;
|
337 |
if($debug) {
|
338 |
echo $emailBody;
|
339 |
}
|
340 |
}
|
341 |
-
function checkParams($_request){
|
342 |
|
|
|
|
|
343 |
global $lineBreak, $hParamsRequired, $emailBody, $aPaymentTypes, $paypalAllowed, $invoiceAllowed;
|
344 |
$error = false;
|
345 |
// $emailBody = '';
|
@@ -372,7 +366,7 @@ function checkParams($_request){
|
|
372 |
if(in_array($_REQUEST['payment_type'],$invoiceAllowed)) {
|
373 |
$emailBody .= 'Novalnet callback received. New TID is not valid.' . "$lineBreak$lineBreak".$lineBreak;
|
374 |
} else {
|
375 |
-
$emailBody .= 'Novalnet callback received. Invalid TID ['.$_request['tid'].'] for Order:'.$_request['order_no'].' ' . "$lineBreak$lineBreak".$lineBreak;
|
376 |
}
|
377 |
return false;
|
378 |
}
|
@@ -383,12 +377,13 @@ function checkParams($_request){
|
|
383 |
}
|
384 |
return true;
|
385 |
}
|
386 |
-
|
|
|
|
|
387 |
global $lineBreak, $tableOrderPayment, $tableOrder, $emailBody, $debug, $allowedPayment, $invoiceAllowed, $paypalAllowed;;
|
388 |
$orderDetails = array();
|
389 |
$orderNo = $_request['order_no']? $_request['order_no']: $_request['order_id'];
|
390 |
$order = getOrderByIncrementId($orderNo);
|
391 |
-
// if ($debug) {echo'Order Details:<pre>'; print_r($order);echo'</pre>';}
|
392 |
if($order->getIncrementId() == $orderNo && !empty($orderNo)) {
|
393 |
//check amount
|
394 |
$amount = $_request['amount'];
|
@@ -400,23 +395,16 @@ function BasicValidation($_request){
|
|
400 |
$OrderPaymentName = strtolower(getPaymentMethod($order));
|
401 |
#modified
|
402 |
if(in_array($_REQUEST['payment_type'],$invoiceAllowed)) {
|
403 |
-
$org_tid = $_request['tid_payment'];
|
404 |
-
} else {
|
405 |
$org_tid = $_request['tid'];
|
406 |
}
|
407 |
|
408 |
$paymentType = $allowedPayment[$OrderPaymentName];
|
409 |
-
// if($paymentType != $_request['payment_type']) {
|
410 |
if(!in_array($_request['payment_type'], $paymentType)) {
|
411 |
$emailBody .= "Novalnet callback received. Payment type (".$_request['payment_type'].") is not matched with $OrderPaymentName!$lineBreak$lineBreak";
|
412 |
-
return false;
|
413 |
-
}
|
414 |
-
|
415 |
-
/* if(($paymentType == 'novalnetpaypal' && !in_array($_request['payment_type'], $paypalAllowed))
|
416 |
-
|| ( in_array($paymentType, array('novalnetinvoice', 'novalnetprepayment')) && !in_array($_request['payment_type'], $invoiceAllowed) ) ) {
|
417 |
-
$emailBody .= "Novalnet callback received. Payment type (".$_request['payment_type'].") is not matched with $paymentType!$lineBreak$lineBreak";
|
418 |
return false;
|
419 |
-
}
|
420 |
|
421 |
if(!preg_match('/^'.$org_tid.'/i',$order->getPayment()->getLastTransId())){
|
422 |
$emailBody .= 'Novalnet callback received. Order no is not valid' . "$lineBreak$lineBreak".$lineBreak;
|
@@ -429,14 +417,17 @@ function BasicValidation($_request){
|
|
429 |
return false;
|
430 |
}
|
431 |
}
|
432 |
-
|
433 |
-
|
|
|
|
|
434 |
if ($order = getOrderByIncrementId($incrementId)) {
|
435 |
$order->getPayment()->getMethodInstance()->setCanCapture(true);
|
436 |
|
437 |
if ($createInvoice){
|
438 |
$saveinvoice = saveInvoice($order);
|
439 |
}
|
|
|
440 |
if ($invoice = $order->getInvoiceCollection()->getFirstItem()) {
|
441 |
if ($saveinvoice) {
|
442 |
$order->setState($orderState, true, 'Novalnet callback set state '.$orderState.' for Order-ID = ' . $incrementId); //processing: ok; complete: not ok -> would cause the error msg: 'Der Bestellzustand "complete" darf nicht manuell gesetzt werden'
|
@@ -449,8 +440,14 @@ function setOrderStatus ($incrementId) {
|
|
449 |
if ($addSubsequentTidToDb){
|
450 |
$payment = $order->getPayment();
|
451 |
$data = unserialize($payment->getAdditionalData());
|
452 |
-
if(in_array($_REQUEST['payment_type'],$invoiceAllowed)) {
|
453 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
454 |
} else {
|
455 |
$script = 'Novalnet Callback Script executed successfully on ' . date('Y-m-d H:i:s');
|
456 |
}
|
@@ -470,14 +467,20 @@ function setOrderStatus ($incrementId) {
|
|
470 |
}
|
471 |
return true;
|
472 |
}
|
473 |
-
|
|
|
|
|
474 |
$order = Mage::getModel('sales/order')->loadByIncrementId($incrementId);
|
475 |
return $order;
|
476 |
}
|
477 |
-
|
|
|
|
|
478 |
return $order->getPayment()->getData('method');
|
479 |
}
|
480 |
-
|
|
|
|
|
481 |
global $lineBreak, $ipAllowed, $test, $emailBody;
|
482 |
$callerIp = Mage::helper('novalnet_payment')->getRealIpAddr();
|
483 |
if ($test){
|
@@ -494,32 +497,52 @@ function checkIP($_request){
|
|
494 |
return true;
|
495 |
}
|
496 |
|
497 |
-
function saveInvoice (Mage_Sales_Model_Order $order)
|
498 |
-
|
|
|
499 |
if(!$callBackExecuted) {
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
if(in_array($_REQUEST['payment_type'],$invoiceAllowed)) {
|
510 |
-
$emailBody .= "Novalnet Callback Script executed successfully. Payment for order id :" . $_REQUEST['order_no'] . '. New TID: ('. $_REQUEST['tid'] . ') on ' . date('Y-m-d H:i:s').$lineBreak;
|
511 |
-
} else {
|
512 |
-
$emailBody .= "Novalnet Callback Script executed successfully. Payment for order id :" . $_REQUEST['order_no'] . ' on ' . date('Y-m-d H:i:s').$lineBreak;
|
513 |
-
}
|
514 |
-
}else{
|
515 |
-
$emailBody .= "Novalnet callback received. Callback Script executed already. Refer Order :".$_REQUEST['order_no'].$lineBreak;
|
516 |
return false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
517 |
}
|
518 |
}
|
519 |
return true;
|
520 |
}
|
521 |
|
522 |
-
function doTransactionStatusSave($response, $transactionStatus, $orderNo)
|
|
|
523 |
$order = getOrderByIncrementId($orderNo);
|
524 |
$amount = $response['amount'];
|
525 |
$ncNo = (isset($response['nc_no'])) ? $response['nc_no'] : NULL;
|
@@ -542,7 +565,8 @@ function doTransactionStatusSave($response, $transactionStatus, $orderNo) {
|
|
542 |
->save();
|
543 |
}
|
544 |
|
545 |
-
|
|
|
546 |
$order = getOrderByIncrementId($orderNo);
|
547 |
$helper = Mage::helper('novalnet_payment');
|
548 |
$storeId = $order->getStoreId();
|
@@ -556,4 +580,15 @@ function doTransactionStatusSave($response, $transactionStatus, $orderNo) {
|
|
556 |
->save();
|
557 |
}
|
558 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
559 |
?>
|
43 |
Mage::app()->setCurrentStore($storeId);
|
44 |
Mage::app('admin');
|
45 |
umask(0);
|
|
|
46 |
|
47 |
+
error_reporting(E_ALL);
|
48 |
+
ini_set('display_errors', 1);
|
49 |
+
|
50 |
+
//Variable Settings
|
51 |
$logFile = 'novalnet_callback_script_'.date('Y-m-d').'.log';
|
52 |
$log = false;//false|true; adapt
|
53 |
$debug = false; //false|true; adapt: set to false for go-live
|
57 |
$lineBreak = empty($_SERVER['HTTP_HOST'])? PHP_EOL: '<br />';
|
58 |
$addSubsequentTidToDb = true;//whether to add the new tid to db; adapt if necessary
|
59 |
|
60 |
+
$allowedPayment = array('novalnetcc'=>array('CREDITCARD', 'CREDITCARD_BOOKBACK'), 'novalnetsecure'=>array('CREDITCARD', 'CREDITCARD_BOOKBACK'), 'novalnetelvaustria'=>array('DIRECT_DEBIT_AT'), 'novalnetelvgerman'=>array('DIRECT_DEBIT_DE'), 'novalnetinvoice'=>array('INVOICE_CREDIT', 'INVOICE_START'), 'novalnetprepayment'=>array('INVOICE_CREDIT', 'INVOICE_START'), 'novalnetideal'=>array('IDEAL'), 'novalnetpaypal'=>array('PAYPAL'), 'novalnetsofortueberweisung'=>array('ONLINE_TRANSFER'), 'novalnetsepa' => array('DIRECT_DEBIT_SEPA'), 'novalnetsafetypay'=>array('SAFETYPAY'));
|
61 |
+
$invoiceAllowed = array('INVOICE_CREDIT', 'INVOICE_START');
|
62 |
$paypalAllowed = array('PAYPAL');
|
63 |
+
$aPaymentTypes = array('CREDITCARD', 'CREDITCARD_BOOKBACK', 'DIRECT_DEBIT_AT', 'DIRECT_DEBIT_DE', 'DIRECT_DEBIT_SEPA','DIRECT_DEBIT_ES', 'DIRECT_DEBIT_SEPA', 'ONLINE_TRANSFER', 'INVOICE_CREDIT', 'INVOICE_START', 'PAYPAL', 'REFUND_BY_BANK_TRANSFER_EU', 'IDEAL', 'SAFETYPAY');//adapt here if needed;
|
64 |
|
65 |
// Order State/Status Settings
|
66 |
/*5. Standard Types of Status/States:
|
76 |
|
77 |
//Security Setting; only this IP is allowed for call back script
|
78 |
$ipAllowed = '195.143.189.210'; //Novalnet IP, is a fixed value, DO NOT CHANGE!!!!!
|
|
|
79 |
|
80 |
//Reporting Email Addresses Settings
|
81 |
$shopInfo = 'Magento '.$lineBreak; //manditory;adapt for your need
|
87 |
$emailBody = 'Novalnet Callback Script Access Report : '.$lineBreak;//Email text's 1. line, can be let blank, adapt for your need
|
88 |
$emailFromName = ""; // Sender name, adapt
|
89 |
$emailToName = ""; // Recipient name, adapt
|
90 |
+
$callBackExecuted = false;
|
91 |
//Parameters Settings
|
92 |
$hParamsRequired = array(
|
93 |
'vendor_id' => '',
|
110 |
|
111 |
//Check Params
|
112 |
if (checkIP($_REQUEST)){
|
113 |
+
|
114 |
$response = $_REQUEST;
|
115 |
$orderNo = $response['order_no'] ? $response['order_no'] : $response['order_id'];
|
116 |
if(empty($response['payment_type'])) {
|
120 |
} elseif(!empty($response['payment_type']) and in_array(strtoupper($response['payment_type']), $aPaymentTypes)) {
|
121 |
//Complete the order incase response failure from novalnet server
|
122 |
$order = getOrderByIncrementId($orderNo);
|
123 |
+
|
124 |
+
if ($order->getIncrementId()) {
|
125 |
+
$payment = $order->getPayment();
|
126 |
+
$paymentObj = $payment->getMethodInstance();
|
127 |
+
$storeId = $order->getStoreId();
|
128 |
+
$paymentObj->_vendorId = $paymentObj->_getConfigData('merchant_id', true, $storeId);
|
129 |
+
$paymentObj->_authcode = $paymentObj->_getConfigData('auth_code', true, $storeId);
|
130 |
+
// Get Admin Transaction status via API
|
131 |
+
$payment_tid = (in_array($response['payment_type'], $invoiceAllowed)) ? $response['tid_payment'] : $response['tid'];
|
132 |
+
$getAdminTransaction = $paymentObj->doNovalnetStatusCall($payment_tid, $storeId);
|
133 |
+
// if ($debug) {echo'Order Details:<pre>'; print_r($order);echo'</pre>';}
|
134 |
+
$helper = Mage::helper('novalnet_payment');
|
135 |
+
$checkTidExist = $payment->getLastTransId();
|
136 |
+
|
137 |
if(!empty($orderNo) && $order->getIncrementId() == $orderNo && empty($checkTidExist)) {
|
138 |
+
|
139 |
//Unhold an order:-
|
140 |
if ($order->canUnhold()) {
|
141 |
$order->unhold()->save();
|
142 |
}
|
143 |
+
|
144 |
+
$serverResponse = $response['test_mode'];
|
145 |
$shopMode = $paymentObj->_getConfigData('live_mode', '', $storeId);
|
146 |
$testMode = (((isset($serverResponse) && $serverResponse == 1) || (isset($shopMode) && $shopMode == 0)) ? 1 : 0 );
|
147 |
$data = array('NnTestOrder' => $testMode);
|
151 |
->setStatusDescription(Mage::helper('novalnet_payment')->__('Payment was successful.'))
|
152 |
->setAdditionalData(serialize($data))
|
153 |
->setIsTransactionClosed($transMode)
|
154 |
+
->save();
|
155 |
+
doTransactionStatusSave($response, $getAdminTransaction, $orderNo); // Save the Transaction status
|
156 |
if ($getAdminTransaction->getStatus() == Novalnet_Payment_Model_Config::RESPONSE_CODE_APPROVED) {
|
157 |
$payment->setTransactionId($txnId) // Add capture text to make the new transaction
|
158 |
->setParentTransactionId(null)
|
167 |
->authorize(true, Mage::helper('novalnet_payment')->getFormatedAmount($response['amount'], 'RAW'))
|
168 |
->save();
|
169 |
}
|
170 |
+
|
171 |
$setOrderAfterStatus = $paymentObj->_getConfigData('order_status_after_payment') ? $paymentObj->_getConfigData('order_status_after_payment') : Mage_Sales_Model_Order::STATE_PROCESSING; // If after status is empty set default status
|
172 |
$order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, $setOrderAfterStatus, $helper->__('Customer successfully returned from Novalnet'), true
|
173 |
)->save();
|
174 |
+
$callBackExecuted = true;
|
175 |
doTransactionOrderLog($response, $orderNo);
|
176 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
//sendNewOrderEmail
|
178 |
if (!$order->getEmailSent() && $order->getId()) {
|
179 |
try {
|
185 |
}
|
186 |
}
|
187 |
$order->save();
|
188 |
+
}
|
189 |
+
// if (!empty($response['payment_type']) and in_array(strtoupper($response['payment_type']),$aPaymentTypes)) {
|
190 |
if (checkParams($_REQUEST)){
|
191 |
//Get Order ID and Set New Order Status
|
192 |
if ($ordercheckstatus = BasicValidation($_REQUEST)){
|
193 |
+
$orderNo = $_REQUEST['order_no']? $_REQUEST['order_no']: $_REQUEST['order_id'];
|
194 |
+
if ($getAdminTransaction->getStatus() == Novalnet_Payment_Model_Config::RESPONSE_CODE_APPROVED) {
|
195 |
setOrderStatus($orderNo);//and send error mails if any
|
196 |
+
}else{
|
197 |
+
echo isset($getAdminTransaction['transaction_status']['status_message']) ? ($getAdminTransaction['transaction_status']['status_message']) : 'Error in processing the transactions status';
|
198 |
+
exit;
|
199 |
}
|
200 |
}
|
201 |
}
|
232 |
}
|
233 |
|
234 |
// ############## Sub Routines #####################
|
235 |
+
function sendMail($emailBody)
|
236 |
+
{
|
237 |
global $lineBreak, $debug, $emailFromAddr, $emailToAddr, $emailFromName, $emailToName, $emailSubject, $storeId, $shopInfo, $useZendEmail;
|
238 |
if ($useZendEmail){
|
239 |
if (!sendEmailZend($emailBody)){
|
250 |
}*/
|
251 |
return true;
|
252 |
}
|
253 |
+
|
254 |
+
function sendEmailMagento($emailBody)
|
255 |
+
{
|
256 |
global $lineBreak, $debug, $emailFromAddr, $emailToAddr, $emailFromName, $emailToName, $emailSubject, $storeId, $shopInfo, $mailHost, $mailPort;
|
257 |
$emailBodyT = str_replace('<br />', PHP_EOL, $emailBody);
|
258 |
|
274 |
$emailTemplateVariables['subject'] = $emailSubject;
|
275 |
$emailTemplateVariables['body'] = $emailBodyT;
|
276 |
$processedTemplate = $emailTemplate->getProcessedTemplate($emailTemplateVariables, true);
|
|
|
277 |
|
278 |
//Send Email
|
279 |
ini_set('SMTP', $mailHost);
|
296 |
}
|
297 |
return true;
|
298 |
}
|
299 |
+
|
300 |
+
function sendEmailZend($emailBody)
|
301 |
+
{
|
302 |
global $lineBreak, $debug, $emailFromAddr, $emailToAddr, $emailFromName, $emailToName, $emailSubject, $storeId, $shopInfo, $mailHost, $mailPort;
|
303 |
$emailBodyT = str_replace('<br />', PHP_EOL, $emailBody);
|
304 |
ini_set('SMTP', $mailHost);
|
305 |
ini_set('smtp_port', $mailPort);
|
306 |
|
307 |
+
$mail = new Zend_Mail();
|
308 |
$mail->setBodyText($emailBodyT);//$mail->setBodyHTML($emailBodyT);
|
309 |
$mail->setFrom($emailFromAddr, $emailFromName);
|
310 |
+
$mail->addTo($emailToAddr, $emailToName);
|
311 |
$mail->setSubject($emailSubject);
|
312 |
|
313 |
try {
|
323 |
}
|
324 |
return true;
|
325 |
}
|
326 |
+
|
327 |
+
function showDebug()
|
328 |
+
{
|
329 |
global $debug, $emailBody;
|
330 |
if($debug) {
|
331 |
echo $emailBody;
|
332 |
}
|
333 |
}
|
|
|
334 |
|
335 |
+
function checkParams($_request)
|
336 |
+
{
|
337 |
global $lineBreak, $hParamsRequired, $emailBody, $aPaymentTypes, $paypalAllowed, $invoiceAllowed;
|
338 |
$error = false;
|
339 |
// $emailBody = '';
|
366 |
if(in_array($_REQUEST['payment_type'],$invoiceAllowed)) {
|
367 |
$emailBody .= 'Novalnet callback received. New TID is not valid.' . "$lineBreak$lineBreak".$lineBreak;
|
368 |
} else {
|
369 |
+
$emailBody .= 'Novalnet callback received. Invalid TID ['.$_request['tid'].'] for Order:'.$_request['order_no'].' ' . "$lineBreak$lineBreak".$lineBreak;
|
370 |
}
|
371 |
return false;
|
372 |
}
|
377 |
}
|
378 |
return true;
|
379 |
}
|
380 |
+
|
381 |
+
function BasicValidation($_request)
|
382 |
+
{
|
383 |
global $lineBreak, $tableOrderPayment, $tableOrder, $emailBody, $debug, $allowedPayment, $invoiceAllowed, $paypalAllowed;;
|
384 |
$orderDetails = array();
|
385 |
$orderNo = $_request['order_no']? $_request['order_no']: $_request['order_id'];
|
386 |
$order = getOrderByIncrementId($orderNo);
|
|
|
387 |
if($order->getIncrementId() == $orderNo && !empty($orderNo)) {
|
388 |
//check amount
|
389 |
$amount = $_request['amount'];
|
395 |
$OrderPaymentName = strtolower(getPaymentMethod($order));
|
396 |
#modified
|
397 |
if(in_array($_REQUEST['payment_type'],$invoiceAllowed)) {
|
398 |
+
$org_tid = $_request['tid_payment'];
|
399 |
+
} else {
|
400 |
$org_tid = $_request['tid'];
|
401 |
}
|
402 |
|
403 |
$paymentType = $allowedPayment[$OrderPaymentName];
|
|
|
404 |
if(!in_array($_request['payment_type'], $paymentType)) {
|
405 |
$emailBody .= "Novalnet callback received. Payment type (".$_request['payment_type'].") is not matched with $OrderPaymentName!$lineBreak$lineBreak";
|
|
|
|
|
|
|
|
|
|
|
|
|
406 |
return false;
|
407 |
+
}
|
408 |
|
409 |
if(!preg_match('/^'.$org_tid.'/i',$order->getPayment()->getLastTransId())){
|
410 |
$emailBody .= 'Novalnet callback received. Order no is not valid' . "$lineBreak$lineBreak".$lineBreak;
|
417 |
return false;
|
418 |
}
|
419 |
}
|
420 |
+
|
421 |
+
function setOrderStatus ($incrementId)
|
422 |
+
{
|
423 |
+
global $lineBreak, $createInvoice, $emailBody, $orderStatus, $orderState, $tableOrderPayment, $addSubsequentTidToDb, $paypalAllowed, $invoiceAllowed, $getAdminTransaction;
|
424 |
if ($order = getOrderByIncrementId($incrementId)) {
|
425 |
$order->getPayment()->getMethodInstance()->setCanCapture(true);
|
426 |
|
427 |
if ($createInvoice){
|
428 |
$saveinvoice = saveInvoice($order);
|
429 |
}
|
430 |
+
|
431 |
if ($invoice = $order->getInvoiceCollection()->getFirstItem()) {
|
432 |
if ($saveinvoice) {
|
433 |
$order->setState($orderState, true, 'Novalnet callback set state '.$orderState.' for Order-ID = ' . $incrementId); //processing: ok; complete: not ok -> would cause the error msg: 'Der Bestellzustand "complete" darf nicht manuell gesetzt werden'
|
440 |
if ($addSubsequentTidToDb){
|
441 |
$payment = $order->getPayment();
|
442 |
$data = unserialize($payment->getAdditionalData());
|
443 |
+
if(in_array($_REQUEST['payment_type'],$invoiceAllowed)) {
|
444 |
+
$payment->setTransactionId($_REQUEST['tid']);
|
445 |
+
$transaction = $payment->addTransaction(Mage_Sales_Model_Order_Payment_Transaction::TYPE_CAPTURE, null, false);
|
446 |
+
$transaction->setParentTxnId($_REQUEST['tid_payment'])
|
447 |
+
->save();
|
448 |
+
$amount = Mage::helper('novalnet_payment')->getFormatedAmount($_REQUEST['amount'], 'RAW');
|
449 |
+
$currency = Mage::app()->getLocale()->currency($getAdminTransaction->getCurrency())->getSymbol();
|
450 |
+
$script = 'Novalnet Callback Script executed successfully. The subsequent TID: (' . $_REQUEST['tid'] . ') on ' . date('Y-m-d H:i:s').' for the amount : '.$currency.' '.$amount;
|
451 |
} else {
|
452 |
$script = 'Novalnet Callback Script executed successfully on ' . date('Y-m-d H:i:s');
|
453 |
}
|
467 |
}
|
468 |
return true;
|
469 |
}
|
470 |
+
|
471 |
+
function getOrderByIncrementId($incrementId)
|
472 |
+
{
|
473 |
$order = Mage::getModel('sales/order')->loadByIncrementId($incrementId);
|
474 |
return $order;
|
475 |
}
|
476 |
+
|
477 |
+
function getPaymentMethod ($order)
|
478 |
+
{
|
479 |
return $order->getPayment()->getData('method');
|
480 |
}
|
481 |
+
|
482 |
+
function checkIP($_request)
|
483 |
+
{
|
484 |
global $lineBreak, $ipAllowed, $test, $emailBody;
|
485 |
$callerIp = Mage::helper('novalnet_payment')->getRealIpAddr();
|
486 |
if ($test){
|
497 |
return true;
|
498 |
}
|
499 |
|
500 |
+
function saveInvoice (Mage_Sales_Model_Order $order)
|
501 |
+
{
|
502 |
+
global $lineBreak, $emailBody, $paypalAllowed, $invoiceAllowed, $callBackExecuted, $getAdminTransaction;
|
503 |
if(!$callBackExecuted) {
|
504 |
+
$modNovalCallback = Mage::getModel('novalnet_payment/callback')->loadLogByOrderId($_REQUEST['order_no']);
|
505 |
+
$request_amount = Mage::helper('novalnet_payment')->getFormatedAmount($_REQUEST['amount'], 'RAW');
|
506 |
+
$sum = $request_amount + $modNovalCallback->getCallbackAmount();
|
507 |
+
|
508 |
+
if (in_array($_REQUEST['payment_type'],$invoiceAllowed) && $sum < $order->getGrandTotal()) {
|
509 |
+
|
510 |
+
doNovalnetCallbackLog($modNovalCallback, $_REQUEST, $sum);
|
511 |
+
$amount = Mage::helper('novalnet_payment')->getFormatedAmount($_REQUEST['amount'], 'RAW');
|
512 |
+
$emailBody .= "Novalnet Callback Script executed successfully. Payment for order id :" . $_REQUEST['order_no'] . '. New TID: ('. $_REQUEST['tid'] . ') on ' . date('Y-m-d H:i:s').' for the amount : '.$amount.' '.$getAdminTransaction->getCurrency().$lineBreak;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
513 |
return false;
|
514 |
+
} else {
|
515 |
+
|
516 |
+
doNovalnetCallbackLog($modNovalCallback, $_REQUEST, $sum);
|
517 |
+
|
518 |
+
if ($order->canInvoice()) {
|
519 |
+
$invoice = $order->prepareInvoice();
|
520 |
+
$invoice->setTransactionId($_REQUEST['tid']);
|
521 |
+
$invoice->setRequestedCaptureCase(Mage_Sales_Model_Order_Invoice::CAPTURE_ONLINE)
|
522 |
+
->setState(Mage_Sales_Model_Order_Invoice::STATE_PAID)
|
523 |
+
->register();
|
524 |
+
Mage::getModel('core/resource_transaction')
|
525 |
+
->addObject($invoice)
|
526 |
+
->addObject($invoice->getOrder())
|
527 |
+
->save();
|
528 |
+
$amount = Mage::helper('novalnet_payment')->getFormatedAmount($_REQUEST['amount'], 'RAW');
|
529 |
+
|
530 |
+
if(in_array($_REQUEST['payment_type'],$invoiceAllowed)) {
|
531 |
+
$emailBody = "Novalnet Callback Script executed successfully for the TID: " . $_REQUEST['tid_payment']. " with amount ". $amount .$getAdminTransaction->getCurrency(). " on " . date('Y-m-d H:i:s'). ". Please refer PAID transaction in our Novalnet Merchant Administration with the TID: " . $_REQUEST['tid']. "$lineBreak$lineBreak";
|
532 |
+
} else {
|
533 |
+
$emailBody = "Novalnet Callback Script executed successfully for the TID: " . $_REQUEST['tid']. " with amount ". $amount . $getAdminTransaction->getCurrency(). " on " . date('d-m-Y H:i:s') . ". $lineBreak$lineBreak";
|
534 |
+
}
|
535 |
+
} else {
|
536 |
+
echo "Novalnet callback received. Callback Script executed already. Refer Order :".$_REQUEST['order_no'].$lineBreak;
|
537 |
+
exit;
|
538 |
+
}
|
539 |
}
|
540 |
}
|
541 |
return true;
|
542 |
}
|
543 |
|
544 |
+
function doTransactionStatusSave($response, $transactionStatus, $orderNo)
|
545 |
+
{
|
546 |
$order = getOrderByIncrementId($orderNo);
|
547 |
$amount = $response['amount'];
|
548 |
$ncNo = (isset($response['nc_no'])) ? $response['nc_no'] : NULL;
|
565 |
->save();
|
566 |
}
|
567 |
|
568 |
+
function doTransactionOrderLog($response, $orderno)
|
569 |
+
{
|
570 |
$order = getOrderByIncrementId($orderNo);
|
571 |
$helper = Mage::helper('novalnet_payment');
|
572 |
$storeId = $order->getStoreId();
|
580 |
->save();
|
581 |
}
|
582 |
|
583 |
+
function doNovalnetCallbackLog($modNovalCallback, $response, $sum)
|
584 |
+
{
|
585 |
+
$org_tid = $response['payment_type'] == 'INVOICE_CREDIT' ? trim($response['tid_payment']) : trim($response['tid']);
|
586 |
+
$modNovalCallback->setOrderId($response['order_no'])
|
587 |
+
->setCallbackAmount($sum)
|
588 |
+
->setReferenceTid($org_tid)
|
589 |
+
->setCallbackDatetime(date('Y-m-d H:i:s'))
|
590 |
+
->setCallbackLog($_SERVER['REQUEST_URI'])
|
591 |
+
->save();
|
592 |
+
}
|
593 |
+
|
594 |
?>
|
js/novalnet/novalnetcc.js
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
* to license@magentocommerce.com so we can send you a copy immediately.
|
13 |
*
|
14 |
* Part of the Paymentmodul of Novalnet AG
|
15 |
-
*
|
16 |
* If you have found this script usefull a small
|
17 |
* recommendation as well as a comment on merchant form
|
18 |
* would be greatly appreciated.
|
@@ -116,68 +116,4 @@ function novalnetbuildParams()
|
|
116 |
return origMethod(origParams);
|
117 |
}
|
118 |
});
|
119 |
-
}
|
120 |
-
|
121 |
-
function novalnet_cc_iframe(iframe)
|
122 |
-
{
|
123 |
-
document.getElementById('loading').style.display = 'none';
|
124 |
-
var frameObj =(iframe.contentWindow || iframe.contentDocument);
|
125 |
-
if (frameObj.document) frameObj=frameObj.document;
|
126 |
-
var card_type = frameObj.getElementById("novalnetCc_cc_type");
|
127 |
-
card_type.onchange = function ()
|
128 |
-
{
|
129 |
-
document.getElementById('novalnet_cc_type').value = card_type.value;
|
130 |
-
document.getElementById('novalnet_cc_type').disabled = false;
|
131 |
-
novalnet_cc_process(iframe);
|
132 |
-
}
|
133 |
-
var card_owner = frameObj.getElementById("novalnetCc_cc_owner");
|
134 |
-
card_owner.onkeyup = function ()
|
135 |
-
{
|
136 |
-
document.getElementById('novalnet_cc_owner').value = card_owner.value;
|
137 |
-
document.getElementById('novalnet_cc_owner').disabled = false;
|
138 |
-
novalnet_cc_process(iframe);
|
139 |
-
}
|
140 |
-
var card_exp_month = frameObj.getElementById("novalnetCc_expiration");
|
141 |
-
card_exp_month.onchange = function ()
|
142 |
-
{
|
143 |
-
document.getElementById('novalnet_cc_exp_month').value = card_exp_month.value;
|
144 |
-
document.getElementById('novalnet_cc_exp_month').disabled = false;
|
145 |
-
novalnet_cc_process(iframe);
|
146 |
-
}
|
147 |
-
var card_exp_year = frameObj.getElementById("novalnetCc_expiration_yr");
|
148 |
-
card_exp_year.onchange = function ()
|
149 |
-
{
|
150 |
-
document.getElementById('novalnet_cc_exp_year').value = card_exp_year.value;
|
151 |
-
document.getElementById('novalnet_cc_exp_year').disabled = false;
|
152 |
-
novalnet_cc_process(iframe);
|
153 |
-
}
|
154 |
-
var card_cid = frameObj.getElementById("novalnetCc_cc_cid");
|
155 |
-
card_cid.onkeyup = function ()
|
156 |
-
{
|
157 |
-
document.getElementById('novalnet_cc_cid').value = card_cid.value;
|
158 |
-
document.getElementById('novalnet_cc_cid').disabled = false;
|
159 |
-
novalnet_cc_process(iframe);
|
160 |
-
}
|
161 |
-
}
|
162 |
-
|
163 |
-
function novalnet_cc_process(iframe)
|
164 |
-
{
|
165 |
-
if(iframe) {
|
166 |
-
var frameObj =(iframe.contentWindow || iframe.contentDocument);
|
167 |
-
if (frameObj.document) frameObj=frameObj.document;
|
168 |
-
|
169 |
-
var nncc_cardno_id = frameObj.getElementById("nncc_cardno_id");
|
170 |
-
var nncc_unique_id = frameObj.getElementById("nncc_unique_id");
|
171 |
-
|
172 |
-
if(nncc_cardno_id)
|
173 |
-
{
|
174 |
-
document.getElementById('novalnet_cc_pan_hash').value = nncc_cardno_id.value;
|
175 |
-
document.getElementById('novalnet_cc_pan_hash').disabled = false;
|
176 |
-
}
|
177 |
-
if(nncc_unique_id)
|
178 |
-
{
|
179 |
-
document.getElementById('novalnet_cc_unique_id').value = nncc_unique_id.value;
|
180 |
-
document.getElementById('novalnet_cc_unique_id').disabled = false;
|
181 |
-
}
|
182 |
-
}
|
183 |
-
}
|
12 |
* to license@magentocommerce.com so we can send you a copy immediately.
|
13 |
*
|
14 |
* Part of the Paymentmodul of Novalnet AG
|
15 |
+
* https://www.novalnet.de
|
16 |
* If you have found this script usefull a small
|
17 |
* recommendation as well as a comment on merchant form
|
18 |
* would be greatly appreciated.
|
116 |
return origMethod(origParams);
|
117 |
}
|
118 |
});
|
119 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/novalnet/novalnetsepa.js
ADDED
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Magento
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
7 |
+
* that is bundled with this package in the file LICENSE.txt.
|
8 |
+
* It is also available through the world-wide-web at this URL:
|
9 |
+
* http://opensource.org/licenses/osl-3.0.php
|
10 |
+
* If you did not receive a copy of the license and are unable to
|
11 |
+
* obtain it through the world-wide-web, please send an email
|
12 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
13 |
+
*
|
14 |
+
* Part of the Paymentmodul of Novalnet AG
|
15 |
+
* https://www.novalnet.de
|
16 |
+
* If you have found this script usefull a small
|
17 |
+
* recommendation as well as a comment on merchant form
|
18 |
+
* would be greatly appreciated.
|
19 |
+
*
|
20 |
+
* @category js
|
21 |
+
* @package Mage
|
22 |
+
* @copyright Copyright (c) Novalnet AG
|
23 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
24 |
+
*/
|
25 |
+
|
26 |
+
Event.observe(window, 'load', function(){
|
27 |
+
// For Frontend Payment
|
28 |
+
if (typeof payment != 'undefined' && typeof payment.save != 'undefined') {
|
29 |
+
novalnetSepaPaymentWrap();
|
30 |
+
}
|
31 |
+
// For Creating Admin Order
|
32 |
+
if (typeof order != 'undefined' && typeof order.submit != 'undefined') {
|
33 |
+
novalnetSepaAdminOrder();
|
34 |
+
novalnetSepabuildParams();
|
35 |
+
}
|
36 |
+
});
|
37 |
+
|
38 |
+
function enableElements(elements)
|
39 |
+
{
|
40 |
+
for (var i=0; i<elements.length; i++) {
|
41 |
+
elements[i].disabled = false;
|
42 |
+
}
|
43 |
+
}
|
44 |
+
|
45 |
+
function novalnetSepaPaymentWrap()
|
46 |
+
{
|
47 |
+
payment.save = payment.save.wrap(function(origSaveMethod){
|
48 |
+
if ($('p_method_novalnetSepa') && $('p_method_novalnetSepa').checked) {
|
49 |
+
if (checkout.loadWaiting!=false) return;
|
50 |
+
var elements = $('fieldset_novalnetSepa').select('input[type="hidden"]');
|
51 |
+
enableElements(elements);
|
52 |
+
checkout.setLoadWaiting('payment');
|
53 |
+
if($('ifm_payment_form_novalnetSepa')) {
|
54 |
+
$('ifm_payment_form_novalnetSepa').contentWindow.updateHiddenElements(elements);
|
55 |
+
}
|
56 |
+
var request = new Ajax.Request(
|
57 |
+
payment.saveUrl,
|
58 |
+
{
|
59 |
+
method:'post',
|
60 |
+
onComplete: payment.onComplete,
|
61 |
+
onSuccess: payment.onSave,
|
62 |
+
onFailure: checkout.ajaxFailure.bind(checkout),
|
63 |
+
parameters: Form.serialize(payment.form)
|
64 |
+
}
|
65 |
+
);
|
66 |
+
} else {
|
67 |
+
origSaveMethod();
|
68 |
+
}
|
69 |
+
});
|
70 |
+
}
|
71 |
+
|
72 |
+
function novalnetSepaAdminOrder()
|
73 |
+
{
|
74 |
+
order.submit = order.submit.wrap(function(origSaveMethod){
|
75 |
+
if ($('p_method_novalnetSepa') && $('p_method_novalnetSepa').checked) {
|
76 |
+
var elements = $('fieldset_novalnetSepa').select('input[type="hidden"]');
|
77 |
+
enableElements(elements);
|
78 |
+
if($('ifm_payment_form_novalnetSepa')) {
|
79 |
+
$('ifm_payment_form_novalnetSepa').contentWindow.updateHiddenElements(elements);
|
80 |
+
}
|
81 |
+
if(order.orderItemChanged){
|
82 |
+
if(confirm('You have item changes')){
|
83 |
+
editForm.submit();
|
84 |
+
}
|
85 |
+
else{
|
86 |
+
order.itemsUpdate();
|
87 |
+
}
|
88 |
+
}
|
89 |
+
else{
|
90 |
+
editForm.submit();
|
91 |
+
}
|
92 |
+
} else {
|
93 |
+
origSaveMethod();
|
94 |
+
}
|
95 |
+
});
|
96 |
+
}
|
97 |
+
|
98 |
+
function novalnetSepabuildParams()
|
99 |
+
{
|
100 |
+
order.prepareParams = order.prepareParams.wrap(function(origMethod, origParams){
|
101 |
+
if ($('p_method_novalnetSepa') && $('p_method_novalnetSepa').checked) {
|
102 |
+
var params = origMethod(origParams);
|
103 |
+
params['novalnet_sepa_owner'] = '';
|
104 |
+
params['novalnet_sepa_pan_hash'] = '';
|
105 |
+
params['novalnet_sepa_unique_id'] = '';
|
106 |
+
params['novalnet_sepa_iban_confirmed'] = '';
|
107 |
+
return params;
|
108 |
+
} else {
|
109 |
+
return origMethod(origParams);
|
110 |
+
}
|
111 |
+
});
|
112 |
+
}
|
novalnet_css_link.php
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
* Part of the Paymentmodule of Novalnet AG
|
17 |
+
* https://www.novalnet.de
|
18 |
+
* If you have found this script usefull a small
|
19 |
+
* recommendation as well as a comment on merchant form
|
20 |
+
* would be greatly appreciated.
|
21 |
+
*
|
22 |
+
* @category Novalnet
|
23 |
+
* @package Novalnet_Payment
|
24 |
+
* @copyright Novalnet AG
|
25 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
if (!defined('NOVALNET_CC_CUSTOM_CSS')) define('NOVALNET_CC_CUSTOM_CSS', 'label~~~td~~~input');
|
29 |
+
if (!defined('NOVALNET_CC_CUSTOM_CSS_STYLE')) define('NOVALNET_CC_CUSTOM_CSS_STYLE', 'color: rgb(102, 102, 102);font-weight: bold;~~~color: rgb(102, 102, 102);font-weight: bold;~~~width: 254px;border: 1px solid rgb(182, 182, 182);padding: 2px;');
|
30 |
+
|
31 |
+
if (!defined('NOVALNET_SEPA_CUSTOM_CSS')) define('NOVALNET_SEPA_CUSTOM_CSS', 'label~~~td~~~input~~~select');
|
32 |
+
if (!defined('NOVALNET_SEPA_CUSTOM_CSS_STYLE')) define('NOVALNET_SEPA_CUSTOM_CSS_STYLE', 'color: rgb(102, 102, 102);font-weight: bold;~~~color: rgb(102, 102, 102);font-weight: bold;~~~width: 254px;border: 1px solid rgb(182, 182, 182);padding: 2px;~~~width: 254px;border: 1px solid rgb(182, 182, 182);padding: 2px;');
|
33 |
+
|
34 |
+
|
35 |
+
?>
|
package.xml
CHANGED
@@ -1,25 +1,25 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Novalnet</name>
|
4 |
-
<version>5.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Novalnet AG ist ein deutsches EPayment - Unternehmen, bietet alle relevanten Zahlungsarten weltweit. / Novalnet is a German based payment service provider, which offers all the available payments and solutions worldwide.</summary>
|
10 |
<description>The NOVALNET AG is an essential component of e-Payment platform that facilitates your company to process all type of payments. As one of the leading company in Online-Payment the NOVALNET AG provides its customers an individual, technically qualified secured Payment system and also the best possible support throughout. NOVALNET AG is not only an e-Payment provider but also we offer our Merchants an optimal strategic solution for easy payment processing which is pocket-friendly for our customer.</description>
|
11 |
-
<notes
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
<authors><author><name>Gabriel Dixon</name><user>Novalnet</user><email>gd@novalnet.de</email></author></authors>
|
20 |
-
<date>
|
21 |
-
<time>
|
22 |
-
<contents><target name="magecommunity"><dir name="Novalnet"><dir><dir name="Payment"><dir name="Block"><dir name="Adminhtml"><dir name="Configuration"><dir name="Wizard"><dir name="Config"><file name="Form.php" hash="f154cd46f698ce269e79a9a0944ca914"/></dir><dir name="Page"><file name="Edit.php" hash="e903f799a4de2b25d6ad1b20aeabc9a9"/><file name="View.php" hash="e940573c2c0837dbc21edc0be83b17ac"/></dir></dir></dir><file name="Information.php" hash="6b3b9b7ab93f343663e7b4d952731ccf"/><dir name="Sales"><dir name="Order"><file name="Grid.php" hash="c5d7e4c887f895bd01eac05de380e6bc"/><dir name="View"><dir name="Tab"><file name="TransactionOverview.php" hash="0661f96f8a22df07d352768e0dc374c8"/><file name="TransactionStatus.php" hash="ee9b637b49fc43ee8657a1e1c0796091"/></dir></dir><file name="View.php" hash="fc61093cc84f72e3db847d5e471e6272"/></dir><file name="Order.php" hash="10a9bcd7570720bec7ded4edf9cf3aa1"/><file name="Sales.php" hash="33dd573defcc1cfeea61596df66c2680"/></dir><dir name="Transaction"><file name="Grid.php" hash="526bb39ba098a10f2d64094d88436cfe"/><dir name="View"><file name="Form.php" hash="809871c87deb919bc111c5b7220dfa1a"/></dir><file name="View.php" hash="472957238ab27f5f555a2d546e3991f3"/></dir><file name="Transaction.php" hash="dfb34e6eb7327454d88a37b300f3b800"/><dir name="Transactionoverview"><file name="Grid.php" hash="29b095bfb7cd438fdeb628d9440b48d2"/><dir name="View"><file name="Form.php" hash="a0452d1c35e6d69181f84e8686ddcc83"/></dir><file name="View.php" hash="c9c22608d2ebed4f2e7634fdd04854f3"/></dir><file name="Transactionoverview.php" hash="8025e1c509ac7f25f8216b84e4ae28db"/><dir name="Widget"><dir name="Grid"><file name="Container.php" hash="3e936d267fe3a717bc43b7b5efd2a62a"/></dir><dir name="View"><file name="Container.php" hash="ae340f2254de7f6994a4db6e2a4bf89b"/></dir></dir><file name="Widget.php" hash="bf8ab82897de355b414dc0559fbce6c7"/></dir><dir name="Payment"><dir name="Method"><dir name="Form"><file name="Cc.php" hash="9da37488c882a5e3cc07fc39f62fc90d"/><file name="Ccsecure.php" hash="7ce3a25699e7bb355c48c3e2e30f782f"/><file name="Elvaustria.php" hash="133cba3a50280dfbe8d8ebc7a660a63e"/><file name="Elvgerman.php" hash="7badd769ed762457c7bbbc80e8a3d3b3"/><file name="Ideal.php" hash="47b017bd02248af37af55112dda53d41"/><file name="Invoice.php" hash="df2e5294dfab69b5745d3b08bbedc440"/><file name="Paypal.php" hash="208db102a1cf4951a709dea8acd24201"/><file name="Phonepayment.php" hash="7644e9348e27425ce0720c6d6a78d52f"/><file name="Prepayment.php" hash="004ff8d8ba7c40150713c47afcd28930"/><file name="Sofortueberweisung.php" hash="7dfb202ea1f30d13f247d762e136f447"/></dir><dir name="Info"><file name="Cc.php" hash="502760aa4d0de8fe87abd6f9f06083c0"/><file name="Ccsecure.php" hash="f188d28d95542c12f19d19088114ce76"/><file name="Elvaustria.php" hash="72bec4af310231d1dc8589c8ea45caec"/><file name="Elvgerman.php" hash="8b22eea80d7c9cf4769092491dd18dbb"/><file name="Ideal.php" hash="29838c6932c36615735ffcbd82c50067"/><file name="Invoice.php" hash="6b9ca28ddd756d7284aebdf2a1b8bac8"/><file name="Paypal.php" hash="2552d093dd1fd3dc31bf080a431251d5"/><file name="Phonepayment.php" hash="a3b7785666e882fbc74084d20612c977"/><file name="Prepayment.php" hash="eeb95887f6c40dded72ec719fe2cb5b6"/><file name="Sofortueberweisung.php" hash="76b4c9ddf858552929fe0c27b00fd033"/></dir><file name="NovalnetRedirect.php" hash="df6d42fd944218e316a8832234dadaa1"/></dir></dir></dir><dir name="Helper"><file name="AssignData.php" hash="b1cd58102f76b757a810807ec33e1846"/><file name="Data.php" hash="0ea742a5b67a8139fa8ff7e1e58c7945"/></dir><dir name="Model"><file name="Config.php" hash="f2d06c17c608ba9f406b827f208dc989"/><dir name="Novalnet"><dir name="Source"><file name="Callbacktypes.php" hash="b0f707c40a9ea951e08168b0b2631474"/><file name="Cctype.php" hash="846cd5e1a2c74040e6c8c9e668a235e5"/><file name="PendingOrder.php" hash="bfaa452e0aa81fc5b2b9ea223f18e9c4"/></dir></dir><dir name="Payment"><dir name="Method"><file name="Abstract.php" hash="8aeea8f4646fd5c90286586de753d3da"/><file name="NovalnetCc.php" hash="008e1469ef520597cdea13ab55a6428f"/><file name="NovalnetElvaustria.php" hash="6234a60699f546ddb8954e2c4e20f290"/><file name="NovalnetElvgerman.php" hash="3d2ce3ab1896699612698794b0bd445a"/><file name="NovalnetIdeal.php" hash="ae206cd135bbeea642dbad3a2ee0ca1d"/><file name="NovalnetInvoice.php" hash="4832bb6122417e787ea517d0ac17e873"/><file name="NovalnetPaypal.php" hash="63f408545347247c2d3518d64c49b36d"/><file name="NovalnetPhonepayment.php" hash="603ef0eed04b26684c09b639fd4d69eb"/><file name="NovalnetPrepayment.php" hash="e9a0d3b43dc0fa74f2fa0e4560c985b3"/><file name="NovalnetSecure.php" hash="5ea845d76b0401eba810c047617b93a0"/><file name="NovalnetSofortueberweisung.php" hash="141280c45b4331d2ebe60255af4181a6"/></dir></dir><dir name="Resource"><dir name="Transactionoverview"><file name="Collection.php" hash="1015b76f3f143b302c481877aa939a0b"/></dir><file name="Transactionoverview.php" hash="13021b9cdd84b993565e995c518d6ec6"/><dir name="Transactionstatus"><file name="Collection.php" hash="590732a9ca8dc155f178da8b218b8a42"/></dir><file name="Transactionstatus.php" hash="28e9e731a0edaa4ea6c63750a7b649fb"/></dir><dir name="System"><dir name="Config"><file name="Activemethods.php" hash="3e483731cd441768c57a400155f130bc"/></dir></dir><file name="Transactionoverview.php" hash="88ffe2552e81dd6438159d7ca0120ceb"/><file name="Transactionstatus.php" hash="d358c18df588e56de32729fe23ebcac0"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Configuration"><dir name="Wizard"><file name="PageController.php" hash="429c76e3f51871985f0807795088b4c7"/></dir></dir><file name="InformationController.php" hash="4ce983567a9ae2825670ee64a6c04e40"/><file name="NovalnetCcController.php" hash="218a06692380af3e9bb1459350975e91"/><dir name="Sales"><file name="OrderController.php" hash="d9071070fcea4fb7475c4b0075b92aa5"/></dir><file name="TransactionController.php" hash="009774cca720f1a6b8142e1b36f3e8c4"/><file name="TransactionoverviewController.php" hash="b88394812b7452859943e69622388488"/></dir><file name="GatewayController.php" hash="13eb726e070d548c8c7c596fc9ea3e2b"/><file name="NovalnetCcController.php" hash="ed48609955f6d77e9e77751761c7fc1d"/></dir><dir name="etc"><file name="adminhtml.xml" hash="3f1abbe3c9156c82c7f0da8bf99e1e6a"/><file name="config.xml" hash="b830406d09a04629f26eb21e4cfe43d1"/><file name="system.xml" hash="168c1dea70c1363e7f6faa8eb3544421"/></dir><dir name="sql"><dir name="novalnet_setup"><file name="install.sql" hash="283108b325aab03b2113a0b15a10f301"/><file name="mysql4-install-1.0.0.php" hash="aea3f06985c6cd44b06188d272fd7106"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="novalnet"><file name="configuration.xml" hash="03a6fdf66b23d6d0483e414c67c55456"/></dir></dir><dir name="template"><dir name="novalnet"><dir><dir name="information"><file name="iframe.phtml" hash="e6daaa6fa00de4f160e22018eb68621c"/></dir><dir name="payment"><dir name="configuration"><dir name="wizard"><dir name="page"><dir name="form"><file name="container.phtml" hash="dda4cde6f9b491a7e29db2b20e413b0e"/></dir><file name="store_switcher.phtml" hash="c4fd2f8504c3850fa0c393883022876b"/><dir name="view"><file name="container.phtml" hash="b67c6b87ae39c6f6b83589069ef59553"/></dir></dir></dir></dir><dir name="method"><dir name="form"><file name="Cc.phtml" hash="aa338f3aa9185e55f8cfcf36cff548bf"/><file name="Ccform.phtml" hash="6f2a0c9951681fbd134a33585ef7f9d5"/><file name="Ccsecure.phtml" hash="2ad24a6f79e299f3b1dd49fa3e0b5b19"/><file name="Elvaustria.phtml" hash="fced79b0db45ce3a7b8a286820444a3b"/><file name="Elvgerman.phtml" hash="aa8cdd8b56e0482aef625074739cb3ea"/><file name="Invoice.phtml" hash="52d496d194b0171c6bdcbb3c1cf21033"/><file name="Prepayment.phtml" hash="ada967d106498639998e42fc6c0f604f"/><file name="Sofortueberweisung.phtml" hash="abac9e6b8dc13b177a97edbef1deb4ef"/><file name="blank.phtml" hash="5e3a27020de3ce4aacac6dfa9efbfef3"/></dir><dir name="info"><file name="Cc.phtml" hash="04ecc6085c3facc472ae43bc0ff0723a"/><file name="Ccsecure.phtml" hash="eacf844aa2fbeb53b1fcc3113734e612"/><file name="Elvaustria.phtml" hash="80c74c18ff4ec683e22b6c7e0818acbc"/><file name="Elvgerman.phtml" hash="80c74c18ff4ec683e22b6c7e0818acbc"/><file name="Ideal.phtml" hash="c5637a01bc7525437c4342ef08f06497"/><file name="Invoice.phtml" hash="85bc186d90c18e8353a69321fb9f3b1e"/><file name="Paypal.phtml" hash="c5637a01bc7525437c4342ef08f06497"/><file name="Phonepayment.phtml" hash="96fd3606f228eaee86a8552e2cc67cc5"/><file name="Prepayment.phtml" hash="85bc186d90c18e8353a69321fb9f3b1e"/><file name="Sofortueberweisung.phtml" hash="c5637a01bc7525437c4342ef08f06497"/></dir><dir name="pdf"><file name="Cc.phtml" hash="9051a250a4c5d7d73444c127522e842e"/><file name="Ccsecure.phtml" hash="9051a250a4c5d7d73444c127522e842e"/><file name="Elvaustria.phtml" hash="9051a250a4c5d7d73444c127522e842e"/><file name="Elvgerman.phtml" hash="9051a250a4c5d7d73444c127522e842e"/><file name="Ideal.phtml" hash="9051a250a4c5d7d73444c127522e842e"/><file name="Invoice.phtml" hash="aa8de47ffd6ec8815b0b1a8d26cedb38"/><file name="Paypal.phtml" hash="903fac18b63d2b1990e7d969093ac09d"/><file name="Phonepayment.phtml" hash="9051a250a4c5d7d73444c127522e842e"/><file name="Prepayment.phtml" hash="aa8de47ffd6ec8815b0b1a8d26cedb38"/><file name="Sofortueberweisung.phtml" hash="9051a250a4c5d7d73444c127522e842e"/></dir></dir></dir><dir name="sales"><dir name="order"><dir name="view"><dir name="tab"><file name="transactionoverview.phtml" hash="d1cb9bef2fb97c1a38ac0c31bc16b3f9"/><file name="transactionstatus.phtml" hash="a2dd13ad8d6454757bce07fa213c56de"/></dir></dir></dir></dir><dir name="transaction"><dir name="overview"><dir name="view"><file name="form.phtml" hash="d8f0fa57e92448308c710596ec9a4d42"/></dir></dir><dir name="view"><file name="form.phtml" hash="23505ba25df6aa71305e3a1f238b6395"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="novalnet.xml" hash="d903f5ae8aa9330bf9eb30e0b710fc3f"/></dir><dir name="template"><dir name="novalnet"><dir><dir name="payment"><dir name="method"><dir name="form"><file name="Cc.phtml" hash="2c77a124f7b3fb18145165cc2a6e75b8"/><file name="Ccform.phtml" hash="b77d45cba6e213913f0220b22e7119e4"/><file name="Ccsecure.phtml" hash="2671c74d74a70d6136aa692eb89d60cd"/><file name="Elvaustria.phtml" hash="46b2d267966558a9d6c3bbfce718f3b7"/><file name="Elvgerman.phtml" hash="c2d3ec08f1298d14335d0129d38e5e1e"/><file name="Ideal.phtml" hash="c5f2aeca7be1965c1440a5a9eab26513"/><file name="Invoice.phtml" hash="6094c6497b5d8ec57bdcdea6debd2a46"/><file name="Paypal.phtml" hash="46b672e7f09bd23a8a53e76733619649"/><file name="Phonepayment.phtml" hash="47f8f060b79a273d6517d79a6432aa2d"/><file name="Prepayment.phtml" hash="4d166e42130bea7a83259bbc978de78b"/><file name="Sofortueberweisung.phtml" hash="9068b09a9d5b7269f2395e010783a252"/><file name="blank.phtml" hash="7032809fa5e26991a9d237d10da9bafc"/></dir><dir name="info"><file name="Cc.phtml" hash="b69d9f4794f8a38142ce1e608f11bd9a"/><file name="Ccsecure.phtml" hash="2f16b031521eb8bd2917d31b91660fb0"/><file name="Elvaustria.phtml" hash="7c8f181fa5f8e1a7726352774b9dc133"/><file name="Elvgerman.phtml" hash="a783f8bb95d8550a03e848b77a834bd4"/><file name="Ideal.phtml" hash="e19e294f6cb4ddf9c3db146065cce4db"/><file name="Invoice.phtml" hash="481298878b3d6b0061b9eb64520318f8"/><file name="Paypal.phtml" hash="b6194443e950bb268849a0312b50da0b"/><file name="Phonepayment.phtml" hash="4ae14617dd140eebe95fb87784cd7747"/><file name="Prepayment.phtml" hash="f326f4e559248b264798bccbcf5622cf"/><file name="Sofortueberweisung.phtml" hash="b6194443e950bb268849a0312b50da0b"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Novalnet_Payment.xml" hash="10435c3d2753cd57328c1dd7ba7e8f8f"/></dir></target><target name="magelocale"><dir name="de_DE"><dir name="template"><dir name="email"><dir name="novalnet"><file name="novalnet_callback_email.html" hash="e05460c3973cdb9845c15e8639b353b4"/></dir></dir></dir><file name="Novalnet_Payment.csv" hash="5437a1cebb557735e5ca75298395ab84"/></dir><dir name="en_US"><dir name="template"><dir name="email"><dir name="novalnet"><file name="novalnet_callback_email.html" hash="e05460c3973cdb9845c15e8639b353b4"/></dir></dir></dir><file name="Novalnet_Payment.csv" hash="cd2be7cd4ecd2a18bd2c9e4b979871c8"/></dir></target><target name="mage"><dir name="js"><dir name="novalnet"><file name="novalnetcc.js" hash="ca3fbdb791e9d5b810a16e8255ffa736"/></dir></dir><dir name="."><file name="callback_novalnet2magento.php" hash="02a3c4107b18a04d0ae49e4cc250e59e"/></dir></target></contents>
|
23 |
<compatible/>
|
24 |
<dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
|
25 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Novalnet</name>
|
4 |
+
<version>5.0.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Novalnet AG ist ein deutsches EPayment - Unternehmen, bietet alle relevanten Zahlungsarten weltweit. / Novalnet is a German based payment service provider, which offers all the available payments and solutions worldwide.</summary>
|
10 |
<description>The NOVALNET AG is an essential component of e-Payment platform that facilitates your company to process all type of payments. As one of the leading company in Online-Payment the NOVALNET AG provides its customers an individual, technically qualified secured Payment system and also the best possible support throughout. NOVALNET AG is not only an e-Payment provider but also we offer our Merchants an optimal strategic solution for easy payment processing which is pocket-friendly for our customer.</description>
|
11 |
+
<notes>- Implemented Novalnet SafetyPay and Novalnet Direct Debit SEPA payment methods.&amp;#xD;&#xD;
|
12 |
+
- Version compatibility has been checked.&amp;#xD;&#xD;
|
13 |
+
- Updated callback script file.&amp;#xD;&#xD;
|
14 |
+
- Updated auto refill option for Credit card, Direct Debit SEPA, Direct Debit Austria & Direct Debit German payment methods.&amp;#xD;&#xD;
|
15 |
+
- Updated Direct Debit SEPA payment module as per new testcase.&amp;#xD;&#xD;
|
16 |
+
- Implemented Referrer id, Reference parameters in all payment methods.&amp;#xD;&#xD;
|
17 |
+
- Updated callback script file as per new testcase.&amp;#xD;&#xD;
|
18 |
+
- Added partial refund feature for Novalnet payment methods.</notes>
|
19 |
<authors><author><name>Gabriel Dixon</name><user>Novalnet</user><email>gd@novalnet.de</email></author></authors>
|
20 |
+
<date>2014-02-10</date>
|
21 |
+
<time>06:59:08</time>
|
22 |
+
<contents><target name="magecommunity"><dir name="Novalnet"><dir><dir name="Payment"><dir name="Block"><dir name="Adminhtml"><dir name="Configuration"><dir name="Wizard"><dir name="Config"><file name="Form.php" hash="f154cd46f698ce269e79a9a0944ca914"/></dir><dir name="Page"><file name="Edit.php" hash="e903f799a4de2b25d6ad1b20aeabc9a9"/><file name="View.php" hash="e940573c2c0837dbc21edc0be83b17ac"/></dir></dir></dir><file name="Information.php" hash="5668171b4cef9da155a53554d745e167"/><dir name="Sales"><dir name="Order"><file name="Grid.php" hash="c5d7e4c887f895bd01eac05de380e6bc"/><dir name="Invoice"><file name="View.php" hash="e838e635383915a141a573f4fda627e5"/></dir><dir name="View"><dir name="Tab"><file name="TransactionOverview.php" hash="0661f96f8a22df07d352768e0dc374c8"/><file name="TransactionStatus.php" hash="28dd855691c8328900983bc33ca9220a"/></dir></dir><file name="View.php" hash="f68a7aa922f781e064e243e482ae7800"/></dir><file name="Order.php" hash="10a9bcd7570720bec7ded4edf9cf3aa1"/><file name="Sales.php" hash="33dd573defcc1cfeea61596df66c2680"/></dir><dir name="Transaction"><file name="Grid.php" hash="526bb39ba098a10f2d64094d88436cfe"/><dir name="View"><file name="Form.php" hash="809871c87deb919bc111c5b7220dfa1a"/></dir><file name="View.php" hash="472957238ab27f5f555a2d546e3991f3"/></dir><file name="Transaction.php" hash="dfb34e6eb7327454d88a37b300f3b800"/><dir name="Transactionoverview"><file name="Grid.php" hash="29b095bfb7cd438fdeb628d9440b48d2"/><dir name="View"><file name="Form.php" hash="a0452d1c35e6d69181f84e8686ddcc83"/></dir><file name="View.php" hash="c9c22608d2ebed4f2e7634fdd04854f3"/></dir><file name="Transactionoverview.php" hash="8025e1c509ac7f25f8216b84e4ae28db"/><dir name="Widget"><dir name="Grid"><file name="Container.php" hash="3e936d267fe3a717bc43b7b5efd2a62a"/></dir><dir name="View"><file name="Container.php" hash="ae340f2254de7f6994a4db6e2a4bf89b"/></dir></dir><file name="Widget.php" hash="bf8ab82897de355b414dc0559fbce6c7"/></dir><dir name="Payment"><dir name="Method"><dir name="Form"><file name="Cc.php" hash="5f9eb47c05033d75d1efeb99a8887a39"/><file name="Ccsecure.php" hash="7ce3a25699e7bb355c48c3e2e30f782f"/><file name="Elvaustria.php" hash="133cba3a50280dfbe8d8ebc7a660a63e"/><file name="Elvgerman.php" hash="7badd769ed762457c7bbbc80e8a3d3b3"/><file name="Ideal.php" hash="47b017bd02248af37af55112dda53d41"/><file name="Invoice.php" hash="df2e5294dfab69b5745d3b08bbedc440"/><file name="Paypal.php" hash="208db102a1cf4951a709dea8acd24201"/><file name="Phonepayment.php" hash="7644e9348e27425ce0720c6d6a78d52f"/><file name="Prepayment.php" hash="004ff8d8ba7c40150713c47afcd28930"/><file name="Safetypay.php" hash="ab883b243ded2e2b69276e4d8240a013"/><file name="Sepa.php" hash="48879d92745fd3f9b1d3c802a870afad"/><file name="Sofortueberweisung.php" hash="7dfb202ea1f30d13f247d762e136f447"/></dir><dir name="Info"><file name="Cc.php" hash="502760aa4d0de8fe87abd6f9f06083c0"/><file name="Ccsecure.php" hash="f188d28d95542c12f19d19088114ce76"/><file name="Elvaustria.php" hash="72bec4af310231d1dc8589c8ea45caec"/><file name="Elvgerman.php" hash="8b22eea80d7c9cf4769092491dd18dbb"/><file name="Ideal.php" hash="29838c6932c36615735ffcbd82c50067"/><file name="Invoice.php" hash="6b9ca28ddd756d7284aebdf2a1b8bac8"/><file name="Paypal.php" hash="2552d093dd1fd3dc31bf080a431251d5"/><file name="Phonepayment.php" hash="a3b7785666e882fbc74084d20612c977"/><file name="Prepayment.php" hash="eeb95887f6c40dded72ec719fe2cb5b6"/><file name="Safetypay.php" hash="ea78efebed449e96d4bffa365e62d09e"/><file name="Sepa.php" hash="a84bb2e6478bcea104f6e8b3d43decdb"/><file name="Sofortueberweisung.php" hash="76b4c9ddf858552929fe0c27b00fd033"/></dir><file name="NovalnetRedirect.php" hash="4e5caf7d30f088163e7b0ed74c723e8d"/></dir></dir></dir><dir name="Helper"><file name="AssignData.php" hash="18a50362e3d443b144bea11066677a7a"/><file name="Data.php" hash="e57d004625440941e21d9f231d052e6a"/></dir><dir name="Model"><file name="Callback.php" hash="d35762e0e86c702a0942e49a5214e930"/><file name="Config.php" hash="6d1f4f5f125aae92bddfee88a5147781"/><dir name="Novalnet"><dir name="Source"><file name="Callbacktypes.php" hash="b0f707c40a9ea951e08168b0b2631474"/><file name="Cctype.php" hash="846cd5e1a2c74040e6c8c9e668a235e5"/><file name="PendingOrder.php" hash="bfaa452e0aa81fc5b2b9ea223f18e9c4"/><file name="Sepatype.php" hash="ec3893f4ba48d316151df420f0646bc1"/></dir></dir><dir name="Payment"><dir name="Method"><file name="Abstract.php" hash="8a1e47fc3f421a747714c2b81bdb993d"/><file name="NovalnetCc.php" hash="008e1469ef520597cdea13ab55a6428f"/><file name="NovalnetElvaustria.php" hash="6234a60699f546ddb8954e2c4e20f290"/><file name="NovalnetElvgerman.php" hash="3d2ce3ab1896699612698794b0bd445a"/><file name="NovalnetIdeal.php" hash="ae206cd135bbeea642dbad3a2ee0ca1d"/><file name="NovalnetInvoice.php" hash="4832bb6122417e787ea517d0ac17e873"/><file name="NovalnetPaypal.php" hash="63f408545347247c2d3518d64c49b36d"/><file name="NovalnetPhonepayment.php" hash="603ef0eed04b26684c09b639fd4d69eb"/><file name="NovalnetPrepayment.php" hash="e9a0d3b43dc0fa74f2fa0e4560c985b3"/><file name="NovalnetSafetypay.php" hash="5bdfe1526ff27107a9b54261e581000b"/><file name="NovalnetSecure.php" hash="5ea845d76b0401eba810c047617b93a0"/><file name="NovalnetSepa.php" hash="64213a9ada22e54087ee8ae82cc5c0cb"/><file name="NovalnetSofortueberweisung.php" hash="141280c45b4331d2ebe60255af4181a6"/></dir></dir><dir name="Resource"><dir name="Callback"><file name="Collection.php" hash="5ca1891f319551b40823cb442717d30c"/></dir><file name="Callback.php" hash="01f149bde10f69d93064855ffb62b92e"/><dir name="Transactionoverview"><file name="Collection.php" hash="1015b76f3f143b302c481877aa939a0b"/></dir><file name="Transactionoverview.php" hash="13021b9cdd84b993565e995c518d6ec6"/><dir name="Transactionstatus"><file name="Collection.php" hash="590732a9ca8dc155f178da8b218b8a42"/></dir><file name="Transactionstatus.php" hash="28e9e731a0edaa4ea6c63750a7b649fb"/></dir><dir name="System"><dir name="Config"><file name="Activemethods.php" hash="647f8d094a40252100d0789edb32e097"/></dir></dir><file name="Transactionoverview.php" hash="995c78250bf3e8154b7fdaaed839a01b"/><file name="Transactionstatus.php" hash="1bc74fd9410df9750141969ae9769ed2"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Configuration"><dir name="Wizard"><file name="PageController.php" hash="429c76e3f51871985f0807795088b4c7"/></dir></dir><file name="InformationController.php" hash="4ce983567a9ae2825670ee64a6c04e40"/><file name="NovalnetCcController.php" hash="218a06692380af3e9bb1459350975e91"/><file name="NovalnetSepaController.php" hash="dc18165181fc634f668a9b833b3c7163"/><dir name="Sales"><file name="OrderController.php" hash="db1b19744efff71269614604134e6391"/></dir><file name="TransactionController.php" hash="009774cca720f1a6b8142e1b36f3e8c4"/><file name="TransactionoverviewController.php" hash="b88394812b7452859943e69622388488"/></dir><file name="GatewayController.php" hash="4794986f5727b1a5380a240c509112e5"/><file name="NovalnetCcController.php" hash="ed48609955f6d77e9e77751761c7fc1d"/><file name="NovalnetSepaController.php" hash="dff00c8b2cb73a216f4ecc6c58614d7a"/></dir><dir name="etc"><file name="adminhtml.xml" hash="3f1abbe3c9156c82c7f0da8bf99e1e6a"/><file name="config.xml" hash="b41725ee88a65fa0697e278d66f2a29e"/><file name="system.xml" hash="8c08197f813389545c06b048c63e93f9"/></dir><dir name="sql"><dir name="novalnet_setup"><file name="mysql4-install-5.0.2.php" hash="d093463e85667d126a9f5a7f3e2c0aa7"/><file name="mysql4-upgrade-5.0.0-5.0.2.php" hash="b58e1e29512ed42865ebd8575a26ca07"/><file name="mysql4-upgrade-5.0.1-5.0.2.php" hash="b58e1e29512ed42865ebd8575a26ca07"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="novalnet.xml" hash="ef58c5b2392d30c9d88058b04ddf7748"/></dir><dir name="template"><dir name="novalnet"><dir><dir name="payment"><dir name="method"><dir name="form"><file name="Cc.phtml" hash="dad8041763a290ed10bc90c06d3f7570"/><file name="Ccform.phtml" hash="4fe065df53981d204fcd72f29ed3b789"/><file name="Ccsecure.phtml" hash="f5942af5eab0ae799865face1abf912f"/><file name="Elvaustria.phtml" hash="03924a77daa8c2673cfc25651fee575b"/><file name="Elvgerman.phtml" hash="bbf0fbfa7a483444af3657e55790e2c1"/><file name="Ideal.phtml" hash="dc99ff96796d000d233fb23eafc17bab"/><file name="Invoice.phtml" hash="04923712ac33c981adbc0b8d178c24d2"/><file name="Paypal.phtml" hash="418769e28b797e7bbb860f633eaa821c"/><file name="Phonepayment.phtml" hash="bf75072e51069de22fcd4c03f16748ed"/><file name="Prepayment.phtml" hash="34ad8f7d5cc5a95972a93b23f311969c"/><file name="Safetypay.phtml" hash="7b18180cb64660e9bae651f2bcb0e182"/><file name="Sepa.phtml" hash="a8bdcaa2321fb98167ef1a047563d9b4"/><file name="Sepaform.phtml" hash="66210e84b205fec371a72ac6764522b6"/><file name="Sofortueberweisung.phtml" hash="085beda584ec8b8b80fced74d24111d1"/><file name="blank.phtml" hash="7032809fa5e26991a9d237d10da9bafc"/></dir><dir name="info"><file name="Cc.phtml" hash="b69d9f4794f8a38142ce1e608f11bd9a"/><file name="Ccsecure.phtml" hash="2f16b031521eb8bd2917d31b91660fb0"/><file name="Elvaustria.phtml" hash="7c8f181fa5f8e1a7726352774b9dc133"/><file name="Elvgerman.phtml" hash="a783f8bb95d8550a03e848b77a834bd4"/><file name="Ideal.phtml" hash="e19e294f6cb4ddf9c3db146065cce4db"/><file name="Invoice.phtml" hash="481298878b3d6b0061b9eb64520318f8"/><file name="Paypal.phtml" hash="b6194443e950bb268849a0312b50da0b"/><file name="Phonepayment.phtml" hash="4ae14617dd140eebe95fb87784cd7747"/><file name="Prepayment.phtml" hash="f326f4e559248b264798bccbcf5622cf"/><file name="Safetypay.phtml" hash="b6194443e950bb268849a0312b50da0b"/><file name="Sepa.phtml" hash="b9ca37df1fe7dddb0e7b07c2fe06f10d"/><file name="Sofortueberweisung.phtml" hash="b6194443e950bb268849a0312b50da0b"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="layout"><file name="novalnet.xml" hash="ef58c5b2392d30c9d88058b04ddf7748"/></dir><dir name="template"><dir name="novalnet"><dir><dir name="payment"><dir name="method"><dir name="form"><file name="Cc.phtml" hash="dad8041763a290ed10bc90c06d3f7570"/><file name="Ccform.phtml" hash="4fe065df53981d204fcd72f29ed3b789"/><file name="Ccsecure.phtml" hash="f5942af5eab0ae799865face1abf912f"/><file name="Elvaustria.phtml" hash="03924a77daa8c2673cfc25651fee575b"/><file name="Elvgerman.phtml" hash="bbf0fbfa7a483444af3657e55790e2c1"/><file name="Ideal.phtml" hash="dc99ff96796d000d233fb23eafc17bab"/><file name="Invoice.phtml" hash="04923712ac33c981adbc0b8d178c24d2"/><file name="Paypal.phtml" hash="418769e28b797e7bbb860f633eaa821c"/><file name="Phonepayment.phtml" hash="bf75072e51069de22fcd4c03f16748ed"/><file name="Prepayment.phtml" hash="34ad8f7d5cc5a95972a93b23f311969c"/><file name="Safetypay.phtml" hash="7b18180cb64660e9bae651f2bcb0e182"/><file name="Sepa.phtml" hash="a8bdcaa2321fb98167ef1a047563d9b4"/><file name="Sepaform.phtml" hash="66210e84b205fec371a72ac6764522b6"/><file name="Sofortueberweisung.phtml" hash="085beda584ec8b8b80fced74d24111d1"/><file name="blank.phtml" hash="7032809fa5e26991a9d237d10da9bafc"/></dir><dir name="info"><file name="Cc.phtml" hash="b69d9f4794f8a38142ce1e608f11bd9a"/><file name="Ccsecure.phtml" hash="2f16b031521eb8bd2917d31b91660fb0"/><file name="Elvaustria.phtml" hash="7c8f181fa5f8e1a7726352774b9dc133"/><file name="Elvgerman.phtml" hash="a783f8bb95d8550a03e848b77a834bd4"/><file name="Ideal.phtml" hash="e19e294f6cb4ddf9c3db146065cce4db"/><file name="Invoice.phtml" hash="481298878b3d6b0061b9eb64520318f8"/><file name="Paypal.phtml" hash="b6194443e950bb268849a0312b50da0b"/><file name="Phonepayment.phtml" hash="4ae14617dd140eebe95fb87784cd7747"/><file name="Prepayment.phtml" hash="f326f4e559248b264798bccbcf5622cf"/><file name="Safetypay.phtml" hash="b6194443e950bb268849a0312b50da0b"/><file name="Sepa.phtml" hash="b9ca37df1fe7dddb0e7b07c2fe06f10d"/><file name="Sofortueberweisung.phtml" hash="b6194443e950bb268849a0312b50da0b"/></dir></dir></dir></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="novalnet"><file name="configuration.xml" hash="287954923600170b534ac2075b42a200"/></dir></dir><dir name="template"><dir name="novalnet"><dir><dir name="information"><file name="iframe.phtml" hash="e6daaa6fa00de4f160e22018eb68621c"/></dir><dir name="payment"><dir name="configuration"><dir name="wizard"><dir name="page"><dir name="form"><file name="container.phtml" hash="dda4cde6f9b491a7e29db2b20e413b0e"/></dir><file name="store_switcher.phtml" hash="c4fd2f8504c3850fa0c393883022876b"/><dir name="view"><file name="container.phtml" hash="b67c6b87ae39c6f6b83589069ef59553"/></dir></dir></dir></dir><dir name="method"><dir name="form"><file name="Cc.phtml" hash="6831a6c93d2275afe5f38b909d038cbd"/><file name="Ccform.phtml" hash="d8179adef66bcbbe719fdcf6eddee22e"/><file name="Ccsecure.phtml" hash="b3fbf9f6c13c877b590e804759f0f702"/><file name="Elvaustria.phtml" hash="635e50ce85c166e864f4611a221bcd07"/><file name="Elvgerman.phtml" hash="dd38729d5abc36e62a2ddc5b8e762889"/><file name="Invoice.phtml" hash="df4e49475bd194c36a2f1f3278686a5f"/><file name="Prepayment.phtml" hash="f845b0c6a53f19c91ca3474fef9cdc76"/><file name="Safetypay.phtml" hash="abac9e6b8dc13b177a97edbef1deb4ef"/><file name="Sepa.phtml" hash="417216a443017fd55516582f3fdd6b47"/><file name="Sepaform.phtml" hash="1fef72b7d83b06136cc81dc7bb0be5d2"/><file name="Sofortueberweisung.phtml" hash="abac9e6b8dc13b177a97edbef1deb4ef"/><file name="blank.phtml" hash="5e3a27020de3ce4aacac6dfa9efbfef3"/></dir><dir name="info"><file name="Cc.phtml" hash="04ecc6085c3facc472ae43bc0ff0723a"/><file name="Ccsecure.phtml" hash="eacf844aa2fbeb53b1fcc3113734e612"/><file name="Elvaustria.phtml" hash="80c74c18ff4ec683e22b6c7e0818acbc"/><file name="Elvgerman.phtml" hash="80c74c18ff4ec683e22b6c7e0818acbc"/><file name="Ideal.phtml" hash="c5637a01bc7525437c4342ef08f06497"/><file name="Invoice.phtml" hash="85bc186d90c18e8353a69321fb9f3b1e"/><file name="Paypal.phtml" hash="c5637a01bc7525437c4342ef08f06497"/><file name="Phonepayment.phtml" hash="96fd3606f228eaee86a8552e2cc67cc5"/><file name="Prepayment.phtml" hash="85bc186d90c18e8353a69321fb9f3b1e"/><file name="Safetypay.phtml" hash="c5637a01bc7525437c4342ef08f06497"/><file name="Sepa.phtml" hash="2cbb6bb5e972a5c0423b4ed292135ba5"/><file name="Sofortueberweisung.phtml" hash="c5637a01bc7525437c4342ef08f06497"/></dir><dir name="pdf"><file name="Cc.phtml" hash="9051a250a4c5d7d73444c127522e842e"/><file name="Ccsecure.phtml" hash="9051a250a4c5d7d73444c127522e842e"/><file name="Elvaustria.phtml" hash="9051a250a4c5d7d73444c127522e842e"/><file name="Elvgerman.phtml" hash="9051a250a4c5d7d73444c127522e842e"/><file name="Ideal.phtml" hash="9051a250a4c5d7d73444c127522e842e"/><file name="Invoice.phtml" hash="aa8de47ffd6ec8815b0b1a8d26cedb38"/><file name="Paypal.phtml" hash="903fac18b63d2b1990e7d969093ac09d"/><file name="Phonepayment.phtml" hash="9051a250a4c5d7d73444c127522e842e"/><file name="Prepayment.phtml" hash="aa8de47ffd6ec8815b0b1a8d26cedb38"/><file name="Safetypay.phtml" hash="9051a250a4c5d7d73444c127522e842e"/><file name="Sepa.phtml" hash="e32ce65fb827469ef3ee5f50eb917e49"/><file name="Sofortueberweisung.phtml" hash="9051a250a4c5d7d73444c127522e842e"/></dir></dir></dir><dir name="sales"><dir name="order"><dir name="view"><file name="info.phtml" hash="ef79ad263f1c3cf33fc2599e217291cd"/><dir name="tab"><file name="info.phtml" hash="846d0787c9a659799990bab6abde9906"/><file name="transactionoverview.phtml" hash="d1cb9bef2fb97c1a38ac0c31bc16b3f9"/></dir></dir></dir></dir><dir name="transaction"><dir name="overview"><dir name="view"><file name="form.phtml" hash="b92af5ca945fe248a978fda7cae5f0c0"/></dir></dir><dir name="view"><file name="form.phtml" hash="805865308700c240f6a7a0e617a387ee"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Novalnet_Payment.xml" hash="10435c3d2753cd57328c1dd7ba7e8f8f"/></dir></target><target name="magelocale"><dir name="de_DE"><dir name="template"><dir name="email"><dir name="novalnet"><file name="novalnet_callback_email.html" hash="e05460c3973cdb9845c15e8639b353b4"/></dir></dir></dir><file name="Novalnet_Payment.csv" hash="a2370efa56b32d1a98e695106fde63e0"/></dir><dir name="en_US"><dir name="template"><dir name="email"><dir name="novalnet"><file name="novalnet_callback_email.html" hash="e05460c3973cdb9845c15e8639b353b4"/></dir></dir></dir><file name="Novalnet_Payment.csv" hash="abc886bf1e350e4025c511278addb77c"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="images"><dir name="novalnet"><dir><dir name="DE"><file name="AE_Logo.png" hash="87208cf9ef36f67e12d403108c16159a"/><file name="ELV_Logo.png" hash="b265493a083f03e4da7d24c23cc55b67"/><file name="MC_Logo.png" hash="77626882d247be2ada4d68102baa0fdb"/><file name="VI_Logo.png" hash="e02e74e24ace82c7599d724bce21749c"/><file name="acdc_info.png" hash="fa69e3f3098c4f85d9d3c796d82bdf0a"/><file name="creditcard_small.jpg" hash="c303bc329795340f6bc0c2905c9934e9"/><file name="ideal_payment_small.png" hash="6015396c12d0029a776418b58f6e71ef"/><file name="kauf-auf-rechnung.jpg" hash="bc77de0192462fdc257284876f3b06db"/><file name="novalnet-loading-icon.gif" hash="971e6ee26dcfd335e9a4a65e58431888"/><file name="novaltel_reciever.png" hash="cd72499056f1f9ac5422ef40eee7811f"/><file name="paypal-small.png" hash="78384ead2e705565356bca97500e411f"/><file name="safetypay_logo.jpg" hash="7d8a02b9f66194db3fdf6a11f5920d17"/><file name="sepa_logo.jpg" hash="7d801a15664a590312fa85c2694f0144"/><file name="sofort_Logo.png" hash="3ead14a2f33c68b81ec111b9450044e4"/><file name="vorauskasse.jpg" hash="07b36ca9eb99535e4f9b849f87a28741"/></dir><dir name="EN"><file name="AE_Logo.png" hash="87208cf9ef36f67e12d403108c16159a"/><file name="ELV_Logo.png" hash="b265493a083f03e4da7d24c23cc55b67"/><file name="MC_Logo.png" hash="77626882d247be2ada4d68102baa0fdb"/><file name="VI_Logo.png" hash="e02e74e24ace82c7599d724bce21749c"/><file name="acdc_info.png" hash="fa69e3f3098c4f85d9d3c796d82bdf0a"/><file name="creditcard_small.jpg" hash="c303bc329795340f6bc0c2905c9934e9"/><file name="ideal_payment_small.png" hash="6015396c12d0029a776418b58f6e71ef"/><file name="kauf-auf-rechnung.jpg" hash="bc77de0192462fdc257284876f3b06db"/><file name="novalnet-loading-icon.gif" hash="971e6ee26dcfd335e9a4a65e58431888"/><file name="novaltel_reciever.png" hash="cd72499056f1f9ac5422ef40eee7811f"/><file name="paypal-small.png" hash="78384ead2e705565356bca97500e411f"/><file name="safetypay_logo.jpg" hash="7d8a02b9f66194db3fdf6a11f5920d17"/><file name="sepa_logo.jpg" hash="1dabddf02b9c83ffe84dbbc3ce27dcb3"/><file name="sofort_Logo.png" hash="be7535013962b5b1e4513b6365b2591c"/><file name="vorauskasse.jpg" hash="07b36ca9eb99535e4f9b849f87a28741"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="novalnet"><file name="novalnetcc.js" hash="e444bfcfaa7a8b33c8549f13a06286c0"/><file name="novalnetsepa.js" hash="cc265f025a11544058ef06e290463499"/></dir></dir><dir name="."><file name="callback_novalnet2magento.php" hash="141b3c55c9ea4f06293a154285ef5b72"/><file name="novalnet_css_link.php" hash="546ebe341ed65e41148fd2e467236d7a"/></dir></target></contents>
|
23 |
<compatible/>
|
24 |
<dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
|
25 |
</package>
|
skin/frontend/default/default/images/novalnet/DE/AE_Logo.png
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/DE/ELV_Logo.png
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/DE/MC_Logo.png
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/DE/VI_Logo.png
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/DE/acdc_info.png
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/DE/creditcard_small.jpg
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/DE/ideal_payment_small.png
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/DE/kauf-auf-rechnung.jpg
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/DE/novalnet-loading-icon.gif
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/DE/novaltel_reciever.png
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/DE/paypal-small.png
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/DE/safetypay_logo.jpg
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/DE/sepa_logo.jpg
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/DE/sofort_Logo.png
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/DE/vorauskasse.jpg
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/EN/AE_Logo.png
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/EN/ELV_Logo.png
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/EN/MC_Logo.png
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/EN/VI_Logo.png
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/EN/acdc_info.png
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/EN/creditcard_small.jpg
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/EN/ideal_payment_small.png
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/EN/kauf-auf-rechnung.jpg
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/EN/novalnet-loading-icon.gif
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/EN/novaltel_reciever.png
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/EN/paypal-small.png
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/EN/safetypay_logo.jpg
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/EN/sepa_logo.jpg
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/EN/sofort_Logo.png
ADDED
Binary file
|
skin/frontend/default/default/images/novalnet/EN/vorauskasse.jpg
ADDED
Binary file
|