Changeset 2788738
- Timestamp:
- 09/22/2022 02:52:00 PM (4 years ago)
- Location:
- followize-extension-gf/trunk
- Files:
-
- 3 edited
-
class-gf-followize.php (modified) (1 diff)
-
followize-extension-gf.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
followize-extension-gf/trunk/class-gf-followize.php
r2602423 r2788738 215 215 } 216 216 217 $api['legalBases'] = $processingLegalBase + $communicationLegalBase; 218 219 $response = wp_remote_post( 220 App::API_URL, 221 array( 222 'timeout' => 60, 223 'body' => json_encode( $api + $fields ), 224 'sslverify' => false, 225 ) 226 ); 217 $api['legalBases'] = $processingLegalBase + $communicationLegalBase; 218 219 $curl = curl_init(); 220 221 curl_setopt_array($curl, [ 222 CURLOPT_URL => 'https://webhooks.followize.com.br/legacy_api_v2', 223 CURLOPT_RETURNTRANSFER => true, 224 CURLOPT_RETURNTRANSFER => true, 225 CURLOPT_ENCODING => '', 226 CURLOPT_MAXREDIRS => 10, 227 CURLOPT_TIMEOUT => 0, 228 CURLOPT_FOLLOWLOCATION => true, 229 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 230 CURLOPT_SSL_VERIFYPEER => false, 231 CURLOPT_SSL_VERIFYHOST => false, 232 CURLOPT_CUSTOMREQUEST => 'POST', 233 CURLOPT_POSTFIELDS => json_encode( $api + $fields ), 234 CURLOPT_HTTPHEADER => [ 235 'Content-Type: application/json' 236 ], 237 ]); 238 239 $response = json_decode(curl_exec($curl), true); 227 240 228 241 if ( is_wp_error( $response ) ) { -
followize-extension-gf/trunk/followize-extension-gf.php
r2285257 r2788738 3 3 Plugin Name: Followize Extension - Gravity Forms 4 4 Plugin URI: https://www.followize.com.br/ 5 Version: 0.2. 45 Version: 0.2.5 6 6 Author: Followize 7 7 Author URI: https://www.followize.com.br/ … … 25 25 const PLUGIN_SLUG = 'followize-extension-gf'; 26 26 const API_URL = 'https://www.followize.com.br/api/v2/Leads/'; 27 const VERSION = '0.2. 4';27 const VERSION = '0.2.5'; 28 28 29 29 public static function uses( $class_name, $location ) -
followize-extension-gf/trunk/readme.txt
r2602423 r2788738 4 4 Tags: CRM, CRM tools, lead capture, lead collection, lead management, lead tracking, leads, gf, gravity forms 5 5 Requires at least: 4.6 6 Tested up to: 5.8. 17 Stable tag: 0.2. 46 Tested up to: 5.8.4 7 Stable tag: 0.2.5 8 8 License: GPLv3 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 35 35 == Changelog == 36 36 37 = 0.2.5 - 22-09-2022 = 38 39 * Alteração no envio de leads para Followize 40 * Testado com WordPress 5.8.4 41 37 42 = 0.2.4 - 21-09-2021 = 38 43
Note: See TracChangeset
for help on using the changeset viewer.