Results 1 to 13 of 13
  1. #1

    * WHMCS does not run creation module after a 100% discounted order

    Hi ,

    I have faced a problem about whmcs and it's cpanel auto setup module.
    Normaly there's no problem , but I put a 100% discount code on my site and when customers use that code, their first month invoice amount decreases to zero (100% discount) and thereupon there will be no payment so whmcs won't run creation module...

    I have set auto setup for my product to "After First Payment".

    Any help will be greatly appreciated.

  2. #2
    Join Date
    Jul 2010
    Location
    Virginia
    Posts
    217
    The issue comes from there being no payment made. If you are giving away the product/service you could just change the Module setting to "Automatically setup the product as soon as an order is placed". The only other option that I can think of would be to write a hook that would simulate a payment being made of 0.00 when that coupon is used.
    VudooHosting.com - since 2010
    99.9% Uptime SLA | Premium 24/7 Support
    Money Back Guarantee | 24/7 Monitoring
    Shared - Reseller - Basic Managed VPS - Fully Managed VPS - Minecraft

  3. #3
    Join Date
    Jul 2010
    Location
    montreal
    Posts
    753
    auto setup after order been place and then manually accepte orders or wtv

  4. #4
    Join Date
    Feb 2013
    Posts
    351

    Re: WHMCS does not run creation module after a 100% discounted order

    I personally would want to manually approve 100% discount orders - it will attract alot of fraud. We did 1st month free on here once, never again!
    North Hosts Limited - Company Number 8808995 Affordable UK Web Hosting
    █ Shared Reseller VPS Dedicated 24/7/365 Support Instant Activation
    █ Trendy Site Builder CloudFlare Softaculous Seo Tools cPanel

  5. #5
    But I have set some options to my promo code , such as 1 per client. So if I set auto setup "Instantly After Order" every user can use first-month-free products for unlimited times ...

    The only other option that I can think of would be to write a hook that would simulate a payment being made of 0.00 when that coupon is used.
    Could you please give me more details about hooks ? Is there a ready one available ?

  6. #6
    Join Date
    Jul 2008
    Location
    Seminole, OK
    Posts
    1,575
    Quote Originally Posted by NorthHosts View Post
    I personally would want to manually approve 100% discount orders - it will attract alot of fraud. We did 1st month free on here once, never again!
    I second this. I've done the same thing once upon a time.

    On the 2nd note, you can create a custom package to automatically setup after order is processed, but again, I would suggest you review all free orders.
    Inode Hosting - Reliable Web Hosting for the right price.
    Shared & Reseller hosting featuring the industry leading cpanel
    99.9% Uptime Guarantee ,30 Day Money Back Guarantee ,24/7 Support
    Established since 2011

  7. #7
    Join Date
    Jul 2010
    Location
    montreal
    Posts
    753
    then I suggest you create a bigger discount such as 85% off first month on new sign up only would be better

  8. #8
    Join Date
    Dec 2007
    Location
    Indiana, USA
    Posts
    16,087
    Simple - set the promotion to discount all but $0.01. If they can't afford $0.01 they probably aren't an ideal customer. This will also force them to put a payment method on file of some sort giving you verification of who they are and recourse should they burn your server to the ground [figuratively].

    Ultimately how you handle it is up to you. Be careful though - free hosting is not discussed here, but on http://www.freewht.com/
    Michael Denney - MDDHosting LLC
    New shared plans for 2016! Check them out!
    Highly Available Shared, Premium, Reseller, and VPS
    http://www.mddhosting.com/

  9. #9
    If they can't afford $0.01 they probably aren't an ideal customer.
    It's completely right.
    Ultimately how you handle it is up to you. Be careful though - free hosting is not discussed here, but on freewht
    It's not free hosting , it is free just for first month, after it they must have a payment to continue using our services.

    Thanks for your reply.

  10. #10
    Join Date
    Dec 2007
    Location
    Indiana, USA
    Posts
    16,087
    Quote Originally Posted by MohammadRS View Post
    It's completely right.

    It's not free hosting , it is free just for first month, after it they must have a payment to continue using our services.

    Thanks for your reply.
    Free is free is free, be it for one minute, one hour, one day, one month, one year, or one lifetime.

  11. #11
    Join Date
    Jul 2010
    Location
    Virginia
    Posts
    217
    Quote Originally Posted by MohammadRS View Post
    Could you please give me more details about hooks ? Is there a ready one available ?
    Hooks are WHMCS functions that you code and they run at certain times. More specifically
    Quote Originally Posted by WHMCS
    Action Hooks allow you to add your own code to WHMCS that runs when specific events or actions occur inside the system. WHMCS has over 100 different hook points that you can tie custom code into, and more are being added with each new release.
    The hook that you would want to use for this would probably be the AfterShoppingCartCheckout one as you would code your function to run once the order is created and that first 0.00 invoice is made. I do not think there is any code just floating around for this hook but there is a Addon that does basically the same thing from NHP found here. Personally I would code the hook and save the money, but if you don't have time or know how I guess this will solve your problem too.
    VudooHosting.com - since 2010
    99.9% Uptime SLA | Premium 24/7 Support
    Money Back Guarantee | 24/7 Monitoring
    Shared - Reseller - Basic Managed VPS - Fully Managed VPS - Minecraft

  12. #12
    Join Date
    Sep 2008
    Posts
    87
    Quote Originally Posted by MikeDVB View Post
    Simple - set the promotion to discount all but $0.01.
    What would your merchant account charge you for processing $0.01 transactions? You would loose money in fees.

  13. #13
    Join Date
    Dec 2007
    Location
    Indiana, USA
    Posts
    16,087
    Quote Originally Posted by SeanCP View Post
    What would your merchant account charge you for processing $0.01 transactions? You would loose money in fees.
    Not any more than one stands to lose by selling **anything** for free or $0.01.
    Michael Denney - MDDHosting LLC
    New shared plans for 2016! Check them out!
    Highly Available Shared, Premium, Reseller, and VPS
    http://www.mddhosting.com/

Similar Threads

  1. WHMCS Gift Certificate Module - Not your standard coupon module !
    By lonea in forum Software & Scripts Offers
    Replies: 0
    Last Post: 08-14-2011, 12:49 PM
  2. WHMCS automatic module creation problem.
    By uksimhos in forum Hosting Software and Control Panels
    Replies: 4
    Last Post: 01-01-2011, 09:50 AM
  3. Replies: 2
    Last Post: 02-27-2010, 03:04 PM
  4. Replies: 0
    Last Post: 03-20-2007, 08:31 AM
  5. CPanel : Account Creation Module (Remote Access Key)
    By Rochen in forum Hosting Security and Technology
    Replies: 2
    Last Post: 08-06-2002, 02:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •