We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit cac82d83 authored by attilak's avatar attilak

Rename Adyen HPP to Alternative payment methods

Remove functions and settings related to
- payment_selection_on_adyen
- payment_routine
- skin_code
- hmac_test
- hmac_live
- ignore_second_address_field
- delivery_days
at Adyen HPP

Update fall back notes at pay by mail settings
parent 49f44f57
...@@ -155,7 +155,6 @@ class Redirect extends \Magento\Payment\Block\Form ...@@ -155,7 +155,6 @@ class Redirect extends \Magento\Payment\Block\Form
$url = ""; $url = "";
try { try {
if ($this->_order->getPayment()) { if ($this->_order->getPayment()) {
$paymentRoutine = $this->_adyenHelper->getAdyenHppConfigData('payment_routine');
switch ($this->_adyenHelper->isDemoMode()) { switch ($this->_adyenHelper->isDemoMode()) {
case true: case true:
......
...@@ -77,61 +77,61 @@ ...@@ -77,61 +77,61 @@
<!-- ko if: isPaymentMethodKlarna() --> <!-- ko if: isPaymentMethodKlarna() -->
<!-- ko if: showSsn() --> <!-- ko if: showSsn() -->
<div class="field ssn type required"> <div class="field ssn type required">
<label data-bind="attr: {for: getCode() + '_ssn_' + value}" class="adyen-checkout__label__text"> <label data-bind="attr: {for: getCode() + '_ssn_' + value}" class="adyen-checkout__label__text">
<span><!-- ko text: $t('Personal number')--><!-- /ko --></span> <span><!-- ko text: $t('Personal number')--><!-- /ko --></span>
</label> </label>
<div class="control"> <div class="control">
<input type="text" class="input-text" <input type="text" class="input-text"
name="payment[ssn]" name="payment[ssn]"
data-bind=" data-bind="
attr: { attr: {
id: getCode() + '_ssn_' + value, id: getCode() + '_ssn_' + value,
title: $t('Social Security Number'), title: $t('Social Security Number'),
'data-container': getCode() + '-ssn', 'data-container': getCode() + '-ssn',
maxlength : getSsnLength() maxlength : getSsnLength()
}, },
value: ssn" value: ssn"
data-validate="{required:true}" data-validate="{required:true}"
/> />
</div>
</div> </div>
<!--/ko--> </div>
<div afterRender="renderKlarnaComponent()" data-bind="attr: { id: 'klarnaContainer'}"></div>
<!--/ko--> <!--/ko-->
<!-- ko if: isPaymentMethodAfterPay() --> <div afterRender="renderKlarnaComponent()" data-bind="attr: { id: 'klarnaContainer'}"></div>
<!--/ko-->
<!-- ko if: showSsn() --> <!-- ko if: isPaymentMethodAfterPay() -->
<div class="field ssn type required">
<label data-bind="attr: {for: getCode() + '_ssn_' + value}" class="adyen-checkout__label__text">
<span><!-- ko text: $t('Personal number')--><!-- /ko --></span>
</label>
<div class="control">
<input type="text" class="input-text"
name="payment[ssn]"
data-bind="
attr: {
id: getCode() + '_ssn_' + value,
title: $t('Social Security Number'),
'data-container': getCode() + '-ssn',
maxlength : getSsnLength()
},
value: ssn"
data-validate="{required:true}"
/>
</div>
</div>
<!--/ko-->
<div afterRender="renderAfterPayComponent()" data-bind="attr: { id: 'afterPayContainer'}"></div> <!-- ko if: showSsn() -->
<div class="field ssn type required">
<label data-bind="attr: {for: getCode() + '_ssn_' + value}" class="adyen-checkout__label__text">
<span><!-- ko text: $t('Personal number')--><!-- /ko --></span>
</label>
<div class="control">
<input type="text" class="input-text"
name="payment[ssn]"
data-bind="
attr: {
id: getCode() + '_ssn_' + value,
title: $t('Social Security Number'),
'data-container': getCode() + '-ssn',
maxlength : getSsnLength()
},
value: ssn"
data-validate="{required:true}"
/>
</div>
</div>
<!--/ko--> <!--/ko-->
<!-- ko if: isPaymentMethodOtherOpenInvoiceMethod() --> <div afterRender="renderAfterPayComponent()" data-bind="attr: { id: 'afterPayContainer'}"></div>
<!--/ko-->
<!-- ko if: isPaymentMethodOtherOpenInvoiceMethod() -->
<div class="field gender required"> <div class="field gender required">
<label data-bind="attr: {for: getCode() + '_gender_type_' + value}" class="label"> <label data-bind="attr: {for: getCode() + '_gender_type_' + value}" class="label">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment