Answers.Body: <p>Having reviewed this I believe that your Paypal is possibly configured to point to an older version of the IPN path.</p>
  
  <p>You can change this yourself within your Paypal account, the docs I can see suggest:</p>
  
  <p>To configure Instant Payments Notification (IPN) for your PayPal account Click: Profile, under Selling preferences click "Instant Payment Notification preferences"
  It looks like yours is currently set to: <a href="https://domain.org/sites/all/modules/civicrm/extern/ipn.php" rel="nofollow noreferrer">https://domain.org/sites/all/modules/civicrm/extern/ipn.php</a></p>
  
  <p>However, it should now be set as: <a href="https://domain.org/civicrm/payment/ipn/3" rel="nofollow noreferrer">https://domain.org/civicrm/payment/ipn/3</a> where 3 is the payment processor id which you can get from Payment Processor screen(Administrator >> System Settings >> Payment Processor). This should fix any new payments setup / made.</p>
  
  <p>For recurring payments that have already been setup what you would need to do is make a change to the site so that those old / failed recurring payments get <a href="https://civicrm.stackexchange.com/questions/473/how-to-change-paypal-ipn-url-when-migrating-civicrm-onto-a-new-domain/4326#4326">forced onto the new path</a>, once you've done that you'll need to <a href="https://developer.paypal.com/docs/classic/ipn/integration-guide/IPNOperations/#view-ipn-messages-and-details" rel="nofollow noreferrer">'replay' all the previously failed recurring payments</a> from Paypal terminal. Depending on the number of transactions involved, this may involve some work from yourself in the Paypal site again. Or the other method is to <a href="https://civicrm.stackexchange.com/a/4510/155">use Notification log extension</a> to do replay of failed transaction. </p>
  
  <p>Cheers</p>
  
  <p>Pradeep</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-09-07T15:29:58.207Z
Answers.Text: Thanks @PradeepNayak. But this didnt work. I have chnaged the Rewrite rule and resent the IPN, but still no luck.
Answers.UserDisplayName: Tapash
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-09-07T15:42:10.423Z
Answers.Text: What error did you get?
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-09-07T15:53:55.813Z
Answers.Text: I have chnaged URL to - https://example.com/civicrm/payment/ipn/1 in PP IPN settings, When IPN resent - I still get 403 error, with status FAILED. 
  I have added in .htaccess - RewriteRule ^sites/all/modules/civicrm/extern/ipn.php$  https://example.com/civicrm/payment/ipn/1 [R=307,L]
  
  RewriteRule https://example.com/sites/all/modules/civicrm/extern/ipn.php$  https://example.com/civicrm/payment/ipn/1 [R=307,L]
  
  I have tried with both relative & absolute url. but still no luck.
Answers.UserDisplayName: Tapash
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-09-05T12:15:42.417Z
Answers.LastActivityDate: 2019-09-05T12:15:42.417Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>Have been receiving email from PayPal that IPN is not working. One off donations were updated but not recurring payments. I am on CiviCRM 5.16.4</p>
  
  <p>How can I fix it please?</p>
  
  <p>I have tried this but still not working 
  <a href="https://civicrm.stackexchange.com/q/26603/292">anyone getting &quot;IPN warning&quot; emails from PayPal?</a></p>
  
  <p>EDIT: Content of the email, also added a screenshot of the paypal IPN screen</p>
  
  <pre><code>Dear Tapash Datta , 
  
  Please check your server that handles PayPal Instant Payment Notifications (IPN). Instant Payment Notifications sent to the following URL(s) are failing:
  
  https://example.com/sites/all/modules/civicrm/extern/ipn.php 
  
  If you do not recognize this URL, you may be using a service provider that is using IPN on your behalf. Please contact your service provider with the above information. If this problem continues, IPNs may be disabled for your account. 
  
  Thank you for your prompt attention to this issue.
  
  Yours sincerely, 
  
  PayPal 
  </code></pre>
  
  <p><a href="https://i.sstatic.net/NhKcS.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/NhKcS.png" alt="enter image description here"></a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-09-05T10:10:33.317Z
