AOF-33 Ensure that entity record for civicrm_contribution is added when submitting a membership page

Created by: seamuslee001

@Edzelopez This aims to make 3 main changes

  1. Ensure that the chapter select box shows up on the contribution form when in preview mode
  2. Ensure that we are not mixing and matching the value of $chapter when we are calling addChapterFund when in postProcess for a contribution page
  3. If the contribution page has set a chapter code, lets use that rather than relying on what is stored for the price_field_value id or the contribution_page or the membership type

This is currently deployed onto jma staging site and you will note that this branch extends off from the fixes for AOF-16

Merge request reports

Loading