Skip to content

Commit 78fd811

Browse files
committed
MC-19072: Braintree: Unable to fill "Credit Card Number" and "Expiration Date" fields on Checkout page if "CVV Verification" = No
1 parent f8620b9 commit 78fd811

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Braintree/view/frontend/web/template/payment

1 file changed

+2
-2
lines changed

app/code/Magento/Braintree/view/frontend/web/template/payment/form.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<!-- ko template: getTemplate() --><!-- /ko -->
2424
<!--/ko-->
2525
</div>
26-
<form id="co-transparent-form-braintree" class="form" data-bind="" method="post" action="#" novalidate="novalidate">
26+
<form id="co-transparent-form-braintree" class="form" data-bind="afterRender: initHostedFields" method="post" action="#" novalidate="novalidate">
2727
<fieldset data-bind="attr: {class: 'fieldset payment items ccard ' + getCode(), id: 'payment_form_' + getCode()}">
2828
<legend class="legend">
2929
<span><!-- ko i18n: 'Credit Card Information'--><!-- /ko --></span>
@@ -87,7 +87,7 @@
8787
<span><!-- ko i18n: 'Card Verification Number'--><!-- /ko --></span>
8888
</label>
8989
<div class="control _with-tooltip">
90-
<div data-bind="afterRender: initHostedFields, attr: {id: getCode() + '_cc_cid'}" class="hosted-control hosted-cid"></div>
90+
<div data-bind="attr: {id: getCode() + '_cc_cid'}" class="hosted-control hosted-cid"></div>
9191
<div class="hosted-error"><!-- ko i18n: 'Please, enter valid Card Verification Number'--><!-- /ko --></div>
9292

9393
<div class="field-tooltip toggle">

0 commit comments

Comments
 (0)