Skip to content

Commit

Permalink
chore: committing the built /cartridge folder
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Aug 12, 2024
1 parent e1f9d59 commit 81287de
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ $('#dwfrm_billing').submit(function apiRequest(e) {
});
});
setCheckoutConfiguration();
if (window.cardholderNameBool !== 'null') {
store.checkoutConfiguration.paymentMethodsConfiguration.card.hasHolderName = true;
store.checkoutConfiguration.paymentMethodsConfiguration.card.holderNameRequired = true;
}
if (window.googleMerchantID !== 'null' && window.Configuration.environment.includes('live')) {
var id = 'merchantId';
store.checkoutConfiguration.paymentMethodsConfiguration.paywithgoogle.configuration[id] = window.googleMerchantID;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
<script>
window.installments = '${pdict.adyen.installments}';
window.googleMerchantID = '${pdict.adyen.googleMerchantID}';
window.cardholderNameBool = '${pdict.adyen.cardholderNameBool}';
window.merchantAccount = '${pdict.adyen.merchantAccount}';
window.customerEmail = '${customer && customer.profile && customer.profile.email ? customer.profile.email : ''}';
var showStoreDetails = ${customer.authenticated && adyenRecurringPaymentsEnabled};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,6 @@
<div class="first-subtitle">Choose additional payment features you want to offer to your shoppers.</div>
</h7>
<div class="mt-2">
<div class="form-group">
<label class="form-title mb-0" for="cardHolderNameEnabled">Cardholder’s name</label>
<small id="cardHolderNameEnabledHelp" class="form-text mb-1">This allows you to show the input field for the cardholder’s name. </small>
<div class="radio-buttons">
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="AdyenCardHolderName_enabled" id="cardHolderYes" value=true ${AdyenConfigs.getAdyenCardholderNameEnabled() ? 'checked': ''}>
<label class="form-check-label" for="cardHolderYes">Enable</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="AdyenCardHolderName_enabled" id="cardHolderNo" value=false ${!AdyenConfigs.getAdyenCardholderNameEnabled() ? 'checked': ''}>
<label class="form-check-label" for="cardHolderNo">Disable</label>
</div>
</div>
</div>
<div class="form-group">
<div class='row'>
<div class="switch-button">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@ var adyenConfigsObj = {
getAdyenBasketFieldsEnabled: function getAdyenBasketFieldsEnabled() {
return getCustomPreference('AdyenBasketFieldsEnabled');
},
getAdyenCardholderNameEnabled: function getAdyenCardholderNameEnabled() {
return getCustomPreference('AdyenCardHolderName_enabled');
},
getAdyenLevel23DataEnabled: function getAdyenLevel23DataEnabled() {
return getCustomPreference('AdyenLevel23DataEnabled');
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ function begin(req, res, next) {
var adyenClientKey = AdyenConfigs.getAdyenClientKey();
var googleMerchantID = AdyenConfigs.getGoogleMerchantID();
var merchantAccount = AdyenConfigs.getAdyenMerchantAccount();
var cardholderNameBool = AdyenConfigs.getAdyenCardholderNameEnabled();
var SFRA6Enabled = AdyenConfigs.getAdyenSFRA6Compatibility();
var viewData = res.getViewData();
viewData.adyen = {
Expand All @@ -71,7 +70,6 @@ function begin(req, res, next) {
installments: installments,
googleMerchantID: googleMerchantID,
merchantAccount: merchantAccount,
cardholderNameBool: cardholderNameBool,
adyenClientKey: adyenClientKey,
SFRA6Enabled: SFRA6Enabled
};
Expand Down

0 comments on commit 81287de

Please sign in to comment.