Seems to use 2 credits for the initial lookup followed by a third credit when the address is selected.

Comments

emileacroweb created an issue.

emileacroweb’s picture

PCA Predict uses no credits for a "find" and 1 credit per "retrieve"

The issue here is that the module uses:

$first_address_details = addressfield_lookup_get_address_details($addresses[0]['id']);

within the "find" - this calls a "retrieve" for each find.

This is used to set "common details" but essentially costs a credit???

I have just commented out the relevant code for now in both /modules/addressfield_lookup_postcodeanywhere/addressfield_lookup_postcodeanywhere.module and
/plugins/format/addressfield_lookup.inc