Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-8057

Email receipts fail for backoffice credit card contributions

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.0
    • Fix Version/s: 3.4.2
    • Component/s: CiviCRM API
    • Labels:
      None

      Description

      Send mail receipient is not set & hence it fails to send an email when credit card contributions are processed by backoffice users.

      This seems to be because

      CRM_Contribute_Form_AdditionalInfo

      function emailReceipt( &$form, &$params, $ccContribution = false )

      only sets the 'from address'

      $params['from_email_id'] = $form->fromEmailId;

      if it is NOT a credit card contribution.

      Not sure if it's better to handle this here or set sensible defaults in

      CRM_Core_BAO_MessageTemplates extends CRM_Core_DAO_MessageTemplates ::sendtemplate - ie. default to logged in user & failing that to site email address

        Attachments

          Activity

            People

            • Assignee:
              dakshayani Dakshayani Chinchwadkar
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: