Support » Plugin: PayPal Express Checkout for WooCommerce » Fee calculation that depends on $_POST

  • Resolved jpat999


    I am curious why the woocommerce_cart_calculate_fees action hook runs multiple times on checkout? This behaviour seems strange to me as the standard paypal gateway and stripe only run it once.

    The reason I noticed this behavior is it is causing issues with a fee calculation that depends on data from the $_POST variable. The first running of the woocommerce_cart_calculate_fees shows the fee calculation as it does in the standard paypal gateway and stripe. However the subsequent calls are showing the the value I retrieve from $_POST as null.

    I would greatly appreciate any help with this problem. Thanks for your time.

Viewing 1 replies (of 1 total)
  • Plugin Author wpgateways


    I think this is not related to our plugin, could you please post support ticket at woocommerce plugin?

Viewing 1 replies (of 1 total)
  • The topic ‘Fee calculation that depends on $_POST’ is closed to new replies.