Contribution receipt omits "Contact Info" and "On Behalf Of Organization" sections if contribution is made on behalf of organization
Overview
Contribution receipts for contributions made on behalf of an organization omit the expected "Contact Info" and "On Behalf Of Organization" sections.
The problem was observed for both recurring and non-recurring contributions made via PayPal.
The problem does not occur for contributions made using the Pay Later option.
Reproduction steps
Make a contribution on behalf of an organization using the PayPal Standard payment processor (other payment processors were not tested).
Current behaviour
The receipt omits the "Contact Info" and "On Behalf Of Organization" sections.
Expected behaviour
The receipt includes the "Contact Info" and "On Behalf Of Organization" sections as shown in this image for a contribution made with the Pay Later option.
Environment information
- CiviCRM: 5.20.0
- PHP: 7.2.26
- CMS: Drupal 7.30
- Database: MariaDB 10.0
- Web Server: Apache 2.4.41
- Payment Processor: Paypal Standard