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) »
  • Membership Renewal with Checksum link
Pages: [1]

Author Topic: Membership Renewal with Checksum link  (Read 2002 times)

Martin Fuggle

  • I post frequently
  • ***
  • Posts: 172
  • Karma: 3
    • Travel and Photography
  • CiviCRM version: 4.2.x, 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 6.x and 7.x
  • MySQL version: 5.1.36-cll
  • PHP version: 5.3.6
Membership Renewal with Checksum link
December 14, 2009, 03:51:49 pm
I am trying to send renewal notices with a link to the contribution page and profile for users who are not logged on.  I am using the following link URL ~/civicrm/contribute/transact?reset=1&id=2&cid=303&{contact.checksum} to enable user 303 to link to the appropriate contribution page.  The contribution page displays and it has clearly identified the user since it states that their membership type has expired correctly.  However the profile is not populated with their details.

This screen shot shows the issue:

http://screencast.com/t/OTY4ZTQ1MjI

I have looked at other posts on this subject but have not yet found a solution.  I am using CiviCRM 2.2.8.

Any help would be greatly appreciated.

Cheers
Martin Fuggle
« Last Edit: December 14, 2009, 03:53:45 pm by mfuggle »

websynapse

  • I post frequently
  • ***
  • Posts: 216
  • Karma: 3
    • Ryan Kennedy
  • CiviCRM version: 4.3.7
  • CMS version: Drupal 6
Re: Membership Renewal with Checksum link
December 15, 2009, 01:07:51 pm
Did you turn off tracking at step 2 of the mailing?

Martin Fuggle

  • I post frequently
  • ***
  • Posts: 172
  • Karma: 3
    • Travel and Photography
  • CiviCRM version: 4.2.x, 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 6.x and 7.x
  • MySQL version: 5.1.36-cll
  • PHP version: 5.3.6
Re: Membership Renewal with Checksum link
December 15, 2009, 01:16:28 pm
I just sent the email using the find contacts, select a contact, send an email.  Is that not going to work?

Cheers
Martin Fuggle

websynapse

  • I post frequently
  • ***
  • Posts: 216
  • Karma: 3
    • Ryan Kennedy
  • CiviCRM version: 4.3.7
  • CMS version: Drupal 6
Re: Membership Renewal with Checksum link
December 15, 2009, 01:18:18 pm
I don't think so. You need to use CiviMail.

Happy to be corrected by someone with technical knowledge, but my understanding of it is that CiviMail is the part that creates the checksum links.

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: Membership Renewal with Checksum link
December 15, 2009, 02:26:40 pm
we have used checksums in emails and have them set up as templates for firing out

unclear if you are saying that you are using this in your email

/contribute/transact?reset=1&id=N&{contact.checksum}&cid={contact.contact_id}

or that you are substituting 303 yourself?
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

Martin Fuggle

  • I post frequently
  • ***
  • Posts: 172
  • Karma: 3
    • Travel and Photography
  • CiviCRM version: 4.2.x, 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 6.x and 7.x
  • MySQL version: 5.1.36-cll
  • PHP version: 5.3.6
Re: Membership Renewal with Checksum link
December 15, 2009, 08:15:33 pm
 I have used {contact.contact_id} in the email and also have substituted 303 which is my own contact ID.  Whether I send the link with the {contact.contact_id} token or hard wire an id makes no difference to the problem.  What is odd is this.  When I click on the checksum link in the Civicrm email it displays the contribution page (and the associated profile).  The membership type of the contact is populated but the profile is not populated.  If I leave the contribution webpage open and then click on the checksum link in the email a second time it opens a another webpage and this time correctly displays the contribution page and the profile is correctly populated with the contact's details.

Hmmm - what's going on here.  Is it at all possible that cookies are getting in the way? Could it be a permissions issue.  I am grasping at straws but am desperately keen to get this resolved before the start of the new year so that we can send out renewals.

Cheers
Martin Fuggle

Martin Fuggle

  • I post frequently
  • ***
  • Posts: 172
  • Karma: 3
    • Travel and Photography
  • CiviCRM version: 4.2.x, 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 6.x and 7.x
  • MySQL version: 5.1.36-cll
  • PHP version: 5.3.6
Re: Membership Renewal with Checksum link
December 15, 2009, 08:40:30 pm
I can confirm that the first time the email is opened and the checksum link is clicked the contribution web page is displayed but the profile is not populated.  The second and subsequent time the checksum link is clicked the contact's details are displayed in the profile.  So there is something happening which prevents the contact details being displayed in the profile on the first visit to the web page but displays them on subsequent visits.

I hope this may help the diagnosis.

Cheers
Martin Fuggle

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Membership Renewal with Checksum link
December 15, 2009, 09:22:11 pm

hey martin:

i tried this on my local 3.1 sandbox on a really simple contribution page with a profile. it worked the first time with both the email address and the first/last name on the profile

are you on 2.2? if so, i'd recommend an upgrade to 3.0 (or 3.1 beta). if you cannot upgrade, i'd recommend u hire someone from http://civicrm.org/professional/ to try to figure out whats happening and potentially patch this issue for 2.2

regards

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Martin Fuggle

  • I post frequently
  • ***
  • Posts: 172
  • Karma: 3
    • Travel and Photography
  • CiviCRM version: 4.2.x, 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 6.x and 7.x
  • MySQL version: 5.1.36-cll
  • PHP version: 5.3.6
Re: Membership Renewal with Checksum link
December 15, 2009, 09:41:19 pm
I'm on 2.2.8 and upgraded to 3.0 when it first came out but there were some css issues with the Drupal theme I am using (Litejazz).  I'll upgrade to 3.03 which I think is the latest and then I'll report back to see if that solves the issue.

Cheers and thanks
Martin Fuggle

Martin Fuggle

  • I post frequently
  • ***
  • Posts: 172
  • Karma: 3
    • Travel and Photography
  • CiviCRM version: 4.2.x, 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 6.x and 7.x
  • MySQL version: 5.1.36-cll
  • PHP version: 5.3.6
Re: Membership Renewal with Checksum link
December 16, 2009, 12:27:57 am
Well I'm now well and truly in trouble and I don't understand why.  I have backed up civicrm and drupal databases as well as the sites folder.  I followed the 3.0.3 upgrade instructions and when I got to perform the database upgrade it faioled because it said I had already been through a partial upgrade.  I don't know when!

I then restored my sites directory and the databases and I can no longer see any CiviCRM screens.  All I see is something like the following http://screencast.com/t/YTcxMzNjNz.

I now have my production site down.

Hopefully it is something simple.

Help appreciated.
Martin Fuggle
« Last Edit: December 16, 2009, 12:29:48 am by mfuggle »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Membership Renewal with Checksum link

This forum was archived on 2017-11-26.