module-braintree-magento2
module-braintree-magento2 copied to clipboard
Update virtual.js
Update required to allow for Braintree Virtual Terminal to submit a transaction.
Without this fix, the inspector console shows a JS error when the "Take Payment" Button is clicked.
virtual.js:145 Uncaught TypeError: this.$container.validate is not a function
at UiClass.submitOrder (virtual.js:145:29)
at HTMLFormElement.dispatch (jquery.js:5430:49)
at elemData.handle (jquery.js:5234:47)
at Object.trigger (jquery.js:8719:28)
at HTMLFormElement.
Access to a Demo site to replicate this issue is available upon request.