Ask a Dev
Extension > Options for Adding Address Verification
over 3 years ago by Russell Kloepfer(edited)
Q: I need to check something about the address and do something with what I find. Or, I need to call an Address Verification system. Which hooks would I use to do this?
A: We need to identify spots that have the Address object, and are in the Order or Application flow.
- Address Verification (AV) on the front-end, calling into a custom API.
- AV possibility when an order is submitted: _hookService.Hooks.Orders.SubmitOrder
- AV possibility when an order is calculated: _hookService.Hooks.Orders.Shipping.GetShipping
- AV possibility when an application is validated: (also called whenever creating (or updating) a customer account) _hookService.Hooks.Associates.Enrollment.ValidateApplication