This repository has been archived on 2026-03-21. You can view files and clone it, but cannot push or open issues or pull requests.
payfrit-biz/api/businesses
John Mizerek 4e0cc65ba2 Auto-geocode addresses on create/update
Extract geocoding functions into shared api/inc/geocode.cfm and call
geocodeAddressById() via cfthread after every address INSERT or UPDATE.
Uses OpenStreetMap Nominatim (free, no API key). Non-blocking — the
HTTP call runs in a background thread so responses aren't delayed.

Affected endpoints:
- setup/saveWizard.cfm (new business creation)
- businesses/update.cfm (business address update)
- portal/updateSettings.cfm (portal settings save)
- addresses/add.cfm (customer delivery address)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 01:00:07 -08:00
..
get.cfm Add Open Tabs feature: tab APIs, presence tracking, shared tabs, cron, portal settings 2026-02-24 20:56:07 -08:00
getChildren.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
list.cfm Add HasChildren flag and filter child businesses from list 2026-02-25 23:10:51 -08:00
saveBrandColor.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
setHiring.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
update.cfm Auto-geocode addresses on create/update 2026-03-02 01:00:07 -08:00
updateHours.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
updateTabs.cfm Add Open Tabs feature: tab APIs, presence tracking, shared tabs, cron, portal settings 2026-02-24 20:56:07 -08:00