garymcneish Posted January 2, 2011 Share Posted January 2, 2011 Hi I need help. I have a piece of software i have been building which to use the customer needs to buy credits. Ideally I want to use whcms as the payment processer. when the order has been done it will run a script to apply the credits to my software. can any one advise how I would go about this task. 0 Quote Link to comment Share on other sites More sharing options...
Grizzlyware Josh Posted January 2, 2011 Share Posted January 2, 2011 You'd need to code a server module in PHP for WHMCS to interact with. And the module would have different products for different ammounts of credits. The module will then store the credits & contact your software to apply them once the payment is received... Is this what you mean? 0 Quote Link to comment Share on other sites More sharing options...
garymcneish Posted January 2, 2011 Author Share Posted January 2, 2011 You'd need to code a server module in PHP for WHMCS to interact with. And the module would have different products for different ammounts of credits. The module will then store the credits & contact your software to apply them once the payment is received... Is this what you mean? thats exactly what i mean. what i need to know though is where the code will look for the payment or how do i run it automatically after a payment has been made. can you advise what tables to be looking at 0 Quote Link to comment Share on other sites More sharing options...
Grizzlyware Josh Posted January 2, 2011 Share Posted January 2, 2011 You'll need to download the Module Dev Kit. From there, you'll need to call out to your product on the Module Create function. You don't really need to look at any database tables to do this... 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.