Skip to content

Membership renewal contributions not marked "eligible for GA", so not included in report #81

@TomCrawshaw

Description

@TomCrawshaw

Running Civi 5.11.0 on Drupal 7.65, GiftAid extension 3.4.2. Donations made using Civi forms and Webforms are marked as "Eligible" in the custom field, and subsequently included in the GA report (where appropriate). However, contributions made during the offline membership renewal process are not marked "eligible" and therefore not included in the report; this is presumably because the Civi membership renewal process ("Renewal Payment and Receipt") does not include the GA profile.

Anyone else experienced this problem?

To sidestep this, I have changed the program CRM/Civigiftaid/Utils/GiftAid.php to check that the contribution is either a Membership sub or a donation, instead of checking the "eligible" custom field in:

  if($contribution[$eligibilityFieldCol] == self::DECLARATION_IS_NO) {
    return FALSE;
  }

Anyone see any issues with this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions