CIVICRM-1496 Reword text on the contribution confirmation page
authorPengyi Zhang <pengyi@agileware.com.au>
Wed, 10 Jun 2020 05:52:21 +0000 (15:52 +1000)
committerJustin Freeman <justin@agileware.com.au>
Thu, 15 Oct 2020 07:00:32 +0000 (18:00 +1100)
CRM/Core/Payment.php

index 94bdfd88ec35af1d0633547d9b6bc16c31ea47be..8d74ee34386e0196db215c096ba594bd608f1db3 100644 (file)
@@ -600,16 +600,7 @@ abstract class CRM_Core_Payment {
         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') {