Jump to content

automatically creating Affiliate Account on product purchase


fdejager

Recommended Posts

Hi,

 

I am a first timer in using forums and WHMCS. I want to automatically register a new client as an affiliate if he purchases one of my products online. (this should only happen for specific products on my site).

 

Matt from WHMCS indicated that I could do this by using the ClientSignup hook to auto add clients as affiliates by making the appropriate entry to tblaffiliates in the DB.

 

Could anyone please just let me know what exactly this means? Is there a step by step process I can follow to get this done? (I am pretty comfortable with the basics of programming if this would help?)

 

Thanks

Link to comment
Share on other sites

  • 4 months 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