Need to return error headers for PayPal IPN.
I've tried this in a view. However it still returns a 200ok header.
<?php $this->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 grabs that and wraps it a 200ok page.
-Ben
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---