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 IPN issue after migration from Drupal to Wordpress
Pages: [1]

Author Topic: PayPal IPN issue after migration from Drupal to Wordpress  (Read 408 times)

kmitz

  • I post occasionally
  • **
  • Posts: 74
  • Karma: 2
PayPal IPN issue after migration from Drupal to Wordpress
April 01, 2015, 06:31:11 pm
Recently, I swapped our Drupal CMS for Wordpress.  I was amazed at just how easy that was (our Civi database was separate from Drupal) -- I think it took about 20 minutes.  I used this guide http://wiki.civicrm.org/confluence/display/CRMDOC/Migrating+from+Drupal+to+WordPress on the wiki.

Anyway, I must have missed the 'Update the resource URLs' step.  Today, I was working on setting up IPN with our PayPal account, however, it was silently failing.  Nothing in the logs.  Using Firefox/Firebug, I was able to see the URL of the listener in the POST request to PayPal, and I realized that it corresponded to the old Drupal path, not the new WP one (the path actually still existed as I have each CMS in its own subdirectory, so it wasn't throwing a 404 error).

That led me to check the civicrm_settings table where I found the culprits.  These paths can be adjusted via the interface at Administer >> System Settings >> Resource URLs.  Once I fixed that, IPN worked immediately.

I thought I'd put that out here because in browsing the forum, I saw more than a few issues raised about IPN problems after a switch in CMS.  Seems obvious in retrospect.  Hope it saves you some time.

Cheers.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • PayPal IPN issue after migration from Drupal to Wordpress

This forum was archived on 2017-11-26.