Skip to content

Instantly share code, notes, and snippets.

View chrisgalard's full-sized avatar
💭
Hacking some stuff :)

Chris Galard chrisgalard

💭
Hacking some stuff :)
View GitHub Profile
@macbookandrew
macbookandrew / readme.md
Last active March 8, 2020 19:31
PHP cURL proxy for Ajax—Infusionsoft

Introduction

This is a PHP proxy to submit Ajax requests to Infusionsoft.

Usage

  1. Set your Infusionsoft app id, thank-you message, and path to the cacert.pem bundle in infusionsoft-proxy-settings.php.
  2. Add the Infusionsoft form IDs in infusionsoft-proxy.php, creating new lines as necessary
  3. Include the functions.js in your javascript, making sure to replace the $form variable with the selector(s) you need.