I am creating a custom shipping method by following this tutorial. Now I want to access the region name in the
collectRates method. I can access the
region_code if the
State/Province field is a dropdown, but it isn't the case for all the countries.
I actually want the shipping method to be available to only a certain state. How can I do this?