Yesterday we got reports that our client’s website wasn’t communicating with Infusionsoft anymore and that it wasn’t capturing contacts or tags anymore.

We looked into the code and found that the cURL request that gets executed behind the scenes was failing with a 500 server error. We contacted Infusionsoft a few times with this and even with their knowledgable customer care, it took 3 calls to pinpoint the issues. They are great to work with though (always nice saying that someone has good customer support).

So the first issue was that the URL for the form processing had changed from .infusionsoft.com to .infusionsoft.app.

Then the second issue was that we needed to add 2 additional cURL options:
url_setopt($request, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($request, CURLOPT_COOKIEJAR, ‘name’);

The first option probably wasn’t needed if the .app was in the URL but still good to have in there in case there’s a change in the future.

So that’s it. Hope this post helped if you ran across this too.