Jump to content

Registrar/Product Module


taylorn

Recommended Posts

Hello

 

I have partnered with a company (I would prefer to discuss with someone who wants to take on the job) that has an API used to purchase items.

 

I want someone to make a module to integrate with WHMCS for this. it uses HTTP POST & JSON-serialised requests

 

A basic example would be along the following format:

 

{
 "auth_code": "ABCDEF123456",
 "api_key": "0123456789abcde0123456789abcde",
 "payload": {
   "command": "add_license",
   "params": { 
      "product": "Product 123",
      "ip": "xx.xx.xx.xx" 
    }
 }

 

And it would return something like this:

 

{
 "response_code': 1,
 "response": []
}

 

Or an error:

 

{
 "response_code' : 0,
 "response":
 {
   "err_no": xx,
   "err_string": "There is already a xxx product registered to this IP xx.xx.xx.xx" 
 }

 

Its also very similar to add/delete user accounts (which are also needed BEFORE making the order)

 

There is MUCH more documentation on this, which will be required. If someone thinks they can do it, please PM me or e-mail taylor.n[at]tnisolutions[dot]com[dot]au

 

Thanks :)

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