CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Linking to contribute pages with checksum
Pages: [1]

Author Topic: Linking to contribute pages with checksum  (Read 1911 times)

Chris Burgess

  • Ask me questions
  • ****
  • Posts: 675
  • Karma: 59
Linking to contribute pages with checksum
September 09, 2008, 05:04:16 pm
We've got checksums working for a link to a profile page, but can't get the same working for a link to a contribution profile.

Because contribute pages and checksums use the "id" param, to denote both the contribution page AND the contact ID, whichever ID is placed first is used for both.

I'm not yet sure if the checksum code applies to profiles only, or can be used more generally throughout CiviCRM; knowing this will probably influence what sort of fix it needs.

It shouldn't be hard to change checksum to use cid, but there are many pages where a contact_id is referred to as 'id', so it seems like the contribute page id should be renamed. But then contribute id becomes cid too. Aie!

I'd be interested in gathering some thoughts from the CiviCRM team on how best to approach this.

@xurizaemon ● www.fuzion.co.nz

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Linking to contribute pages with checksum
September 09, 2008, 05:28:54 pm
I don't have direct suggestions on this Chris (and I'm not sure I grok exactly what you're trying to do). However, you may want to check out the somewhat related new (2.1) code which allows links folks who've made a Pledge to an existing contribution page so they can make self-service pledge payments.

This is described in the the Self Service Payments section of this issue:
http://issues.civicrm.org/jira/browse/CRM-3295
Protect your investment in CiviCRM by  becoming a Member!

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Linking to contribute pages with checksum
September 10, 2008, 01:57:55 am
Hi Dave - yes it looks like that incorporates the crux of it and hope chris can dig in to the code the creates the email.

All we are trying to do is simplify the process of gaining donations by being able to send an email that has a link including a checksum so the contact arrives at a Contribution Page that has their Contact Details already filled in.

This means that it is more likely that we can avoid the plague of duplicate contacts that occur if we just push people to the Contributions Pages as they sometimes fill in as Mike or Michael and use different email addresses.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Linking to contribute pages with checksum
September 10, 2008, 02:00:12 pm
Pete - this makes sense. I would think a general solution (combination of a new token for email, plus some additional code / option for the Contribution page) would be pretty straightforward - and could get added to 2.2 codebase. I'm sure Chris will bug us on IRC if he gets stuck :-)
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Linking to contribute pages with checksum

This forum was archived on 2017-11-26.