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) »
  • Confirmation email not being sent when Pay Later is selected
Pages: [1] 2

Author Topic: Confirmation email not being sent when Pay Later is selected  (Read 4055 times)

websitesRevolt

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 1
Confirmation email not being sent when Pay Later is selected
January 27, 2010, 12:50:03 pm
I have also posted this issue under Upgrading, but thought this group might help too. Yesterday we upgraded from 3.0.3 to 3.0.4, and since then when someone registers for an event and selects "Pay Later" no confirmation email is being sent. It worked fine before the upgrade, and there are no errors that I can find in the logs, or with error reporting set to max.
If I try to duplicate this in test drive mode, the confirmation emails are sent just fine. It is only on a LIVE registration page, when the user selects "Pay Later" that the emails are not being generated.
Any idea what I should do to fix this? Is this a newly exposed bug in 3.0.4 or could it be something we are doing wrong?

Dwiding

  • I post frequently
  • ***
  • Posts: 165
  • Karma: 8
  • CiviCRM version: 3.3.3
  • CMS version: Joomla 1.5.x
Re: Confirmation email not being sent when Pay Later is selected
January 27, 2010, 01:59:22 pm
Just an FYI - the above post is for a LIVE Event site. If any one has any thoughts, please share.

Dallas



Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Confirmation email not being sent when Pay Later is selected
January 27, 2010, 03:32:31 pm
I did a quick test on my local 3.0 install - and I did get confirmation email output for a Pay Later registration. Lobo might have some ideas about debugging this when he gets back online later today ???
Protect your investment in CiviCRM by  becoming a Member!

websitesRevolt

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 1
Re: Confirmation email not being sent when Pay Later is selected
January 27, 2010, 04:04:04 pm
Few more details that may or may not be pertinent, who knows...
1) We are using a custom event registration template, but it has no changes from the standard template just incorporates a JS slider to make it stepwise. No custom fields or anything.
2) The registration page in question can be found at: http://members.rfw.org/index.php?option=com_civicrm&task=civicrm/event/register&id=19&reset=1
3) Confirmation emails for this event are setup to CC two staff email addresses, and BCC two other seperate addresses.

Other than that I can't think of anything out of the norm here. Definitely worked yesterday before the upgrade though.

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: Confirmation email not being sent when Pay Later is selected
January 27, 2010, 04:07:04 pm

since the site is LIVE you might want to roll back to 3.0.3 and use that till the event reg is over

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

Dwiding

  • I post frequently
  • ***
  • Posts: 165
  • Karma: 8
  • CiviCRM version: 3.3.3
  • CMS version: Joomla 1.5.x
Re: Confirmation email not being sent when Pay Later is selected
January 27, 2010, 04:34:17 pm
Hi Lobo,

We can't do that as we have enabled register multiple participants and using 3.0.3 the last user info over wrote all other entries for the multiple participants.

Can we back rev to 3.0.2 with out any issue?

Thanks!

Dallas

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: Confirmation email not being sent when Pay Later is selected
January 27, 2010, 04:47:30 pm

your best bet might be to:

1. reproduce the issue on a test server

2. add some debug statements to:

CRM/Event/Form/Registration/Confirm.php, function postProcess (search for: CRM_Event_BAO_Event::sendMail)

3. if you'll are not php/civicrm savvy, consider hiring someone from http://civicrm.org/professional/

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

Dwiding

  • I post frequently
  • ***
  • Posts: 165
  • Karma: 8
  • CiviCRM version: 3.3.3
  • CMS version: Joomla 1.5.x
Re: Confirmation email not being sent when Pay Later is selected
January 27, 2010, 11:36:14 pm
Tested on Sandbox - same result when selecting pay later. no confirmation e-mail sent.

Dallas



Dwiding

  • I post frequently
  • ***
  • Posts: 165
  • Karma: 8
  • CiviCRM version: 3.3.3
  • CMS version: Joomla 1.5.x
Re: Confirmation email not being sent when Pay Later is selected
January 27, 2010, 11:38:22 pm
Quote from: Dave Greenberg on January 27, 2010, 03:32:31 pm
I did a quick test on my local 3.0 install - and I did get confirmation email output for a Pay Later registration. Lobo might have some ideas about debugging this when he gets back online later today ???

Hi Dave, which 3.0 version.  When I did my original testing for this event we were running 3.0.2 and it was not an issue (AFAIR).

Thanks!

Dallas

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: Confirmation email not being sent when Pay Later is selected
January 28, 2010, 06:38:20 am
Quote from: Dwiding on January 27, 2010, 11:36:14 pm
Tested on Sandbox - same result when selecting pay later. no confirmation e-mail sent.

the demo servers dont send email for spam reasons (i.e. we dont want our boxes to be used by spammers). all email goes into /dev/null

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

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Confirmation email not being sent when Pay Later is selected
January 28, 2010, 08:02:56 am
websitesRevolt :

I tried on my local install as well, could not replicate  :(
Ping us on IRC for more help.

-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

websitesRevolt

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 1
Re: Confirmation email not being sent when Pay Later is selected
January 28, 2010, 08:56:56 am
I was able to replicate this on a seperate install and subdomain, using a 3.0.2 backup for the upgrade to 3.0.4. Prior to upgrading I verified it was working, and indeed in 3.0.2 the confirmation sent fine when Pay Later was selected. After upgrading however the same thing occurs.
The question is what changed between 3.0.3 and 3.0.4 regarding Pay Later registrants and that confirmation being generated? Does this have something to do with the Primary Email? We are not requiring registrants to login prior to registering, and are also allowing multiple registrants from the same email. Could this be where the problem lies?

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: Confirmation email not being sent when Pay Later is selected
January 28, 2010, 10:25:48 am

did u try adding debug statements to the above files. might make it easier for you/us to get to the root of the issue

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

websitesRevolt

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 1
Re: Confirmation email not being sent when Pay Later is selected
January 29, 2010, 04:29:58 am
I did a debug_var right before sendmail's called on the $this->_values array thats passed in.

I can't attach the dumps, there too large, but I did save both the debug_var dump, and the sessionDebug dump from the confirmation screen. If you think they will help.

I realized that the email field is blank in the contact records being created for each test signup. Everything else in the contact record is intact, just the email thats missing. It does appear to be passed to the confirmation screen though. That would explain the cause, since it is attempting to pull that email address from the contact record, correct?
So more correctly, this issue is with the contact record not saving correctly for Pay Later participants. (Also makes it clearer why it worked in test drive since test drive doesn't create a record)

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Confirmation email not being sent when Pay Later is selected
January 29, 2010, 05:41:24 am
websitesRevolt :
Quote
So more correctly, this issue is with the contact record not saving correctly for Pay Later participants. (Also makes it clearer why it worked in test drive since test drive doesn't create a record)

We do create records for the test drive as well, its just that we don't explicitly show the test participants unless you do a search in Find Participants with "Find Test Participants?" field checked.

-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Confirmation email not being sent when Pay Later is selected

This forum was archived on 2017-11-26.