exchange_code_for_tokens($_GET['code'])) { add_settings_error( 'hvac_zoho_messages', 'hvac_zoho_auth_success', 'Successfully connected to Zoho CRM!', 'success' ); } else { add_settings_error( 'hvac_zoho_messages', 'hvac_zoho_auth_error', 'Failed to connect to Zoho CRM. Please check your credentials.', 'error' ); } // Redirect to remove code from URL wp_redirect(admin_url('edit.php?post_type=tribe_events&page=hvac-zoho-crm')); exit; } } /** * Display admin page */ public function admin_page() { ?>
Zoho CRM configuration file not found. Please follow the setup instructions below.
cd zoho php setup-helper.php
✓ Connected to Zoho CRM
| Organization Name | |
|---|---|
| Organization ID | |
| Time Zone |
Test Sync Create Custom Fields
✗ Not connected to Zoho CRM
Click the button below to authorize this application with Zoho CRM:
| Module | Fields Configured | Last Sync | Status |
|---|---|---|---|
| Campaigns (Events) | check_custom_fields('Campaigns'); ?> | ||
| Contacts (Users) | check_custom_fields('Contacts'); ?> | ||
| Invoices (Orders) | check_custom_fields('Invoices'); ?> |