When i added a elgg form and the default action is called on submit button, an error occurred that is mentioned below.
It occurred when i clicked on submit button of form. I have already registred the action named card in my start.php. my action location is:-
/mod/payments_stripe/actions/payments/checkout/card.php
and i registered my action in start.php file using:-
elgg_register_action('payments/checkout/stripe', __DIR__ . '/actions/payments/checkout/card.php', 'public');
<form method="post" action="http://localhost/elgg-2.3.10/action/card" class="elgg-form elgg-form-card">
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.
- Rohit Gupta@Rohit_1990_3676

Rohit Gupta - 0 likes
- Jerome Bakker@jeabakker

Jerome Bakker - 0 likes
- Gaurav Garg@gaurav.g

Gaurav Garg - 0 likes
You must log in to post replies.You have register your action as "payments/checkout/stripe" and your from is calling "card"
You need your action to be:
Maybe have a look at http://learn.elgg.org/en/2.3/guides/actions.html (for Elgg 2.3) or http://learn.elgg.org/en/stable/guides/actions.html (for Elgg 3.0)
Thank You @Rohit Gupta It works.