Comments.Text: Can you post the content of the email you getting from Paypal. You can remove sensitive information from the email while posting
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-09-05T11:28:55.487Z
Comments.Text: @PradeepNayak Thanks. Added more info in the post
Comments.UserDisplayName: Tapash
Tags: <payment-processor><paypal><recurring-contributions><payment>
Title: PayPal Pro IPN returns 403 error
ThreadText: # PayPal Pro IPN returns 403 error
  
  (Asked by: username_0 on 2019-09-05)
  
  Have been receiving email from PayPal that IPN is not working. One off donations were updated but not recurring payments. I am on CiviCRM 5.16.4
  
  How can I fix it please?
  
  I have tried this but still not working
  [anyone getting "IPN warning" emails from PayPal?](https://civicrm.stackexchange.com/q/26603/292)
  
  EDIT: Content of the email, also added a screenshot of the paypal IPN screen
  
  ```
  Dear username_0 Datta , 
  
  Please check your server that handles PayPal Instant Payment Notifications (IPN). Instant Payment Notifications sent to the following URL(s) are failing:
  
  https://example.com/sites/all/modules/civicrm/extern/ipn.php 
  
  If you do not recognize this URL, you may be using a service provider that is using IPN on your behalf. Please contact your service provider with the above information. If this problem continues, IPNs may be disabled for your account. 
  
  Thank you for your prompt attention to this issue.
  
  Yours sincerely, 
  
  PayPal 
  
  ```
  
  [![enter image description here](https://i.sstatic.net/NhKcS.png)](https://i.sstatic.net/NhKcS.png)
  
  **Tags:** payment-processor, paypal, recurring-contributions, payment
  
  > **Comments:**
  > **username_1**: Can you post the content of the email you getting from Paypal. You can remove sensitive information from the email while posting  
  > **username_0**: @username_1 Thanks. Added more info in the post  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-09-05. Score: 3
  
  Having reviewed this I believe that your Paypal is possibly configured to point to an older version of the IPN path.
  
  You can change this yourself within your Paypal account, the docs I can see suggest:
  
  To configure Instant Payments Notification (IPN) for your PayPal account Click: Profile, under Selling preferences click "Instant Payment Notification preferences"
  It looks like yours is currently set to: <https://domain.org/sites/all/modules/civicrm/extern/ipn.php>
  
  However, it should now be set as: <https://domain.org/civicrm/payment/ipn/3> where 3 is the payment processor id which you can get from Payment Processor screen(Administrator >> System Settings >> Payment Processor). This should fix any new payments setup / made.
  
  For recurring payments that have already been setup what you would need to do is make a change to the site so that those old / failed recurring payments get [forced onto the new path](https://civicrm.stackexchange.com/questions/473/how-to-change-paypal-ipn-url-when-migrating-civicrm-onto-a-new-domain/4326#4326), once you've done that you'll need to ['replay' all the previously failed recurring payments](https://developer.paypal.com/docs/classic/ipn/integration-guide/IPNOperations/#view-ipn-messages-and-details) from Paypal terminal. Depending on the number of transactions involved, this may involve some work from yourself in the Paypal site again. Or the other method is to [use Notification log extension](https://civicrm.stackexchange.com/a/4510/155) to do replay of failed transaction.
  
  Cheers
  
  username_1
  
  > **Comments:**
  > **username_0**: Thanks @username_1. But this didnt work. I have chnaged the Rewrite rule and resent the IPN, but still no luck.  
  > **username_1**: What error did you get?  
  > **username_0**: I have chnaged URL to - https://example.com/civicrm/payment/ipn/1 in PP IPN settings, When IPN resent - I still get 403 error, with status FAILED.  I have added in .htaccess - RewriteRule ^sites/all/modules/civicrm/extern/ipn.php$  https://example.com/civicrm/payment/ipn/1 [R=307,L]  RewriteRule https://example.com/sites/all/modules/civicrm/extern/ipn.php$  https://example.com/civicrm/payment/ipn/1 [R=307,L]  I have tried with both relative & absolute url. but still no luck.  
  
  ---
  
  