ddns_webdev Posted July 24, 2012 Share Posted July 24, 2012 (edited) I posted this several days ago in the existing thread (in the Beta forum at: - link removed - ) about the Transfer Sync cron, but my post apparently had to be approved, which it hasn't been. So I thought I'd try here: Full docs will be added @ http://docs.whmcs.com/Registrar_Module_Developer_Docs shortly We're using custom registrar modules, so I'm trying to build this into our modules. I've set up the _Sync and _TransferSync functions, which are called & working fine, however I'm not sure what the return values for 'success' should be. Have checked the above page but it doesn't seem to have any info on the new sync functions. I can return an error message fine using array('error' => 'error description') from both functions. Returning anything else (eg. false/true) from the _Sync function makes no difference - the sync lists the domain as In Sync. What I'm hoping we can do is return 'In Sync', but have a message as well if there was an update performed. Eg. In Sync: Expiry date updated. Possible? From the _TransferSync function, I need to know how to return 'transfer complete'. Currently I am manually updating the DB entry to Active within that function, but there must be a better way, as it still shows 'transfer in progress' on that printout of the report. What should we return for transfer complete? False & true don't work. Edited September 28, 2012 by Infopro removed link to depracated forum 0 Quote Link to comment Share on other sites More sharing options...
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.