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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Pay later and Pledges without needing payment processor
Pages: [1]

Author Topic: Pay later and Pledges without needing payment processor  (Read 618 times)

coryente

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Drupal
  • MySQL version: 5
  • PHP version: 5
Pay later and Pledges without needing payment processor
March 09, 2013, 11:00:22 pm
Hi,

I would like to do a minor modification so that:

1) Pay later would not show up as "Pending (Pay Later)" status. Since having a pending status means it won't show up on the contribute widget. Can I change the code somewhere so that it would show up with status of "completed"?

2) If I use pledge option, I am being forced to choose a payment processor which I don't really need. Is there a way to allow acceptance of pledges/donation without enabling a payment processor.

I am processing payments off-site and have no use for Civicrm integration for payment processing.  Using the dummy processor would also ask for a valid credit card and shows the credit card information form. I just want people to donate / pledge and have that amount show up on the contribution goal widget.

Any idea where the dummy code is? Would changing the code to hide that credit card form there cause error?

Can someone please point me to the location of the code where these changes can be made?

Thank you

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: Pay later and Pledges without needing payment processor
March 10, 2013, 07:56:36 am

1. I would keep pay later as is and adjust the widget to also include Pending (Pay Later) status. Seems to be the right solution

Ideally would be good to make the widget configurable and allow the admin to choose what status to display in the widget

You can learn more about Civi code from the developer book @ http://civicrm.org/developer/

The code for modifying the widget data used to display the totals is here: CRM/Contribute/BAO/Widget.php

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Pay later and Pledges without needing payment processor

This forum was archived on 2017-11-26.