Closed ghost closed 5 years ago
Like discussed via email: the cause is probably that the API key doesn't have the required permissions. This php error shouldn't be thrown however:
Notice: Undefined offset: 0 in /pathtoshop/vendor/dpdbenelux/magento2-shipping/Controller/Parcelshops/Index.php on line 69{"success":false,"error_message":"No address found"}
Thank you for updating this issue, I'll close this issue since it's tracked in #32 which is caused by the exact same code.
Issue When clicking on 'Click here to select your Parcelshop' an ajax loader shows and disappears, no popup is opened. There are no errors in console.
Setup Clean Magento 2.2.6 install with version 1.1.0 of the module. DPD Predict set to only allow a few countries, DPD Pickup set to allow all countries. A Google API key is created with the required permissions and set in the configuration.
Expected result On clicking 'Click here to select your Parcelshop' the popup with a display of Google Maps should open to select a Parcelshop.