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 CiviMember (Moderator: Deepak Srivastava) »
  • Renewal form - only shows up as new membership
Pages: [1]

Author Topic: Renewal form - only shows up as new membership  (Read 1061 times)

sstern

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
  • CiviCRM version: 4.3.4
  • CMS version: Drupal
  • MySQL version: 5.5.29
  • PHP version: 5.3.3
Renewal form - only shows up as new membership
September 26, 2013, 07:32:37 am
I've created a Renewal/Signup form but it always shows up as a new membership.  For example, this is a link for a current member:

http://members.slneighbors.org/?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=2&cs=8f1cd3b48f77cd2622180dd5133e6003_1380205585_168

The template uses:

http://members.slneighbors.org/?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=2&{contact.checksum}

If you go to the page, you'll see it's for a new membership despite the contact's current membership.  What should I be looking at to figure this out? This is the last thing I need to get done before taking the site live!

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: Renewal form - only shows up as new membership
September 26, 2013, 09:31:47 am

can u use this link:

http://members.slneighbors.org/?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=2&cid={contact.id}&{contact.checksum}
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

sstern

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
  • CiviCRM version: 4.3.4
  • CMS version: Drupal
  • MySQL version: 5.5.29
  • PHP version: 5.3.3
Re: Renewal form - only shows up as new membership
September 26, 2013, 09:44:28 am
When I use that, the contact ID does not translate....

That is
http://members.slneighbors.org/?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=2&cid={contact.id}&{contact.checksum}

Gets
http://members.slneighbors.org/?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=2&cid=&cs=REAL_CS_NUMBER

Using Insert Token, I corrected that to
http://members.slneighbors.org/?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=2&cid={contact.contact_id}&{contact.checksum}

resulting in
http://members.slneighbors.org/?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=2&cid=1017&cs=ANOTHER_CS_NUMBER

BUT IT STILL SHOWS UP AS A NEW MEMBERSHIP, not a renewing one.
« Last Edit: September 26, 2013, 09:57:12 am by Donald Lobo »

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: Renewal form - only shows up as new membership
September 26, 2013, 09:58:05 am

ok, the second link is the right one :) Thanx for experimenting and getting it right. i've modified the forum post to eliminate the real CS numbers so folks dont change your personal info :)

u might want to double check and confirm that you do have an existing membership that is current

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

kckrupp_emphanos

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 3.4.5 / 4.0.5
  • CMS version: Drupal 6 / 7
  • MySQL version: -
  • PHP version: -
Re: Renewal form - only shows up as new membership
September 26, 2013, 10:10:32 am
This may have changed between 4.2 and 4.3.

In 4.2 the URL template that you want to follow is:

http://www.myorganization.org/civicrm/contribute/transact?reset=1&id=*N*&{contact.checksum}&cid={contact.contact_id}

Replace *N* with your Contribution Page ID.

EDIT:
I checked the wiki for 4.3 and this is the same url template described under the checksum tokens section at this page: http://wiki.civicrm.org/confluence/display/CRMDOC/Tokens
« Last Edit: September 26, 2013, 10:16:08 am by kckrupp_emphanos »

kckrupp_emphanos

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 3.4.5 / 4.0.5
  • CMS version: Drupal 6 / 7
  • MySQL version: -
  • PHP version: -
Re: Renewal form - only shows up as new membership
September 26, 2013, 10:20:03 am
Hey Steve,

Reviewed the original URL you posted. The problem is you're asking for the CS and not the CID. In the later URLs the order between Contact ID and CS is switched.

Your URL should be as follows:

http://members.slneighbors.org/?page=CiviCRM&q=civicrm/contribute/transact?reset=1&id=2&{contact.checksum}&cid={contact.contact_id}

sstern

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
  • CiviCRM version: 4.3.4
  • CMS version: Drupal
  • MySQL version: 5.5.29
  • PHP version: 5.3.3
Re: Renewal form - only shows up as new membership
September 26, 2013, 10:34:58 am
http://members.slneighbors.org/?page=CiviCRM&q=civicrm/contribute/transact?reset=1&id=2&cs=af54cc83facf2fdd5bfd147883752a6b_1380216564_168&cid=1017

Takes me to the "new membership" version of the profile, not the renewal.  Is there something I need to add specific to the membership?

kckrupp_emphanos

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 3.4.5 / 4.0.5
  • CMS version: Drupal 6 / 7
  • MySQL version: -
  • PHP version: -
Re: Renewal form - only shows up as new membership
September 26, 2013, 10:47:13 am
I got the Renewal page when I want to that link. See attached.
« Last Edit: September 26, 2013, 10:52:23 am by kckrupp_emphanos »

sstern

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
  • CiviCRM version: 4.3.4
  • CMS version: Drupal
  • MySQL version: 5.5.29
  • PHP version: 5.3.3
Re: Renewal form - only shows up as new membership [solved]
September 26, 2013, 10:48:25 am
Thanks. It was a browser cache problem!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Renewal form - only shows up as new membership

This forum was archived on 2017-11-26.