Skip to content

Commit fc8b208

Browse files
committed
Merge remote-tracking branch 'origin/MC-34363' into 2.4.1-develop-pr25
2 parents fcb50e9 + 4c1b025 commit fc8b208

File tree

1 file changed

+3
-0
lines changed
  • app/code/Magento/Braintree/view/adminhtml/web/js

1 file changed

+3
-0
lines changed

app/code/Magento/Braintree/view/adminhtml/web/js/braintree.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,9 @@ define([
304304
}
305305

306306
if (!self.validateCardType()) {
307+
$('body').trigger('processStop');
308+
self.error($t('Some payment input fields are invalid.'));
309+
307310
return false;
308311
}
309312

0 commit comments

Comments
 (0)