Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-kuendig committed Aug 22, 2024
2 parents dbce664 + 9bfc435 commit 68c3964
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/payments/stripe/form.htm
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
event.preventDefault();
}
var errorElement = document.getElementById('card-errors');
errorElement.classList.remove('visible')
errorElement.classList.remove('visible', 'oc-visible')
if (form) {
var submit = form.querySelector('[type="submit"]')
if (submit) {
Expand All @@ -73,7 +73,7 @@
stripe.createToken(card).then(function (result) {
if (result.error) {
errorElement.textContent = result.error.message;
errorElement.classList.add('visible')
errorElement.classList.add('visible', 'oc-visible')
if (submit) {
submit.classList.remove('oc-loading')
submit.disabled = false
Expand Down
2 changes: 2 additions & 0 deletions updates/version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -594,3 +594,5 @@ v3.4.3:
- 'Only create carts once a product is added'
v3.4.4:
- 'Fixed customer group prices compatibility with RainLab.User 3.0'
v3.4.5:
- 'Fixed Stripe errors not showing up in the checkout form'

0 comments on commit 68c3964

Please sign in to comment.