Jump to content

Provisioning module - Get Module Settings and get product Information


JayBeeD

Recommended Posts

Hi,

 

I'm trying to create a provisioning module, to make action when a customer buy a product.

I've read the documentation available at http://docs.whmcs.com/Provisioning_Module_Developer_Docs.

 

I have installed the sample module available here https://github.com/WHMCS/sample-provisioning-module.

 

I have seen how to edit the setting page and how to return the array with the function provisioningmodule_ConfigOptions. But now I would like to get this saved settings from another function. How should I do?

 

I have also seen the "Module Parameters" like serviceid, pid, domain, etc. How should I get them? It is said where it is saved in the database, but I have no idea how to get them without requesting the value from the mysql database.

 

 

Cheers

JayBee ;)

Link to comment
Share on other sites

  • 1 month later...

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