I need a plugin that will add a delivery method to Woocommerce.
When this delivery method is chosen by the costumer, the checkout page will list the five nearest GLS parcelshops based on costumers billing address (zip code)
The address of the chosen parcelshop must be inserted as the delivery address on the order, with the costumers name in the second line.
I must be able to set a flat rate (price) for this option.
I have found this code on the internet which may be used for the plugin: [url removed, login to view]
I have also included the REST API from GLS.