postcode-nl / PostcodeNl_Api_MagentoPlugin

A Magento plugin 1.9 that implements the Postcode.nl API for Dutch addresses
BSD 2-Clause "Simplified" License
21 stars 12 forks source link

Validation issue #6

Closed michel3vb closed 9 years ago

michel3vb commented 10 years ago

Hi,

We use this plugin in combination with the OneStepCheckout plugin from MageStore. When a customer enters an invalid combination of postcode and housenumber than it is still possible to place an order. The warning "Unknown postcode + housenumber combination" shows up but all fields has the class "validation-passed".

Regards, Michel

DaanBroekhof commented 10 years ago

Hi Michel, thank you for your feedback.

This is indeed how the extension currently uses validation - it is a soft-enrichment extension, not a hard-requirement extension. For a true hard-requirement implementation, the server-side code needs to be changed, and that is rarely possible with other checkout modules.

We will look into more strict javascript-error enforcement though. (but disabling javascript would still allow people to submit any address then)