Remote Functions for Non-WordPress Sites
iMember360 provides three modules designed to remotely interact with the plugin and your Infusionsoft application, making iMember360 a quasi-proxy application.
These modules are:
isauth | This module is an authentication module that uses Infusionsoft data, enabling you to remotely authenticate a user as if that user had logged in through your WordPress site. If the user is successfully authenticated, the module will return an array with any fields requested through |
issubs | This module enables you to remotely query Infusionsoft and obtain data about a given subscription (CProgram). |
isprod | This module enables you to remotely query Infusionsoft and obtain data about a given product (Product). |
Remote Authentication
Remote authentication can be carried out through a POST or a GET.
The plugin checks against $_REQUEST values.
The module requires the following three values:
$_REQUEST[‘isauth’] | The value passed should be the first six (6) characters of your API key. |
$_REQUEST[‘user’] | The value passed should be the user’s primary email address, as stored in Infusionsoft. |
$_REQUEST[‘pass’] | The value passed should be the user’s password as stored in the field defined in “Plugin Options”, unless an alternate password field is defined through $_REQUEST[‘passfield’]. |
The module accepts the following optional values:
$_REQUEST[‘passfield’] | This value, if passed, should define the name of an alternate Infusionsoft field where a user’s password is stored. |
$_REQUEST[‘retfields’] | This value, if passed, is used to define which Infusionsoft fields should be returned in the result array. If not specified, all contact fields will be returned. |
$_REQUEST[‘required_tags’] | In addition to a matching password, this value, if passed, defines which tags a user must have in order to successfully authenticate. In order to succeed, the user must have all tags specified. |
$_REQUEST[‘json’] | This value, if passed, is used to direct the module to return any data in JSON format. If not specified, the default method used is PHP’s serialize(). |
$_REQUEST[‘base64’] | This value, if passed, is used to direct the module to return the JSON or serialized return values in Base64 encoded format. |
Remote Subscription Query
A remote subscription query can be carried out through a POST or a GET.
The plugin checks against $_REQUEST values.
The module requires the following two values:
$_REQUEST[‘issubs’] | The value passed should be the first six (6) characters of your API key. |
$_REQUEST[‘id’] | The value passed should be subscription’s ID, as stored in Infusionsoft. |
The module accepts the following optional values:
$_REQUEST[‘retfields’] | This value, if passed, is used to define which Infusionsoft fields should be returned in the result array. If not specified, all subscription fields will be returned. |
$_REQUEST[‘json’] | This value, if passed, is used to direct the module to return any data in JSON format. If not specified, the default method used is PHP’s serialize(). |
$_REQUEST[‘base64’] | This value, if passed, is used to direct the module to return the JSON or serialized return values in Base64 encoded format. |
Remote Product Query
A remote product query can be carried out through a POST or a GET.
The plugin checks against $_REQUEST values.
The module requires the following two values:
$_REQUEST[‘isprod’] | The value passed should be the first six (6) characters of your API key. |
$_REQUEST[‘id’] | The value passed should be subscription’s ID, as stored in Infusionsoft. |
The module accepts the following optional values:
$_REQUEST[‘retfields’] | This value, if passed, is used to define which Infusionsoft fields should be returned in the result array. If not specified, all product fields will be returned. |
$_REQUEST[‘json’] | This value, if passed, is used to direct the module to return any data in JSON format. If not specified, the default method used is PHP’s serialize(). |
$_REQUEST[‘base64’] | This value, if passed, is used to direct the module to return the JSON or serialized return values in Base64 encoded format. |