I’ve gotten GF to send partial entries to Active campaign. But I want to be able to send partial entries from different forms using the feed for the respective form.
This is what I setup but it only works for the 1st feed.
“Partial Entries - IC” feed works for the form it belongs to.
but “partial entries - custom” feed will not run for its respective form.
There appears to be an issue with the conditional statement in your code. Specifically, the second if statement that checks for the Partial entries - IC Custom feed is nested inside the first if statement that checks for the Partial entries - IC tag feed. As a result, the code for processing the Partial entries - IC Custom feed will only be executed if the first feed (Partial entries - IC tag) is found.
To rectify this, move the second if statement outside the first one and update the condition to check for the correct feed name. Here is the updated code:
This code will iterate over all the ActiveCampaign feeds for the current form and execute the gf_activecampaign()->process_feed() function for each feed that matches the respective feed name condition. This ensures that the Partial entries - IC Custom feed is processed correctly.