From edb82d65aec6da32b93d9889d6ef1962258dbd68 Mon Sep 17 00:00:00 2001 From: adildev101 <108662497+adildev101@users.noreply.github.com> Date: Mon, 20 Nov 2023 15:42:28 +0100 Subject: [PATCH] DARK: Express checkout display error message (#200) --- assets/express-checkout.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/express-checkout.js b/assets/express-checkout.js index c0922a39..c3d12a9d 100644 --- a/assets/express-checkout.js +++ b/assets/express-checkout.js @@ -44,6 +44,8 @@ async function placeOrder() { }); }); + notify(err.detail, 'error'); + const formTop = form.getBoundingClientRect().top; if(!document.querySelector('#yc-sticky-checkout')) {