Wednesday, June 15, 2011

Re: POST from external site

Double check the URL you're sending the POST request to - and ensure
the controller action is setup to receive it; especially if you're
using Auth / ACL.

Also post date in cake should be available in $this->params.

On Jun 14, 3:53 pm, Ivan Rocha <ivan.cr.n...@gmail.com> wrote:
> Hi,
>
> I'm trying to integrate a CakePHP website to PagSeguro (brazilian's Paypal)
> and when PagSeguro sends a POST containing the payment data, CakePHP don't
> show the POST, even if I put in the controller a "debug($_POST); die();".
>
> I have checked the network tab of Firebug and the POST is being sent
> correctly. I tried to use a pure PHP file outside CakePHP to receive the
> POST and it shows the data normaly.
>
> I searched a lot about CSRF protection and found nothing. Is there any
> Cake's "behaviour" that cleans the POST data?
>
> Thank you for helping,
> --
> Ivan Rocha

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate