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) »
  • Behavior of Renewal Link from Checksum in 4.4: now requires login?
Pages: 1 [2] 3

Author Topic: Behavior of Renewal Link from Checksum in 4.4: now requires login?  (Read 2756 times)

Shai

  • I post frequently
  • ***
  • Posts: 202
  • Karma: 8
    • Content2zero
  • CiviCRM version: 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 7
  • MySQL version: 5.5.x
  • PHP version: 5.3.x, 5.4.x
Re: Behavior of Renewal Link from Checksum in 4.4: now requires login?
February 04, 2014, 06:14:04 pm
Oh, and most importantly; I'm 100% sure this worked at some time when the site was running 4.3.x. I do understand that this doesn't prove that the upgrade is what killed it. Something else could have killed it. But I know that since the upgrade to 4.4 it hasn't worked. And at some point in the sites 4.3.x life that functionality worked (using a checksum to renew without requiring user to log in).

Thanks,

Shai
Don't miss out! Sign up now for free expert advice on CiviCRM's new StackExchange help site.

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: Behavior of Renewal Link from Checksum in 4.4: now requires login?
February 04, 2014, 06:53:58 pm
is a side step to just have another 'renew' clone of the membership form - that uses a clone of teh profile wiht the 'user required' disabled?
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

dsdart

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 3
  • CiviCRM version: 4.4
  • CMS version: Drupal 7.25
  • MySQL version: 5.1.41
  • PHP version: 5.3.1
Re: Behavior of Renewal Link from Checksum in 4.4: now requires login?
February 05, 2014, 09:29:17 am
"but that once 'logged in' the persons' organisation isn't prefilling" - that is correct.

Yes,  the person has a permissioned current employee relationship to the org.

poorhaus

  • I’m new here
  • *
  • Posts: 29
  • Karma: 0
    • Music Nova Scotia
  • CiviCRM version: 4.4.10
  • CMS version: Drupal 7
  • MySQL version: 5.5.27
  • PHP version: 5.3.17
Re: Behavior of Renewal Link from Checksum in 4.4: now requires login?
February 05, 2014, 10:45:03 am
Quote from: dsdart on February 04, 2014, 04:14:45 pm
The link I am using for membership renewals is "...civicrm/contribute/transact?reset=1&id={members.renewal_page_id}&{contact.checksum}&cid={contact.contact_id}" where I have created a custom token for the renewal page id.  Everything looks like they are rendering correctly.

Shouldn't the link be constructed as "...civicrm/contribute/transact?reset=1&id={members.renewal_page_id}&cs={contact.checksum}&cid={contact.contact_id}" ?

dsdart

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 3
  • CiviCRM version: 4.4
  • CMS version: Drupal 7.25
  • MySQL version: 5.1.41
  • PHP version: 5.3.1
Re: Behavior of Renewal Link from Checksum in 4.4: now requires login?
February 05, 2014, 12:01:49 pm
Quote from: petednz on February 04, 2014, 06:53:58 pm
is a side step to just have another 'renew' clone of the membership form - that uses a clone of teh profile wiht the 'user required' disabled?

I am looking for "user required" in the profile settings, but am not seeing it.  Is this something new?

I am not sure what you mean to have "another 'renew' clone".  Could you provide more details?

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: Behavior of Renewal Link from Checksum in 4.4: now requires login?
February 05, 2014, 12:12:17 pm
in the Advanced Setting of a profile you have the option of determing whether a drupal user account is required, optional etc
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

dsdart

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 3
  • CiviCRM version: 4.4
  • CMS version: Drupal 7.25
  • MySQL version: 5.1.41
  • PHP version: 5.3.1
Re: Behavior of Renewal Link from Checksum in 4.4: now requires login?
February 05, 2014, 12:24:37 pm
That's what I thought :)  We have "No account create option"

Shai

  • I post frequently
  • ***
  • Posts: 202
  • Karma: 8
    • Content2zero
  • CiviCRM version: 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 7
  • MySQL version: 5.5.x
  • PHP version: 5.3.x, 5.4.x
Re: Behavior of Renewal Link from Checksum in 4.4: now requires login?
February 05, 2014, 12:31:00 pm
Solved (for me at least). Just as @petednz suggested. One of the profiles on the renewal contribution page had the radio "account creation required" selected. I cloned the profile and added to the profile title "no drupal account creation." Then I went into the contribution page settings under the profile tab and chose the cloned profile I just created with the "no account creation" option selected.

NOTE: these settings are in the "Advanced" field set options on the profile settings page and the fieldset is closed by default. You have to click it open.

http://content2zero.com/sites/default/files/profile-settings-advanced.jpg

This doesn't explain why it had been working before. Maybe there was some bug fixed regarding the behavior of those account creation options.

Anyway, solved for now.
Don't miss out! Sign up now for free expert advice on CiviCRM's new StackExchange help site.

Shai

  • I post frequently
  • ***
  • Posts: 202
  • Karma: 8
    • Content2zero
  • CiviCRM version: 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 7
  • MySQL version: 5.5.x
  • PHP version: 5.3.x, 5.4.x
