My IPN Listener is protected by SSL, and access to a host via HTTPS, I try to test it using PayPal IPN simulator, but it gives an error: IPN Delivery Failed: I / O error: HTTPS hostname wrong: should be <xxx.xxx.xxx.xxx>; nested exception is java.io.IOException: HTTPS hostname wrong: should be <xxx.xxx.xxx.xxx>. Where <xxx.xxx.xxx.xxx> - IP address of my server. If I use an unsecured connection via HTTP, I get a response on this IP with IPN simulator, ports 80, 443 open. I try to go to the IPN Listener through a browser, I successfully opened IPN Listener JSP page through HTTPS. Tell me whether the PayPal with SSL hosts on which the IPN Listener or what could be my problem??
Looks like a defect on our end. We'll get this fixed.
Thanks for bringing it to our attention!
Related
Setup a front thank to VueJS with a basic contact form. Backend is a feathers (node/express) API with a POST route to a mail service (nodemailer) that handle to send the email to the account.
On my machine (localhost) everything is working.
Put on my own server (Ubuntu 17.04) over HTTP (served by Nginx) it's working.
I added let's encrypt SSL certificate.
Now the client received a 200 response when I send an email. I have no error on the server (connection check with transporter.verify()). But I don't get email anymore.
What do I have to configure with a HTTPS connexion ?
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?
I'm getting the following error when using the IPN Simulator -
IPN was not sent, and the handshake was not verified. Please review your information.
The URL is non-SSL HTTP (dev environment).
When I hit it in a browser I get the expected output (and a matching entry in my servers access.log), however when I hit it via the IPN Simulator, I get the above error, and nothing in the servers access log.
On advice from these questions:
IPN was not sent, and the handshake was not verified. Please review your information.
IPN Simulator: "IPN was not sent, and the handshake was not verified. Please review your information"
I tried the command openssl s_client -connect api-3t.sandbox.paypal.com:443 -showcerts -CApath /etc/ssl/certs
and got the output they suggested:
Verify return code: 0 (ok)
I don't think this is particularly important as I'm not attempting to make an SSL request.
Any other ideas?
I'm attempting this as part of a bug fix, I developed the IPN stuff approximately 3 weeks ago and the IPN Simulator worked just dandily, now not so much.
Thanks in advance.
I found out that IP-based http such as http://182.100.25.4/foo/bar/baz do not work. I used dyndns to create a DNS record to point to 182.100.25.4 and suddenly voila - http://somedns.ddns.net/foo/bar/baz started working properly in the IPN simulator.
http-based URLs do work, you do not need to use https-based URLs.
Check web access logs on your server.
In my case there were 500 Internal Server Error on my side and I got same message in IPN Simulator.
But IPN Simulator were trying to send request any way...
This is incredible but in my case I needed to add a trailing slash to the end of the URL. Truly incredible.
I'm trying to get IPN to my site, hosted on Amazon AWS EC2. The web server is Tomcat 7. Using PayPal sandbox.
The site has a Servlet or JSP to get the request.
When I set the IPN URL to my local machine (using IP address) it works, but setting it to the public site doesn't.
It doesn't matter if use site name or IP address, servlet or JSP.
In the access log I don't see any request for the IPN URL.
IPN Simulator with the IPN URL works.
in AWS ports 80 and 443 are opened for all IP range (0.0.0.0/0).
I think I checked everything, so I'm totally lost right now.
This was resolved after installing Linux updates and restarting the server. I don't know why, but SSL certificate did not work correctly before the updates and/or reboot
i am using paypal as payment gateway in my project but it give the error like Could not resolve host: api-3t.sandbox.paypal.com; No data record of requested type when redirect to paypal
This indicates a network error from your computer, try switching nameservers. (api-3t.sandbox.paypal.com resolves to 216.113.191.88 from my computer).
You can try switching nameservers to Google Public DNS at 8.8.8.8 and 8.8.4.4.