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

Getting blank pdfs when using creating receipts from contribute/search/ tasks menu

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.6, 4.0.6
    • Fix Version/s: 3.4.7
    • Component/s: CiviContribute
    • Labels:
      None

      Description

      Index: all/modules/civicrm/CRM/Core/Payment/BaseIPN.php
      I found a very simple fix for it - but I see that Deepak has refactored the function somewhat so it may be that CRM_Contribute_Form_Task_PDF can call the CRM_Contribute_BAO_ContributionPage::sendMail function directly & get away from the 'via-IPN-function' hack?

      ===================================================================
      — all/modules/civicrm/CRM/Core/Payment/BaseIPN.php (revision 1351)
      +++ all/modules/civicrm/CRM/Core/Payment/BaseIPN.php (working copy)
      @@ -941,7 +941,7 @@
      $url = $paymentObject->cancelSubscriptionURL( $membership->id, 'membership' );
      $template->assign( 'cancelSubscriptionUrl', $url );
      }

      • CRM_Contribute_BAO_ContributionPage::sendMail( $ids['contact'], $values, $isTest, $returnMessageText );
        + return CRM_Contribute_BAO_ContributionPage::sendMail( $ids['contact'], $values, $isTest, $returnMessageText );
        }
        }
        } else {

        Attachments

          Activity

            People

            • Assignee:
              deepak Deepak Srivastava
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: