I have empty array received from IPN request

Most likely you are processing the request incorrectly.

Try using this scheme:

    $ inputJSON = file_get_contents ('php: // input');
    $ input = json_decode ($ inputJSON, TRUE); // convert JSON into array
  

stackoverflow.com

Was this article helpful?

Yes No