Changeset 3473149
- Timestamp:
- 03/02/2026 11:45:46 PM (4 weeks ago)
- Location:
- insertabot-ai-chatbot-solution/trunk
- Files:
-
- 2 added
- 3 edited
-
TROUBLESHOOTING.md (added)
-
assets/widget-bridge.js (modified) (1 diff)
-
includes/admin-settings.php (modified) (1 diff)
-
includes/diagnostics.php (added)
-
insertabot-ai-chatbot-solution.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
insertabot-ai-chatbot-solution/trunk/assets/widget-bridge.js
r3472307 r3473149 174 174 : (err && err.message ? err.message : 'Unknown error'); 175 175 console.error('[Insertabot] Token exchange failed:', msg); 176 console.error('[Insertabot] Debug info:', { 177 tokenEndpoint: tokenEndpoint, 178 apiBase: baseUrl, 179 error: err 180 }); 176 181 }); 177 182 })(); -
insertabot-ai-chatbot-solution/trunk/includes/admin-settings.php
r3472307 r3473149 172 172 if ($customer_id) { 173 173 update_option(self::OPTION_CUST_ID, $customer_id); 174 add_settings_error( 175 'insertabot_settings_messages', 176 'insertabot_customer_id_cached', 177 esc_html__('API key validated and customer ID cached successfully.', 'insertabot-ai-chatbot-solution'), 178 'success' 179 ); 180 } else { 181 // Clear any stale customer_id 182 delete_option(self::OPTION_CUST_ID); 183 add_settings_error( 184 'insertabot_settings_messages', 185 'insertabot_customer_id_warning', 186 esc_html__('API key saved but could not resolve customer ID. Widget will use legacy token format (slower). Check API Base URL.', 'insertabot-ai-chatbot-solution'), 187 'warning' 188 ); 174 189 } 175 190 } -
insertabot-ai-chatbot-solution/trunk/insertabot-ai-chatbot-solution.php
r3473126 r3473149 34 34 'includes/rest.php', 35 35 'includes/privacy.php', 36 'includes/diagnostics.php', 36 37 ); 37 38
Note: See TracChangeset
for help on using the changeset viewer.