Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Seems to use 2 credits for the initial lookup followed by a third credit when the address is selected.
Comments
Comment #2
emileacroweb CreditAttribution: emileacroweb commentedPCA 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