Details
-
Type: Sub-task
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.2.0
-
Fix Version/s: 2.2.0
-
Component/s: CiviContribute, Core CiviCRM
-
Labels:None
Description
Integration with Contribution Page
If Personal Campaign Pages are enabled, Contribution Page should display a link to PCP creation wizard (using configured text) on both main page as well as on Thank You page.
Upon getting from Personal Campaign Page to Contribution Page, a reference string (unique for given Personal Campaign Page) is passed in URL. It's important to have it in URL, since a link to Contribution Page could be used also through standalone links in outside mailings/pages. Contribution Page needs to be able to interpret this reference and take following actions based on information retrieved from :
- display a information text about donation being made on behalf of given person (Supporter) at the top of Contribution Page (before amounts)
- allow identifying given contribution as made on behalf of Supporter for later reference (for example, to be able to display the value on PCP thermometer) - which means populating civicrm_contribution.pcp_made_through_id with appropriate civicrm_pcp.id value, based on referer
- display additional fieldset, just before "Billing Name and Address" block, that:
o checkbox: "Display in honour roll?" - store information whether Contributor wants to be listed on honour roll (civicrm_contribution.pcp_display_in_roll)
o checkbox: "Nickname for honour roll" - store additional information for honour roll, if filled in and "Display in honour roll" is checked, this is displayed instead of First Name and Last Name (civicrm_contribution.pcp_roll_nickname)
o textarea: "Personal message for SupporterFirstName SupporterLastName" - store personal note from Contributor that will be passed to Supporter(civicrm_contribution.pcp_personal_note)