• Resolved cp

    (@cpagonidis)


    WordPress/Website Integration (In 3CX): https://dev.exampleurl.com; https://exampleurl.com; https://test.exampleurl.com

    The dev URL is with a custom theme. The test URL is a clean WP installation that has only ‘WP-Live Chat by 3CX’ with the ‘Twenty Twenty’ theme. I am able to reproduce the same behavior with both instances, thus I excluded something in my custom theme or plugins is breaking ‘WP-Live Chat by 3CX’.

    I configured ‘WP-Live Chat by 3CX’ as ‘3CX PBX Integration’ and used my test extension ‘https://pbx_url:port/callus/#friendly_name’ (The value that I used in WP was a copy/paste from 3CX).

    When I load a page that has the chat popup, I see that icon disabled because a request to ‘https://wp_url/wp-admin/admin-ajax.php’ returns 400 (The response is 0). When I mimic the same request with postman (The request had an ‘action’ and a ‘security’ value) I receive this

    {
    “Data”: {
    “dictionary”: {
    “OfflineFormTitle”: “Leave a message”,
    ……
    “ChatEndMessage”: “Chat session ended”
    }
    },
    “ErrorFound”: false,
    “ErrorMessage”: “”,
    “Status”: 17
    }

    which I assume is what it should return.
    Any tips on how to troubleshot this one?

    *This is a 3am post, after spending 5hours searching and testing (but unfortunately everything looks OK according to the solutions that people offered in other posts).

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support wpdev3cx

    (@wpdev3cx)

    Hi @cpagonidis ,
    please follow the guide below to enable your PBX communication with your WordPress installation.

    Switch to the 3CX “Management Console” > “Settings” > “WordPress/Website Integration” > “Apps & Plugins” section and specify your WordPress site URL to authorize chats and calls, e.g. “https://my-wordpress.example.com.”
    ?? Tip: You can specify multiple website URLs separated by semicolon, e.g.
    https://my-site-0.example.com;https://my-site-1.example.com .

    Access security is implemented via the “Maximum allowed requests per IP Address” field, limiting the number of incoming unreplied chats sent to the 3CX extension in the defined “Request Rate Duration” period.

    Click on “OK” to save.

    Thread Starter cp

    (@cpagonidis)

    Thank you for your reply.

    I have configured 3CX “Management Console” > “Settings” > “WordPress/Website Integration” > “Apps & Plugins” before testing this plugin.

    “WordPress/Website Integration (In 3CX): https://dev.exampleurl.com; https://exampleurl.com; https://test.exampleurl.com”

    Plugin Support wpdev3cx

    (@wpdev3cx)

    Hi @cpagonidis ,
    we replicated your issue but only when the chat is loading from a logged in user. This fix will be part of our next release. Did you tried to load the page with the chat client from a non logged in user? If not may you check if this scenario and let us know about results?

    Thread Starter cp

    (@cpagonidis)

    During my tests I didn’t because I was testing the scenario for an authenticated (logged in) visitor.

    Yes, it does work for unauthenticated visitors but unfortunately, for our use case, we will have authenticated and unauthenticated visitors that will use the Video/Call/Chat functionality.

    Is there an approximate ETA for the next release?

    Plugin Support wpdev3cx

    (@wpdev3cx)

    Hi @cpagonidis ,
    thank you for your feedback, we have just released the new version of the plugin (9.0.24) which includes the fix for the authenticated users chat client.

    Thread Starter cp

    (@cpagonidis)

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘400 on admin-ajax.php but everything looks correctly configured’ is closed to new replies.