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) »
  • When using Paypal payments the confirmation email won't send..
Pages: [1] 2

Author Topic: When using Paypal payments the confirmation email won't send..  (Read 4149 times)

nextwave

  • I post occasionally
  • **
  • Posts: 62
  • Karma: 0
When using Paypal payments the confirmation email won't send..
May 30, 2012, 02:35:24 pm
There's a site up here: http://f2cfnd.org/test-event/

Not sure if you'd like to spend the penny to see for yourself, but our client is ready to begin accepting people right away for their event, thing is all the information for the event is in the confirmation email that never gets to the user signing up..

Without Paypal payments - the email confirmation works perfectly.  I'm thinking it has something to do with the fact Paypal redirects them back to the page and something's missing..

Is there something I'm missing in CiviCRM or on their PayPal account that is prohibiting this?

Thanks.
« Last Edit: May 30, 2012, 02:36:59 pm by nextwave »

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: When using Paypal payments the confirmation email won't send..
May 30, 2012, 10:54:38 pm

what version and what paypal protocol are u using. If standard, might want to check your apache logs and see that the paypal IPN is hitting your server etc

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

nextwave

  • I post occasionally
  • **
  • Posts: 62
  • Karma: 0
Re: When using Paypal payments the confirmation email won't send..
May 31, 2012, 11:25:36 am
We're using Paypal website payments standard, CiviCRM 4.1.2, and Wordpress 3.3.2
« Last Edit: May 31, 2012, 12:14:51 pm by nextwave »

nextwave

  • I post occasionally
  • **
  • Posts: 62
  • Karma: 0
Re: When using Paypal payments the confirmation email won't send..
June 04, 2012, 01:11:15 pm
Here are the logs during the transaction..

