DPDBeNeLux / magento2-shipping

Let op: er zijn nieuwe DPD plugins (BETA versie) beschikbaar met belangrijke nieuwe functionaliteiten. De oude plugins zullen na Brexit niet meer goed functioneren, download daarom de nieuwe versie op Github/DPDconnect.
GNU General Public License v3.0
12 stars 15 forks source link

Google Maps popup not showing #25

Closed ghost closed 5 years ago

ghost commented 5 years ago

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.

ghost commented 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"}

dpdplugin commented 5 years ago

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.