March 9, 2020 at 1:04 am #14875LeeMember
I setup Simple Cart and the Collect Customer Input plug in.
I enabled the PayPal Sandbox and processed a couple of orders, using the Sandbox buyer and seller accounts. The PayPal order confirmation in the Sandbox account, shows that the order was completed.
The transaction completes successfully, and I end up at the Order Complete page on my site, however, I don’t receive the email that should be send to the Seller, and Cart Orders continues to show no orders. The Trash section of the page shows a new pending entry for each order, but it contains no details.March 10, 2020 at 2:10 am #80379adminKeymaster
This will be an issue with the IPN notification. The plugin is not receiving the IPN notification from PayPal sandbox.
Two things can cause this issue:
#1) You don’t have the IPN notification turned in your Sandbox account. The following video will explain how to enable the IPN feature (in your case, you need to enable it in your sandbox account):
#2) There is a security or firewall plugin that is blocking the IPN notification.
Enable the debug logging option in the plugin settings. That will show you if the plugin is getting the IPN notification or not.March 10, 2020 at 2:42 am #80380LeeMember
Ok, I followed the steps to enable IPN for the Sandbox account, and that now shows it’s enabled. I’m still seeing a similar result (empty pending entries in the trash). The debug log shows the following. It looks like an SSL error, but the website is not currently using SSL. I had chatted with PayPal support earlier this evening and they told me that SSL wasn’t required for IPN to work. Did they give me bad info?
[03/10/2020 2:33 AM] – SUCCESS :Collect input addon: wpspsc_cci_save_data_handler hook triggered
[03/10/2020 2:35 AM] – SUCCESS :Paypal Class Initiated by 22.214.171.124
[03/10/2020 2:35 AM] – SUCCESS :Checking if PayPal IPN response is valid
[03/10/2020 2:35 AM] – SUCCESS :Connecting to: https://www.sandbox.paypal.com/cgi-bin/webscr
[03/10/2020 2:35 AM] – FAILURE :IPN validation failed.
[03/10/2020 2:35 AM] – FAILURE :Error response: cURL error 35: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
[03/10/2020 2:35 AM] – SUCCESS :Paypal class finished.
===========March 11, 2020 at 12:15 am #80381adminKeymaster
This looks like an issue with the server configuration. Setting up sandbox can be a little tricky sometimes (if you are not a developer). I would recommend you do the test with a $1 transaction in live mode. Then you can refund that transaction. That way you will remove a lot of the other issues from the equation (issues that are related to setting up everything sandbox related). It’s better to do the testing “live” anyway because once the normal transaction is working, you can keep it as is. Otherwise, you will need to do the testing again in live mode since your live paypal account and sandbox account do not share the setup (those account have completely separate configuration that need to be configured correctly).
Some useful information here (it is a good read):
Can you do live mode testing here?
- You must be logged in to reply to this topic.