Code: [Select]
69.61.183.202 - - [04/Jun/2012:16:08:03 -0400] "GET /test-event HTTP/1.1" 301 - "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.53 Safari/536.5"
69.61.183.202 - - [04/Jun/2012:16:08:12 -0400] "GET /test-event/ HTTP/1.1" 200 83210 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.53 Safari/536.5"
69.61.183.202 - - [04/Jun/2012:16:08:15 -0400] "GET /wp-content/themes/thenextwave/assets/img/home_nav_2_item_how_you_can_help_alt.png HTTP/1.1" 404 26035 "http://f2cfnd.org/test-event/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.53 Safari/536.5"
69.61.183.202 - - [04/Jun/2012:16:08:15 -0400] "GET /wp-content/themes/thenextwave/assets/img/nav_2_item_how_you_can_help_alt.png HTTP/1.1" 404 26035 "http://f2cfnd.org/test-event/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.53 Safari/536.5"
69.61.183.202 - - [04/Jun/2012:16:08:15 -0400] "GET /wp-content/themes/thenextwave/assets/img/nav_2_item_your_impact_alt.png HTTP/1.1" 404 26035 "http://f2cfnd.org/test-event/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.53 Safari/536.5"
69.61.183.202 - - [04/Jun/2012:16:08:15 -0400] "GET /wp-content/themes/thenextwave/assets/img/home_nav_2_item_your_impact_alt.png HTTP/1.1" 404 26035 "http://f2cfnd.org/test-event/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.53 Safari/536.5"
69.61.183.202 - - [04/Jun/2012:16:08:31 -0400] "POST /test-event/?page=CiviCRM&q=civicrm/event/register HTTP/1.1" 302 14686 "http://f2cfnd.org/test-event/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.53 Safari/536.5"
69.61.183.202 - - [04/Jun/2012:16:08:31 -0400] "GET /test-event/?page=CiviCRM&q=civicrm/event/register&_qf_Confirm_display=true&qfKey=c03fed7f2f5fe3a7ab94afa3d31e5f63_6185 HTTP/1.1" 200 70972 "http://f2cfnd.org/test-event/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.53 Safari/536.5"
69.61.183.202 - - [04/Jun/2012:16:08:33 -0400] "GET /wp-content/themes/thenextwave/assets/img/home_nav_2_item_your_impact_alt.png HTTP/1.1" 404 26035 "http://f2cfnd.org/test-event/?page=CiviCRM&q=civicrm/event/register&_qf_Confirm_display=true&qfKey=c03fed7f2f5fe3a7ab94afa3d31e5f63_6185" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.53 Safari/536.5"
69.61.183.202 - - [04/Jun/2012:16:08:33 -0400] "GET /wp-content/themes/thenextwave/assets/img/nav_2_item_your_impact_alt.png HTTP/1.1" 404 26035 "http://f2cfnd.org/test-event/?page=CiviCRM&q=civicrm/event/register&_qf_Confirm_display=true&qfKey=c03fed7f2f5fe3a7ab94afa3d31e5f63_6185" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.53 Safari/536.5"
69.61.183.202 - - [04/Jun/2012:16:08:33 -0400] "GET /wp-content/themes/thenextwave/assets/img/home_nav_2_item_how_you_can_help_alt.png HTTP/1.1" 404 26035 "http://f2cfnd.org/test-event/?page=CiviCRM&q=civicrm/event/register&_qf_Confirm_display=true&qfKey=c03fed7f2f5fe3a7ab94afa3d31e5f63_6185" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.53 Safari/536.5"
69.61.183.202 - - [04/Jun/2012:16:08:33 -0400] "GET /wp-content/themes/thenextwave/assets/img/nav_2_item_how_you_can_help_alt.png HTTP/1.1" 404 26035 "http://f2cfnd.org/test-event/?page=CiviCRM&q=civicrm/event/register&_qf_Confirm_display=true&qfKey=c03fed7f2f5fe3a7ab94afa3d31e5f63_6185" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.53 Safari/536.5"
69.61.183.202 - - [04/Jun/2012:16:08:34 -0400] "POST /test-event/?page=CiviCRM&q=civicrm/event/register HTTP/1.1" 302 14686 "http://f2cfnd.org/test-event/?page=CiviCRM&q=civicrm/event/register&_qf_Confirm_display=true&qfKey=c03fed7f2f5fe3a7ab94afa3d31e5f63_6185" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.53 Safari/536.5"
173.0.81.1 - - [04/Jun/2012:16:08:57 -0400] "POST /wp-content/plugins/civicrm/civicrm/extern/ipn.php?reset=1&contactID=1&contributionID=52&module=event&eventID=7&participantID=39 HTTP/1.0" 200 194 "-" "-"
69.61.183.202 - - [04/Jun/2012:16:09:06 -0400] "POST /test-event/?page=CiviCRM&q=civicrm/event/register&_qf_ThankYou_display=1&qfKey=c03fed7f2f5fe3a7ab94afa3d31e5f63_6185 HTTP/1.1" 200 72585 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.53 Safari/536.5"
69.61.183.202 - - [04/Jun/2012:16:09:08 -0400] "GET /wp-content/themes/thenextwave/assets/img/home_nav_2_item_how_you_can_help_alt.png HTTP/1.1" 404 26035 "http://f2cfnd.org/test-event/?page=CiviCRM&q=civicrm/event/register&_qf_ThankYou_display=1&qfKey=c03fed7f2f5fe3a7ab94afa3d31e5f63_6185" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.53 Safari/536.5"
69.61.183.202 - - [04/Jun/2012:16:09:08 -0400] "GET /wp-content/themes/thenextwave/assets/img/nav_2_item_your_impact_alt.png HTTP/1.1" 404 26035 "http://f2cfnd.org/test-event/?page=CiviCRM&q=civicrm/event/register&_qf_ThankYou_display=1&qfKey=c03fed7f2f5fe3a7ab94afa3d31e5f63_6185" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.53 Safari/536.5"
69.61.183.202 - - [04/Jun/2012:16:09:08 -0400] "GET /wp-content/themes/thenextwave/assets/img/home_nav_2_item_your_impact_alt.png HTTP/1.1" 404 26035 "http://f2cfnd.org/test-event/?page=CiviCRM&q=civicrm/event/register&_qf_ThankYou_display=1&qfKey=c03fed7f2f5fe3a7ab94afa3d31e5f63_6185" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.53 Safari/536.5"
69.61.183.202 - - [04/Jun/2012:16:09:08 -0400] "GET /wp-content/themes/thenextwave/assets/img/nav_2_item_how_you_can_help_alt.png HTTP/1.1" 404 26035 "http://f2cfnd.org/test-event/?page=CiviCRM&q=civicrm/event/register&_qf_ThankYou_display=1&qfKey=c03fed7f2f5fe3a7ab94afa3d31e5f63_6185" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.53 Safari/536.5"

I don't see anything wrong.  Error log has no issues whatsoever either.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: When using Paypal payments the confirmation email won't send..
June 04, 2012, 03:24:06 pm
There is also a log in your templates_c directory (although it might have been moved in 4.1?) - the path used to be templates_c/en_US/ConfigandLog/

Which holds civi error messages
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

LindseyM

  • I post frequently
  • ***
  • Posts: 229
  • Karma: 8
  • CiviCRM version: 4.4.6
  • CMS version: Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3.6
Re: When using Paypal payments the confirmation email won't send..
June 05, 2012, 02:09:52 am
This is exactly the same issue we have experienced for weeks - mentioned in this forum on 29 May.  Confirmation emails for paid events used to work fine so I'm not sure if the issues began when we moved over to 4.1  Thanks for starting the conversation nextwave - I'll follow it with interest.

nextwave

  • I post occasionally
  • **
  • Posts: 62
  • Karma: 0
Re: When using Paypal payments the confirmation email won't send..
June 05, 2012, 09:05:33 am
I didn't even know that directory existed!

Here's the log section mentioning the PayPalIPN:

Code: [Select]
Jun 04 12:35:05  [info] $Fatal Error Details = Array
(
    [message] => Sending a relative URL to PayPalIPN is erroneous. Please make your resource URL (in <a href="?page=CiviCRM&q=civicrm/admin/setting/url&amp;&amp;reset=1">Administer CiviCRM &raquo; Global Settings &raquo; Resource URLs</a> ) complete.
    [code] =>
)


Jun 04 12:35:05  [info] $backTrace = /home/organ1c1/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php, backtrace, 303
/home/organ1c1/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Payment/PayPalImpl.php, fatal, 443
/home/organ1c1/public_html/wp-content/plugins/civicrm/civicrm/CRM/Event/Form/Registration/Confirm.php, doTransferCheckout, 724
/home/organ1c1/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Form.php, postProcess, 254
/home/organ1c1/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/StateMachine.php, mainProcess, 167
/home/organ1c1/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/QuickForm/Action/Next.php, perform, 64
/home/organ1c1/public_html/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Controller.php, perform, 203
/home/organ1c1/public_html/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Page.php, handle, 103
/home/organ1c1/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php, handle, 284
/home/organ1c1/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php, run, 227
/home/organ1c1/public_html/wp-content/plugins/civicrm/civicrm.php, invoke, 239
, civicrm_wp_invoke,
/home/organ1c1/public_html/wp-includes/plugin.php, call_user_func_array, 405
/home/organ1c1/public_html/wp-admin/admin.php, do_action, 151

The resource URL set is: http://f2cfnd.org/wp-content/plugins/civicrm/civicrm/
That's not a relative URL..  We're getting closer to solving this, aren't we?
« Last Edit: June 06, 2012, 10:56:39 am by nextwave »

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: When using Paypal payments the confirmation email won't send..
June 05, 2012, 10:58:22 am

