WHMCS send a 0 RegPeriod with the order. The correct value is in params['original']. Changed the module to read the right parameter