Credit card fields grey, hard to use
-
The card fields show up on the checkout, but they are all greyed out as shown on the link.
The problem is that there is div.__PrivateStripeElement wrapper element that have style set as follows:
margin: 0px !important;
padding: 0px !important;
border: none !important;
display: block !important;
background: transparent !important;
position: relative !important;
opacity: 1 !important;ps. To temporary bring it to normal state I call every time someone enters checkout, but I wish to just solve the issue in some clean way.
$(document.body).on(‘updated_checkout’, function() {
$(‘.__PrivateStripeElement’).attr(‘style’, ”)
});
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Credit card fields grey, hard to use’ is closed to new replies.