LOL.
Just used encrypt instead decrypt.
But DanQ gave wrong command.
Right syntax:
<?php
include (../configuration.php); # Path to WHMCS configuration file
decrypt($password); # Simply decrypt encrypted data
encrypt($string,$cc_encryption_hash); # Encrypt $string using WHMCS hash
?>
I have used it in my addon module and updated passwords info. Works fine.
But how the provosioning modules saving passwords that was generated for the products? They are not using API WHMCS.
How can i add my password for the product and the client can see it in client area.