Jump to content

Integration with custom provisioning system


GLStephen

Recommended Posts

I've looked at how to write a custom module and I have a basic understanding of that code at this point. I still have a couple of questions though:

 

Our system provisions trial accounts with a unique ID. When I hand the user off to WHMCS to process the upgrade for that account I need to track the ID through the WHMCS order process. We provision a very high number of trial accounts and I would prefer to not provision the initial setup via WHMCS because it is a barrier to signing up. Once they are interested in upgrading a professional looking billing system becomes an advantage, but not during the trial period. So, how can I track that information through the order process? I imagine it can be placed on the query string when I send them to the order pages? When the order hits our custom module where will it be?

 

When I provision the order in our system I need to track an ID coming back from the provisioning system. Where/how can I store that info?

 

I don't see any mention of this in the module setup documentation and was curious if anyone had any good info on this sort of thing?

 

-Stephen

Link to comment
Share on other sites

Hi Stephen,

 

I used to do it the other way around: have my trial system create a billing account and invoice using the WHMCS API. WHMCS then automatically sends customer a login for the billing system (which I matched to their trial login) and a link to pay the invoice. This allowed the provisioning system to keep track of the invoice_id and check whether or not it was paid.

 

Although that worked fine, I ended up switching that around and giving WHMCS full control over provisioning. Mainly because this is what customers seem to expect.

 

Niels

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