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?
retrieval of contribution ID that is always null: https://github.com/relldoesphp/com.aghstrategies.giftmemberships/blob/master/giftmemberships.php#L136