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

civicrm/payment/ipn url unnecessarily requires mode

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.11, 4.5.6
    • Fix Version/s: 4.4.13, 4.6
    • Component/s: None
    • Labels:
      None
    • Documentation Required?:
      Developer Doc

      Description

      The recommended ipn url for payment processors is

      civicrm/payment/ipn?processor_id=2

      Where the processor is a test processor the url requires mode=test.

      ie

      civicrm/payment/ipn?processor_id=2&mode=test

      This makes sense when we use the deprecated

      civicrm/payment/ipn?processor_name=paypal&mode=test

      but is redundant when ID is passed.

      It causes problems when the payment processor chokes on the ampersand or url_encodes it. The simplest solution is to remove the redundant bit of the url

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: