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 CiviEvent (Moderator: Yashodha Chaku) »
  • Civi event mail and fees problems
Pages: [1]

Author Topic: Civi event mail and fees problems  (Read 1698 times)

dominion

  • Guest
Civi event mail and fees problems
December 23, 2008, 04:16:03 pm
Problem 1:
Send Confirmation Email
 
civicrm/admin/event?reset=1&action=update&id=1&subPage=Registration
(where id1 is my event that i'm currently making changes to.)

How can I troubleshoot why this isn't sending, upon registration of an event?

I can send emails when I edit a pending user and hit send receipt, but I can't seem to get the confirmation email sent after an event registration.

Problem 2:
CiviEvent

My custom fee set seems to cause a problem on the edit user page.
civicrm/contact/view/participant?reset=1&action=update&id=15&cid=20&context=dashboard
(id15 is the id of the user in my system.  this value is arbitrary.)

when i go to edit the record, the fee section shows up garbled. 
it shows [ ] where a checkbox should be, and shows nothing where i have option fields.  Why would this happen?

I'm using drupal 5.14 and civicrm 2.06

thank you for your assistance!
(I think that after both of those two things are addressed, i'll finally be able to bring this site live)

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Civi event mail and fees problems
December 24, 2008, 12:30:25 pm
Problem 1 - If you're using the "pay-later" option, the functionality to send a confirmation at registration time (for the pending registration) was added for 2.1:
http://issues.civicrm.org/jira/browse/CRM-2703

Problem 2 - Pretty sure you're hitting a bug that was partially fixed in 2.1 and further fixes being applied for 2.2 :-(
http://issues.civicrm.org/jira/browse/CRM-3916
Protect your investment in CiviCRM by  becoming a Member!

dominion

  • Guest
Re: Civi event mail and fees problems
December 27, 2008, 10:43:25 am
I cannot upgrade to 2.1 or 2.2 because I am stuck with a drupal 5x installation due to the need for modules that are not available in 6x yet.

Are there ways to fix these issues, or do I have a product that is completely useless to me now?  I can live without the mail module bug being fixed, as i found a work around that allows me to send the receipt by clicking into the event listing.  The problem is though, that it shows that the customer paid 0 dollars for the event, no matter what was paid.

How can i fix this?

From what i gather of this code:

contributeMode notify function is what handles the mail

Confirm.php
Code: [Select]
if ( $this->_values['event']['is_monetary'] ) {
       
            require_once 'CRM/Core/Payment.php';
            $payment =& CRM_Core_Payment::singleton( $this->_mode, 'Event', $this->_paymentProcessor );

            $pending = false;
            $result  = null;
            if ( CRM_Utils_Array::value( 'is_pay_later', $this->_params ) ||
                 $this->_contributeMode == 'checkout'                     ||
                 $this->_contributeMode == 'notify' ) {
                $pending = true;
                $this->_params['participant_status_id'] = 5; // pending
            } else if ( $this->_contributeMode == 'express' ) {
                $result =& $payment->doExpressCheckout( $this->_params );
            } else {
                require_once 'CRM/Core/Payment/Form.php';
                CRM_Core_Payment_Form::mapParams( $this->_bltID, $this->_params, $this->_params, true );
                $result =& $payment->doDirectPayment( $this->_params );
            }

Registration.php
Code: [Select]
   // assign pay later stuff
        $this->_params['is_pay_later'] = CRM_Utils_Array::value( 'is_pay_later', $this->_params, false );
        $this->assign( 'is_pay_later', $this->_params['is_pay_later'] );
        if ( $this->_params['is_pay_later'] ) {
            $this->assign( 'pay_later_text'   , $this->_values['event_page']['pay_later_text']    );
            $this->assign( 'pay_later_receipt', $this->_values['event_page']['pay_later_receipt'] );

i found these segments in each file relating to pay later.  Am I chasing a white rabbit, or can i make a modification to this, in order for it to work?
« Last Edit: December 27, 2008, 11:40:52 am by dominion »

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: Civi event mail and fees problems
December 27, 2008, 03:06:07 pm

You can try patching the files and see if it works for you. if so great and you are all set :)

Note that in general there are quite a few fixes between successive point releases. hence it is quite important for the community to help and find bugs in alpha/beta releases (so they get fixed in the release). Its been a year since D6 was released, so most modules should have been upgraded by now (if not, will they?)

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

dominion

  • Guest
Re: Civi event mail and fees problems
January 01, 2009, 11:31:28 am
Quote from: Donald Lobo on December 27, 2008, 03:06:07 pm

You can try patching the files and see if it works for you. if so great and you are all set :)

Note that in general there are quite a few fixes between successive point releases. hence it is quite important for the community to help and find bugs in alpha/beta releases (so they get fixed in the release). Its been a year since D6 was released, so most modules should have been upgraded by now (if not, will they?)

lobo


Where can i get the patched files from?

I definitely will be contributing towards the newer releases once I have a bit of free time to do so!

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: Civi event mail and fees problems
January 01, 2009, 11:36:05 am

You will need to find the relevant issue and click on the fisheye tab to see all related commits. We try to tag all commits with the issue number (if relevant)

alternatively you can browse our svn repository: http://fisheye.civicrm.org/browse/CiviCRM and try to track all affected files

Note that larger issues will typically not have a complete trail. This method works well for smaller isolated issues

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 CiviEvent (Moderator: Yashodha Chaku) »
  • Civi event mail and fees problems

This forum was archived on 2017-11-26.