Version Notes
1. New checkout form template.
2. OneStepCheckout-Extension supported by the Radio-Button-Checkout-Form-Template.
3. Multishop-Currency problem solved.
4. Relative paths for the log files and the included classes used.
5. Text labels and design improvements.
Download this release
Release Info
Developer | Filipp Akinfiev |
Extension | mPAY24 |
Version | 1.5.2 |
Comparing to | |
See all releases |
Code changes from version 1.5.1 to 1.5.2
- app/code/community/Mpay24/Mpay24/Block/Adminhtml/System/Config/Fieldset/Fieldset.php +2 -2
- app/code/community/Mpay24/Mpay24/Block/Form/Selectpayment.php +4 -4
- app/code/community/Mpay24/Mpay24/Block/Info/Selectpayment.php +10 -6
- app/code/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php +8 -7
- app/code/community/Mpay24/Mpay24/Model/Api/MPay24Shop.php +5 -5
- app/code/community/Mpay24/Mpay24/Model/Api/curllog.log +262 -0
- app/code/community/Mpay24/Mpay24/Model/Method/Selectpayment.php +89 -87
- app/code/community/Mpay24/Mpay24/Model/Observer.php +8 -6
- app/code/community/Mpay24/Mpay24/Model/Sales/Quote/Address/Total/Paymentcharge.php +70 -83
- app/code/community/Mpay24/Mpay24/Model/Selectpayment.php +2 -2
- app/code/community/Mpay24/Mpay24/Model/Source/ClearingAction.php +2 -2
- app/code/community/Mpay24/Mpay24/Model/Source/FormTemplate.php +4 -2
- app/code/community/Mpay24/Mpay24/controllers/PaymentController.php +4 -4
- app/code/community/Mpay24/Mpay24/etc/config.xml +4 -3
- app/code/community/Mpay24/Mpay24/etc/system.xml +72 -14
- app/design/frontend/default/default/template/mpay24/form/area.phtml +10 -10
- app/design/frontend/default/default/template/mpay24/form/dropDown.phtml +14 -14
- app/design/frontend/default/default/template/mpay24/form/radio.phtml +171 -0
- app/locale/de_AT/Mpay24_Mpay24.csv +17 -14
- app/locale/de_CH/Mpay24_Mpay24.csv +17 -14
- app/locale/de_DE/Mpay24_Mpay24.csv +17 -14
- app/locale/en_US/Mpay24_Mpay24.csv +15 -12
- package.xml +14 -6
app/code/community/Mpay24/Mpay24/Block/Adminhtml/System/Config/Fieldset/Fieldset.php
CHANGED
@@ -16,10 +16,10 @@
|
|
16 |
* @package Mpay24_Mpay24
|
17 |
* @author Firedrago Magento
|
18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
* @version $Id: Fieldset.php
|
20 |
*/
|
21 |
|
22 |
-
include_once "
|
23 |
|
24 |
class Mpay24_Mpay24_Block_Adminhtml_System_Config_Fieldset_Fieldset
|
25 |
extends Mage_Adminhtml_Block_Abstract
|
16 |
* @package Mpay24_Mpay24
|
17 |
* @author Firedrago Magento
|
18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
* @version $Id: Fieldset.php 28 2014-09-29 09:31:11Z sapolhei $
|
20 |
*/
|
21 |
|
22 |
+
include_once Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
|
23 |
|
24 |
class Mpay24_Mpay24_Block_Adminhtml_System_Config_Fieldset_Fieldset
|
25 |
extends Mage_Adminhtml_Block_Abstract
|
app/code/community/Mpay24/Mpay24/Block/Form/Selectpayment.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* @package Mpay24_Mpay24
|
17 |
* @author Firedrago Magento
|
18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
* @version $Id: Selectpayment.php
|
20 |
*/
|
21 |
|
22 |
class Mpay24_Mpay24_Block_Form_Selectpayment extends Mage_Payment_Block_Form {
|
@@ -44,11 +44,11 @@ class Mpay24_Mpay24_Block_Form_Selectpayment extends Mage_Payment_Block_Form {
|
|
44 |
$payments = Mage::getStoreConfig('mpay24/mpay24/active_payments');
|
45 |
$paymentsArray = unserialize($payments);
|
46 |
|
47 |
-
$firstPS = Mage::getStoreConfig('
|
48 |
$allPS = true;
|
49 |
|
50 |
for($i=2; $i<=Mage::getStoreConfig('mpay24/mpay24/payments_count'); $i++) {
|
51 |
-
if($firstPS != Mage::getStoreConfig(
|
52 |
$allPS = false;
|
53 |
break;
|
54 |
}
|
@@ -71,7 +71,7 @@ class Mpay24_Mpay24_Block_Form_Selectpayment extends Mage_Payment_Block_Form {
|
|
71 |
$i=1;
|
72 |
$payments = array();
|
73 |
foreach($paymentsArray as $id => $payment) {
|
74 |
-
$payment['ACTIVE'] = Mage::getStoreConfig(
|
75 |
$payments[$id] = $payment;
|
76 |
|
77 |
$i++;
|
16 |
* @package Mpay24_Mpay24
|
17 |
* @author Firedrago Magento
|
18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
* @version $Id: Selectpayment.php 27 2014-08-27 13:59:46Z sapolhei $
|
20 |
*/
|
21 |
|
22 |
class Mpay24_Mpay24_Block_Form_Selectpayment extends Mage_Payment_Block_Form {
|
44 |
$payments = Mage::getStoreConfig('mpay24/mpay24/active_payments');
|
45 |
$paymentsArray = unserialize($payments);
|
46 |
|
47 |
+
$firstPS = Mage::getStoreConfig('payment/mpay24_ps_1/active');
|
48 |
$allPS = true;
|
49 |
|
50 |
for($i=2; $i<=Mage::getStoreConfig('mpay24/mpay24/payments_count'); $i++) {
|
51 |
+
if($firstPS != Mage::getStoreConfig("payment/mpay24_ps_$i/active")) {
|
52 |
$allPS = false;
|
53 |
break;
|
54 |
}
|
71 |
$i=1;
|
72 |
$payments = array();
|
73 |
foreach($paymentsArray as $id => $payment) {
|
74 |
+
$payment['ACTIVE'] = Mage::getStoreConfig("payment/mpay24_ps_$i/active");
|
75 |
$payments[$id] = $payment;
|
76 |
|
77 |
$i++;
|
app/code/community/Mpay24/Mpay24/Block/Info/Selectpayment.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* @package Mpay24_Mpay24
|
17 |
* @author Firedrago Magento
|
18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
* @version $Id: Selectpayment.php
|
20 |
*/
|
21 |
|
22 |
class Mpay24_Mpay24_Block_Info_Selectpayment extends Mage_Payment_Block_Info {
|
@@ -89,11 +89,11 @@ class Mpay24_Mpay24_Block_Info_Selectpayment extends Mage_Payment_Block_Info {
|
|
89 |
$payments = Mage::getStoreConfig('mpay24/mpay24/active_payments');
|
90 |
$paymentsArray = unserialize($payments);
|
91 |
|
92 |
-
$firstPS = Mage::getStoreConfig('
|
93 |
$allPS = true;
|
94 |
|
95 |
for($i=2; $i<=Mage::getStoreConfig('mpay24/mpay24/payments_count'); $i++) {
|
96 |
-
if($firstPS != Mage::getStoreConfig(
|
97 |
$allPS = false;
|
98 |
break;
|
99 |
}
|
@@ -106,14 +106,18 @@ class Mpay24_Mpay24_Block_Info_Selectpayment extends Mage_Payment_Block_Info {
|
|
106 |
Mage::app()->reinitStores();
|
107 |
}
|
108 |
|
|
|
|
|
|
|
|
|
|
|
109 |
return $paymentsArray;
|
110 |
} else {
|
111 |
$i=1;
|
112 |
$payments = array();
|
113 |
foreach($paymentsArray as $id => $payment) {
|
114 |
-
|
115 |
-
|
116 |
-
}
|
117 |
|
118 |
$i++;
|
119 |
}
|
16 |
* @package Mpay24_Mpay24
|
17 |
* @author Firedrago Magento
|
18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
* @version $Id: Selectpayment.php 28 2014-09-29 09:31:11Z sapolhei $
|
20 |
*/
|
21 |
|
22 |
class Mpay24_Mpay24_Block_Info_Selectpayment extends Mage_Payment_Block_Info {
|
89 |
$payments = Mage::getStoreConfig('mpay24/mpay24/active_payments');
|
90 |
$paymentsArray = unserialize($payments);
|
91 |
|
92 |
+
$firstPS = Mage::getStoreConfig('payment/mpay24_ps_1/active');
|
93 |
$allPS = true;
|
94 |
|
95 |
for($i=2; $i<=Mage::getStoreConfig('mpay24/mpay24/payments_count'); $i++) {
|
96 |
+
if($firstPS != Mage::getStoreConfig("payment/mpay24_ps_$i/active")) {
|
97 |
$allPS = false;
|
98 |
break;
|
99 |
}
|
106 |
Mage::app()->reinitStores();
|
107 |
}
|
108 |
|
109 |
+
foreach($paymentsArray as $key => $value) {
|
110 |
+
$value['ACTIVE'] = 1;
|
111 |
+
$paymentsArray[$key] = $value;
|
112 |
+
}
|
113 |
+
|
114 |
return $paymentsArray;
|
115 |
} else {
|
116 |
$i=1;
|
117 |
$payments = array();
|
118 |
foreach($paymentsArray as $id => $payment) {
|
119 |
+
$payment['ACTIVE'] = Mage::getStoreConfig("payment/mpay24_ps_$i/active");
|
120 |
+
$payments[$id] = $payment;
|
|
|
121 |
|
122 |
$i++;
|
123 |
}
|
app/code/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* @author support@mpay24.com
|
4 |
-
* @version $Id: MPay24MagentoShop.php
|
5 |
* @filesource test.php
|
6 |
* @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
|
7 |
*/
|
8 |
|
9 |
-
include_once("MPay24Shop.php");
|
10 |
|
11 |
class MPay24MagentoShop extends MPay24Shop {
|
12 |
|
@@ -20,7 +20,7 @@ class MPay24MagentoShop extends MPay24Shop {
|
|
20 |
|
21 |
const CANCEL_URL = 'mpay24/payment/cancel';
|
22 |
|
23 |
-
const MAGENTO_VERSION = "Magento 1.5.
|
24 |
|
25 |
var $tid;
|
26 |
var $price;
|
@@ -279,7 +279,8 @@ class MPay24MagentoShop extends MPay24Shop {
|
|
279 |
$mdxi->Order->TemplateSet->setLanguage(strtoupper($lang[0]));
|
280 |
else
|
281 |
$mdxi->Order->TemplateSet->setLanguage("EN");
|
282 |
-
|
|
|
283 |
|
284 |
if($this->ps) {
|
285 |
$this->order->getPayment()->setCcType($this->type . " => " . $this->brand)->save();
|
@@ -451,7 +452,7 @@ class MPay24MagentoShop extends MPay24Shop {
|
|
451 |
if($this->order->getPaymentCharge() > 0) {
|
452 |
if($this->order->getPaymentChargeType() == "percent") {
|
453 |
$mdxi->Order->ShoppingCart->ShippingCosts($s, number_format($this->order->getData('subtotal')*$this->order->getBasePaymentCharge()/100,2,'.',''));
|
454 |
-
$mdxi->Order->ShoppingCart->ShippingCosts($s)->setHeader(Mage::helper('mpay24')->__("Payment charge") . " (" . $this->order->getBasePaymentCharge() . "%)");
|
455 |
} else {
|
456 |
$mdxi->Order->ShoppingCart->ShippingCosts($s, number_format($this->order->getPaymentCharge(),2,'.',''));
|
457 |
$mdxi->Order->ShoppingCart->ShippingCosts($s)->setHeader(Mage::helper('mpay24')->__("Payment charge") . " (" . Mage::helper('mpay24')->__("Absolute value") . ")");
|
@@ -517,7 +518,7 @@ class MPay24MagentoShop extends MPay24Shop {
|
|
517 |
$mdxi->Order->Price->setHeaderStyle(Mage::getStoreConfig('mpay24/mpay24spsc/price_headerstyle'));
|
518 |
$mdxi->Order->Price->setStyle(Mage::getStoreConfig('mpay24/mpay24spsc/price_style'));
|
519 |
|
520 |
-
$mdxi->Order->Currency = $this->xmlentities($this->order->
|
521 |
$mdxi->Order->Customer = $this->xmlentities(substr($this->order->getCustomerName(),0,50));
|
522 |
$mdxi->Order->Customer->setId($this->order->getCustomerId());
|
523 |
|
@@ -591,7 +592,7 @@ class MPay24MagentoShop extends MPay24Shop {
|
|
591 |
$mdxi->Order->URL->Cancel = Mage::getUrl(MPay24MagentoShop::CANCEL_URL,array('_secure' => true, '_query' => "TID=" . substr($this->order->getIncrementId(),0,32) ));
|
592 |
|
593 |
if(Mage::getStoreConfig('mpay24/mpay24as/debug') == 1) {
|
594 |
-
$myFile = "
|
595 |
$fh = fopen($myFile, 'w') or die("can't open file");
|
596 |
fwrite($fh, $mdxi->toXML());
|
597 |
fclose($fh);
|
1 |
<?php
|
2 |
/**
|
3 |
* @author support@mpay24.com
|
4 |
+
* @version $Id: MPay24MagentoShop.php 28 2014-09-29 09:31:11Z sapolhei $
|
5 |
* @filesource test.php
|
6 |
* @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
|
7 |
*/
|
8 |
|
9 |
+
include_once(Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/MPay24Shop.php");
|
10 |
|
11 |
class MPay24MagentoShop extends MPay24Shop {
|
12 |
|
20 |
|
21 |
const CANCEL_URL = 'mpay24/payment/cancel';
|
22 |
|
23 |
+
const MAGENTO_VERSION = "Magento 1.5.2 ";
|
24 |
|
25 |
var $tid;
|
26 |
var $price;
|
279 |
$mdxi->Order->TemplateSet->setLanguage(strtoupper($lang[0]));
|
280 |
else
|
281 |
$mdxi->Order->TemplateSet->setLanguage("EN");
|
282 |
+
|
283 |
+
$mdxi->Order->TemplateSet->setCSSName("MOBILE");
|
284 |
|
285 |
if($this->ps) {
|
286 |
$this->order->getPayment()->setCcType($this->type . " => " . $this->brand)->save();
|
452 |
if($this->order->getPaymentCharge() > 0) {
|
453 |
if($this->order->getPaymentChargeType() == "percent") {
|
454 |
$mdxi->Order->ShoppingCart->ShippingCosts($s, number_format($this->order->getData('subtotal')*$this->order->getBasePaymentCharge()/100,2,'.',''));
|
455 |
+
$mdxi->Order->ShoppingCart->ShippingCosts($s)->setHeader(Mage::helper('mpay24')->__("Payment charge") . " (" . number_format($this->order->getBasePaymentCharge(),2,'.','') . "%)");
|
456 |
} else {
|
457 |
$mdxi->Order->ShoppingCart->ShippingCosts($s, number_format($this->order->getPaymentCharge(),2,'.',''));
|
458 |
$mdxi->Order->ShoppingCart->ShippingCosts($s)->setHeader(Mage::helper('mpay24')->__("Payment charge") . " (" . Mage::helper('mpay24')->__("Absolute value") . ")");
|
518 |
$mdxi->Order->Price->setHeaderStyle(Mage::getStoreConfig('mpay24/mpay24spsc/price_headerstyle'));
|
519 |
$mdxi->Order->Price->setStyle(Mage::getStoreConfig('mpay24/mpay24spsc/price_style'));
|
520 |
|
521 |
+
$mdxi->Order->Currency = $this->xmlentities($this->order->getOrderCurrencyCode());
|
522 |
$mdxi->Order->Customer = $this->xmlentities(substr($this->order->getCustomerName(),0,50));
|
523 |
$mdxi->Order->Customer->setId($this->order->getCustomerId());
|
524 |
|
592 |
$mdxi->Order->URL->Cancel = Mage::getUrl(MPay24MagentoShop::CANCEL_URL,array('_secure' => true, '_query' => "TID=" . substr($this->order->getIncrementId(),0,32) ));
|
593 |
|
594 |
if(Mage::getStoreConfig('mpay24/mpay24as/debug') == 1) {
|
595 |
+
$myFile = Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/xmls/".$transaction->TID.".xml";
|
596 |
$fh = fopen($myFile, 'w') or die("can't open file");
|
597 |
fwrite($fh, $mdxi->toXML());
|
598 |
fclose($fh);
|
app/code/community/Mpay24/Mpay24/Model/Api/MPay24Shop.php
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
<?php
|
2 |
-
include_once("MPay24Api.php");
|
3 |
-
include_once("orderXML.php");
|
4 |
|
5 |
/**
|
6 |
* The abstract MPay24Shop class provides abstract functions, which are used from the other functions in order to make a payment or a request to mPAY24
|
7 |
*
|
8 |
* @author mPAY24 GmbH <support@mpay24.com>
|
9 |
-
* @version $Id: MPay24Shop.php
|
10 |
* @filesource MPay24Shop.php
|
11 |
* @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
|
12 |
*/
|
@@ -651,7 +651,7 @@ define("TRANSACTION_PROPERTIES", "SECRET,TID,STATUS,MPAYTID,APPR_CODE,P_TYPE,
|
|
651 |
* * STRING: FILTER_STATUS
|
652 |
* * STRING: APPR_CODE
|
653 |
* @author mPAY24 GmbH <support@mpay24.com>
|
654 |
-
* @version $Id: MPay24Shop.php
|
655 |
* @filesource MPay24Shop.php
|
656 |
* @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
|
657 |
*/
|
@@ -723,7 +723,7 @@ class Transaction {
|
|
723 |
* The abstract MPay24flexLINK class provides abstract functions, which are used from the other functions in order to create a flexLINK
|
724 |
*
|
725 |
* @author mPAY24 GmbH <support@mpay24.com>
|
726 |
-
* @version $Id: MPay24Shop.php
|
727 |
* @filesource MPay24Shop.php
|
728 |
* @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
|
729 |
*/
|
1 |
<?php
|
2 |
+
include_once(Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/MPay24Api.php");
|
3 |
+
include_once(Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/orderXML.php");
|
4 |
|
5 |
/**
|
6 |
* The abstract MPay24Shop class provides abstract functions, which are used from the other functions in order to make a payment or a request to mPAY24
|
7 |
*
|
8 |
* @author mPAY24 GmbH <support@mpay24.com>
|
9 |
+
* @version $Id: MPay24Shop.php 28 2014-09-29 09:31:11Z sapolhei $
|
10 |
* @filesource MPay24Shop.php
|
11 |
* @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
|
12 |
*/
|
651 |
* * STRING: FILTER_STATUS
|
652 |
* * STRING: APPR_CODE
|
653 |
* @author mPAY24 GmbH <support@mpay24.com>
|
654 |
+
* @version $Id: MPay24Shop.php 28 2014-09-29 09:31:11Z sapolhei $
|
655 |
* @filesource MPay24Shop.php
|
656 |
* @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
|
657 |
*/
|
723 |
* The abstract MPay24flexLINK class provides abstract functions, which are used from the other functions in order to create a flexLINK
|
724 |
*
|
725 |
* @author mPAY24 GmbH <support@mpay24.com>
|
726 |
+
* @version $Id: MPay24Shop.php 28 2014-09-29 09:31:11Z sapolhei $
|
727 |
* @filesource MPay24Shop.php
|
728 |
* @license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1
|
729 |
*/
|
app/code/community/Mpay24/Mpay24/Model/Api/curllog.log
CHANGED
@@ -225,3 +225,265 @@ Content-Type: application/x-www-form-urlencoded
|
|
225 |
< Content-Type: text/xml; charset=utf-8
|
226 |
<
|
227 |
* Connection #16 to host test.mpay24.com left intact
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
225 |
< Content-Type: text/xml; charset=utf-8
|
226 |
<
|
227 |
* Connection #16 to host test.mpay24.com left intact
|
228 |
+
* Hostname was NOT found in DNS cache
|
229 |
+
* Trying 192.168.10.14...
|
230 |
+
* Connected to test.mpay24.com (192.168.10.14) port 443 (#2)
|
231 |
+
* successfully set certificate verify locations:
|
232 |
+
* CAfile: E:\Users\sadrian\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
|
233 |
+
CApath: none
|
234 |
+
* SSL connection using TLSv1.2 / DHE-RSA-AES256-GCM-SHA384
|
235 |
+
* Server certificate:
|
236 |
+
* subject: OU=Domain Control Validated; OU=Provided by EUNETIC GmbH; OU=EuropeanSSL Single; CN=test.mpay24.com
|
237 |
+
* start date: 2013-05-13 00:00:00 GMT
|
238 |
+
* expire date: 2015-05-13 23:59:59 GMT
|
239 |
+
* subjectAltName: test.mpay24.com matched
|
240 |
+
* issuer: C=DE; O=EUNETIC GmbH; CN=EuropeanSSL Server CA
|
241 |
+
* SSL certificate verify ok.
|
242 |
+
* Server auth using Basic with user 'u99999'
|
243 |
+
> POST /app/bin/etpproxy_v15 HTTP/1.1
|
244 |
+
Authorization: Basic dTk5OTk5OlZhcm5hLjMwMTIyMDEx
|
245 |
+
User-Agent: mPAY24 PHP API $Rev: 9 $ ($Date:: 2013-10-29 #$)
|
246 |
+
Host: test.mpay24.com
|
247 |
+
Accept: */*
|
248 |
+
Content-Length: 423
|
249 |
+
Content-Type: application/x-www-form-urlencoded
|
250 |
+
|
251 |
+
* upload completely sent off: 423 out of 423 bytes
|
252 |
+
< HTTP/1.1 200 OK
|
253 |
+
< Date: Wed, 16 Jul 2014 06:43:39 GMT
|
254 |
+
* Server is not blacklisted
|
255 |
+
< Server:
|
256 |
+
< Content-Length: 2367
|
257 |
+
< Content-Type: text/xml; charset=utf-8
|
258 |
+
<
|
259 |
+
* Connection #2 to host test.mpay24.com left intact
|
260 |
+
* Hostname was found in DNS cache
|
261 |
+
* Hostname in DNS cache was stale, zapped
|
262 |
+
* Trying 192.168.10.14...
|
263 |
+
* Connected to test.mpay24.com (192.168.10.14) port 443 (#5)
|
264 |
+
* successfully set certificate verify locations:
|
265 |
+
* CAfile: E:\Users\sadrian\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
|
266 |
+
CApath: none
|
267 |
+
* SSL connection using TLSv1.2 / DHE-RSA-AES256-GCM-SHA384
|
268 |
+
* Server certificate:
|
269 |
+
* subject: OU=Domain Control Validated; OU=Provided by EUNETIC GmbH; OU=EuropeanSSL Single; CN=test.mpay24.com
|
270 |
+
* start date: 2013-05-13 00:00:00 GMT
|
271 |
+
* expire date: 2015-05-13 23:59:59 GMT
|
272 |
+
* subjectAltName: test.mpay24.com matched
|
273 |
+
* issuer: C=DE; O=EUNETIC GmbH; CN=EuropeanSSL Server CA
|
274 |
+
* SSL certificate verify ok.
|
275 |
+
* Server auth using Basic with user 'u99999'
|
276 |
+
> POST /app/bin/etpproxy_v15 HTTP/1.1
|
277 |
+
Authorization: Basic dTk5OTk5OlZhcm5hLjMwMTIyMDEx
|
278 |
+
User-Agent: mPAY24 PHP API $Rev: 9 $ ($Date:: 2013-10-29 #$)
|
279 |
+
Host: test.mpay24.com
|
280 |
+
Accept: */*
|
281 |
+
Content-Length: 423
|
282 |
+
Content-Type: application/x-www-form-urlencoded
|
283 |
+
|
284 |
+
* upload completely sent off: 423 out of 423 bytes
|
285 |
+
< HTTP/1.1 200 OK
|
286 |
+
< Date: Wed, 16 Jul 2014 06:46:05 GMT
|
287 |
+
* Server is not blacklisted
|
288 |
+
< Server:
|
289 |
+
< Content-Length: 2367
|
290 |
+
< Content-Type: text/xml; charset=utf-8
|
291 |
+
<
|
292 |
+
* Connection #5 to host test.mpay24.com left intact
|
293 |
+
* Hostname was found in DNS cache
|
294 |
+
* Hostname in DNS cache was stale, zapped
|
295 |
+
* Trying 192.168.10.14...
|
296 |
+
* Connected to test.mpay24.com (192.168.10.14) port 443 (#8)
|
297 |
+
* successfully set certificate verify locations:
|
298 |
+
* CAfile: E:\Users\sadrian\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
|
299 |
+
CApath: none
|
300 |
+
* SSL connection using TLSv1.2 / DHE-RSA-AES256-GCM-SHA384
|
301 |
+
* Server certificate:
|
302 |
+
* subject: OU=Domain Control Validated; OU=Provided by EUNETIC GmbH; OU=EuropeanSSL Single; CN=test.mpay24.com
|
303 |
+
* start date: 2013-05-13 00:00:00 GMT
|
304 |
+
* expire date: 2015-05-13 23:59:59 GMT
|
305 |
+
* subjectAltName: test.mpay24.com matched
|
306 |
+
* issuer: C=DE; O=EUNETIC GmbH; CN=EuropeanSSL Server CA
|
307 |
+
* SSL certificate verify ok.
|
308 |
+
* Server auth using Basic with user 'u99999'
|
309 |
+
> POST /app/bin/etpproxy_v15 HTTP/1.1
|
310 |
+
Authorization: Basic dTk5OTk5OlZhcm5hLjMwMTIyMDEx
|
311 |
+
User-Agent: mPAY24 PHP API $Rev: 9 $ ($Date:: 2013-10-29 #$)
|
312 |
+
Host: test.mpay24.com
|
313 |
+
Accept: */*
|
314 |
+
Content-Length: 423
|
315 |
+
Content-Type: application/x-www-form-urlencoded
|
316 |
+
|
317 |
+
* upload completely sent off: 423 out of 423 bytes
|
318 |
+
< HTTP/1.1 200 OK
|
319 |
+
< Date: Wed, 16 Jul 2014 06:49:08 GMT
|
320 |
+
* Server is not blacklisted
|
321 |
+
< Server:
|
322 |
+
< Content-Length: 2367
|
323 |
+
< Content-Type: text/xml; charset=utf-8
|
324 |
+
<
|
325 |
+
* Connection #8 to host test.mpay24.com left intact
|
326 |
+
* Hostname was found in DNS cache
|
327 |
+
* Hostname in DNS cache was stale, zapped
|
328 |
+
* Trying 192.168.10.14...
|
329 |
+
* Connected to test.mpay24.com (192.168.10.14) port 443 (#13)
|
330 |
+
* successfully set certificate verify locations:
|
331 |
+
* CAfile: E:\Users\sadrian\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
|
332 |
+
CApath: none
|
333 |
+
* SSL connection using TLSv1.2 / DHE-RSA-AES256-GCM-SHA384
|
334 |
+
* Server certificate:
|
335 |
+
* subject: OU=Domain Control Validated; OU=Provided by EUNETIC GmbH; OU=EuropeanSSL Single; CN=test.mpay24.com
|
336 |
+
* start date: 2013-05-13 00:00:00 GMT
|
337 |
+
* expire date: 2015-05-13 23:59:59 GMT
|
338 |
+
* subjectAltName: test.mpay24.com matched
|
339 |
+
* issuer: C=DE; O=EUNETIC GmbH; CN=EuropeanSSL Server CA
|
340 |
+
* SSL certificate verify ok.
|
341 |
+
* Server auth using Basic with user 'u99999'
|
342 |
+
> POST /app/bin/etpproxy_v15 HTTP/1.1
|
343 |
+
Authorization: Basic dTk5OTk5OlZhcm5hLjMwMTIyMDEx
|
344 |
+
User-Agent: mPAY24 PHP API $Rev: 9 $ ($Date:: 2013-10-29 #$)
|
345 |
+
Host: test.mpay24.com
|
346 |
+
Accept: */*
|
347 |
+
Content-Length: 423
|
348 |
+
Content-Type: application/x-www-form-urlencoded
|
349 |
+
|
350 |
+
* upload completely sent off: 423 out of 423 bytes
|
351 |
+
< HTTP/1.1 200 OK
|
352 |
+
< Date: Wed, 16 Jul 2014 06:58:55 GMT
|
353 |
+
* Server is not blacklisted
|
354 |
+
< Server:
|
355 |
+
< Content-Length: 2367
|
356 |
+
< Content-Type: text/xml; charset=utf-8
|
357 |
+
<
|
358 |
+
* Connection #13 to host test.mpay24.com left intact
|
359 |
+
* Hostname was found in DNS cache
|
360 |
+
* Hostname in DNS cache was stale, zapped
|
361 |
+
* Trying 192.168.10.14...
|
362 |
+
* Connected to test.mpay24.com (192.168.10.14) port 443 (#17)
|
363 |
+
* successfully set certificate verify locations:
|
364 |
+
* CAfile: E:\Users\sadrian\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
|
365 |
+
CApath: none
|
366 |
+
* SSL connection using TLSv1.2 / DHE-RSA-AES256-GCM-SHA384
|
367 |
+
* Server certificate:
|
368 |
+
* subject: OU=Domain Control Validated; OU=Provided by EUNETIC GmbH; OU=EuropeanSSL Single; CN=test.mpay24.com
|
369 |
+
* start date: 2013-05-13 00:00:00 GMT
|
370 |
+
* expire date: 2015-05-13 23:59:59 GMT
|
371 |
+
* subjectAltName: test.mpay24.com matched
|
372 |
+
* issuer: C=DE; O=EUNETIC GmbH; CN=EuropeanSSL Server CA
|
373 |
+
* SSL certificate verify ok.
|
374 |
+
* Server auth using Basic with user 'u99999'
|
375 |
+
> POST /app/bin/etpproxy_v15 HTTP/1.1
|
376 |
+
Authorization: Basic dTk5OTk5OlZhcm5hLjMwMTIyMDEx
|
377 |
+
User-Agent: mPAY24 PHP API $Rev: 9 $ ($Date:: 2013-10-29 #$)
|
378 |
+
Host: test.mpay24.com
|
379 |
+
Accept: */*
|
380 |
+
Content-Length: 423
|
381 |
+
Content-Type: application/x-www-form-urlencoded
|
382 |
+
|
383 |
+
* upload completely sent off: 423 out of 423 bytes
|
384 |
+
< HTTP/1.1 200 OK
|
385 |
+
< Date: Wed, 16 Jul 2014 07:33:45 GMT
|
386 |
+
* Server is not blacklisted
|
387 |
+
< Server:
|
388 |
+
< Content-Length: 2367
|
389 |
+
< Content-Type: text/xml; charset=utf-8
|
390 |
+
<
|
391 |
+
* Connection #17 to host test.mpay24.com left intact
|
392 |
+
* Hostname was found in DNS cache
|
393 |
+
* Hostname in DNS cache was stale, zapped
|
394 |
+
* Trying 192.168.10.14...
|
395 |
+
* Connected to test.mpay24.com (192.168.10.14) port 443 (#18)
|
396 |
+
* successfully set certificate verify locations:
|
397 |
+
* CAfile: E:\Users\sadrian\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
|
398 |
+
CApath: none
|
399 |
+
* SSL connection using TLSv1.2 / DHE-RSA-AES256-GCM-SHA384
|
400 |
+
* Server certificate:
|
401 |
+
* subject: OU=Domain Control Validated; OU=Provided by EUNETIC GmbH; OU=EuropeanSSL Single; CN=test.mpay24.com
|
402 |
+
* start date: 2013-05-13 00:00:00 GMT
|
403 |
+
* expire date: 2015-05-13 23:59:59 GMT
|
404 |
+
* subjectAltName: test.mpay24.com matched
|
405 |
+
* issuer: C=DE; O=EUNETIC GmbH; CN=EuropeanSSL Server CA
|
406 |
+
* SSL certificate verify ok.
|
407 |
+
* Server auth using Basic with user 'u99999'
|
408 |
+
> POST /app/bin/etpproxy_v15 HTTP/1.1
|
409 |
+
Authorization: Basic dTk5OTk5OlZhcm5hLjMwMTIyMDEx
|
410 |
+
User-Agent: mPAY24 PHP API $Rev: 9 $ ($Date:: 2013-10-29 #$)
|
411 |
+
Host: test.mpay24.com
|
412 |
+
Accept: */*
|
413 |
+
Content-Length: 423
|
414 |
+
Content-Type: application/x-www-form-urlencoded
|
415 |
+
|
416 |
+
* upload completely sent off: 423 out of 423 bytes
|
417 |
+
< HTTP/1.1 200 OK
|
418 |
+
< Date: Wed, 16 Jul 2014 07:38:04 GMT
|
419 |
+
* Server is not blacklisted
|
420 |
+
< Server:
|
421 |
+
< Content-Length: 2367
|
422 |
+
< Content-Type: text/xml; charset=utf-8
|
423 |
+
<
|
424 |
+
* Connection #18 to host test.mpay24.com left intact
|
425 |
+
* Hostname was found in DNS cache
|
426 |
+
* Hostname in DNS cache was stale, zapped
|
427 |
+
* Trying 192.168.10.14...
|
428 |
+
* Connected to test.mpay24.com (192.168.10.14) port 443 (#19)
|
429 |
+
* successfully set certificate verify locations:
|
430 |
+
* CAfile: E:\Users\sadrian\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
|
431 |
+
CApath: none
|
432 |
+
* SSL connection using TLSv1.2 / DHE-RSA-AES256-GCM-SHA384
|
433 |
+
* Server certificate:
|
434 |
+
* subject: OU=Domain Control Validated; OU=Provided by EUNETIC GmbH; OU=EuropeanSSL Single; CN=test.mpay24.com
|
435 |
+
* start date: 2013-05-13 00:00:00 GMT
|
436 |
+
* expire date: 2015-05-13 23:59:59 GMT
|
437 |
+
* subjectAltName: test.mpay24.com matched
|
438 |
+
* issuer: C=DE; O=EUNETIC GmbH; CN=EuropeanSSL Server CA
|
439 |
+
* SSL certificate verify ok.
|
440 |
+
* Server auth using Basic with user 'u99999'
|
441 |
+
> POST /app/bin/etpproxy_v15 HTTP/1.1
|
442 |
+
Authorization: Basic dTk5OTk5OlZhcm5hLjMwMTIyMDEx
|
443 |
+
User-Agent: mPAY24 PHP API $Rev: 9 $ ($Date:: 2013-10-29 #$)
|
444 |
+
Host: test.mpay24.com
|
445 |
+
Accept: */*
|
446 |
+
Content-Length: 423
|
447 |
+
Content-Type: application/x-www-form-urlencoded
|
448 |
+
|
449 |
+
* upload completely sent off: 423 out of 423 bytes
|
450 |
+
< HTTP/1.1 200 OK
|
451 |
+
< Date: Wed, 16 Jul 2014 07:41:47 GMT
|
452 |
+
* Server is not blacklisted
|
453 |
+
< Server:
|
454 |
+
< Content-Length: 2367
|
455 |
+
< Content-Type: text/xml; charset=utf-8
|
456 |
+
<
|
457 |
+
* Connection #19 to host test.mpay24.com left intact
|
458 |
+
* Hostname was NOT found in DNS cache
|
459 |
+
* Trying 192.168.10.14...
|
460 |
+
* Connected to test.mpay24.com (192.168.10.14) port 443 (#5)
|
461 |
+
* successfully set certificate verify locations:
|
462 |
+
* CAfile: E:\Users\sadrian\workspace\anna-2\magento_module\app\code\community\Mpay24\Mpay24\Model\Api/cacert.pem
|
463 |
+
CApath: none
|
464 |
+
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
|
465 |
+
* Server certificate:
|
466 |
+
* subject: OU=Domain Control Validated; OU=Provided by EUNETIC GmbH; OU=EuropeanSSL Single; CN=test.mpay24.com
|
467 |
+
* start date: 2013-05-13 00:00:00 GMT
|
468 |
+
* expire date: 2015-05-13 23:59:59 GMT
|
469 |
+
* subjectAltName: test.mpay24.com matched
|
470 |
+
* issuer: C=DE; O=EUNETIC GmbH; CN=EuropeanSSL Server CA
|
471 |
+
* SSL certificate verify ok.
|
472 |
+
* Server auth using Basic with user 'u99999'
|
473 |
+
> POST /app/bin/etpproxy_v15 HTTP/1.1
|
474 |
+
Authorization: Basic dTk5OTk5OlZhcm5hLjMwMTIyMDEx
|
475 |
+
User-Agent: mPAY24 PHP API $Rev: 9 $ ($Date:: 2013-10-29 #$)
|
476 |
+
Host: test.mpay24.com
|
477 |
+
Accept: */*
|
478 |
+
Content-Length: 423
|
479 |
+
Content-Type: application/x-www-form-urlencoded
|
480 |
+
|
481 |
+
* upload completely sent off: 423 out of 423 bytes
|
482 |
+
< HTTP/1.1 200 OK
|
483 |
+
< Date: Tue, 29 Jul 2014 08:15:28 GMT
|
484 |
+
* Server is not blacklisted
|
485 |
+
< Server:
|
486 |
+
< Content-Length: 2367
|
487 |
+
< Content-Type: text/xml; charset=utf-8
|
488 |
+
<
|
489 |
+
* Connection #5 to host test.mpay24.com left intact
|
app/code/community/Mpay24/Mpay24/Model/Method/Selectpayment.php
CHANGED
@@ -1,87 +1,89 @@
|
|
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 |
-
* @category Mpay24
|
16 |
-
* @package Mpay24_Mpay24
|
17 |
-
* @author Firedrago Magento
|
18 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
* @version $Id: Selectpayment.php
|
20 |
-
*/
|
21 |
-
|
22 |
-
include_once "
|
23 |
-
|
24 |
-
abstract class Mpay24_Mpay24_Model_Method_Selectpayment extends Mpay24_Mpay24_Model_Method_Abstract{
|
25 |
-
|
26 |
-
public function authorize(Varien_Object $payment, $amount) {
|
27 |
-
$ps = false;
|
28 |
-
$type = "";
|
29 |
-
$brand = "";
|
30 |
-
|
31 |
-
$payments = array();
|
32 |
-
$paymentsArray = unserialize(Mage::getStoreConfig('mpay24/mpay24/active_payments'));
|
33 |
-
$i = 1;
|
34 |
-
|
35 |
-
foreach($paymentsArray as $id => $paymentType) {
|
36 |
-
if(strlen($id) == 1)
|
37 |
-
$id = "00$id";
|
38 |
-
elseif(strlen($id) == 2)
|
39 |
-
$id = "0$id";
|
40 |
-
|
41 |
-
$payments[$id] = $paymentType;
|
42 |
-
$payments[$id]['PS'] = $i;
|
43 |
-
|
44 |
-
$i++;
|
45 |
-
}
|
46 |
-
|
47 |
-
if(isset($_REQUEST['mpay24_ps']) && $_REQUEST['mpay24_ps'] != 'false') {
|
48 |
-
$ps = true;
|
49 |
-
$brand = $payments[substr($_REQUEST['mpay24_ps'],
|
50 |
-
$type = $payments[substr($_REQUEST['mpay24_ps'],
|
51 |
-
}
|
52 |
-
|
53 |
-
$this->clearSession();
|
54 |
-
$error = false;
|
55 |
-
|
56 |
-
if($amount>0) {
|
57 |
-
$payment->setAmount($amount);
|
58 |
-
|
59 |
-
|
60 |
-
$mPay24MagentoShop
|
61 |
-
$
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
$this->
|
68 |
-
$
|
69 |
-
|
70 |
-
|
71 |
-
$payment->
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
Mage::
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
}
|
|
|
|
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 |
+
* @category Mpay24
|
16 |
+
* @package Mpay24_Mpay24
|
17 |
+
* @author Firedrago Magento
|
18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
* @version $Id: Selectpayment.php 28 2014-09-29 09:31:11Z sapolhei $
|
20 |
+
*/
|
21 |
+
|
22 |
+
include_once Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
|
23 |
+
|
24 |
+
abstract class Mpay24_Mpay24_Model_Method_Selectpayment extends Mpay24_Mpay24_Model_Method_Abstract{
|
25 |
+
|
26 |
+
public function authorize(Varien_Object $payment, $amount) {
|
27 |
+
$ps = false;
|
28 |
+
$type = "";
|
29 |
+
$brand = "";
|
30 |
+
|
31 |
+
$payments = array();
|
32 |
+
$paymentsArray = unserialize(Mage::getStoreConfig('mpay24/mpay24/active_payments'));
|
33 |
+
$i = 1;
|
34 |
+
|
35 |
+
foreach($paymentsArray as $id => $paymentType) {
|
36 |
+
if(strlen($id) == 1)
|
37 |
+
$id = "00$id";
|
38 |
+
elseif(strlen($id) == 2)
|
39 |
+
$id = "0$id";
|
40 |
+
|
41 |
+
$payments[$id] = $paymentType;
|
42 |
+
$payments[$id]['PS'] = $i;
|
43 |
+
|
44 |
+
$i++;
|
45 |
+
}
|
46 |
+
|
47 |
+
if(isset($_REQUEST['mpay24_ps']) && $_REQUEST['mpay24_ps'] != 'false') {
|
48 |
+
$ps = true;
|
49 |
+
$brand = $payments[substr($_REQUEST['mpay24_ps'],7,3)]['BRAND'];
|
50 |
+
$type = $payments[substr($_REQUEST['mpay24_ps'],7,3)]['P_TYPE'];
|
51 |
+
}
|
52 |
+
|
53 |
+
$this->clearSession();
|
54 |
+
$error = false;
|
55 |
+
|
56 |
+
if($amount>0) {
|
57 |
+
$payment->setAmount($amount);
|
58 |
+
$payment->setCcType("$type => $brand")->save();
|
59 |
+
|
60 |
+
$mPay24MagentoShop = MPay24MagentoShop::getMPay24Api();
|
61 |
+
$mPay24MagentoShop->setVariables($payment->getOrder(), $ps, $type, $brand);
|
62 |
+
$soapResult = $mPay24MagentoShop->pay();
|
63 |
+
|
64 |
+
$payment->setTransactionId($payment->getOrder()->getIncrementId())->setIsTransactionClosed(0);
|
65 |
+
|
66 |
+
if($soapResult->getGeneralResponse()->getStatus() == "OK") {
|
67 |
+
$this->getPayment()->setAuth(true);
|
68 |
+
$this->getSession()->setUrl($soapResult->getLocation());
|
69 |
+
$payment->setAdditionalInformation('user_field', MPay24MagentoShop::MAGENTO_VERSION.substr($payment->getOrder()->getIncrementId(),0,100).'_'.date('Y-m-d'));
|
70 |
+
|
71 |
+
$payment->setIsTransactionPending(true);
|
72 |
+
$payment->getOrder()->addStatusToHistory(Mage_Sales_Model_Order::STATE_PENDING_PAYMENT, Mage::helper('mpay24')->__("Redirected to mPAY24 pay page"))->save();
|
73 |
+
} else
|
74 |
+
$error = $soapResult->getGeneralResponse()->getReturnCode();
|
75 |
+
} else {
|
76 |
+
$error = Mage::helper('mpay24')->__('Invalid amount for authorization.');
|
77 |
+
}
|
78 |
+
|
79 |
+
if ($error !== false) {
|
80 |
+
Mage::log($error, 10);
|
81 |
+
Mage::throwException(Mage::helper('mpay24')->__('Please contact the merchant,')."\n".Mage::helper('mpay24')->__('this payment is not possible at the moment!'));
|
82 |
+
}
|
83 |
+
}
|
84 |
+
|
85 |
+
public function getOrderPlaceRedirectUrl() {
|
86 |
+
return ($this->getPayment()->getAuth()) ? Mage::getUrl('mpay24/payment/redirect',array('_secure' => true)) : false;
|
87 |
+
}
|
88 |
+
}
|
89 |
+
?>
|
app/code/community/Mpay24/Mpay24/Model/Observer.php
CHANGED
@@ -16,9 +16,9 @@
|
|
16 |
* @package Mpay24_Mpay24
|
17 |
* @author Firedrago Magento
|
18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
* @version $Id: Observer.php
|
20 |
*/
|
21 |
-
include_once "
|
22 |
|
23 |
class Mpay24_Mpay24_Model_Observer extends Mage_Core_Model_Config_Data {
|
24 |
|
@@ -38,8 +38,9 @@ class Mpay24_Mpay24_Model_Observer extends Mage_Core_Model_Config_Data {
|
|
38 |
|
39 |
if(Mage::getStoreConfig('mpay24/mpay24as/old_merchantid') != Mage::getStoreConfig('mpay24/mpay24as/merchantid')) {
|
40 |
|
41 |
-
for($i=1; $i<=50; $i++)
|
42 |
-
Mage::getConfig()->saveConfig("
|
|
|
43 |
}
|
44 |
|
45 |
Mage::getConfig()->reinit();
|
@@ -61,8 +62,9 @@ class Mpay24_Mpay24_Model_Observer extends Mage_Core_Model_Config_Data {
|
|
61 |
|
62 |
$i++;
|
63 |
|
64 |
-
if(Mage::getStoreConfig('mpay24/mpay24as/old_merchantid') != Mage::getStoreConfig('mpay24/mpay24as/merchantid'))
|
65 |
-
Mage::getConfig()->saveConfig("
|
|
|
66 |
}
|
67 |
|
68 |
Mage::getConfig()->saveConfig("mpay24/mpay24/active_payments", serialize($payments));
|
16 |
* @package Mpay24_Mpay24
|
17 |
* @author Firedrago Magento
|
18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
* @version $Id: Observer.php 28 2014-09-29 09:31:11Z sapolhei $
|
20 |
*/
|
21 |
+
include_once Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
|
22 |
|
23 |
class Mpay24_Mpay24_Model_Observer extends Mage_Core_Model_Config_Data {
|
24 |
|
38 |
|
39 |
if(Mage::getStoreConfig('mpay24/mpay24as/old_merchantid') != Mage::getStoreConfig('mpay24/mpay24as/merchantid')) {
|
40 |
|
41 |
+
for($i=1; $i<=50; $i++) {
|
42 |
+
Mage::getConfig()->saveConfig("payment/mpay24_ps_$i/active", 1);
|
43 |
+
}
|
44 |
}
|
45 |
|
46 |
Mage::getConfig()->reinit();
|
62 |
|
63 |
$i++;
|
64 |
|
65 |
+
if(Mage::getStoreConfig('mpay24/mpay24as/old_merchantid') != Mage::getStoreConfig('mpay24/mpay24as/merchantid')) {
|
66 |
+
Mage::getConfig()->saveConfig("payment/mpay24_ps_$i/active", 1);
|
67 |
+
}
|
68 |
}
|
69 |
|
70 |
Mage::getConfig()->saveConfig("mpay24/mpay24/active_payments", serialize($payments));
|
app/code/community/Mpay24/Mpay24/Model/Sales/Quote/Address/Total/Paymentcharge.php
CHANGED
@@ -1,84 +1,71 @@
|
|
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 |
-
* @category Mpay24
|
16 |
-
* @package Mpay24_Mpay24
|
17 |
-
* @author Firedrago Magento
|
18 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
* @version $Id: Paymentcharge.php 5 2013-10-10 13:08:44Z sapolhei $
|
20 |
-
*/
|
21 |
-
|
22 |
-
class Mpay24_Mpay24_Model_Sales_Quote_Address_Total_Paymentcharge extends Mage_Sales_Model_Quote_Address_Total_Abstract {
|
23 |
-
public function __construct() {
|
24 |
-
$this->setCode('payment_charge');
|
25 |
-
}
|
26 |
-
|
27 |
-
public function collect(Mage_Sales_Model_Quote_Address $address) {
|
28 |
-
if(isset($_REQUEST['mpay24_ps'])) {
|
29 |
-
$address->setPaymentCharge(0);
|
30 |
-
$address->setBasePaymentCharge(0);
|
31 |
-
$address->setPaymentChargeType("absolute");
|
32 |
-
|
33 |
-
$items = $address->getAllItems();
|
34 |
-
|
35 |
-
if (!count($items))
|
36 |
-
return $this;
|
37 |
-
|
38 |
-
$paymentMethod = $address->getQuote()->getPayment()->getMethod();
|
39 |
-
|
40 |
-
if ($paymentMethod) {
|
41 |
-
$amount = Mage::helper('mpay24')->getPaymentCharge($paymentMethod, $address->getQuote());
|
42 |
-
|
43 |
-
if(isset($amount[substr($_REQUEST['mpay24_ps'],4)])) {
|
44 |
-
$address->setPaymentChargeType($amount[substr($_REQUEST['mpay24_ps'],4)]['type']);
|
45 |
-
$address->setPaymentCharge($amount[substr($_REQUEST['mpay24_ps'],4)]['value']);
|
46 |
-
$address->setBasePaymentCharge($amount[substr($_REQUEST['mpay24_ps'],4)]['value']);
|
47 |
-
}
|
48 |
-
}
|
49 |
-
|
50 |
-
$charge = $address->getPaymentCharge();
|
51 |
-
$baseCharge = $address->getBasePaymentCharge();
|
52 |
-
|
53 |
-
if($address->getPaymentChargeType() == "percent") {
|
54 |
-
$address->setGrandTotal($address->getGrandTotal() + $address->getSubtotal()*$charge/100);
|
55 |
-
$address->setBaseGrandTotal($address->getBaseGrandTotal() + $address->getSubtotal()*$baseCharge/100);
|
56 |
-
} else {
|
57 |
-
$address->setGrandTotal($address->getGrandTotal() + $charge);
|
58 |
-
$address->setBaseGrandTotal($address->getBaseGrandTotal() + $baseCharge);
|
59 |
-
}
|
60 |
-
}
|
61 |
-
|
62 |
-
return $this;
|
63 |
-
}
|
64 |
-
|
65 |
-
public function fetch(Mage_Sales_Model_Quote_Address $address) {
|
66 |
-
$charge = $address->getPaymentCharge();
|
67 |
-
|
68 |
-
if($address->getPaymentChargeType() == "percent") {
|
69 |
-
$label = Mage::helper('mpay24')->__("Payment charge") . " (" . number_format($charge,2,'.','') . "%)";
|
70 |
-
$charge = $address->getSubtotal()*$charge/100;
|
71 |
-
} else
|
72 |
-
$label = Mage::helper('mpay24')->__("Payment charge") . " (" . Mage::helper('mpay24')->__("Absolute value") . ")";
|
73 |
-
|
74 |
-
if ($charge && $charge!=0 && $charge != "")
|
75 |
-
$address->addTotal(array(
|
76 |
-
'code' => $this->getCode(),
|
77 |
-
'title' => $label,
|
78 |
-
'full_info' => array(),
|
79 |
-
'value' => $charge
|
80 |
-
));
|
81 |
-
|
82 |
-
return $this;
|
83 |
-
}
|
84 |
* Magento
|
85 |
*
|
86 |
* NOTICE OF LICENSE
|
87 |
*
|
88 |
* This source file is subject to the Open Software License (OSL 3.0)
|
89 |
* that is bundled with this package in the file LICENSE.txt.
|
90 |
* It is also available through the world-wide-web at this URL:
|
91 |
* http://opensource.org/licenses/osl-3.0.php
|
92 |
* If you did not receive a copy of the license and are unable to
|
93 |
* obtain it through the world-wide-web, please send an email
|
94 |
* to license@magentocommerce.com so we can send you a copy immediately.
|
95 |
*
|
96 |
* @category Mpay24
|
97 |
* @package Mpay24_Mpay24
|
98 |
* @author Firedrago Magento
|
99 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
100 |
* @version $Id: Paymentcharge.php 27 2014-08-27 13:59:46Z sapolhei $
|
101 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
* @category Mpay24
|
16 |
* @package Mpay24_Mpay24
|
17 |
* @author Firedrago Magento
|
18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
* @version $Id: Paymentcharge.php 27 2014-08-27 13:59:46Z sapolhei $
|
20 |
*/
|
21 |
+
class Mpay24_Mpay24_Model_Sales_Quote_Address_Total_Paymentcharge extends Mage_Sales_Model_Quote_Address_Total_Abstract {
|
22 |
+
|
23 |
+
public function __construct() {
|
24 |
+
$this->setCode ( 'payment_charge' );
|
25 |
+
}
|
26 |
+
|
27 |
+
public function collect(Mage_Sales_Model_Quote_Address $address) {
|
28 |
+
$payment_method = "";
|
29 |
+
if(isset ( $_REQUEST ['payment_method'] ))
|
30 |
+
$payment_method = $_REQUEST ['payment_method'];
|
31 |
+
elseif(isset ( $_REQUEST ['mpay24_ps'] ))
|
32 |
+
$payment_method = $_REQUEST ['mpay24_ps'];
|
33 |
+
|
34 |
+
if (Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true' && Mage::getStoreConfig("mpay24/mpay24/forced_preselection") == 1 && $payment_method != "" ) {
|
35 |
+
$address->setPaymentCharge ( 0 );
|
36 |
+
$address->setBasePaymentCharge ( 0 );
|
37 |
+
$address->setPaymentChargeType ( "absolute" );
|
38 |
+
$items = $address->getAllItems ();
|
39 |
+
if (! count ( $items ))
|
40 |
+
return $this;
|
41 |
+
|
42 |
+
$paymentMethod = $address->getQuote ()->getPayment ()->getMethod ();
|
43 |
+
|
44 |
+
if ($paymentMethod) {
|
45 |
+
$amount = Mage::helper ( 'mpay24' )->getPaymentCharge ( $paymentMethod, $address->getQuote () );
|
46 |
+
|
47 |
+
if (isset ( $amount [substr ( $payment_method, 11 )] )) {
|
48 |
+
$address->setPaymentChargeType ( $amount [substr ( $payment_method, 11 )] ['type'] );
|
49 |
+
$address->setPaymentCharge ( $amount [substr ( $payment_method, 11 )] ['value'] );
|
50 |
+
$address->setBasePaymentCharge ( $amount [substr ( $payment_method, 11 )] ['value'] );
|
51 |
+
}
|
52 |
+
}
|
53 |
+
|
54 |
+
$charge = $address->getPaymentCharge ();
|
55 |
+
$baseCharge = $address->getBasePaymentCharge ();
|
56 |
+
|
57 |
+
if ($address->getPaymentChargeType () == "percent") {
|
58 |
+
$address->setGrandTotal ( $address->getGrandTotal () + $address->getSubtotal () * $charge / 100 );
|
59 |
+
$address->setBaseGrandTotal ( $address->getBaseGrandTotal () + $address->getSubtotal () * $baseCharge / 100 );
|
60 |
+
} else {
|
61 |
+
$address->setGrandTotal ( $address->getGrandTotal () + $charge );
|
62 |
+
$address->setBaseGrandTotal ( $address->getBaseGrandTotal () + $baseCharge );
|
63 |
+
}
|
64 |
+
}
|
65 |
+
|
66 |
+
return $this;
|
67 |
+
}
|
68 |
+
|
69 |
+
public function fetch(Mage_Sales_Model_Quote_Address $address) {
|
70 |
+
$charge = $address->getPaymentCharge ();
|
71 |
+
|
72 |
+
if ($address->getPaymentChargeType () == "percent") {
|
73 |
+
$label = Mage::helper ( 'mpay24' )->__ ( "Payment charge" ) . " (" . number_format ( $charge, 2, '.', '' ) . "%)";
|
74 |
+
$charge = $address->getSubtotal () * $charge / 100;
|
75 |
+
} else
|
76 |
+
$label = Mage::helper ( 'mpay24' )->__ ( "Payment charge" ) . " (" . Mage::helper ( 'mpay24' )->__ ( "Absolute value" ) . ")";
|
77 |
+
|
78 |
+
if ($charge && $charge != 0 && $charge != "")
|
79 |
+
$address->addTotal ( array (
|
80 |
+
'code' => $this->getCode (),
|
81 |
+
'title' => $label,
|
82 |
+
'full_info' => array (),
|
83 |
+
'value' => $charge
|
84 |
+
)
|
85 |
+
);
|
86 |
+
|
87 |
+
return $this;
|
88 |
+
}
|
89 |
}
|
app/code/community/Mpay24/Mpay24/Model/Selectpayment.php
CHANGED
@@ -16,10 +16,10 @@
|
|
16 |
* @package Mpay24_Mpay24
|
17 |
* @author Firedrago Magento
|
18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
* @version $Id: Selectpayment.php
|
20 |
*/
|
21 |
|
22 |
-
include_once "
|
23 |
|
24 |
class Mpay24_Mpay24_Model_Selectpayment extends Mpay24_Mpay24_Model_Method_Selectpayment {
|
25 |
protected $_code = 'mpay24';
|
16 |
* @package Mpay24_Mpay24
|
17 |
* @author Firedrago Magento
|
18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
* @version $Id: Selectpayment.php 28 2014-09-29 09:31:11Z sapolhei $
|
20 |
*/
|
21 |
|
22 |
+
include_once Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
|
23 |
|
24 |
class Mpay24_Mpay24_Model_Selectpayment extends Mpay24_Mpay24_Model_Method_Selectpayment {
|
25 |
protected $_code = 'mpay24';
|
app/code/community/Mpay24/Mpay24/Model/Source/ClearingAction.php
CHANGED
@@ -16,10 +16,10 @@
|
|
16 |
* @package Mpay24_Mpay24
|
17 |
* @author Firedrago Magento
|
18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
* @version $Id: ClearingAction.php
|
20 |
*/
|
21 |
|
22 |
-
include_once "
|
23 |
|
24 |
class Mpay24_Mpay24_Model_Source_ClearingAction {
|
25 |
public function toOptionArray() {
|
16 |
* @package Mpay24_Mpay24
|
17 |
* @author Firedrago Magento
|
18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
* @version $Id: ClearingAction.php 28 2014-09-29 09:31:11Z sapolhei $
|
20 |
*/
|
21 |
|
22 |
+
include_once Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
|
23 |
|
24 |
class Mpay24_Mpay24_Model_Source_ClearingAction {
|
25 |
public function toOptionArray() {
|
app/code/community/Mpay24/Mpay24/Model/Source/FormTemplate.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* @package Mpay24_Mpay24
|
17 |
* @author Firedrago Magento
|
18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
* @version $Id: FormTemplate.php
|
20 |
*/
|
21 |
class Mpay24_Mpay24_Model_Source_FormTemplate {
|
22 |
|
@@ -29,6 +29,8 @@ class Mpay24_Mpay24_Model_Source_FormTemplate {
|
|
29 |
return array(
|
30 |
array('value' => 'dropDown.phtml', 'label'=>'Drop-Down'),
|
31 |
array('value' => 'area.phtml', 'label'=>'Icons'),
|
|
|
32 |
);
|
33 |
}
|
34 |
-
}
|
|
16 |
* @package Mpay24_Mpay24
|
17 |
* @author Firedrago Magento
|
18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
* @version $Id: FormTemplate.php 27 2014-08-27 13:59:46Z sapolhei $
|
20 |
*/
|
21 |
class Mpay24_Mpay24_Model_Source_FormTemplate {
|
22 |
|
29 |
return array(
|
30 |
array('value' => 'dropDown.phtml', 'label'=>'Drop-Down'),
|
31 |
array('value' => 'area.phtml', 'label'=>'Icons'),
|
32 |
+
array('value' => 'radio.phtml', 'label'=>'Radio-Button'),
|
33 |
);
|
34 |
}
|
35 |
+
}
|
36 |
+
?>
|
app/code/community/Mpay24/Mpay24/controllers/PaymentController.php
CHANGED
@@ -16,9 +16,9 @@
|
|
16 |
* @package Mpay24_Mpay24
|
17 |
* @author Firedrago Magento
|
18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
* @version $Id: PaymentController.php
|
20 |
*/
|
21 |
-
include_once "
|
22 |
|
23 |
class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action {
|
24 |
|
@@ -111,7 +111,7 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
|
|
111 |
|
112 |
$this->getTransactionStatus($_REQUEST['TID']);
|
113 |
|
114 |
-
Mage::getSingleton('mpay24/session')->setParentRedirectUrl('checkout/
|
115 |
$this->getResponse()->setBody($this->getLayout()->createBlock("mpay24/parentRedirect")->toHtml());
|
116 |
}
|
117 |
|
@@ -153,7 +153,7 @@ class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action
|
|
153 |
|
154 |
$this->getTransactionStatus($_REQUEST['TID']);
|
155 |
|
156 |
-
Mage::getSingleton('mpay24/session')->setParentRedirectUrl('checkout/
|
157 |
$this->getResponse()->setBody($this->getLayout()->createBlock("mpay24/parentRedirect")->toHtml());
|
158 |
}
|
159 |
|
16 |
* @package Mpay24_Mpay24
|
17 |
* @author Firedrago Magento
|
18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
* @version $Id: PaymentController.php 28 2014-09-29 09:31:11Z sapolhei $
|
20 |
*/
|
21 |
+
include_once Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php";
|
22 |
|
23 |
class Mpay24_Mpay24_PaymentController extends Mage_Core_Controller_Front_Action {
|
24 |
|
111 |
|
112 |
$this->getTransactionStatus($_REQUEST['TID']);
|
113 |
|
114 |
+
Mage::getSingleton('mpay24/session')->setParentRedirectUrl('checkout/'.Mage::getStoreConfig('mpay24/mpay24/checkout_template').'/');
|
115 |
$this->getResponse()->setBody($this->getLayout()->createBlock("mpay24/parentRedirect")->toHtml());
|
116 |
}
|
117 |
|
153 |
|
154 |
$this->getTransactionStatus($_REQUEST['TID']);
|
155 |
|
156 |
+
Mage::getSingleton('mpay24/session')->setParentRedirectUrl('checkout/'.Mage::getStoreConfig('mpay24/mpay24/checkout_template').'/');
|
157 |
$this->getResponse()->setBody($this->getLayout()->createBlock("mpay24/parentRedirect")->toHtml());
|
158 |
}
|
159 |
|
app/code/community/Mpay24/Mpay24/etc/config.xml
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
-
@version $Id: config.xml
|
4 |
-->
|
5 |
<config>
|
6 |
<modules>
|
7 |
<Mpay24_Mpay24>
|
8 |
-
<version>1.5.
|
9 |
</Mpay24_Mpay24>
|
10 |
</modules>
|
11 |
|
@@ -246,7 +246,7 @@
|
|
246 |
<allowed_ips>213.164.23.169,213.164.25.245,127.0.0.1</allowed_ips>
|
247 |
</mpay24as>
|
248 |
<mpay24sporder>
|
249 |
-
<style>margin-left: auto; margin-right: auto
|
250 |
<logostyle></logostyle>
|
251 |
<pageheaderstyle></pageheaderstyle>
|
252 |
<pagecaptionstyle></pagecaptionstyle>
|
@@ -297,6 +297,7 @@
|
|
297 |
</mpay24spsc>
|
298 |
<mpay24>
|
299 |
<payments_active>false</payments_active>
|
|
|
300 |
<billingAddressMode>ReadOnly</billingAddressMode>
|
301 |
<show_free_products>0</show_free_products>
|
302 |
</mpay24>
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
+
@version $Id: config.xml 27 2014-08-27 13:59:46Z sapolhei $
|
4 |
-->
|
5 |
<config>
|
6 |
<modules>
|
7 |
<Mpay24_Mpay24>
|
8 |
+
<version>1.5.2</version>
|
9 |
</Mpay24_Mpay24>
|
10 |
</modules>
|
11 |
|
246 |
<allowed_ips>213.164.23.169,213.164.25.245,127.0.0.1</allowed_ips>
|
247 |
</mpay24as>
|
248 |
<mpay24sporder>
|
249 |
+
<style>margin-left: auto; margin-right: auto;</style>
|
250 |
<logostyle></logostyle>
|
251 |
<pageheaderstyle></pageheaderstyle>
|
252 |
<pagecaptionstyle></pagecaptionstyle>
|
297 |
</mpay24spsc>
|
298 |
<mpay24>
|
299 |
<payments_active>false</payments_active>
|
300 |
+
<checkout_template>onepage</checkout_template>
|
301 |
<billingAddressMode>ReadOnly</billingAddressMode>
|
302 |
<show_free_products>0</show_free_products>
|
303 |
</mpay24>
|
app/code/community/Mpay24/Mpay24/etc/system.xml
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
-
@version $Id: system.xml
|
4 |
-->
|
5 |
<config>
|
6 |
<sections>
|
@@ -116,7 +116,6 @@
|
|
116 |
<show_in_website>1</show_in_website>
|
117 |
<show_in_store>1</show_in_store>
|
118 |
<depends><active>1</active></depends>
|
119 |
-
<comment>The SOAP password provided by mPAY24</comment>
|
120 |
</sofort_state>
|
121 |
<use_proxy translate="label">
|
122 |
<label>API uses proxy</label>
|
@@ -197,7 +196,7 @@
|
|
197 |
</fields>
|
198 |
</mpay24as>
|
199 |
|
200 |
-
|
201 |
<label>mPAY24 Selectpayment Order Design</label>
|
202 |
<frontend_type>text</frontend_type>
|
203 |
<sort_order>2</sort_order>
|
@@ -588,7 +587,7 @@
|
|
588 |
<show_in_store>0</show_in_store>
|
589 |
</subtotal_style>
|
590 |
</fields>
|
591 |
-
</mpay24spsc
|
592 |
|
593 |
<mpay24 translate="label" module="mpay24">
|
594 |
<label>Payment systems</label>
|
@@ -625,12 +624,20 @@
|
|
625 |
<show_in_website>1</show_in_website>
|
626 |
<show_in_store>1</show_in_store>
|
627 |
<comment>Your customers can choose the payment system in the shop only by 'Custom configuration'! The payment systems will be synchronized when the settings are saved!</comment>
|
628 |
-
</payments_active>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
629 |
<form_template translate="label comment">
|
630 |
<label>Payment system selection</label>
|
631 |
<frontend_type>select</frontend_type>
|
632 |
<source_model>mpay24/source_formTemplate</source_model>
|
633 |
-
<sort_order>
|
634 |
<show_in_default>1</show_in_default>
|
635 |
<show_in_website>1</show_in_website>
|
636 |
<show_in_store>1</show_in_store>
|
@@ -641,7 +648,7 @@
|
|
641 |
<label>Forced preselection</label>
|
642 |
<frontend_type>select</frontend_type>
|
643 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
644 |
-
<sort_order>
|
645 |
<show_in_default>1</show_in_default>
|
646 |
<show_in_website>1</show_in_website>
|
647 |
<show_in_store>1</show_in_store>
|
@@ -652,7 +659,8 @@
|
|
652 |
<label>PS_1</label>
|
653 |
<frontend_type>select</frontend_type>
|
654 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
655 |
-
<
|
|
|
656 |
<show_in_default>1</show_in_default>
|
657 |
<show_in_website>1</show_in_website>
|
658 |
<show_in_store>1</show_in_store>
|
@@ -662,7 +670,7 @@
|
|
662 |
<label>Payment charge type</label>
|
663 |
<frontend_type>select</frontend_type>
|
664 |
<source_model>mpay24/source_paymentCharge</source_model>
|
665 |
-
<sort_order>
|
666 |
<show_in_default>1</show_in_default>
|
667 |
<show_in_website>1</show_in_website>
|
668 |
<show_in_store>1</show_in_store>
|
@@ -672,7 +680,7 @@
|
|
672 |
<label>Payment charge</label>
|
673 |
<frontend_type>text</frontend_type>
|
674 |
<validate>validate-not-negative-number</validate>
|
675 |
-
<sort_order>
|
676 |
<show_in_default>1</show_in_default>
|
677 |
<show_in_website>1</show_in_website>
|
678 |
<show_in_store>1</show_in_store>
|
@@ -682,7 +690,8 @@
|
|
682 |
<label>PS_2</label>
|
683 |
<frontend_type>select</frontend_type>
|
684 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
685 |
-
<
|
|
|
686 |
<show_in_default>1</show_in_default>
|
687 |
<show_in_website>1</show_in_website>
|
688 |
<show_in_store>1</show_in_store>
|
@@ -692,7 +701,7 @@
|
|
692 |
<label>Payment charge type</label>
|
693 |
<frontend_type>select</frontend_type>
|
694 |
<source_model>mpay24/source_paymentCharge</source_model>
|
695 |
-
<sort_order>
|
696 |
<show_in_default>1</show_in_default>
|
697 |
<show_in_website>1</show_in_website>
|
698 |
<show_in_store>1</show_in_store>
|
@@ -701,6 +710,7 @@
|
|
701 |
<tax_2 translate="label">
|
702 |
<label>Payment charge</label>
|
703 |
<frontend_type>text</frontend_type>
|
|
|
704 |
<validate>validate-not-negative-number</validate><sort_order>8</sort_order>
|
705 |
<show_in_default>1</show_in_default>
|
706 |
<show_in_website>1</show_in_website>
|
@@ -711,7 +721,8 @@
|
|
711 |
<label>PS_3</label>
|
712 |
<frontend_type>select</frontend_type>
|
713 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
714 |
-
<
|
|
|
715 |
<show_in_default>1</show_in_default>
|
716 |
<show_in_website>1</show_in_website>
|
717 |
<show_in_store>1</show_in_store>
|
@@ -721,7 +732,7 @@
|
|
721 |
<label>Payment charge type</label>
|
722 |
<frontend_type>select</frontend_type>
|
723 |
<source_model>mpay24/source_paymentCharge</source_model>
|
724 |
-
<sort_order>
|
725 |
<show_in_default>1</show_in_default>
|
726 |
<show_in_website>1</show_in_website>
|
727 |
<show_in_store>1</show_in_store>
|
@@ -740,6 +751,7 @@
|
|
740 |
<label>PS_4</label>
|
741 |
<frontend_type>select</frontend_type>
|
742 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
743 |
<sort_order>12</sort_order>
|
744 |
<show_in_default>1</show_in_default>
|
745 |
<show_in_website>1</show_in_website>
|
@@ -769,6 +781,7 @@
|
|
769 |
<label>PS_5</label>
|
770 |
<frontend_type>select</frontend_type>
|
771 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
772 |
<sort_order>15</sort_order>
|
773 |
<show_in_default>1</show_in_default>
|
774 |
<show_in_website>1</show_in_website>
|
@@ -798,6 +811,7 @@
|
|
798 |
<label>PS_6</label>
|
799 |
<frontend_type>select</frontend_type>
|
800 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
801 |
<sort_order>18</sort_order>
|
802 |
<show_in_default>1</show_in_default>
|
803 |
<show_in_website>1</show_in_website>
|
@@ -827,6 +841,7 @@
|
|
827 |
<label>PS_7</label>
|
828 |
<frontend_type>select</frontend_type>
|
829 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
830 |
<sort_order>21</sort_order>
|
831 |
<show_in_default>1</show_in_default>
|
832 |
<show_in_website>1</show_in_website>
|
@@ -856,6 +871,7 @@
|
|
856 |
<label>PS_8</label>
|
857 |
<frontend_type>select</frontend_type>
|
858 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
859 |
<sort_order>24</sort_order>
|
860 |
<show_in_default>1</show_in_default>
|
861 |
<show_in_website>1</show_in_website>
|
@@ -885,6 +901,7 @@
|
|
885 |
<label>PS_9</label>
|
886 |
<frontend_type>select</frontend_type>
|
887 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
888 |
<sort_order>27</sort_order>
|
889 |
<show_in_default>1</show_in_default>
|
890 |
<show_in_website>1</show_in_website>
|
@@ -914,6 +931,7 @@
|
|
914 |
<label>PS_10</label>
|
915 |
<frontend_type>select</frontend_type>
|
916 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
917 |
<sort_order>30</sort_order>
|
918 |
<show_in_default>1</show_in_default>
|
919 |
<show_in_website>1</show_in_website>
|
@@ -943,6 +961,7 @@
|
|
943 |
<label>PS_11</label>
|
944 |
<frontend_type>select</frontend_type>
|
945 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
946 |
<sort_order>33</sort_order>
|
947 |
<show_in_default>1</show_in_default>
|
948 |
<show_in_website>1</show_in_website>
|
@@ -972,6 +991,7 @@
|
|
972 |
<label>PS_12</label>
|
973 |
<frontend_type>select</frontend_type>
|
974 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
975 |
<sort_order>36</sort_order>
|
976 |
<show_in_default>1</show_in_default>
|
977 |
<show_in_website>1</show_in_website>
|
@@ -1001,6 +1021,7 @@
|
|
1001 |
<label>PS_13</label>
|
1002 |
<frontend_type>select</frontend_type>
|
1003 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1004 |
<sort_order>39</sort_order>
|
1005 |
<show_in_default>1</show_in_default>
|
1006 |
<show_in_website>1</show_in_website>
|
@@ -1030,6 +1051,7 @@
|
|
1030 |
<label>PS_14</label>
|
1031 |
<frontend_type>select</frontend_type>
|
1032 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1033 |
<sort_order>42</sort_order>
|
1034 |
<show_in_default>1</show_in_default>
|
1035 |
<show_in_website>1</show_in_website>
|
@@ -1059,6 +1081,7 @@
|
|
1059 |
<label>PS_15</label>
|
1060 |
<frontend_type>select</frontend_type>
|
1061 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1062 |
<sort_order>45</sort_order>
|
1063 |
<show_in_default>1</show_in_default>
|
1064 |
<show_in_website>1</show_in_website>
|
@@ -1088,6 +1111,7 @@
|
|
1088 |
<label>PS_16</label>
|
1089 |
<frontend_type>select</frontend_type>
|
1090 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1091 |
<sort_order>48</sort_order>
|
1092 |
<show_in_default>1</show_in_default>
|
1093 |
<show_in_website>1</show_in_website>
|
@@ -1117,6 +1141,7 @@
|
|
1117 |
<label>PS_17</label>
|
1118 |
<frontend_type>select</frontend_type>
|
1119 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1120 |
<sort_order>51</sort_order>
|
1121 |
<show_in_default>1</show_in_default>
|
1122 |
<show_in_website>1</show_in_website>
|
@@ -1146,6 +1171,7 @@
|
|
1146 |
<label>PS_18</label>
|
1147 |
<frontend_type>select</frontend_type>
|
1148 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1149 |
<sort_order>54</sort_order>
|
1150 |
<show_in_default>1</show_in_default>
|
1151 |
<show_in_website>1</show_in_website>
|
@@ -1175,6 +1201,7 @@
|
|
1175 |
<label>PS_19</label>
|
1176 |
<frontend_type>select</frontend_type>
|
1177 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1178 |
<sort_order>57</sort_order>
|
1179 |
<show_in_default>1</show_in_default>
|
1180 |
<show_in_website>1</show_in_website>
|
@@ -1204,6 +1231,7 @@
|
|
1204 |
<label>PS_20</label>
|
1205 |
<frontend_type>select</frontend_type>
|
1206 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1207 |
<sort_order>60</sort_order>
|
1208 |
<show_in_default>1</show_in_default>
|
1209 |
<show_in_website>1</show_in_website>
|
@@ -1233,6 +1261,7 @@
|
|
1233 |
<label>PS_21</label>
|
1234 |
<frontend_type>select</frontend_type>
|
1235 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1236 |
<sort_order>63</sort_order>
|
1237 |
<show_in_default>1</show_in_default>
|
1238 |
<show_in_website>1</show_in_website>
|
@@ -1262,6 +1291,7 @@
|
|
1262 |
<label>PS_22</label>
|
1263 |
<frontend_type>select</frontend_type>
|
1264 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1265 |
<sort_order>66</sort_order>
|
1266 |
<show_in_default>1</show_in_default>
|
1267 |
<show_in_website>1</show_in_website>
|
@@ -1291,6 +1321,7 @@
|
|
1291 |
<label>PS_23</label>
|
1292 |
<frontend_type>select</frontend_type>
|
1293 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1294 |
<sort_order>69</sort_order>
|
1295 |
<show_in_default>1</show_in_default>
|
1296 |
<show_in_website>1</show_in_website>
|
@@ -1320,6 +1351,7 @@
|
|
1320 |
<label>PS_24</label>
|
1321 |
<frontend_type>select</frontend_type>
|
1322 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1323 |
<sort_order>72</sort_order>
|
1324 |
<show_in_default>1</show_in_default>
|
1325 |
<show_in_website>1</show_in_website>
|
@@ -1349,6 +1381,7 @@
|
|
1349 |
<label>PS_25</label>
|
1350 |
<frontend_type>select</frontend_type>
|
1351 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1352 |
<sort_order>75</sort_order>
|
1353 |
<show_in_default>1</show_in_default>
|
1354 |
<show_in_website>1</show_in_website>
|
@@ -1378,6 +1411,7 @@
|
|
1378 |
<label>PS_26</label>
|
1379 |
<frontend_type>select</frontend_type>
|
1380 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1381 |
<sort_order>78</sort_order>
|
1382 |
<show_in_default>1</show_in_default>
|
1383 |
<show_in_website>1</show_in_website>
|
@@ -1407,6 +1441,7 @@
|
|
1407 |
<label>PS_27</label>
|
1408 |
<frontend_type>select</frontend_type>
|
1409 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1410 |
<sort_order>81</sort_order>
|
1411 |
<show_in_default>1</show_in_default>
|
1412 |
<show_in_website>1</show_in_website>
|
@@ -1436,6 +1471,7 @@
|
|
1436 |
<label>PS_28</label>
|
1437 |
<frontend_type>select</frontend_type>
|
1438 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1439 |
<sort_order>84</sort_order>
|
1440 |
<show_in_default>1</show_in_default>
|
1441 |
<show_in_website>1</show_in_website>
|
@@ -1465,6 +1501,7 @@
|
|
1465 |
<label>PS_29</label>
|
1466 |
<frontend_type>select</frontend_type>
|
1467 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1468 |
<sort_order>87</sort_order>
|
1469 |
<show_in_default>1</show_in_default>
|
1470 |
<show_in_website>1</show_in_website>
|
@@ -1494,6 +1531,7 @@
|
|
1494 |
<label>PS_30</label>
|
1495 |
<frontend_type>select</frontend_type>
|
1496 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1497 |
<sort_order>90</sort_order>
|
1498 |
<show_in_default>1</show_in_default>
|
1499 |
<show_in_website>1</show_in_website>
|
@@ -1523,6 +1561,7 @@
|
|
1523 |
<label>PS_31</label>
|
1524 |
<frontend_type>select</frontend_type>
|
1525 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1526 |
<sort_order>93</sort_order>
|
1527 |
<show_in_default>1</show_in_default>
|
1528 |
<show_in_website>1</show_in_website>
|
@@ -1552,6 +1591,7 @@
|
|
1552 |
<label>PS_32</label>
|
1553 |
<frontend_type>select</frontend_type>
|
1554 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1555 |
<sort_order>96</sort_order>
|
1556 |
<show_in_default>1</show_in_default>
|
1557 |
<show_in_website>1</show_in_website>
|
@@ -1581,6 +1621,7 @@
|
|
1581 |
<label>PS_33</label>
|
1582 |
<frontend_type>select</frontend_type>
|
1583 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1584 |
<sort_order>99</sort_order>
|
1585 |
<show_in_default>1</show_in_default>
|
1586 |
<show_in_website>1</show_in_website>
|
@@ -1610,6 +1651,7 @@
|
|
1610 |
<label>PS_34</label>
|
1611 |
<frontend_type>select</frontend_type>
|
1612 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1613 |
<sort_order>102</sort_order>
|
1614 |
<show_in_default>1</show_in_default>
|
1615 |
<show_in_website>1</show_in_website>
|
@@ -1639,6 +1681,7 @@
|
|
1639 |
<label>PS_35</label>
|
1640 |
<frontend_type>select</frontend_type>
|
1641 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1642 |
<sort_order>105</sort_order>
|
1643 |
<show_in_default>1</show_in_default>
|
1644 |
<show_in_website>1</show_in_website>
|
@@ -1668,6 +1711,7 @@
|
|
1668 |
<label>PS_36</label>
|
1669 |
<frontend_type>select</frontend_type>
|
1670 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1671 |
<sort_order>108</sort_order>
|
1672 |
<show_in_default>1</show_in_default>
|
1673 |
<show_in_website>1</show_in_website>
|
@@ -1697,6 +1741,7 @@
|
|
1697 |
<label>PS_37</label>
|
1698 |
<frontend_type>select</frontend_type>
|
1699 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1700 |
<sort_order>111</sort_order>
|
1701 |
<show_in_default>1</show_in_default>
|
1702 |
<show_in_website>1</show_in_website>
|
@@ -1726,6 +1771,7 @@
|
|
1726 |
<label>PS_38</label>
|
1727 |
<frontend_type>select</frontend_type>
|
1728 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1729 |
<sort_order>114</sort_order>
|
1730 |
<show_in_default>1</show_in_default>
|
1731 |
<show_in_website>1</show_in_website>
|
@@ -1755,6 +1801,7 @@
|
|
1755 |
<label>PS_39</label>
|
1756 |
<frontend_type>select</frontend_type>
|
1757 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1758 |
<sort_order>117</sort_order>
|
1759 |
<show_in_default>1</show_in_default>
|
1760 |
<show_in_website>1</show_in_website>
|
@@ -1784,6 +1831,7 @@
|
|
1784 |
<label>PS_40</label>
|
1785 |
<frontend_type>select</frontend_type>
|
1786 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1787 |
<sort_order>120</sort_order>
|
1788 |
<show_in_default>1</show_in_default>
|
1789 |
<show_in_website>1</show_in_website>
|
@@ -1813,6 +1861,7 @@
|
|
1813 |
<label>PS_41</label>
|
1814 |
<frontend_type>select</frontend_type>
|
1815 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1816 |
<sort_order>123</sort_order>
|
1817 |
<show_in_default>1</show_in_default>
|
1818 |
<show_in_website>1</show_in_website>
|
@@ -1842,6 +1891,7 @@
|
|
1842 |
<label>PS_42</label>
|
1843 |
<frontend_type>select</frontend_type>
|
1844 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1845 |
<sort_order>126</sort_order>
|
1846 |
<show_in_default>1</show_in_default>
|
1847 |
<show_in_website>1</show_in_website>
|
@@ -1871,6 +1921,7 @@
|
|
1871 |
<label>PS_43</label>
|
1872 |
<frontend_type>select</frontend_type>
|
1873 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1874 |
<sort_order>129</sort_order>
|
1875 |
<show_in_default>1</show_in_default>
|
1876 |
<show_in_website>1</show_in_website>
|
@@ -1900,6 +1951,7 @@
|
|
1900 |
<label>PS_44</label>
|
1901 |
<frontend_type>select</frontend_type>
|
1902 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1903 |
<sort_order>132</sort_order>
|
1904 |
<show_in_default>1</show_in_default>
|
1905 |
<show_in_website>1</show_in_website>
|
@@ -1929,6 +1981,7 @@
|
|
1929 |
<label>PS_45</label>
|
1930 |
<frontend_type>select</frontend_type>
|
1931 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1932 |
<sort_order>135</sort_order>
|
1933 |
<show_in_default>1</show_in_default>
|
1934 |
<show_in_website>1</show_in_website>
|
@@ -1958,6 +2011,7 @@
|
|
1958 |
<label>PS_46</label>
|
1959 |
<frontend_type>select</frontend_type>
|
1960 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1961 |
<sort_order>138</sort_order>
|
1962 |
<show_in_default>1</show_in_default>
|
1963 |
<show_in_website>1</show_in_website>
|
@@ -1987,6 +2041,7 @@
|
|
1987 |
<label>PS_49</label>
|
1988 |
<frontend_type>select</frontend_type>
|
1989 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
1990 |
<sort_order>141</sort_order>
|
1991 |
<show_in_default>1</show_in_default>
|
1992 |
<show_in_website>1</show_in_website>
|
@@ -2016,6 +2071,7 @@
|
|
2016 |
<label>PS_48</label>
|
2017 |
<frontend_type>select</frontend_type>
|
2018 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
2019 |
<sort_order>144</sort_order>
|
2020 |
<show_in_default>1</show_in_default>
|
2021 |
<show_in_website>1</show_in_website>
|
@@ -2045,6 +2101,7 @@
|
|
2045 |
<label>PS_49</label>
|
2046 |
<frontend_type>select</frontend_type>
|
2047 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
2048 |
<sort_order>147</sort_order>
|
2049 |
<show_in_default>1</show_in_default>
|
2050 |
<show_in_website>1</show_in_website>
|
@@ -2074,6 +2131,7 @@
|
|
2074 |
<label>PS_50</label>
|
2075 |
<frontend_type>select</frontend_type>
|
2076 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
|
|
2077 |
<sort_order>150</sort_order>
|
2078 |
<show_in_default>1</show_in_default>
|
2079 |
<show_in_website>1</show_in_website>
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
+
@version $Id: system.xml 27 2014-08-27 13:59:46Z sapolhei $
|
4 |
-->
|
5 |
<config>
|
6 |
<sections>
|
116 |
<show_in_website>1</show_in_website>
|
117 |
<show_in_store>1</show_in_store>
|
118 |
<depends><active>1</active></depends>
|
|
|
119 |
</sofort_state>
|
120 |
<use_proxy translate="label">
|
121 |
<label>API uses proxy</label>
|
196 |
</fields>
|
197 |
</mpay24as>
|
198 |
|
199 |
+
<mpay24sporder>
|
200 |
<label>mPAY24 Selectpayment Order Design</label>
|
201 |
<frontend_type>text</frontend_type>
|
202 |
<sort_order>2</sort_order>
|
587 |
<show_in_store>0</show_in_store>
|
588 |
</subtotal_style>
|
589 |
</fields>
|
590 |
+
</mpay24spsc>
|
591 |
|
592 |
<mpay24 translate="label" module="mpay24">
|
593 |
<label>Payment systems</label>
|
624 |
<show_in_website>1</show_in_website>
|
625 |
<show_in_store>1</show_in_store>
|
626 |
<comment>Your customers can choose the payment system in the shop only by 'Custom configuration'! The payment systems will be synchronized when the settings are saved!</comment>
|
627 |
+
</payments_active>
|
628 |
+
<checkout_template>
|
629 |
+
<label>Checkout-Template</label>
|
630 |
+
<frontend_type>text</frontend_type>
|
631 |
+
<sort_order>1</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 |
+
</checkout_template>
|
636 |
<form_template translate="label comment">
|
637 |
<label>Payment system selection</label>
|
638 |
<frontend_type>select</frontend_type>
|
639 |
<source_model>mpay24/source_formTemplate</source_model>
|
640 |
+
<sort_order>2</sort_order>
|
641 |
<show_in_default>1</show_in_default>
|
642 |
<show_in_website>1</show_in_website>
|
643 |
<show_in_store>1</show_in_store>
|
648 |
<label>Forced preselection</label>
|
649 |
<frontend_type>select</frontend_type>
|
650 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
651 |
+
<sort_order>3</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>
|
659 |
<label>PS_1</label>
|
660 |
<frontend_type>select</frontend_type>
|
661 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
662 |
+
<config_path>payment/mpay24_ps_1/active</config_path>
|
663 |
+
<sort_order>4</sort_order>
|
664 |
<show_in_default>1</show_in_default>
|
665 |
<show_in_website>1</show_in_website>
|
666 |
<show_in_store>1</show_in_store>
|
670 |
<label>Payment charge type</label>
|
671 |
<frontend_type>select</frontend_type>
|
672 |
<source_model>mpay24/source_paymentCharge</source_model>
|
673 |
+
<sort_order>5</sort_order>
|
674 |
<show_in_default>1</show_in_default>
|
675 |
<show_in_website>1</show_in_website>
|
676 |
<show_in_store>1</show_in_store>
|
680 |
<label>Payment charge</label>
|
681 |
<frontend_type>text</frontend_type>
|
682 |
<validate>validate-not-negative-number</validate>
|
683 |
+
<sort_order>6</sort_order>
|
684 |
<show_in_default>1</show_in_default>
|
685 |
<show_in_website>1</show_in_website>
|
686 |
<show_in_store>1</show_in_store>
|
690 |
<label>PS_2</label>
|
691 |
<frontend_type>select</frontend_type>
|
692 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
693 |
+
<config_path>payment/mpay24_ps_2/active</config_path>
|
694 |
+
<sort_order>7</sort_order>
|
695 |
<show_in_default>1</show_in_default>
|
696 |
<show_in_website>1</show_in_website>
|
697 |
<show_in_store>1</show_in_store>
|
701 |
<label>Payment charge type</label>
|
702 |
<frontend_type>select</frontend_type>
|
703 |
<source_model>mpay24/source_paymentCharge</source_model>
|
704 |
+
<sort_order>8</sort_order>
|
705 |
<show_in_default>1</show_in_default>
|
706 |
<show_in_website>1</show_in_website>
|
707 |
<show_in_store>1</show_in_store>
|
710 |
<tax_2 translate="label">
|
711 |
<label>Payment charge</label>
|
712 |
<frontend_type>text</frontend_type>
|
713 |
+
<sort_order>9</sort_order>
|
714 |
<validate>validate-not-negative-number</validate><sort_order>8</sort_order>
|
715 |
<show_in_default>1</show_in_default>
|
716 |
<show_in_website>1</show_in_website>
|
721 |
<label>PS_3</label>
|
722 |
<frontend_type>select</frontend_type>
|
723 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
724 |
+
<config_path>payment/mpay24_ps_3/active</config_path>
|
725 |
+
<sort_order>10</sort_order>
|
726 |
<show_in_default>1</show_in_default>
|
727 |
<show_in_website>1</show_in_website>
|
728 |
<show_in_store>1</show_in_store>
|
732 |
<label>Payment charge type</label>
|
733 |
<frontend_type>select</frontend_type>
|
734 |
<source_model>mpay24/source_paymentCharge</source_model>
|
735 |
+
<sort_order>11</sort_order>
|
736 |
<show_in_default>1</show_in_default>
|
737 |
<show_in_website>1</show_in_website>
|
738 |
<show_in_store>1</show_in_store>
|
751 |
<label>PS_4</label>
|
752 |
<frontend_type>select</frontend_type>
|
753 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
754 |
+
<config_path>payment/mpay24_ps_4/active</config_path>
|
755 |
<sort_order>12</sort_order>
|
756 |
<show_in_default>1</show_in_default>
|
757 |
<show_in_website>1</show_in_website>
|
781 |
<label>PS_5</label>
|
782 |
<frontend_type>select</frontend_type>
|
783 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
784 |
+
<config_path>payment/mpay24_ps_5/active</config_path>
|
785 |
<sort_order>15</sort_order>
|
786 |
<show_in_default>1</show_in_default>
|
787 |
<show_in_website>1</show_in_website>
|
811 |
<label>PS_6</label>
|
812 |
<frontend_type>select</frontend_type>
|
813 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
814 |
+
<config_path>payment/mpay24_ps_6/active</config_path>
|
815 |
<sort_order>18</sort_order>
|
816 |
<show_in_default>1</show_in_default>
|
817 |
<show_in_website>1</show_in_website>
|
841 |
<label>PS_7</label>
|
842 |
<frontend_type>select</frontend_type>
|
843 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
844 |
+
<config_path>payment/mpay24_ps_7/active</config_path>
|
845 |
<sort_order>21</sort_order>
|
846 |
<show_in_default>1</show_in_default>
|
847 |
<show_in_website>1</show_in_website>
|
871 |
<label>PS_8</label>
|
872 |
<frontend_type>select</frontend_type>
|
873 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
874 |
+
<config_path>payment/mpay24_ps_8/active</config_path>
|
875 |
<sort_order>24</sort_order>
|
876 |
<show_in_default>1</show_in_default>
|
877 |
<show_in_website>1</show_in_website>
|
901 |
<label>PS_9</label>
|
902 |
<frontend_type>select</frontend_type>
|
903 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
904 |
+
<config_path>payment/mpay24_ps_9/active</config_path>
|
905 |
<sort_order>27</sort_order>
|
906 |
<show_in_default>1</show_in_default>
|
907 |
<show_in_website>1</show_in_website>
|
931 |
<label>PS_10</label>
|
932 |
<frontend_type>select</frontend_type>
|
933 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
934 |
+
<config_path>payment/mpay24_ps_10/active</config_path>
|
935 |
<sort_order>30</sort_order>
|
936 |
<show_in_default>1</show_in_default>
|
937 |
<show_in_website>1</show_in_website>
|
961 |
<label>PS_11</label>
|
962 |
<frontend_type>select</frontend_type>
|
963 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
964 |
+
<config_path>payment/mpay24_ps_11/active</config_path>
|
965 |
<sort_order>33</sort_order>
|
966 |
<show_in_default>1</show_in_default>
|
967 |
<show_in_website>1</show_in_website>
|
991 |
<label>PS_12</label>
|
992 |
<frontend_type>select</frontend_type>
|
993 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
994 |
+
<config_path>payment/mpay24_ps_12/active</config_path>
|
995 |
<sort_order>36</sort_order>
|
996 |
<show_in_default>1</show_in_default>
|
997 |
<show_in_website>1</show_in_website>
|
1021 |
<label>PS_13</label>
|
1022 |
<frontend_type>select</frontend_type>
|
1023 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1024 |
+
<config_path>payment/mpay24_ps_13/active</config_path>
|
1025 |
<sort_order>39</sort_order>
|
1026 |
<show_in_default>1</show_in_default>
|
1027 |
<show_in_website>1</show_in_website>
|
1051 |
<label>PS_14</label>
|
1052 |
<frontend_type>select</frontend_type>
|
1053 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1054 |
+
<config_path>payment/mpay24_ps_14/active</config_path>
|
1055 |
<sort_order>42</sort_order>
|
1056 |
<show_in_default>1</show_in_default>
|
1057 |
<show_in_website>1</show_in_website>
|
1081 |
<label>PS_15</label>
|
1082 |
<frontend_type>select</frontend_type>
|
1083 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1084 |
+
<config_path>payment/mpay24_ps_15/active</config_path>
|
1085 |
<sort_order>45</sort_order>
|
1086 |
<show_in_default>1</show_in_default>
|
1087 |
<show_in_website>1</show_in_website>
|
1111 |
<label>PS_16</label>
|
1112 |
<frontend_type>select</frontend_type>
|
1113 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1114 |
+
<config_path>payment/mpay24_ps_16/active</config_path>
|
1115 |
<sort_order>48</sort_order>
|
1116 |
<show_in_default>1</show_in_default>
|
1117 |
<show_in_website>1</show_in_website>
|
1141 |
<label>PS_17</label>
|
1142 |
<frontend_type>select</frontend_type>
|
1143 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1144 |
+
<config_path>payment/mpay24_ps_17/active</config_path>
|
1145 |
<sort_order>51</sort_order>
|
1146 |
<show_in_default>1</show_in_default>
|
1147 |
<show_in_website>1</show_in_website>
|
1171 |
<label>PS_18</label>
|
1172 |
<frontend_type>select</frontend_type>
|
1173 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1174 |
+
<config_path>payment/mpay24_ps_18/active</config_path>
|
1175 |
<sort_order>54</sort_order>
|
1176 |
<show_in_default>1</show_in_default>
|
1177 |
<show_in_website>1</show_in_website>
|
1201 |
<label>PS_19</label>
|
1202 |
<frontend_type>select</frontend_type>
|
1203 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1204 |
+
<config_path>payment/mpay24_ps_19/active</config_path>
|
1205 |
<sort_order>57</sort_order>
|
1206 |
<show_in_default>1</show_in_default>
|
1207 |
<show_in_website>1</show_in_website>
|
1231 |
<label>PS_20</label>
|
1232 |
<frontend_type>select</frontend_type>
|
1233 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1234 |
+
<config_path>payment/mpay24_ps_20/active</config_path>
|
1235 |
<sort_order>60</sort_order>
|
1236 |
<show_in_default>1</show_in_default>
|
1237 |
<show_in_website>1</show_in_website>
|
1261 |
<label>PS_21</label>
|
1262 |
<frontend_type>select</frontend_type>
|
1263 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1264 |
+
<config_path>payment/mpay24_ps_21/active</config_path>
|
1265 |
<sort_order>63</sort_order>
|
1266 |
<show_in_default>1</show_in_default>
|
1267 |
<show_in_website>1</show_in_website>
|
1291 |
<label>PS_22</label>
|
1292 |
<frontend_type>select</frontend_type>
|
1293 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1294 |
+
<config_path>payment/mpay24_ps_22/active</config_path>
|
1295 |
<sort_order>66</sort_order>
|
1296 |
<show_in_default>1</show_in_default>
|
1297 |
<show_in_website>1</show_in_website>
|
1321 |
<label>PS_23</label>
|
1322 |
<frontend_type>select</frontend_type>
|
1323 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1324 |
+
<config_path>payment/mpay24_ps_23/active</config_path>
|
1325 |
<sort_order>69</sort_order>
|
1326 |
<show_in_default>1</show_in_default>
|
1327 |
<show_in_website>1</show_in_website>
|
1351 |
<label>PS_24</label>
|
1352 |
<frontend_type>select</frontend_type>
|
1353 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1354 |
+
<config_path>payment/mpay24_ps_24/active</config_path>
|
1355 |
<sort_order>72</sort_order>
|
1356 |
<show_in_default>1</show_in_default>
|
1357 |
<show_in_website>1</show_in_website>
|
1381 |
<label>PS_25</label>
|
1382 |
<frontend_type>select</frontend_type>
|
1383 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1384 |
+
<config_path>payment/mpay24_ps_25/active</config_path>
|
1385 |
<sort_order>75</sort_order>
|
1386 |
<show_in_default>1</show_in_default>
|
1387 |
<show_in_website>1</show_in_website>
|
1411 |
<label>PS_26</label>
|
1412 |
<frontend_type>select</frontend_type>
|
1413 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1414 |
+
<config_path>payment/mpay24_ps_26/active</config_path>
|
1415 |
<sort_order>78</sort_order>
|
1416 |
<show_in_default>1</show_in_default>
|
1417 |
<show_in_website>1</show_in_website>
|
1441 |
<label>PS_27</label>
|
1442 |
<frontend_type>select</frontend_type>
|
1443 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1444 |
+
<config_path>payment/mpay24_ps_27/active</config_path>
|
1445 |
<sort_order>81</sort_order>
|
1446 |
<show_in_default>1</show_in_default>
|
1447 |
<show_in_website>1</show_in_website>
|
1471 |
<label>PS_28</label>
|
1472 |
<frontend_type>select</frontend_type>
|
1473 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1474 |
+
<config_path>payment/mpay24_ps_28/active</config_path>
|
1475 |
<sort_order>84</sort_order>
|
1476 |
<show_in_default>1</show_in_default>
|
1477 |
<show_in_website>1</show_in_website>
|
1501 |
<label>PS_29</label>
|
1502 |
<frontend_type>select</frontend_type>
|
1503 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1504 |
+
<config_path>payment/mpay24_ps_29/active</config_path>
|
1505 |
<sort_order>87</sort_order>
|
1506 |
<show_in_default>1</show_in_default>
|
1507 |
<show_in_website>1</show_in_website>
|
1531 |
<label>PS_30</label>
|
1532 |
<frontend_type>select</frontend_type>
|
1533 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1534 |
+
<config_path>payment/mpay24_ps_30/active</config_path>
|
1535 |
<sort_order>90</sort_order>
|
1536 |
<show_in_default>1</show_in_default>
|
1537 |
<show_in_website>1</show_in_website>
|
1561 |
<label>PS_31</label>
|
1562 |
<frontend_type>select</frontend_type>
|
1563 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1564 |
+
<config_path>payment/mpay24_ps_31/active</config_path>
|
1565 |
<sort_order>93</sort_order>
|
1566 |
<show_in_default>1</show_in_default>
|
1567 |
<show_in_website>1</show_in_website>
|
1591 |
<label>PS_32</label>
|
1592 |
<frontend_type>select</frontend_type>
|
1593 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1594 |
+
<config_path>payment/mpay24_ps_32/active</config_path>
|
1595 |
<sort_order>96</sort_order>
|
1596 |
<show_in_default>1</show_in_default>
|
1597 |
<show_in_website>1</show_in_website>
|
1621 |
<label>PS_33</label>
|
1622 |
<frontend_type>select</frontend_type>
|
1623 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1624 |
+
<config_path>payment/mpay24_ps_33/active</config_path>
|
1625 |
<sort_order>99</sort_order>
|
1626 |
<show_in_default>1</show_in_default>
|
1627 |
<show_in_website>1</show_in_website>
|
1651 |
<label>PS_34</label>
|
1652 |
<frontend_type>select</frontend_type>
|
1653 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1654 |
+
<config_path>payment/mpay24_ps_34/active</config_path>
|
1655 |
<sort_order>102</sort_order>
|
1656 |
<show_in_default>1</show_in_default>
|
1657 |
<show_in_website>1</show_in_website>
|
1681 |
<label>PS_35</label>
|
1682 |
<frontend_type>select</frontend_type>
|
1683 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1684 |
+
<config_path>payment/mpay24_ps_35/active</config_path>
|
1685 |
<sort_order>105</sort_order>
|
1686 |
<show_in_default>1</show_in_default>
|
1687 |
<show_in_website>1</show_in_website>
|
1711 |
<label>PS_36</label>
|
1712 |
<frontend_type>select</frontend_type>
|
1713 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1714 |
+
<config_path>payment/mpay24_ps_36/active</config_path>
|
1715 |
<sort_order>108</sort_order>
|
1716 |
<show_in_default>1</show_in_default>
|
1717 |
<show_in_website>1</show_in_website>
|
1741 |
<label>PS_37</label>
|
1742 |
<frontend_type>select</frontend_type>
|
1743 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1744 |
+
<config_path>payment/mpay24_ps_37/active</config_path>
|
1745 |
<sort_order>111</sort_order>
|
1746 |
<show_in_default>1</show_in_default>
|
1747 |
<show_in_website>1</show_in_website>
|
1771 |
<label>PS_38</label>
|
1772 |
<frontend_type>select</frontend_type>
|
1773 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1774 |
+
<config_path>payment/mpay24_ps_38/active</config_path>
|
1775 |
<sort_order>114</sort_order>
|
1776 |
<show_in_default>1</show_in_default>
|
1777 |
<show_in_website>1</show_in_website>
|
1801 |
<label>PS_39</label>
|
1802 |
<frontend_type>select</frontend_type>
|
1803 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1804 |
+
<config_path>payment/mpay24_ps_39/active</config_path>
|
1805 |
<sort_order>117</sort_order>
|
1806 |
<show_in_default>1</show_in_default>
|
1807 |
<show_in_website>1</show_in_website>
|
1831 |
<label>PS_40</label>
|
1832 |
<frontend_type>select</frontend_type>
|
1833 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1834 |
+
<config_path>payment/mpay24_ps_40/active</config_path>
|
1835 |
<sort_order>120</sort_order>
|
1836 |
<show_in_default>1</show_in_default>
|
1837 |
<show_in_website>1</show_in_website>
|
1861 |
<label>PS_41</label>
|
1862 |
<frontend_type>select</frontend_type>
|
1863 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1864 |
+
<config_path>payment/mpay24_ps_41/active</config_path>
|
1865 |
<sort_order>123</sort_order>
|
1866 |
<show_in_default>1</show_in_default>
|
1867 |
<show_in_website>1</show_in_website>
|
1891 |
<label>PS_42</label>
|
1892 |
<frontend_type>select</frontend_type>
|
1893 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1894 |
+
<config_path>payment/mpay24_ps_42/active</config_path>
|
1895 |
<sort_order>126</sort_order>
|
1896 |
<show_in_default>1</show_in_default>
|
1897 |
<show_in_website>1</show_in_website>
|
1921 |
<label>PS_43</label>
|
1922 |
<frontend_type>select</frontend_type>
|
1923 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1924 |
+
<config_path>payment/mpay24_ps_43/active</config_path>
|
1925 |
<sort_order>129</sort_order>
|
1926 |
<show_in_default>1</show_in_default>
|
1927 |
<show_in_website>1</show_in_website>
|
1951 |
<label>PS_44</label>
|
1952 |
<frontend_type>select</frontend_type>
|
1953 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1954 |
+
<config_path>payment/mpay24_ps_44/active</config_path>
|
1955 |
<sort_order>132</sort_order>
|
1956 |
<show_in_default>1</show_in_default>
|
1957 |
<show_in_website>1</show_in_website>
|
1981 |
<label>PS_45</label>
|
1982 |
<frontend_type>select</frontend_type>
|
1983 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
1984 |
+
<config_path>payment/mpay24_ps_45/active</config_path>
|
1985 |
<sort_order>135</sort_order>
|
1986 |
<show_in_default>1</show_in_default>
|
1987 |
<show_in_website>1</show_in_website>
|
2011 |
<label>PS_46</label>
|
2012 |
<frontend_type>select</frontend_type>
|
2013 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
2014 |
+
<config_path>payment/mpay24_ps_46/active</config_path>
|
2015 |
<sort_order>138</sort_order>
|
2016 |
<show_in_default>1</show_in_default>
|
2017 |
<show_in_website>1</show_in_website>
|
2041 |
<label>PS_49</label>
|
2042 |
<frontend_type>select</frontend_type>
|
2043 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
2044 |
+
<config_path>payment/mpay24_ps_47/active</config_path>
|
2045 |
<sort_order>141</sort_order>
|
2046 |
<show_in_default>1</show_in_default>
|
2047 |
<show_in_website>1</show_in_website>
|
2071 |
<label>PS_48</label>
|
2072 |
<frontend_type>select</frontend_type>
|
2073 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
2074 |
+
<config_path>payment/mpay24_ps_48/active</config_path>
|
2075 |
<sort_order>144</sort_order>
|
2076 |
<show_in_default>1</show_in_default>
|
2077 |
<show_in_website>1</show_in_website>
|
2101 |
<label>PS_49</label>
|
2102 |
<frontend_type>select</frontend_type>
|
2103 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
2104 |
+
<config_path>payment/mpay24_ps_49/active</config_path>
|
2105 |
<sort_order>147</sort_order>
|
2106 |
<show_in_default>1</show_in_default>
|
2107 |
<show_in_website>1</show_in_website>
|
2131 |
<label>PS_50</label>
|
2132 |
<frontend_type>select</frontend_type>
|
2133 |
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
2134 |
+
<config_path>payment/mpay24_ps_50/active</config_path>
|
2135 |
<sort_order>150</sort_order>
|
2136 |
<show_in_default>1</show_in_default>
|
2137 |
<show_in_website>1</show_in_website>
|
app/design/frontend/default/default/template/mpay24/form/area.phtml
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* @package Mpay24_Mpay24
|
17 |
* @author Firedrago Magento
|
18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
* @version $Id: area.phtml
|
20 |
*/
|
21 |
?>
|
22 |
<?php
|
@@ -34,12 +34,12 @@ if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true') {
|
|
34 |
var brand = "";
|
35 |
</script>
|
36 |
|
37 |
-
<?php if(Mage::getStoreConfig('mpay24/mpay24/forced_preselection') == 1): ?>
|
38 |
<script>
|
39 |
document.getElementById('p_method_mpay24').setAttribute('onClick', "var savePaymentButton = document.getElementById('payment-buttons-container').getElementsByTagName('button')[0]; " +
|
40 |
"if(savePaymentButton) " +
|
41 |
"if(document.getElementById('p_method_mpay24').checked == true) " +
|
42 |
-
"savePaymentButton.setAttribute('onClick', 'alert(\"<?php echo Mage::helper('mpay24')->__("Please
|
43 |
"else " +
|
44 |
"savePaymentButton.setAttribute('onClick', 'payment.save();'); " +
|
45 |
"payment.switchMethod('mpay24');");
|
@@ -50,7 +50,7 @@ if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true') {
|
|
50 |
<b>
|
51 |
<?php if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true')
|
52 |
if(Mage::getStoreConfig('mpay24/mpay24/forced_preselection') == 1)
|
53 |
-
echo Mage::helper('mpay24')->__("Please choose a payment system
|
54 |
else
|
55 |
echo Mage::helper('mpay24')->__("You can choose the payment system you want to use now or do it when you are redirected to the mPAY24 pay page after placing the order.");
|
56 |
else
|
@@ -61,7 +61,7 @@ if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true') {
|
|
61 |
|
62 |
<?php if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true'):?>
|
63 |
<li>
|
64 |
-
<table style="padding:10px 15px 15px;">
|
65 |
<tr>
|
66 |
<td height="1" colspan="3"></td>
|
67 |
<td height="1" bgcolor="#b3b3b3"></td>
|
@@ -110,14 +110,14 @@ if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true') {
|
|
110 |
if(Mage::getStoreConfig("mpay24/mpay24/tax_$j") > 0) {
|
111 |
if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'absolute')
|
112 |
$addInfo .= Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol();
|
113 |
-
$addInfo .= " " . Mage::getStoreConfig("mpay24/mpay24/tax_$j");
|
114 |
|
115 |
if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'percent')
|
116 |
$addInfo .= "%";
|
117 |
|
118 |
-
$addInfo .= " " . Mage::helper('mpay24')->__("Payment
|
119 |
} else
|
120 |
-
$addInfo .= Mage::helper('mpay24')->__("
|
121 |
}
|
122 |
|
123 |
?>
|
@@ -146,7 +146,7 @@ if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true') {
|
|
146 |
document.getElementById('mpay24_table').disabled = false;
|
147 |
}
|
148 |
"><img src='https://www.mpay24.com/web/img/logos/ptypes/<?php echo $id?>.png' alt='<?php echo $payment['DESCR'] . $addInfo?>' title='<?php echo $payment['DESCR'] . $addInfo?>' ></a>
|
149 |
-
<input type="hidden" id='<?php echo $id;?>' name='mpay24_ps' value='<?php echo
|
150 |
</div>
|
151 |
</div>
|
152 |
<?php
|
@@ -164,7 +164,7 @@ if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true') {
|
|
164 |
<tr>
|
165 |
<td></td>
|
166 |
<td>
|
167 |
-
<img style="float:right" src="https://www.mpay24.com/web/img/logos/payment-mpay24.png" alt="mPAY24" title="mPAY24" width="40%"
|
168 |
</td>
|
169 |
</tr>
|
170 |
</table>
|
16 |
* @package Mpay24_Mpay24
|
17 |
* @author Firedrago Magento
|
18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
* @version $Id: area.phtml 27 2014-08-27 13:59:46Z sapolhei $
|
20 |
*/
|
21 |
?>
|
22 |
<?php
|
34 |
var brand = "";
|
35 |
</script>
|
36 |
|
37 |
+
<?php if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true' && Mage::getStoreConfig('mpay24/mpay24/forced_preselection') == 1): ?>
|
38 |
<script>
|
39 |
document.getElementById('p_method_mpay24').setAttribute('onClick', "var savePaymentButton = document.getElementById('payment-buttons-container').getElementsByTagName('button')[0]; " +
|
40 |
"if(savePaymentButton) " +
|
41 |
"if(document.getElementById('p_method_mpay24').checked == true) " +
|
42 |
+
"savePaymentButton.setAttribute('onClick', 'alert(\"<?php echo Mage::helper('mpay24')->__("Please click an icon to choose a payment system..."); ?>\");return false;'); " +
|
43 |
"else " +
|
44 |
"savePaymentButton.setAttribute('onClick', 'payment.save();'); " +
|
45 |
"payment.switchMethod('mpay24');");
|
50 |
<b>
|
51 |
<?php if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true')
|
52 |
if(Mage::getStoreConfig('mpay24/mpay24/forced_preselection') == 1)
|
53 |
+
echo Mage::helper('mpay24')->__("Please click an icon to choose a payment system...");
|
54 |
else
|
55 |
echo Mage::helper('mpay24')->__("You can choose the payment system you want to use now or do it when you are redirected to the mPAY24 pay page after placing the order.");
|
56 |
else
|
61 |
|
62 |
<?php if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true'):?>
|
63 |
<li>
|
64 |
+
<table style="padding:10px 15px 15px; min-width: 320px;">
|
65 |
<tr>
|
66 |
<td height="1" colspan="3"></td>
|
67 |
<td height="1" bgcolor="#b3b3b3"></td>
|
110 |
if(Mage::getStoreConfig("mpay24/mpay24/tax_$j") > 0) {
|
111 |
if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'absolute')
|
112 |
$addInfo .= Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol();
|
113 |
+
$addInfo .= " " . number_format(Mage::getStoreConfig("mpay24/mpay24/tax_$j"),2,',','.');
|
114 |
|
115 |
if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'percent')
|
116 |
$addInfo .= "%";
|
117 |
|
118 |
+
$addInfo .= " " . Mage::helper('mpay24')->__("Payment fee");
|
119 |
} else
|
120 |
+
$addInfo .= Mage::helper('mpay24')->__("Payment Fee") . " = 0";
|
121 |
}
|
122 |
|
123 |
?>
|
146 |
document.getElementById('mpay24_table').disabled = false;
|
147 |
}
|
148 |
"><img src='https://www.mpay24.com/web/img/logos/ptypes/<?php echo $id?>.png' alt='<?php echo $payment['DESCR'] . $addInfo?>' title='<?php echo $payment['DESCR'] . $addInfo?>' ></a>
|
149 |
+
<input type="hidden" id='<?php echo $id;?>' name='mpay24_ps' value='<?php echo "mpay24_".$id . "_" . $j;?>' disabled />
|
150 |
</div>
|
151 |
</div>
|
152 |
<?php
|
164 |
<tr>
|
165 |
<td></td>
|
166 |
<td>
|
167 |
+
<img style="float:right" src="https://www.mpay24.com/web/img/logos/payment-mpay24.png" alt="mPAY24" title="mPAY24" width="40%" >
|
168 |
</td>
|
169 |
</tr>
|
170 |
</table>
|
app/design/frontend/default/default/template/mpay24/form/dropDown.phtml
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* @package default_defaut
|
17 |
* @author Firedrago Magento
|
18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
* @version $Id: dropDown.phtml
|
20 |
*/
|
21 |
?>
|
22 |
<?php
|
@@ -65,7 +65,7 @@ if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true') {
|
|
65 |
|
66 |
<?php if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true'):?>
|
67 |
<li>
|
68 |
-
<div id="myDIV" style="min-height:100px; padding:10px
|
69 |
|
70 |
<table>
|
71 |
<tr>
|
@@ -99,10 +99,10 @@ if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true') {
|
|
99 |
<tr>
|
100 |
<td>
|
101 |
<?php if(Mage::getStoreConfig('mpay24/mpay24/forced_preselection') == 1):?>
|
102 |
-
<select id="mpay24_ps" name="mpay24_ps" style="margin-top: 20px; margin-bottom:20px; width: 256px" title="mPAY24 <?php echo Mage::helper('mpay24')->__("Payment method");?>" onchange="document.getElementById('mpay24_img').src='https://www.mpay24.com/web/img/logos/ptypes/'+this.options[this.selectedIndex].value.substr(
|
103 |
<?php else:?>
|
104 |
<select id="mpay24_ps" name="mpay24_ps" style="margin-top: 20px; margin-bottom:20px; width: 256px" title="mPAY24 <?php echo Mage::helper('mpay24')->__("Payment method");?>" onchange="document.getElementById('mpay24_img').style.display = (this.selectedIndex != 0) ? 'block' : 'none';
|
105 |
-
document.getElementById('mpay24_img').src='https://www.mpay24.com/web/img/logos/ptypes/'+this.options[this.selectedIndex].value.substr(
|
106 |
<?php endif;?>
|
107 |
<?php if(Mage::getStoreConfig('mpay24/mpay24/forced_preselection') != 1):?>
|
108 |
<option value="false">mPAY24 (<?php echo Mage::helper('mpay24')->__("All payment methods") ?>)</option>
|
@@ -130,20 +130,20 @@ if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true') {
|
|
130 |
|
131 |
if(Mage::getStoreConfig('mpay24/mpay24/forced_preselection') == 1 && $firstID == "")
|
132 |
$firstID = $id;
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
if(Mage::getStoreConfig("mpay24/mpay24/forced_preselection") == 1) {
|
137 |
echo " - ";
|
138 |
-
|
139 |
if(Mage::getStoreConfig("mpay24/mpay24/tax_$j") > 0) {
|
140 |
-
if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'absolute')
|
141 |
-
echo Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol();
|
142 |
echo " " . Mage::getStoreConfig("mpay24/mpay24/tax_$j");
|
143 |
-
|
144 |
-
if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'percent')
|
145 |
echo "%";
|
146 |
-
|
147 |
echo " " . Mage::helper('mpay24')->__("Payment charge");
|
148 |
} else
|
149 |
echo Mage::helper('mpay24')->__("For free");
|
@@ -161,7 +161,7 @@ if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true') {
|
|
161 |
<?php if(Mage::getStoreConfig('mpay24/mpay24/forced_preselection') == 1)
|
162 |
echo "<script type='text/javascript'>var selectedPayment = '$firstID'</script>";
|
163 |
else
|
164 |
-
echo "<script type='text/javascript'>var selectedPayment = '../../../web/img/logos/payment-mpay24'
|
165 |
?>
|
166 |
</tr>
|
167 |
<tr>
|
16 |
* @package default_defaut
|
17 |
* @author Firedrago Magento
|
18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
* @version $Id: dropDown.phtml 27 2014-08-27 13:59:46Z sapolhei $
|
20 |
*/
|
21 |
?>
|
22 |
<?php
|
65 |
|
66 |
<?php if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true'):?>
|
67 |
<li>
|
68 |
+
<div id="myDIV" style="min-height:100px; padding-top:10px; padding-bottom: 15px; margin-left: -30px;">
|
69 |
|
70 |
<table>
|
71 |
<tr>
|
99 |
<tr>
|
100 |
<td>
|
101 |
<?php if(Mage::getStoreConfig('mpay24/mpay24/forced_preselection') == 1):?>
|
102 |
+
<select id="mpay24_ps" name="mpay24_ps" style="margin-top: 20px; margin-bottom:20px; width: 256px" title="mPAY24 <?php echo Mage::helper('mpay24')->__("Payment method");?>" onchange="document.getElementById('mpay24_img').src='https://www.mpay24.com/web/img/logos/ptypes/'+this.options[this.selectedIndex].value.substr(7,3)+'.png';selectedPayment=this.options[this.selectedIndex].value.substr(7,3);">
|
103 |
<?php else:?>
|
104 |
<select id="mpay24_ps" name="mpay24_ps" style="margin-top: 20px; margin-bottom:20px; width: 256px" title="mPAY24 <?php echo Mage::helper('mpay24')->__("Payment method");?>" onchange="document.getElementById('mpay24_img').style.display = (this.selectedIndex != 0) ? 'block' : 'none';
|
105 |
+
document.getElementById('mpay24_img').src='https://www.mpay24.com/web/img/logos/ptypes/'+this.options[this.selectedIndex].value.substr(7,3)+'.png';selectedPayment=this.options[this.selectedIndex].value.substr(7,3);">
|
106 |
<?php endif;?>
|
107 |
<?php if(Mage::getStoreConfig('mpay24/mpay24/forced_preselection') != 1):?>
|
108 |
<option value="false">mPAY24 (<?php echo Mage::helper('mpay24')->__("All payment methods") ?>)</option>
|
130 |
|
131 |
if(Mage::getStoreConfig('mpay24/mpay24/forced_preselection') == 1 && $firstID == "")
|
132 |
$firstID = $id;
|
133 |
+
?>
|
134 |
+
|
135 |
+
<option value="<?php echo "mpay24_" . $id . "_" . $j ?>"><?php echo $payment['DESCR'];
|
136 |
if(Mage::getStoreConfig("mpay24/mpay24/forced_preselection") == 1) {
|
137 |
echo " - ";
|
138 |
+
|
139 |
if(Mage::getStoreConfig("mpay24/mpay24/tax_$j") > 0) {
|
140 |
+
if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'absolute')
|
141 |
+
echo Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol();
|
142 |
echo " " . Mage::getStoreConfig("mpay24/mpay24/tax_$j");
|
143 |
+
|
144 |
+
if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'percent')
|
145 |
echo "%";
|
146 |
+
|
147 |
echo " " . Mage::helper('mpay24')->__("Payment charge");
|
148 |
} else
|
149 |
echo Mage::helper('mpay24')->__("For free");
|
161 |
<?php if(Mage::getStoreConfig('mpay24/mpay24/forced_preselection') == 1)
|
162 |
echo "<script type='text/javascript'>var selectedPayment = '$firstID'</script>";
|
163 |
else
|
164 |
+
echo "<script type='text/javascript'>var selectedPayment = '../../../web/img/logos/payment-mpay24';</script>";
|
165 |
?>
|
166 |
</tr>
|
167 |
<tr>
|
app/design/frontend/default/default/template/mpay24/form/radio.phtml
ADDED
@@ -0,0 +1,171 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
* @category design
|
16 |
+
* @package default_defaut
|
17 |
+
* @author Firedrago Magento
|
18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
* @version $Id: radio.phtml 27 2014-08-27 13:59:46Z sapolhei $
|
20 |
+
*/
|
21 |
+
?>
|
22 |
+
<?php
|
23 |
+
$_code=$this->getMethodCode();
|
24 |
+
|
25 |
+
if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true') {
|
26 |
+
$brandsAndTypes = explode(", ", Mage::getStoreConfig('mpay24/mpay24/active_payment_types'));
|
27 |
+
$brands = array();
|
28 |
+
foreach($brandsAndTypes as $brandAndType)
|
29 |
+
$brands[substr($brandAndType, 0, strpos($brandAndType, "=>"))] = substr($brandAndType, strpos($brandAndType, "=>")+2);
|
30 |
+
|
31 |
+
$temp_brand="";
|
32 |
+
}
|
33 |
+
?>
|
34 |
+
<?php if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true' && Mage::getStoreConfig('mpay24/mpay24/forced_preselection') == 1): ?>
|
35 |
+
<script>
|
36 |
+
document.getElementById('p_method_mpay24').setAttribute('onClick', "var savePaymentButton = document.getElementById('payment-buttons-container').getElementsByTagName('button')[0]; " +
|
37 |
+
"if(savePaymentButton) " +
|
38 |
+
"if(document.getElementById('p_method_mpay24').checked == true) " +
|
39 |
+
"savePaymentButton.setAttribute('onClick', 'alert(\"<?php echo Mage::helper('mpay24')->__("Please choose a payment system..."); ?>\");return false;'); " +
|
40 |
+
"else " +
|
41 |
+
"savePaymentButton.setAttribute('onClick', 'payment.save();'); " +
|
42 |
+
"payment.switchMethod('mpay24');");
|
43 |
+
</script>
|
44 |
+
<?php endif;?>
|
45 |
+
<ul id="payment_form_<?php echo $_code ?>" style="display:none;" >
|
46 |
+
<li>
|
47 |
+
<b>
|
48 |
+
<?php if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true')
|
49 |
+
if(Mage::getStoreConfig('mpay24/mpay24/forced_preselection') == 1)
|
50 |
+
echo Mage::helper('mpay24')->__("Please choose a payment system...");
|
51 |
+
else
|
52 |
+
echo Mage::helper('mpay24')->__("You can choose the payment system you want to use now or do it when you are redirected to the mPAY24 pay page after placing the order.");
|
53 |
+
else
|
54 |
+
echo Mage::helper('mpay24')->__("You can choose the payment system you want to use after you are redirected to the mPAY24 pay page after placing the order.");
|
55 |
+
?>
|
56 |
+
</b>
|
57 |
+
</li>
|
58 |
+
<?php if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true'):?>
|
59 |
+
<li>
|
60 |
+
<script type="text/javascript">
|
61 |
+
var firstRun = true;
|
62 |
+
window.onload = function() {
|
63 |
+
var element = document.getElementById('onestepcheckout-place-order');
|
64 |
+
|
65 |
+
if(typeof (element) != undefined) {
|
66 |
+
element.setAttribute("onclick",oneStepFunc);
|
67 |
+
element.onclick= oneStepFunc;
|
68 |
+
};
|
69 |
+
|
70 |
+
}
|
71 |
+
|
72 |
+
function oneStepFunc () {//alert(firstRun);
|
73 |
+
if(firstRun) {
|
74 |
+
var radio = document.getElementsByName('payment[method]');
|
75 |
+
for(var i=0; i<radio.length; i++) {
|
76 |
+
if(radio[i].checked && radio[i].value.substring(0, 6) == "mpay24") {
|
77 |
+
<?php
|
78 |
+
if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true' && Mage::getStoreConfig("mpay24/mpay24/forced_preselection") == 1)
|
79 |
+
echo "if(radio[i].value == 'mpay24'){alert('".Mage::helper('mpay24')->__("Please choose a payment system...")."');
|
80 |
+
$('onestepcheckout-place-order').stopObserving();window.location.reload();
|
81 |
+
}";
|
82 |
+
?>
|
83 |
+
setPsId (radio[i].value.substr(7,3));
|
84 |
+
radio[i].value = "mpay24";
|
85 |
+
}
|
86 |
+
}
|
87 |
+
firstRun = false;
|
88 |
+
}
|
89 |
+
}
|
90 |
+
|
91 |
+
function setPsId (id) {
|
92 |
+
for(var i=0; i<document.getElementsByName("mpay24_ps").length; i++) {
|
93 |
+
document.getElementsByName("mpay24_ps")[i].disabled=true;
|
94 |
+
}
|
95 |
+
document.getElementById(id).disabled = false;
|
96 |
+
}
|
97 |
+
</script>
|
98 |
+
<div id="myDIV" style="min-height:100px; padding-top:10px; padding-bottom: 15px; margin-left: -30px;">
|
99 |
+
<?php
|
100 |
+
if(isset($_REQUEST['mpay24_ps']) && $_REQUEST['mpay24_ps'] != "")
|
101 |
+
$firstID = $_REQUEST['mpay24_ps'];
|
102 |
+
else
|
103 |
+
$firstID = "";
|
104 |
+
$j = 1;
|
105 |
+
foreach ($this->getActiveMethods() as $id => $payment):
|
106 |
+
if($payment['ACTIVE'] == 1):
|
107 |
+
if(strlen($id) == 1)
|
108 |
+
$id = "00$id";
|
109 |
+
elseif(strlen($id) == 2)
|
110 |
+
$id = "0$id";
|
111 |
+
|
112 |
+
if(Mage::getStoreConfig('mpay24/mpay24/forced_preselection') == 1 && $firstID == "")
|
113 |
+
$firstID = $id;
|
114 |
+
?>
|
115 |
+
|
116 |
+
<input type="hidden" id='<?php echo $id;?>' name="mpay24_ps" value="<?php echo "mpay24_" . $id . "_" . $j ?>" disabled/>
|
117 |
+
<input type="radio" id="p_method_mpay24_<?php echo $id . "_" . $j ?>" class="radio validate-one-required-by-name" name="payment[method]" value="<?php echo "mpay24_" . $id . "_" . $j ?>" style='margin-left: 30px;'<?php if($firstID==$id) echo " checked"?>
|
118 |
+
onclick="for(var i=0; i<document.getElementsByName('mpay24_ps').length; i++) {
|
119 |
+
document.getElementsByName('mpay24_ps')[i].disabled=true;
|
120 |
+
}
|
121 |
+
document.getElementById('<?php echo $id?>').disabled = false;
|
122 |
+
var savePaymentButton = document.getElementById('payment-buttons-container').getElementsByTagName('button')[0];
|
123 |
+
if(typeof (savePaymentButton) != undefined) {
|
124 |
+
savePaymentButton.setAttribute('onclick',oneStepFunc);
|
125 |
+
savePaymentButton.onclick= oneStepFunc;
|
126 |
+
};
|
127 |
+
|
128 |
+
function oneStepFunc () {
|
129 |
+
<?php
|
130 |
+
if(Mage::getStoreConfig("mpay24/mpay24/checkout_template") != "onepage" && Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true' && Mage::getStoreConfig("mpay24/mpay24/forced_preselection") == 1)
|
131 |
+
echo "window.location.reload();";
|
132 |
+
?>
|
133 |
+
var radio = document.getElementsByName('payment[method]');
|
134 |
+
for(var i=0; i<radio.length; i++) {
|
135 |
+
if(radio[i].checked && radio[i].value.substring(0, 6) == 'mpay24') {
|
136 |
+
<?php
|
137 |
+
if(Mage::getStoreConfig('mpay24/mpay24/payments_active') == 'true' && Mage::getStoreConfig("mpay24/mpay24/forced_preselection") == 1) {
|
138 |
+
echo "if(radio[i].value == 'mpay24'){alert('".Mage::helper('mpay24')->__("Please choose a payment system...")."');";
|
139 |
+
if(Mage::getStoreConfig("mpay24/mpay24/checkout_template") != "onepage")
|
140 |
+
echo "$('onestepcheckout-place-order').stopObserving();";
|
141 |
+
else echo "var savePaymentButton = document.getElementById('payment-buttons-container').getElementsByTagName('button')[0].onclick='';";
|
142 |
+
}
|
143 |
+
echo " }";
|
144 |
+
?>
|
145 |
+
radio[i].value = 'mpay24';
|
146 |
+
}
|
147 |
+
}
|
148 |
+
payment.save();
|
149 |
+
}
|
150 |
+
"><?php
|
151 |
+
echo "<img id='mpay24_img' src='https://www.mpay24.com/web/img/logos/ptypes/$id.png' style='margin-left: 5px;margin-right: 15px; display: inline;'>";
|
152 |
+
echo $payment['DESCR'];
|
153 |
+
if(Mage::getStoreConfig("mpay24/mpay24/forced_preselection") == 1) {
|
154 |
+
if(Mage::getStoreConfig("mpay24/mpay24/tax_$j") > 0) {
|
155 |
+
if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'absolute')
|
156 |
+
echo " - " . Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol();
|
157 |
+
echo " " . number_format(Mage::getStoreConfig("mpay24/mpay24/tax_$j"),2,',','.');
|
158 |
+
|
159 |
+
if(Mage::getStoreConfig("mpay24/mpay24/tax_type_$j") == 'percent')
|
160 |
+
echo "%";
|
161 |
+
|
162 |
+
echo " " . Mage::helper('mpay24')->__("Payment fee");
|
163 |
+
}
|
164 |
+
}
|
165 |
+
?>
|
166 |
+
<?php echo "<br/><br/>"; endif; $j++; endforeach; echo Mage::helper('mpay24')->__("You will be redirected to the mPAY24 pay page...");?>
|
167 |
+
</div>
|
168 |
+
</li>
|
169 |
+
<?php endif;?>
|
170 |
+
<input type="hidden" id='mpay24_general' name="mpay24_ps" value="false" />
|
171 |
+
</ul>
|
app/locale/de_AT/Mpay24_Mpay24.csv
CHANGED
@@ -23,15 +23,15 @@
|
|
23 |
"Show free products","Kostenlose Produkte anzeigen"
|
24 |
"Show the free 'children' products of configurable products in the mPAY24 shopping cart","Die kostenlosen Produkte (Produktvarianten) eines konfigurierbaren Produktes anzeigen"
|
25 |
"The transaction was not found!", "Die Transaktion wurde nicht gefunden!"
|
26 |
-
"The transaction was
|
27 |
"Credit memo has been created automatically through of MI/F crediting!", "Das 'credit memo' wurde automatisch, aufgrund einer MI/F Gutschrift, erzeugt"
|
28 |
"Redirected to mPAY24 pay page", "Weitergeleitet zu der mPAY24 Bezahlseite"
|
29 |
"Payment method", "Zahlungssystem"
|
30 |
"Approval code", "Bestätigungscode"
|
31 |
"You can choose the payment system you want to use now or do it when you are redirected to the mPAY24 pay page after placing the order.", "Sie können Ihre Zahlungssystemauswahl entweder jetzt treffen, oder wenn Sie zur mPAY24 Bezahlseite weitergeleitet werden, nachdem Sie Ihre Bestellung bestätigen."
|
32 |
-
"The order was not captured! For
|
33 |
-
"The order was not refunded! For
|
34 |
-
"The order was not
|
35 |
"Custom configuration", "Angepasste Konfiguration"
|
36 |
"Number", "Position"
|
37 |
"ProductNr", "Produktnummer"
|
@@ -45,12 +45,12 @@
|
|
45 |
"this payment is not possible at the moment!", "diese Zahlung ist derzeit nicht möglich!"
|
46 |
"Automatic clearing for credit card payments", "Automatisches 'Clearing' für Kreditkartenzahlungen"
|
47 |
"ATTENTION! - It is possible that the billing address for the order ID '", "ACHTUNG! - Möglicherweise wurde die Rechnungsadresse für die Bestellung mit der ID '"
|
48 |
-
"was changed by the customer, but not in your shop! The billing address mode was set back to 'ReadOnly'! If you want to use the mode 'ReadWrite', the variable 'BILLING_ADDR' has to be activated for the 'TRANSACTIONSTATUS' request by mPAY24. Please contact (including your merchant ID '", "' vom Kunden auf der mPAY24 Bezahlseite geändert, jedoch in Ihrem Shop nicht gespeichert! Der Rechnungsadresse-Modus wurde auf 'ReadOnly' zurückgesetzt! Damit Sie den Modus 'ReadWrite' benutzen
|
49 |
"') mPAY24 (support@mpay24.com)!", "' an mPAY24 (support@mpay24.com)!"
|
50 |
-
"The billing address
|
51 |
"ATTENTION!", "ACHTUNG!"
|
52 |
"All payment methods", "Alle Zahlungssysteme"
|
53 |
-
"Choose the way the mPAY24 systems are shown in the
|
54 |
"The mode 'ReadWrite' will only work if the parameter 'BILLING_ADDR' was set by mPAY24. Please contact the mPAY24 Support: support@mpay24.com!", "Der Modus 'ReadWrite' kann nur dann funktionieren, wenn der Parameter 'BILLING_ADDR', von mPAY24 gesetzt ist. Bitte kontaktieren Sie den mPAY24 Supprt: support@mpay24.com!"
|
55 |
"Payment system selection", "Zahlungssystemauswahl"
|
56 |
"Default mPAY24 configuration", "mPAY24 Konfiguration"
|
@@ -58,18 +58,21 @@
|
|
58 |
"You can choose the payment system you want to use after you are redirected to the mPAY24 pay page after placing the order.", "Sie können Ihre Zahlungssystemauswahl treffen, wenn Sie zur mPAY24 Bezahlseite weitergeleitet werden, nachdem Sie Ihre Bestellung bestätigen."
|
59 |
"The payment systems will be synchronized when the settings are saved!", "Die bei mPAY24 konfigurierten Zahlungssystemen werden beim Speichern synchronisert!"
|
60 |
"Allowed IPs for the Confirmation", "Erlaubte IPs für die für die Confirmation"
|
61 |
-
"Forced
|
62 |
"Your customers must choose the payment system before they are forwarded to mPAY24 in order to be possible to charge the specific payment system.", "Ihre Kunden werden gezwungen das Zahlungssystem auszuwählen, bevor sie zu mPAY24 weitergeleitet werden, damit Sie eine Zahlungsgebühr verrechnen können."
|
63 |
"Percent", "Prozent"
|
64 |
-
"Absolute value", "
|
65 |
"Payment charge type", "Zahlungsgebührtyp"
|
66 |
"Payment charge", "Zahlungsgebühr"
|
|
|
67 |
"Please choose a payment system from the drop down menu...", "Bitte wählen Sie ein Zahlungssystem von dem Drop-Down-Menü..."
|
68 |
-
"Please choose a payment system
|
69 |
-
"
|
70 |
-
"
|
71 |
-
"Use proxy authentification","Proxy-Authenitifizierung verwenden"
|
72 |
"Proxy User","Proxy-Benutzer"
|
73 |
"Proxy Password","Proxy-Passwort"
|
74 |
"cURL: Verify the peer's certificate","cURL: Peers Zertifikate verfizieren"
|
75 |
-
"SOFORT Banking end-state", "SOFORT Überweisung Endstatus"
|
|
|
|
|
|
23 |
"Show free products","Kostenlose Produkte anzeigen"
|
24 |
"Show the free 'children' products of configurable products in the mPAY24 shopping cart","Die kostenlosen Produkte (Produktvarianten) eines konfigurierbaren Produktes anzeigen"
|
25 |
"The transaction was not found!", "Die Transaktion wurde nicht gefunden!"
|
26 |
+
"The transaction was cancelled by the customer", "Die Transaktion wurde von dem Kunden abgebrochen"
|
27 |
"Credit memo has been created automatically through of MI/F crediting!", "Das 'credit memo' wurde automatisch, aufgrund einer MI/F Gutschrift, erzeugt"
|
28 |
"Redirected to mPAY24 pay page", "Weitergeleitet zu der mPAY24 Bezahlseite"
|
29 |
"Payment method", "Zahlungssystem"
|
30 |
"Approval code", "Bestätigungscode"
|
31 |
"You can choose the payment system you want to use now or do it when you are redirected to the mPAY24 pay page after placing the order.", "Sie können Ihre Zahlungssystemauswahl entweder jetzt treffen, oder wenn Sie zur mPAY24 Bezahlseite weitergeleitet werden, nachdem Sie Ihre Bestellung bestätigen."
|
32 |
+
"The order was not captured! For more information see the log files!", "Die Bestellung wurde nicht gebucht! Für weitere Informationen überprüfen Sie bitte Ihre Logs!"
|
33 |
+
"The order was not refunded! For more information see the log files!", "Die Bestellung wurde nicht gutgeschrieben! Für weitere Informationen überprüfen Sie bitte Ihre Logs!"
|
34 |
+
"The order was not cancelled! For more information see the log files!", "Die Bestellung wurde nicht storniert! Für weitere Informationen überprüfen Sie bitte Ihre Logs!"
|
35 |
"Custom configuration", "Angepasste Konfiguration"
|
36 |
"Number", "Position"
|
37 |
"ProductNr", "Produktnummer"
|
45 |
"this payment is not possible at the moment!", "diese Zahlung ist derzeit nicht möglich!"
|
46 |
"Automatic clearing for credit card payments", "Automatisches 'Clearing' für Kreditkartenzahlungen"
|
47 |
"ATTENTION! - It is possible that the billing address for the order ID '", "ACHTUNG! - Möglicherweise wurde die Rechnungsadresse für die Bestellung mit der ID '"
|
48 |
+
"was changed by the customer, but not in your shop! The billing address mode was set back to 'ReadOnly'! If you want to use the mode 'ReadWrite', the variable 'BILLING_ADDR' has to be activated for the 'TRANSACTIONSTATUS' request by mPAY24. Please contact (including your merchant ID '", "' vom Kunden auf der mPAY24 Bezahlseite geändert, jedoch in Ihrem Shop nicht gespeichert! Der Rechnungsadresse-Modus wurde auf 'ReadOnly' zurückgesetzt! Damit Sie den Modus 'ReadWrite' benutzen können, muss die Variable 'BILLING_ADDR' im 'TRANSACTIONSTATUS'-Request bei mPAY24 freigeschaltet werden. Bitte wenden Sie sich mit Ihrer Händler ID '"
|
49 |
"') mPAY24 (support@mpay24.com)!", "' an mPAY24 (support@mpay24.com)!"
|
50 |
+
"The billing address was not returned by mPAY24!", "Die Rechnungsadresse wurde von mPAY24 nicht zurückgeliefert!"
|
51 |
"ATTENTION!", "ACHTUNG!"
|
52 |
"All payment methods", "Alle Zahlungssysteme"
|
53 |
+
"Choose the way the mPAY24 systems are shown in the front-end (checkout)", "Wählen Sie die Art und Weise, wie die mPAY24 Zahlungssysteme dem Kunden angezeigt werden sollen"
|
54 |
"The mode 'ReadWrite' will only work if the parameter 'BILLING_ADDR' was set by mPAY24. Please contact the mPAY24 Support: support@mpay24.com!", "Der Modus 'ReadWrite' kann nur dann funktionieren, wenn der Parameter 'BILLING_ADDR', von mPAY24 gesetzt ist. Bitte kontaktieren Sie den mPAY24 Supprt: support@mpay24.com!"
|
55 |
"Payment system selection", "Zahlungssystemauswahl"
|
56 |
"Default mPAY24 configuration", "mPAY24 Konfiguration"
|
58 |
"You can choose the payment system you want to use after you are redirected to the mPAY24 pay page after placing the order.", "Sie können Ihre Zahlungssystemauswahl treffen, wenn Sie zur mPAY24 Bezahlseite weitergeleitet werden, nachdem Sie Ihre Bestellung bestätigen."
|
59 |
"The payment systems will be synchronized when the settings are saved!", "Die bei mPAY24 konfigurierten Zahlungssystemen werden beim Speichern synchronisert!"
|
60 |
"Allowed IPs for the Confirmation", "Erlaubte IPs für die für die Confirmation"
|
61 |
+
"Forced pre-selection", "Zwangsvorauswahl"
|
62 |
"Your customers must choose the payment system before they are forwarded to mPAY24 in order to be possible to charge the specific payment system.", "Ihre Kunden werden gezwungen das Zahlungssystem auszuwählen, bevor sie zu mPAY24 weitergeleitet werden, damit Sie eine Zahlungsgebühr verrechnen können."
|
63 |
"Percent", "Prozent"
|
64 |
+
"Absolute value", "Absoluter Wert"
|
65 |
"Payment charge type", "Zahlungsgebührtyp"
|
66 |
"Payment charge", "Zahlungsgebühr"
|
67 |
+
"Payment fee", "Zahlungsgebühr"
|
68 |
"Please choose a payment system from the drop down menu...", "Bitte wählen Sie ein Zahlungssystem von dem Drop-Down-Menü..."
|
69 |
+
"Please click an icon to choose a payment system...", "Bitte wählen Sie das gewünschte Zahlungssystem, per Klick auf das jeweilige Icon..."
|
70 |
+
"Payment Fee", "Zahlungsgebühr"
|
71 |
+
"Use proxy authentication","Proxy-Authenitifizierung verwenden"
|
|
|
72 |
"Proxy User","Proxy-Benutzer"
|
73 |
"Proxy Password","Proxy-Passwort"
|
74 |
"cURL: Verify the peer's certificate","cURL: Peers Zertifikate verfizieren"
|
75 |
+
"SOFORT Banking end-state", "SOFORT Überweisung Endstatus"
|
76 |
+
"You will be redirected to the mPAY24 pay page...", "Sie werden zur Bezahlseite von mPAY24 weitergeleitet..."
|
77 |
+
"Please choose a payment system...", "Bitte wählen Sie ein Zahlungssystem..."
|
78 |
+
"Forced preselection", "Zwangsvorauswahl"
|
app/locale/de_CH/Mpay24_Mpay24.csv
CHANGED
@@ -23,15 +23,15 @@
|
|
23 |
"Show free products","Kostenlose Produkte anzeigen"
|
24 |
"Show the free 'children' products of configurable products in the mPAY24 shopping cart","Die kostenlosen Produkte (Produktvarianten) eines konfigurierbaren Produktes anzeigen"
|
25 |
"The transaction was not found!", "Die Transaktion wurde nicht gefunden!"
|
26 |
-
"The transaction was
|
27 |
"Credit memo has been created automatically through of MI/F crediting!", "Das 'credit memo' wurde automatisch, aufgrund einer MI/F Gutschrift, erzeugt"
|
28 |
"Redirected to mPAY24 pay page", "Weitergeleitet zu der mPAY24 Bezahlseite"
|
29 |
"Payment method", "Zahlungssystem"
|
30 |
"Approval code", "Bestätigungscode"
|
31 |
"You can choose the payment system you want to use now or do it when you are redirected to the mPAY24 pay page after placing the order.", "Sie können Ihre Zahlungssystemauswahl entweder jetzt treffen, oder wenn Sie zur mPAY24 Bezahlseite weitergeleitet werden, nachdem Sie Ihre Bestellung bestätigen."
|
32 |
-
"The order was not captured! For
|
33 |
-
"The order was not refunded! For
|
34 |
-
"The order was not
|
35 |
"Custom configuration", "Angepasste Konfiguration"
|
36 |
"Number", "Position"
|
37 |
"ProductNr", "Produktnummer"
|
@@ -45,12 +45,12 @@
|
|
45 |
"this payment is not possible at the moment!", "diese Zahlung ist derzeit nicht möglich!"
|
46 |
"Automatic clearing for credit card payments", "Automatisches 'Clearing' für Kreditkartenzahlungen"
|
47 |
"ATTENTION! - It is possible that the billing address for the order ID '", "ACHTUNG! - Möglicherweise wurde die Rechnungsadresse für die Bestellung mit der ID '"
|
48 |
-
"was changed by the customer, but not in your shop! The billing address mode was set back to 'ReadOnly'! If you want to use the mode 'ReadWrite', the variable 'BILLING_ADDR' has to be activated for the 'TRANSACTIONSTATUS' request by mPAY24. Please contact (including your merchant ID '", "' vom Kunden auf der mPAY24 Bezahlseite geändert, jedoch in Ihrem Shop nicht gespeichert! Der Rechnungsadresse-Modus wurde auf 'ReadOnly' zurückgesetzt! Damit Sie den Modus 'ReadWrite' benutzen
|
49 |
"') mPAY24 (support@mpay24.com)!", "' an mPAY24 (support@mpay24.com)!"
|
50 |
-
"The billing address
|
51 |
"ATTENTION!", "ACHTUNG!"
|
52 |
"All payment methods", "Alle Zahlungssysteme"
|
53 |
-
"Choose the way the mPAY24 systems are shown in the
|
54 |
"The mode 'ReadWrite' will only work if the parameter 'BILLING_ADDR' was set by mPAY24. Please contact the mPAY24 Support: support@mpay24.com!", "Der Modus 'ReadWrite' kann nur dann funktionieren, wenn der Parameter 'BILLING_ADDR', von mPAY24 gesetzt ist. Bitte kontaktieren Sie den mPAY24 Supprt: support@mpay24.com!"
|
55 |
"Payment system selection", "Zahlungssystemauswahl"
|
56 |
"Default mPAY24 configuration", "mPAY24 Konfiguration"
|
@@ -58,18 +58,21 @@
|
|
58 |
"You can choose the payment system you want to use after you are redirected to the mPAY24 pay page after placing the order.", "Sie können Ihre Zahlungssystemauswahl treffen, wenn Sie zur mPAY24 Bezahlseite weitergeleitet werden, nachdem Sie Ihre Bestellung bestätigen."
|
59 |
"The payment systems will be synchronized when the settings are saved!", "Die bei mPAY24 konfigurierten Zahlungssystemen werden beim Speichern synchronisert!"
|
60 |
"Allowed IPs for the Confirmation", "Erlaubte IPs für die für die Confirmation"
|
61 |
-
"Forced
|
62 |
"Your customers must choose the payment system before they are forwarded to mPAY24 in order to be possible to charge the specific payment system.", "Ihre Kunden werden gezwungen das Zahlungssystem auszuwählen, bevor sie zu mPAY24 weitergeleitet werden, damit Sie eine Zahlungsgebühr verrechnen können."
|
63 |
"Percent", "Prozent"
|
64 |
-
"Absolute value", "
|
65 |
"Payment charge type", "Zahlungsgebührtyp"
|
66 |
"Payment charge", "Zahlungsgebühr"
|
|
|
67 |
"Please choose a payment system from the drop down menu...", "Bitte wählen Sie ein Zahlungssystem von dem Drop-Down-Menü..."
|
68 |
-
"Please choose a payment system
|
69 |
-
"
|
70 |
-
"
|
71 |
-
"Use proxy authentification","Proxy-Authenitifizierung verwenden"
|
72 |
"Proxy User","Proxy-Benutzer"
|
73 |
"Proxy Password","Proxy-Passwort"
|
74 |
"cURL: Verify the peer's certificate","cURL: Peers Zertifikate verfizieren"
|
75 |
-
"SOFORT Banking end-state", "SOFORT Überweisung Endstatus"
|
|
|
|
|
|
23 |
"Show free products","Kostenlose Produkte anzeigen"
|
24 |
"Show the free 'children' products of configurable products in the mPAY24 shopping cart","Die kostenlosen Produkte (Produktvarianten) eines konfigurierbaren Produktes anzeigen"
|
25 |
"The transaction was not found!", "Die Transaktion wurde nicht gefunden!"
|
26 |
+
"The transaction was cancelled by the customer", "Die Transaktion wurde von dem Kunden abgebrochen"
|
27 |
"Credit memo has been created automatically through of MI/F crediting!", "Das 'credit memo' wurde automatisch, aufgrund einer MI/F Gutschrift, erzeugt"
|
28 |
"Redirected to mPAY24 pay page", "Weitergeleitet zu der mPAY24 Bezahlseite"
|
29 |
"Payment method", "Zahlungssystem"
|
30 |
"Approval code", "Bestätigungscode"
|
31 |
"You can choose the payment system you want to use now or do it when you are redirected to the mPAY24 pay page after placing the order.", "Sie können Ihre Zahlungssystemauswahl entweder jetzt treffen, oder wenn Sie zur mPAY24 Bezahlseite weitergeleitet werden, nachdem Sie Ihre Bestellung bestätigen."
|
32 |
+
"The order was not captured! For more information see the log files!", "Die Bestellung wurde nicht gebucht! Für weitere Informationen überprüfen Sie bitte Ihre Logs!"
|
33 |
+
"The order was not refunded! For more information see the log files!", "Die Bestellung wurde nicht gutgeschrieben! Für weitere Informationen überprüfen Sie bitte Ihre Logs!"
|
34 |
+
"The order was not cancelled! For more information see the log files!", "Die Bestellung wurde nicht storniert! Für weitere Informationen überprüfen Sie bitte Ihre Logs!"
|
35 |
"Custom configuration", "Angepasste Konfiguration"
|
36 |
"Number", "Position"
|
37 |
"ProductNr", "Produktnummer"
|
45 |
"this payment is not possible at the moment!", "diese Zahlung ist derzeit nicht möglich!"
|
46 |
"Automatic clearing for credit card payments", "Automatisches 'Clearing' für Kreditkartenzahlungen"
|
47 |
"ATTENTION! - It is possible that the billing address for the order ID '", "ACHTUNG! - Möglicherweise wurde die Rechnungsadresse für die Bestellung mit der ID '"
|
48 |
+
"was changed by the customer, but not in your shop! The billing address mode was set back to 'ReadOnly'! If you want to use the mode 'ReadWrite', the variable 'BILLING_ADDR' has to be activated for the 'TRANSACTIONSTATUS' request by mPAY24. Please contact (including your merchant ID '", "' vom Kunden auf der mPAY24 Bezahlseite geändert, jedoch in Ihrem Shop nicht gespeichert! Der Rechnungsadresse-Modus wurde auf 'ReadOnly' zurückgesetzt! Damit Sie den Modus 'ReadWrite' benutzen können, muss die Variable 'BILLING_ADDR' im 'TRANSACTIONSTATUS'-Request bei mPAY24 freigeschaltet werden. Bitte wenden Sie sich mit Ihrer Händler ID '"
|
49 |
"') mPAY24 (support@mpay24.com)!", "' an mPAY24 (support@mpay24.com)!"
|
50 |
+
"The billing address was not returned by mPAY24!", "Die Rechnungsadresse wurde von mPAY24 nicht zurückgeliefert!"
|
51 |
"ATTENTION!", "ACHTUNG!"
|
52 |
"All payment methods", "Alle Zahlungssysteme"
|
53 |
+
"Choose the way the mPAY24 systems are shown in the front-end (checkout)", "Wählen Sie die Art und Weise, wie die mPAY24 Zahlungssysteme dem Kunden angezeigt werden sollen"
|
54 |
"The mode 'ReadWrite' will only work if the parameter 'BILLING_ADDR' was set by mPAY24. Please contact the mPAY24 Support: support@mpay24.com!", "Der Modus 'ReadWrite' kann nur dann funktionieren, wenn der Parameter 'BILLING_ADDR', von mPAY24 gesetzt ist. Bitte kontaktieren Sie den mPAY24 Supprt: support@mpay24.com!"
|
55 |
"Payment system selection", "Zahlungssystemauswahl"
|
56 |
"Default mPAY24 configuration", "mPAY24 Konfiguration"
|
58 |
"You can choose the payment system you want to use after you are redirected to the mPAY24 pay page after placing the order.", "Sie können Ihre Zahlungssystemauswahl treffen, wenn Sie zur mPAY24 Bezahlseite weitergeleitet werden, nachdem Sie Ihre Bestellung bestätigen."
|
59 |
"The payment systems will be synchronized when the settings are saved!", "Die bei mPAY24 konfigurierten Zahlungssystemen werden beim Speichern synchronisert!"
|
60 |
"Allowed IPs for the Confirmation", "Erlaubte IPs für die für die Confirmation"
|
61 |
+
"Forced pre-selection", "Zwangsvorauswahl"
|
62 |
"Your customers must choose the payment system before they are forwarded to mPAY24 in order to be possible to charge the specific payment system.", "Ihre Kunden werden gezwungen das Zahlungssystem auszuwählen, bevor sie zu mPAY24 weitergeleitet werden, damit Sie eine Zahlungsgebühr verrechnen können."
|
63 |
"Percent", "Prozent"
|
64 |
+
"Absolute value", "Absoluter Wert"
|
65 |
"Payment charge type", "Zahlungsgebührtyp"
|
66 |
"Payment charge", "Zahlungsgebühr"
|
67 |
+
"Payment fee", "Zahlungsgebühr"
|
68 |
"Please choose a payment system from the drop down menu...", "Bitte wählen Sie ein Zahlungssystem von dem Drop-Down-Menü..."
|
69 |
+
"Please click an icon to choose a payment system...", "Bitte wählen Sie das gewünschte Zahlungssystem, per Klick auf das jeweilige Icon..."
|
70 |
+
"Payment Fee", "Zahlungsgebühr"
|
71 |
+
"Use proxy authentication","Proxy-Authenitifizierung verwenden"
|
|
|
72 |
"Proxy User","Proxy-Benutzer"
|
73 |
"Proxy Password","Proxy-Passwort"
|
74 |
"cURL: Verify the peer's certificate","cURL: Peers Zertifikate verfizieren"
|
75 |
+
"SOFORT Banking end-state", "SOFORT Überweisung Endstatus"
|
76 |
+
"You will be redirected to the mPAY24 pay page...", "Sie werden zur Bezahlseite von mPAY24 weitergeleitet..."
|
77 |
+
"Please choose a payment system...", "Bitte wählen Sie ein Zahlungssystem..."
|
78 |
+
"Forced preselection", "Zwangsvorauswahl"
|
app/locale/de_DE/Mpay24_Mpay24.csv
CHANGED
@@ -23,15 +23,15 @@
|
|
23 |
"Show free products","Kostenlose Produkte anzeigen"
|
24 |
"Show the free 'children' products of configurable products in the mPAY24 shopping cart","Die kostenlosen Produkte (Produktvarianten) eines konfigurierbaren Produktes anzeigen"
|
25 |
"The transaction was not found!", "Die Transaktion wurde nicht gefunden!"
|
26 |
-
"The transaction was
|
27 |
"Credit memo has been created automatically through of MI/F crediting!", "Das 'credit memo' wurde automatisch, aufgrund einer MI/F Gutschrift, erzeugt"
|
28 |
"Redirected to mPAY24 pay page", "Weitergeleitet zu der mPAY24 Bezahlseite"
|
29 |
"Payment method", "Zahlungssystem"
|
30 |
"Approval code", "Bestätigungscode"
|
31 |
"You can choose the payment system you want to use now or do it when you are redirected to the mPAY24 pay page after placing the order.", "Sie können Ihre Zahlungssystemauswahl entweder jetzt treffen, oder wenn Sie zur mPAY24 Bezahlseite weitergeleitet werden, nachdem Sie Ihre Bestellung bestätigen."
|
32 |
-
"The order was not captured! For
|
33 |
-
"The order was not refunded! For
|
34 |
-
"The order was not
|
35 |
"Custom configuration", "Angepasste Konfiguration"
|
36 |
"Number", "Position"
|
37 |
"ProductNr", "Produktnummer"
|
@@ -45,12 +45,12 @@
|
|
45 |
"this payment is not possible at the moment!", "diese Zahlung ist derzeit nicht möglich!"
|
46 |
"Automatic clearing for credit card payments", "Automatisches 'Clearing' für Kreditkartenzahlungen"
|
47 |
"ATTENTION! - It is possible that the billing address for the order ID '", "ACHTUNG! - Möglicherweise wurde die Rechnungsadresse für die Bestellung mit der ID '"
|
48 |
-
"was changed by the customer, but not in your shop! The billing address mode was set back to 'ReadOnly'! If you want to use the mode 'ReadWrite', the variable 'BILLING_ADDR' has to be activated for the 'TRANSACTIONSTATUS' request by mPAY24. Please contact (including your merchant ID '", "' vom Kunden auf der mPAY24 Bezahlseite geändert, jedoch in Ihrem Shop nicht gespeichert! Der Rechnungsadresse-Modus wurde auf 'ReadOnly' zurückgesetzt! Damit Sie den Modus 'ReadWrite' benutzen
|
49 |
"') mPAY24 (support@mpay24.com)!", "' an mPAY24 (support@mpay24.com)!"
|
50 |
-
"The billing address
|
51 |
"ATTENTION!", "ACHTUNG!"
|
52 |
"All payment methods", "Alle Zahlungssysteme"
|
53 |
-
"Choose the way the mPAY24 systems are shown in the
|
54 |
"The mode 'ReadWrite' will only work if the parameter 'BILLING_ADDR' was set by mPAY24. Please contact the mPAY24 Support: support@mpay24.com!", "Der Modus 'ReadWrite' kann nur dann funktionieren, wenn der Parameter 'BILLING_ADDR', von mPAY24 gesetzt ist. Bitte kontaktieren Sie den mPAY24 Supprt: support@mpay24.com!"
|
55 |
"Payment system selection", "Zahlungssystemauswahl"
|
56 |
"Default mPAY24 configuration", "mPAY24 Konfiguration"
|
@@ -58,18 +58,21 @@
|
|
58 |
"You can choose the payment system you want to use after you are redirected to the mPAY24 pay page after placing the order.", "Sie können Ihre Zahlungssystemauswahl treffen, wenn Sie zur mPAY24 Bezahlseite weitergeleitet werden, nachdem Sie Ihre Bestellung bestätigen."
|
59 |
"The payment systems will be synchronized when the settings are saved!", "Die bei mPAY24 konfigurierten Zahlungssystemen werden beim Speichern synchronisert!"
|
60 |
"Allowed IPs for the Confirmation", "Erlaubte IPs für die für die Confirmation"
|
61 |
-
"Forced
|
62 |
"Your customers must choose the payment system before they are forwarded to mPAY24 in order to be possible to charge the specific payment system.", "Ihre Kunden werden gezwungen das Zahlungssystem auszuwählen, bevor sie zu mPAY24 weitergeleitet werden, damit Sie eine Zahlungsgebühr verrechnen können."
|
63 |
"Percent", "Prozent"
|
64 |
-
"Absolute value", "
|
65 |
"Payment charge type", "Zahlungsgebührtyp"
|
66 |
"Payment charge", "Zahlungsgebühr"
|
|
|
67 |
"Please choose a payment system from the drop down menu...", "Bitte wählen Sie ein Zahlungssystem von dem Drop-Down-Menü..."
|
68 |
-
"Please choose a payment system
|
69 |
-
"
|
70 |
-
"
|
71 |
-
"Use proxy authentification","Proxy-Authenitifizierung verwenden"
|
72 |
"Proxy User","Proxy-Benutzer"
|
73 |
"Proxy Password","Proxy-Passwort"
|
74 |
"cURL: Verify the peer's certificate","cURL: Peers Zertifikate verfizieren"
|
75 |
-
"SOFORT Banking end-state", "SOFORT Überweisung Endstatus"
|
|
|
|
|
|
23 |
"Show free products","Kostenlose Produkte anzeigen"
|
24 |
"Show the free 'children' products of configurable products in the mPAY24 shopping cart","Die kostenlosen Produkte (Produktvarianten) eines konfigurierbaren Produktes anzeigen"
|
25 |
"The transaction was not found!", "Die Transaktion wurde nicht gefunden!"
|
26 |
+
"The transaction was cancelled by the customer", "Die Transaktion wurde von dem Kunden abgebrochen"
|
27 |
"Credit memo has been created automatically through of MI/F crediting!", "Das 'credit memo' wurde automatisch, aufgrund einer MI/F Gutschrift, erzeugt"
|
28 |
"Redirected to mPAY24 pay page", "Weitergeleitet zu der mPAY24 Bezahlseite"
|
29 |
"Payment method", "Zahlungssystem"
|
30 |
"Approval code", "Bestätigungscode"
|
31 |
"You can choose the payment system you want to use now or do it when you are redirected to the mPAY24 pay page after placing the order.", "Sie können Ihre Zahlungssystemauswahl entweder jetzt treffen, oder wenn Sie zur mPAY24 Bezahlseite weitergeleitet werden, nachdem Sie Ihre Bestellung bestätigen."
|
32 |
+
"The order was not captured! For more information see the log files!", "Die Bestellung wurde nicht gebucht! Für weitere Informationen überprüfen Sie bitte Ihre Logs!"
|
33 |
+
"The order was not refunded! For more information see the log files!", "Die Bestellung wurde nicht gutgeschrieben! Für weitere Informationen überprüfen Sie bitte Ihre Logs!"
|
34 |
+
"The order was not cancelled! For more information see the log files!", "Die Bestellung wurde nicht storniert! Für weitere Informationen überprüfen Sie bitte Ihre Logs!"
|
35 |
"Custom configuration", "Angepasste Konfiguration"
|
36 |
"Number", "Position"
|
37 |
"ProductNr", "Produktnummer"
|
45 |
"this payment is not possible at the moment!", "diese Zahlung ist derzeit nicht möglich!"
|
46 |
"Automatic clearing for credit card payments", "Automatisches 'Clearing' für Kreditkartenzahlungen"
|
47 |
"ATTENTION! - It is possible that the billing address for the order ID '", "ACHTUNG! - Möglicherweise wurde die Rechnungsadresse für die Bestellung mit der ID '"
|
48 |
+
"was changed by the customer, but not in your shop! The billing address mode was set back to 'ReadOnly'! If you want to use the mode 'ReadWrite', the variable 'BILLING_ADDR' has to be activated for the 'TRANSACTIONSTATUS' request by mPAY24. Please contact (including your merchant ID '", "' vom Kunden auf der mPAY24 Bezahlseite geändert, jedoch in Ihrem Shop nicht gespeichert! Der Rechnungsadresse-Modus wurde auf 'ReadOnly' zurückgesetzt! Damit Sie den Modus 'ReadWrite' benutzen können, muss die Variable 'BILLING_ADDR' im 'TRANSACTIONSTATUS'-Request bei mPAY24 freigeschaltet werden. Bitte wenden Sie sich mit Ihrer Händler ID '"
|
49 |
"') mPAY24 (support@mpay24.com)!", "' an mPAY24 (support@mpay24.com)!"
|
50 |
+
"The billing address was not returned by mPAY24!", "Die Rechnungsadresse wurde von mPAY24 nicht zurückgeliefert!"
|
51 |
"ATTENTION!", "ACHTUNG!"
|
52 |
"All payment methods", "Alle Zahlungssysteme"
|
53 |
+
"Choose the way the mPAY24 systems are shown in the front-end (checkout)", "Wählen Sie die Art und Weise, wie die mPAY24 Zahlungssysteme dem Kunden angezeigt werden sollen"
|
54 |
"The mode 'ReadWrite' will only work if the parameter 'BILLING_ADDR' was set by mPAY24. Please contact the mPAY24 Support: support@mpay24.com!", "Der Modus 'ReadWrite' kann nur dann funktionieren, wenn der Parameter 'BILLING_ADDR', von mPAY24 gesetzt ist. Bitte kontaktieren Sie den mPAY24 Supprt: support@mpay24.com!"
|
55 |
"Payment system selection", "Zahlungssystemauswahl"
|
56 |
"Default mPAY24 configuration", "mPAY24 Konfiguration"
|
58 |
"You can choose the payment system you want to use after you are redirected to the mPAY24 pay page after placing the order.", "Sie können Ihre Zahlungssystemauswahl treffen, wenn Sie zur mPAY24 Bezahlseite weitergeleitet werden, nachdem Sie Ihre Bestellung bestätigen."
|
59 |
"The payment systems will be synchronized when the settings are saved!", "Die bei mPAY24 konfigurierten Zahlungssystemen werden beim Speichern synchronisert!"
|
60 |
"Allowed IPs for the Confirmation", "Erlaubte IPs für die für die Confirmation"
|
61 |
+
"Forced pre-selection", "Zwangsvorauswahl"
|
62 |
"Your customers must choose the payment system before they are forwarded to mPAY24 in order to be possible to charge the specific payment system.", "Ihre Kunden werden gezwungen das Zahlungssystem auszuwählen, bevor sie zu mPAY24 weitergeleitet werden, damit Sie eine Zahlungsgebühr verrechnen können."
|
63 |
"Percent", "Prozent"
|
64 |
+
"Absolute value", "Absoluter Wert"
|
65 |
"Payment charge type", "Zahlungsgebührtyp"
|
66 |
"Payment charge", "Zahlungsgebühr"
|
67 |
+
"Payment fee", "Zahlungsgebühr"
|
68 |
"Please choose a payment system from the drop down menu...", "Bitte wählen Sie ein Zahlungssystem von dem Drop-Down-Menü..."
|
69 |
+
"Please click an icon to choose a payment system...", "Bitte wählen Sie das gewünschte Zahlungssystem, per Klick auf das jeweilige Icon..."
|
70 |
+
"Payment Fee", "Zahlungsgebühr"
|
71 |
+
"Use proxy authentication","Proxy-Authenitifizierung verwenden"
|
|
|
72 |
"Proxy User","Proxy-Benutzer"
|
73 |
"Proxy Password","Proxy-Passwort"
|
74 |
"cURL: Verify the peer's certificate","cURL: Peers Zertifikate verfizieren"
|
75 |
+
"SOFORT Banking end-state", "SOFORT Überweisung Endstatus"
|
76 |
+
"You will be redirected to the mPAY24 pay page...", "Sie werden zur Bezahlseite von mPAY24 weitergeleitet..."
|
77 |
+
"Please choose a payment system...", "Bitte wählen Sie ein Zahlungssystem..."
|
78 |
+
"Forced preselection", "Zwangsvorauswahl"
|
app/locale/en_US/Mpay24_Mpay24.csv
CHANGED
@@ -23,15 +23,15 @@
|
|
23 |
"Show free products","Show free products"
|
24 |
"Show the free 'children' products of configurable products in the mPAY24 shopping cart","Show the free 'children' products of configurable products in the mPAY24 shopping cart"
|
25 |
"The transaction was not found!", "The transaction was not found!"
|
26 |
-
"The transaction was
|
27 |
"Credit memo has been created automatically through of MI/F crediting!", "Credit memo has been created automatically through of MI/F crediting!"
|
28 |
"Redirected to mPAY24 pay page", "Redirected to mPAY24 pay page"
|
29 |
"Payment method", "Payment method"
|
30 |
"Approval code", "Approval code"
|
31 |
"You can choose the payment system you want to use now or do it when you are redirected to the mPAY24 pay page after placing the order.", "You can choose the payment system you want to use now or do it when you are redirected to the mPAY24 pay page after placing the order."
|
32 |
-
"The order was not captured! For
|
33 |
-
"The order was not refunded! For
|
34 |
-
"The order was not
|
35 |
"Custom configuration", "Custom configuration"
|
36 |
"Number", "Number"
|
37 |
"ProductNr", "ProductNr"
|
@@ -47,10 +47,10 @@
|
|
47 |
"ATTENTION! - It is possible that the billing address for the order ID '", "ATTENTION! - It is possible that the billing address for the order ID '"
|
48 |
"was changed by the customer, but not in your shop! The billing address mode was set back to 'ReadOnly'! If you want to use the mode 'ReadWrite', the variable 'BILLING_ADDR' has to be activated for the 'TRANSACTIONSTATUS' request by mPAY24. Please contact (including your merchant ID '", "was changed by the customer, but not in your shop! The billing address mode was set back to 'ReadOnly'! If you want to use the mode 'ReadWrite', the variable 'BILLING_ADDR' has to be activated for the 'TRANSACTIONSTATUS' request by mPAY24. Please contact (including your merchant ID '"
|
49 |
"') mPAY24 (support@mpay24.com)!", "') mPAY24 (support@mpay24.com)!"
|
50 |
-
"The billing address
|
51 |
"ATTENTION!", "ATTENTION!"
|
52 |
"All payment methods", "All payment methods"
|
53 |
-
"Choose the way the mPAY24 systems are shown in the
|
54 |
"The mode 'ReadWrite' will only work if the parameter 'BILLING_ADDR' was set by mPAY24. Please contact the mPAY24 Support: support@mpay24.com!", "The mode 'ReadWrite' will only work if the parameter 'BILLING_ADDR' was set by mPAY24. Please contact the mPAY24 Support: support@mpay24.com!"
|
55 |
"Payment system selection", "Payment system selection"
|
56 |
"Default mPAY24 configuration", "Default mPAY24 configuration"
|
@@ -58,18 +58,21 @@
|
|
58 |
"You can choose the payment system you want to use after you are redirected to the mPAY24 pay page after placing the order.", "You can choose the payment system you want to use after you are redirected to the mPAY24 pay page after placing the order."
|
59 |
"The payment systems will be synchronized when the settings are saved!", "The payment systems will be synchronized when the settings are saved!"
|
60 |
"Allowed IPs for the Confirmation", "Allowed IPs for the Confirmation"
|
61 |
-
"Forced
|
62 |
"Your customers must choose the payment system before they are forwarded to mPAY24 in order to be possible to charge the specific payment system.", "Your customers must choose the payment system before they are forwarded to mPAY24 in order to be possible to charge the specific payment system."
|
63 |
"Percent", "Percent"
|
64 |
"Absolute value", "Absolute value"
|
65 |
"Payment charge type", "Payment charge type"
|
66 |
"Payment charge", "Payment charge"
|
|
|
67 |
"Please choose a payment system from the drop down menu...", "Please choose a payment system from the drop down menu..."
|
68 |
-
"Please choose a payment system
|
69 |
-
"
|
70 |
-
"
|
71 |
-
"Use proxy authentification","Use proxy authentification"
|
72 |
"Proxy User","Proxy User"
|
73 |
"Proxy Password","Proxy Password"
|
74 |
"cURL: Verify the peer's certificate","cURL: Verify the peer's certificate"
|
75 |
-
"SOFORT Banking end-state", "SOFORT Banking end-state"
|
|
|
|
|
|
23 |
"Show free products","Show free products"
|
24 |
"Show the free 'children' products of configurable products in the mPAY24 shopping cart","Show the free 'children' products of configurable products in the mPAY24 shopping cart"
|
25 |
"The transaction was not found!", "The transaction was not found!"
|
26 |
+
"The transaction was cancelled by the customer", "The transaction was cancelled by the customer"
|
27 |
"Credit memo has been created automatically through of MI/F crediting!", "Credit memo has been created automatically through of MI/F crediting!"
|
28 |
"Redirected to mPAY24 pay page", "Redirected to mPAY24 pay page"
|
29 |
"Payment method", "Payment method"
|
30 |
"Approval code", "Approval code"
|
31 |
"You can choose the payment system you want to use now or do it when you are redirected to the mPAY24 pay page after placing the order.", "You can choose the payment system you want to use now or do it when you are redirected to the mPAY24 pay page after placing the order."
|
32 |
+
"The order was not captured! For more information see the log files!", "The order was not captured! For more information see the log files!"
|
33 |
+
"The order was not refunded! For more information see the log files!", "The order was not refunded! For more information see the log files!"
|
34 |
+
"The order was not cancelled! For more information see the log files!", "The order was not cancelled! For more information see the log files!"
|
35 |
"Custom configuration", "Custom configuration"
|
36 |
"Number", "Number"
|
37 |
"ProductNr", "ProductNr"
|
47 |
"ATTENTION! - It is possible that the billing address for the order ID '", "ATTENTION! - It is possible that the billing address for the order ID '"
|
48 |
"was changed by the customer, but not in your shop! The billing address mode was set back to 'ReadOnly'! If you want to use the mode 'ReadWrite', the variable 'BILLING_ADDR' has to be activated for the 'TRANSACTIONSTATUS' request by mPAY24. Please contact (including your merchant ID '", "was changed by the customer, but not in your shop! The billing address mode was set back to 'ReadOnly'! If you want to use the mode 'ReadWrite', the variable 'BILLING_ADDR' has to be activated for the 'TRANSACTIONSTATUS' request by mPAY24. Please contact (including your merchant ID '"
|
49 |
"') mPAY24 (support@mpay24.com)!", "') mPAY24 (support@mpay24.com)!"
|
50 |
+
"The billing address was not returned by mPAY24!", "The billing address was not returned by mPAY24!"
|
51 |
"ATTENTION!", "ATTENTION!"
|
52 |
"All payment methods", "All payment methods"
|
53 |
+
"Choose the way the mPAY24 systems are shown in the front-end (checkout)", "Choose the way the mPAY24 systems are shown in the front-end (checkout)"
|
54 |
"The mode 'ReadWrite' will only work if the parameter 'BILLING_ADDR' was set by mPAY24. Please contact the mPAY24 Support: support@mpay24.com!", "The mode 'ReadWrite' will only work if the parameter 'BILLING_ADDR' was set by mPAY24. Please contact the mPAY24 Support: support@mpay24.com!"
|
55 |
"Payment system selection", "Payment system selection"
|
56 |
"Default mPAY24 configuration", "Default mPAY24 configuration"
|
58 |
"You can choose the payment system you want to use after you are redirected to the mPAY24 pay page after placing the order.", "You can choose the payment system you want to use after you are redirected to the mPAY24 pay page after placing the order."
|
59 |
"The payment systems will be synchronized when the settings are saved!", "The payment systems will be synchronized when the settings are saved!"
|
60 |
"Allowed IPs for the Confirmation", "Allowed IPs for the Confirmation"
|
61 |
+
"Forced pre-selection", "Forced pre-selection"
|
62 |
"Your customers must choose the payment system before they are forwarded to mPAY24 in order to be possible to charge the specific payment system.", "Your customers must choose the payment system before they are forwarded to mPAY24 in order to be possible to charge the specific payment system."
|
63 |
"Percent", "Percent"
|
64 |
"Absolute value", "Absolute value"
|
65 |
"Payment charge type", "Payment charge type"
|
66 |
"Payment charge", "Payment charge"
|
67 |
+
"Payment fee", "Payment fee"
|
68 |
"Please choose a payment system from the drop down menu...", "Please choose a payment system from the drop down menu..."
|
69 |
+
"Please click an icon to choose a payment system...", "Please click an icon to choose a payment system..."
|
70 |
+
"Payment Fee", "Payment Fee"
|
71 |
+
"Use proxy authentication","Use proxy authentication"
|
|
|
72 |
"Proxy User","Proxy User"
|
73 |
"Proxy Password","Proxy Password"
|
74 |
"cURL: Verify the peer's certificate","cURL: Verify the peer's certificate"
|
75 |
+
"SOFORT Banking end-state", "SOFORT Banking end-state"
|
76 |
+
"You will be redirected to the mPAY24 pay page...", "You will be redirected to the mPAY24 pay page..."
|
77 |
+
"Please choose a payment system...", "Please choose a payment system..."
|
78 |
+
"Forced preselection", "Forced preselection"
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>mPAY24</name>
|
4 |
-
<version>1.5.
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License (OSL 3.0)</license>
|
7 |
<channel>community</channel>
|
@@ -26,13 +26,21 @@ Die Payment Lösung der mPAY24 GmbH unterstützt folgende Bezahlarten un
|
|
26 |

|
27 |

|
28 |
Weitere Informationen unter www.mPAY24.com</description>
|
29 |
-
<notes>New
|
30 |

|
31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
<authors><author><name>Filipp Akinfiev</name><user>firedrago</user><email>firedrago.magento@gmail.com</email></author></authors>
|
33 |
-
<date>2014-
|
34 |
-
<time>
|
35 |
-
<contents><target name="magelocale"><dir name="de_AT"><file name="Mpay24_Mpay24.csv" hash="
|
36 |
<compatible/>
|
37 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
38 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>mPAY24</name>
|
4 |
+
<version>1.5.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License (OSL 3.0)</license>
|
7 |
<channel>community</channel>
|
26 |

|
27 |

|
28 |
Weitere Informationen unter www.mPAY24.com</description>
|
29 |
+
<notes>1. New checkout form template.
|
30 |

|
31 |
+
2. OneStepCheckout-Extension supported by the Radio-Button-Checkout-Form-Template.
|
32 |
+

|
33 |
+
3. Multishop-Currency problem solved.
|
34 |
+

|
35 |
+
4. Relative paths for the log files and the included classes used.
|
36 |
+

|
37 |
+
5. Text labels and design improvements.
|
38 |
+

|
39 |
+
</notes>
|
40 |
<authors><author><name>Filipp Akinfiev</name><user>firedrago</user><email>firedrago.magento@gmail.com</email></author></authors>
|
41 |
+
<date>2014-09-29</date>
|
42 |
+
<time>09:35:42</time>
|
43 |
+
<contents><target name="magelocale"><dir name="de_AT"><file name="Mpay24_Mpay24.csv" hash="c8ab13e91f2acd7731342e166aefb6e5"/></dir><dir name="de_DE"><file name="Mpay24_Mpay24.csv" hash="c8ab13e91f2acd7731342e166aefb6e5"/></dir><dir name="de_CH"><file name="Mpay24_Mpay24.csv" hash="c8ab13e91f2acd7731342e166aefb6e5"/></dir><dir name="en_US"><file name="Mpay24_Mpay24.csv" hash="402b19b80c5cff21ea7bdedf275e6032"/></dir></target><target name="mageetc"><dir name="modules"><file name="Mpay24_Mpay24.xml" hash="2f9e00b5f9b4f905d46783633e84f707"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="mpay24"><dir name="form"><file name="area.phtml" hash="9f4f9fec6dadc41ea02e14da3060f17c"/><file name="dropDown.phtml" hash="6e1b3da46645a4ee733038eb5dc51d5b"/><file name="radio.phtml" hash="76ac74909f951575038b0265cd32866e"/></dir><dir name="info"><file name="selectpayment.phtml" hash="2d9e4841e6fc83314a51b16db9e8db71"/></dir></dir></dir><dir name="layout"><file name="mpay24.xml" hash="f61a3b1f24cf322c25d0cbfc23f473d6"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="mpay24"><dir name="info"><dir name="pdf"><file name="selectpayment.phtml" hash="fbdb9f2a8059cef41294ad0ebb66f6ed"/></dir><file name="selectpayment.phtml" hash="83455c7ce9ea601de4613ea6dc874b8d"/></dir></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Mpay24"><dir name="Mpay24"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="3370e076767f51aaf3a5e35564b64d7b"/></dir><dir name="Invoice"><file name="Totals.php" hash="45beeec6902eddd0a68d5d196c9c8993"/></dir><file name="Totals.php" hash="a9ea28f1c34c458ef346484a07a25ce4"/></dir><file name="Totals.php" hash="3e7a1e3c5e7beecf656708fb6ef451ba"/></dir><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Fieldset.php" hash="6a32d04093ed17bd205049fc2c08a149"/></dir></dir></dir></dir><dir name="Form"><file name="Selectpayment.php" hash="d7c2782f8d5307a3fca856b44ced5af4"/></dir><file name="Form.php" hash="72f46c1cddecdb39cac90558ae3f8f34"/><dir name="Info"><file name="Selectpayment.php" hash="39c93c8c340083d48acec81987b7be29"/></dir><file name="Mpay24.php" hash="7cd507fba0979dc4f3eb937e37bc52ff"/><file name="ParentRedirect.php" hash="f99827ac084d828afdeeea9014933c57"/><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="1d10e5e7f3022b8b4e12ffaf9fa0b42d"/></dir><dir name="Invoice"><file name="Totals.php" hash="b531a8c77d11c6af8ff13807062c3a36"/></dir><file name="Totals.php" hash="6012cce58a706e6762c5624e52a6191b"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="d02323e509bf1e693641a007e881d84a"/></dir><dir name="Model"><dir name="Api"><file name="MDXI.xsd" hash="3862b41d1f4206b269b67247be503455"/><file name="MPay24Api.php" hash="6f96a97da40b296db3aabdd6447985a5"/><file name="MPay24MagentoShop.php" hash="40384b2474376d7c78beb3ea28cefe85"/><file name="MPay24Shop.php" hash="e42d98233a8e32905f349fc7a006ef17"/><file name="cacert.pem" hash="b4bc508481b6291f414f4e6fd7e5d0a5"/><file name="curllog.log" hash="d4399f8d95843355f0b4726b61d4c4b5"/><file name="orderXML.php" hash="704a162695cd9f540ca3123d0e7c6f12"/><dir name="xmls"><file name="Example_MDXI.xml" hash="dddd02e4cdc0905792c1a2a9f3681bfd"/></dir></dir><file name="Config.php" hash="3f24700f4a88009c8b288f0b28cdecc8"/><dir name="Entity"><file name="Setup.php" hash="b430870f5b30400666d49e872fcb1829"/></dir><dir name="Method"><file name="Abstract.php" hash="fc8ae6c60da3f92ad5a8f94e5f6685b3"/><file name="Selectpayment.php" hash="e9fc8005ae3b4edf149184cee0c9d96a"/></dir><dir name="Mpay24"><file name="Debug.php" hash="0292a590e18f447302a567e4805cc395"/></dir><dir name="Mysql4"><dir name="Mpay24"><dir name="Debug"><file name="Collection.php" hash="8ad74bfe0138d89799966b0a5098b973"/></dir><file name="Debug.php" hash="92e0274bbf10e95551ee1b2ce32fe77f"/></dir><file name="Setup.php" hash="cfde4d0356acd80dfc7ab96eb6fbc435"/></dir><file name="Observer.php" hash="fee0d97f00f19ec06dc77ae0528fd152"/><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><dir name="Total"><file name="Paymentcharge.php" hash="2a18a3056a29073476c71167b0123b65"/></dir></dir><dir name="Invoice"><dir name="Total"><file name="Paymentcharge.php" hash="0ac2ca2a09948eab7b5c29d3b167ed90"/></dir></dir></dir><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Paymentcharge.php" hash="03a51272dd89821e69d8ca9677f20a81"/></dir></dir></dir></dir><file name="Selectpayment.php" hash="42f90d8fdc11f41d11e8d64c459074ac"/><file name="Session.php" hash="4b5004e1e1bb6eb411ff3462f0b01112"/><dir name="Source"><file name="AllowedIPs.php" hash="18da40de21159be4ac8be98909c5e284"/><file name="BillAddr.php" hash="80f771c682b65ed5f33eadfca86d6b58"/><file name="ClearingAction.php" hash="49c51df9cb1b1d444ac03437fc9d0a4d"/><file name="FormTemplate.php" hash="1231ad5dd8970b965ad39d82246b30a2"/><file name="PaidOrder.php" hash="ea962026625292782fd3830667419490"/><file name="PaymentCharge.php" hash="8f3f8b1548699bca5c63942e4c8916bb"/><file name="PaymentsActive.php" hash="408c0c11925732e2d6433d867d221d63"/><file name="Request.php" hash="89a5f1bc2c4984aaa2fdbe0e3e5e2b19"/><file name="Result.php" hash="85bafadd31d2f9da948721a8831f3d9e"/><file name="SOFORTState.php" hash="a16d4556b94f6a61312fc340af81a132"/><file name="ShoppingCartRowsAction.php" hash="bc66fc6256b192d6b113537a73211cf3"/><file name="System.php" hash="f6142277dfbdab3e0e71fb9814c24652"/></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Encrypted.php" hash="66086ea048550c72962e7690b9a1c768"/></dir></dir></dir></dir><dir name="controllers"><file name="IndexController.php" hash="8ede56cc97e53af699648fa65566a7c5"/><file name="PaymentController.php" hash="dde8ba1a45f1d926f255a05ea9fefee4"/></dir><dir name="etc"><file name="config.xml" hash="0b435162a670f5512db4f23d19df1dc6"/><file name="system.xml" hash="daf4071d18c9f5f386b06c0b66872b14"/></dir><dir name="sql"><dir name="mpay24_setup"><file name="mysql4-install-1.5.1.php" hash="1654eef9d028fcaaaf5f4bfaee2ab796"/><file name="mysql4-upgrade-1.4.4-1.4.5.php" hash="05a7d1f81102a1f05ef2c4b8cf33aa85"/><file name="mysql4-upgrade-1.4.4-1.4.6.php" hash="5bf86d6498af63fb0afe3953c14d4e7e"/><file name="mysql4-upgrade-1.4.4-1.4.7.php" hash="08e2aa39f98e5c0cdb52cdb0823a015b"/><file name="mysql4-upgrade-1.4.4-1.4.8.php" hash="ae6956df0cf6530463d98b2f0b814e32"/><file name="mysql4-upgrade-1.4.4-1.4.9.php" hash="26f251d1939ee4d9a156499c61bbd7f3"/><file name="mysql4-upgrade-1.4.4-1.5.0.php" hash="1fe55f115daa227bd09beb69374621e2"/><file name="mysql4-upgrade-1.4.4-1.5.1.php" hash="86ea222887a1dfcf363ff84735e904f5"/><file name="mysql4-upgrade-1.4.5-1.4.6.php" hash="d87de8d8c3037199051d8e579a4ac3f9"/><file name="mysql4-upgrade-1.4.5-1.4.7.php" hash="86eb6d0edef7c76f4d709a1dd2187191"/><file name="mysql4-upgrade-1.4.5-1.4.8.php" hash="f3157f8e0ef74958e357ba5dcccc3fed"/><file name="mysql4-upgrade-1.4.5-1.4.9.php" hash="0f01b950b01f4ac0f9c78a200fd8f013"/><file name="mysql4-upgrade-1.4.5-1.5.0.php" hash="e4f57f182722b589520bf09b6081bdfb"/><file name="mysql4-upgrade-1.4.5-1.5.1.php" hash="dcc8afe56eddb38b918675858ac2c4a6"/><file name="mysql4-upgrade-1.4.6-1.4.7.php" hash="e041611350cc319072fd0cba3824ed96"/><file name="mysql4-upgrade-1.4.6-1.4.8.php" hash="e1c0aed8b5cc3c144ba50f9526e4e9db"/><file name="mysql4-upgrade-1.4.6-1.4.9.php" hash="ce762f7b367d3863a388316faac149f9"/><file name="mysql4-upgrade-1.4.6-1.5.0.php" hash="a91ab00502b876e17256c9008d6dd1b1"/><file name="mysql4-upgrade-1.4.6-1.5.1.php" hash="ff0b66cd0bed5e90bf274e294868a33d"/><file name="mysql4-upgrade-1.4.7-1.4.8.php" hash="71cd3d81e624084012b41031083ced69"/><file name="mysql4-upgrade-1.4.7-1.4.9.php" hash="f527ac405e1d125f5b563f21cc353d7b"/><file name="mysql4-upgrade-1.4.7-1.5.0.php" hash="c6ba413e9cc5351636d0b9562aadbffb"/><file name="mysql4-upgrade-1.4.7-1.5.1.php" hash="b9a3fd5e294c4abd7ad2ff1f59b25c09"/><file name="mysql4-upgrade-1.4.8-1.4.9.php" hash="86e238979b954ca3512ec5dc0075df5a"/><file name="mysql4-upgrade-1.4.8-1.5.0.php" hash="e9b8f18afbd5e25f49c3364ee7299629"/><file name="mysql4-upgrade-1.4.8-1.5.1.php" hash="344cc2c701ebecfd7ee87f096948d205"/><file name="mysql4-upgrade-1.4.9-1.5.0.php" hash="f2e6a9faccdbe7f37d1997ee3d1676bc"/><file name="mysql4-upgrade-1.4.9-1.5.1.php" hash="00e6081cdd6af44353e5c77aa9fd4f16"/><file name="mysql4-upgrade-1.5.0-1.5.1.php" hash="b13cab4e8f540eafaed6d1b67c2d36fd"/></dir></dir></dir></dir></target></contents>
|
44 |
<compatible/>
|
45 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
46 |
</package>
|