• Resolved vvvv

    (@vvvv)


    After adding a custom fee via: add_action( ‘woocommerce_cart_calculate_fees’, ‘woo_add_cart_fee’ );

    I can see the fee in the cart, but not in the checkout page.
    Also if I goto paypal from the cart (where it does show) to paypal, it is no longer being used in the total calculation.

    I am not seeing this fee honored when I get to the paypal login/pay page. The item descriptions shows the rest of the cart, but not my added custom field.

    Is there anything I can do to get this to charge properly?

    https://www.ads-software.com/plugins/paypal-for-woocommerce/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter vvvv

    (@vvvv)

    Whoops – think that I may have it figured out

    seems like this did NOT work:
    $woocommerce->cart->add_fee( __(‘Member deferred’, ‘woocommerce’), $new ); /* – WORKS in cart , NOT in x-paypal, NOT in checkout */

    But using this call did:

    $woocommerce->cart->add_fee( ‘Member deferred”, $new, true, ” );

    Not sure why,but it seems to be working at the moment – so sorry for the trouble!

    Plugin Contributor angelleye

    (@angelleye)

    Glad you got it worked out!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘custom fee not getting to paypal’ is closed to new replies.