Answers.Body: <p>Your IPN path is configured in paypal - the best path to point it to is yoursite/civicrm/payment/ipn/x where x is the number of the processor. Once you have updated it in paypal it is possible to re-send missed ipns from the paypal console</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-10T04:09:56.980Z
Answers.LastActivityDate: 2018-04-10T04:09:56.980Z
Answers.UserDisplayName: user4278
Answers.Body: <p>Which IPN file is used depends on what payment processor extension you use.
  So it might be a different file, not necessarily extern/ipn.php</p>
  
  <p>The webhook URL that your payment processor tries to contact is sent along with the payment information.
  So for the old payments, your payment processor probably has the old URL stored and it's probably not possible to change that in their system.</p>
  
  <p>The redirect option BobS mentioned here is probably what you need to do. Or add a Rewrite rule (that way the payment processor is not redirected)</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-09T10:19:44.380Z
Answers.LastActivityDate: 2018-04-09T10:19:44.380Z
Answers.UserDisplayName: Tom B.
Answers.Body: <p>Have a look at civicrm/extern/ipn.php.</p>
  
  <p>Perhaps you could solve this by adding a rewrite or redirect statement in your .httaccess in the root directory.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-11T14:20:02.297Z
Answers.Text: But what am i redirecting?
Answers.UserDisplayName: fdarn
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-11T18:44:48.597Z
Answers.Text: Redirect: Something like 
  * From: https://oursite.com/blog\wp-content\plugins\civicrm\civicrm\extern/ipn.php
  * To: https://subdomain.oursite.com/blog\wp-content\plugins\civicrm\civicrm\extern/ipn.php
  
  Rewrite: Something like
  * From: ^/oursite.com/blog\wp-content\plugins\civicrm\civicrm\extern/ipn.php
  * To: subdomain.oursite.com/blog\wp-content\plugins\civicrm\civicrm\extern/ipn.php
Answers.UserDisplayName: BobS
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-11T18:45:09.790Z
Answers.Text: Both of these solutions preclude you from using a payment processor with a Worpress site that may exist at oursite.com/blog, but you could work around this by changing the name of the WP installation directory.
  
  Beware that the rewrite method won't work if the payment processor does not honor redirect requests. And of course make sure that the parameter string of the initial request is passed on through any replace expressions you write in your .htaccess directives.
Answers.UserDisplayName: BobS
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-09T23:55:34.133Z
Answers.LastActivityDate: 2018-03-09T23:55:34.133Z
Answers.UserDisplayName: BobS
Body: <p>We are using Civi 4.7.29 on Wordpress 4.9.4</p>
  
  <p>Recently we moved our civi install of the root directory oursite.com to a subdomain subdomain.oursite.com. </p>
  
  <p>While we were on the root directory, we were able to take recurring payments with out any problems.  Suddenly on the subdomain, we are not able to accept recurring transactions anymore through paypal.  It shows the recurring transactions as Pending/Incomplete in civi.   </p>
  
  <p>It just occurred to me that the IPN paths might still be hooking to the root directory and need to be changed to the subdomain.  </p>
  
  <p>Can someone tell me which folder these IPN hooks are in, so I can review them?</p>
  
  <p>Thank you. </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-09T02:18:05.560Z
Comments.Text: Is there a setting within your payment processor you need to update with the new domain?
Comments.UserDisplayName: petednz - fuzion
Tags: <wordpress><api><recurring-contributions><ipn><pending>
Title: Where is IPN information stored in Civi?
ThreadText: # Where is IPN information stored in Civi?
  
  (Asked by: username_0 on 2018-03-09)
  
  We are using Civi 4.7.29 on Wordpress 4.9.4
  
  Recently we moved our civi install of the root directory oursite.com to a subdomain subdomain.oursite.com.
  
  While we were on the root directory, we were able to take recurring payments with out any problems. Suddenly on the subdomain, we are not able to accept recurring transactions anymore through paypal. It shows the recurring transactions as Pending/Incomplete in civi.
  
  It just occurred to me that the IPN paths might still be hooking to the root directory and need to be changed to the subdomain.
  
  Can someone tell me which folder these IPN hooks are in, so I can review them?
  
  Thank you.
  
  **Tags:** wordpress, api, recurring-contributions, ipn, pending
  
  > **Comments:**
  > **username_1**: Is there a setting within your payment processor you need to update with the new domain?  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_2 on 2018-04-10. Score: 3
  
  Your IPN path is configured in paypal - the best path to point it to is yoursite/civicrm/payment/ipn/x where x is the number of the processor. Once you have updated it in paypal it is possible to re-send missed ipns from the paypal console
  
  
  ---
  
  ### Answer by username_3 on 2018-04-09. Score: 1
  
  Which IPN file is used depends on what payment processor extension you use.
  So it might be a different file, not necessarily extern/ipn.php
  
  The webhook URL that your payment processor tries to contact is sent along with the payment information.
  So for the old payments, your payment processor probably has the old URL stored and it's probably not possible to change that in their system.
  
  The redirect option username_4 mentioned here is probably what you need to do. Or add a Rewrite rule (that way the payment processor is not redirected)
  
  
  ---
  
  ### Answer by username_4 on 2018-03-09. Score: 1
  
  Have a look at civicrm/extern/ipn.php.
  
  Perhaps you could solve this by adding a rewrite or redirect statement in your .httaccess in the root directory.
  
  > **Comments:**
  > **username_0**: But what am i redirecting?  
  > **username_4**: Redirect: Something like  * From: https://oursite.com/blog\wp-content\plugins\civicrm\civicrm\extern/ipn.php * To: https://subdomain.oursite.com/blog\wp-content\plugins\civicrm\civicrm\extern/ipn.php  Rewrite: Something like * From: ^/oursite.com/blog\wp-content\plugins\civicrm\civicrm\extern/ipn.php * To: subdomain.oursite.com/blog\wp-content\plugins\civicrm\civicrm\extern/ipn.php  
  > **username_4**: Both of these solutions preclude you from using a payment processor with a Worpress site that may exist at oursite.com/blog, but you could work around this by changing the name of the WP installation directory.  Beware that the rewrite method won't work if the payment processor does not honor redirect requests. And of course make sure that the parameter string of the initial request is passed on through any replace expressions you write in your .htaccess directives.  
  
  ---
  
  