postcode-nl / PostcodeNl_Api_Magento2

A Magento 2 plugin that implements the Postcode.nl international address API
https://developer.postcode.eu/documentation/
BSD 2-Clause "Simplified" License
10 stars 13 forks source link

How to use this module within the customeraccount page(s)? #42

Closed jeroenalewijns closed 2 years ago

jeroenalewijns commented 2 years ago

Is there an option to use this module in the customer account as well?

E.g. I can fill in the country, postcode and house number field in the http://www.aaa.bbb/customer/address/new/ page and it will return my address and city.

JerrySmidt commented 2 years ago

This is not currently supported but may be in a future version. Will look into this.

aadmathijssen commented 2 years ago

Hi, we are currently facing issues with the fact that orders contain incorrect addresses, due to the fact that address API integration is missing in the address book of the customer account pages.

Since we have started to use this module, we have faced dozens of occurrences of the following scenario:

  1. Customer creates an address in the address book in a wrong format (e.g. missing/duplicate house number and/or addition, or fields in the wrong order); because there is no API integration, there is no good way to prevent his.
  2. In the checkout, the customer chooses the address from the address book (in case there is only one address, this is even the default choice), and places the order.
  3. A Magento cron task tries to synchronize this order to other services, but this synchronisation fails because the address is invalid. The only resolution is to manually correct the address of the order, which in some cases is impossible without contacting the customer (e.g. when the house number is missing).

Can you please see if this can be prioritized on the backlog?

Thanks!

JerrySmidt commented 2 years ago

Update: this will be supported in a future version. It will take some time though because the customer address form requires an implementation that is quite different from the checkout.

jorgb90 commented 2 years ago

Nice @JerrySmidt ! This would be a very welcome future :)

JerrySmidt commented 2 years ago

Address autocomplete for the customer address form has now been implemented and is available in release 3.1.8.