Skip to content

Commit

Permalink
PLGMAG2V2-784: Remove issuers from iDEAL (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinodsowdagar authored Aug 26, 2024
1 parent 622d22c commit 23fa3cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 34 deletions.
23 changes: 2 additions & 21 deletions view/frontend/web/js/view/payment/gateway/method-renderer/ideal.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ define(

return Component.extend({
defaults: {
template: 'MultiSafepay_ConnectFrontend/payment/gateway/ideal',
issuerId: '',
template: 'MultiSafepay_ConnectFrontend/payment/gateway/ideal'
},

initialize: function () {
Expand All @@ -55,22 +54,6 @@ define(
return this;
},

initObservable: function () {
this.observe('issuerId')
._super();

return this;
},

/**
* Get list of issuers
*
* @returns {*}
*/
getIssuers: function () {
return this.paymentConfig.issuers;
},

/**
* Returns vault code.
*
Expand All @@ -95,9 +78,7 @@ define(
getData: function () {
let data = {
"method": this.item.method,
"additional_data": {
'issuer_id': this.issuerId(),
}
"additional_data": {}
};

this.vaultEnabler.visitAdditionalData(data);
Expand Down
13 changes: 0 additions & 13 deletions view/frontend/web/template/payment/gateway/ideal.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,6 @@
<!-- ko foreach: getRegion('messages') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
<div class="payment-method-issuers" style="margin: 0 0 20px;">
<label>
<select name="issuerid" class="select bank" id="ideal-issuers" data-bind="
enable: true,
options: getIssuers(),
optionsValue: 'code',
optionsText: 'description',
optionsCaption: $t('Choose your bank...'),
value: issuerId">
</select>
</label>
</div>

<div class="payment-method-billing-address">
<!-- ko foreach: $parent.getRegion(getBillingAddressFormName()) -->
<!-- ko template: getTemplate() --><!-- /ko -->
Expand Down

0 comments on commit 23fa3cf

Please sign in to comment.