We have tried deploying the com.aghstrategies.giftmemberships extension to a 5.x CiviCRM.

The form PostProcess hook where all the magic happens is not working because the _contributionID is empty (but it is present) in the $form argument passed to the hook implementation.

Has anyone successfully deployed this extension on 5.x?

Can someone familiar with the changes to Contributions since 4.6 explain what is wrong with the approach the extension is using and what would be necessary to fix it?

Hook Implementation: https://github.com/relldoesphp/com.aghstrategies.giftmemberships/blob/master/giftmemberships.php#L88

retrieval of contribution ID that is always null: https://github.com/relldoesphp/com.aghstrategies.giftmemberships/blob/master/giftmemberships.php#L136


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.