Endora_PayLane2 - Version 0.1.2

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 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
- $result[$paymentClass->getCode()] = array(
34
- 'label' => $paymentClass->getLabel(),
35
- 'img' => $paymentClass->getImageUrl(),
36
- 'recurring' => $paymentClass->isRecurringPayment()
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
- public function isPaymentMethodActive($code)
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
- public function isRecurringItemInCart()
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
- $state = $helper->getStateByStatus($orderStatus);
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: ' .$state);
59
  $helper->log('comment: ' . $comment);
60
 
61
- $order->setState($state, $orderStatus, $comment, false);
 
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
- $state = $helper->getStateByStatus($orderStatus);
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
- $state = $helper->getStateByStatus($orderStatus);
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
- $state = $helper->getStateByStatus($orderStatus);
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
- $state = $helper->getStateByStatus($orderStatus);
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
- $state = $helper->getStateByStatus($orderStatus);
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->setState(Mage_Sales_Model_Order::STATE_NEW);
 
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
- // 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,
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
- $order->setState($helper->getStateByStatus($orderStatus), $orderStatus, $comment, false);
 
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
- $order->setState($helper->getStateByStatus($orderStatus), $orderStatus, $comment, false);
 
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
- $order->setState($helper->getStateByStatus($orderStatus), $orderStatus, $comment, false);
 
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
- $paymentType = $order->getPayment()->getAdditionalInformation('paylane_payment_type');
 
 
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 = Mage::getSingleton('checkout/session')->getData('payment_params');
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
- $helper->log('result in PaymentController: ');
45
- $helper->log('$result');
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
- $state = $helper->getStateByStatus($orderStatus);
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
- $state = $helper->getStateByStatus($orderStatus);
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.1</version>
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>* * * * *</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
- </pending_order_status>
50
- <performed_order_status translate="label">
51
- <label>Performed Order Status</label>
52
- <frontend_type>select</frontend_type>
53
- <source_model>paylane/source_order_status</source_model>
54
- <sort_order>60</sort_order>
55
- <show_in_default>1</show_in_default>
56
- <show_in_website>1</show_in_website>
57
- <show_in_store>0</show_in_store>
58
- </performed_order_status>
59
- <cleared_order_status translate="label">
60
- <label>Cleared Order Status</label>
61
- <frontend_type>select</frontend_type>
62
- <source_model>paylane/source_order_status</source_model>
63
- <sort_order>70</sort_order>
64
- <show_in_default>1</show_in_default>
65
- <show_in_website>1</show_in_website>
66
- <show_in_store>0</show_in_store>
67
- </cleared_order_status>
68
- <error_order_status translate="label">
69
- <label>Error Order Status</label>
70
- <frontend_type>select</frontend_type>
71
- <source_model>paylane/source_order_status</source_model>
72
- <sort_order>80</sort_order>
73
- <show_in_default>1</show_in_default>
74
- <show_in_website>1</show_in_website>
75
- <show_in_store>0</show_in_store>
76
- </error_order_status>
77
- <redirect_version translate="label">
78
- <label>Redirect version</label>
79
- <source_model>paylane/source_redirect_version</source_model>
80
- <frontend_type>select</frontend_type>
81
- <sort_order>90</sort_order>
82
- <show_in_default>1</show_in_default>
83
- <show_in_website>1</show_in_website>
84
- <show_in_store>0</show_in_store>
85
- </redirect_version>
86
- <enable_log translate="label comment">
87
- <label>Enable logging</label>
88
- <comment><![CDATA[Log will be able in /var/log/paylane.log]]></comment>
89
- <source_model>adminhtml/system_config_source_yesno</source_model>
90
- <frontend_type>select</frontend_type>
91
- <sort_order>95</sort_order>
92
- <show_in_default>1</show_in_default>
93
- <show_in_website>1</show_in_website>
94
- <show_in_store>0</show_in_store>
95
- </enable_log>
96
- <paylane_notifications type="group" translate="label comment">
97
- <label>Notifications settings</label>
98
- <frontend_type>text</frontend_type>
99
- <show_in_default>1</show_in_default>
100
- <show_in_website>1</show_in_website>
101
- <show_in_store>1</show_in_store>
102
- <sort_order>100</sort_order>
103
- <group>paylane</group>
104
- <fields>
105
- <notifications_url translate="label comment">
106
- <label>URL that handles automatic notifications</label>
107
- <comment>If you want to handle automatic notifications in your store, you have to inform PayLane support about that URL</comment>
108
- <frontend_model>paylane/adminhtml_notification_url</frontend_model>
109
- <sort_order>10</sort_order>
110
- <show_in_default>1</show_in_default>
111
- <show_in_website>1</show_in_website>
112
- <show_in_store>0</show_in_store>
113
- </notifications_url>
114
- <notifications_token translate="label comment">
115
- <label>Notification Token</label>
116
- <comment><![CDATA[Optional, can be configured in <a href="http://merchant.paylane.com" target="_blank">Merchant Panel</a>]]></comment>
117
- <frontend_type>text</frontend_type>
118
- <sort_order>25</sort_order>
119
- <show_in_default>1</show_in_default>
120
- <show_in_website>1</show_in_website>
121
- <show_in_store>0</show_in_store>
122
- </notifications_token>
123
- <username translate="label comment" module="paylane">
124
- <label>Notification username</label>
125
- <comment><![CDATA[Optional, can be configured in <a href="http://merchant.paylane.com" target="_blank">Merchant Panel</a>]]></comment>
126
- <frontend_type>text</frontend_type>
127
- <sort_order>30</sort_order>
128
- <show_in_default>1</show_in_default>
129
- <show_in_website>1</show_in_website>
130
- <show_in_store>0</show_in_store>
131
- </username>
132
- <password translate="label comment">
133
- <label>Notification password</label>
134
- <comment><![CDATA[Optional, can be configured in <a href="http://merchant.paylane.com" target="_blank">Merchant Panel</a>]]></comment>
135
- <frontend_type>text</frontend_type>
136
- <sort_order>40</sort_order>
137
- <show_in_default>1</show_in_default>
138
- <show_in_website>1</show_in_website>
139
- <show_in_store>0</show_in_store>
140
- </password>
141
- <enable_log translate="label comment">
142
- <label>Enable logging</label>
143
- <comment><![CDATA[Log will be able in /var/log/paylane-notifications.log]]></comment>
144
- <source_model>adminhtml/system_config_source_yesno</source_model>
145
- <frontend_type>select</frontend_type>
146
- <sort_order>100</sort_order>
147
- <show_in_default>1</show_in_default>
148
- <show_in_website>1</show_in_website>
149
- <show_in_store>0</show_in_store>
150
- </enable_log>
151
- </fields>
152
- </paylane_notifications>
153
- <paylane_secureform type="group" translate="label comment">
154
- <label>SecureForm</label>
155
- <frontend_type>text</frontend_type>
156
- <show_in_default>1</show_in_default>
157
- <show_in_website>1</show_in_website>
158
- <show_in_store>1</show_in_store>
159
- <sort_order>200</sort_order>
160
- <group>paylane</group>
161
- <fields>
162
- <active translate="label">
163
- <label>Enable this solution</label>
164
- <source_model>adminhtml/system_config_source_yesno</source_model>
165
- <frontend_type>select</frontend_type>
166
- <sort_order>10</sort_order>
167
- <show_in_default>1</show_in_default>
168
- <show_in_website>1</show_in_website>
169
- <show_in_store>0</show_in_store>
170
- </active>
171
- <merchant_id translate="label">
172
- <label>Merchant ID</label>
173
- <frontend_type>text</frontend_type>
174
- <sort_order>30</sort_order>
175
- <show_in_default>1</show_in_default>
176
- <show_in_website>1</show_in_website>
177
- <show_in_store>0</show_in_store>
178
- </merchant_id>
179
- <send_customer_data translate="label comment">
180
- <label>Send Customer Data</label>
181
- <comment>Send additional customer data while redirecting to SecureForm</comment>
182
- <source_model>adminhtml/system_config_source_yesno</source_model>
183
- <frontend_type>select</frontend_type>
184
- <sort_order>140</sort_order>
185
- <show_in_default>1</show_in_default>
186
- <show_in_website>1</show_in_website>
187
- <show_in_store>0</show_in_store>
188
- </send_customer_data>
189
- <hash_salt translate="label">
190
- <label>Hash salt</label>
191
- <frontend_type>text</frontend_type>
192
- <sort_order>20</sort_order>
193
- <show_in_default>1</show_in_default>
194
- <show_in_website>1</show_in_website>
195
- <show_in_store>0</show_in_store>
196
- </hash_salt>
197
- </fields>
198
- </paylane_secureform>
199
- <paylane_creditcard type="group" translate="label comment">
200
- <label>Credit card</label>
201
- <frontend_type>text</frontend_type>
202
- <show_in_default>1</show_in_default>
203
- <show_in_website>1</show_in_website>
204
- <show_in_store>1</show_in_store>
205
- <sort_order>300</sort_order>
206
- <group>paylane</group>
207
- <fields>
208
- <active translate="label">
209
- <label>Enable this solution</label>
210
- <source_model>adminhtml/system_config_source_yesno</source_model>
211
- <frontend_type>select</frontend_type>
212
- <sort_order>10</sort_order>
213
- <show_in_default>1</show_in_default>
214
- <show_in_website>1</show_in_website>
215
- <show_in_store>0</show_in_store>
216
- </active>
217
- <title translate="label">
218
- <label>Title</label>
219
- <frontend_type>text</frontend_type>
220
- <sort_order>20</sort_order>
221
- <show_in_default>1</show_in_default>
222
- <show_in_website>1</show_in_website>
223
- <show_in_store>1</show_in_store>
224
- </title>
225
- <hash_salt translate="label">
226
- <label>Hash salt</label>
227
- <frontend_type>text</frontend_type>
228
- <sort_order>25</sort_order>
229
- <show_in_default>1</show_in_default>
230
- <show_in_website>1</show_in_website>
231
- <show_in_store>0</show_in_store>
232
- </hash_salt>
233
- <username translate="label comment" module="paylane">
234
- <label>Username</label>
235
- <comment><![CDATA[Get from <a href="http://merchant.paylane.com" target="_blank">http://merchant.paylane.com</a>]]></comment>
236
- <frontend_type>text</frontend_type>
237
- <sort_order>30</sort_order>
238
- <show_in_default>1</show_in_default>
239
- <show_in_website>1</show_in_website>
240
- <show_in_store>0</show_in_store>
241
- </username>
242
- <password translate="label comment">
243
- <label>Password</label>
244
- <comment><![CDATA[Get from <a href="http://merchant.paylane.com" target="_blank">http://merchant.paylane.com</a>]]></comment>
245
- <frontend_type>text</frontend_type>
246
- <sort_order>40</sort_order>
247
- <show_in_default>1</show_in_default>
248
- <show_in_website>1</show_in_website>
249
- <show_in_store>0</show_in_store>
250
- </password>
251
- <fraud_check_overwrite translate="label comment">
252
- <label>Overwrite Fraud check?</label>
253
- <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>
254
- <source_model>adminhtml/system_config_source_yesno</source_model>
255
- <frontend_type>select</frontend_type>
256
- <sort_order>55</sort_order>
257
- <show_in_default>1</show_in_default>
258
- <show_in_website>1</show_in_website>
259
- <show_in_store>0</show_in_store>
260
- </fraud_check_overwrite>
261
- <fraud_check translate="label">
262
- <label>Fraud check</label>
263
- <source_model>adminhtml/system_config_source_yesno</source_model>
264
- <frontend_type>select</frontend_type>
265
- <sort_order>60</sort_order>
266
- <show_in_default>1</show_in_default>
267
- <show_in_website>1</show_in_website>
268
- <show_in_store>0</show_in_store>
269
- <depends>
270
- <fraud_check_overwrite>1</fraud_check_overwrite>
271
- </depends>
272
- </fraud_check>
273
- <avs_check_overwrite translate="label comment">
274
- <label>Overwrite AVS check level?</label>
275
- <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>
276
- <source_model>adminhtml/system_config_source_yesno</source_model>
277
- <frontend_type>select</frontend_type>
278
- <sort_order>65</sort_order>
279
- <show_in_default>1</show_in_default>
280
- <show_in_website>1</show_in_website>
281
- <show_in_store>0</show_in_store>
282
- </avs_check_overwrite>
283
- <avs_check_level translate="label">
284
- <label>AVS check level</label>
285
- <source_model>paylane/source_avs_check_level</source_model>
286
- <frontend_type>select</frontend_type>
287
- <sort_order>70</sort_order>
288
- <show_in_default>1</show_in_default>
289
- <show_in_website>1</show_in_website>
290
- <show_in_store>0</show_in_store>
291
- <depends>
292
- <avs_check_overwrite>1</avs_check_overwrite>
293
- </depends>
294
- </avs_check_level>
295
- <ds3_check translate="label">
296
- <label>3DS check</label>
297
- <source_model>adminhtml/system_config_source_yesno</source_model>
298
- <frontend_type>select</frontend_type>
299
- <sort_order>80</sort_order>
300
- <show_in_default>1</show_in_default>
301
- <show_in_website>1</show_in_website>
302
- <show_in_store>0</show_in_store>
303
- </ds3_check>
304
- <authorization_amount translate="label comment">
305
- <label>Blocked amount in authorization process</label>
306
- <comment>Set in default store currency</comment>
307
- <frontend_type>text</frontend_type>
308
- <validate>validate-number</validate>
309
- <sort_order>80</sort_order>
310
- <show_in_default>1</show_in_default>
311
- <show_in_website>1</show_in_website>
312
- <show_in_store>0</show_in_store>
313
- </authorization_amount>
314
- <single_click_active translate="label comment">
315
- <label>Enable Single-click payment</label>
316
- <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>
317
- <source_model>adminhtml/system_config_source_yesno</source_model>
318
- <frontend_type>select</frontend_type>
319
- <sort_order>80</sort_order>
320
- <show_in_default>1</show_in_default>
321
- <show_in_website>1</show_in_website>
322
- <show_in_store>0</show_in_store>
323
- </single_click_active>
324
- </fields>
325
- </paylane_creditcard>
326
- <paylane_banktransfer type="group" translate="label comment">
327
- <label>Bank transfer</label>
328
- <frontend_type>text</frontend_type>
329
- <show_in_default>1</show_in_default>
330
- <show_in_website>1</show_in_website>
331
- <show_in_store>1</show_in_store>
332
- <sort_order>400</sort_order>
333
- <group>paylane</group>
334
- <fields>
335
- <active translate="label">
336
- <label>Enable this solution</label>
337
- <source_model>adminhtml/system_config_source_yesno</source_model>
338
- <frontend_type>select</frontend_type>
339
- <sort_order>10</sort_order>
340
- <show_in_default>1</show_in_default>
341
- <show_in_website>1</show_in_website>
342
- <show_in_store>0</show_in_store>
343
- </active>
344
- <title translate="label">
345
- <label>Title</label>
346
- <frontend_type>text</frontend_type>
347
- <sort_order>20</sort_order>
348
- <show_in_default>1</show_in_default>
349
- <show_in_website>1</show_in_website>
350
- <show_in_store>1</show_in_store>
351
- </title>
352
- <hash_salt translate="label">
353
- <label>Hash salt</label>
354
- <frontend_type>text</frontend_type>
355
- <sort_order>25</sort_order>
356
- <show_in_default>1</show_in_default>
357
- <show_in_website>1</show_in_website>
358
- <show_in_store>0</show_in_store>
359
- </hash_salt>
360
- <username translate="label comment" module="paylane">
361
- <label>API Username</label>
362
- <comment><![CDATA[Get from <a href="http://merchant.paylane.com" target="_blank">http://merchant.paylane.com</a>]]></comment>
363
- <frontend_type>text</frontend_type>
364
- <sort_order>30</sort_order>
365
- <show_in_default>1</show_in_default>
366
- <show_in_website>1</show_in_website>
367
- <show_in_store>0</show_in_store>
368
- </username>
369
- <password translate="label comment">
370
- <label>API Password</label>
371
- <comment><![CDATA[Get from <a href="http://merchant.paylane.com" target="_blank">http://merchant.paylane.com</a>]]></comment>
372
- <frontend_type>text</frontend_type>
373
- <sort_order>40</sort_order>
374
- <show_in_default>1</show_in_default>
375
- <show_in_website>1</show_in_website>
376
- <show_in_store>0</show_in_store>
377
- </password>
378
- </fields>
379
- </paylane_banktransfer>
380
- <paylane_paypal type="group" translate="label comment">
381
- <label>PayPal</label>
382
- <frontend_type>text</frontend_type>
383
- <show_in_default>1</show_in_default>
384
- <show_in_website>1</show_in_website>
385
- <show_in_store>1</show_in_store>
386
- <sort_order>500</sort_order>
387
- <group>paylane</group>
388
- <fields>
389
- <active translate="label">
390
- <label>Enable this solution</label>
391
- <source_model>adminhtml/system_config_source_yesno</source_model>
392
- <frontend_type>select</frontend_type>
393
- <sort_order>10</sort_order>
394
- <show_in_default>1</show_in_default>
395
- <show_in_website>1</show_in_website>
396
- <show_in_store>0</show_in_store>
397
- </active>
398
- <title translate="label">
399
- <label>Title</label>
400
- <frontend_type>text</frontend_type>
401
- <sort_order>20</sort_order>
402
- <show_in_default>1</show_in_default>
403
- <show_in_website>1</show_in_website>
404
- <show_in_store>1</show_in_store>
405
- </title>
406
- <hash_salt translate="label">
407
- <label>Hash salt</label>
408
- <frontend_type>text</frontend_type>
409
- <sort_order>25</sort_order>
410
- <show_in_default>1</show_in_default>
411
- <show_in_website>1</show_in_website>
412
- <show_in_store>0</show_in_store>
413
- </hash_salt>
414
- <username translate="label comment" module="paylane">
415
- <label>API Username</label>
416
- <comment><![CDATA[Get from <a href="http://merchant.paylane.com" target="_blank">http://merchant.paylane.com</a>]]></comment>
417
- <frontend_type>text</frontend_type>
418
- <sort_order>30</sort_order>
419
- <show_in_default>1</show_in_default>
420
- <show_in_website>1</show_in_website>
421
- <show_in_store>0</show_in_store>
422
- </username>
423
- <password translate="label comment">
424
- <label>API Password</label>
425
- <comment><![CDATA[Get from <a href="http://merchant.paylane.com" target="_blank">http://merchant.paylane.com</a>]]></comment>
426
- <frontend_type>text</frontend_type>
427
- <sort_order>40</sort_order>
428
- <show_in_default>1</show_in_default>
429
- <show_in_website>1</show_in_website>
430
- <show_in_store>0</show_in_store>
431
- </password>
432
- </fields>
433
- </paylane_paypal>
434
- <paylane_directdebit type="group" translate="label comment">
435
- <label>Direct Debit</label>
436
- <frontend_type>text</frontend_type>
437
- <show_in_default>1</show_in_default>
438
- <show_in_website>1</show_in_website>
439
- <show_in_store>1</show_in_store>
440
- <sort_order>600</sort_order>
441
- <group>paylane</group>
442
- <fields>
443
- <active translate="label">
444
- <label>Enable this solution</label>
445
- <source_model>adminhtml/system_config_source_yesno</source_model>
446
- <frontend_type>select</frontend_type>
447
- <sort_order>10</sort_order>
448
- <show_in_default>1</show_in_default>
449
- <show_in_website>1</show_in_website>
450
- <show_in_store>0</show_in_store>
451
- </active>
452
- <title translate="label">
453
- <label>Title</label>
454
- <frontend_type>text</frontend_type>
455
- <sort_order>20</sort_order>
456
- <show_in_default>1</show_in_default>
457
- <show_in_website>1</show_in_website>
458
- <show_in_store>1</show_in_store>
459
- </title>
460
- <hash_salt translate="label">
461
- <label>Hash salt</label>
462
- <frontend_type>text</frontend_type>
463
- <sort_order>25</sort_order>
464
- <show_in_default>1</show_in_default>
465
- <show_in_website>1</show_in_website>
466
- <show_in_store>0</show_in_store>
467
- </hash_salt>
468
- <username translate="label comment" module="paylane">
469
- <label>API Username</label>
470
- <comment><![CDATA[Get from <a href="http://merchant.paylane.com" target="_blank">http://merchant.paylane.com</a>]]></comment>
471
- <frontend_type>text</frontend_type>
472
- <sort_order>30</sort_order>
473
- <show_in_default>1</show_in_default>
474
- <show_in_website>1</show_in_website>
475
- <show_in_store>0</show_in_store>
476
- </username>
477
- <password translate="label comment">
478
- <label>API Password</label>
479
- <comment><![CDATA[Get from <a href="http://merchant.paylane.com" target="_blank">http://merchant.paylane.com</a>]]></comment>
480
- <frontend_type>text</frontend_type>
481
- <sort_order>40</sort_order>
482
- <show_in_default>1</show_in_default>
483
- <show_in_website>1</show_in_website>
484
- <show_in_store>0</show_in_store>
485
- </password>
486
- </fields>
487
- </paylane_directdebit>
488
- <paylane_sofort type="group" translate="label comment">
489
- <label>SOFORT Banking</label>
490
- <frontend_type>text</frontend_type>
491
- <show_in_default>1</show_in_default>
492
- <show_in_website>1</show_in_website>
493
- <show_in_store>1</show_in_store>
494
- <sort_order>700</sort_order>
495
- <group>paylane</group>
496
- <fields>
497
- <active translate="label">
498
- <label>Enable this solution</label>
499
- <source_model>adminhtml/system_config_source_yesno</source_model>
500
- <frontend_type>select</frontend_type>
501
- <sort_order>10</sort_order>
502
- <show_in_default>1</show_in_default>
503
- <show_in_website>1</show_in_website>
504
- <show_in_store>0</show_in_store>
505
- </active>
506
- <title translate="label">
507
- <label>Title</label>
508
- <frontend_type>text</frontend_type>
509
- <sort_order>20</sort_order>
510
- <show_in_default>1</show_in_default>
511
- <show_in_website>1</show_in_website>
512
- <show_in_store>1</show_in_store>
513
- </title>
514
- <hash_salt translate="label">
515
- <label>Hash salt</label>
516
- <frontend_type>text</frontend_type>
517
- <sort_order>25</sort_order>
518
- <show_in_default>1</show_in_default>
519
- <show_in_website>1</show_in_website>
520
- <show_in_store>0</show_in_store>
521
- </hash_salt>
522
- <username translate="label comment" module="paylane">
523
- <label>API Username</label>
524
- <comment><![CDATA[Get from <a href="http://merchant.paylane.com" target="_blank">http://merchant.paylane.com</a>]]></comment>
525
- <frontend_type>text</frontend_type>
526
- <sort_order>30</sort_order>
527
- <show_in_default>1</show_in_default>
528
- <show_in_website>1</show_in_website>
529
- <show_in_store>0</show_in_store>
530
- </username>
531
- <password translate="label comment">
532
- <label>API Password</label>
533
- <comment><![CDATA[Get from <a href="http://merchant.paylane.com" target="_blank">http://merchant.paylane.com</a>]]></comment>
534
- <frontend_type>text</frontend_type>
535
- <sort_order>40</sort_order>
536
- <show_in_default>1</show_in_default>
537
- <show_in_website>1</show_in_website>
538
- <show_in_store>0</show_in_store>
539
- </password>
540
- </fields>
541
- </paylane_sofort>
542
- <paylane_ideal type="group" translate="label comment">
543
- <label>iDEAL</label>
544
- <frontend_type>text</frontend_type>
545
- <show_in_default>1</show_in_default>
546
- <show_in_website>1</show_in_website>
547
- <show_in_store>1</show_in_store>
548
- <sort_order>800</sort_order>
549
- <group>paylane</group>
550
- <fields>
551
- <active translate="label">
552
- <label>Enable this solution</label>
553
- <source_model>adminhtml/system_config_source_yesno</source_model>
554
- <frontend_type>select</frontend_type>
555
- <sort_order>10</sort_order>
556
- <show_in_default>1</show_in_default>
557
- <show_in_website>1</show_in_website>
558
- <show_in_store>0</show_in_store>
559
- </active>
560
- <title translate="label">
561
- <label>Title</label>
562
- <frontend_type>text</frontend_type>
563
- <sort_order>20</sort_order>
564
- <show_in_default>1</show_in_default>
565
- <show_in_website>1</show_in_website>
566
- <show_in_store>1</show_in_store>
567
- </title>
568
- <hash_salt translate="label">
569
- <label>Hash salt</label>
570
- <frontend_type>text</frontend_type>
571
- <sort_order>25</sort_order>
572
- <show_in_default>1</show_in_default>
573
- <show_in_website>1</show_in_website>
574
- <show_in_store>0</show_in_store>
575
- </hash_salt>
576
- <username translate="label comment" module="paylane">
577
- <label>API Username</label>
578
- <comment><![CDATA[Get from <a href="http://merchant.paylane.com" target="_blank">http://merchant.paylane.com</a>]]></comment>
579
- <frontend_type>text</frontend_type>
580
- <sort_order>30</sort_order>
581
- <show_in_default>1</show_in_default>
582
- <show_in_website>1</show_in_website>
583
- <show_in_store>0</show_in_store>
584
- </username>
585
- <password translate="label comment">
586
- <label>API Password</label>
587
- <comment><![CDATA[Get from <a href="http://merchant.paylane.com" target="_blank">http://merchant.paylane.com</a>]]></comment>
588
- <frontend_type>text</frontend_type>
589
- <sort_order>40</sort_order>
590
- <show_in_default>1</show_in_default>
591
- <show_in_website>1</show_in_website>
592
- <show_in_store>0</show_in_store>
593
- </password>
594
- </fields>
595
- </paylane_ideal>
596
- </fields>
597
- </paylane>
598
- </groups>
599
- </payment>
600
- </sections>
 
 
 
 
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.1</version>
5
- <stability>beta</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.&#xD;
11
  It allows to use recurring payments, credit card authorization, single-click payments and much more.&#xD;
12
  If you are interested in technical support, e-mail us at it@paylane.com or magento@endora.pl.</description>
13
- <notes>- Add logging for payment process - useful for debugging&#xD;
14
- - Fix for storing order statuses in extension configuration</notes>
 
 
 
 
 
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-09</date>
17
- <time>07:57:05</time>
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="06be776bf1aa2bc9eb05102951d8f0e7"/><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="1c3353b321a1577181b2a20a5cdb803d"/><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="eed144f1a1cb3da58e7da6cb375d2dd9"/><file name="CreditCard.php" hash="e86effba8f1fcaa209632e3a1f6adb0f"/><file name="DirectDebit.php" hash="44c6f29ae2f183de46517965ee6cb156"/><file name="Ideal.php" hash="853a9a35079b06df370cda7f1215e8fb"/><file name="PayPal.php" hash="1fb0fc358f59141dacf267c92d742088"/><file name="SecureForm.php" hash="3eb9e398c69765f2421d2b87252dcacc"/><file name="Sofort.php" hash="16d3acdbffd8784c90d36f637e07c951"/><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="4ad654b32b9112a9c68a40bfe915389a"/><file name="Payment.php" hash="eb9ff93443f4af87e28e1036cdfe2d3e"/><dir name="Resource"><file name="Setup.php" hash="2f425d97cb103e7a1204464874c71283"/></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="b85eb3793a9d8eede03c958793737d7e"/></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="5ec895288f43914b6ace5d877cb5f540"/><file name="PaymentController.php" hash="f8d4406ab25bda721aeae7a3c179772b"/></dir><dir name="etc"><file name="config.xml" hash="32be0fb632e73a92b6671dc8e8d3a130"/><file name="system.xml" hash="e1058f3b581eaffb65d5d01b262cf227"/></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="36f7e64d3e49a389e3494fe8ae093224"/></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>
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.&#xD;
11
  It allows to use recurring payments, credit card authorization, single-click payments and much more.&#xD;
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&#xD;
14
+ &#xD;
15
+ - Performance fixes, delete unnecessary observer for events&#xD;
16
+ &#xD;
17
+ - Add status "Complete" to list of available statuses&#xD;
18
+ &#xD;
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>