CRM-3853 Allow checksum functionality for Contribute pages

    Details

    • Type: New Feature
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.0, 2.1
    • Fix Version/s: 2.2.0
    • Component/s: CiviContribute
    • Labels:
      None

      Description

      This may have already been recorded for 2.1, but if so I can't find the ticket in which I did so.

      This patch allows checksums to work with Contribute pages also. It's against 2.0

        Attachments

          Activity

          [CRM-3853] Allow checksum functionality for Contribute pages
          Chris Burgess added a comment -

          Because Contribute pages use "id" to refer to the id of the contribute page (not the contact id), to use a checksum with this we use "cid" to refer to the contact ID.

          So, the checksum code needs to have a "c" prepended, eg:

          http://demo.civicrm.org/civicrm/contribute/transact?reset=1&id=1&c

          {contact.checksum}
          Donald A. Lobo added a comment -

          integrated and cleaned up patch into 2.2

          note the checksum function just generates the checksum. you append the contactID at the url itself, so it can be called id or cid based on your context

          Sunil Pawar added a comment -

          Verified in r18949

          Kurund Jalmi added a comment -

          Batch move to verification

          Amiteshwar Prasad added a comment -

          Verified with r23536

            People

            • Assignee:
              Amiteshwar Prasad
              Reporter:
              Chris Burgess

              Dates

              • Created:
                Updated:
                Resolved: