Fix for payment gateway fields not showing


If you get an error using a payment gateway in which the credit card fields do not display (Card number/Expiry Date/CVC code), this may be caused by AJAX problems due to the Astra theme, if you are using it.

First, check your gateway plugin. Try another plugin to replicate the problem. If the problem persists across multiple different gateway plugins, the problem is in the site.

Try converting the checkout page to a single-page checkout. This solved the issue, since the Astra theme was causing multiple conflicting JavaScript calls that created more than one copy of the credit card field.


Did you find this article useful?