a bit wierd that the fatal @ 12:35:05 does not have a backtrace associated with it

any chance u can debug the code and figure out whats happening. Civi should be using the full url rather than the relatvei url? I suspect a bug with the Civi+WP integration

do u get a fatal error message when paypal is enabled?

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

LindseyM

  • I post frequently
  • ***
  • Posts: 229
  • Karma: 8
  • CiviCRM version: 4.4.6
  • CMS version: Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3.6
Re: When using Paypal payments the confirmation email won't send..
June 05, 2012, 11:52:20 am
It may well be more than a bug just affecting Civi + WP integration as we're using Drupal 7 and hitting the same issue. Are there any other Drupal users out there having the same problem?

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: When using Paypal payments the confirmation email won't send..
June 05, 2012, 06:58:00 pm

i was specifically referring to this error:

Sending a relative URL to PayPalIPN is erroneous. Please make your resource URL (

at civicrm.org, we do use D7 + 4.2. We used it for civicon registration quite successfully.

Lindsey: Would really help if someone on your side can dig into the code and help debug

thanx

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

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: When using Paypal payments the confirmation email won't send..
June 06, 2012, 01:25:19 am

I took a quick look at WP to see if WP was sending paypal a full url or relative url and if i could reproduce the fatal error

We are sending PP a complete url. So not sure how you got that error. Nothing was recorded in my error logs

Can you spend some time on the wordpres demo and see if u can reproduce the issue

thanx

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

nextwave

  • I post occasionally
  • **
  • Posts: 62
  • Karma: 0
Re: When using Paypal payments the confirmation email won't send..
June 06, 2012, 10:57:21 am
Quote from: Donald Lobo on June 05, 2012, 10:58:22 am

a bit wierd that the fatal @ 12:35:05 does not have a backtrace associated with it

any chance u can debug the code and figure out whats happening. Civi should be using the full url rather than the relatvei url? I suspect a bug with the Civi+WP integration

do u get a fatal error message when paypal is enabled?

lobo

I updated the backtrace text.. Grabbed the wrong portions.

How would I even begin to debug this?

jcasharpe

  • I post occasionally
  • **
  • Posts: 57
  • Karma: 5
    • Woodlands Church
  • CiviCRM version: 4.4.6
  • CMS version: Drupal 7
  • MySQL version: MariaDB 10.0.13
  • PHP version: 5.5
Re: When using Paypal payments the confirmation email won't send..
September 05, 2012, 03:24:38 pm
On LindseyM and my install the issue was we were getting failures in the Smarty template engine as I think that the upgrade of the message templates failed from 4.0 -> 4.1. Reverting the messages (which were showing as custom messages) in configuration -> message templates -> System Messages fixes the problem.

James VFA

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Wordpress 3.5
  • MySQL version: 5.5.27
  • PHP version: 5.3.17
Re: When using Paypal payments the confirmation email won't send..
January 24, 2013, 10:01:35 pm
Has there been a solution to this problem? As we are experiencing the same thing.

After people register for our event, and pay via Paypal (using a credit card) it will redirect them back to our website. They receive a receipt from Paypal, but not confirmation email for our actual event. Also, the event staff aren't getting cc'ed on the registrations either.

However, this is not a problem is people opt to pay by check/mail. They will get the event confirmation.

jaymcgraw

  • I post occasionally
  • **
  • Posts: 106
  • Karma: 6
  • CiviCRM version: 4.1.2
  • CMS version: Drupal 7.12
  • MySQL version: 5.0.92-community
  • PHP version: 5.2.11
Re: When using Paypal payments the confirmation email won't send..
February 05, 2013, 01:09:50 pm
I'm experiencing the same issue. IPN appears to work as expected. Contribution status changes to completed. No confirmation email is sent for either event registrations or membership transactions.

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • When using Paypal payments the confirmation email won't send..

This forum was archived on 2017-11-26.