WHMCS login shows incorrect client information and constantly logs out.

In WordPress I have created the page http://www.xxxxx.com/my-account. It contains just the shortcode [wcp_content] and nothing else.

I am using the following settings for the plugin:
- Remote WHMCS host: https://www.xxxxx.com/whmcs/
- Default content page: My Account
- URL to encode:
- Encoded URL: ?whmcsportal[page]=

What happens for our users is this ... They go to our website and use the menu to click on "My Account" > "Client Area". The login screen appears. They enter their login information and are then shown the appropriate page which displays any open support tickets and due invoices. If they try to go to any of the other pages such as to see their products or domains, they are presented with the login screen again. If they login a second time, they are brought back to the same initial page. It's an endless loop.

I noticed that one link sort of works. If they click on "My Details", they are shown the proper page, however instead of seeing their details, they see another client's details.

  • aecnu
    • WP Unicorn

    Greetings GeckoWebsites,

    Thank you for the additional input, it is certainly appreciated.

    After re-reading your initial post I found the:

    Encoded URL: ?whmcsportal[page]=

    Did you indeed encode a URL?

    From the bit of information I have gathered I do not have an answer to what is happening there and it is certain that the lead developer will want the web site URL to look at to view the source code.

    Please post the web site URL so that we can have a first hand look at what is going on there.

    Please advise.

    Cheers, Joe

  • aecnu
    • WP Unicorn

    Greetings GeckoWebsites,

    Thank you for this great question.

    If you take one of the product links that you get from the Links tab on the products definition page you can make a link to that product by going to the WHMCS Integration Setting page in admin and pasting that URL into the URL encoder there.

    http://whmcs.wpwhmcs.com/cart.php?a=add&pid=1

    would become

    ?whmcsportal[page]=aHR0cDovL2NsaWVudHMuZmhjb25jZXB0LmNvbS8%3D

    You then just add this query string to your WHMCS content page or any page with a [wcp_content] shortcode on it

    http://my.wp.com/whmcs/?whmcsportalpage=aHR0cDovL2NsaWVudHMuZmhjb25jZXB0LmNvbS8%3D

    And it should take you right to it.

    Still waiting for that URL.

    Cheers, Joe

  • PC
    • WPMU DEV Initiate

    Hiya,

    Greetings and thanks for being a great community member.

    We haven't heard from you on this one for long and I am doing a regular followup to see if there is still something we can assist you on this thread.

    Just to manage the support issues more efficiently, I am marking this thread as resolved for now however this is not being done to avoid your questions in any ways.

    Please feel free to mark this is "Not resolved" in case you have further questions and we would be back on it.

    Thanks a lot for being with WPMU DEV.

    Cheers
    PC
    Sales &Support

    Did you know we offer FREE lifetime memberships? Click here to learn more.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.