Friday, August 12, 2016

3rd party integration for contact form 7 API style

I was requested to fix the issue permanently because every contact form 7 update would cause erasing of the custom code and I need to fix it everytime. Not good. So I did a quick search and found the plugin: forms-3rdparty-integration.

Once installed, the basic setup is binding your fields;
1. Input the fields you need to send to your application under "3rd party service: service 1"
2. Add your custom URL (try to include something very unique - I use a ?key=<randomkey>)
3. On your application, using the <randomkey> you can take in the values using $_POST


Let me know if you would like any expansion or anything is unclear, etc in the comments below.
Thank you

No comments: