RstsTeam Posted January 2 Share Posted January 2 Hello, I have question about ChangePackage for provisioning module. Trying to get customfields for it and it's not working. Maybe only configoptions work in this case? Any help or example is appreciated . Thanks 0 Quote Link to comment Share on other sites More sharing options...
0 CODEXINDIA Posted January 9 Share Posted January 9 function provisioningmodule_ChangePackage(array $params) { try { // Call the service's change password function, using the values // provided by WHMCS in `$params`. // // A sample `$params` array may be defined as: // // ``` // array( // 'username' => 'The service username', // 'configoption1' => 'The new service disk space', // 'configoption3' => 'Whether or not to enable FTP', // ) // ``` } catch (Exception $e) { // Record the error in WHMCS's module log. logModuleCall( 'provisioningmodule', __FUNCTION__, $params, $e->getMessage(), $e->getTraceAsString() ); return $e->getMessage(); } ret urn 'success'; } 0 Quote Link to comment Share on other sites More sharing options...
0 RstsTeam Posted January 9 Author Share Posted January 9 Hello, Thank you for your reply, but I already got this sorted out i just needed a confirmation . 1 Quote Link to comment Share on other sites More sharing options...
Question
RstsTeam
Hello,
I have question about ChangePackage for provisioning module. Trying to get customfields for it and it's not working. Maybe only configoptions work in this case?
Any help or example is appreciated .
Thanks
Link to comment
Share on other sites
2 answers to this question
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.