Sorry, i know this is an old ticket. But im facing the same problem, im trying to integrate cakephp with mercadopago and it's drive me crazy. Mercadopago is sending the $_POST but for some reason (i think is for security), cakephp is cleaning this.
I already tried this:
- Set security level to low (core.php)
- Set securirty components to low.
- Talked to mercadopago people(they nerver worked with cakephp)
So, anything seems to work.
Thank you.
PD: sorry for my english.
On Tuesday, June 14, 2011 3:53:34 PM UTC+2, Ivan Rocha 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
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:
Post a Comment