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

Contribution pages for payment pledges incorrectly prevents a user for paying a pledge for another

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.3.2
    • Fix Version/s: 4.4.0
    • Component/s: CiviContribute
    • Labels:
      None

      Description

      When hyperlinking to a pledge payment page, the error message is shown:

      "Oops. It looks like you have an incorrect or incomplete link (URL). Please make sure you've copied the entire link, and try again. Contact the site administrator if this error persists."

      This only occurs when the current logged in user is trying to pay a pledge for another contact. ( In my situation, the person is trying to pay for their household or spouses pledges.)

      I created a short-term fix by changing the file
      CRM/Contribute/Form/ContributionBase.php

      I commented out 3 lines at/near 823:

      if ( !$validUser )

      { CRM_Core_Error::fatal( ts( "Oops. It looks like you have an incorrect or incomplete link (URL). Please make sure you've copied the entire link, and try again. Contact the site administrator if this error persists." ) ); }

      This code change solved my issue, but I am not sure if there are any side-affects of this code change.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              sgladstone Sarah Gladstone
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: