Skip to content

Commit

Permalink
resetting card selection when loaded so the UI will not get stuck fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartosz Sosnowski committed Nov 26, 2024
1 parent 4999c30 commit 4ca9f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Application/views/frontend/tpl/stripecreditcard.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
let displayErrorBox = document.getElementById('stripe_creditcard_error_box');
let displayError = document.getElementById('stripe_creditcard_error');
debugger
cardElement.mount('#stripeCardElement');
cardElement.on('change', ({error}) => {
let stripeUsedCard = '';
Expand Down

0 comments on commit 4ca9f2f

Please sign in to comment.