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

PayPal Standard IPN fails with "Invalid input parameters"

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      We started to see PayPal Standard IPN notifications fail, with the error log reporting:

      PHP Fatal error: Uncaught CRM_Core_Exception: [0: Invalid input parameters\n\n thrown in /PATH/administrator/components/com_civicrm/civicrm/CRM/Core/Payment/BaseIPN.php on line 76

      Tracing the problem, I found the issue was with CRM/Core/Payment/PayPalIPN.php, line 55. At that point, we merge two arrays and pass to setInputParameters. The problem is that if the second array was empty, it was overwriting the entire array and passing an empty value to that method.

        Attachments

          Activity

            People

            • Assignee:
              yashodha Yashodha Chaku
              Reporter:
              lcdweb Brian Shaughnessy
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: