Author Topic: Accepting contributions during civic engagement  (Read 5220 times)

Offline Brylie Christopher Oxley

  • I post occasionally
  • **
  • Posts: 52
  • Karma: 1
  • CiviCRM version: 4.x
  • CMS version: Drupal 7.x
  • MySQL version: 5.x
  • PHP version: 5.x
Accepting contributions during civic engagement
« on: October 19, 2012, 03:37:28 pm »
How can we integrate CiviContribute functionality into a PhoneBank? I.e. it would be desirable to easily accept a new pledge, credit card payment, or in-kind donation during a civic engagement. It would also be helpful if the caller did not have to navigate through too many screens to get to the contribution page and back, perhaps a modal dialogue would serve well.
« Last Edit: October 19, 2012, 03:39:10 pm by Brylie Oxley »

Offline josue

  • I post occasionally
  • **
  • Posts: 81
  • Karma: 7
    • PTP
  • CiviCRM version: 3.4.4, 4.1.1
  • CMS version: Drupal 6.24, Drupal 7.12
  • MySQL version: 5.0
  • PHP version: 5.2
Re: Accepting contributions during civic engagement
« Reply #1 on: November 29, 2012, 09:39:05 am »
just wanted to report here that we recently added to lines to the templates/CRM/Campaign/Form/Task/Interview.tpl:

@@ -59,6 +59,7 @@
              {foreach from=$readOnlyFields item=fTitle key=fName}
            <th {if $fName neq 'contact_type'} class="contact_details"{/if}>{$fTitle}</th>
         {/foreach}
+        <th></th>
       
         {* display headers for profile survey fields *}
         {if $surveyFields}
@@ -80,6 +81,9 @@
           <td {if $fName neq 'contact_type'} class="name"{/if}>{$voterDetails.$voterId.$fName}</td>
        {/foreach}
 
+        {* add donate button *}
+        <td><a href="https://url-of-civicrm-site/civicrm/contact/view/contribution?reset=1&action=add&cid={$voterId}&context=contribution" target="_blank">Donate</a></td>
+

replace url-of-civicrm-site with your site domain. this provides a Donate link to every row in the survey.

more work is needed to make it conditional: only show the link for the PhoneBank Activity, for example.

hope that helps!

--josue

Offline Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Accepting contributions during civic engagement
« Reply #2 on: November 29, 2012, 12:08:46 pm »
I commend you that you are actually managing to get phone staff to log in - the message I always get is that phone staff will work the way they always have down and this is the printed report we would like please :-)

As an aside - I have been talking to someone who is interested in sponsoring a civimobile payment facility.
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute