From be65b412ad0b96db2db2e45548aed56ca5b2b6a2 Mon Sep 17 00:00:00 2001 From: andrea longhi Date: Thu, 23 Aug 2018 10:46:43 +0200 Subject: [PATCH] Manage PAYPAL_POPUP_CLOSED JS error When the customer closes the PayPal popup before completing the payment process a PAYPAL_POPUP_CLOSED is received. The message is now properly shown to the customer. --- app/views/spree/shared/_braintree_errors.html.erb | 1 + config/locales/en.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/app/views/spree/shared/_braintree_errors.html.erb b/app/views/spree/shared/_braintree_errors.html.erb index d87b923b..690fd07a 100644 --- a/app/views/spree/shared/_braintree_errors.html.erb +++ b/app/views/spree/shared/_braintree_errors.html.erb @@ -1,5 +1,6 @@