No it does seem to work...
Problem is when you try to render another view it overrides, redirects
or something.
-Ben
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send
bump.
Does CakePHP intecept all headers and always send 200ok with a HTML
error page?
-Ben
On Apr 22, 5:15 pm, Mr-Yellow <[EMAIL PROTECTED]> wrote:
> Need to return error headers for PayPal IPN.
>
> I've tried this in a view. However it still returns a 200ok header.
>
> error(500, 'Billing Err
Need to return error headers for PayPal IPN.
I've tried this in a view. However it still returns a 200ok header.
error(500, 'Billing Error', ''); ?>
While if I use:
header("HTTP/1.0 500 Script error");
and/or:
trigger_error("IPN verification failed: " . $err,E_USER_ERROR);
It seems CakePHP gr