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) »
  • paypal standard: civicrm receipt not sent
Pages: [1]

Author Topic: paypal standard: civicrm receipt not sent  (Read 370 times)

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
paypal standard: civicrm receipt not sent
February 13, 2015, 05:01:54 am
I ran into an issue that I would have expected others to have reported, but don't see any mention of it in the forums or Jira.

WordPress site is configured using paypal standard and an event is created with email receipts enabled. when the online registration is completed, the record is created and marked completed, and the user receives the email from paypal indicating payment was processed -- but the email receipt from civicrm is not delivered.

I traced this at length, and the issue is that when CRM_Event_BAO_Event::sendMail is called, one step is to retrieve the profile fields so they can be assigned to the template. Within buildCustomDisplay, we make a call to CRM_Core_BAO_UFGroup::getFields(). that method checks the users permissions -- which is where the error is occurring.

the problem is in CRM_Core_Permission_WordPress::check --
we require the WP pluggable.php file, and the path is defined via WP constants. but those constants, for some reason, are not defined at this point in the flow.

the entry point for the processing of the record is extern/ipn.php, so I'm thinking that maybe WP is not getting fully bootstrapped, and so those constants are not recognized. what's odd is that everything else works -- the contribution record is created, etc. I would think if there's a bootstrap issue it would have broader impact.

anyway... has anyone else run into this issue?
I have a temporary workaround in place, but would like to understand why this is actually happening.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: paypal standard: civicrm receipt not sent
February 13, 2015, 05:28:30 am
found this Jira issue after posting on the forum:
https://issues.civicrm.org/jira/browse/CRM-15629

see my comments there about a patch to fix it.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

wjm

  • I post occasionally
  • **
  • Posts: 88
  • Karma: 0
  • CiviCRM version: Latest
  • CMS version: Joomla (Latest)
Re: paypal standard: civicrm receipt not sent
March 18, 2015, 11:39:17 am
Thanks for this.  Looks like I might be having the same problem:

http://forum.civicrm.org/index.php?topic=35883.new;topicseen#new

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • paypal standard: civicrm receipt not sent

This forum was archived on 2017-11-26.