Support » Plugin: WooCommerce Pay for Payment » Bank transfer fee showing up in cart page

  • Resolved javiersa87


    Hi Karolina,

    Thank you so much for your plugin. There is just a problem Im having.

    I created a bank fee of 5% of the total amount, however this is showing up in the cart page, this suppose to show in the netx page, as here the customer decides either to pay with bank transfer or Paypal. Showing up a fee of 5% in the cart page is confusing for anybody that is not goinf to pay with bank transfer.

    Isit possible to hide this bank fee for the cart page?

    Thanks in advance.


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

Viewing 1 replies (of 1 total)
  • Plugin Author Karolina Vyskocilova


    Hi, Javier,

    you could use the following code (add it to your functions.php)

    function my_pay4pay_handle_cart( $do_apply , $amount , $calculation_base , $current_payment_gateway ) {
    if ( is_cart() )
    return false;
    return $do_apply;
    add_filter( 'woocommerce_pay4pay_apply', 'my_pay4pay_handle_cart' , 10 , 4 );
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.