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) »
  • HELP- testing contributions with dummy processor
Pages: [1]

Author Topic: HELP- testing contributions with dummy processor  (Read 1896 times)

madronemedia

  • Guest
HELP- testing contributions with dummy processor
October 29, 2008, 12:42:07 pm
I'm new to CiviCRM. Trying to test entering an online contribution using the dummy payment processor. Realize you can only run in test drive versus live mode when using a dummy processor. It all runs fine, I get the email receipt and the thank you page. HOWEVER, no contribution is added to the database??? It adds the contact info I entered on the online donate page, but I can't find any trace of the contribution or even a membership (when I tried that as well).

What am I missing, folks?

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: HELP- testing contributions with dummy processor
October 29, 2008, 04:27:41 pm
Another way to test live Contribution mode is using "Pay Later" option.

Kurund
Found this reply helpful? Support CiviCRM

madronemedia

  • Guest
Re: HELP- testing contributions with dummy processor
October 29, 2008, 07:24:46 pm
Thanks for that suggestion. However, I still want to show a potential client how an online contribution actually is handled in CiviCRM. Is there a way to do this?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: HELP- testing contributions with dummy processor
October 30, 2008, 08:38:20 am
You can see "test" contributions from Find Contributions (search) - check the "Find Test Contributions" checkbox on the search form.
Protect your investment in CiviCRM by  becoming a Member!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: HELP- testing contributions with dummy processor
October 30, 2008, 10:59:20 am
Test contributions don't show in the Contact's "Contributions" tab - only in the Find Contributions search results. If you want to "hack" this for purposes of demo'ing to your client you can update the record via SQL after you determine the ID of the contribution (id=N in the view / edit contribution URL):

UPDATE civicrm_contribution set is_test = 0 where id = N;
Protect your investment in CiviCRM by  becoming a Member!

madronemedia

  • Guest
Re: HELP- testing contributions with dummy processor
October 30, 2008, 11:10:32 am
thanks dave. that explains it!

drupalite

  • Guest
Re: HELP- testing contributions with dummy processor
November 02, 2008, 03:20:13 pm
I'm kind of in same boat also putting together a demo for a NPO that I'm hoping will make the switch. 

I'm using the "live contribution page" with a paypal sandbox account as payment processor.  The contributions are also not being displayed or tallied in the contributions totals.

So, am I correct that I'll also have to do the manual work around?  it would be nice if you could tell CiviCRM that the whole site is in 'demo' mode so that it would calculate those things. 

drupalite

  • Guest
Re: HELP- testing contributions with dummy processor
November 02, 2008, 03:21:59 pm
Quote from: Dave Greenberg on October 30, 2008, 10:59:20 am
Test contributions don't show in the Contact's "Contributions" tab - only in the Find Contributions search results. If you want to "hack" this for purposes of demo'ing to your client you can update the record via SQL after you determine the ID of the contribution (id=N in the view / edit contribution URL):

UPDATE civicrm_contribution set is_test = 0 where id = N;

Is there a way to do the opposite and tell the contributions tab to go ahead and count the test cases?

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: HELP- testing contributions with dummy processor
November 02, 2008, 08:30:13 pm

You'll need to hack the code to do this.

Check: CRM/Contribute/BAO/Query.php and perhaps hack line 297 to ignore contribution_test?

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) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • HELP- testing contributions with dummy processor

This forum was archived on 2017-11-26.