mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-30 11:19:22 +02:00
"no content OK" is HTTP 204, not HTTP 200. (#365)
read section 6.3.5 of https://tools.ietf.org/html/rfc7231#section-6.3.5 for proof.
This commit is contained in:
parent
01c5da322a
commit
3c15ead4cf
4
ipn.php
4
ipn.php
@ -61,8 +61,8 @@
|
||||
$paypal = $config['paypal'];
|
||||
$prices = $config['paypal_prices'];
|
||||
|
||||
// Send an empty HTTP 200 OK response to acknowledge receipt of the notification
|
||||
header('HTTP/1.1 200 OK');
|
||||
// Send an empty HTTP 204 OK response to acknowledge receipt of the notification
|
||||
http_response_code(204);
|
||||
|
||||
// Build the required acknowledgement message out of the notification just received
|
||||
$req = 'cmd=_notify-validate';
|
||||
|
Loading…
x
Reference in New Issue
Block a user