From 14298c73855c8982490403060a61cbb61ca54a47 Mon Sep 17 00:00:00 2001 From: Eddie Ferrer Date: Mon, 18 Oct 2021 12:54:44 -0700 Subject: [PATCH] fix: Display error message if getCLientToken fails in Braintree checkout VUE-778 --- src/components/Payment/BraintreeDropInInterface.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Payment/BraintreeDropInInterface.vue b/src/components/Payment/BraintreeDropInInterface.vue index 3e475126e8..f7937b4eb6 100644 --- a/src/components/Payment/BraintreeDropInInterface.vue +++ b/src/components/Payment/BraintreeDropInInterface.vue @@ -108,6 +108,7 @@ export default { scope.setTag('bt_get_client_token_error', errorMessage); Sentry.captureException(errorCode); }); + this.$showTipMsg('An Error has occured. Please refresh the page and try again.', 'error'); } else { this.clientToken = _get(response, 'data.shop.getClientToken'); this.initializeDropIn(this.clientToken);