Endora_PayLane2 - Version 0.1.3

Version Notes

- Fix for dynamic rendering payment method form when only one payment method is available

Download this release

Release Info

Developer ENDORA
Extension Endora_PayLane2
Version 0.1.3
Comparing to
See all releases


Code changes from version 0.1.2 to 0.1.3

app/code/community/Endora/PayLane/Block/Form.php CHANGED
@@ -46,18 +46,6 @@ class Endora_PayLane_Block_Form extends Mage_Core_Block_Template {
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
  *
46
  return $result;
47
  }
48
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  /**
50
  * Check whether payment method is active
51
  *
app/code/community/Endora/PayLane/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Endora_PayLane>
5
- <version>0.1.2</version>
6
  </Endora_PayLane>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Endora_PayLane>
5
+ <version>0.1.3</version>
6
  </Endora_PayLane>
7
  </modules>
8
  <global>
app/design/frontend/base/default/template/paylane/customer/account.phtml ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 if(Mage::helper('paylane')->isActive()): ?>
11
+ <?php $authStatus = $this->isCustomerAuthorized(); ?>
12
+ <div class="page-title">
13
+ <h1><?php echo $this->__('PayLane Customer Settings') ?></h1>
14
+ </div>
15
+ <?php echo $this->getMessagesBlock()->toHtml() ?>
16
+ <div class="fieldset">
17
+ <?php
18
+ echo $this->__('Authorization status') . ': ';
19
+
20
+ if($authStatus): ?>
21
+ <span style="color: green;"><?php echo $this->__('Authorized'); ?></span>
22
+ <?php else: ?>
23
+ <span style="color: red;"><?php echo $this->__('Unauthorized'); ?></span>
24
+ <?php endif; ?>
25
+ </div>
26
+ <div class="fieldset">
27
+ <?php echo $this->__('If you want to authorize or reauthorize with new data fill the form below'); ?>
28
+ </div>
29
+ <form action="<?php echo $this->getUrl('paylane/customer/authorizeCreditCard') ?>" method="post" autocomplete="off" id="form-validate" class="scaffold-form" enctype="multipart/form-data">
30
+ <div class="fieldset">
31
+ <h2 class="legend"><?php echo $this->__('Credit Card Authorization') ?></h2>
32
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
33
+
34
+ <?php echo $this->getChildHtml('credit_card_form'); ?>
35
+ </div>
36
+ <div class="buttons-set">
37
+ <button type="submit" title="<?php echo $this->__('Authorize') ?>" class="button"><span><span><?php echo $this->__('Authorize') ?></span></span></button>
38
+ <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>
39
+ </div>
40
+ </form>
41
+ <?php endif;
app/design/frontend/base/default/template/paylane/empty.phtml ADDED
@@ -0,0 +1 @@
 
1
+ <?php echo $this->getChildHtml('paylane_redirect');
app/design/frontend/base/default/template/paylane/form.phtml ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ $onlyOnePaymentActive = false;
13
+ $onlyOnePaymentCode = '';
14
+ ?>
15
+ <div class="paylane-payment-container">
16
+ <div id="payment_form_paylane">
17
+ <?php if(count($paymentMethods) > 1): ?>
18
+ <div class="paylane-payment-method-container-title"><?php echo $this->__('Choose payment method'); ?>:</div>
19
+ <div class="paylane-payment-method-container">
20
+ <ul class="form-list">
21
+ <?php foreach($paymentMethods as $code => $method): ?>
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 endforeach; ?>
33
+ </ul>
34
+ <div class="clearfix"></div>
35
+ </div>
36
+ <?php endif; ?>
37
+ <?php if(count($paymentMethods) == 1): ?>
38
+ <?php foreach($paymentMethods as $code => $method): ?>
39
+ <?php $onlyOnePaymentActive = true; $onlyOnePaymentCode = $code;?>
40
+ <input type="hidden" name="payment[additional_information][paylane_payment_type]" id="paylane_payment_type_<?php echo $code; ?>" value="<?php echo $code; ?>" />
41
+ <?php endforeach; ?>
42
+ <?php endif; ?>
43
+ <?php if(count($paymentMethods) < 1): ?>
44
+ <div class="paylane-payment-method-container-title"><?php echo $this->__('There are no active payment methods! Please contact with store administrator'); ?>:</div>
45
+ <?php endif; ?>
46
+ <div id="paylane-payment-method-additional-container"><?php //load via AJAX request is performed ?></div>
47
+ </div>
48
+ </div>
49
+
50
+ <script type="text/javascript">
51
+ //<![CDATA[
52
+ function fetchPaymentTemplate(paymentType) {
53
+ jQuery.post( "<?php echo Mage::getUrl('paylane/payment/fetchPaymentTemplate'); ?>", { paymentType : paymentType }).done(function (data) {
54
+ jQuery("#paylane-payment-method-additional-container").html(data);
55
+ });
56
+ }
57
+
58
+ if(jQuery('input[type=radio][name="payment[method]"]:checked').val() === "paylane") {
59
+ jQuery(".paylane-payment-container").show();
60
+ if(<?php echo $onlyOnePaymentActive; ?>) {
61
+ fetchPaymentTemplate(jQuery('input[name="payment[additional_information][paylane_payment_type]"]').val());
62
+ }
63
+ }
64
+
65
+ jQuery('input[type=radio][name="payment[method]"]').change(function() {
66
+ if(this.value === "paylane") {
67
+ if(<?php echo $onlyOnePaymentActive; ?>) {
68
+ fetchPaymentTemplate(jQuery('input[name="payment[additional_information][paylane_payment_type]"]').val());
69
+ jQuery(".paylane-payment-container").show();
70
+ } else {
71
+ jQuery(".paylane-payment-container").slideDown();
72
+ }
73
+ } else {
74
+ jQuery(".paylane-payment-container").slideUp();
75
+ }
76
+ });
77
+
78
+ jQuery('input[type=radio][name="payment[additional_information][paylane_payment_type]"]').change(function() {
79
+ var paymentType = this.value;
80
+ fetchPaymentTemplate(paymentType);
81
+ });
82
+ //]]>
83
+ </script>
app/design/frontend/base/default/template/paylane/info.phtml ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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[additional_information][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 ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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[additional_information][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[additional_information][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[additional_information][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[additional_information][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[additional_information][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[additional_information][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[additional_information][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 ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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[additional_information][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[additional_information][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[additional_information][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[additional_information][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[additional_information][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 ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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[additional_information][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[additional_information][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[additional_information][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[additional_information][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[additional_information][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 ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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[additional_information][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 ADDED
@@ -0,0 +1 @@
 
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 ADDED
@@ -0,0 +1 @@
 
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 ADDED
@@ -0,0 +1 @@
 
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 ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.log","Plik logów będzie dostępny w /var/log/paylane-notifications.log"
30
+ "Log will be able in /var/log/paylane.log","Plik logów będzie dostępny w /var/log/paylane.log"
31
+ "Hash salt","Sól hashu"
32
+ "URL that handles automatic notifications","URL do obsługi automatycznych powiadomień"
33
+ "Notification Token","Token dla powiadomień"
34
+ "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"
35
+ "Pending Order Status","Status oczekującego zamówienia (Pending)"
36
+ "Performed Order Status","Status przetwarzanego zamówienia (Performed)"
37
+ "Cleared Order Status","Status obsłużonego zamówienia (Cleared)"
38
+ "Error Order Status","Status błędnego zamówienia (Error)"
39
+ "Redirect version","Wersja przekierowania"
40
+ "Merchant ID","ID Sprzedawcy"
41
+ "Send Customer Data","Wysyłaj dane klienta"
42
+ "API Key","Klucz API"
43
+ "Overwrite Fraud check?","Napisywać kontrolę oszustw?"
44
+ "Overwrite AVS check level?","Nadpisywać poziom wyboru AVS?"
45
+ "Fraud check","Kontrola oszustw"
46
+ "AVS check level","Poziom wyboru AVS"
47
+ "Enable Single-click payment","Aktywuj płatności typu Single-click"
48
+ "Blocked amount in authorization process","Kwota blokowana podczas procesu autoryzacji"
49
+ "3DS check","Sprawdzenie 3DS"
50
+ "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>"
51
+ "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>"
52
+ "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>"
53
+ "Send additional customer data while redirecting to SecureForm","Wysyłaj dodatkowe dane o kliencie podczas przekierowania do SecureForm"
54
+ "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>"
55
+ "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>"
56
+ "Set in default store currency","Podaj kwotę w domyślnej walucie sklepu"
57
+ "Notification username","Użytkownik dla powiadomień"
58
+ "Notification password","Hasło dla powiadomień"
59
+ "API Username","Użytkownik API"
60
+ "API Password","Hasło API"
61
+ "<span style=""color: red; font-weight: bold;"">WARNING:</span> Using ""Complete"" status will cause in creating invoice and shipment automatically!","<span style=""color: red; font-weight: bold;"">UWAGA:</span> Ustawienie statusu ""Complete"" skutkuje automatycznym utworzeniem faktury i przesyłki!"
package.xml CHANGED
@@ -1,7 +1,7 @@
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>
@@ -10,17 +10,11 @@
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>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Endora_PayLane2</name>
4
+ <version>0.1.3</version>
5
  <stability>stable</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.&#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>- Fix for dynamic rendering payment method form when only one payment method is available</notes>
 
 
 
 
 
 
14
  <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>
15
+ <date>2015-11-27</date>
16
+ <time>08:57:48</time>
17
+ <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="ad381bbdd276c17ee951f6279f164536"/><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="ceac7f1b5b696083253534db97067bee"/><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="template"><dir name="paylane"><dir name="customer"><file name="account.phtml" hash="a2ebf416251f24bdefd43bc20ab9acdc"/></dir><file name="empty.phtml" hash="45d25a0ef85fa6de271e61a9d76db4c5"/><file name="form.phtml" hash="41d6722125a76bb7653c1dd32b9aea57"/><file name="info.phtml" hash="00b405c4f6f8e23e086e1ba2100059b1"/><dir name="payment"><file name="banktransfer.phtml" hash="b88d8071e7ba7746d5f02d34c5e4b6d0"/><dir name="creditcard"><file name="form.phtml" hash="2857b3d8d988b4a24703a292bf966b83"/></dir><file name="creditcard.phtml" hash="31c173a6b2f09fe1292a7ff6bd53b8c9"/><file name="directdebit.phtml" hash="0c802c6ce540aafb00bd7d6941b59ca8"/><file name="ideal.phtml" hash="d6490f996be59e5b2d433b8068dbc56d"/><file name="paypal.phtml" hash="18aff72598fc73b80b223cccb0a1d713"/><file name="secureform.phtml" hash="8cfd06e9b48f16bdbe9037c364a3e5d8"/><file name="sofort.phtml" hash="a0c661e5d92b01602188dec75927c829"/></dir><file name="redirect.phtml" hash="7f891fad1eb61edcc33b3cf9f54a3911"/></dir></dir><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><dir name="pl_PL"><file name="Endora_PayLane.csv" hash="a02c35ab93ce1830dc720b72fb7eb621"/></dir></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.0.0</min><max>5.6.8</max></php></required></dependencies>
20
  </package>