Jump to content

automatically create a simple text document... HOOK?


Recommended Posts

I have created a custom field (text box) for one of my products. (Example: Custom Text Box: SERIAL#)

When the user signs up and when payment is successful. I need WHMCS to automatically create a simple text document named whatever the user puts in the field. (Example: SERIAL#.txt).

 

This file will be saved in a folder located in my web hosting server (same server WHMCS is on: /public_html/whmcs/serials).

 

Once the user’s subscription is over, the file will be automatically removed by WHMCS. This will deactivate the product from working via serial. Please let me know if anyone can help me. I will be willing to pay to get this small code working.

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