Jump to content
  • 0

building a new module


mth-matt

Question

Hi. ive been asked to build a new provisioning module/addon.  

The provisioning module will be assigned to a specific number of products, when purchased will need to do some checks against 3rd party api.  

The Addon module will view a list of the specific products in a table, and a button against each product will be required to activate the product on the 3rd party side and return data which we will need to withhold.  

Just wondering what the best way would be in order to do this?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi,

I would suggest that you start from the following link for guidance,
https://developers.whmcs.com/provisioning-modules/
 

You can also view a sample code for provisioning at the following link on github

https://github.com/WHMCS/sample-provisioning-module

After you get your provisioning module working, you can easily add a function to check the 3rd party api before provisioning.

I hope this helps answer your request.

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
Answer this question...

×   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