• Resolved usamaabid220

    (@usamaabid220)


    I have only enable Authorize.Net payment method on my woocommerce store it was working fine but now it shows some warnings in the checkout page like these:

    Credit card
    Warning: in_array() expects parameter 2 to be array, string given in /home/yhpkncb5o10c/public_html/wp-content/plugins/woo-authorize-net-gateway-aim/includes/class-wc-gateway-authnet.php on line 75

    Warning: in_array() expects parameter 2 to be array, string given in /home/yhpkncb5o10c/public_html/wp-content/plugins/woo-authorize-net-gateway-aim/includes/class-wc-gateway-authnet.php on line 78

    Warning: in_array() expects parameter 2 to be array, string given in /home/yhpkncb5o10c/public_html/wp-content/plugins/woo-authorize-net-gateway-aim/includes/class-wc-gateway-authnet.php on line 81

    Warning: in_array() expects parameter 2 to be array, string given in /home/yhpkncb5o10c/public_html/wp-content/plugins/woo-authorize-net-gateway-aim/includes/class-wc-gateway-authnet.php on line 84

    Warning: in_array() expects parameter 2 to be array, string given in /home/yhpkncb5o10c/public_html/wp-content/plugins/woo-authorize-net-gateway-aim/includes/class-wc-gateway-authnet.php on line 87

    Warning: in_array() expects parameter 2 to be array, string given in /home/yhpkncb5o10c/public_html/wp-content/plugins/woo-authorize-net-gateway-aim/includes/class-wc-gateway-authnet.php on line 90

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author mohsinoffline

    (@mohsinoffline)

    That would happen if you had no card type selected from the plugin settings page. If you allow none of the card types to process, no transactions would process as a result. The warning has been fixed in the version 5.1.2 but you will need to select at least one card type.

Viewing 1 replies (of 1 total)
  • The topic ‘The checkout page is showing warning regarding to Authorize.Net payment’ is closed to new replies.