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

Error Message is displayed to donor using online contribution page if "Pay Later" option is turned off

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.1.3
    • Component/s: CiviContribute
    • Labels:
      None

      Description

      I created an online contribution page with "pay later" turned off. When the donor fills out their credit card information and clicks "Confirm Contribution", this error is displayed:

      Notice: Undefined index: is_pay_later in CRM_Contribute_Form_Contribution_Main::formRule() (line 902 of /var/www/sites/all/modules/civicrm/CRM/Contribute/Form/Contribution/Main.php).

      An "isset( $fields['is_pay_later'] )" has to be added (see attached patch).

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              mhlabriola Michael Labriola
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: