Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRM-18805 - Contribute - record contribution_page_id on recurring tra… #8615

Merged
merged 3 commits into from
Jul 12, 2016

Conversation

bsilvern
Copy link
Contributor

…nsactions


…nsactions

----------------------------------------
* CRM-18805: Contribution page not recorded on recurring transactions, Recurring contribution payments do not create CC or BCC emails or profile notifications
  https://issues.civicrm.org/jira/browse/CRM-18805
@civicrm-builder
Copy link

Can one of the admins verify this patch?

@JoeMurray
Copy link
Contributor

@eileenmcnaughton here's @bsilvern's updated PR

@@ -2115,6 +2115,11 @@ protected static function repeatTransaction(&$contribution, &$input, $contributi
$contributionParams['contact_id'] = $templateContribution['contact_id'];
$contributionParams['source'] = empty($templateContribution['source']) ? ts('Recurring contribution') : $templateContribution['source'];

//CRM-18805 -- Contribution page not recorded on recurring transactions, Recurring contribution payments
//do not create CC or BCC emails or profile notifications
if (isset($contribution->contribution_page_id)) //being safe here, not sure if we can ever arrive with this unset
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you change the if syntax to a 'full if' with curly braces?

…nsactions

----------------------------------------
* CRM-18805: Contribution page not recorded on recurring transactions, Recurring contribution payments do not create CC or BCC emails or profile notifications
  https://issues.civicrm.org/jira/browse/CRM-18805
@eileenmcnaughton
Copy link
Contributor

test this please

@eileenmcnaughton
Copy link
Contributor

@seamuslee001 remind me - I think there was some argument AUG were making against this....

----------------------------------------
* CRM-18805: Contribution page not recorded on recurring transactions, Recurring contribution payments do not create CC or BCC emails or profile notifications
  https://issues.civicrm.org/jira/browse/CRM-18805
@seamuslee001
Copy link
Contributor

@eileenmcnaughton I seem to recall Brett didn't like the page information being used for subsequent transactions after the first one as he was feeling the linkage to the contribution page was no longer necessary

@eileenmcnaughton
Copy link
Contributor

hmm - I see the relevance in this context though.. do you know where the ticket is?

@seamuslee001
Copy link
Contributor

@eileenmcnaughton
Copy link
Contributor

My current conclusion is we should merge this as it is consistent with previous versions & opt out can be through Alan's new hook

@seamuslee001
Copy link
Contributor

Test this please Jenkins

@eileenmcnaughton
Copy link
Contributor

test this please

@eileenmcnaughton eileenmcnaughton merged commit c2cea70 into civicrm:master Jul 12, 2016
@JoeMurray
Copy link
Contributor

@bsilvern Big congrats on getting your first PR merged into CiviCRM core! Great work!

@civicrm-builder
Copy link

Can one of the admins verify this patch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants