Plugin Directory

Changeset 3476034


Ignore:
Timestamp:
03/06/2026 02:53:44 AM (4 weeks ago)
Author:
m1styk
Message:

Fix: Resolve caching issues, encryption key stability, and nonce expiration

Location:
insertabot-ai-chatbot-solution/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • insertabot-ai-chatbot-solution/trunk/TROUBLESHOOTING.md

    r3473149 r3476034  
    4545**Fix:**
    46461. Verify API Base URL in Settings → Insertabot
    47    - Should be: `https://api.insertabot.io`
     47   - Should be: `https://insertabot.io`
    4848   - NO trailing slash
    4949   
     
    1201201. Verify Worker is deployed and accessible:
    121121   ```bash
    122    curl -X POST https://api.insertabot.io/api/auth/key-info \
     122   curl -X POST https://insertabot.io/api/auth/key-info \
    123123     -H "Content-Type: application/json" \
    124124     -d '{"api_key":"YOUR_API_KEY"}'
  • insertabot-ai-chatbot-solution/trunk/includes/admin-settings.php

    r3475489 r3476034  
    375375        $site_url = defined('INSERTABOT_WEBSITE_URL') ? INSERTABOT_WEBSITE_URL : '';
    376376        $signup   = $site_url ? $site_url . '/signup' : '';
    377         $pricing  = $site_url ? $site_url . '/?pricing=true' : '';
     377        $pricing  = $site_url ? $site_url . '/dashboard' : '';
    378378        $docs     = $site_url ? $site_url . '/docs' : '';
    379379        $dash     = $site_url ? $site_url . '/dashboard' : '';
  • insertabot-ai-chatbot-solution/trunk/readme.txt

    r3475489 r3476034  
    206206== Changelog ==
    207207
     208= 1.0.8 =
     209* Fix: "Upgrade to Pro" button in plugin settings now routes directly to the Insertabot dashboard — upgrade is one click away instead of buried behind the landing page
     210* Fix: "Upgrade to Pro" on the public pricing page now routes to login instead of signup — existing users no longer hit a dead end
     211* Fix: Various backend config corrections (DB binding name, AI model ID format, demo customer query, widget.js delivery route)
     212
     213= 1.0.7 =
     214* Fix: Stale customer_id cache was causing 401 errors on widget token exchange — ID is now resolved on every API key save, including fresh installs
     215* Fix: API base URL now resolved through the proper internal method instead of a raw option lookup that could return empty on new installs
     216* Fix: Static widget.js and widget-dev.js files removed — widget is now served exclusively through the tokenized Worker endpoint, eliminating a delivery conflict
     217
     218= 1.0.6 =
     219* Fix: API endpoint corrected project-wide from api.insertabot.io to insertabot.io/api/* — the api subdomain was never live and caused silent failures across the plugin and Worker
     220* Fix: Settings menu was resetting on every "Save Changes" click when an API key was already stored
     221* New: TROUBLESHOOTING.md added — step-by-step guide for users experiencing installation or widget delivery issues
     222
     223= 1.0.5 =
     224* Fix: upgradeToPro() was silently returning 401 — X-API-Key header was missing from the Stripe checkout fetch request
     225* Fix: handleWidgetTokenExchange route had been accidentally removed from the Worker, breaking widget authentication on all WordPress installs
     226* Fix: "Upgrade to Pro" on landing page now correctly directs existing users through login before checkout
     227* New: Admin diagnostics panel — append `?insertabot_debug=1` to any page URL (admin-only) to view API status, plugin config, customer ID resolution, and widget readiness at a glance
     228
     229= 1.0.4 =
     230* Fix: New customers were blocked from day one — null or empty allowed_domains was incorrectly refusing all widget embed requests instead of allowing all origins as documented
     231
    208232= 1.0.3 =
    209233* Fix: Widget no longer requires manual script tag in footer — plugin now injects it automatically on all pages
     
    230254== Upgrade Notice ==
    231255
     256= 1.0.8 =
     257Fixes the upgrade flow — the "Upgrade to Pro" button in plugin settings now goes directly to your dashboard. Also corrects several backend config issues. Recommended for all users.
     258
     259= 1.0.7 =
     260Fixes a 401 error on widget token exchange that could occur on fresh installs. Upgrade if your widget stopped loading after saving the API key.
     261
     262= 1.0.6 =
     263Corrects a critical API endpoint URL used by the plugin. If you installed between 1.0.3 and 1.0.5, upgrade to ensure proper API communication.
     264
     265= 1.0.5 =
     266Fixes widget authentication breaking silently and the Pro upgrade flow. Upgrade recommended for all users.
     267
    232268= 1.0.3 =
    233269Fixes automatic widget injection — the chatbot now appears without any manual script tag setup. Upgrade recommended for all users.
Note: See TracChangeset for help on using the changeset viewer.