Jump to content

Two questions about the API


kenashkov

Recommended Posts

Hi,

 

I would like to ask two things:

- we are adding a new client ("addclient") and order ("addorder") through the API . All goes well and they are both added. The only issue is that the order is not marked as Active (they stay as Inactive). This is an issue for us because if the user wants to upgrade he cant

- the other question is about login integration. WHMCS and the service are deployed on different domain (service.com & whmcs.service.com) and it seems we cant use "validatelogin" because even though we obtain uid & upw no point settings them into the $_SESSION in the service site because WHMCS uses another session. How we can integrate the login (user logs in the service and we want autologin in WHMCS) in this case? Any other way? If the sessions were kept in the database we could write there but they are not.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated