Skip to content

Commit

Permalink
Merge pull request civicrm#17568 from agileware/CIVICRM-1496
Browse files Browse the repository at this point in the history
Contribution confirmation page should not display the name of payment processor type
  • Loading branch information
eileenmcnaughton authored Oct 15, 2020
2 parents 9cabe83 + f5902d6 commit 7d41ce4
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions CRM/Core/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -600,16 +600,7 @@ public function getText($context, $params) {
return $gotText;

case 'contributionPageContinueText':
if ($params['amount'] <= 0) {
return ts('To complete this transaction, click the <strong>Continue</strong> button below.');
}
if ($this->_paymentProcessor['billing_mode'] == 4) {
return ts('Click the <strong>Continue</strong> button to go to %1, where you will select your payment method and complete the contribution.', [$this->_paymentProcessor['payment_processor_type']]);
}
if ($params['is_payment_to_existing']) {
return ts('To complete this transaction, click the <strong>Make Payment</strong> button below.');
}
return ts('To complete your contribution, click the <strong>Continue</strong> button below.');
return ts('Click the <strong>Continue</strong> button to proceed with the payment.');

case 'cancelRecurDetailText':
if ($params['mode'] === 'auto_renew') {
Expand Down

0 comments on commit 7d41ce4

Please sign in to comment.