• Resolved Farhan Farrukh

    (@farhanfarrukh)


    Version 1.07.9 of the plugin is working perfectly fine with the woocommerce notifications however when I updated the plugin to Version 1.07.91 I stopped seeing notifications from my plugin gateway it is using

    wc_add_notice($errorMessage, 'error');

    and on the woocommerce form_checkout template

    wc_print_notices();

    is not showing notices / error if payment is not authorized.

    I have reverted back to the old version which works fine.

    Any thoughts?

    https://www.ads-software.com/plugins/min-and-max-purchase-for-woocommerce/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Farhan Farrukh

    (@farhanfarrukh)

    I meant to say my payment gateway plugin which uses

    wc_add_notice($errorMessage, 'error');

    to show error messages on the checkout page.

    Plugin Author vark

    (@vark)

    Hi,
    Thanks for the detail in your question. Some users employing Min/Max rule custom messaging (which uses the wc notice system) were experiencing message display duplication. Version 1.07.91 introduced a wc_clear_notices(); statement to remove the issue, and it seems to be affecting your plugin gateway messages as well…

    However, Min/max is designed only to apply this on the cart and checkout pages, which shouldn’t, I believe, be getting gateway messages…

    Best,
    Vark

    Thread Starter Farhan Farrukh

    (@farhanfarrukh)

    Once the payment is rejected the user is redirected to the checkout page in case if they have provided a wrong billing address. Is there a way to disable wc_clear_notices() on checkout if someone wants it disabled?

    Plugin Author vark

    (@vark)

    Hi,
    Drop me a line at https://www.varktech.com/support/ and we’ll put something together.
    Best,
    Vark

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Conflicting with wc_print_notices’ is closed to new replies.