From 220c01ead57d1f70d7a0638acca158c5c99318ee Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 9 Jan 2022 16:35:45 +1100 Subject: [PATCH] Minor fixes for Braintree ACH --- resources/js/clients/payment_methods/braintree-ach.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/resources/js/clients/payment_methods/braintree-ach.js b/resources/js/clients/payment_methods/braintree-ach.js index 74ba1433a3..e646c8de0e 100644 --- a/resources/js/clients/payment_methods/braintree-ach.js +++ b/resources/js/clients/payment_methods/braintree-ach.js @@ -61,7 +61,8 @@ window.braintree.client.create({ }); }); }).catch(function (err) { - console.log(err.message); - // document.getElementById('errors').textContent = `${err.details.originalError.message} ${err.details.originalError.details.originalError[0].message}`; - // document.getElementById('errors').hidden = false; + + document.getElementById('errors').textContent = err.message; + document.getElementById('errors').hidden = false; + });