Paypal IPN shows HTTP response code 403 Delivery status Failed

We are using paypal IPN feature on our website but IPN request never reaches our server.
Paypal shows they have tried 16 times.
And gives this error
HTTP response code 403
Delivery status Failed
No. of retries 16

Checked apache log on server, it doesn’t show the request incoming. Cloudflare seems like a culprit.
Is there any log on cloudlfare I can check to see if the request is actually blocked by CF.
How to fix this?

Welcome to the community!

I’ve found this article online that may be useful.

It says that paypal uses the following IPv4 ranges:

  • 173.0.80.0/20
  • 64.4.240.0/21
  • 64.4.248.0/22
  • 66.211.168.0/22
  • 91.243.72.0/23

With those values, you can create a WAF firewall rule to allow traffic coming from them. Follow this guide if needed:

Hope it helps!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.