Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi @afterimagedesigns,

    The issue is not resolved. I had the same issue and debugged it. The problem is in the file:
    wp-bootstrap-starter/inc/plugin-compatibility/woocommerce/woocommerce.php

    When you added classes to the inputs via filter “woocommerce_form_field_args”, you didn’t add the theme classes to the input – you have overridden them. And Authorize.net needs specific classes for the card number, card expiry and card cvc input, which should be there in order to work.

    My quick fix is this:
    instead of:
    $args['input_class'] = array('form-control', 'input-lg');
    I use this:
    $args['input_class'] = array_merge( $args['input_class'], array('form-control', 'input-lg') );

    Regards,
    Plamen

Viewing 1 replies (of 1 total)