Changeset 2199235
- Timestamp:
- 11/23/2019 12:50:58 AM (6 years ago)
- Location:
- integration-for-luminate-and-gravity-forms/trunk
- Files:
-
- 3 edited
-
ConvioOpenAPI.php (modified) (4 diffs)
-
gravityforms-luminate.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
integration-for-luminate-and-gravity-forms/trunk/ConvioOpenAPI.php
r1941598 r2199235 45 45 46 46 /** 47 * @var bool Use a custom Luminate domain without the Organization's name in the Luminate servlet portion of the API request 48 * @access public 49 */ 50 public $is_custom_domain = false; 51 52 /** 47 53 * @var string The desired format in which the server response should be returned in. By default, responses 48 54 * will be formatted as PHP objects, but either "xml" or "json" is acceptable. … … 201 207 } 202 208 } 209 210 if ( $this->is_custom_domain ) { 211 return sprintf('https://%s/site/%s', $this->host, $this->__servlet); 212 } 213 203 214 return sprintf('https://%s/%s/site/%s', $this->host, $this->short_name, $this->__servlet); 204 215 } … … 254 265 255 266 if ($response == '') { 256 $ response = sprintf("cURL Error %s: %s\n", curl_errno($curl), curl_error($curl));267 $client_response = sprintf("cURL Error %s: %s\n", curl_errno($curl), curl_error($curl)); 257 268 } 258 269 … … 261 272 262 273 if ($this->response_format == 'php' || $this->response_format == 'json') { 263 $response = json_decode($response); 274 $client_response = json_decode($response); 275 } 276 277 // in case the response returned from the Luminate APU is not a JSON response 278 if ( empty( $client_response ) ) { 279 $client_response = $response; 264 280 } 265 281 266 return $ response;282 return $client_response; 267 283 } 268 284 -
integration-for-luminate-and-gravity-forms/trunk/gravityforms-luminate.php
r2062559 r2199235 4 4 Plugin URI: https://cornershopcreative.com/product/gravity-forms-add-ons/ 5 5 Description: Integrates Gravity Forms with Luminate CRM, allowing form submissions to automatically create/update Constituents, map submissions to surveys (targets Convio Constituents Only and surveys, NOT Alerts) 6 Version: 1.1. 76 Version: 1.1.8 7 7 Author: Cornershop Creative 8 8 Author URI: https://cornershopcreative.com -
integration-for-luminate-and-gravity-forms/trunk/readme.txt
r2191024 r2199235 57 57 == Changelog == 58 58 59 = 1.1.8 = 60 * Added support for custom Luminate domains. If your Luminate account uses a custom domain such as https://secure.my-organization.org, the plugin now works for these domains. 61 * Output better debugging log to display the exact information that the Luminate API returns. 62 * Added instructions to the plugin settings page to contact the plugin author if you are having problems with the plugin. 63 59 64 = 1.1.7 = 60 65 * Plugin now provides better immediate confirmation of valid Luminate API credentials when saving settings.
Note: See TracChangeset
for help on using the changeset viewer.