Title: bbfunk's Replies | WordPress.org

---

# bbfunk

  [  ](https://wordpress.org/support/users/bbfunk/)

 *   [Profile](https://wordpress.org/support/users/bbfunk/)
 *   [Topics Started](https://wordpress.org/support/users/bbfunk/topics/)
 *   [Replies Created](https://wordpress.org/support/users/bbfunk/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/bbfunk/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/bbfunk/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/bbfunk/engagements/)
 *   [Favorites](https://wordpress.org/support/users/bbfunk/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] wc_add_notice() doesn’t work on checkout page](https://wordpress.org/support/topic/wc_add_notice-doesnt-work-on-checkout-page/)
 *  [bbfunk](https://wordpress.org/support/users/bbfunk/)
 * (@bbfunk)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/wc_add_notice-doesnt-work-on-checkout-page/#post-12383104)
 * [@doffine](https://wordpress.org/support/users/doffine/)
 * Hi, yes this solution works as charm and is better for user experience.
 * Best regards 😉
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] wc_add_notice() doesn’t work on checkout page](https://wordpress.org/support/topic/wc_add_notice-doesnt-work-on-checkout-page/)
 *  [bbfunk](https://wordpress.org/support/users/bbfunk/)
 * (@bbfunk)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/wc_add_notice-doesnt-work-on-checkout-page/#post-12379277)
 * Hi,
 * For my case I found an alternative solution to solve my problem: if the conditions
   aren’t met to redirect to the payment form on the payment gateway, I simply redirect
   the customer to the cart page after added the custom notice:
 *     ```
       wc_add_notice(__('shit... a problem occurred, you need to remove a product from your cart!','my_gateway'), 'error');
   
       return $woocommerce->cart->get_cart_url();
       ```
   
 * It works perfectly.
 * Best regards 😉
    -  This reply was modified 6 years, 4 months ago by [bbfunk](https://wordpress.org/support/users/bbfunk/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] wc_add_notice() doesn’t work on checkout page](https://wordpress.org/support/topic/wc_add_notice-doesnt-work-on-checkout-page/)
 *  [bbfunk](https://wordpress.org/support/users/bbfunk/)
 * (@bbfunk)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/wc_add_notice-doesnt-work-on-checkout-page/#post-12374734)
 * [@doffine](https://wordpress.org/support/users/doffine/)
 * There is probably a way to solve it. I’d like to solve it as soon as possible,
   but we need to search kinda to find the solution I think.
 * Best regards 😉
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] wc_add_notice() doesn’t work on checkout page](https://wordpress.org/support/topic/wc_add_notice-doesnt-work-on-checkout-page/)
 *  [bbfunk](https://wordpress.org/support/users/bbfunk/)
 * (@bbfunk)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/wc_add_notice-doesnt-work-on-checkout-page/#post-12374730)
 * Hi NickGreen,
 * Thanks for your reply ;).
 * I didn’t find any issue on the Web too… but this is probably because the scenario
   in my plugin, like in the plugin of doffine I think, require to display specific
   notices after the checkout button clicked.
 * I’ll probably post the problem on Github tomorrow.
 * Best regards 😉
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] wc_add_notice() doesn’t work on checkout page](https://wordpress.org/support/topic/wc_add_notice-doesnt-work-on-checkout-page/)
 *  [bbfunk](https://wordpress.org/support/users/bbfunk/)
 * (@bbfunk)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/wc_add_notice-doesnt-work-on-checkout-page/#post-12373191)
 * Hi again Doffine,
 * I don’t know if nickirongate will answer here again, but I’d like to find a solution
   for this problem because it’s the last problem I have to finish my plug-in :).
   
   I’ll try to add notice in different ways to solve the problem, but without success…
   I wonder if I’ll try to add my own notices rather than Woocommerce notices…
 * Best regards 😉
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] wc_add_notice() doesn’t work on checkout page](https://wordpress.org/support/topic/wc_add_notice-doesnt-work-on-checkout-page/)
 *  [bbfunk](https://wordpress.org/support/users/bbfunk/)
 * (@bbfunk)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/wc_add_notice-doesnt-work-on-checkout-page/#post-12372253)
 * Hi Doffine,
 * I reply to your problem because I have the same: on the Woocommerce plug-in I
   developed, the wc_add_notice() function worked as well before I update Woocommerce
   to 3.9.0 version. Since I did the update, the notices don’t display correctly
   on the checkout page.
    So think so the update generate the problem.
 * Did you find a solution to solve it?
 * If yes, I’m curious to know this solution ;).
 * Thanks for your reply!
 * best regards 😉

Viewing 6 replies - 1 through 6 (of 6 total)