Autosuspend by country

It is designed to suspend packages ordered by users in certain countries, defined by an array.
It works just after module is created, not related with payment or customer registration

  • A user orders a product defined in an array inside the hook
  • The users IP address and Country is validated against a list of countrys to deny activation
  • If the users country is in the list the hook will suspend the users product & notify both the user and admin