Open sventech opened 9 years ago
The pull request code worked for me at the time, setting reset false, but I also had to change my compojure config and routes so I wasn't doing CSRF prevention (since obviously the POST source would be another domain).
Ok yes so for others, I just used the body-string function from ring.util.request. I also had issue because I was using wrap-params that was already consuming the input body. No everything is working.
This issue has been fixed in the newer maintained project here: https://github.com/dyne/clj-paypal-ipn
Using Immutant 2.0 with Undertow HTTP server, I'm getting a stack trace when I try to handle an http
POST
and pass it toclojure-paypal-ipn
. I'm using Java 1.8, Compojure 1.3.3. See the StackOverflow question. I believe from other discussions that most Clojure servers don't support resetting theinputStream
onPOST
requests.