1 2 Previous Next 19 Replies Latest reply on Mar 9, 2015 3:46 PM by ben.griffith

    Gravity Forms + Eloqua

    briandichiara

      Hey everyone,

       

      Just wanted to share a contribution to this community to help others that might be using WordPress and Eloqua. This is a plugin that integrates Eloqua with a popular forms plugin for WordPress called Gravity Forms:

       

      https://github.com/solepixel/gravityforms-eloqua

       

      There seems to still be one major bug lingering and that's posting the form data to Eloqua through the API. As of now, I haven't been successful in getting it to show up in Eloqua, but possibly with the help of some other developers in this community, we can squash that bug. Here's where it all happens:

       

      Building the Form Submission object to send to Eloqua:

      https://github.com/solepixel/gravityforms-eloqua/blob/master/gravityforms-eloqua/gfeloqua.class.php#L316

       

      Submitting the Form Data:

      https://github.com/solepixel/gravityforms-eloqua/blob/master/gravityforms-eloqua/api/class.eloqua.api.php#L193

       

      Making the API call:

      https://github.com/solepixel/gravityforms-eloqua/blob/master/gravityforms-eloqua/api/class.eloqua.api.php#L98

       

      I'm not 100% sure where my problem is occurring. The response I get from Eloqua doesn't seem right, it's almost like I'm doing a GET on /data/form/ID rather than a POST. Anyway, please feel free to submit a Pull Request if you have anything to contribute or let me know if you know what's wrong with it and I can update it. Thanks again!

        1 2 Previous Next