The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

Customer being charged for shipping when making changes to subscription

in Help edited December 2014
Good morning friends.

I have an issue where customers are charged $6 shipping (our shipping charge) every time they make a change to their subscription, regardless of whether something was actually purchased or not.


Any ideas why this is?
  • fc_adamfc_adam FoxyCart Team

    This relates to the fact that you're setting a custom shipping rate in the javascript, and it not properly being cleared as a future shipping rate in situations where there is only future costs.

    Try updating your javascript that is setting the flat rate cost like this:
    jQuery(document).ready(function() {
      if (fc_json.total_item_price == FC.checkout.config.futureActualTotalPrice) {
        FC.checkout.config.orderFutureShipping = FC.checkout.config.orderShipping;
      } else {
        FC.checkout.config.orderFlatRateShipping = 6;

    That will check if the future costs in the cart is the same as the total cost of the cart, and make the future shipping match the shipping already set, otherwise it sets it as normal.
Sign In or Register to comment.