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) »
  • Contribution Weirdness
Pages: [1]

Author Topic: Contribution Weirdness  (Read 1648 times)

innovafire

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal 6.22
  • MySQL version: 5.1
  • PHP version: 5
Contribution Weirdness
May 16, 2013, 05:22:27 pm
I just launched a site with Drupal 7 and Civi 4.2.  And we just started getting the first event signups, but some strange stuff is being added to the line-items in the purchases.  I don't think any of the users are seeing them, and they don't seem to be affecting the actual prices, but I can't figure out where there are coming from.

See the attached image.  For each purchase you see 2 lines under "Fee Level". The second line on each one is the correct one: "Event Fee - Ticket....".  The first line of each of them is totally out of left field.  Things like "Tournament Fees", "Festival Fees" and "Dinner contribution" are being entered from god knows where.  I have scoured the menus of Civi and cannot figure out where these options are coming from.

What's also strange is that when I click on any of these items in the participant list for the event, to view the actual participant page, it seems these additional items are listed with a price, but the price seems to have no actual bearing on the purchase.  For example: "Tournament Fees - Tiny-tots (ages 5-8): 1" is listed on the participant page as $800!, but this is not factored into the actual price.

Please help to preserve my sanity and let me know where these are coming from.

As a second side-question: A few of these items had gone through before I took Authorize.net out of test mode.  I removed those from the participants, but they still show up in the dashboard as "Top Donors".  Any idea how to remove those since they did not actually donate anything?

Thanks.

Chris

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: Contribution Weirdness
May 16, 2013, 07:27:28 pm

those fields are price set fields from our demo events. I'm not sure why they are getting added, a bit wierd

what version of 4.2 are u on?

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

innovafire

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal 6.22
  • MySQL version: 5.1
  • PHP version: 5
Re: Contribution Weirdness
May 16, 2013, 07:35:50 pm
Not sure what you mean by what version of 4.2.  When I look in the Drupal modules list, all the civicrm modules just say 4.2.

Chris

innovafire

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal 6.22
  • MySQL version: 5.1
  • PHP version: 5
Re: Contribution Weirdness
May 17, 2013, 07:19:40 am
Anyone who has some useful advice on how to resolve this?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Contribution Weirdness
May 17, 2013, 09:09:58 am
It appears that price set field options from sample events have somehow gotten linked to this event. Not sure how that could happen :-( Might help to have some history of how this event was created. Did someone perhaps take an existing sample event ("Rainforest Cup Youth Soccer Tournament") and modify it to use for your event? Do you recall any database error messages appearing during create / edit of the event? Is this a multiple domain site? Installed from scratch as 4.2 or upgraded from earlier version ...

In any case I would expect the 'weird' fee fields to show up in the registration form based on the fact that line items are being created for them - but I think you're saying that's also not happening ??

One approach to trying to get a handle on this would be to 'convert the event fees to the explicit price set model'.  To do this click the link in this sentence (appears above the table of Regular Fees on the event's Fees tab):

"Click here if you want to configure the Regular Fees below as part of a Price Set, with the added flexibility and complexity that entails. "

Then examine the price set fields and options associated with the event from Events > Manage Price Sets.
Protect your investment in CiviCRM by  becoming a Member!

innovafire

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal 6.22
  • MySQL version: 5.1
  • PHP version: 5
Re: Contribution Weirdness
May 17, 2013, 12:07:37 pm
Thanks Dave.  A few questions though:

1) Will making that change affect the registrations that have already been done?  How?

2) Could I alternately find those weird line items in the DB and delete them, or would that somehow cause a cascade of errors I'd have to debug if I deleted them?

Chris

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Contribution Weirdness
May 17, 2013, 01:18:42 pm
That change should not affect the existing registrations AFAIK. Can you provide any more info about my earlier questions? Do the "weird" fields appear on the registration form (as input fields)?

If you've got access to MySQL and are comfortable w/ it - you could do some investigation in the DB - you'll want to drill down from civicrm_event.id to civicrm_price_set_entity to civicrm_price_set to civicrm_price_field to civicrm_price_field_value and see what options are linked via FK's to your event.

You may still want to delete those line_item rows in the DB - but assuming they're still being created would be good to stop that from happening first IMO.

Protect your investment in CiviCRM by  becoming a Member!

innovafire

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal 6.22
  • MySQL version: 5.1
  • PHP version: 5
Re: Contribution Weirdness
May 17, 2013, 01:26:38 pm
Dave,

No, thankfully none of those weird fields show up on the registration pages at all for users.  Just in the end result on the back-end.

OK, I'll give the price-set thing a try and see what happens.

Chris

innovafire

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal 6.22
  • MySQL version: 5.1
  • PHP version: 5
Re: Contribution Weirdness
May 17, 2013, 01:41:23 pm
OK, so I tried as you said, but the weird line items are still showing, even with the price set enabled for that event.

Any ideas?

Chris

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Contribution Weirdness
May 17, 2013, 03:27:37 pm
Drill down through the price set UI to see what Price Fields and Price Options are linked to the price set. Also verify that NEW event registrations are still getting the extraneous line_item rows inserted.

You'll really have to dig into all this via UI and DB to make progress since this is completely unexpected behavior and I've not heard of it happening before.
Protect your investment in CiviCRM by  becoming a Member!

innovafire

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal 6.22
  • MySQL version: 5.1
  • PHP version: 5
Re: Contribution Weirdness
May 23, 2013, 08:24:53 am
There is nothing in the price sets at all on the UI side that shows these items.  I have been drilling into the DB and looked around and for instance searched for "Tiny Tots" in the DB and I have found items in the line items table and the price sets table for these things.  I think a previous programmer of mine might have orphaned some of these items in the DB when he was cleaning out some of the other test data in the DB

What's bugging me now is even when I search for something like "Tiny Tots" (one of the things showing as these weird line items) and I delete all I find in the DB directly of those, and even after I clear the caches, I STILL see them showing up as line items, not only in the transactions that have already occurred but also in new transactions!  Is there somewhere else this data might be being stored or cached than in the DB? Or is it possibly being stored in some encoded format int he DB so that when I use a search string to look for it I cannot find it?

Chris

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Contribution Weirdness
May 23, 2013, 10:50:33 am
Silly thought - make sure you're examining the right instance of your CiviCRM DB ..

Otherwise - data-flow info which may help u investigate:
- Prior to version 4.2, sample event fee options (like the Tiny Tot ... fee option) are stored in civicrm_option_value table.  These fee options belong to a civicrm_option_group and the linkage to the event is via a string stored in civcrm_option_group.name (e.g. civicrm_event.amount.3 - where 3 is civicrm_event.id)

- Price set fee options are stored in civicrm_price_field_value. For versions 4.2 +, the sample event fees would be found there. Linkage to event is via civicrm_price_field => civicrm_price_set => civicrm_price_set_entity => civicrm_event
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Contribution Weirdness

This forum was archived on 2017-11-26.