Re: Behavior of Renewal Link from Checksum in 4.4: now requires login?
February 05, 2014, 12:45:13 pm
@dsdart,

re:

Quote
I am not sure what you mean to have "another 'renew' clone"

@petednz was suggesting making another version of the membership renewal page. I think he was suggesting cloning the renewal contribution page.

What I did instead was clone the profile that had the create Drupal account selected. In the cloned profile I changed that setting to "do not create account." Then I include the cloned profile in my existing renewal contribution page in place of the original version of the profile.

Are you using only one form for new memberships and renewals? If you are, I don't think you'll be able to have the person renew with a checksum without logging in. This issue is a bit confusing. Civi has only has one form for both new memberships and renewals. But for this case, separate versions of the same form need to be created, one for new memberships and one for renewals.

Shai
Don't miss out! Sign up now for free expert advice on CiviCRM's new StackExchange help site.

dsdart

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 3
  • CiviCRM version: 4.4
  • CMS version: Drupal 7.25
  • MySQL version: 5.1.41
  • PHP version: 5.3.1
Re: Behavior of Renewal Link from Checksum in 4.4: now requires login?
February 05, 2014, 01:06:14 pm
Quote from: poorhaus on February 05, 2014, 10:45:03 am
Quote from: dsdart on February 04, 2014, 04:14:45 pm
The link I am using for membership renewals is "...civicrm/contribute/transact?reset=1&id={members.renewal_page_id}&{contact.checksum}&cid={contact.contact_id}" where I have created a custom token for the renewal page id.  Everything looks like they are rendering correctly.

Shouldn't the link be constructed as "...civicrm/contribute/transact?reset=1&id={members.renewal_page_id}&cs={contact.checksum}&cid={contact.contact_id}" ?

Apparently, 'cs=' is added when the token is rendered.

dsdart

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 3
  • CiviCRM version: 4.4
  • CMS version: Drupal 7.25
  • MySQL version: 5.1.41
  • PHP version: 5.3.1
Re: Behavior of Renewal Link from Checksum in 4.4: now requires login?
February 05, 2014, 04:18:40 pm
Quote from: Shai on February 05, 2014, 12:45:13 pm
@dsdart,

re:

Quote
I am not sure what you mean to have "another 'renew' clone"

@petednz was suggesting making another version of the membership renewal page. I think he was suggesting cloning the renewal contribution page.

What I did instead was clone the profile that had the create Drupal account selected. In the cloned profile I changed that setting to "do not create account." Then I include the cloned profile in my existing renewal contribution page in place of the original version of the profile.

Are you using only one form for new memberships and renewals? If you are, I don't think you'll be able to have the person renew with a checksum without logging in. This issue is a bit confusing. Civi has only has one form for both new memberships and renewals. But for this case, separate versions of the same form need to be created, one for new memberships and one for renewals.

Shai

Unfortunately we don't require accounts so I don't think this will solve the issue for me.  I don't see how new member pages and renewal member pages would be different.

@petednz - Is there a chance that the any of the hooks I am using could interfere with getting the org data for the form?  hook_civicrm_tokens, hook_civicrm_tokenValues, hook_civicrm_post, and hook_civicrm_postProcess


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: Behavior of Renewal Link from Checksum in 4.4: now requires login?
February 05, 2014, 04:23:44 pm
if i was logged in and went to that same page would the Org prefill?
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

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: Behavior of Renewal Link from Checksum in 4.4: now requires login?
February 05, 2014, 04:28:06 pm
not sure i am having much luck disentangling this thread

if i receive a checksum and use it and see my name/email prefilled then the checksum is doing its job - and you proved that, so checksum isn't the issue

if I am logged in and org is not prefilling then my guess is permissioned and active/current employee relationship is the issue (paste screenshot)

if i am logged in and Org is prefilling then yes something would seem to be  interfering
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

dsdart

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 3
  • CiviCRM version: 4.4
  • CMS version: Drupal 7.25
  • MySQL version: 5.1.41
  • PHP version: 5.3.1
Re: Behavior of Renewal Link from Checksum in 4.4: now requires login?
February 05, 2014, 04:53:47 pm
The issue is that the org info is not being filled in when the person is NOT logged in.  The person's info is filled in and the person has a permissioned relationship with the organization.  We do not require account creation.

The org was filled in before we updated to CiviCRM 4.4 when the person was not logged in.

Updated: I just went back and reread this thread and I am sorry for the confusion.  I did indicate that the organization was not being filled out when the person IS logged in.  That is incorrect.  The person is NOT logged in.
« Last Edit: February 05, 2014, 05:00:02 pm by dsdart »

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: Behavior of Renewal Link from Checksum in 4.4: now requires login?
February 06, 2014, 11:05:46 am
Sorry for being a pedant - but I want to read the statement ' the organisation does prefill if they are logged in' - i don't see you saying that. so i just want to be sure

Does the prefilling of organisation for the same person SUCCEED when they are logged in, and FAIL when they use a checksum.

Please confirm you have tested both scenarios for the SAME contact, one time logged in, and one time logged out using the checksum.
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

Pages: 1 [2] 3
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Behavior of Renewal Link from Checksum in 4.4: now requires login?

This forum was archived on 2017-11-26.