Stopping auto shipping cost updating

I made a plugin that bases shipping on how far the client is. To do this I used an api that checks their address. The Api charges me per call.

by default Woocommerce will check the price a few times as your entering the shipping address. This results in me being charged a few times for one check. Is there a way to get Woocommerce to only check once all the information is added?

  • This topic was modified 6 hours, 46 minutes ago by timbows.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer