Plugin Directory

Changeset 3782134


Ignore:
Timestamp:
11/03/2026 03:38:02 PM (18 hours ago)
Author:
timelygp
Message:

Update to version 1.8.1 from GitHub

Location:
c2c-ai-sales-agent
Files:
2 deleted
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • c2c-ai-sales-agent/tags/1.8.1/c2c-ai-sales-agent.php

    r3782128 r3782134  
    44 * Plugin URI:        https://chat2checkout.com
    55 * Description:       An AI sales agent that turns visitors into customers, from chat to checkout: answers in each visitor's own language, recommends products, adds them to the cart and collects leads and bookings. Runs on the Chat2Checkout service.
    6  * Version:           1.8.0
     6 * Version:           1.8.1
    77 * Requires at least: 6.0
    88 * Requires PHP:      7.4
    … …  
    2828
    2929// Must match the Version header above (the build checks).
    30 define('SALESAGENT_VERSION', '1.8.0');
     30define('SALESAGENT_VERSION', '1.8.1');
    3131// Replaced at build time with the Chat2Checkout app address.
    3232define('SALESAGENT_APP_URL', 'https://chat2checkout.com');
  • c2c-ai-sales-agent/tags/1.8.1/includes/admin-page.php

    r3782128 r3782134  
    5757.c2c-status.is-test{background:#fef3c7;color:#92400e}
    5858.c2c-status.is-off{background:#dcdcde;color:#3c434a}
    59 .c2c-optin{border-color:#c4b5fd;background:#faf7ff}
    60 .c2c-optin .c2c-optin-no{margin-inline-start:12px}
    6159.c2c-bf{position:relative;overflow:hidden;max-width:1180px;margin:20px 0 28px;border-radius:20px;padding:30px 36px;color:#fff;background:radial-gradient(60% 120% at 0 0,rgba(249,115,22,.35) 0,rgba(249,115,22,0) 60%),radial-gradient(50% 120% at 100% 100%,rgba(217,70,239,.45) 0,rgba(217,70,239,0) 60%),#0c0a1f;box-shadow:0 18px 40px rgba(12,10,31,.35),inset 0 0 0 1px rgba(255,255,255,.08);display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:24px 32px;align-items:center}
    6260@media (max-width:960px){.c2c-bf{grid-template-columns:auto minmax(0,1fr);padding:26px 24px}.c2c-bf-cta{grid-column:1/-1;text-align:start}}
    … …  
    151149        <div class="c2c-admin">
    152150            <div>
    153                 <?php salesagent_optin_card(); ?>
    154151                <div class="c2c-card">
    155152                    <h2><?php esc_html_e('Your widget key', 'c2c-ai-sales-agent'); ?></h2>
  • c2c-ai-sales-agent/tags/1.8.1/includes/plugin.php

    r3782128 r3782134  
    8888require_once __DIR__ . '/admin-page.php';
    8989
    90 // "Keep me posted" (asked on the settings page; nothing is sent without a yes).
    91 require_once __DIR__ . '/site-optin.php';
     90// 1.8.0 asked "Keep me posted" and scheduled a weekly check-in for sites that said yes; 1.8.1 dropped it, so stop it.
     91add_action('admin_init', function () {
     92    if (get_option('salesagent_optin', false) !== false) {
     93        delete_option('salesagent_optin');
     94        wp_clear_scheduled_hook('salesagent_site_checkin');
     95    }
     96});
    9297
    9398add_filter('plugin_action_links_' . plugin_basename(SALESAGENT_FILE), function ($links) {
  • c2c-ai-sales-agent/tags/1.8.1/readme.txt

    r3782128 r3782134  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.8.0
     7Stable tag: 1.8.1
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    7171== External services ==
    7272
    73 This plugin connects your site to the Chat2Checkout service (https://chat2checkout.com), which runs the AI sales assistant. It sends nothing until you paste a widget key from your Chat2Checkout account or say yes to "Keep me posted" on its settings page.
     73This plugin connects your site to the Chat2Checkout service (https://chat2checkout.com), which runs the AI sales assistant. It does nothing until you paste a widget key from your Chat2Checkout account.
    7474
    7575* **The chat widget.** On the public pages of your site (only for administrators while Test mode is on), the plugin loads the chat script from https://chat2checkout.com/widget/v1.js. When a visitor opens or uses the chat, the chat sends their messages, any photo they attach or voice message they record, the page they are on, an anonymous visitor id (also kept in a cookie named "salesagent_vid") and, for WooCommerce, cart actions to Chat2Checkout so the assistant can answer. Contact details a visitor types into a chat form go to you, the site owner, through Chat2Checkout.
    7676* **Your own chat images.** If you upload your own chat button or avatar image in your Chat2Checkout dashboard, visitors' browsers load that image from Chat2Checkout's file storage, which is hosted by Supabase (https://supabase.com). As with any image on a web page, the browser sends its IP address and browser details with that request; nothing else is sent. Supabase terms: https://supabase.com/terms, privacy policy: https://supabase.com/privacy
    7777* **Order reports (WooCommerce).** When a visitor who used the chat places an order, or such an order changes status, the plugin sends the order number and your widget key to https://chat2checkout.com/api/widget/orders. Chat2Checkout then reads that order through the WooCommerce connection you set up, to show orders and revenue from the chat in your reports.
    78 * **"Keep me posted" (only if you say yes).** The settings page asks once whether Chat2Checkout may know that this site has the plugin. Only after you click "Yes, keep me posted", the plugin sends this site's address and name, the admin email address, the locale, the WordPress, WooCommerce and plugin versions and whether a widget key is saved to https://chat2checkout.com/api/plugin/install, again once a week while the plugin is active, and once when it is deactivated. We use it to send setup help and offers. Nothing about your visitors is sent. "No thanks" sends nothing; deactivating or deleting the plugin stops it.
    7978* **Cart links from social chats (WooCommerce).** When someone opens a cart link sent in a Messenger, Instagram or WhatsApp chat (an address ending in ?c2c_cart=...), the plugin sends that link's code and your widget key to https://chat2checkout.com/api/widget/cart-link to read which products and quantities were chosen, then adds them to that visitor's cart on your site.
    8079
    … …  
    9796
    9897== Changelog ==
     98
     99= 1.8.1 =
     100* Removed the "Keep me posted" card from the settings page; nothing is sent about your site any more, and a weekly check-in set up by 1.8.0 is stopped.
    99101
    100102= 1.8.0 =
  • c2c-ai-sales-agent/trunk/c2c-ai-sales-agent.php

    r3782128 r3782134  
    44 * Plugin URI:        https://chat2checkout.com
    55 * Description:       An AI sales agent that turns visitors into customers, from chat to checkout: answers in each visitor's own language, recommends products, adds them to the cart and collects leads and bookings. Runs on the Chat2Checkout service.
    6  * Version:           1.8.0
     6 * Version:           1.8.1
    77 * Requires at least: 6.0
    88 * Requires PHP:      7.4
    … …  
    2828
    2929// Must match the Version header above (the build checks).
    30 define('SALESAGENT_VERSION', '1.8.0');
     30define('SALESAGENT_VERSION', '1.8.1');
    3131// Replaced at build time with the Chat2Checkout app address.
    3232define('SALESAGENT_APP_URL', 'https://chat2checkout.com');
  • c2c-ai-sales-agent/trunk/includes/admin-page.php

    r3782128 r3782134  
    5757.c2c-status.is-test{background:#fef3c7;color:#92400e}
    5858.c2c-status.is-off{background:#dcdcde;color:#3c434a}
    59 .c2c-optin{border-color:#c4b5fd;background:#faf7ff}
    60 .c2c-optin .c2c-optin-no{margin-inline-start:12px}
    6159.c2c-bf{position:relative;overflow:hidden;max-width:1180px;margin:20px 0 28px;border-radius:20px;padding:30px 36px;color:#fff;background:radial-gradient(60% 120% at 0 0,rgba(249,115,22,.35) 0,rgba(249,115,22,0) 60%),radial-gradient(50% 120% at 100% 100%,rgba(217,70,239,.45) 0,rgba(217,70,239,0) 60%),#0c0a1f;box-shadow:0 18px 40px rgba(12,10,31,.35),inset 0 0 0 1px rgba(255,255,255,.08);display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:24px 32px;align-items:center}
    6260@media (max-width:960px){.c2c-bf{grid-template-columns:auto minmax(0,1fr);padding:26px 24px}.c2c-bf-cta{grid-column:1/-1;text-align:start}}
    … …  
    151149        <div class="c2c-admin">
    152150            <div>
    153                 <?php salesagent_optin_card(); ?>
    154151                <div class="c2c-card">
    155152                    <h2><?php esc_html_e('Your widget key', 'c2c-ai-sales-agent'); ?></h2>
  • c2c-ai-sales-agent/trunk/includes/plugin.php

    r3782128 r3782134  
    8888require_once __DIR__ . '/admin-page.php';
    8989
    90 // "Keep me posted" (asked on the settings page; nothing is sent without a yes).
    91 require_once __DIR__ . '/site-optin.php';
     90// 1.8.0 asked "Keep me posted" and scheduled a weekly check-in for sites that said yes; 1.8.1 dropped it, so stop it.
     91add_action('admin_init', function () {
     92    if (get_option('salesagent_optin', false) !== false) {
     93        delete_option('salesagent_optin');
     94        wp_clear_scheduled_hook('salesagent_site_checkin');
     95    }
     96});
    9297
    9398add_filter('plugin_action_links_' . plugin_basename(SALESAGENT_FILE), function ($links) {
  • c2c-ai-sales-agent/trunk/readme.txt

    r3782128 r3782134  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.8.0
     7Stable tag: 1.8.1
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    7171== External services ==
    7272
    73 This plugin connects your site to the Chat2Checkout service (https://chat2checkout.com), which runs the AI sales assistant. It sends nothing until you paste a widget key from your Chat2Checkout account or say yes to "Keep me posted" on its settings page.
     73This plugin connects your site to the Chat2Checkout service (https://chat2checkout.com), which runs the AI sales assistant. It does nothing until you paste a widget key from your Chat2Checkout account.
    7474
    7575* **The chat widget.** On the public pages of your site (only for administrators while Test mode is on), the plugin loads the chat script from https://chat2checkout.com/widget/v1.js. When a visitor opens or uses the chat, the chat sends their messages, any photo they attach or voice message they record, the page they are on, an anonymous visitor id (also kept in a cookie named "salesagent_vid") and, for WooCommerce, cart actions to Chat2Checkout so the assistant can answer. Contact details a visitor types into a chat form go to you, the site owner, through Chat2Checkout.
    7676* **Your own chat images.** If you upload your own chat button or avatar image in your Chat2Checkout dashboard, visitors' browsers load that image from Chat2Checkout's file storage, which is hosted by Supabase (https://supabase.com). As with any image on a web page, the browser sends its IP address and browser details with that request; nothing else is sent. Supabase terms: https://supabase.com/terms, privacy policy: https://supabase.com/privacy
    7777* **Order reports (WooCommerce).** When a visitor who used the chat places an order, or such an order changes status, the plugin sends the order number and your widget key to https://chat2checkout.com/api/widget/orders. Chat2Checkout then reads that order through the WooCommerce connection you set up, to show orders and revenue from the chat in your reports.
    78 * **"Keep me posted" (only if you say yes).** The settings page asks once whether Chat2Checkout may know that this site has the plugin. Only after you click "Yes, keep me posted", the plugin sends this site's address and name, the admin email address, the locale, the WordPress, WooCommerce and plugin versions and whether a widget key is saved to https://chat2checkout.com/api/plugin/install, again once a week while the plugin is active, and once when it is deactivated. We use it to send setup help and offers. Nothing about your visitors is sent. "No thanks" sends nothing; deactivating or deleting the plugin stops it.
    7978* **Cart links from social chats (WooCommerce).** When someone opens a cart link sent in a Messenger, Instagram or WhatsApp chat (an address ending in ?c2c_cart=...), the plugin sends that link's code and your widget key to https://chat2checkout.com/api/widget/cart-link to read which products and quantities were chosen, then adds them to that visitor's cart on your site.
    8079
    … …  
    9796
    9897== Changelog ==
     98
     99= 1.8.1 =
     100* Removed the "Keep me posted" card from the settings page; nothing is sent about your site any more, and a weekly check-in set up by 1.8.0 is stopped.
    99101
    100102= 1.8.0 =
Note: See TracChangeset for help on using the changeset viewer.