Jump to content
Sign in to follow this  

Create Random coupon automatically after order

Recommended Posts


i'm finding some points to start to understand if possible make to generate from whmcs a coupon code after order payout to send automatically ( for example with cron ) to client that bought a certain hosting product .

The situation would be that client buy a hosting product "A", whmcs create automatically a coupon code ( with autogenerate code ) with some specific options setted ( for example time to use, max uses, expiration date, billing cycles, applies to only some product and so on ... ) then sent it in email template automatically with the cron to the client.



Share this post

Link to post
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.

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.

Sign in to follow this  

  • Similar Content

    • By SwiftModders
      SwiftModders specializes in premium WHMCS Themes designed to make your business standout from the competition! My themes are highly-rated on the WHMCS Marketplace and Trustpilot!
      LIMITED TIME OFFER: Save 20% on your next theme purchase when you use the discount code "WHMCSCOM20". This offer is limited to the first 20 customers who use it, so act fast!
      WHMCS Themes
      All WHMCS Themes provided by SwiftModders are powered by our custom-built Theme Installer module. This module will allow you to:
      Customize the settings for your theme installations Update your theme automatically Provide debugging tools, health checks, and license management Menu management system to customize your WHMCS navigation on-the-fly Developer-friendly CSS/SCSS editor support for advanced customizations View All WHMCS Themes »
      Not interested in paying yearly? One-time purchase licenses are also available! All prices below are shown BEFORE any discount.
      Allure WHMCS Theme - Starting at $70 per year

      A powerful, modern WHMCS Theme that comes feature-packed with a dark and light theme, RTL support, Favicon support, and three (3) custom order form templates.
      SwiftModders WHMCS Client Theme - Starting at $45 per year

      The original SwiftModders WHMCS client theme is a fully-responsive template with a classic, simplistic look. This theme also comes with three (3) custom order form templates.
      SwiftModders WHMCS Admin Theme - Starting at $35 per year

      This top-rated WHMCS admin theme will give your staff the interface they truly deserve when handling your business. Used by 1,000+ business world-wide!
      Need something a little more custom?
      SwiftModders offers custom WordPress and WHMCS development services. Are you looking for a complete refresh of your business? Need a custom WHMCS theme to make you standout from your competitors? Whatever the task, SwiftModders can help you achieve your goals!
      Learn more about my services »
    • By cookiescocola
      I have a case where I want to add a custom field for each product in the module after processing the add product.
      And the custom field will automatically appear on the order form.
      Or may be there is any ways to handle it, for example using hook ?

    • By AvisKelly
      Can I change the WHMCS Checkout Flow?
      So WHMCS asks for Domain Name when someone is purchasing a product. I want it to ask the domain name but at last step/after the payment is completed.
      Is it possible to do that? A tutorial or help will be much appreciated.
    • By Eugene.Viljoen
      Sorry if this has been asked before but i can seem to find any solution for it!
      I am looking for a way to display a "Network Status" icon/ css on the home page of my website based on the WHMCS network status rss feed (https://portal.whmcs.com/networkstatusrss.php).
      The concept is to have the icon/css auto change when one of the following network issues are opened rather then having to change it manually.
      Low Medium High Critical Attached is an illustration of what i am looking at doing.
      PS: I already wrote the css to have pluse icons, just need to implement the second part.
      Thank you in advance! 😁
    • By SpaceIgniter
      Hi again,
      Hope everyone is doing well. 
      Is there any way for me to add a custom product  on WHMCS that only serves the purpose of sending a quote request to me? 
      In essence. I want specific products to be requested only through a quotation request. It shouldn't be a full fledged order. 
      Thank you for any advice and assistance. 
      Enjoy your day 🙂
  • 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