I'm not using security components but i'll try your solution.
Maybe is not the best solution but i'll try it and thanks for the answer.2013/5/4 Jeremy Burns | Class Outfit <jeremyburns@classoutfit.com>
Are you using the Security component? I toiled with something similar where I was receiving a POST from an external site and in the end I had to create a special controller with no forms purely to receive the POST. Then in beforeFilter I added:$this->Security->unlockedActions = array('my_action_name');$this->Components->disable('Security');That seems wrong - very wrong - but it was the only way I could stop the Security component clearing the POST.I'd be really keen to see if there is a more 'proper' solution.Class Outfit
Jeremy Burns
http://www.classoutfit.comOn 3 May 2013, at 20:03:10, leydis contreras <inglcontreras0707@gmail.com> wrote:Hi,
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.
--
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.
--
:)
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