PhilB Posted June 12, 2009 Share Posted June 12, 2009 Hi, I'm trying to make a module integration that works like so: User pays for service Random pin is generated Random pin emailed to user by WHMCS The problem I have is that "username" and "password" appears to be pre-set by WHMCS (and passed in as part of the $params array) and there's no way to communicate back a 'username' (in this case, the pin) to WHMCS. Do I have to manipulate the WHMCS database directly myself when I generated the pin or is there a mechanism I'm missing? I take it returning "success" is interpreted and replaced by WHMCS with the stock success message rather than literally returning the text "success", right? (If not, how would WHMCS know when a service was actually created successfully when all it gets back is a string and there's no method for 'checkExists' or similar) 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.