0

we've been receiving quite a lot of fraudulent transactions and they're all being delivered to the same address, I was wondering if there was any way I could block customers from using a specific post code or address?

We're actively blocking ip addresses but they're changing so frequently

TIA

0

You could set up an observer that would check order's or shipping's postal code and if it's in the list of predefined postal codes then stop the order creation and throw an exception.

One of the events to which you can hook your observer into would be sales_order_place_before.

You could also set this up on customer creation/update but this would require duplicating code for customer registration and update.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.