dan.trainor Posted April 10, 2009 Share Posted April 10, 2009 Hi - After a few days of back and forth I finally got the answer from Support that I was hoping to not get; the simple fact that changing the Status of an order to Inactive, Terminated, Cancelled, Fraud, or back to Active has no effect on the actual module action itself. So what's the point of having that Status field, if it makes absolutely no change at all? Is it just there for show, to look pretty? Hell, I can't even use it - $params contains the same Status, regardless of what its changed to. What gives? What I'm getting at is, I want to go ahead and just mark an order as Inactive, and I want that - through my custom module - to disable the associated product through the associated module. I'm at the point now where I'm just going to curl and repost that data to the module button and subsequent link based on the $_REQUEST[] variable submitted. But that's ugly. Unfortunately I've not been able to find any additional help on this. With that, has anyone ever done anything like this? Care to share some advice or insight as to exactly how to ADMINISTRATIVELY control the availability of said product which is tied in to a custom module? In this case, changing the Status field and submitting that actually performs an action against my custom module? I'm getting more frustrated by the day. I gave up ClientExec because it sucks. I've been very happy with WHMCS until this point, but if I can get over this one last hurdle, I'm going to marry this thing. Know what I mean? Thanks -dant 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted April 10, 2009 Share Posted April 10, 2009 What I'm getting at is, I want to go ahead and just mark an order as Inactive, and I want that - through my custom module - to disable the associated product through the associated module to do that you'd mark the *product* as cancelled or whatever using the buttons which does call your module functions - i thin kyou're misunderstanding what "order" in WHMCS parlance is used for ... 0 Quote Link to comment Share on other sites More sharing options...
dan.trainor Posted April 10, 2009 Author Share Posted April 10, 2009 Hi - Thanks for the reply. I understand the differences - an Order being one instance of a Product. Regardless, that doesn't get me any closer - but reading some of your forum posts it sounds like you might have a clue as to how to achieve what I'm working on. Care to elaborate a bit? I'll send you a case of beer. Thanks -dant 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted April 10, 2009 Share Posted April 10, 2009 I understand the differences - an Order being one instance of a Product. Nope, and *order* is a *request* for a product or service The product lives "independant" ... 0 Quote Link to comment Share on other sites More sharing options...
dan.trainor Posted April 10, 2009 Author Share Posted April 10, 2009 Hi - Hmm, alright. So where do I find *the* actual product or serviece, and its indicated status? When I update the 'Status' field under the actual product that is specific to the client, where ist hat updated? Thanks -dant 0 Quote Link to comment Share on other sites More sharing options...
dan.trainor Posted April 10, 2009 Author Share Posted April 10, 2009 Hi - I got un-lazy and read a MySQL log - its 'tblhosting'. Thanks -dant 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.