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) »
  • Recurring contribution receipt - update links should be public and encrypted
Pages: [1]

Author Topic: Recurring contribution receipt - update links should be public and encrypted  (Read 246 times)

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Recurring contribution receipt - update links should be public and encrypted
October 03, 2014, 07:29:52 pm
I have a patch for this issue, so I'm seeking agreement to raise an issue and supply a PR.

When a donor makes a recurring contribution, and the payment processor supports this, the receipt includes 3 links.
  • Cancel
  • Update
  • Update billing
It seems reasonable to expect these links should be Public (not all donors are logged in) and Encrypted (this information is private).

However, in /CRM/Contribute/xml/Menu/Contribute.xml these URLS are neither public nor encrypted.

Here's my patch against 4.5.0 for 2 out of 3 of these links (I don't use the third, but it would be symmetric with these changes).

Code: [Select]
--- ./CRM/Contribute/xml/Menu/Contribute.xml 2014-09-18 21:44:43.000000000 +1000
+++ /var/www/citybibleforum/sites/all/modules/civicrm/CRM/Contribute/xml/Menu/Contribute.xml 2014-09-21 00:06:17.820216388 +1000
@@ -229,6 +229,8 @@
     <title>Cancel Subscription</title>
     <page_callback>CRM_Contribute_Form_CancelSubscription</page_callback>
     <access_arguments>make online contributions</access_arguments>
+    <is_ssl>true</is_ssl>
+    <is_public>true</is_public>
   </item>
   <item>
     <path>civicrm/contribute/onbehalf</path>
@@ -246,6 +248,8 @@
     <title>Update Subscription</title>
     <page_callback>CRM_Contribute_Form_UpdateSubscription</page_callback>
     <access_arguments>make online contributions</access_arguments>
+    <is_ssl>true</is_ssl>
+    <is_public>true</is_public>
   </item>
   <item>
     <path>civicrm/contribute/subscriptionstatus</path>

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: Recurring contribution receipt - update links should be public and encrypted
October 04, 2014, 04:21:22 am
See my commit for this change at https://github.com/kenwest/civicrm-core/commit/019af4edcb45a58f8b729aa0349761750a6765f8

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Recurring contribution receipt - update links should be public and encrypted

This forum was archived on 2017-11-26.