in reply to Re: How do you use Paypal IPN with Dancer2?
in thread How do you use Paypal IPN with Dancer2?
(Also your server's IPN URL must use HTTPS
This is not true. Some people have it working on HTTP.
What you are doing with this part of the code can cause servers to return HTTP 500 Internal Server Error because of malformed header format. The server always sets that header not your program. PayPal requires the HTTP 200 response to be a text/plain header.
# respond to Paypal's initial HTTP request print "HTTP/1.1 200 OK\r\n\r\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How do you use Paypal IPN with Dancer2?
by lancer (Scribe) on Jul 18, 2016 at 13:27 UTC |