Support

Home Forums Event Espresso Premium Infusionsoft custom fields

Infusionsoft custom fields

Posted: February 16, 2017 at 12:07 pm

Viewing 12 reply threads


aaron@praxiss10.com

February 16, 2017 at 12:07 pm

We’ve installed infusionsoft add on and while it’s working for the standard fields, it’s not working on the custom fields even if i followed the instructions here
https://eventespresso.com/wiki/infusionsoft-integration/#ee4installation


Josh

  • Support Staff

February 16, 2017 at 12:33 pm

When you added the custom code to your site, did you add it to a custom WordPress plugin?

Did the custom code include the Infusionsoft custom field name, without spaces and prepend with an underscore?


aaron@praxiss10.com

February 16, 2017 at 12:47 pm

I added it to the functions.php file of the theme.

Yep. I created a custom field named Website and on the code, I just changed the _CustomQuestion to _Website


Josh

  • Support Staff

February 16, 2017 at 12:52 pm

That doesn’t sound right. Can you post the code you’re working with into a pastebin or gist, then link here? Then we’ll have a better idea of where to point to where to fix.


aaron@praxiss10.com

February 16, 2017 at 1:06 pm

I posted the pastebin link but it doesn’t seem to be showing up in the thread for some reason


Josh

  • Support Staff

February 16, 2017 at 1:31 pm

Maybe you can copy/paste the part of the paste bin URL that’s after the slash in a reply here.


aaron@praxiss10.com

February 16, 2017 at 1:33 pm

here you go WNjQpjCv


Josh

  • Support Staff

February 16, 2017 at 1:43 pm

OK you can remove that second code block and change the array key to include the underscore.

e.g. http://pastebin.com/xTQ2WfBg


aaron@praxiss10.com

February 16, 2017 at 2:10 pm

Still not populating the custom field, I’m afraid.


Josh

  • Support Staff

February 16, 2017 at 2:23 pm

Here’s what I suggest doing then:

1) Move the code out of the functions.php file and into a site specific plugin
2) Activate the site specific plugin
3) Verify that the Question Label (admin-only) is set to website
4) Verify that the Infusionsoft custom field name in your Infusionsoft account is
Website
5) Test the registration again


aaron@praxiss10.com

February 16, 2017 at 2:32 pm

1. check
2. check
3. check
4. check
5. still not working


aaron@praxiss10.com

February 16, 2017 at 2:35 pm

Got the “Website” to work by looking up the code as the name is appended with a ‘0’ at the end so the correct name is _Website0. Thanks. Now, how do I work on adding another field to the code?


Josh

  • Support Staff

February 16, 2017 at 2:50 pm

The original example in the code has two fields, so you can follow the original code example and change the second block of code to match your custom fields.

Viewing 12 reply threads

The support post ‘Infusionsoft custom fields’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso