@@ -47,10 +47,10 @@ $ccExpMonth = $block->getInfoData('cc_exp_month');
4747
4848 <div class="admin__field-control">
4949 <select id="<?= /* @noEscape */ $ code ?> _cc_type"
50+ class="admin__control-select"
5051 data-container="<?= /* @noEscape */ $ code ?> -cc-type"
51- name="payment[cc_type]"
5252 data-validate='{required:true, "validate-cc-type-select":"#<?= /* @noEscape */ $ code ?> _cc_number"}'
53- class="admin__control-select ">
53+ name="payment[cc_type] ">
5454 <option value=""><?= $ block ->escapeHtml (__ ('Please Select ' )) ?> </option>
5555 <?php foreach ($ block ->getCcAvailableTypes () as $ typeCode => $ typeName ): ?>
5656 <option
@@ -106,10 +106,11 @@ $ccExpMonth = $block->getInfoData('cc_exp_month');
106106 </label>
107107
108108 <div class="admin__field-control">
109- <select id="<?= /* @noEscape */ $ code ?> _expiration" name="payment[cc_exp_month]"
110- data-container="<?= /* @noEscape */ $ code ?> -cc-month"
109+ <select id="<?= /* @noEscape */ $ code ?> _expiration"
111110 class="admin__control-select admin__control-select-month"
112- data-validate='{required:true, "validate-cc-exp":"#<?= /* @noEscape */ $ code ?> _expiration_yr"}'>
111+ data-container="<?= /* @noEscape */ $ code ?> -cc-month"
112+ data-validate='{required:true, "validate-cc-exp":"#<?= /* @noEscape */ $ code ?> _expiration_yr"}'
113+ name="payment[cc_exp_month]">
113114 <?php foreach ($ block ->getCcMonths () as $ k => $ v ): ?>
114115 <option
115116 value="<?= /* @noEscape */ $ k ? $ block ->escapeHtml ($ k ) : '' ?> "
@@ -119,9 +120,11 @@ $ccExpMonth = $block->getInfoData('cc_exp_month');
119120 <?php endforeach ?>
120121 </select>
121122
122- <select id="<?= /* @noEscape */ $ code ?> _expiration_yr" name="payment[cc_exp_year]"
123+ <select id="<?= /* @noEscape */ $ code ?> _expiration_yr"
123124 class="admin__control-select admin__control-select-year"
124- data-container="<?= /* @noEscape */ $ code ?> -cc-year" data-validate='{required:true}'>
125+ data-container="<?= /* @noEscape */ $ code ?> -cc-year"
126+ data-validate='{required:true}'
127+ name="payment[cc_exp_year]">
125128 <?php foreach ($ block ->getCcYears () as $ k => $ v ): ?>
126129 <option
127130 value="<?= /* @noEscape */ $ k ? $ block ->escapeHtml ($ k ) : '' ?> "
0 commit comments