Hello Joomshaper Support Team,
A further issue has come to light while continuing development of my custom shipping plugin.
During checkout, the shipping lookup is triggered when the customer changes the country, region/state, city or postcode. However, changes to the street address, second address line or suburb do not appear to trigger another shipping lookup.
This can cause a significant problem when the shipping lookup identifies an issue with the address.
For example, if a customer submits an address without a suburb, my shipping plugin will return a status indicating that the suburb is required. The customer can then correct the address by entering their suburb, but EasyStore does not appear to re-run the shipping lookup.
The customer can therefore be left with the previous "suburb required" message (triggered by my shipping plugin) still displayed. If they try clicking Proceed to Payment again, nothing happens because the underlying shipping information has not been re-evaluated. At that point, a customer may reasonably conclude that something is wrong with the checkout and abandon the order.
The same situation can occur if a customer initially enters a misspelt street or suburb and then corrects it.
Would you consider this expected behaviour, or could the shipping lookup be triggered when any relevant part of the shipping address is changed, including the street address and suburb?
Alternatively, if automatic re-checking is not appropriate, perhaps a "Re-check shipping address" option could be provided to allow the customer to explicitly request another shipping lookup.
I would be interested to hear your thoughts on the best way to handle this within EasyStore.
Thanks,
Bruce