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

Receipt should not show Credit Card section for ACH/EFT contributions

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.7.25
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      A lot of receipt templates involving contributions have this:

      {if $contributeMode eq 'direct' AND !$is_pay_later AND $amount GT 0}
      <tr>
      <th {$headerStyle}>
      {ts}Credit Card Information{/ts} GT 0}

      That means we get an empty credit card information section when making ACH/EFT contributions.

      A better template would push the business logic back to code and have something bit more abstract like "Payment Account Information" or allow the payment processor to handle that block.

      A simple solution might be just to add to the test and make sure we have some credit card information to display.

      We might also want to be thinking about partial payments being done with different payment instruments and/or drop this section from the receipt.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              adixon Alan Dixon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: