Version Notes
- Add logging for payment process - useful for debugging
- Fix for storing order statuses in extension configuration
Download this release
Release Info
Developer | ENDORA |
Extension | Endora_PayLane2 |
Version | 0.1.1 |
Comparing to | |
See all releases |
Code changes from version 0.1.0 to 0.1.1
- app/code/community/Endora/PayLane/Helper/Data.php +29 -4
- app/code/community/Endora/PayLane/Model/Api/Payment/BankTransfer.php +12 -1
- app/code/community/Endora/PayLane/Model/Api/Payment/CreditCard.php +14 -2
- app/code/community/Endora/PayLane/Model/Api/Payment/DirectDebit.php +12 -1
- app/code/community/Endora/PayLane/Model/Api/Payment/Ideal.php +12 -1
- app/code/community/Endora/PayLane/Model/Api/Payment/PayPal.php +12 -1
- app/code/community/Endora/PayLane/Model/Api/Payment/SecureForm.php +12 -1
- app/code/community/Endora/PayLane/Model/Api/Payment/Sofort.php +12 -1
- app/code/community/Endora/PayLane/controllers/PaymentController.php +32 -4
- app/code/community/Endora/PayLane/etc/config.xml +1 -12
- app/code/community/Endora/PayLane/etc/system.xml +10 -0
- app/design/frontend/base/default/template/paylane/customer/account.phtml +0 -39
- app/design/frontend/base/default/template/paylane/empty.phtml +0 -1
- app/design/frontend/base/default/template/paylane/form.phtml +0 -63
- app/design/frontend/base/default/template/paylane/info.phtml +0 -22
- app/design/frontend/base/default/template/paylane/payment/banktransfer.phtml +0 -24
- app/design/frontend/base/default/template/paylane/payment/creditcard.phtml +0 -62
- app/design/frontend/base/default/template/paylane/payment/creditcard/form.phtml +0 -45
- app/design/frontend/base/default/template/paylane/payment/directdebit.phtml +0 -32
- app/design/frontend/base/default/template/paylane/payment/ideal.phtml +0 -21
- app/design/frontend/base/default/template/paylane/payment/paypal.phtml +0 -1
- app/design/frontend/base/default/template/paylane/payment/secureform.phtml +0 -1
- app/design/frontend/base/default/template/paylane/payment/sofort.phtml +0 -1
- app/design/frontend/base/default/template/paylane/redirect.phtml +0 -12
- app/locale/pl_PL/Endora_PayLane.csv +0 -59
- package.xml +6 -13
app/code/community/Endora/PayLane/Helper/Data.php
CHANGED
@@ -5,15 +5,17 @@
|
|
5 |
* @author Michał Zabielski <michal.zabielski@endora.pl> http://www.endora.pl
|
6 |
*/
|
7 |
class Endora_PayLane_Helper_Data extends Mage_Core_Helper_Data {
|
|
|
|
|
8 |
const XML_CONFIG_SEND_CUSTOMER_DATA = 'payment/paylane_secureform/send_customer_data';
|
9 |
const XML_CONFIG_MERCHANT_ID = 'payment/paylane_secureform/merchant_id';
|
10 |
const XML_CONFIG_HASH_SALT = 'payment/paylane_general/hash_salt';
|
11 |
const XML_CONFIG_GATEWAY_TYPE = 'payment/paylane/gateway_type';
|
12 |
const XML_CONFIG_REDIRECT_VERSION = 'payment/paylane_general/redirect_version';
|
13 |
-
const XML_CONFIG_PENDING_ORDER_STATUS = 'payment/
|
14 |
-
const XML_CONFIG_PERFORMED_ORDER_STATUS = 'payment/
|
15 |
-
const XML_CONFIG_CLEARED_ORDER_STATUS = 'payment/
|
16 |
-
const XML_CONFIG_ERROR_ORDER_STATUS = 'payment/
|
17 |
const XML_CONFIG_FRAUD_CHECK = 'payment/paylane_creditcard/fraud_check';
|
18 |
const XML_CONFIG_OVERWRITE_FRAUD_CHECK = 'payment/paylane_creditcard/fraud_check_overwrite';
|
19 |
const XML_CONFIG_CREDIT_CARD_AUTHORIZATION_AMOUNT = 'payment/paylane_creditcard/authorization_amount';
|
@@ -22,6 +24,7 @@ class Endora_PayLane_Helper_Data extends Mage_Core_Helper_Data {
|
|
22 |
const XML_CONFIG_OVERWRITE_AVS_CHECK_LEVEL = 'payment/paylane_creditcard/avs_check_level_overwrite';
|
23 |
const XML_CONFIG_NOTIFICATIONS_USERNAME = 'payment/paylane_notifications/username';
|
24 |
const XML_CONFIG_NOTIFICATIONS_PASSWORD = 'payment/paylane_notifications/password';
|
|
|
25 |
|
26 |
const GATEWAY_TYPE_SECURE_FORM = 'secureForm';
|
27 |
const GATEWAY_TYPE_API = 'API';
|
@@ -285,4 +288,26 @@ class Endora_PayLane_Helper_Data extends Mage_Core_Helper_Data {
|
|
285 |
|
286 |
return $result;
|
287 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
288 |
}
|
5 |
* @author Michał Zabielski <michal.zabielski@endora.pl> http://www.endora.pl
|
6 |
*/
|
7 |
class Endora_PayLane_Helper_Data extends Mage_Core_Helper_Data {
|
8 |
+
const LOG_FILE_NAME = 'paylane.log';
|
9 |
+
const XML_CONFIG_LOG_ENABLED = 'payment/paylane/enable_log';
|
10 |
const XML_CONFIG_SEND_CUSTOMER_DATA = 'payment/paylane_secureform/send_customer_data';
|
11 |
const XML_CONFIG_MERCHANT_ID = 'payment/paylane_secureform/merchant_id';
|
12 |
const XML_CONFIG_HASH_SALT = 'payment/paylane_general/hash_salt';
|
13 |
const XML_CONFIG_GATEWAY_TYPE = 'payment/paylane/gateway_type';
|
14 |
const XML_CONFIG_REDIRECT_VERSION = 'payment/paylane_general/redirect_version';
|
15 |
+
const XML_CONFIG_PENDING_ORDER_STATUS = 'payment/paylane/pending_order_status';
|
16 |
+
const XML_CONFIG_PERFORMED_ORDER_STATUS = 'payment/paylane/performed_order_status';
|
17 |
+
const XML_CONFIG_CLEARED_ORDER_STATUS = 'payment/paylane/cleared_order_status';
|
18 |
+
const XML_CONFIG_ERROR_ORDER_STATUS = 'payment/paylane/error_order_status';
|
19 |
const XML_CONFIG_FRAUD_CHECK = 'payment/paylane_creditcard/fraud_check';
|
20 |
const XML_CONFIG_OVERWRITE_FRAUD_CHECK = 'payment/paylane_creditcard/fraud_check_overwrite';
|
21 |
const XML_CONFIG_CREDIT_CARD_AUTHORIZATION_AMOUNT = 'payment/paylane_creditcard/authorization_amount';
|
24 |
const XML_CONFIG_OVERWRITE_AVS_CHECK_LEVEL = 'payment/paylane_creditcard/avs_check_level_overwrite';
|
25 |
const XML_CONFIG_NOTIFICATIONS_USERNAME = 'payment/paylane_notifications/username';
|
26 |
const XML_CONFIG_NOTIFICATIONS_PASSWORD = 'payment/paylane_notifications/password';
|
27 |
+
const XML_CONFIG_MODULE_ACTIVE = 'payment/paylane/active';
|
28 |
|
29 |
const GATEWAY_TYPE_SECURE_FORM = 'secureForm';
|
30 |
const GATEWAY_TYPE_API = 'API';
|
288 |
|
289 |
return $result;
|
290 |
}
|
291 |
+
|
292 |
+
/**
|
293 |
+
* Check whether module is active
|
294 |
+
*
|
295 |
+
* @return boolean true/false
|
296 |
+
*/
|
297 |
+
public function isActive()
|
298 |
+
{
|
299 |
+
return Mage::getStoreConfig(self::XML_CONFIG_MODULE_ACTIVE);
|
300 |
+
}
|
301 |
+
|
302 |
+
public function isLogEnabled()
|
303 |
+
{
|
304 |
+
return Mage::getStoreConfig(self::XML_CONFIG_LOG_ENABLED);
|
305 |
+
}
|
306 |
+
|
307 |
+
public function log($msg)
|
308 |
+
{
|
309 |
+
if($this->isLogEnabled()) {
|
310 |
+
Mage::log($msg, null, self::LOG_FILE_NAME);
|
311 |
+
}
|
312 |
+
}
|
313 |
}
|
app/code/community/Endora/PayLane/Model/Api/Payment/BankTransfer.php
CHANGED
@@ -26,7 +26,11 @@ class Endora_PayLane_Model_Api_Payment_BankTransfer extends Endora_PayLane_Model
|
|
26 |
$payment->setAdditionalInformation($additional);
|
27 |
$payment->save();
|
28 |
|
|
|
|
|
29 |
$result = $client->bankTransferSale($data);
|
|
|
|
|
30 |
|
31 |
//probably should be in externalUrlResponseAction
|
32 |
if($result['success']) {
|
@@ -41,7 +45,14 @@ class Endora_PayLane_Model_Api_Payment_BankTransfer extends Endora_PayLane_Model
|
|
41 |
$errorText = (!empty($result['error']['error_description'])) ? $result['error']['error_description'] : '';
|
42 |
}
|
43 |
$comment = $helper->__('There was an error in payment process via PayLane module (Error code: %s, Error text: %s)', $errorCode, $errorText);
|
44 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
$order->save();
|
46 |
}
|
47 |
|
26 |
$payment->setAdditionalInformation($additional);
|
27 |
$payment->save();
|
28 |
|
29 |
+
$helper->log('send data for bank transfer payment channel:');
|
30 |
+
$helper->log($data);
|
31 |
$result = $client->bankTransferSale($data);
|
32 |
+
$helper->log('Received response from PayLane:');
|
33 |
+
$helper->log($result);
|
34 |
|
35 |
//probably should be in externalUrlResponseAction
|
36 |
if($result['success']) {
|
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 |
|
app/code/community/Endora/PayLane/Model/Api/Payment/CreditCard.php
CHANGED
@@ -28,10 +28,15 @@ class Endora_PayLane_Model_Api_Payment_CreditCard extends Endora_PayLane_Model_A
|
|
28 |
$data['customer'] = $this->_prepareCustomerData($order);
|
29 |
$data['card'] = $paymentParams;
|
30 |
|
|
|
|
|
|
|
31 |
$result = $client->cardSale($data);
|
|
|
|
|
32 |
}
|
33 |
|
34 |
-
if($result['success']) {
|
35 |
$orderStatus = $helper->getPerformedOrderStatus();
|
36 |
$comment = $helper->__('Payment handled via PayLane module | Transaction ID: %s', $result['id_sale']);
|
37 |
$order->setPaylaneSaleId($result['id_sale']);
|
@@ -46,7 +51,14 @@ class Endora_PayLane_Model_Api_Payment_CreditCard extends Endora_PayLane_Model_A
|
|
46 |
$comment = $helper->__('There was an error in payment process via PayLane module (Error code: %s, Error text: %s)', $errorCode, $errorText);
|
47 |
}
|
48 |
|
49 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
$order->save();
|
51 |
|
52 |
return $result['success'];
|
28 |
$data['customer'] = $this->_prepareCustomerData($order);
|
29 |
$data['card'] = $paymentParams;
|
30 |
|
31 |
+
|
32 |
+
$helper->log('send data for credit cart payment channel:');
|
33 |
+
$helper->log($data);
|
34 |
$result = $client->cardSale($data);
|
35 |
+
$helper->log('Received response from PayLane:');
|
36 |
+
$helper->log($result);
|
37 |
}
|
38 |
|
39 |
+
if(!empty($result['success']) && $result['success']) {
|
40 |
$orderStatus = $helper->getPerformedOrderStatus();
|
41 |
$comment = $helper->__('Payment handled via PayLane module | Transaction ID: %s', $result['id_sale']);
|
42 |
$order->setPaylaneSaleId($result['id_sale']);
|
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'];
|
app/code/community/Endora/PayLane/Model/Api/Payment/DirectDebit.php
CHANGED
@@ -20,7 +20,11 @@ class Endora_PayLane_Model_Api_Payment_DirectDebit extends Endora_PayLane_Model_
|
|
20 |
$data['back_url'] = Mage::getUrl(self::RETURN_URL_PATH, array('_secure' => true));
|
21 |
$data['account'] = $params;
|
22 |
|
|
|
|
|
23 |
$result = $client->directDebitSale($data);
|
|
|
|
|
24 |
|
25 |
if($result['success']) {
|
26 |
$orderStatus = $helper->getPerformedOrderStatus();
|
@@ -37,7 +41,14 @@ class Endora_PayLane_Model_Api_Payment_DirectDebit extends Endora_PayLane_Model_
|
|
37 |
$comment = $helper->__('There was an error in payment process via PayLane module (Error code: %s, Error text: %s)', $errorCode, $errorText);
|
38 |
}
|
39 |
|
40 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
$order->save();
|
42 |
|
43 |
return $result['success'];
|
20 |
$data['back_url'] = Mage::getUrl(self::RETURN_URL_PATH, array('_secure' => true));
|
21 |
$data['account'] = $params;
|
22 |
|
23 |
+
$helper->log('send data for direct debit payment channel:');
|
24 |
+
$helper->log($data);
|
25 |
$result = $client->directDebitSale($data);
|
26 |
+
$helper->log('Received response from PayLane:');
|
27 |
+
$helper->log($result);
|
28 |
|
29 |
if($result['success']) {
|
30 |
$orderStatus = $helper->getPerformedOrderStatus();
|
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'];
|
app/code/community/Endora/PayLane/Model/Api/Payment/Ideal.php
CHANGED
@@ -26,7 +26,11 @@ class Endora_PayLane_Model_Api_Payment_Ideal extends Endora_PayLane_Model_Api_Pa
|
|
26 |
$payment->setAdditionalInformation($additional);
|
27 |
$payment->save();
|
28 |
|
|
|
|
|
29 |
$result = $client->idealSale($data);
|
|
|
|
|
30 |
|
31 |
//probably should be in externalUrlResponseAction
|
32 |
if($result['success']) {
|
@@ -41,7 +45,14 @@ class Endora_PayLane_Model_Api_Payment_Ideal extends Endora_PayLane_Model_Api_Pa
|
|
41 |
$errorText = (!empty($result['error']['error_description'])) ? $result['error']['error_description'] : '';
|
42 |
}
|
43 |
$comment = $helper->__('There was an error in payment process via PayLane module (Error code: %s, Error text: %s)', $errorCode, $errorText);
|
44 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
$order->save();
|
46 |
}
|
47 |
|
26 |
$payment->setAdditionalInformation($additional);
|
27 |
$payment->save();
|
28 |
|
29 |
+
$helper->log('send data for ideal payment channel:');
|
30 |
+
$helper->log($data);
|
31 |
$result = $client->idealSale($data);
|
32 |
+
$helper->log('Received response from PayLane:');
|
33 |
+
$helper->log($result);
|
34 |
|
35 |
//probably should be in externalUrlResponseAction
|
36 |
if($result['success']) {
|
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 |
|
app/code/community/Endora/PayLane/Model/Api/Payment/PayPal.php
CHANGED
@@ -22,7 +22,11 @@ class Endora_PayLane_Model_Api_Payment_PayPal extends Endora_PayLane_Model_Api_P
|
|
22 |
$data['back_url'] = Mage::getUrl(self::RETURN_URL_PATH, array('_secure' => true));
|
23 |
}
|
24 |
|
|
|
|
|
25 |
$result = $client->paypalSale($data);
|
|
|
|
|
26 |
|
27 |
//probably should be in externalUrlResponseAction
|
28 |
if($result['success']) {
|
@@ -37,7 +41,14 @@ class Endora_PayLane_Model_Api_Payment_PayPal extends Endora_PayLane_Model_Api_P
|
|
37 |
$errorText = (!empty($result['error']['error_description'])) ? $result['error']['error_description'] : '';
|
38 |
}
|
39 |
$comment = $helper->__('There was an error in payment process via PayLane module (Error code: %s, Error text: %s)', $errorCode, $errorText);
|
40 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
$order->save();
|
42 |
}
|
43 |
|
22 |
$data['back_url'] = Mage::getUrl(self::RETURN_URL_PATH, array('_secure' => true));
|
23 |
}
|
24 |
|
25 |
+
$helper->log('send data for paypal payment channel:');
|
26 |
+
$helper->log($data);
|
27 |
$result = $client->paypalSale($data);
|
28 |
+
$helper->log('Received response from PayLane:');
|
29 |
+
$helper->log($result);
|
30 |
|
31 |
//probably should be in externalUrlResponseAction
|
32 |
if($result['success']) {
|
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 |
|
app/code/community/Endora/PayLane/Model/Api/Payment/SecureForm.php
CHANGED
@@ -18,7 +18,11 @@ class Endora_PayLane_Model_Api_Payment_SecureForm extends Endora_PayLane_Model_A
|
|
18 |
$data['customer'] = $this->_prepareCustomerData($order);
|
19 |
$data['back_url'] = Mage::getUrl(self::RETURN_URL_PATH, array('_secure' => true));
|
20 |
|
|
|
|
|
21 |
$result = $client->sofortSale($data);
|
|
|
|
|
22 |
|
23 |
//probably should be in externalUrlResponseAction
|
24 |
if($result['success']) {
|
@@ -33,7 +37,14 @@ class Endora_PayLane_Model_Api_Payment_SecureForm extends Endora_PayLane_Model_A
|
|
33 |
$errorText = (!empty($result['error']['error_description'])) ? $result['error']['error_description'] : '';
|
34 |
}
|
35 |
$comment = $helper->__('There was an error in payment process via PayLane module (Error code: %s, Error text: %s)', $errorCode, $errorText);
|
36 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
$order->save();
|
38 |
}
|
39 |
|
18 |
$data['customer'] = $this->_prepareCustomerData($order);
|
19 |
$data['back_url'] = Mage::getUrl(self::RETURN_URL_PATH, array('_secure' => true));
|
20 |
|
21 |
+
$helper->log('send data for secure form payment channel:');
|
22 |
+
$helper->log($data);
|
23 |
$result = $client->sofortSale($data);
|
24 |
+
$helper->log('Received response from PayLane:');
|
25 |
+
$helper->log($result);
|
26 |
|
27 |
//probably should be in externalUrlResponseAction
|
28 |
if($result['success']) {
|
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 |
|
app/code/community/Endora/PayLane/Model/Api/Payment/Sofort.php
CHANGED
@@ -18,7 +18,11 @@ class Endora_PayLane_Model_Api_Payment_Sofort extends Endora_PayLane_Model_Api_P
|
|
18 |
$data['customer'] = $this->_prepareCustomerData($order);
|
19 |
$data['back_url'] = Mage::getUrl(self::RETURN_URL_PATH, array('_secure' => true));
|
20 |
|
|
|
|
|
21 |
$result = $client->sofortSale($data);
|
|
|
|
|
22 |
|
23 |
//probably should be in externalUrlResponseAction
|
24 |
if($result['success']) {
|
@@ -33,7 +37,14 @@ class Endora_PayLane_Model_Api_Payment_Sofort extends Endora_PayLane_Model_Api_P
|
|
33 |
$errorText = (!empty($result['error']['error_description'])) ? $result['error']['error_description'] : '';
|
34 |
}
|
35 |
$comment = $helper->__('There was an error in payment process via PayLane module (Error code: %s, Error text: %s)', $errorCode, $errorText);
|
36 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
$order->save();
|
38 |
}
|
39 |
|
18 |
$data['customer'] = $this->_prepareCustomerData($order);
|
19 |
$data['back_url'] = Mage::getUrl(self::RETURN_URL_PATH, array('_secure' => true));
|
20 |
|
21 |
+
$helper->log('send data for sofort payment channel:');
|
22 |
+
$helper->log($data);
|
23 |
$result = $client->sofortSale($data);
|
24 |
+
$helper->log('Received response from PayLane:');
|
25 |
+
$helper->log($result);
|
26 |
|
27 |
//probably should be in externalUrlResponseAction
|
28 |
if($result['success']) {
|
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 |
|
app/code/community/Endora/PayLane/controllers/PaymentController.php
CHANGED
@@ -26,13 +26,23 @@ class Endora_PayLane_PaymentController extends Mage_Core_Controller_Front_Action
|
|
26 |
->loadByIncrementId($lastOrderId);
|
27 |
$paymentType = $order->getPayment()->getAdditionalInformation('paylane_payment_type');
|
28 |
|
|
|
|
|
|
|
29 |
if($paymentType == Endora_PayLane_Helper_Data::GATEWAY_TYPE_SECURE_FORM) {
|
30 |
$this->_redirect('paylane/payment/secureForm', array('_secure' => true));
|
31 |
} else {
|
32 |
$paymentParams = Mage::getSingleton('checkout/session')->getData('payment_params');
|
|
|
|
|
|
|
|
|
33 |
Mage::getSingleton('checkout/session')->unsetData('payment_params');
|
34 |
$apiPayment = Mage::getModel('paylane/api_payment_' . $paymentType);
|
35 |
$result = $apiPayment->handlePayment($order, $paymentParams);
|
|
|
|
|
|
|
36 |
|
37 |
$this->_redirect($helper->getRedirectUrl(!$result), array('_secure' => true));
|
38 |
}
|
@@ -55,6 +65,9 @@ class Endora_PayLane_PaymentController extends Mage_Core_Controller_Front_Action
|
|
55 |
$payment = Mage::getModel('paylane/payment');
|
56 |
$params = $this->getRequest()->getParams();
|
57 |
|
|
|
|
|
|
|
58 |
$error = false;
|
59 |
$orderStatus = Mage_Sales_Model_Order::STATE_PENDING_PAYMENT;
|
60 |
$orderIncrementId = $params['description'];
|
@@ -92,7 +105,14 @@ class Endora_PayLane_PaymentController extends Mage_Core_Controller_Front_Action
|
|
92 |
$order->setPaylaneSaleId($transactionId);
|
93 |
}
|
94 |
|
95 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
$order->save();
|
97 |
|
98 |
$this->_redirect($helper->getRedirectUrl($error), array('_secure' => true));
|
@@ -118,13 +138,14 @@ class Endora_PayLane_PaymentController extends Mage_Core_Controller_Front_Action
|
|
118 |
$success = false;
|
119 |
$paymentType = $order->getPayment()->getAdditionalInformation('paylane_payment_type');
|
120 |
|
|
|
|
|
|
|
121 |
$id = '';
|
122 |
if($result['status'] != Endora_PayLane_Model_Payment::PAYMENT_STATUS_ERROR) {
|
123 |
$id = $result['id_sale'];
|
124 |
}
|
125 |
|
126 |
-
// var_dump($result, $paymentType); die;
|
127 |
-
|
128 |
if($payment->verifyResponseHash($result, $paymentType)) {
|
129 |
switch($result['status']) {
|
130 |
case Endora_PayLane_Model_Payment::PAYMENT_STATUS_CLEARED :
|
@@ -165,7 +186,14 @@ class Endora_PayLane_PaymentController extends Mage_Core_Controller_Front_Action
|
|
165 |
$comment = $helper->__('There was an error in payment process via PayLane module (hash verification failed)');
|
166 |
}
|
167 |
|
168 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
$order->save();
|
170 |
|
171 |
$this->_redirect($helper->getRedirectUrl(!$success), array('_secure' => true));
|
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);
|
31 |
+
|
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 |
}
|
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 |
$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 |
$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 |
$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));
|
app/code/community/Endora/PayLane/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Endora_PayLane>
|
5 |
-
<version>0.1.
|
6 |
</Endora_PayLane>
|
7 |
</modules>
|
8 |
<global>
|
@@ -80,17 +80,6 @@
|
|
80 |
</updates>
|
81 |
</layout>
|
82 |
</frontend>
|
83 |
-
<admin>
|
84 |
-
<routers>
|
85 |
-
<paylane>
|
86 |
-
<use>admin</use>
|
87 |
-
<args>
|
88 |
-
<module>Endora_PayLane</module>
|
89 |
-
<frontName>paylane</frontName>
|
90 |
-
</args>
|
91 |
-
</paylane>
|
92 |
-
</routers>
|
93 |
-
</admin>
|
94 |
<adminhtml>
|
95 |
<acl>
|
96 |
<resources>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Endora_PayLane>
|
5 |
+
<version>0.1.1</version>
|
6 |
</Endora_PayLane>
|
7 |
</modules>
|
8 |
<global>
|
80 |
</updates>
|
81 |
</layout>
|
82 |
</frontend>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
<adminhtml>
|
84 |
<acl>
|
85 |
<resources>
|
app/code/community/Endora/PayLane/etc/system.xml
CHANGED
@@ -83,6 +83,16 @@
|
|
83 |
<show_in_website>1</show_in_website>
|
84 |
<show_in_store>0</show_in_store>
|
85 |
</redirect_version>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
<paylane_notifications type="group" translate="label comment">
|
87 |
<label>Notifications settings</label>
|
88 |
<frontend_type>text</frontend_type>
|
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>
|
app/design/frontend/base/default/template/paylane/customer/account.phtml
DELETED
@@ -1,39 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Template to show creadit card authorization settings
|
4 |
-
* in customer My Account page
|
5 |
-
*
|
6 |
-
* @author Michał Zabielski <michal.zabielski@endora.pl> http://www.endora.pl
|
7 |
-
* @see Endora_PayLane_Block_Customer_Account
|
8 |
-
*/
|
9 |
-
?>
|
10 |
-
<?php $authStatus = $this->isCustomerAuthorized(); ?>
|
11 |
-
<div class="page-title">
|
12 |
-
<h1><?php echo $this->__('PayLane Customer Settings') ?></h1>
|
13 |
-
</div>
|
14 |
-
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
15 |
-
<div class="fieldset">
|
16 |
-
<?php
|
17 |
-
echo $this->__('Authorization status') . ': ';
|
18 |
-
|
19 |
-
if($authStatus): ?>
|
20 |
-
<span style="color: green;"><?php echo $this->__('Authorized'); ?></span>
|
21 |
-
<?php else: ?>
|
22 |
-
<span style="color: red;"><?php echo $this->__('Unauthorized'); ?></span>
|
23 |
-
<?php endif; ?>
|
24 |
-
</div>
|
25 |
-
<div class="fieldset">
|
26 |
-
<?php echo $this->__('If you want to authorize or reauthorize with new data fill the form below'); ?>
|
27 |
-
</div>
|
28 |
-
<form action="<?php echo $this->getUrl('paylane/customer/authorizeCreditCard') ?>" method="post" autocomplete="off" id="form-validate" class="scaffold-form" enctype="multipart/form-data">
|
29 |
-
<div class="fieldset">
|
30 |
-
<h2 class="legend"><?php echo $this->__('Credit Card Authorization') ?></h2>
|
31 |
-
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
32 |
-
|
33 |
-
<?php echo $this->getChildHtml('credit_card_form'); ?>
|
34 |
-
</div>
|
35 |
-
<div class="buttons-set">
|
36 |
-
<button type="submit" title="<?php echo $this->__('Authorize') ?>" class="button"><span><span><?php echo $this->__('Authorize') ?></span></span></button>
|
37 |
-
<button type="button" onclick="setLocation('<?php echo $this->getUrl('paylane/customer/unauthorizeCreditCard'); ?>')" title="<?php echo $this->__('Unauthorize') ?>" class="button"><span><span><?php echo $this->__('Unauthorize') ?></span></span></button>
|
38 |
-
</div>
|
39 |
-
</form>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/base/default/template/paylane/empty.phtml
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<?php echo $this->getChildHtml('paylane_redirect');
|
|
app/design/frontend/base/default/template/paylane/form.phtml
DELETED
@@ -1,63 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Allows redirect to Secure Form
|
4 |
-
*
|
5 |
-
* @link http://devzone.paylane.pl/secure-form/
|
6 |
-
* @see Endora_PayLane_Block_Form
|
7 |
-
* @author Michał Zabielski <michal.zabielski@endora.pl> http://www.endora.pl
|
8 |
-
*/
|
9 |
-
?>
|
10 |
-
<?php
|
11 |
-
$paymentMethods = $this->getPaymentMethods();
|
12 |
-
$isRecurring = $this->isRecurringItemInCart();
|
13 |
-
?>
|
14 |
-
<div class="paylane-payment-container">
|
15 |
-
<div id="payment_form_paylane">
|
16 |
-
<div class="paylane-payment-method-container-title"><?php echo $this->__('Choose payment method'); ?>:</div>
|
17 |
-
<div class="paylane-payment-method-container">
|
18 |
-
<ul class="form-list">
|
19 |
-
<?php foreach($paymentMethods as $code => $method): ?>
|
20 |
-
<?php if($this->isPaymentMethodActive($code)): ?>
|
21 |
-
<?php if( ($isRecurring && $method['recurring'] === true) || !$isRecurring): ?>
|
22 |
-
<li>
|
23 |
-
<input type="radio" name="payment[additional_information][paylane_payment_type]" id="paylane_payment_type_<?php echo $code; ?>" value="<?php echo $code; ?>" />
|
24 |
-
<label for="paylane_payment_type_<?php echo $code; ?>">
|
25 |
-
<?php if(empty($method['img'])): ?>
|
26 |
-
<?php echo $this->__($method['label']); ?>
|
27 |
-
<?php else: ?>
|
28 |
-
<img src="<?php echo $method['img']; ?>" title="<?php echo $this->__($method['label']); ?>" alt="" />
|
29 |
-
<?php endif; ?>
|
30 |
-
</label>
|
31 |
-
</li>
|
32 |
-
<?php endif; ?>
|
33 |
-
<?php endif; ?>
|
34 |
-
<?php endforeach; ?>
|
35 |
-
</ul>
|
36 |
-
<div class="clearfix"></div>
|
37 |
-
</div>
|
38 |
-
<div id="paylane-payment-method-additional-container"><?php //loaded via AJAX request ?></div>
|
39 |
-
</div>
|
40 |
-
</div>
|
41 |
-
|
42 |
-
<script type="text/javascript">
|
43 |
-
//<![CDATA[
|
44 |
-
if(jQuery('input[type=radio][name="payment[method]"]:checked').val() === "paylane") {
|
45 |
-
jQuery(".paylane-payment-container").show();
|
46 |
-
}
|
47 |
-
|
48 |
-
jQuery('input[type=radio][name="payment[method]"]').change(function() {
|
49 |
-
if(this.value === "paylane") {
|
50 |
-
jQuery(".paylane-payment-container").slideDown();
|
51 |
-
} else {
|
52 |
-
jQuery(".paylane-payment-container").slideUp();
|
53 |
-
}
|
54 |
-
});
|
55 |
-
|
56 |
-
jQuery('input[type=radio][name="payment[additional_information][paylane_payment_type]"]').change(function() {
|
57 |
-
var paymentType = this.value;
|
58 |
-
jQuery.post( "<?php echo Mage::getUrl('paylane/payment/fetchPaymentTemplate'); ?>", { paymentType : paymentType }).done(function (data) {
|
59 |
-
jQuery("#paylane-payment-method-additional-container").html(data);
|
60 |
-
});
|
61 |
-
});
|
62 |
-
//]]>
|
63 |
-
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/base/default/template/paylane/info.phtml
DELETED
@@ -1,22 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* @see Endora_PayLane_Block_Info
|
4 |
-
*/
|
5 |
-
$infos = $this->getMoreInfo();
|
6 |
-
?>
|
7 |
-
<table class="form-list paylane-payment-info">
|
8 |
-
<tr>
|
9 |
-
<td class="label"><?php echo $this->__('Method'); ?>:</td>
|
10 |
-
<td class="value"><strong><?php echo $this->htmlEscape($this->getMethod()->getTitle()); ?></strong></td>
|
11 |
-
</tr>
|
12 |
-
<?php if ($infos):?>
|
13 |
-
<?php foreach ($infos as $label => $info):?>
|
14 |
-
<tr>
|
15 |
-
<td class="label"><?php echo $this->escapeHtml(Mage::helper('paylane')->__($label))?>: </td>
|
16 |
-
<td class="value"><strong><?php echo nl2br(implode($this->getValueAsArray($info, true), "\n"))?></strong></td>
|
17 |
-
</tr>
|
18 |
-
<?php endforeach; ?>
|
19 |
-
<?php endif;?>
|
20 |
-
</table>
|
21 |
-
<br>
|
22 |
-
<?php echo $this->getChildHtml();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/base/default/template/paylane/payment/banktransfer.phtml
DELETED
@@ -1,24 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Display list of payment types for bank transfer
|
4 |
-
*
|
5 |
-
* @author Michał Zabielski <michal.zabielski@endora.pl> http://www.endora.pl
|
6 |
-
*/
|
7 |
-
?>
|
8 |
-
<?php $paymentTypes = $this->getPaymentTypes(); ?>
|
9 |
-
<div class="paylane-payment-method-container-title"><?php echo $this->__('Choose payment type'); ?>:</div>
|
10 |
-
<ul class="form-list payment-types-list">
|
11 |
-
<?php foreach($paymentTypes as $code => $data): ?>
|
12 |
-
<li>
|
13 |
-
<input type="radio" name="payment_params[payment_type]" id="payment_type_<?php echo $code; ?>" value="<?php echo $code; ?>">
|
14 |
-
<label for="payment_type_<?php echo $code; ?>">
|
15 |
-
<?php if(empty($data['img'])): ?>
|
16 |
-
<?php echo $this->__($data['label']); ?>
|
17 |
-
<?php else: ?>
|
18 |
-
<img src="<?php echo $data['img']; ?>" title="<?php echo $this->__($data['label']); ?>" alt="" />
|
19 |
-
<?php endif; ?>
|
20 |
-
</label>
|
21 |
-
</li>
|
22 |
-
<?php endforeach; ?>
|
23 |
-
</ul>
|
24 |
-
<div class="clearfix"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/base/default/template/paylane/payment/creditcard.phtml
DELETED
@@ -1,62 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
$helper = Mage::helper('paylane');
|
3 |
-
$isSingleClickActive = $helper->isSingleClickActive();
|
4 |
-
$isAuthorized = $this->isCustomerAuthorized();
|
5 |
-
$isFirstOrder = $this->isCustomerFirstOrder();
|
6 |
-
$months = $helper->generateMonthsNumber();
|
7 |
-
$years = $helper->generateCreditCardValidYears();
|
8 |
-
?>
|
9 |
-
<?php if(!$isSingleClickActive || ($isSingleClickActive && $isFirstOrder)): ?>
|
10 |
-
<div class="form-list">
|
11 |
-
<div class="field">
|
12 |
-
<label for="payment_params:card_numer" class="required"><em>*</em><?php echo $this->__('Card number'); ?></label>
|
13 |
-
<div class="input-box">
|
14 |
-
<input type="text" id="payment_params:card_numer" name="payment_params[card_number]" size="19" class="input-text required-entry">
|
15 |
-
</div>
|
16 |
-
</div>
|
17 |
-
<div class="field">
|
18 |
-
<label for="payment_params:name_on_card" class="required"><em>*</em><?php echo $this->__('Name on card'); ?></label>
|
19 |
-
<div class="input-box">
|
20 |
-
<input type="text" id="payment_params:name_on_card" name="payment_params[name_on_card]" size="50" class="input-text required-entry">
|
21 |
-
</div>
|
22 |
-
</div>
|
23 |
-
<div class="field">
|
24 |
-
<label for="payment_params:expiration_month" class="required"><em>*</em><?php echo $this->__('Expiration month'); ?></label>
|
25 |
-
<div class="input-box">
|
26 |
-
<select id="payment_params:expiration_month" name="payment_params[expiration_month]" class="required-entry">
|
27 |
-
<?php foreach($months as $month): ?>
|
28 |
-
<option value="<?php echo $month; ?>"><?php echo $month; ?></option>
|
29 |
-
<?php endforeach; ?>
|
30 |
-
</select>
|
31 |
-
</div>
|
32 |
-
</div>
|
33 |
-
<div class="field">
|
34 |
-
<label for="payment_params:expiration_year" class="required"><em>*</em><?php echo $this->__('Expiration year'); ?></label>
|
35 |
-
<div class="input-box">
|
36 |
-
<select id="payment_params:expiration_year" name="payment_params[expiration_year]" class="required-entry">
|
37 |
-
<?php foreach($years as $year): ?>
|
38 |
-
<option value="<?php echo $year; ?>"><?php echo $year; ?></option>
|
39 |
-
<?php endforeach; ?>
|
40 |
-
</select>
|
41 |
-
</div>
|
42 |
-
</div>
|
43 |
-
<div class="field">
|
44 |
-
<label for="payment_params:card_code" class="required"><em>*</em><?php echo $this->__('CVV/CVC'); ?></label>
|
45 |
-
<div class="input-box">
|
46 |
-
<input type="text" id="payment_params:card_code" name="payment_params[card_code]" size="4" class="input-text required-entry">
|
47 |
-
</div>
|
48 |
-
</div>
|
49 |
-
</div>
|
50 |
-
<?php else: ?>
|
51 |
-
<?php if($isAuthorized): ?>
|
52 |
-
<?php $authId = Mage::getModel('customer/customer')->load(Mage::getSingleton('customer/session')->getId())
|
53 |
-
->getCardAuthorizationId();
|
54 |
-
?>
|
55 |
-
<input type="hidden" id="payment_params:authorization_id" name="payment_params[authorization_id]" value="<?php echo $authId; ?>">
|
56 |
-
<?php echo $this->__('User authorized earlier - no additional data required'); ?>
|
57 |
-
<?php else: ?>
|
58 |
-
<?php $saleId = $this->getCustomerLastOrderPaylaneSaleId(); ?>
|
59 |
-
<input type="hidden" id="payment_params:sale_id" name="payment_params[sale_id]" value="<?php echo $saleId; ?>">
|
60 |
-
<?php echo $this->__('Using Single-click method - get card data from earlier order'); ?>
|
61 |
-
<?php endif; ?>
|
62 |
-
<?php endif;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/base/default/template/paylane/payment/creditcard/form.phtml
DELETED
@@ -1,45 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
$helper = Mage::helper('paylane');
|
3 |
-
$months = $helper->generateMonthsNumber();
|
4 |
-
$years = $helper->generateCreditCardValidYears();
|
5 |
-
?>
|
6 |
-
<div class="form-list">
|
7 |
-
<div class="field">
|
8 |
-
<label for="payment_params:card_numer" class="required"><em>*</em><?php echo $this->__('Card number'); ?></label>
|
9 |
-
<div class="input-box">
|
10 |
-
<input type="text" id="payment_params:card_numer" name="payment_params[card_number]" size="19" class="input-text required-entry">
|
11 |
-
</div>
|
12 |
-
</div>
|
13 |
-
<div class="field">
|
14 |
-
<label for="payment_params:name_on_card" class="required"><em>*</em><?php echo $this->__('Name on card'); ?></label>
|
15 |
-
<div class="input-box">
|
16 |
-
<input type="text" id="payment_params:name_on_card" name="payment_params[name_on_card]" size="50" class="input-text required-entry">
|
17 |
-
</div>
|
18 |
-
</div>
|
19 |
-
<div class="field">
|
20 |
-
<label for="payment_params:expiration_month" class="required"><em>*</em><?php echo $this->__('Expiration month'); ?></label>
|
21 |
-
<div class="input-box">
|
22 |
-
<select id="payment_params:expiration_month" name="payment_params[expiration_month]" class="required-entry">
|
23 |
-
<?php foreach($months as $month): ?>
|
24 |
-
<option value="<?php echo $month; ?>"><?php echo $month; ?></option>
|
25 |
-
<?php endforeach; ?>
|
26 |
-
</select>
|
27 |
-
</div>
|
28 |
-
</div>
|
29 |
-
<div class="field">
|
30 |
-
<label for="payment_params:expiration_year" class="required"><em>*</em><?php echo $this->__('Expiration year'); ?></label>
|
31 |
-
<div class="input-box">
|
32 |
-
<select id="payment_params:expiration_year" name="payment_params[expiration_year]" class="required-entry">
|
33 |
-
<?php foreach($years as $year): ?>
|
34 |
-
<option value="<?php echo $year; ?>"><?php echo $year; ?></option>
|
35 |
-
<?php endforeach; ?>
|
36 |
-
</select>
|
37 |
-
</div>
|
38 |
-
</div>
|
39 |
-
<div class="field">
|
40 |
-
<label for="payment_params:card_code" class="required"><em>*</em><?php echo $this->__('CVV/CVC'); ?></label>
|
41 |
-
<div class="input-box">
|
42 |
-
<input type="text" id="payment_params:card_code" name="payment_params[card_code]" size="4" class="input-text required-entry">
|
43 |
-
</div>
|
44 |
-
</div>
|
45 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/base/default/template/paylane/payment/directdebit.phtml
DELETED
@@ -1,32 +0,0 @@
|
|
1 |
-
<div class="form-list">
|
2 |
-
<div class="field">
|
3 |
-
<label for="payment_params:account_holder" class="required"><em>*</em><?php echo $this->__('Account holder'); ?></label>
|
4 |
-
<div class="input-box">
|
5 |
-
<input type="text" id="payment_params:account_holder" name="payment_params[account_holder]" size="30" class="input-text required-entry">
|
6 |
-
</div>
|
7 |
-
</div>
|
8 |
-
<div class="field">
|
9 |
-
<label for="payment_params:account_country" class="required"><em>*</em><?php echo $this->__('Bank account country'); ?></label>
|
10 |
-
<div class="input-box">
|
11 |
-
<input type="text" id="payment_params:account_country" name="payment_params[account_country]" size="2" class="input-text required-entry">
|
12 |
-
</div>
|
13 |
-
</div>
|
14 |
-
<div class="field">
|
15 |
-
<label for="payment_params:iban" class="required"><em>*</em><?php echo $this->__('IBAN Number'); ?></label>
|
16 |
-
<div class="input-box">
|
17 |
-
<input type="text" id="payment_params:iban" name="payment_params[iban]" size="31" class="input-text required-entry">
|
18 |
-
</div>
|
19 |
-
</div>
|
20 |
-
<div class="field">
|
21 |
-
<label for="payment_params:bic" class="required"><em>*</em><?php echo $this->__('Bank Identifier Code (BIC)'); ?></label>
|
22 |
-
<div class="input-box">
|
23 |
-
<input type="text" id="payment_params:bic" name="payment_params[bic]" size="4" class="input-text required-entry">
|
24 |
-
</div>
|
25 |
-
</div>
|
26 |
-
<div class="field">
|
27 |
-
<label for="payment_params:mandate_id" class="required"><em>*</em><?php echo $this->__('Mandate ID'); ?></label>
|
28 |
-
<div class="input-box">
|
29 |
-
<input type="text" id="payment_params:mandate_id" name="payment_params[mandate_id]" size="35" class="input-text required-entry">
|
30 |
-
</div>
|
31 |
-
</div>
|
32 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/base/default/template/paylane/payment/ideal.phtml
DELETED
@@ -1,21 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* @see Endora_PayLane_Block_Payment_Ideal
|
4 |
-
*/
|
5 |
-
|
6 |
-
$bankData = $this->getBankCodes();
|
7 |
-
?>
|
8 |
-
<div class="form-list">
|
9 |
-
<div class="field">
|
10 |
-
<label for="payment_params:bank_code" class="required"><em>*</em><?php echo $this->__('Choose bank'); ?></label>
|
11 |
-
<div class="input-box">
|
12 |
-
<select id="payment_params:bank_code" name="payment_params[bank_code]">
|
13 |
-
<?php
|
14 |
-
foreach ($bankData as $bank) {
|
15 |
-
echo sprintf('<option value="%s">%s</option>', $bank['bank_code'], $bank['bank_name']), "\n";
|
16 |
-
}
|
17 |
-
?>
|
18 |
-
</select>
|
19 |
-
</div>
|
20 |
-
</div>
|
21 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/base/default/template/paylane/payment/paypal.phtml
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<?php echo $this->__('You will be redirected to PayPal website to pay for the order');
|
|
app/design/frontend/base/default/template/paylane/payment/secureform.phtml
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<?php echo $this->__('You will be redirected to PayLane Secure Form to pay for the order'); ?>
|
|
app/design/frontend/base/default/template/paylane/payment/sofort.phtml
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<?php echo $this->__('You will be redirected to SOFORT website to pay for the order');
|
|
app/design/frontend/base/default/template/paylane/redirect.phtml
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Allows redirect to Secure Form
|
4 |
-
*
|
5 |
-
* @see http://devzone.paylane.pl/secure-form/
|
6 |
-
* @author Michał Zabielski <michal.zabielski@endora.pl> http://www.endora.pl
|
7 |
-
*/
|
8 |
-
?>
|
9 |
-
<html><body>
|
10 |
-
<?php echo $this->getFormHtml(); ?>
|
11 |
-
<script type="text/javascript">document.getElementById("paylane_checkout_secureform").submit();</script>
|
12 |
-
</body></html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/locale/pl_PL/Endora_PayLane.csv
DELETED
@@ -1,59 +0,0 @@
|
|
1 |
-
"Order #%s, %s (%s)","Zamówienie numer %s, %s (%s)"
|
2 |
-
"There was an error in payment process via PayLane module (Error ID: %s , Error code: %s, Error text: %s)","Wystąpił błąd w procesie płatności przez moduł PayLane (ID błędu: %s, kod błędu %s, treść błędu: %s)"
|
3 |
-
"There was an error in payment process via PayLane module (Error code: %s, Error text: %s)","Wystąpił błąd w procesie płatności przez moduł PayLane (kod błędu %s, treść błędu: %s)"
|
4 |
-
"Payment handled via PayLane module | Transaction ID: %s","Płatność została obsłużona przez moduł PayLane | ID transakcji: %s"
|
5 |
-
"You will be redirected to PayLane Secure Form to pay for the order","W celu opłacenia zamówienia zostaniesz przekierowany na stronę PayLane"
|
6 |
-
"Choose payment method","Wybierz metodę płatności"
|
7 |
-
"Choose payment type","Wybierz typ płatności"
|
8 |
-
"Method","Metoda płatności"
|
9 |
-
"Payment channel","Kanał płatności"
|
10 |
-
"Choose bank","Wybierz bank"
|
11 |
-
"Chosen bank","Wybrany bank"
|
12 |
-
"Bank transfer","Przelew bankowy"
|
13 |
-
"Other","Inny"
|
14 |
-
"Notifications settings","Ustawienia powiadomień"
|
15 |
-
"Manual","Ręczny"
|
16 |
-
"Automatic","Automatyczny"
|
17 |
-
"Notification mode","Tryb powiadamiania"
|
18 |
-
"Check notifications interval","Interwał sprawdzania powiadomień"
|
19 |
-
"Username","Nazwa użytkownika"
|
20 |
-
"Password","Hasło"
|
21 |
-
"Place number of minutes","Wprowadź liczbę minut"
|
22 |
-
"Credit card","Karta kredytowa"
|
23 |
-
"Order status changed via PayLane module","Status zamówienia został zmieniony przez moduł PayLane"
|
24 |
-
"Enable this solution","Moduł aktywny"
|
25 |
-
"Title","Tytuł"
|
26 |
-
"Sort order","Porządek sortowania"
|
27 |
-
"Gateway type","Typ bramki płatności"
|
28 |
-
"Enable logging","Logowanie aktywne"
|
29 |
-
"Log will be able in /var/log/paylane-notifications.log","Plik logów będzie dostępny w /var/log/paylane-notifications.log"
|
30 |
-
"Hash salt","Sól hashu"
|
31 |
-
"URL that handles automatic notifications","URL do obsługi automatycznych powiadomień"
|
32 |
-
"Notification Token","Token dla powiadomień"
|
33 |
-
"If you want to handle automatic notifications in your store, you have to inform PayLane support about that URL","Jeśli chcesz korzystać z automatycznych powiadomień musisz poinformować PayLane o tym adresie URL"
|
34 |
-
"Pending Order Status","Status oczekującego zamówienia (Pending)"
|
35 |
-
"Performed Order Status","Status przetwarzanego zamówienia (Performed)"
|
36 |
-
"Cleared Order Status","Status obsłużonego zamówienia (Cleared)"
|
37 |
-
"Error Order Status","Status błędnego zamówienia (Error)"
|
38 |
-
"Redirect version","Wersja przekierowania"
|
39 |
-
"Merchant ID","ID Sprzedawcy"
|
40 |
-
"Send Customer Data","Wysyłaj dane klienta"
|
41 |
-
"API Key","Klucz API"
|
42 |
-
"Overwrite Fraud check?","Napisywać kontrolę oszustw?"
|
43 |
-
"Overwrite AVS check level?","Nadpisywać poziom wyboru AVS?"
|
44 |
-
"Fraud check","Kontrola oszustw"
|
45 |
-
"AVS check level","Poziom wyboru AVS"
|
46 |
-
"Enable Single-click payment","Aktywuj płatności typu Single-click"
|
47 |
-
"Blocked amount in authorization process","Kwota blokowana podczas procesu autoryzacji"
|
48 |
-
"3DS check","Sprawdzenie 3DS"
|
49 |
-
"Get from <a href=""http://merchant.paylane.com"" target=""_blank"">http://merchant.paylane.com</a>","Dane dostępne na stronie <a href=""http://merchant.paylane.com"" target=""_blank"">http://merchant.paylane.com</a>"
|
50 |
-
"See <a href=""http://devzone.paylane.pl/powiadomienia-o-transakcjach/"" target=""_blank"">http://devzone.paylane.pl/powiadomienia-o-transakcjach/</a> for more information","Po więcej informacji odwiedź stronę <a href=""http://devzone.paylane.pl/powiadomienia-o-transakcjach/"" target=""_blank"">http://devzone.paylane.pl/powiadomienia-o-transakcjach/</a>"
|
51 |
-
"Optional, can be configured in <a href=""http://merchant.paylane.com"" target=""_blank"">Merchant Panel</a>","Opcjonalne, można skonfigurować w <a href=""http://merchant.paylane.com"" target=""_blank"">Panelu Sprzedawcy</a>"
|
52 |
-
"Send additional customer data while redirecting to SecureForm","Wysyłaj dodatkowe dane o kliencie podczas przekierowania do SecureForm"
|
53 |
-
"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>","Sprawdź czy masz możliwość nadpisywania tego ustawienia - informacja taka dostępna jest w <a href=""http://merchant.paylane.com"" target=""_blank"">Panelu Sprzedawcy</a>"
|
54 |
-
"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>","Więcej informacji o płatnościach Single-click dostępnych na stronie <a href=""http://devzone.paylane.pl/api/karty/platnosci-single-click/"" target=""_blank"">http://devzone.paylane.pl/api/karty/platnosci-single-click/</a>"
|
55 |
-
"Set in default store currency","Podaj kwotę w domyślnej walucie sklepu"
|
56 |
-
"Notification username","Użytkownik dla powiadomień"
|
57 |
-
"Notification password","Hasło dla powiadomień"
|
58 |
-
"API Username","Użytkownik API"
|
59 |
-
"API Password","Hasło API"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Endora_PayLane2</name>
|
4 |
-
<version>0.1.
|
5 |
<stability>beta</stability>
|
6 |
<license uri="http://opensource.org/licenses/MIT">Massachusetts Institute of Technology License (MITL)</license>
|
7 |
<channel>community</channel>
|
@@ -10,19 +10,12 @@
|
|
10 |
<description>The extension adds a new payment method to your shop which gives your customers the possibility to use PayLane system to pay for their orders.
|
11 |
It allows to use recurring payments, credit card authorization, single-click payments and much more.
|
12 |
If you are interested in technical support, e-mail us at it@paylane.com or magento@endora.pl.</description>
|
13 |
-
<notes>- Add
|
14 |
-
-
|
15 |
-
- Add iDEAL payment channel
|
16 |
-
- Add bank transfer payment channel
|
17 |
-
- Add SOFORT Banking payment channel
|
18 |
-
- Add Direct Debit payment channel
|
19 |
-
- Implement automatic notifications about payments
|
20 |
-
- Allow credit card authorization
|
21 |
-
- Add recurring payments component</notes>
|
22 |
<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>
|
23 |
-
<date>2015-
|
24 |
-
<time>07:
|
25 |
-
<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="
|
26 |
<compatible/>
|
27 |
<dependencies><required><php><min>5.0.0</min><max>5.6.8</max></php></required></dependencies>
|
28 |
</package>
|
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>
|
10 |
<description>The extension adds a new payment method to your shop which gives your customers the possibility to use PayLane system to pay for their orders.
|
11 |
It allows to use recurring payments, credit card authorization, single-click payments and much more.
|
12 |
If you are interested in technical support, e-mail us at it@paylane.com or magento@endora.pl.</description>
|
13 |
+
<notes>- Add logging for payment process - useful for debugging
|
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>
|