I’ve been having an ongoing problem with WHMCS and Interworx. It seems that because the Interworx API does not report back the units of a query, it is causing WHMCS (and I’m sure other billing systems) to improperly report, for example, bandwidth usage. Here’s the response from the folks at WHMCS:
–
Unfortunately it seems this is a limitation of the InterWorx API as they don’t supply any units with the data returned. This is the data that comes back for the domain in question:
[32] => Array
(
[id] => 46
[domain] => <masked>.com
[bandwidth_used] => 26.24
[bandwidth] => 50
[storage_used] => 4.16
[storage] => 3000
)
As you can see no indication of units, and one is in GB and the other in MB but no way WHMCS could know that, so [there] doesn’t seem to be a solution.
–
Can you guys implement/suggest a fix/workaround for this?