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) »
  • Drupal users controlling their own recurring contributions
Pages: [1]

Author Topic: Drupal users controlling their own recurring contributions  (Read 463 times)

gibsonoliver

  • I post occasionally
  • **
  • Posts: 65
  • Karma: 2
    • Northbridge Digital
Drupal users controlling their own recurring contributions
February 19, 2014, 09:41:20 am
Hi

We've been doing some work with Dru Yoga and recurring contributions.
This is a Civi 4.3.x site and Drupal 7.

When someone creates an online recurring contribution, in the automated receipt, they get a checksum link to
$updateSubscriptionBillingUrl
$cancelSubscriptionUrl
In the received email this generates an email link like - https://example.com/index.php?q=civicrm/contribute/unsubscribe&reset=1&mid=1460&cs=2ecfe7e01d4e0b87233874b6dd146d_1391599382_inf.
The user can then use these two links to cancel their recurring contribution or update the billing info.

However if the user logs in it would be great if they could also then cancel their own recurring contribution using the same link minus the checksum.
i.e. https://example.com/index.php?q=civicrm/contribute/unsubscribe&reset=1&mid=1460
We could generate this link using using Drupal Views etc on the Civi Contact Dashboard.

When we try logging in as the user and accessing the link (https://example.com/index.php?q=civicrm/contribute/unsubscribe&reset=1&mid=1460) the user gets a 'you don't have permission' message.
But the site admin can cancel using this link.

We think it would be great if logged in members could control their recurring contributions.
As a starting point does anyone know which Civi permission is needed and whether a new permission will have to be created before this could work safely?

Cheers
Olly
Oliver Gibson, Northbridge Digital

andyg8

  • I’m new here
  • *
  • Posts: 16
  • Karma: 1
  • CiviCRM version: 4.3.2
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.30-cll
  • PHP version: 5.3.22
Re: Drupal users controlling their own recurring contributions
February 21, 2014, 06:52:24 am
Adding info to the previous post...

If Contributions are enabled on the contact dashboard, then Contributions and Recurring contributions are displayed on the contact dashboard, mysite.com/civicrm/user.

These recurring contributions have links to View, Cancel and Change Billing details. But the user does not have access to these! For View, we get the message: You do not have permission to cancel subscription.
For Cancel or Change Billing details the message is:
Sorry but we are not able to provide this at the moment.
You do not have permission to cancel subscription.

What needs to happen so the user can manage their own recurring payments?

Thanks for your help

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Drupal users controlling their own recurring contributions

This forum was archived on 2017-11-26.