How i access a action from a external page? I need pass some parameters for my elgg action. how do it? i configure the action with "public" but i am redirected
init:
elgg_register_action('retorno', "$action_base/retorno.php", "public");
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Paweł Sroka@srokap

Paweł Sroka - 0 likes
- Juho Jaakkola@juho.jaakkola

Juho Jaakkola - 0 likes
- Marcelo de Andrade@marceloandrade0201

Marcelo de Andrade - 0 likes
- Juho Jaakkola@juho.jaakkola

Juho Jaakkola - 0 likes
- Marcelo de Andrade@marceloandrade0201

Marcelo de Andrade - 0 likes
- Paweł Sroka@srokap

Paweł Sroka - 0 likes
- Marcelo de Andrade@marceloandrade0201

Marcelo de Andrade - 0 likes
- Marcelo de Andrade@marceloandrade0201

Marcelo de Andrade - 0 likes
- Matt Beckett@Beck24

Matt Beckett - 0 likes
- Marcelo de Andrade@marceloandrade0201

Marcelo de Andrade - 0 likes
You must log in to post replies.You don't. Actions are secured against CSRF attacks and will prevent exactly what you're trying to do. You should code your own "action" using page handler and secure it on your own, or you could create web service for it.
The documentation for the web services can be found here: http://learn.elgg.org/en/latest/guides/web-services.html
The webservice is a good idea for what i need? I posted a topic about Paypal integration. I want a return page for the result token send from paypal.
https://community.elgg.org/discussion/view/1847551/elgg-paypal-integration
Is there a particular reason why you would had wanted to use an action instead of a regular page? (I'm not familiar with the Paypal plugin.)
No, @Juho. I'm only thinking this is a way to do what i need.
I assume we're talking about something different than IPN endpoint? Some reference would help.
I create a advertisement area in my elgg site and the users should pay for show AD.
In my form, i have:
return page:
Start.php
I try with a button too but i dont get result
Sounds like you should be using my plugin after all, that's exactly what it does, only it also includes the Paypal PHP sdk
Matt,
I'm studying your plugin for use, i'm trying implementing the paypal without him for knowledge.