• It’s working great, but payment operators takes also its fee from shipping costs which clients have to pay too. So I changed at file checkoutfee.php from:

    $originalNumber = WC()->cart->get_cart_contents_total();

    to:

    $originalNumber = WC()->cart->get_cart_contents_total() + WC()->cart->get_shipping_total();
    

    and it’s now adding to the fee the shipping costs – so working now as I wanted 🙂

    Greetings!

    • This topic was modified 2 years, 6 months ago by dantgal.

The topic ‘Cool but…’ is closed to new replies.