Plugin Directory

Changeset 1735577


Ignore:
Timestamp:
09/25/2017 02:21:21 PM (9 years ago)
Author:
chatx
Message:

New version, 0.1.2.

Location:
chatx-ai
Files:
127 added
6 edited

Legend:

Unmodified
Added
Removed
  • chatx-ai/trunk/admin/class-chatx-ai-admin.php

    r1733985 r1735577  
    6262
    6363    function dismiss_chatx_notice() {
    64         $id = isset($_POST['id']) ? (int)$_POST['id'] : null;
     64        $id = isset($_POST['id']) ? $_POST['id'] : null;
    6565        Notices::dismiss($id);
    6666        wp_die();
     
    400400    public function auto_update_plugin( $update, $item ) {
    401401        // Array of plugin slugs to always auto-update
    402         $plugins = array ( 
     402        $plugins = array (
    403403            'chatx-ai',
    404404        );
  • chatx-ai/trunk/chatx-ai.php

    r1733895 r1735577  
    44 * Plugin URI:        https://chatx.ai
    55 * Description:       Recover abandoned carts on WooCommerce using an intelligent Facebook Messenger chatbot.
    6  * Version:           0.1.1
     6 * Version:           0.1.2
    77 * Author:            chatx.ai
    88 * Author URI:        https://chatx.ai
  • chatx-ai/trunk/includes/class-chatx-ai-deactivator.php

    r1733642 r1735577  
    3636        ChatXACT()->uninstall();
    3737        chatx_active_campaign_sync('plugin_deactivated');
     38
    3839    }
    3940}
  • chatx-ai/trunk/includes/lib/notices.php

    r1733642 r1735577  
    4949
    5050        $notices  =  array_filter($notices, function($notice) use ($id){
    51             return $notice['id'] == $id;
     51            return isset($notice['id']) && $notice['id'] !== $id;
    5252        });
    5353
  • chatx-ai/trunk/includes/modules/abandoned_carts_tracking/abandoned-carts-tracking.php

    r1733642 r1735577  
    6363            wp_schedule_event(time(), 'daily', 'chatxai_daily_worker');
    6464        }
     65
     66        $this->set_plugin_state(true);
    6567    }
    6668
     
    6971        wp_clear_scheduled_hook('chatxai_send_carts_worker');
    7072        wp_clear_scheduled_hook('chatxai_daily_worker');
     73
     74        $this->set_plugin_state(false);
     75    }
     76
     77    public function set_plugin_state($state = false){
     78        try {
     79            $this->do_chatx_post_request('/plugin/state', ['state' => $state]);
     80        } catch (Exception $e) {
     81
     82        }
    7183    }
    7284
     
    207219        $data['at'] = \Chatx_Ai_Options::read('chatxai_api_token');
    208220        $data['ak'] = \Chatx_Ai_Options::read('chatxai_api_key');
     221
     222        if(!$data['at'] || !$data['ak']){
     223            return false;
     224        }
    209225
    210226        $options = array(
  • chatx-ai/trunk/readme.txt

    r1733986 r1735577  
    33Tags: abandoned cart, recover abandoned cart, woocommerce, chatbot, facebook messenger
    44Tested up to: 4.8.2
    5 Stable tag: 0.1.1
     5Stable tag: 0.1.2
    66Requires at least: 3.0
    77
     
    1717= How it Works =
    1818
    19 First, we track your store's abandoned carts and the related Facebook users. We promise **this is not spam** and we respect all policies from Facebook Messenger ToS.
     19A chatbot is the perfect hook for your shop client. Don’t worry, we don’t have to agitate him. At six hours after he abandons the shopping cart he will receive a message via Facebook Messenger with a kind reminder about his shopping cart. The shop client will be congratulated for his product choice and will be asked to reconsider his abandoned cart.
    2020
    21 After a number of hours from the cart abandonment, your customer will receive a message from your store’s Facebook page (yes, you will need a Facebook page).
     21= Facebook Messenger vs Email =
    2222
    23 In that message, he will be reminded of the products left in cart. The chatbot will try to convince him to finish the order. Here, you have some options like allowing the chatbot to use a discount coupon, or scarcity to be more convincing.
     23Email is soooo 2016! Convince your possible customers to buy via email only means losing the opportunity to close the conversion where your clients are: on Messenger. Be closer to your shop client via Facebook Messenger and the chances for him to buy your products are considerably higher.
    2424
    25 You can read more about how ChatX.ai works on [our official website](https://chatx.ai/).
     25= Built for WooCommerce =
     26
     27ChatX + WooCommerce = Love. Yeap, that’s romance! We are 100% integrated with WooCommerce so the setting process is nice and smooth. Just relax and let ChatX do his thing. Simply increase your revenues. Try ChatX today and let the magic happen.
     28
     29= A low price to remember =
     30
     31The price? How about try ChatX for FREE? The first **€1000 in sales** is our gift for you. It’s a win-win deal: we make some money only if we're boosting your revenues. Sounds fair?
     32
     33After the FREE TRIAL, **we will charge only 2%** from the value of the carts that we recover for you through ChatX.
     34
     35**You can read more about [ChatX.ai on our official website](https://chatx.ai).**
    2636
    2737== Changelog ==
     38= 0.1.2 =
     39* You can now set a discount which the chatbot can use to convince a customer to finish its cart recovery.
     40* Track if the plugin is enable/disable so we can know when to send a message or not.
     41
    2842= 0.1.1 =
    2943* Improved the autoupdate functionality.
     
    4458After this point, you can simply go to the Plugins section and deactivate & uninstall the ChatX.ai plugin.
    4559
     60== Frequently Asked Questions ==
     61
     62= What is ChatX? =
     63
     64ChatX is both a WordPress plugin & a Messenger Chatbot. The plugin will track your shop abandoned cart and the chatbot will try to recover it via Facebook Messenger.
     65
     66= Can I customize the chatbot messages? =
     67
     68There is no need customize the automated messages. ChatX use machine learning to automatically improve the messages sent to your customers, in order to have the best conversion rate possible.
     69
     70= What languages are available? =
     71
     72Our chatbot speaks English and Romanian at this moment, but he is learning more languages so we can help more online stores around the world.
     73
     74= Why do I need a Messenger chatbot? =
     75
     76Easy question… because we are in 2017. People open less emails, and the social media stream is so noisy, you can barely see your own posts. Facebook Messenger chatbots solve this problem by providing a direct, private channel of communication with each user. It’s instant and interactive, and no message is ever lost.
     77
     78= What is a Messenger chatbot? =
     79
     80A messenger chatbot is a tool that allows your Facebook Page to send out messages and respond to users automatically.
     81
     82You’ll need an existing Facebook Page to set up it’s chatbot functionality.
     83
     84= Why 2% and not a fixed price? =
     85
     86We think taking a % from the value of the carts we recover it’s a win-win deal. That’s because if we don’t boost your sales, you don’t pay anything.
     87
     88= Can I update my card details? =
     89
     90Yes. Go to the billing section of the plugin settings and update your payment information.
     91
     92= Can I cancel my subscription? =
     93
     94You can cancel your subscription at any time. When you cancel your subscription we will first try to charge you the money owed from the recovered carts.
     95
     96= Can I get refund? =
     97
     98Unfortunately, not at this time! Please try our FREE plan for a while to make sure ChatX is what you want.
     99
     100= Can I engage in a live, real-time conversation with my customer? =
     101
     102Definitely! ChatX starts the conversation, and you can jump in anytime you like.
     103
     104= What payment services do you support? =
     105
     106We accept all major credit cards.
     107
     108= Other questions? =
     109
     110We’re always available at contact@chatx.ai
     111
    46112== Updates ==
    47 Updates of the plugin will be posted here.
     113We use autoupdates for our plugin so that it can be compatible 100% with the chatbot & chatx.ai platform at all times.
Note: See TracChangeset for help on using the changeset viewer.