Version Notes
- Change view in checkout when there is only one payment channel active
- Performance fixes, delete unnecessary observer for events
- Add status "Complete" to list of available statuses
- Change layout for adding PayLane CSS on every site - now it handles every type of checkout
Download this release
Release Info
| Developer | ENDORA |
| Extension | Endora_PayLane2 |
| Version | 0.1.2 |
| Comparing to | |
| See all releases | |
Code changes from version 0.1.1 to 0.1.2
- app/code/community/Endora/PayLane/Block/Form.php +25 -8
- app/code/community/Endora/PayLane/Helper/Data.php +41 -0
- app/code/community/Endora/PayLane/Model/Api/Payment/BankTransfer.php +2 -8
- app/code/community/Endora/PayLane/Model/Api/Payment/CreditCard.php +3 -4
- app/code/community/Endora/PayLane/Model/Api/Payment/DirectDebit.php +2 -8
- app/code/community/Endora/PayLane/Model/Api/Payment/Ideal.php +2 -8
- app/code/community/Endora/PayLane/Model/Api/Payment/PayPal.php +2 -8
- app/code/community/Endora/PayLane/Model/Api/Payment/SecureForm.php +2 -8
- app/code/community/Endora/PayLane/Model/Api/Payment/Sofort.php +2 -8
- app/code/community/Endora/PayLane/Model/Observer.php +0 -14
- app/code/community/Endora/PayLane/Model/Payment.php +2 -1
- app/code/community/Endora/PayLane/Model/Resource/Setup.php +7 -7
- app/code/community/Endora/PayLane/Model/Source/Order/Status.php +1 -1
- app/code/community/Endora/PayLane/controllers/NotificationController.php +6 -3
- app/code/community/Endora/PayLane/controllers/PaymentController.php +13 -31
- app/code/community/Endora/PayLane/etc/config.xml +2 -13
- app/code/community/Endora/PayLane/etc/system.xml +604 -600
- app/design/frontend/base/default/layout/paylane.xml +6 -6
- package.xml +12 -7
app/code/community/Endora/PayLane/Block/Form.php
CHANGED
|
@@ -30,23 +30,41 @@ class Endora_PayLane_Block_Form extends Mage_Core_Block_Template {
|
|
| 30 |
|
| 31 |
foreach ($classNames as $class) {
|
| 32 |
$paymentClass = Mage::getModel('paylane/api_payment_'.$class);
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
}
|
| 39 |
|
| 40 |
return $result;
|
| 41 |
}
|
| 42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
/**
|
| 44 |
* Check whether payment method is active
|
| 45 |
*
|
| 46 |
* @param string $code
|
| 47 |
* @return boolean
|
| 48 |
*/
|
| 49 |
-
|
| 50 |
{
|
| 51 |
return Mage::getStoreConfig($this->helper->getPaymentMethodStoreConfigStringPrefix($code) . '/active');
|
| 52 |
}
|
|
@@ -56,7 +74,7 @@ class Endora_PayLane_Block_Form extends Mage_Core_Block_Template {
|
|
| 56 |
*
|
| 57 |
* @return boolean
|
| 58 |
*/
|
| 59 |
-
|
| 60 |
{
|
| 61 |
$result = false;
|
| 62 |
$cartItems = Mage::getSingleton('checkout/cart')->getItems();
|
|
@@ -70,5 +88,4 @@ class Endora_PayLane_Block_Form extends Mage_Core_Block_Template {
|
|
| 70 |
|
| 71 |
return $result;
|
| 72 |
}
|
| 73 |
-
|
| 74 |
}
|
| 30 |
|
| 31 |
foreach ($classNames as $class) {
|
| 32 |
$paymentClass = Mage::getModel('paylane/api_payment_'.$class);
|
| 33 |
+
|
| 34 |
+
if($this->_isPaymentMethodActive($paymentClass->getCode())) {
|
| 35 |
+
$isRecurring = $this->_isRecurringItemInCart();
|
| 36 |
+
|
| 37 |
+
if( ($isRecurring && $paymentClass->isRecurringPayment() === true) || !$isRecurring) {
|
| 38 |
+
$result[$paymentClass->getCode()] = array(
|
| 39 |
+
'label' => $paymentClass->getLabel(),
|
| 40 |
+
'img' => $paymentClass->getImageUrl()
|
| 41 |
+
);
|
| 42 |
+
}
|
| 43 |
+
}
|
| 44 |
}
|
| 45 |
|
| 46 |
return $result;
|
| 47 |
}
|
| 48 |
|
| 49 |
+
/**
|
| 50 |
+
* Fetch payment template
|
| 51 |
+
*
|
| 52 |
+
* @param string $paymentType Code of payment channel
|
| 53 |
+
* @return string Template HTML code
|
| 54 |
+
*/
|
| 55 |
+
public function fetchPaymentTemplate($paymentType)
|
| 56 |
+
{
|
| 57 |
+
$templatePath = strtolower($paymentType);
|
| 58 |
+
echo $this->getLayout()->createBlock('paylane/payment_'.$paymentType)->setTemplate('paylane/payment/'.$templatePath.'.phtml')->toHtml();
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
/**
|
| 62 |
* Check whether payment method is active
|
| 63 |
*
|
| 64 |
* @param string $code
|
| 65 |
* @return boolean
|
| 66 |
*/
|
| 67 |
+
protected function _isPaymentMethodActive($code)
|
| 68 |
{
|
| 69 |
return Mage::getStoreConfig($this->helper->getPaymentMethodStoreConfigStringPrefix($code) . '/active');
|
| 70 |
}
|
| 74 |
*
|
| 75 |
* @return boolean
|
| 76 |
*/
|
| 77 |
+
protected function _isRecurringItemInCart()
|
| 78 |
{
|
| 79 |
$result = false;
|
| 80 |
$cartItems = Mage::getSingleton('checkout/cart')->getItems();
|
| 88 |
|
| 89 |
return $result;
|
| 90 |
}
|
|
|
|
| 91 |
}
|
app/code/community/Endora/PayLane/Helper/Data.php
CHANGED
|
@@ -310,4 +310,45 @@ class Endora_PayLane_Helper_Data extends Mage_Core_Helper_Data {
|
|
| 310 |
Mage::log($msg, null, self::LOG_FILE_NAME);
|
| 311 |
}
|
| 312 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 313 |
}
|
| 310 |
Mage::log($msg, null, self::LOG_FILE_NAME);
|
| 311 |
}
|
| 312 |
}
|
| 313 |
+
|
| 314 |
+
public function setOrderState($order, $status, $comment = null, $customerNotify = false)
|
| 315 |
+
{
|
| 316 |
+
if($status != Mage_Sales_Model_Order::STATE_COMPLETE) {
|
| 317 |
+
$order->setState($this->getStateByStatus($status), $status, $comment, $customerNotify);
|
| 318 |
+
} else {
|
| 319 |
+
/**
|
| 320 |
+
* To set order in "complete" state, there must be
|
| 321 |
+
* created invoice and shipment (if product is not virtual)
|
| 322 |
+
*/
|
| 323 |
+
$invoice = $order->prepareInvoice()
|
| 324 |
+
->setTransactionId($order->getId())
|
| 325 |
+
->addComment("Invoice created by PayLane payment module.")
|
| 326 |
+
->register()
|
| 327 |
+
->pay();
|
| 328 |
+
|
| 329 |
+
$transactionSave = Mage::getModel('core/resource_transaction')
|
| 330 |
+
->addObject($invoice)
|
| 331 |
+
->addObject($invoice->getOrder())
|
| 332 |
+
->save();
|
| 333 |
+
|
| 334 |
+
$shipment = $order->prepareShipment();
|
| 335 |
+
if( $shipment ) {
|
| 336 |
+
$shipment->register();
|
| 337 |
+
$order->setIsInProcess(true);
|
| 338 |
+
|
| 339 |
+
$transactionSave = Mage::getModel('core/resource_transaction')
|
| 340 |
+
->addObject($shipment)
|
| 341 |
+
->addObject($shipment->getOrder())
|
| 342 |
+
->save();
|
| 343 |
+
}
|
| 344 |
+
|
| 345 |
+
$history = $order->addStatusHistoryComment($comment, false);
|
| 346 |
+
$history->setIsCustomerNotified($customerNotify);
|
| 347 |
+
$history->save();
|
| 348 |
+
}
|
| 349 |
+
|
| 350 |
+
$order->save();
|
| 351 |
+
|
| 352 |
+
return $order;
|
| 353 |
+
}
|
| 354 |
}
|
app/code/community/Endora/PayLane/Model/Api/Payment/BankTransfer.php
CHANGED
|
@@ -45,14 +45,8 @@ class Endora_PayLane_Model_Api_Payment_BankTransfer extends Endora_PayLane_Model
|
|
| 45 |
$errorText = (!empty($result['error']['error_description'])) ? $result['error']['error_description'] : '';
|
| 46 |
}
|
| 47 |
$comment = $helper->__('There was an error in payment process via PayLane module (Error code: %s, Error text: %s)', $errorCode, $errorText);
|
| 48 |
-
$
|
| 49 |
-
|
| 50 |
-
$helper->log('order data changing: ');
|
| 51 |
-
$helper->log('order status: ' .$orderStatus);
|
| 52 |
-
$helper->log('order state: ' .$state);
|
| 53 |
-
$helper->log('comment: ' . $comment);
|
| 54 |
-
|
| 55 |
-
$order->setState($state, $orderStatus, $comment, false);
|
| 56 |
$order->save();
|
| 57 |
}
|
| 58 |
|
| 45 |
$errorText = (!empty($result['error']['error_description'])) ? $result['error']['error_description'] : '';
|
| 46 |
}
|
| 47 |
$comment = $helper->__('There was an error in payment process via PayLane module (Error code: %s, Error text: %s)', $errorCode, $errorText);
|
| 48 |
+
$helper->setOrderState($order, $orderStatus, $comment);
|
| 49 |
+
// $order->setState($helper->getStateByStatus($orderStatus), $orderStatus, $comment, false);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
$order->save();
|
| 51 |
}
|
| 52 |
|
app/code/community/Endora/PayLane/Model/Api/Payment/CreditCard.php
CHANGED
|
@@ -51,14 +51,13 @@ class Endora_PayLane_Model_Api_Payment_CreditCard extends Endora_PayLane_Model_A
|
|
| 51 |
$comment = $helper->__('There was an error in payment process via PayLane module (Error code: %s, Error text: %s)', $errorCode, $errorText);
|
| 52 |
}
|
| 53 |
|
| 54 |
-
$state = $helper->getStateByStatus($orderStatus);
|
| 55 |
-
|
| 56 |
$helper->log('order data changing: ');
|
| 57 |
$helper->log('order status: ' .$orderStatus);
|
| 58 |
-
$helper->log('order state: ' .$
|
| 59 |
$helper->log('comment: ' . $comment);
|
| 60 |
|
| 61 |
-
$
|
|
|
|
| 62 |
$order->save();
|
| 63 |
|
| 64 |
return $result['success'];
|
| 51 |
$comment = $helper->__('There was an error in payment process via PayLane module (Error code: %s, Error text: %s)', $errorCode, $errorText);
|
| 52 |
}
|
| 53 |
|
|
|
|
|
|
|
| 54 |
$helper->log('order data changing: ');
|
| 55 |
$helper->log('order status: ' .$orderStatus);
|
| 56 |
+
$helper->log('order state: ' .$helper->getStateByStatus($orderStatus));
|
| 57 |
$helper->log('comment: ' . $comment);
|
| 58 |
|
| 59 |
+
$helper->setOrderState($order, $orderStatus, $comment);
|
| 60 |
+
// $order->setState($helper->getStateByStatus($orderStatus), $orderStatus, $comment, false);
|
| 61 |
$order->save();
|
| 62 |
|
| 63 |
return $result['success'];
|
app/code/community/Endora/PayLane/Model/Api/Payment/DirectDebit.php
CHANGED
|
@@ -41,14 +41,8 @@ class Endora_PayLane_Model_Api_Payment_DirectDebit extends Endora_PayLane_Model_
|
|
| 41 |
$comment = $helper->__('There was an error in payment process via PayLane module (Error code: %s, Error text: %s)', $errorCode, $errorText);
|
| 42 |
}
|
| 43 |
|
| 44 |
-
$
|
| 45 |
-
|
| 46 |
-
$helper->log('order data changing: ');
|
| 47 |
-
$helper->log('order status: ' .$orderStatus);
|
| 48 |
-
$helper->log('order state: ' .$state);
|
| 49 |
-
$helper->log('comment: ' . $comment);
|
| 50 |
-
|
| 51 |
-
$order->setState($state, $orderStatus, $comment, false);
|
| 52 |
$order->save();
|
| 53 |
|
| 54 |
return $result['success'];
|
| 41 |
$comment = $helper->__('There was an error in payment process via PayLane module (Error code: %s, Error text: %s)', $errorCode, $errorText);
|
| 42 |
}
|
| 43 |
|
| 44 |
+
$helper->setOrderState($order, $orderStatus, $comment);
|
| 45 |
+
// $order->setState($helper->getStateByStatus($orderStatus), $orderStatus, $comment, false);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
$order->save();
|
| 47 |
|
| 48 |
return $result['success'];
|
app/code/community/Endora/PayLane/Model/Api/Payment/Ideal.php
CHANGED
|
@@ -45,14 +45,8 @@ class Endora_PayLane_Model_Api_Payment_Ideal extends Endora_PayLane_Model_Api_Pa
|
|
| 45 |
$errorText = (!empty($result['error']['error_description'])) ? $result['error']['error_description'] : '';
|
| 46 |
}
|
| 47 |
$comment = $helper->__('There was an error in payment process via PayLane module (Error code: %s, Error text: %s)', $errorCode, $errorText);
|
| 48 |
-
$
|
| 49 |
-
|
| 50 |
-
$helper->log('order data changing: ');
|
| 51 |
-
$helper->log('order status: ' .$orderStatus);
|
| 52 |
-
$helper->log('order state: ' .$state);
|
| 53 |
-
$helper->log('comment: ' . $comment);
|
| 54 |
-
|
| 55 |
-
$order->setState($state, $orderStatus, $comment, false);
|
| 56 |
$order->save();
|
| 57 |
}
|
| 58 |
|
| 45 |
$errorText = (!empty($result['error']['error_description'])) ? $result['error']['error_description'] : '';
|
| 46 |
}
|
| 47 |
$comment = $helper->__('There was an error in payment process via PayLane module (Error code: %s, Error text: %s)', $errorCode, $errorText);
|
| 48 |
+
$helper->setOrderState($order, $orderStatus, $comment);
|
| 49 |
+
// $order->setState($helper->getStateByStatus($orderStatus), $orderStatus, $comment, false);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
$order->save();
|
| 51 |
}
|
| 52 |
|
app/code/community/Endora/PayLane/Model/Api/Payment/PayPal.php
CHANGED
|
@@ -41,14 +41,8 @@ class Endora_PayLane_Model_Api_Payment_PayPal extends Endora_PayLane_Model_Api_P
|
|
| 41 |
$errorText = (!empty($result['error']['error_description'])) ? $result['error']['error_description'] : '';
|
| 42 |
}
|
| 43 |
$comment = $helper->__('There was an error in payment process via PayLane module (Error code: %s, Error text: %s)', $errorCode, $errorText);
|
| 44 |
-
$
|
| 45 |
-
|
| 46 |
-
$helper->log('order data changing: ');
|
| 47 |
-
$helper->log('order status: ' .$orderStatus);
|
| 48 |
-
$helper->log('order state: ' .$state);
|
| 49 |
-
$helper->log('comment: ' . $comment);
|
| 50 |
-
|
| 51 |
-
$order->setState($state, $orderStatus, $comment, false);
|
| 52 |
$order->save();
|
| 53 |
}
|
| 54 |
|
| 41 |
$errorText = (!empty($result['error']['error_description'])) ? $result['error']['error_description'] : '';
|
| 42 |
}
|
| 43 |
$comment = $helper->__('There was an error in payment process via PayLane module (Error code: %s, Error text: %s)', $errorCode, $errorText);
|
| 44 |
+
$helper->setOrderState($order, $orderStatus, $comment);
|
| 45 |
+
// $order->setState($helper->getStateByStatus($orderStatus), $orderStatus, $comment, false);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
$order->save();
|
| 47 |
}
|
| 48 |
|
app/code/community/Endora/PayLane/Model/Api/Payment/SecureForm.php
CHANGED
|
@@ -37,14 +37,8 @@ class Endora_PayLane_Model_Api_Payment_SecureForm extends Endora_PayLane_Model_A
|
|
| 37 |
$errorText = (!empty($result['error']['error_description'])) ? $result['error']['error_description'] : '';
|
| 38 |
}
|
| 39 |
$comment = $helper->__('There was an error in payment process via PayLane module (Error code: %s, Error text: %s)', $errorCode, $errorText);
|
| 40 |
-
$
|
| 41 |
-
|
| 42 |
-
$helper->log('order data changing: ');
|
| 43 |
-
$helper->log('order status: ' .$orderStatus);
|
| 44 |
-
$helper->log('order state: ' .$state);
|
| 45 |
-
$helper->log('comment: ' . $comment);
|
| 46 |
-
|
| 47 |
-
$order->setState($state, $orderStatus, $comment, false);
|
| 48 |
$order->save();
|
| 49 |
}
|
| 50 |
|
| 37 |
$errorText = (!empty($result['error']['error_description'])) ? $result['error']['error_description'] : '';
|
| 38 |
}
|
| 39 |
$comment = $helper->__('There was an error in payment process via PayLane module (Error code: %s, Error text: %s)', $errorCode, $errorText);
|
| 40 |
+
$helper->setOrderState($order, $orderStatus, $comment);
|
| 41 |
+
// $order->setState($helper->getStateByStatus($orderStatus), $orderStatus, $comment, false);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
$order->save();
|
| 43 |
}
|
| 44 |
|
app/code/community/Endora/PayLane/Model/Api/Payment/Sofort.php
CHANGED
|
@@ -37,14 +37,8 @@ class Endora_PayLane_Model_Api_Payment_Sofort extends Endora_PayLane_Model_Api_P
|
|
| 37 |
$errorText = (!empty($result['error']['error_description'])) ? $result['error']['error_description'] : '';
|
| 38 |
}
|
| 39 |
$comment = $helper->__('There was an error in payment process via PayLane module (Error code: %s, Error text: %s)', $errorCode, $errorText);
|
| 40 |
-
$
|
| 41 |
-
|
| 42 |
-
$helper->log('order data changing: ');
|
| 43 |
-
$helper->log('order status: ' .$orderStatus);
|
| 44 |
-
$helper->log('order state: ' .$state);
|
| 45 |
-
$helper->log('comment: ' . $comment);
|
| 46 |
-
|
| 47 |
-
$order->setState($state, $orderStatus, $comment, false);
|
| 48 |
$order->save();
|
| 49 |
}
|
| 50 |
|
| 37 |
$errorText = (!empty($result['error']['error_description'])) ? $result['error']['error_description'] : '';
|
| 38 |
}
|
| 39 |
$comment = $helper->__('There was an error in payment process via PayLane module (Error code: %s, Error text: %s)', $errorCode, $errorText);
|
| 40 |
+
$helper->setOrderState($order, $orderStatus, $comment);
|
| 41 |
+
// $order->setState($helper->getStateByStatus($orderStatus), $orderStatus, $comment, false);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
$order->save();
|
| 43 |
}
|
| 44 |
|
app/code/community/Endora/PayLane/Model/Observer.php
CHANGED
|
@@ -6,20 +6,6 @@
|
|
| 6 |
*/
|
| 7 |
class Endora_PayLane_Model_Observer {
|
| 8 |
|
| 9 |
-
/**
|
| 10 |
-
* Setting payment type parameters to be used in
|
| 11 |
-
* payment type model
|
| 12 |
-
*
|
| 13 |
-
* @param type $observer
|
| 14 |
-
*/
|
| 15 |
-
public function preparePaymentTypeFormData($observer)
|
| 16 |
-
{
|
| 17 |
-
$data = Mage::app()->getRequest()->getParams();
|
| 18 |
-
if(!empty($data['payment_params'])) {
|
| 19 |
-
Mage::getSingleton('checkout/session')->setData('payment_params', $data['payment_params']);
|
| 20 |
-
}
|
| 21 |
-
}
|
| 22 |
-
|
| 23 |
/**
|
| 24 |
* Cron job method that charge recurring profiles according
|
| 25 |
* to their settings
|
| 6 |
*/
|
| 7 |
class Endora_PayLane_Model_Observer {
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
/**
|
| 10 |
* Cron job method that charge recurring profiles according
|
| 11 |
* to their settings
|
app/code/community/Endora/PayLane/Model/Payment.php
CHANGED
|
@@ -262,7 +262,8 @@ class Endora_PayLane_Model_Payment extends Mage_Payment_Model_Method_Abstract
|
|
| 262 |
$orderItem->setPrice( $profile->getTaxAmount() + $profile->getBillingAmount() + $profile->getShippingAmount() );
|
| 263 |
|
| 264 |
$order = $profile->createOrder($orderItem);
|
| 265 |
-
$order
|
|
|
|
| 266 |
$transactionId = 'paylane-trans-' . uniqid();
|
| 267 |
$payment = $order->getPayment();
|
| 268 |
$payment->setTransactionId($transactionId)->setIsTransactionClosed(1);
|
| 262 |
$orderItem->setPrice( $profile->getTaxAmount() + $profile->getBillingAmount() + $profile->getShippingAmount() );
|
| 263 |
|
| 264 |
$order = $profile->createOrder($orderItem);
|
| 265 |
+
Mage::helper('paylane')->setOrderState($order, Mage_Sales_Model_Order::STATE_NEW);
|
| 266 |
+
// $order->setState(Mage_Sales_Model_Order::STATE_NEW);
|
| 267 |
$transactionId = 'paylane-trans-' . uniqid();
|
| 268 |
$payment = $order->getPayment();
|
| 269 |
$payment->setTransactionId($transactionId)->setIsTransactionClosed(1);
|
app/code/community/Endora/PayLane/Model/Resource/Setup.php
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* Setup resource class for setup scripts
|
| 4 |
-
*
|
| 5 |
-
* @author Michał Zabielski <michal.zabielski@endora.pl> http://www.endora.pl
|
| 6 |
-
*/
|
| 7 |
-
class Endora_PayLane_Model_Resource_Setup extends Mage_Sales_Model_Resource_Setup {
|
| 8 |
}
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Setup resource class for setup scripts
|
| 4 |
+
*
|
| 5 |
+
* @author Michał Zabielski <michal.zabielski@endora.pl> http://www.endora.pl
|
| 6 |
+
*/
|
| 7 |
+
class Endora_PayLane_Model_Resource_Setup extends Mage_Sales_Model_Resource_Setup {
|
| 8 |
}
|
app/code/community/Endora/PayLane/Model/Source/Order/Status.php
CHANGED
|
@@ -9,7 +9,7 @@ class Endora_PayLane_Model_Source_Order_Status
|
|
| 9 |
Mage_Sales_Model_Order::STATE_NEW,
|
| 10 |
Mage_Sales_Model_Order::STATE_PENDING_PAYMENT,
|
| 11 |
Mage_Sales_Model_Order::STATE_PROCESSING,
|
| 12 |
-
|
| 13 |
Mage_Sales_Model_Order::STATE_CLOSED,
|
| 14 |
Mage_Sales_Model_Order::STATE_CANCELED,
|
| 15 |
Mage_Sales_Model_Order::STATE_HOLDED,
|
| 9 |
Mage_Sales_Model_Order::STATE_NEW,
|
| 10 |
Mage_Sales_Model_Order::STATE_PENDING_PAYMENT,
|
| 11 |
Mage_Sales_Model_Order::STATE_PROCESSING,
|
| 12 |
+
Mage_Sales_Model_Order::STATE_COMPLETE,
|
| 13 |
Mage_Sales_Model_Order::STATE_CLOSED,
|
| 14 |
Mage_Sales_Model_Order::STATE_CANCELED,
|
| 15 |
Mage_Sales_Model_Order::STATE_HOLDED,
|
app/code/community/Endora/PayLane/controllers/NotificationController.php
CHANGED
|
@@ -29,14 +29,16 @@ class Endora_PayLane_NotificationController extends Mage_Core_Controller_Front_A
|
|
| 29 |
&& $order->getStatus() != $helper->getPerformedOrderStatus()) {
|
| 30 |
$orderStatus = $helper->getPerformedOrderStatus();
|
| 31 |
$comment = $helper->__('Order status changed via PayLane module');
|
| 32 |
-
$
|
|
|
|
| 33 |
$order->save();
|
| 34 |
$this->_log('Changed order status to: ' . $orderStatus . ', ('.Endora_PayLane_Model_Payment::PAYMENT_STATUS_PERFORMED.' in PayLane)');
|
| 35 |
} else if($result['status'] == Endora_PayLane_Model_Payment::PAYMENT_STATUS_CLEARED
|
| 36 |
&& $order->getStatus() != $helper->getClearedOrderStatus()) {
|
| 37 |
$orderStatus = $helper->getClearedOrderStatus();
|
| 38 |
$comment = $helper->__('Order status changed via PayLane module');
|
| 39 |
-
$
|
|
|
|
| 40 |
$order->save();
|
| 41 |
$this->_log('Changed order status to: ' . $orderStatus . ', ('.Endora_PayLane_Model_Payment::PAYMENT_STATUS_CLEARED.' in PayLane)');
|
| 42 |
} else {
|
|
@@ -150,7 +152,8 @@ class Endora_PayLane_NotificationController extends Mage_Core_Controller_Front_A
|
|
| 150 |
case Endora_PayLane_Helper_Notification::NOTIFICATION_TYPE_SALE :
|
| 151 |
$orderStatus = $helper->getClearedOrderStatus();
|
| 152 |
$comment = $helper->__('Order status changed via PayLane module');
|
| 153 |
-
$
|
|
|
|
| 154 |
$order->save();
|
| 155 |
$this->_log('Changed order status to: ' . $orderStatus . ', ('.Endora_PayLane_Model_Payment::PAYMENT_STATUS_CLEARED.' in PayLane)');
|
| 156 |
break;
|
| 29 |
&& $order->getStatus() != $helper->getPerformedOrderStatus()) {
|
| 30 |
$orderStatus = $helper->getPerformedOrderStatus();
|
| 31 |
$comment = $helper->__('Order status changed via PayLane module');
|
| 32 |
+
$helper->setOrderState($order, $orderStatus, $comment);
|
| 33 |
+
// $order->setState($helper->getStateByStatus($orderStatus), $orderStatus, $comment, false);
|
| 34 |
$order->save();
|
| 35 |
$this->_log('Changed order status to: ' . $orderStatus . ', ('.Endora_PayLane_Model_Payment::PAYMENT_STATUS_PERFORMED.' in PayLane)');
|
| 36 |
} else if($result['status'] == Endora_PayLane_Model_Payment::PAYMENT_STATUS_CLEARED
|
| 37 |
&& $order->getStatus() != $helper->getClearedOrderStatus()) {
|
| 38 |
$orderStatus = $helper->getClearedOrderStatus();
|
| 39 |
$comment = $helper->__('Order status changed via PayLane module');
|
| 40 |
+
$helper->setOrderState($order, $orderStatus, $comment);
|
| 41 |
+
// $order->setState($helper->getStateByStatus($orderStatus), $orderStatus, $comment, false);
|
| 42 |
$order->save();
|
| 43 |
$this->_log('Changed order status to: ' . $orderStatus . ', ('.Endora_PayLane_Model_Payment::PAYMENT_STATUS_CLEARED.' in PayLane)');
|
| 44 |
} else {
|
| 152 |
case Endora_PayLane_Helper_Notification::NOTIFICATION_TYPE_SALE :
|
| 153 |
$orderStatus = $helper->getClearedOrderStatus();
|
| 154 |
$comment = $helper->__('Order status changed via PayLane module');
|
| 155 |
+
$helper->setOrderState($order, $orderStatus, $comment);
|
| 156 |
+
// $order->setState($helper->getStateByStatus($orderStatus), $orderStatus, $comment, false);
|
| 157 |
$order->save();
|
| 158 |
$this->_log('Changed order status to: ' . $orderStatus . ', ('.Endora_PayLane_Model_Payment::PAYMENT_STATUS_CLEARED.' in PayLane)');
|
| 159 |
break;
|
app/code/community/Endora/PayLane/controllers/PaymentController.php
CHANGED
|
@@ -10,9 +10,7 @@ class Endora_PayLane_PaymentController extends Mage_Core_Controller_Front_Action
|
|
| 10 |
* Controller for test purposes only
|
| 11 |
*/
|
| 12 |
public function indexAction()
|
| 13 |
-
{
|
| 14 |
-
$helper = Mage::helper('paylane');
|
| 15 |
-
|
| 16 |
echo 'PaymentController | indexAction() works!'; die;
|
| 17 |
}
|
| 18 |
|
|
@@ -24,7 +22,9 @@ class Endora_PayLane_PaymentController extends Mage_Core_Controller_Front_Action
|
|
| 24 |
->getLastRealOrderId();
|
| 25 |
$order = Mage::getModel('sales/order')
|
| 26 |
->loadByIncrementId($lastOrderId);
|
| 27 |
-
|
|
|
|
|
|
|
| 28 |
|
| 29 |
$helper->log('Receive request for order #' . $lastOrderId);
|
| 30 |
$helper->log('paymentType: ' . $paymentType);
|
|
@@ -32,18 +32,16 @@ class Endora_PayLane_PaymentController extends Mage_Core_Controller_Front_Action
|
|
| 32 |
if($paymentType == Endora_PayLane_Helper_Data::GATEWAY_TYPE_SECURE_FORM) {
|
| 33 |
$this->_redirect('paylane/payment/secureForm', array('_secure' => true));
|
| 34 |
} else {
|
| 35 |
-
$paymentParams
|
| 36 |
|
| 37 |
$helper->log('$paymentParams: ');
|
| 38 |
$helper->log($paymentParams);
|
| 39 |
|
| 40 |
-
Mage::getSingleton('checkout/session')->unsetData('payment_params');
|
| 41 |
$apiPayment = Mage::getModel('paylane/api_payment_' . $paymentType);
|
| 42 |
$result = $apiPayment->handlePayment($order, $paymentParams);
|
| 43 |
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
$this->_redirect($helper->getRedirectUrl(!$result), array('_secure' => true));
|
| 48 |
}
|
| 49 |
}
|
|
@@ -65,9 +63,6 @@ class Endora_PayLane_PaymentController extends Mage_Core_Controller_Front_Action
|
|
| 65 |
$payment = Mage::getModel('paylane/payment');
|
| 66 |
$params = $this->getRequest()->getParams();
|
| 67 |
|
| 68 |
-
$helper->log('Received response from PayLane:');
|
| 69 |
-
$helper->log($params);
|
| 70 |
-
|
| 71 |
$error = false;
|
| 72 |
$orderStatus = Mage_Sales_Model_Order::STATE_PENDING_PAYMENT;
|
| 73 |
$orderIncrementId = $params['description'];
|
|
@@ -105,14 +100,8 @@ class Endora_PayLane_PaymentController extends Mage_Core_Controller_Front_Action
|
|
| 105 |
$order->setPaylaneSaleId($transactionId);
|
| 106 |
}
|
| 107 |
|
| 108 |
-
$
|
| 109 |
-
|
| 110 |
-
$helper->log('order data changing: ');
|
| 111 |
-
$helper->log('order status: ' .$orderStatus);
|
| 112 |
-
$helper->log('order state: ' .$state);
|
| 113 |
-
$helper->log('comment: ' . $comment);
|
| 114 |
-
|
| 115 |
-
$order->setState($state, $orderStatus, $comment, false);
|
| 116 |
$order->save();
|
| 117 |
|
| 118 |
$this->_redirect($helper->getRedirectUrl($error), array('_secure' => true));
|
|
@@ -138,14 +127,13 @@ class Endora_PayLane_PaymentController extends Mage_Core_Controller_Front_Action
|
|
| 138 |
$success = false;
|
| 139 |
$paymentType = $order->getPayment()->getAdditionalInformation('paylane_payment_type');
|
| 140 |
|
| 141 |
-
$helper->log('Received response from PayLane:');
|
| 142 |
-
$helper->log($result);
|
| 143 |
-
|
| 144 |
$id = '';
|
| 145 |
if($result['status'] != Endora_PayLane_Model_Payment::PAYMENT_STATUS_ERROR) {
|
| 146 |
$id = $result['id_sale'];
|
| 147 |
}
|
| 148 |
|
|
|
|
|
|
|
| 149 |
if($payment->verifyResponseHash($result, $paymentType)) {
|
| 150 |
switch($result['status']) {
|
| 151 |
case Endora_PayLane_Model_Payment::PAYMENT_STATUS_CLEARED :
|
|
@@ -186,14 +174,8 @@ class Endora_PayLane_PaymentController extends Mage_Core_Controller_Front_Action
|
|
| 186 |
$comment = $helper->__('There was an error in payment process via PayLane module (hash verification failed)');
|
| 187 |
}
|
| 188 |
|
| 189 |
-
$
|
| 190 |
-
|
| 191 |
-
$helper->log('order data changing: ');
|
| 192 |
-
$helper->log('order status: ' .$orderStatus);
|
| 193 |
-
$helper->log('order state: ' .$state);
|
| 194 |
-
$helper->log('comment: ' . $comment);
|
| 195 |
-
|
| 196 |
-
$order->setState($state, $orderStatus, $comment, false);
|
| 197 |
$order->save();
|
| 198 |
|
| 199 |
$this->_redirect($helper->getRedirectUrl(!$success), array('_secure' => true));
|
| 10 |
* Controller for test purposes only
|
| 11 |
*/
|
| 12 |
public function indexAction()
|
| 13 |
+
{
|
|
|
|
|
|
|
| 14 |
echo 'PaymentController | indexAction() works!'; die;
|
| 15 |
}
|
| 16 |
|
| 22 |
->getLastRealOrderId();
|
| 23 |
$order = Mage::getModel('sales/order')
|
| 24 |
->loadByIncrementId($lastOrderId);
|
| 25 |
+
|
| 26 |
+
$paymentParams = $order->getPayment()->getAdditionalInformation();
|
| 27 |
+
$paymentType = $paymentParams['paylane_payment_type'];
|
| 28 |
|
| 29 |
$helper->log('Receive request for order #' . $lastOrderId);
|
| 30 |
$helper->log('paymentType: ' . $paymentType);
|
| 32 |
if($paymentType == Endora_PayLane_Helper_Data::GATEWAY_TYPE_SECURE_FORM) {
|
| 33 |
$this->_redirect('paylane/payment/secureForm', array('_secure' => true));
|
| 34 |
} else {
|
| 35 |
+
unset($paymentParams['paylane_payment_type']);
|
| 36 |
|
| 37 |
$helper->log('$paymentParams: ');
|
| 38 |
$helper->log($paymentParams);
|
| 39 |
|
|
|
|
| 40 |
$apiPayment = Mage::getModel('paylane/api_payment_' . $paymentType);
|
| 41 |
$result = $apiPayment->handlePayment($order, $paymentParams);
|
| 42 |
|
| 43 |
+
Mage::getSingleton('checkout/session')->unsetData('payment_params');
|
| 44 |
+
|
|
|
|
| 45 |
$this->_redirect($helper->getRedirectUrl(!$result), array('_secure' => true));
|
| 46 |
}
|
| 47 |
}
|
| 63 |
$payment = Mage::getModel('paylane/payment');
|
| 64 |
$params = $this->getRequest()->getParams();
|
| 65 |
|
|
|
|
|
|
|
|
|
|
| 66 |
$error = false;
|
| 67 |
$orderStatus = Mage_Sales_Model_Order::STATE_PENDING_PAYMENT;
|
| 68 |
$orderIncrementId = $params['description'];
|
| 100 |
$order->setPaylaneSaleId($transactionId);
|
| 101 |
}
|
| 102 |
|
| 103 |
+
$helper->setOrderState($order, $orderStatus, $comment);
|
| 104 |
+
// $order->setState($helper->getStateByStatus($orderStatus), $orderStatus, $comment, false);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
$order->save();
|
| 106 |
|
| 107 |
$this->_redirect($helper->getRedirectUrl($error), array('_secure' => true));
|
| 127 |
$success = false;
|
| 128 |
$paymentType = $order->getPayment()->getAdditionalInformation('paylane_payment_type');
|
| 129 |
|
|
|
|
|
|
|
|
|
|
| 130 |
$id = '';
|
| 131 |
if($result['status'] != Endora_PayLane_Model_Payment::PAYMENT_STATUS_ERROR) {
|
| 132 |
$id = $result['id_sale'];
|
| 133 |
}
|
| 134 |
|
| 135 |
+
// var_dump($result, $paymentType); die;
|
| 136 |
+
|
| 137 |
if($payment->verifyResponseHash($result, $paymentType)) {
|
| 138 |
switch($result['status']) {
|
| 139 |
case Endora_PayLane_Model_Payment::PAYMENT_STATUS_CLEARED :
|
| 174 |
$comment = $helper->__('There was an error in payment process via PayLane module (hash verification failed)');
|
| 175 |
}
|
| 176 |
|
| 177 |
+
$helper->setOrderState($order, $orderStatus, $comment);
|
| 178 |
+
// $order->setState($helper->getStateByStatus($orderStatus), $orderStatus, $comment, false);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 179 |
$order->save();
|
| 180 |
|
| 181 |
$this->_redirect($helper->getRedirectUrl(!$success), array('_secure' => true));
|
app/code/community/Endora/PayLane/etc/config.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<Endora_PayLane>
|
| 5 |
-
<version>0.1.
|
| 6 |
</Endora_PayLane>
|
| 7 |
</modules>
|
| 8 |
<global>
|
|
@@ -29,17 +29,6 @@
|
|
| 29 |
</setup>
|
| 30 |
</paylane_setup>
|
| 31 |
</resources>
|
| 32 |
-
<events>
|
| 33 |
-
<controller_action_predispatch_checkout_onepage_saveOrder>
|
| 34 |
-
<observers>
|
| 35 |
-
<endora_paylane_observer>
|
| 36 |
-
<type>singleton</type>
|
| 37 |
-
<class>paylane/observer</class>
|
| 38 |
-
<method>preparePaymentTypeFormData</method>
|
| 39 |
-
</endora_paylane_observer>
|
| 40 |
-
</observers>
|
| 41 |
-
</controller_action_predispatch_checkout_onepage_saveOrder>
|
| 42 |
-
</events>
|
| 43 |
<fieldsets>
|
| 44 |
<sales_convert_quote>
|
| 45 |
<paylane_sale_id>
|
|
@@ -154,7 +143,7 @@
|
|
| 154 |
<jobs>
|
| 155 |
<paylane_charge>
|
| 156 |
<schedule>
|
| 157 |
-
<cron_expr>*
|
| 158 |
</schedule>
|
| 159 |
<run>
|
| 160 |
<model>paylane/observer::handleRecurringProfileCron</model>
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<Endora_PayLane>
|
| 5 |
+
<version>0.1.2</version>
|
| 6 |
</Endora_PayLane>
|
| 7 |
</modules>
|
| 8 |
<global>
|
| 29 |
</setup>
|
| 30 |
</paylane_setup>
|
| 31 |
</resources>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
<fieldsets>
|
| 33 |
<sales_convert_quote>
|
| 34 |
<paylane_sale_id>
|
| 143 |
<jobs>
|
| 144 |
<paylane_charge>
|
| 145 |
<schedule>
|
| 146 |
+
<cron_expr>* 2 * * *</cron_expr>
|
| 147 |
</schedule>
|
| 148 |
<run>
|
| 149 |
<model>paylane/observer::handleRecurringProfileCron</model>
|
app/code/community/Endora/PayLane/etc/system.xml
CHANGED
|
@@ -1,601 +1,605 @@
|
|
| 1 |
-
<?xml version="1.0"?>
|
| 2 |
-
<config>
|
| 3 |
-
<sections>
|
| 4 |
-
<payment>
|
| 5 |
-
<groups>
|
| 6 |
-
<paylane translate="label" module="paylane">
|
| 7 |
-
<label>PayLane</label>
|
| 8 |
-
<tab>sales</tab>
|
| 9 |
-
<sort_order>100</sort_order>
|
| 10 |
-
<show_in_default>1</show_in_default>
|
| 11 |
-
<show_in_website>1</show_in_website>
|
| 12 |
-
<show_in_store>1</show_in_store>
|
| 13 |
-
<frontend_class>complex</frontend_class>
|
| 14 |
-
<frontend_model>adminhtml/system_config_form_fieldset</frontend_model>
|
| 15 |
-
<fields>
|
| 16 |
-
<active translate="label">
|
| 17 |
-
<label>Enable this solution</label>
|
| 18 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 19 |
-
<frontend_type>select</frontend_type>
|
| 20 |
-
<sort_order>10</sort_order>
|
| 21 |
-
<show_in_default>1</show_in_default>
|
| 22 |
-
<show_in_website>1</show_in_website>
|
| 23 |
-
<show_in_store>0</show_in_store>
|
| 24 |
-
</active>
|
| 25 |
-
<title translate="label">
|
| 26 |
-
<label>Title</label>
|
| 27 |
-
<frontend_type>text</frontend_type>
|
| 28 |
-
<sort_order>20</sort_order>
|
| 29 |
-
<show_in_default>1</show_in_default>
|
| 30 |
-
<show_in_website>1</show_in_website>
|
| 31 |
-
<show_in_store>1</show_in_store>
|
| 32 |
-
</title>
|
| 33 |
-
<sort_order translate="label">
|
| 34 |
-
<label>Sort order</label>
|
| 35 |
-
<frontend_type>text</frontend_type>
|
| 36 |
-
<sort_order>30</sort_order>
|
| 37 |
-
<show_in_default>1</show_in_default>
|
| 38 |
-
<show_in_website>1</show_in_website>
|
| 39 |
-
<show_in_store>1</show_in_store>
|
| 40 |
-
</sort_order>
|
| 41 |
-
<pending_order_status translate="label">
|
| 42 |
-
<label>Pending Order Status</label>
|
| 43 |
-
<frontend_type>select</frontend_type>
|
| 44 |
-
<source_model>paylane/source_order_status</source_model>
|
| 45 |
-
<sort_order>50</sort_order>
|
| 46 |
-
<show_in_default>1</show_in_default>
|
| 47 |
-
<show_in_website>1</show_in_website>
|
| 48 |
-
<show_in_store>0</show_in_store>
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
<
|
| 53 |
-
<
|
| 54 |
-
<
|
| 55 |
-
<
|
| 56 |
-
<
|
| 57 |
-
<
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
<
|
| 63 |
-
<
|
| 64 |
-
<
|
| 65 |
-
<
|
| 66 |
-
<
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
<
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
<
|
| 73 |
-
<
|
| 74 |
-
<
|
| 75 |
-
<
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
<
|
| 79 |
-
<
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
<
|
| 83 |
-
<
|
| 84 |
-
<
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
<
|
| 88 |
-
<
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
<
|
| 92 |
-
<
|
| 93 |
-
<
|
| 94 |
-
<
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
<
|
| 98 |
-
<
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
<
|
| 102 |
-
<
|
| 103 |
-
<
|
| 104 |
-
<
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
<
|
| 111 |
-
<
|
| 112 |
-
<
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
<
|
| 116 |
-
<
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
<
|
| 120 |
-
<
|
| 121 |
-
<
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
<
|
| 125 |
-
<
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
<
|
| 129 |
-
<
|
| 130 |
-
<
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
<
|
| 134 |
-
<
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
<
|
| 138 |
-
<
|
| 139 |
-
<
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
<
|
| 143 |
-
<
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
<
|
| 147 |
-
<
|
| 148 |
-
<
|
| 149 |
-
<
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
<
|
| 159 |
-
<
|
| 160 |
-
<
|
| 161 |
-
<
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
<
|
| 168 |
-
<
|
| 169 |
-
<
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
<
|
| 173 |
-
<
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
<
|
| 177 |
-
<
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
<
|
| 181 |
-
<
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
<
|
| 185 |
-
<
|
| 186 |
-
<
|
| 187 |
-
<
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
<
|
| 191 |
-
<
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
<
|
| 195 |
-
<
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
|
| 203 |
-
|
| 204 |
-
<
|
| 205 |
-
<
|
| 206 |
-
<
|
| 207 |
-
<
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
<
|
| 214 |
-
<
|
| 215 |
-
<
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
<
|
| 219 |
-
<
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
<
|
| 223 |
-
<
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
<
|
| 227 |
-
<
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
<
|
| 231 |
-
<
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
<
|
| 235 |
-
<
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
<
|
| 239 |
-
<
|
| 240 |
-
<
|
| 241 |
-
|
| 242 |
-
|
| 243 |
-
<
|
| 244 |
-
<
|
| 245 |
-
|
| 246 |
-
|
| 247 |
-
<
|
| 248 |
-
<
|
| 249 |
-
<
|
| 250 |
-
|
| 251 |
-
|
| 252 |
-
<
|
| 253 |
-
<
|
| 254 |
-
|
| 255 |
-
|
| 256 |
-
<
|
| 257 |
-
<
|
| 258 |
-
<
|
| 259 |
-
<
|
| 260 |
-
|
| 261 |
-
|
| 262 |
-
<
|
| 263 |
-
<
|
| 264 |
-
|
| 265 |
-
|
| 266 |
-
<
|
| 267 |
-
<
|
| 268 |
-
<
|
| 269 |
-
<
|
| 270 |
-
|
| 271 |
-
</
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
|
| 278 |
-
<
|
| 279 |
-
<
|
| 280 |
-
<
|
| 281 |
-
<
|
| 282 |
-
|
| 283 |
-
|
| 284 |
-
<
|
| 285 |
-
<
|
| 286 |
-
|
| 287 |
-
|
| 288 |
-
<
|
| 289 |
-
<
|
| 290 |
-
<
|
| 291 |
-
<
|
| 292 |
-
|
| 293 |
-
</
|
| 294 |
-
|
| 295 |
-
|
| 296 |
-
|
| 297 |
-
|
| 298 |
-
|
| 299 |
-
|
| 300 |
-
<
|
| 301 |
-
<
|
| 302 |
-
<
|
| 303 |
-
|
| 304 |
-
|
| 305 |
-
<
|
| 306 |
-
<
|
| 307 |
-
|
| 308 |
-
|
| 309 |
-
<
|
| 310 |
-
<
|
| 311 |
-
<
|
| 312 |
-
<
|
| 313 |
-
|
| 314 |
-
|
| 315 |
-
<
|
| 316 |
-
<
|
| 317 |
-
|
| 318 |
-
|
| 319 |
-
<
|
| 320 |
-
<
|
| 321 |
-
<
|
| 322 |
-
<
|
| 323 |
-
|
| 324 |
-
|
| 325 |
-
|
| 326 |
-
|
| 327 |
-
|
| 328 |
-
|
| 329 |
-
|
| 330 |
-
|
| 331 |
-
<
|
| 332 |
-
<
|
| 333 |
-
<
|
| 334 |
-
<
|
| 335 |
-
|
| 336 |
-
|
| 337 |
-
|
| 338 |
-
|
| 339 |
-
|
| 340 |
-
<
|
| 341 |
-
<
|
| 342 |
-
<
|
| 343 |
-
|
| 344 |
-
|
| 345 |
-
<
|
| 346 |
-
<
|
| 347 |
-
|
| 348 |
-
|
| 349 |
-
<
|
| 350 |
-
<
|
| 351 |
-
|
| 352 |
-
|
| 353 |
-
<
|
| 354 |
-
<
|
| 355 |
-
|
| 356 |
-
|
| 357 |
-
<
|
| 358 |
-
<
|
| 359 |
-
|
| 360 |
-
|
| 361 |
-
<
|
| 362 |
-
<
|
| 363 |
-
|
| 364 |
-
|
| 365 |
-
<
|
| 366 |
-
<
|
| 367 |
-
<
|
| 368 |
-
|
| 369 |
-
|
| 370 |
-
<
|
| 371 |
-
<
|
| 372 |
-
|
| 373 |
-
|
| 374 |
-
<
|
| 375 |
-
<
|
| 376 |
-
<
|
| 377 |
-
|
| 378 |
-
|
| 379 |
-
|
| 380 |
-
|
| 381 |
-
|
| 382 |
-
|
| 383 |
-
|
| 384 |
-
|
| 385 |
-
<
|
| 386 |
-
<
|
| 387 |
-
<
|
| 388 |
-
<
|
| 389 |
-
|
| 390 |
-
|
| 391 |
-
|
| 392 |
-
|
| 393 |
-
|
| 394 |
-
<
|
| 395 |
-
<
|
| 396 |
-
<
|
| 397 |
-
|
| 398 |
-
|
| 399 |
-
<
|
| 400 |
-
<
|
| 401 |
-
|
| 402 |
-
|
| 403 |
-
<
|
| 404 |
-
<
|
| 405 |
-
|
| 406 |
-
|
| 407 |
-
<
|
| 408 |
-
<
|
| 409 |
-
|
| 410 |
-
|
| 411 |
-
<
|
| 412 |
-
<
|
| 413 |
-
|
| 414 |
-
|
| 415 |
-
<
|
| 416 |
-
<
|
| 417 |
-
|
| 418 |
-
|
| 419 |
-
<
|
| 420 |
-
<
|
| 421 |
-
<
|
| 422 |
-
|
| 423 |
-
|
| 424 |
-
<
|
| 425 |
-
<
|
| 426 |
-
|
| 427 |
-
|
| 428 |
-
<
|
| 429 |
-
<
|
| 430 |
-
<
|
| 431 |
-
|
| 432 |
-
|
| 433 |
-
|
| 434 |
-
|
| 435 |
-
|
| 436 |
-
|
| 437 |
-
|
| 438 |
-
|
| 439 |
-
<
|
| 440 |
-
<
|
| 441 |
-
<
|
| 442 |
-
<
|
| 443 |
-
|
| 444 |
-
|
| 445 |
-
|
| 446 |
-
|
| 447 |
-
|
| 448 |
-
<
|
| 449 |
-
<
|
| 450 |
-
<
|
| 451 |
-
|
| 452 |
-
|
| 453 |
-
<
|
| 454 |
-
<
|
| 455 |
-
|
| 456 |
-
|
| 457 |
-
<
|
| 458 |
-
<
|
| 459 |
-
|
| 460 |
-
|
| 461 |
-
<
|
| 462 |
-
<
|
| 463 |
-
|
| 464 |
-
|
| 465 |
-
<
|
| 466 |
-
<
|
| 467 |
-
|
| 468 |
-
|
| 469 |
-
<
|
| 470 |
-
<
|
| 471 |
-
|
| 472 |
-
|
| 473 |
-
<
|
| 474 |
-
<
|
| 475 |
-
<
|
| 476 |
-
|
| 477 |
-
|
| 478 |
-
<
|
| 479 |
-
<
|
| 480 |
-
|
| 481 |
-
|
| 482 |
-
<
|
| 483 |
-
<
|
| 484 |
-
<
|
| 485 |
-
|
| 486 |
-
|
| 487 |
-
|
| 488 |
-
|
| 489 |
-
|
| 490 |
-
|
| 491 |
-
|
| 492 |
-
|
| 493 |
-
<
|
| 494 |
-
<
|
| 495 |
-
<
|
| 496 |
-
<
|
| 497 |
-
|
| 498 |
-
|
| 499 |
-
|
| 500 |
-
|
| 501 |
-
|
| 502 |
-
<
|
| 503 |
-
<
|
| 504 |
-
<
|
| 505 |
-
|
| 506 |
-
|
| 507 |
-
<
|
| 508 |
-
<
|
| 509 |
-
|
| 510 |
-
|
| 511 |
-
<
|
| 512 |
-
<
|
| 513 |
-
|
| 514 |
-
|
| 515 |
-
<
|
| 516 |
-
<
|
| 517 |
-
|
| 518 |
-
|
| 519 |
-
<
|
| 520 |
-
<
|
| 521 |
-
|
| 522 |
-
|
| 523 |
-
<
|
| 524 |
-
<
|
| 525 |
-
|
| 526 |
-
|
| 527 |
-
<
|
| 528 |
-
<
|
| 529 |
-
<
|
| 530 |
-
|
| 531 |
-
|
| 532 |
-
<
|
| 533 |
-
<
|
| 534 |
-
|
| 535 |
-
|
| 536 |
-
<
|
| 537 |
-
<
|
| 538 |
-
<
|
| 539 |
-
|
| 540 |
-
|
| 541 |
-
|
| 542 |
-
|
| 543 |
-
|
| 544 |
-
|
| 545 |
-
|
| 546 |
-
|
| 547 |
-
<
|
| 548 |
-
<
|
| 549 |
-
<
|
| 550 |
-
<
|
| 551 |
-
|
| 552 |
-
|
| 553 |
-
|
| 554 |
-
|
| 555 |
-
|
| 556 |
-
<
|
| 557 |
-
<
|
| 558 |
-
<
|
| 559 |
-
|
| 560 |
-
|
| 561 |
-
<
|
| 562 |
-
<
|
| 563 |
-
|
| 564 |
-
|
| 565 |
-
<
|
| 566 |
-
<
|
| 567 |
-
|
| 568 |
-
|
| 569 |
-
<
|
| 570 |
-
<
|
| 571 |
-
|
| 572 |
-
|
| 573 |
-
<
|
| 574 |
-
<
|
| 575 |
-
|
| 576 |
-
|
| 577 |
-
<
|
| 578 |
-
<
|
| 579 |
-
|
| 580 |
-
|
| 581 |
-
<
|
| 582 |
-
<
|
| 583 |
-
<
|
| 584 |
-
|
| 585 |
-
|
| 586 |
-
<
|
| 587 |
-
<
|
| 588 |
-
|
| 589 |
-
|
| 590 |
-
<
|
| 591 |
-
<
|
| 592 |
-
<
|
| 593 |
-
|
| 594 |
-
|
| 595 |
-
|
| 596 |
-
|
| 597 |
-
|
| 598 |
-
|
| 599 |
-
|
| 600 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 601 |
</config>
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<config>
|
| 3 |
+
<sections>
|
| 4 |
+
<payment>
|
| 5 |
+
<groups>
|
| 6 |
+
<paylane translate="label" module="paylane">
|
| 7 |
+
<label>PayLane</label>
|
| 8 |
+
<tab>sales</tab>
|
| 9 |
+
<sort_order>100</sort_order>
|
| 10 |
+
<show_in_default>1</show_in_default>
|
| 11 |
+
<show_in_website>1</show_in_website>
|
| 12 |
+
<show_in_store>1</show_in_store>
|
| 13 |
+
<frontend_class>complex</frontend_class>
|
| 14 |
+
<frontend_model>adminhtml/system_config_form_fieldset</frontend_model>
|
| 15 |
+
<fields>
|
| 16 |
+
<active translate="label">
|
| 17 |
+
<label>Enable this solution</label>
|
| 18 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 19 |
+
<frontend_type>select</frontend_type>
|
| 20 |
+
<sort_order>10</sort_order>
|
| 21 |
+
<show_in_default>1</show_in_default>
|
| 22 |
+
<show_in_website>1</show_in_website>
|
| 23 |
+
<show_in_store>0</show_in_store>
|
| 24 |
+
</active>
|
| 25 |
+
<title translate="label">
|
| 26 |
+
<label>Title</label>
|
| 27 |
+
<frontend_type>text</frontend_type>
|
| 28 |
+
<sort_order>20</sort_order>
|
| 29 |
+
<show_in_default>1</show_in_default>
|
| 30 |
+
<show_in_website>1</show_in_website>
|
| 31 |
+
<show_in_store>1</show_in_store>
|
| 32 |
+
</title>
|
| 33 |
+
<sort_order translate="label">
|
| 34 |
+
<label>Sort order</label>
|
| 35 |
+
<frontend_type>text</frontend_type>
|
| 36 |
+
<sort_order>30</sort_order>
|
| 37 |
+
<show_in_default>1</show_in_default>
|
| 38 |
+
<show_in_website>1</show_in_website>
|
| 39 |
+
<show_in_store>1</show_in_store>
|
| 40 |
+
</sort_order>
|
| 41 |
+
<pending_order_status translate="label">
|
| 42 |
+
<label>Pending Order Status</label>
|
| 43 |
+
<frontend_type>select</frontend_type>
|
| 44 |
+
<source_model>paylane/source_order_status</source_model>
|
| 45 |
+
<sort_order>50</sort_order>
|
| 46 |
+
<show_in_default>1</show_in_default>
|
| 47 |
+
<show_in_website>1</show_in_website>
|
| 48 |
+
<show_in_store>0</show_in_store>
|
| 49 |
+
<comment><![CDATA[<span style="color: red; font-weight: bold;">WARNING:</span> Using "Complete" status will cause in creating invoice and shipment automatically!]]></comment>
|
| 50 |
+
</pending_order_status>
|
| 51 |
+
<performed_order_status translate="label">
|
| 52 |
+
<label>Performed Order Status</label>
|
| 53 |
+
<frontend_type>select</frontend_type>
|
| 54 |
+
<source_model>paylane/source_order_status</source_model>
|
| 55 |
+
<sort_order>60</sort_order>
|
| 56 |
+
<show_in_default>1</show_in_default>
|
| 57 |
+
<show_in_website>1</show_in_website>
|
| 58 |
+
<show_in_store>0</show_in_store>
|
| 59 |
+
<comment><![CDATA[<span style="color: red; font-weight: bold;">WARNING:</span> Using "Complete" status will cause in creating invoice and shipment automatically!]]></comment>
|
| 60 |
+
</performed_order_status>
|
| 61 |
+
<cleared_order_status translate="label">
|
| 62 |
+
<label>Cleared Order Status</label>
|
| 63 |
+
<frontend_type>select</frontend_type>
|
| 64 |
+
<source_model>paylane/source_order_status</source_model>
|
| 65 |
+
<sort_order>70</sort_order>
|
| 66 |
+
<show_in_default>1</show_in_default>
|
| 67 |
+
<show_in_website>1</show_in_website>
|
| 68 |
+
<show_in_store>0</show_in_store>
|
| 69 |
+
<comment><![CDATA[<span style="color: red; font-weight: bold;">WARNING:</span> Using "Complete" status will cause in creating invoice and shipment automatically!]]></comment>
|
| 70 |
+
</cleared_order_status>
|
| 71 |
+
<error_order_status translate="label">
|
| 72 |
+
<label>Error Order Status</label>
|
| 73 |
+
<frontend_type>select</frontend_type>
|
| 74 |
+
<source_model>paylane/source_order_status</source_model>
|
| 75 |
+
<sort_order>80</sort_order>
|
| 76 |
+
<show_in_default>1</show_in_default>
|
| 77 |
+
<show_in_website>1</show_in_website>
|
| 78 |
+
<show_in_store>0</show_in_store>
|
| 79 |
+
<comment><![CDATA[<span style="color: red; font-weight: bold;">WARNING:</span> Using "Complete" status will cause in creating invoice and shipment automatically!]]></comment>
|
| 80 |
+
</error_order_status>
|
| 81 |
+
<redirect_version translate="label">
|
| 82 |
+
<label>Redirect version</label>
|
| 83 |
+
<source_model>paylane/source_redirect_version</source_model>
|
| 84 |
+
<frontend_type>select</frontend_type>
|
| 85 |
+
<sort_order>90</sort_order>
|
| 86 |
+
<show_in_default>1</show_in_default>
|
| 87 |
+
<show_in_website>1</show_in_website>
|
| 88 |
+
<show_in_store>0</show_in_store>
|
| 89 |
+
</redirect_version>
|
| 90 |
+
<enable_log translate="label comment">
|
| 91 |
+
<label>Enable logging</label>
|
| 92 |
+
<comment><![CDATA[Log will be able in /var/log/paylane.log]]></comment>
|
| 93 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 94 |
+
<frontend_type>select</frontend_type>
|
| 95 |
+
<sort_order>95</sort_order>
|
| 96 |
+
<show_in_default>1</show_in_default>
|
| 97 |
+
<show_in_website>1</show_in_website>
|
| 98 |
+
<show_in_store>0</show_in_store>
|
| 99 |
+
</enable_log>
|
| 100 |
+
<paylane_notifications type="group" translate="label comment">
|
| 101 |
+
<label>Notifications settings</label>
|
| 102 |
+
<frontend_type>text</frontend_type>
|
| 103 |
+
<show_in_default>1</show_in_default>
|
| 104 |
+
<show_in_website>1</show_in_website>
|
| 105 |
+
<show_in_store>1</show_in_store>
|
| 106 |
+
<sort_order>100</sort_order>
|
| 107 |
+
<group>paylane</group>
|
| 108 |
+
<fields>
|
| 109 |
+
<notifications_url translate="label comment">
|
| 110 |
+
<label>URL that handles automatic notifications</label>
|
| 111 |
+
<comment>If you want to handle automatic notifications in your store, you have to inform PayLane support about that URL</comment>
|
| 112 |
+
<frontend_model>paylane/adminhtml_notification_url</frontend_model>
|
| 113 |
+
<sort_order>10</sort_order>
|
| 114 |
+
<show_in_default>1</show_in_default>
|
| 115 |
+
<show_in_website>1</show_in_website>
|
| 116 |
+
<show_in_store>0</show_in_store>
|
| 117 |
+
</notifications_url>
|
| 118 |
+
<notifications_token translate="label comment">
|
| 119 |
+
<label>Notification Token</label>
|
| 120 |
+
<comment><![CDATA[Optional, can be configured in <a href="http://merchant.paylane.com" target="_blank">Merchant Panel</a>]]></comment>
|
| 121 |
+
<frontend_type>text</frontend_type>
|
| 122 |
+
<sort_order>25</sort_order>
|
| 123 |
+
<show_in_default>1</show_in_default>
|
| 124 |
+
<show_in_website>1</show_in_website>
|
| 125 |
+
<show_in_store>0</show_in_store>
|
| 126 |
+
</notifications_token>
|
| 127 |
+
<username translate="label comment" module="paylane">
|
| 128 |
+
<label>Notification username</label>
|
| 129 |
+
<comment><![CDATA[Optional, can be configured in <a href="http://merchant.paylane.com" target="_blank">Merchant Panel</a>]]></comment>
|
| 130 |
+
<frontend_type>text</frontend_type>
|
| 131 |
+
<sort_order>30</sort_order>
|
| 132 |
+
<show_in_default>1</show_in_default>
|
| 133 |
+
<show_in_website>1</show_in_website>
|
| 134 |
+
<show_in_store>0</show_in_store>
|
| 135 |
+
</username>
|
| 136 |
+
<password translate="label comment">
|
| 137 |
+
<label>Notification password</label>
|
| 138 |
+
<comment><![CDATA[Optional, can be configured in <a href="http://merchant.paylane.com" target="_blank">Merchant Panel</a>]]></comment>
|
| 139 |
+
<frontend_type>text</frontend_type>
|
| 140 |
+
<sort_order>40</sort_order>
|
| 141 |
+
<show_in_default>1</show_in_default>
|
| 142 |
+
<show_in_website>1</show_in_website>
|
| 143 |
+
<show_in_store>0</show_in_store>
|
| 144 |
+
</password>
|
| 145 |
+
<enable_log translate="label comment">
|
| 146 |
+
<label>Enable logging</label>
|
| 147 |
+
<comment><![CDATA[Log will be able in /var/log/paylane-notifications.log]]></comment>
|
| 148 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 149 |
+
<frontend_type>select</frontend_type>
|
| 150 |
+
<sort_order>100</sort_order>
|
| 151 |
+
<show_in_default>1</show_in_default>
|
| 152 |
+
<show_in_website>1</show_in_website>
|
| 153 |
+
<show_in_store>0</show_in_store>
|
| 154 |
+
</enable_log>
|
| 155 |
+
</fields>
|
| 156 |
+
</paylane_notifications>
|
| 157 |
+
<paylane_secureform type="group" translate="label comment">
|
| 158 |
+
<label>SecureForm</label>
|
| 159 |
+
<frontend_type>text</frontend_type>
|
| 160 |
+
<show_in_default>1</show_in_default>
|
| 161 |
+
<show_in_website>1</show_in_website>
|
| 162 |
+
<show_in_store>1</show_in_store>
|
| 163 |
+
<sort_order>200</sort_order>
|
| 164 |
+
<group>paylane</group>
|
| 165 |
+
<fields>
|
| 166 |
+
<active translate="label">
|
| 167 |
+
<label>Enable this solution</label>
|
| 168 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 169 |
+
<frontend_type>select</frontend_type>
|
| 170 |
+
<sort_order>10</sort_order>
|
| 171 |
+
<show_in_default>1</show_in_default>
|
| 172 |
+
<show_in_website>1</show_in_website>
|
| 173 |
+
<show_in_store>0</show_in_store>
|
| 174 |
+
</active>
|
| 175 |
+
<merchant_id translate="label">
|
| 176 |
+
<label>Merchant ID</label>
|
| 177 |
+
<frontend_type>text</frontend_type>
|
| 178 |
+
<sort_order>30</sort_order>
|
| 179 |
+
<show_in_default>1</show_in_default>
|
| 180 |
+
<show_in_website>1</show_in_website>
|
| 181 |
+
<show_in_store>0</show_in_store>
|
| 182 |
+
</merchant_id>
|
| 183 |
+
<send_customer_data translate="label comment">
|
| 184 |
+
<label>Send Customer Data</label>
|
| 185 |
+
<comment>Send additional customer data while redirecting to SecureForm</comment>
|
| 186 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 187 |
+
<frontend_type>select</frontend_type>
|
| 188 |
+
<sort_order>140</sort_order>
|
| 189 |
+
<show_in_default>1</show_in_default>
|
| 190 |
+
<show_in_website>1</show_in_website>
|
| 191 |
+
<show_in_store>0</show_in_store>
|
| 192 |
+
</send_customer_data>
|
| 193 |
+
<hash_salt translate="label">
|
| 194 |
+
<label>Hash salt</label>
|
| 195 |
+
<frontend_type>text</frontend_type>
|
| 196 |
+
<sort_order>20</sort_order>
|
| 197 |
+
<show_in_default>1</show_in_default>
|
| 198 |
+
<show_in_website>1</show_in_website>
|
| 199 |
+
<show_in_store>0</show_in_store>
|
| 200 |
+
</hash_salt>
|
| 201 |
+
</fields>
|
| 202 |
+
</paylane_secureform>
|
| 203 |
+
<paylane_creditcard type="group" translate="label comment">
|
| 204 |
+
<label>Credit card</label>
|
| 205 |
+
<frontend_type>text</frontend_type>
|
| 206 |
+
<show_in_default>1</show_in_default>
|
| 207 |
+
<show_in_website>1</show_in_website>
|
| 208 |
+
<show_in_store>1</show_in_store>
|
| 209 |
+
<sort_order>300</sort_order>
|
| 210 |
+
<group>paylane</group>
|
| 211 |
+
<fields>
|
| 212 |
+
<active translate="label">
|
| 213 |
+
<label>Enable this solution</label>
|
| 214 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 215 |
+
<frontend_type>select</frontend_type>
|
| 216 |
+
<sort_order>10</sort_order>
|
| 217 |
+
<show_in_default>1</show_in_default>
|
| 218 |
+
<show_in_website>1</show_in_website>
|
| 219 |
+
<show_in_store>0</show_in_store>
|
| 220 |
+
</active>
|
| 221 |
+
<title translate="label">
|
| 222 |
+
<label>Title</label>
|
| 223 |
+
<frontend_type>text</frontend_type>
|
| 224 |
+
<sort_order>20</sort_order>
|
| 225 |
+
<show_in_default>1</show_in_default>
|
| 226 |
+
<show_in_website>1</show_in_website>
|
| 227 |
+
<show_in_store>1</show_in_store>
|
| 228 |
+
</title>
|
| 229 |
+
<hash_salt translate="label">
|
| 230 |
+
<label>Hash salt</label>
|
| 231 |
+
<frontend_type>text</frontend_type>
|
| 232 |
+
<sort_order>25</sort_order>
|
| 233 |
+
<show_in_default>1</show_in_default>
|
| 234 |
+
<show_in_website>1</show_in_website>
|
| 235 |
+
<show_in_store>0</show_in_store>
|
| 236 |
+
</hash_salt>
|
| 237 |
+
<username translate="label comment" module="paylane">
|
| 238 |
+
<label>Username</label>
|
| 239 |
+
<comment><![CDATA[Get from <a href="http://merchant.paylane.com" target="_blank">http://merchant.paylane.com</a>]]></comment>
|
| 240 |
+
<frontend_type>text</frontend_type>
|
| 241 |
+
<sort_order>30</sort_order>
|
| 242 |
+
<show_in_default>1</show_in_default>
|
| 243 |
+
<show_in_website>1</show_in_website>
|
| 244 |
+
<show_in_store>0</show_in_store>
|
| 245 |
+
</username>
|
| 246 |
+
<password translate="label comment">
|
| 247 |
+
<label>Password</label>
|
| 248 |
+
<comment><![CDATA[Get from <a href="http://merchant.paylane.com" target="_blank">http://merchant.paylane.com</a>]]></comment>
|
| 249 |
+
<frontend_type>text</frontend_type>
|
| 250 |
+
<sort_order>40</sort_order>
|
| 251 |
+
<show_in_default>1</show_in_default>
|
| 252 |
+
<show_in_website>1</show_in_website>
|
| 253 |
+
<show_in_store>0</show_in_store>
|
| 254 |
+
</password>
|
| 255 |
+
<fraud_check_overwrite translate="label comment">
|
| 256 |
+
<label>Overwrite Fraud check?</label>
|
| 257 |
+
<comment><![CDATA[Be sure that you can do a overwrite - you can check it in your <a href="http://merchant.paylane.com" target="_blank">Merchant Panel</a>]]></comment>
|
| 258 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 259 |
+
<frontend_type>select</frontend_type>
|
| 260 |
+
<sort_order>55</sort_order>
|
| 261 |
+
<show_in_default>1</show_in_default>
|
| 262 |
+
<show_in_website>1</show_in_website>
|
| 263 |
+
<show_in_store>0</show_in_store>
|
| 264 |
+
</fraud_check_overwrite>
|
| 265 |
+
<fraud_check translate="label">
|
| 266 |
+
<label>Fraud check</label>
|
| 267 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 268 |
+
<frontend_type>select</frontend_type>
|
| 269 |
+
<sort_order>60</sort_order>
|
| 270 |
+
<show_in_default>1</show_in_default>
|
| 271 |
+
<show_in_website>1</show_in_website>
|
| 272 |
+
<show_in_store>0</show_in_store>
|
| 273 |
+
<depends>
|
| 274 |
+
<fraud_check_overwrite>1</fraud_check_overwrite>
|
| 275 |
+
</depends>
|
| 276 |
+
</fraud_check>
|
| 277 |
+
<avs_check_overwrite translate="label comment">
|
| 278 |
+
<label>Overwrite AVS check level?</label>
|
| 279 |
+
<comment><![CDATA[Be sure that you can do a overwrite - you can check it in your <a href="http://merchant.paylane.com" target="_blank">Merchant Panel</a>]]></comment>
|
| 280 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 281 |
+
<frontend_type>select</frontend_type>
|
| 282 |
+
<sort_order>65</sort_order>
|
| 283 |
+
<show_in_default>1</show_in_default>
|
| 284 |
+
<show_in_website>1</show_in_website>
|
| 285 |
+
<show_in_store>0</show_in_store>
|
| 286 |
+
</avs_check_overwrite>
|
| 287 |
+
<avs_check_level translate="label">
|
| 288 |
+
<label>AVS check level</label>
|
| 289 |
+
<source_model>paylane/source_avs_check_level</source_model>
|
| 290 |
+
<frontend_type>select</frontend_type>
|
| 291 |
+
<sort_order>70</sort_order>
|
| 292 |
+
<show_in_default>1</show_in_default>
|
| 293 |
+
<show_in_website>1</show_in_website>
|
| 294 |
+
<show_in_store>0</show_in_store>
|
| 295 |
+
<depends>
|
| 296 |
+
<avs_check_overwrite>1</avs_check_overwrite>
|
| 297 |
+
</depends>
|
| 298 |
+
</avs_check_level>
|
| 299 |
+
<ds3_check translate="label">
|
| 300 |
+
<label>3DS check</label>
|
| 301 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 302 |
+
<frontend_type>select</frontend_type>
|
| 303 |
+
<sort_order>80</sort_order>
|
| 304 |
+
<show_in_default>1</show_in_default>
|
| 305 |
+
<show_in_website>1</show_in_website>
|
| 306 |
+
<show_in_store>0</show_in_store>
|
| 307 |
+
</ds3_check>
|
| 308 |
+
<authorization_amount translate="label comment">
|
| 309 |
+
<label>Blocked amount in authorization process</label>
|
| 310 |
+
<comment>Set in default store currency</comment>
|
| 311 |
+
<frontend_type>text</frontend_type>
|
| 312 |
+
<validate>validate-number</validate>
|
| 313 |
+
<sort_order>80</sort_order>
|
| 314 |
+
<show_in_default>1</show_in_default>
|
| 315 |
+
<show_in_website>1</show_in_website>
|
| 316 |
+
<show_in_store>0</show_in_store>
|
| 317 |
+
</authorization_amount>
|
| 318 |
+
<single_click_active translate="label comment">
|
| 319 |
+
<label>Enable Single-click payment</label>
|
| 320 |
+
<comment><![CDATA[More info about Single click available at <a href="http://devzone.paylane.pl/api/karty/platnosci-single-click/" target="_blank">http://devzone.paylane.pl/api/karty/platnosci-single-click/</a>]]></comment>
|
| 321 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 322 |
+
<frontend_type>select</frontend_type>
|
| 323 |
+
<sort_order>80</sort_order>
|
| 324 |
+
<show_in_default>1</show_in_default>
|
| 325 |
+
<show_in_website>1</show_in_website>
|
| 326 |
+
<show_in_store>0</show_in_store>
|
| 327 |
+
</single_click_active>
|
| 328 |
+
</fields>
|
| 329 |
+
</paylane_creditcard>
|
| 330 |
+
<paylane_banktransfer type="group" translate="label comment">
|
| 331 |
+
<label>Bank transfer</label>
|
| 332 |
+
<frontend_type>text</frontend_type>
|
| 333 |
+
<show_in_default>1</show_in_default>
|
| 334 |
+
<show_in_website>1</show_in_website>
|
| 335 |
+
<show_in_store>1</show_in_store>
|
| 336 |
+
<sort_order>400</sort_order>
|
| 337 |
+
<group>paylane</group>
|
| 338 |
+
<fields>
|
| 339 |
+
<active translate="label">
|
| 340 |
+
<label>Enable this solution</label>
|
| 341 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 342 |
+
<frontend_type>select</frontend_type>
|
| 343 |
+
<sort_order>10</sort_order>
|
| 344 |
+
<show_in_default>1</show_in_default>
|
| 345 |
+
<show_in_website>1</show_in_website>
|
| 346 |
+
<show_in_store>0</show_in_store>
|
| 347 |
+
</active>
|
| 348 |
+
<title translate="label">
|
| 349 |
+
<label>Title</label>
|
| 350 |
+
<frontend_type>text</frontend_type>
|
| 351 |
+
<sort_order>20</sort_order>
|
| 352 |
+
<show_in_default>1</show_in_default>
|
| 353 |
+
<show_in_website>1</show_in_website>
|
| 354 |
+
<show_in_store>1</show_in_store>
|
| 355 |
+
</title>
|
| 356 |
+
<hash_salt translate="label">
|
| 357 |
+
<label>Hash salt</label>
|
| 358 |
+
<frontend_type>text</frontend_type>
|
| 359 |
+
<sort_order>25</sort_order>
|
| 360 |
+
<show_in_default>1</show_in_default>
|
| 361 |
+
<show_in_website>1</show_in_website>
|
| 362 |
+
<show_in_store>0</show_in_store>
|
| 363 |
+
</hash_salt>
|
| 364 |
+
<username translate="label comment" module="paylane">
|
| 365 |
+
<label>API Username</label>
|
| 366 |
+
<comment><![CDATA[Get from <a href="http://merchant.paylane.com" target="_blank">http://merchant.paylane.com</a>]]></comment>
|
| 367 |
+
<frontend_type>text</frontend_type>
|
| 368 |
+
<sort_order>30</sort_order>
|
| 369 |
+
<show_in_default>1</show_in_default>
|
| 370 |
+
<show_in_website>1</show_in_website>
|
| 371 |
+
<show_in_store>0</show_in_store>
|
| 372 |
+
</username>
|
| 373 |
+
<password translate="label comment">
|
| 374 |
+
<label>API Password</label>
|
| 375 |
+
<comment><![CDATA[Get from <a href="http://merchant.paylane.com" target="_blank">http://merchant.paylane.com</a>]]></comment>
|
| 376 |
+
<frontend_type>text</frontend_type>
|
| 377 |
+
<sort_order>40</sort_order>
|
| 378 |
+
<show_in_default>1</show_in_default>
|
| 379 |
+
<show_in_website>1</show_in_website>
|
| 380 |
+
<show_in_store>0</show_in_store>
|
| 381 |
+
</password>
|
| 382 |
+
</fields>
|
| 383 |
+
</paylane_banktransfer>
|
| 384 |
+
<paylane_paypal type="group" translate="label comment">
|
| 385 |
+
<label>PayPal</label>
|
| 386 |
+
<frontend_type>text</frontend_type>
|
| 387 |
+
<show_in_default>1</show_in_default>
|
| 388 |
+
<show_in_website>1</show_in_website>
|
| 389 |
+
<show_in_store>1</show_in_store>
|
| 390 |
+
<sort_order>500</sort_order>
|
| 391 |
+
<group>paylane</group>
|
| 392 |
+
<fields>
|
| 393 |
+
<active translate="label">
|
| 394 |
+
<label>Enable this solution</label>
|
| 395 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 396 |
+
<frontend_type>select</frontend_type>
|
| 397 |
+
<sort_order>10</sort_order>
|
| 398 |
+
<show_in_default>1</show_in_default>
|
| 399 |
+
<show_in_website>1</show_in_website>
|
| 400 |
+
<show_in_store>0</show_in_store>
|
| 401 |
+
</active>
|
| 402 |
+
<title translate="label">
|
| 403 |
+
<label>Title</label>
|
| 404 |
+
<frontend_type>text</frontend_type>
|
| 405 |
+
<sort_order>20</sort_order>
|
| 406 |
+
<show_in_default>1</show_in_default>
|
| 407 |
+
<show_in_website>1</show_in_website>
|
| 408 |
+
<show_in_store>1</show_in_store>
|
| 409 |
+
</title>
|
| 410 |
+
<hash_salt translate="label">
|
| 411 |
+
<label>Hash salt</label>
|
| 412 |
+
<frontend_type>text</frontend_type>
|
| 413 |
+
<sort_order>25</sort_order>
|
| 414 |
+
<show_in_default>1</show_in_default>
|
| 415 |
+
<show_in_website>1</show_in_website>
|
| 416 |
+
<show_in_store>0</show_in_store>
|
| 417 |
+
</hash_salt>
|
| 418 |
+
<username translate="label comment" module="paylane">
|
| 419 |
+
<label>API Username</label>
|
| 420 |
+
<comment><![CDATA[Get from <a href="http://merchant.paylane.com" target="_blank">http://merchant.paylane.com</a>]]></comment>
|
| 421 |
+
<frontend_type>text</frontend_type>
|
| 422 |
+
<sort_order>30</sort_order>
|
| 423 |
+
<show_in_default>1</show_in_default>
|
| 424 |
+
<show_in_website>1</show_in_website>
|
| 425 |
+
<show_in_store>0</show_in_store>
|
| 426 |
+
</username>
|
| 427 |
+
<password translate="label comment">
|
| 428 |
+
<label>API Password</label>
|
| 429 |
+
<comment><![CDATA[Get from <a href="http://merchant.paylane.com" target="_blank">http://merchant.paylane.com</a>]]></comment>
|
| 430 |
+
<frontend_type>text</frontend_type>
|
| 431 |
+
<sort_order>40</sort_order>
|
| 432 |
+
<show_in_default>1</show_in_default>
|
| 433 |
+
<show_in_website>1</show_in_website>
|
| 434 |
+
<show_in_store>0</show_in_store>
|
| 435 |
+
</password>
|
| 436 |
+
</fields>
|
| 437 |
+
</paylane_paypal>
|
| 438 |
+
<paylane_directdebit type="group" translate="label comment">
|
| 439 |
+
<label>Direct Debit</label>
|
| 440 |
+
<frontend_type>text</frontend_type>
|
| 441 |
+
<show_in_default>1</show_in_default>
|
| 442 |
+
<show_in_website>1</show_in_website>
|
| 443 |
+
<show_in_store>1</show_in_store>
|
| 444 |
+
<sort_order>600</sort_order>
|
| 445 |
+
<group>paylane</group>
|
| 446 |
+
<fields>
|
| 447 |
+
<active translate="label">
|
| 448 |
+
<label>Enable this solution</label>
|
| 449 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 450 |
+
<frontend_type>select</frontend_type>
|
| 451 |
+
<sort_order>10</sort_order>
|
| 452 |
+
<show_in_default>1</show_in_default>
|
| 453 |
+
<show_in_website>1</show_in_website>
|
| 454 |
+
<show_in_store>0</show_in_store>
|
| 455 |
+
</active>
|
| 456 |
+
<title translate="label">
|
| 457 |
+
<label>Title</label>
|
| 458 |
+
<frontend_type>text</frontend_type>
|
| 459 |
+
<sort_order>20</sort_order>
|
| 460 |
+
<show_in_default>1</show_in_default>
|
| 461 |
+
<show_in_website>1</show_in_website>
|
| 462 |
+
<show_in_store>1</show_in_store>
|
| 463 |
+
</title>
|
| 464 |
+
<hash_salt translate="label">
|
| 465 |
+
<label>Hash salt</label>
|
| 466 |
+
<frontend_type>text</frontend_type>
|
| 467 |
+
<sort_order>25</sort_order>
|
| 468 |
+
<show_in_default>1</show_in_default>
|
| 469 |
+
<show_in_website>1</show_in_website>
|
| 470 |
+
<show_in_store>0</show_in_store>
|
| 471 |
+
</hash_salt>
|
| 472 |
+
<username translate="label comment" module="paylane">
|
| 473 |
+
<label>API Username</label>
|
| 474 |
+
<comment><![CDATA[Get from <a href="http://merchant.paylane.com" target="_blank">http://merchant.paylane.com</a>]]></comment>
|
| 475 |
+
<frontend_type>text</frontend_type>
|
| 476 |
+
<sort_order>30</sort_order>
|
| 477 |
+
<show_in_default>1</show_in_default>
|
| 478 |
+
<show_in_website>1</show_in_website>
|
| 479 |
+
<show_in_store>0</show_in_store>
|
| 480 |
+
</username>
|
| 481 |
+
<password translate="label comment">
|
| 482 |
+
<label>API Password</label>
|
| 483 |
+
<comment><![CDATA[Get from <a href="http://merchant.paylane.com" target="_blank">http://merchant.paylane.com</a>]]></comment>
|
| 484 |
+
<frontend_type>text</frontend_type>
|
| 485 |
+
<sort_order>40</sort_order>
|
| 486 |
+
<show_in_default>1</show_in_default>
|
| 487 |
+
<show_in_website>1</show_in_website>
|
| 488 |
+
<show_in_store>0</show_in_store>
|
| 489 |
+
</password>
|
| 490 |
+
</fields>
|
| 491 |
+
</paylane_directdebit>
|
| 492 |
+
<paylane_sofort type="group" translate="label comment">
|
| 493 |
+
<label>SOFORT Banking</label>
|
| 494 |
+
<frontend_type>text</frontend_type>
|
| 495 |
+
<show_in_default>1</show_in_default>
|
| 496 |
+
<show_in_website>1</show_in_website>
|
| 497 |
+
<show_in_store>1</show_in_store>
|
| 498 |
+
<sort_order>700</sort_order>
|
| 499 |
+
<group>paylane</group>
|
| 500 |
+
<fields>
|
| 501 |
+
<active translate="label">
|
| 502 |
+
<label>Enable this solution</label>
|
| 503 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 504 |
+
<frontend_type>select</frontend_type>
|
| 505 |
+
<sort_order>10</sort_order>
|
| 506 |
+
<show_in_default>1</show_in_default>
|
| 507 |
+
<show_in_website>1</show_in_website>
|
| 508 |
+
<show_in_store>0</show_in_store>
|
| 509 |
+
</active>
|
| 510 |
+
<title translate="label">
|
| 511 |
+
<label>Title</label>
|
| 512 |
+
<frontend_type>text</frontend_type>
|
| 513 |
+
<sort_order>20</sort_order>
|
| 514 |
+
<show_in_default>1</show_in_default>
|
| 515 |
+
<show_in_website>1</show_in_website>
|
| 516 |
+
<show_in_store>1</show_in_store>
|
| 517 |
+
</title>
|
| 518 |
+
<hash_salt translate="label">
|
| 519 |
+
<label>Hash salt</label>
|
| 520 |
+
<frontend_type>text</frontend_type>
|
| 521 |
+
<sort_order>25</sort_order>
|
| 522 |
+
<show_in_default>1</show_in_default>
|
| 523 |
+
<show_in_website>1</show_in_website>
|
| 524 |
+
<show_in_store>0</show_in_store>
|
| 525 |
+
</hash_salt>
|
| 526 |
+
<username translate="label comment" module="paylane">
|
| 527 |
+
<label>API Username</label>
|
| 528 |
+
<comment><![CDATA[Get from <a href="http://merchant.paylane.com" target="_blank">http://merchant.paylane.com</a>]]></comment>
|
| 529 |
+
<frontend_type>text</frontend_type>
|
| 530 |
+
<sort_order>30</sort_order>
|
| 531 |
+
<show_in_default>1</show_in_default>
|
| 532 |
+
<show_in_website>1</show_in_website>
|
| 533 |
+
<show_in_store>0</show_in_store>
|
| 534 |
+
</username>
|
| 535 |
+
<password translate="label comment">
|
| 536 |
+
<label>API Password</label>
|
| 537 |
+
<comment><![CDATA[Get from <a href="http://merchant.paylane.com" target="_blank">http://merchant.paylane.com</a>]]></comment>
|
| 538 |
+
<frontend_type>text</frontend_type>
|
| 539 |
+
<sort_order>40</sort_order>
|
| 540 |
+
<show_in_default>1</show_in_default>
|
| 541 |
+
<show_in_website>1</show_in_website>
|
| 542 |
+
<show_in_store>0</show_in_store>
|
| 543 |
+
</password>
|
| 544 |
+
</fields>
|
| 545 |
+
</paylane_sofort>
|
| 546 |
+
<paylane_ideal type="group" translate="label comment">
|
| 547 |
+
<label>iDEAL</label>
|
| 548 |
+
<frontend_type>text</frontend_type>
|
| 549 |
+
<show_in_default>1</show_in_default>
|
| 550 |
+
<show_in_website>1</show_in_website>
|
| 551 |
+
<show_in_store>1</show_in_store>
|
| 552 |
+
<sort_order>800</sort_order>
|
| 553 |
+
<group>paylane</group>
|
| 554 |
+
<fields>
|
| 555 |
+
<active translate="label">
|
| 556 |
+
<label>Enable this solution</label>
|
| 557 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 558 |
+
<frontend_type>select</frontend_type>
|
| 559 |
+
<sort_order>10</sort_order>
|
| 560 |
+
<show_in_default>1</show_in_default>
|
| 561 |
+
<show_in_website>1</show_in_website>
|
| 562 |
+
<show_in_store>0</show_in_store>
|
| 563 |
+
</active>
|
| 564 |
+
<title translate="label">
|
| 565 |
+
<label>Title</label>
|
| 566 |
+
<frontend_type>text</frontend_type>
|
| 567 |
+
<sort_order>20</sort_order>
|
| 568 |
+
<show_in_default>1</show_in_default>
|
| 569 |
+
<show_in_website>1</show_in_website>
|
| 570 |
+
<show_in_store>1</show_in_store>
|
| 571 |
+
</title>
|
| 572 |
+
<hash_salt translate="label">
|
| 573 |
+
<label>Hash salt</label>
|
| 574 |
+
<frontend_type>text</frontend_type>
|
| 575 |
+
<sort_order>25</sort_order>
|
| 576 |
+
<show_in_default>1</show_in_default>
|
| 577 |
+
<show_in_website>1</show_in_website>
|
| 578 |
+
<show_in_store>0</show_in_store>
|
| 579 |
+
</hash_salt>
|
| 580 |
+
<username translate="label comment" module="paylane">
|
| 581 |
+
<label>API Username</label>
|
| 582 |
+
<comment><![CDATA[Get from <a href="http://merchant.paylane.com" target="_blank">http://merchant.paylane.com</a>]]></comment>
|
| 583 |
+
<frontend_type>text</frontend_type>
|
| 584 |
+
<sort_order>30</sort_order>
|
| 585 |
+
<show_in_default>1</show_in_default>
|
| 586 |
+
<show_in_website>1</show_in_website>
|
| 587 |
+
<show_in_store>0</show_in_store>
|
| 588 |
+
</username>
|
| 589 |
+
<password translate="label comment">
|
| 590 |
+
<label>API Password</label>
|
| 591 |
+
<comment><![CDATA[Get from <a href="http://merchant.paylane.com" target="_blank">http://merchant.paylane.com</a>]]></comment>
|
| 592 |
+
<frontend_type>text</frontend_type>
|
| 593 |
+
<sort_order>40</sort_order>
|
| 594 |
+
<show_in_default>1</show_in_default>
|
| 595 |
+
<show_in_website>1</show_in_website>
|
| 596 |
+
<show_in_store>0</show_in_store>
|
| 597 |
+
</password>
|
| 598 |
+
</fields>
|
| 599 |
+
</paylane_ideal>
|
| 600 |
+
</fields>
|
| 601 |
+
</paylane>
|
| 602 |
+
</groups>
|
| 603 |
+
</payment>
|
| 604 |
+
</sections>
|
| 605 |
</config>
|
app/design/frontend/base/default/layout/paylane.xml
CHANGED
|
@@ -1,5 +1,11 @@
|
|
| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
<layout version="0.1.0">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
<paylane_payment_secureform>
|
| 4 |
<reference name="root">
|
| 5 |
<action method="setTemplate"><template>paylane/empty.phtml</template></action>
|
|
@@ -7,12 +13,6 @@
|
|
| 7 |
</reference>
|
| 8 |
</paylane_payment_secureform>
|
| 9 |
|
| 10 |
-
<checkout_onepage_index>
|
| 11 |
-
<reference name="head">
|
| 12 |
-
<action method="addItem"><type>skin_css</type><name>paylane/style.css</name></action>
|
| 13 |
-
</reference>
|
| 14 |
-
</checkout_onepage_index>
|
| 15 |
-
|
| 16 |
<customer_account>
|
| 17 |
<reference name="customer_account_navigation">
|
| 18 |
<action method="addLink" translate="label" module="paylane"><name>settings</name><path>paylane/customer/</path><label>PayLane Settings</label></action>
|
| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
<layout version="0.1.0">
|
| 3 |
+
<default>
|
| 4 |
+
<reference name="head">
|
| 5 |
+
<action method="addItem"><type>skin_css</type><name>paylane/style.css</name></action>
|
| 6 |
+
</reference>
|
| 7 |
+
</default>
|
| 8 |
+
|
| 9 |
<paylane_payment_secureform>
|
| 10 |
<reference name="root">
|
| 11 |
<action method="setTemplate"><template>paylane/empty.phtml</template></action>
|
| 13 |
</reference>
|
| 14 |
</paylane_payment_secureform>
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
<customer_account>
|
| 17 |
<reference name="customer_account_navigation">
|
| 18 |
<action method="addLink" translate="label" module="paylane"><name>settings</name><path>paylane/customer/</path><label>PayLane Settings</label></action>
|
package.xml
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Endora_PayLane2</name>
|
| 4 |
-
<version>0.1.
|
| 5 |
-
<stability>
|
| 6 |
<license uri="http://opensource.org/licenses/MIT">Massachusetts Institute of Technology License (MITL)</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
|
@@ -10,12 +10,17 @@
|
|
| 10 |
<description>The extension adds a new payment method to your shop which gives your customers the possibility to use PayLane system to pay for their orders.
|
| 11 |
It allows to use recurring payments, credit card authorization, single-click payments and much more.
|
| 12 |
If you are interested in technical support, e-mail us at it@paylane.com or magento@endora.pl.</description>
|
| 13 |
-
<notes>-
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
<authors><author><name>ENDORA</name><user>EndoraPL</user><email>magento@endora.pl</email></author><author><name>PayLane</name><user>PayLane</user><email>it@paylane.com</email></author></authors>
|
| 16 |
-
<date>2015-11-
|
| 17 |
-
<time>07:
|
| 18 |
-
<contents><target name="magecommunity"><dir name="Endora"><dir name="PayLane"><dir name="Block"><dir name="Adminhtml"><dir name="Notification"><file name="Url.php" hash="b491c97ac7ca8060126955b8bfde3223"/></dir></dir><dir name="Customer"><file name="Account.php" hash="08f9172d3c0a67efa0224ab88e4a8a08"/></dir><file name="Form.php" hash="
|
| 19 |
<compatible/>
|
| 20 |
<dependencies><required><php><min>5.0.0</min><max>5.6.8</max></php></required></dependencies>
|
| 21 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Endora_PayLane2</name>
|
| 4 |
+
<version>0.1.2</version>
|
| 5 |
+
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/MIT">Massachusetts Institute of Technology License (MITL)</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 10 |
<description>The extension adds a new payment method to your shop which gives your customers the possibility to use PayLane system to pay for their orders.
|
| 11 |
It allows to use recurring payments, credit card authorization, single-click payments and much more.
|
| 12 |
If you are interested in technical support, e-mail us at it@paylane.com or magento@endora.pl.</description>
|
| 13 |
+
<notes>- Change view in checkout when there is only one payment channel active
|
| 14 |
+

|
| 15 |
+
- Performance fixes, delete unnecessary observer for events
|
| 16 |
+

|
| 17 |
+
- Add status "Complete" to list of available statuses
|
| 18 |
+

|
| 19 |
+
- Change layout for adding PayLane CSS on every site - now it handles every type of checkout</notes>
|
| 20 |
<authors><author><name>ENDORA</name><user>EndoraPL</user><email>magento@endora.pl</email></author><author><name>PayLane</name><user>PayLane</user><email>it@paylane.com</email></author></authors>
|
| 21 |
+
<date>2015-11-26</date>
|
| 22 |
+
<time>07:24:21</time>
|
| 23 |
+
<contents><target name="magecommunity"><dir name="Endora"><dir name="PayLane"><dir name="Block"><dir name="Adminhtml"><dir name="Notification"><file name="Url.php" hash="b491c97ac7ca8060126955b8bfde3223"/></dir></dir><dir name="Customer"><file name="Account.php" hash="08f9172d3c0a67efa0224ab88e4a8a08"/></dir><file name="Form.php" hash="c10b532a90816f6b03f8adc92444af34"/><file name="Info.php" hash="09e95490e5e3ac986c3310dbe48836ba"/><dir name="Payment"><file name="BankTransfer.php" hash="14a260bf8d26801feafedcf58d100d0d"/><file name="CreditCard.php" hash="cab7f3675d88aaa94c3646b561eddd7d"/><file name="DirectDebit.php" hash="65293319e7cc9ea66db5cf389e093cc2"/><file name="Ideal.php" hash="b79f7a64a62814f9aa2cf58faa354e0d"/><file name="PayPal.php" hash="ba9d7453188615938cec8fbc721c4729"/><file name="SecureForm.php" hash="cf9535309d7cd742524b331b7199f78b"/><file name="Sofort.php" hash="aaf6ce265b89185d56eb8742834a0771"/></dir><file name="Redirect.php" hash="7704b9996a4ce1526870d43c3b3cb045"/></dir><dir name="Helper"><file name="Data.php" hash="6693adec8851dc4faaae10c876410709"/><file name="Notification.php" hash="c251b24d81ccce3701f7241a9fe5b4b5"/></dir><dir name="Model"><dir name="Api"><file name="Client.php" hash="4a740e7950563688add55d2238573c64"/><file name="Notification.php" hash="de4044b032810219bc56cb93fc89c4a0"/><dir name="Payment"><file name="BankTransfer.php" hash="976c65476315f7e31e73634c01a64adf"/><file name="CreditCard.php" hash="57eaac7c91fd04fafd48750d179754f0"/><file name="DirectDebit.php" hash="fe923a898b0cacd8c4ec024de5979a9e"/><file name="Ideal.php" hash="2bd4b7e796c9432f8e44c40ddc46e81b"/><file name="PayPal.php" hash="5448c2a96625ca1646c220c7f4675060"/><file name="SecureForm.php" hash="d80be5d5fa1240427a1b6a73492a5640"/><file name="Sofort.php" hash="2b80feb8b650b5c289aa9f02116e9b1b"/><dir name="Type"><file name="Abstract.php" hash="da38cad3a485bb714a547f949d313e90"/></dir></dir><file name="Refund.php" hash="c9535f2cf997dabbf3b5a828614530d8"/><file name="Resale.php" hash="59017bfede23168a8d1d0ffbe7f03fd0"/></dir><dir name="Interface"><file name="PaymentTypeExtendedInfo.php" hash="f005bc12af5050eda938a2f5a80236ad"/></dir><file name="Observer.php" hash="bc9ec126f99c13ff628daea0802a4d7b"/><file name="Payment.php" hash="7ad0a76de201e6e98b49ba74f0216095"/><dir name="Resource"><file name="Setup.php" hash="049179fc44a6d12349ebfbc7118851d4"/></dir><dir name="Source"><dir name="Avs"><dir name="Check"><file name="Level.php" hash="f76217494c46a5818035f88f050031e0"/></dir></dir><dir name="Gateway"><file name="Type.php" hash="ca8618440dfdccd1d80902ab537deb64"/></dir><dir name="Notification"><file name="Mode.php" hash="4a908cfc0dddb86c4fa48c0624e5390e"/></dir><dir name="Order"><file name="Status.php" hash="156ceac3ff5f2bd36aae1d774da6dcbc"/></dir><dir name="Redirect"><file name="Version.php" hash="fc24a211a510b8103c5be2f9d08e7417"/></dir></dir></dir><dir name="controllers"><file name="CustomerController.php" hash="b41789b114e929a5d52a437d61388a00"/><file name="NotificationController.php" hash="efaf9b1f17066bcea2bfa19532d78f70"/><file name="PaymentController.php" hash="7f11a0827d6d86589a0eb5e0377475c1"/></dir><dir name="etc"><file name="config.xml" hash="b90a809ab601fcb65bf39d3286c34f66"/><file name="system.xml" hash="f6ebbbc1c12b0c7800668d5443d27d13"/></dir><dir name="sql"><dir name="paylane_setup"><file name="install-0.1.0.php" hash="a23c9f7d3284978bd0669ae444aedc3b"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Endora_PayLane.xml" hash="21f68dbfe96b2045ab9b5e1a6c2e52f7"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="template"><dir name="paylane"><file name="form.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="info.phtml" hash="75e1c24c1080f58b9fc5d0aa9f4db5e1"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="paylane.xml" hash="9028dc5831a39ee0d25012591d0c0800"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="paylane"><file name="style.css" hash="586293871591cf1bb458c855b4a3b457"/></dir></dir></dir></dir></target><target name="magelib"><dir name="paylane"><dir name="client"><dir name="paylane"><file name="PayLaneRestClient.php" hash="b63633cb8349c53db85af6d12dc60533"/></dir></dir></dir></target><target name="magelocale"><dir/></target></contents>
|
| 24 |
<compatible/>
|
| 25 |
<dependencies><required><php><min>5.0.0</min><max>5.6.8</max></php></required></dependencies>
|
| 26 |
</package>
|
