I geocode the address submitted by the user, then check if the Lat and Long point is within the polygon defined by an array of lat and logs. I have all this and works.
The code works but I'm having a callback problem. The first time I click submit to call the function it does the process but i can get the value of the variable until the second time i click submit.
The Virtuemart file i modified is: \administrator\components\com_virtuemart\classes\[url removed, login to view]
This file will be provided on proposal acceptance.