How can we improve WHMCS?

Share, discuss and vote for what you would like to see added to WHMCS

Set the relevant product status upon compilation per product

  • ramf shared this idea 2 years ago
  • Automation
  • 1 Comment


Hi,
I'm selling mostly one time products without any maintenance or support after that.

Now when we sell such a product and accept the customer order (after the client paid the one time price) - the product status is set to "Active" - but actually the relevant product status is "completed".

Please add a way to set the relevant product status upon compilation per product so there will be a way to automatically set such product status to "completed" without the need to manually set each product via the client profile.

Thanks!
Ram

2 Comments

Login to post a comment.

Hi Ram,
Thanks for this suggestion.

In the meantime the service status can be set to completed using the UpdateClientProduct API, and triggered automatically via the AcceptOrder action hook point:

https://developers.whmcs.com/api-reference/updateclientproduct/
https://developers.whmcs.com/hooks-reference/shopping-cart/#acceptorder
Thanks John,
I fear that I don't have the relevant experience to implement it by myself - and in any way I guess i'm not the only one that sell one time products without any maintenance or support after that, So maybe adding it so WHMCS will help more users.
Thanks!