the expiration date is the date expiration of the service itself , the expiration date is the date of activation in blesta + 1 year .
modules can't register a cron task , i have already requested this just for this case, the only possibility is a separated plugin for sync dates beetwet registrar and blesta . i have not get a time to write a plugin for this but sure i will do when i get more free time .
for your second question you need to add the request in tha addservice function ..
search
if (isset($response->response()->entityid))
$order_id = $response->response()->entityid;
change to
if (isset($response->response()->entityid)) {
$order_id = $response->response()->entityid;
// add thieft protection
$domains->enableTheftProtection($vars);
}
not tested yet .