• Resolved Ivan Lopes

    (@ivanlopes)


    Hi there,
    the wc_add_notice was working fine in my plugin but i dont know why it stopped working in google chrome but still works in firefox and safari. this is the code:

    wc_add_notice($error . ” ” . $errorDetail, ‘error’);
    wp_redirect(wc_get_checkout_url());
    exit;

    In chrome the checkout page shows without the notice but in other browsers the notice appears

    Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wc_add_notice not working in google chrome’ is closed to new replies.