Skip to content
Snippets Groups Projects
Commit 09b5de36 authored by justinfreeman (Agileware)'s avatar justinfreeman (Agileware) :star2:
Browse files

CIVICRM-1670 Issue #2384 - Remove text about email receipts for each recurring contribution

parent c46c94b1
Branches
Tags
No related merge requests found
......@@ -584,20 +584,10 @@ abstract class CRM_Core_Payment {
// not documented clearly above.
switch ($context) {
case 'contributionPageRecurringHelp':
// require exactly two parameters
if (array_keys($params) == [
'is_recur_installments',
'is_email_receipt',
]) {
$gotText = ts('Your recurring contribution will be processed automatically.');
if ($params['is_recur_installments']) {
$gotText .= ' ' . ts('You can specify the number of installments, or you can leave the number of installments blank if you want to make an open-ended commitment. In either case, you can choose to cancel at any time.');
}
if ($params['is_email_receipt']) {
$gotText .= ' ' . ts('You will receive an email receipt for each recurring contribution.');
}
if ($params['is_recur_installments']) {
return ts('You can specify the number of installments, or you can leave the number of installments blank if you want to make an open-ended commitment. In either case, you can choose to cancel at any time.');
}
return $gotText;
return '';
case 'contributionPageContinueText':
return ts('Click the <strong>Continue</strong> button to proceed with the payment.');
......
......@@ -113,7 +113,7 @@
</strong>
<br />
<span class="description">
{ts}Your recurring contribution will be processed automatically for the number of installments you specify. You can leave the number of installments blank if you want to make an open-ended commitment. In either case, you can choose to cancel at any time. You will receive an email receipt for each recurring contribution. The receipts will include a link you can use if you decide to modify or cancel your future contributions.{/ts}
{ts}You can leave the number of installments blank if you want to make an open-ended commitment. In either case, you can choose to cancel at any time.{/ts}
</span>
</td>
</tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment