Hello, I'm helping out a friend with his store, and I can see that when using custom tiered shipping, subscribers get overcharged when they attempt to pay past dues. My fix in the mean time is to adjust the past due amount so that it ends up matching the original amount.
Their checkout will look something like this.
Obviously the overcharge is because of the custom shipping logic. I've noticed that the line "Future Subscriptions Shipping and Handling" does not match the shipping and handling to zero out the overage.
So I've done some digging around and have come to find that the variables responsible for "Future Shipping and Handling" is
I've tried adjust it so that it remains equal to shipping and handling, but then realized that this also effects regular transactions and the two will always cancel each other out from the checkout JS logic. So that doesn't work, and it also causes some undesirable events when someone tries to update their sub as well, specifically having a total of $1.78 when everything is $0.00.
I'm stuck at how to approach this, and I would like to know how to solve this problem. The store domain is pokecrate.foxycart.com and I've commented out the line of code that I have added, so it brings it back to the original logic for custom shipping. We're using foxycart version 1.1.