Friday, May 3, 2013

Re: POST from external site

Hi, i know this is and old post but im facing the same problem and i can't fidn a solution.

I'm trying to integrate cakephp with mercadopago and i can't see the post data from payment's notifications.


Somebody could help me????



El martes, 14 de junio de 2011 15:53:34 UTC+2, Ivan Rocha escribió:
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

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: