paypal / ipn-code-samples

Other
562 stars 486 forks source link

IPN response with 200 HTTP code but nothing in my database #151

Open RomanoDome opened 5 years ago

RomanoDome commented 5 years ago

General information

Hi everybody, this is my first time here. I hope I do everything correctly (also, sorry for my English: I'm italian). I really need help because I don't know what to do at this point. I'm using these files: "PaypalIPN.php" and "example_usage.php". I also added to my Ubuntu cloud server (where is my website) the cert/cacert.pem, I don't know if I had to do but in the first file seems to be required.

Issue description

I tried to run a IPN simulator but it doesn't work, I looked for the same problem and right here in github I found that there may be a problem with the simulator, so I made some real transactions (I've read that live production test is run correctly with that code). Therefore:

How is it possible? Please, help me and thank you.

RomanoDome commented 5 years ago

Solved: the directory (where are my ssl certificates) didn't have the permission for being read, so I changed the permissions with chmod.