Address Object Mapping
This page describes whatgenerateAddressParams()/syncAddress() would send, for reference, in case the integration is ever revived and this code path gets wired up — not something currently happening for any organization.
What the (currently unreachable) mapping would send
Contact Information (phone/fax)
No phone formatting/normalization is applied — whatever’s stored in WeGive would be sent as-is, if this code path were ever reachable.
Where phone/address data actually does sync today
SincesyncAddress() never runs, the only place address/phone data reaches Neon at all is the donor account push (generateAccountParams(), a completely separate code path):
- Mailing address (and, for individuals, billing address) is included inline in
primaryContact.addresseson the account push — but that inline copy has no phone/fax fields and nocountryfield - See Account Mapping for the actual, reachable address data that syncs
No Pull
There is also no pull for addresses —SyncNeon.php has no pullAddress()/importAddresses() method. Even if syncAddress() were wired up for push, address data would remain one-way.
Integration Fields
If This Is Ever Revived
The fix is straightforward: add apushAddress(Address $address) method to app/Integrations/Neon.php calling $this->integration->syncAddress($address), mirroring pushDonor()/pushCampaign()/pushTransaction()/pushScheduledDonation() in the same class. Until that ships, don’t rely on this page describing live behavior.
Related Documentation
- Account Mapping — the only address data that actually reaches Neon today
- Data Mapping Overview