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) »
  • Including a TEST Contribution Type in core
Pages: [1]

Author Topic: Including a TEST Contribution Type in core  (Read 1066 times)

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Including a TEST Contribution Type in core
September 14, 2010, 03:17:43 pm
Hi - on many of our sites we end up running lots of 'test' contributions through the system to confirm Receipts etc.

I have taken to setting up a Test Contribution Type so these can then be easily grabbed and removed - or at least excluded from Reports etc.

Just wondering if anyone thinks that would be a good addition as a Contribution Type in to the core code.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

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: Including a TEST Contribution Type in core
September 14, 2010, 06:06:26 pm

all contribution / participant / member records have a is_test column which indicate if they are a test record

i do not see a reason to add another redundant entry for this purpose

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

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Including a TEST Contribution Type in core
September 14, 2010, 06:51:53 pm
so maybe i am overlooking something simple - if i want to do an offline contrib and flag it as test how am i to approach that - or should i be asking for a 'is test' checkbox in some screens?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

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: Including a TEST Contribution Type in core
September 14, 2010, 07:04:58 pm

ahh yes for that use case u'll need a is_test checkbox :)

for the short term, can be done via hooks

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

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Including a TEST Contribution Type in core
September 14, 2010, 07:50:42 pm
okay - glad i haven't been operating totally blind - can i put it up as a feature request - since the col is there would be great to have wider use of it - i guess the ideal would be a 'global settings' for 'show test option' - maybe?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Including a TEST Contribution Type in core
September 14, 2010, 10:11:37 pm
There is a URL switch for "Submit Credit Card Contribution" (offline) that will generate a "test" contribution - "&mode=test"

http://<yoursite>/civicrm/contact/view/contribution?reset=1&action=add&cid=106&context=contribution&mode=test
Protect your investment in CiviCRM by  becoming a Member!

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Including a TEST Contribution Type in core
September 15, 2010, 02:41:19 am
thanks Dave - i am not really focussing on test credit card payments - but any - basically we end up creating lots of test Memberships and test Contributions and Events in all sorts of ways, not for just cc testing.

I am just trying to find a way to do the clean up more easily

Being able to check a box when doing a back end 'anything' to flag as a 'test' so they can just be dumped later on would be cool.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Including a TEST Contribution Type in core

This forum was archived on 2017-11-26.