OFFLINE-GmbH / oc-mall-plugin

:convenience_store: E-commerce solution for October CMS
https://offline-gmbh.github.io/oc-mall-plugin
MIT License
169 stars 114 forks source link

Stripe payment feedback error remains hidden #1157

Closed dathwa closed 2 months ago

dathwa commented 2 months ago

OCMS 3.6.29. Mall 3.4.4 I suspect this bug has been around for a while. At checkout, if the customer misses any fields, e.g. card number, CVV, postcode, the form generates an error, but no message is showing. I see in plugins/offline/mall/classes/payments/stripe/form.htm, you have errorElement.classList.remove('visible'); and errorElement.classList.add('visible');

Changing the class to "oc-visible" works for me.

tobias-kuendig commented 2 months ago

Thanks! This is a leftover from older October versions, but the class name was changed around 2.0 I believe, so yes that bug was there for a while.

Fixed in v3.4.5