function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ZAPEXZAPEX 

site.com IPN error

we have a payment solution in which customer can pay using Paypal. 
For each payment paypal sent IPN message to our Salesforce site.com to notify us on the new payment. In return Paypal expect site.com page to return status 200 to Paypal. From unknown reason Site.com response status for the IPN request is 401 and not 200. This causes Paypal to resubmit the IPN message multiple times. In case paypal maxout number of retries it blocks the IPN notifications.

do you know why our site.com does not return status 200 to Paypal?
Issue is not persistent. In most cases we do get 200 status as a response.

for example at 24/12/2016 18:54 GMT+02:00 
when Paypal called http://kornit-service.force.com/Paypal
the returned status from site.com was 401 while we expected to get 200.

Please advise