- This topic has 5 replies, 3 voices, and was last updated 9 years, 6 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Affiliates Management Plugin for WordPress
by
WordPress Affiliate Manager › Forums › Affiliate Manager Plugin › Add form submission run action on Caldera Forms
Tagged: action, affiliate, caldera forms, calderawp, custom action, process, purchase, run
Hello. A plugin known as “Caldera Forms” has an option to add a run action upon form submission

– this is the same form I am using for payment processing. Therefore, I would like to add a run action to process the form submission as a purchase in WP Affiliate Manager.
I apologies as I am no expert, but I have been able to build my website using support forums and I hope this will be no exception!
I think I found the required action hooks but I do not know how to use it! Please help!
Also, here is also an option of calling a javascript function upon form submission.. maybe this is what I need?
I really appreciate your advice! again, please use simple language here if possible because I am no expert!
Hi, Does this action hook only gets triggered on the front end? If so you can then simply call an action hook to award commission for it (after the payment is processed).
If this hook can also get triggered on the back end, we will need to find a way to save the Affiliate ID during checkout. Otherwise, affiliates manager wouldn’t know which sale was referred by an affiliate.
Thanks, Shadow Labs. Can you specify where to insert the code, step by step? Which file(s) do I edit?
You don’t actually need to modify any plugin files. You just call this action hook inside the function where you process the payments (Please see the link I shared). I can’t write any code because I don’t know how your caldera payment processing function looks like.
How I make with the run action plugin that button will tnasfer to a diffrent page? is there a built in function for that? is there any caldera expert in the crowd?