Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Commit

Permalink
DARK: Express checkout display error message (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
adildev101 authored Nov 20, 2023
1 parent 2c002d6 commit edb82d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/express-checkout.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ async function placeOrder() {
});
});

notify(err.detail, 'error');

const formTop = form.getBoundingClientRect().top;

if(!document.querySelector('#yc-sticky-checkout')) {
Expand Down

0 comments on commit edb82d6

Please sign in to comment.