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) »
  • Receipt missing custom data
Pages: [1]

Author Topic: Receipt missing custom data  (Read 1356 times)

sdybiec

  • Guest
Receipt missing custom data
July 01, 2008, 05:59:04 am
I've added two custom fields to my contribution form, but the emailed receipt doesn't show these correctly. The field show up as "custom_32 : Array" and "custom_33 : Array"

I'm able to develop fixes. What source code modules do this work?

Here's a copy of the receipt:

***********************************************************
Test-drive Transaction Receipt

This is a test-drive transaction receipt. No live financial transaction has occurred.
***********************************************************
This is your receipt for ordering your gear.

Please print this receipt for your records.
===========================================================
Contribution Information
===========================================================
Amount: $ 8.00
Date: July 1st, 2008  6:26 AM

===========================================================
Order Yard Sign and Bumper Sticker
===========================================================
 custom_32 : Array
 custom_33 : Array

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: Receipt missing custom data
July 01, 2008, 11:34:52 am

what object do the custom fields 32 and 33 extend? I suspect they are not of type Individual (or Contact). There is bug and rather than suppressing it, we show the word "Array".

I think we've reworked the code and fixed it in 2.1

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

sdybiec

  • Guest
Re: Receipt missing custom data
July 01, 2008, 01:44:46 pm
You're right, they extend Contribution. Thanks for the quick response.

Can you point me to the changed files so I can backport them?

When will 2.1 be ready?

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: Receipt missing custom data
July 01, 2008, 01:50:15 pm

they have been some significant changes to that structure. so its a set of files (and db schema also). so no single commit there

2.1 schedule and feature set on the wiki: http://wiki.civicrm.org/confluence/display/CRM/CiviCRM+v2.1

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) »
  • Receipt missing custom data

This forum was archived on 2017-11-26.