I am trying to get information from PayPal by using IPN (sandbox).
When I enter address:
https://my.site.com:4576/script.py
I get an error:
paypal URL with port number is not allowed for IPN.
According to this PayPal IPN on port other than 80 PayPal does not allow ports other than 80 and 443. However when I change the address to:
https://my.site.com/script.py
I get an error:
IPN was not sent, and the handshake was not verified. Please review your information.
According to this paypal IPN simulator getting error? this means that SSL is outdated however when I run this command openssl s_client -connect api-3t.sandbox.paypal.com:443 -showcerts -CApath /etc/ssl/certs/
in my server I get Verify return code: 0 (ok)
which means that SSL is up to date.
How can I make this IPN work?