pocomd Posted Thursday at 01:34 PM Share Posted Thursday at 01:34 PM Hello , hope to find answers here. I manage local domain manager[DM] and hosting manager[HM] integrated with WHMCS as registrar and connected trough API to [DM]. Sometimes, during registrar_RegisterDomain call, WHMCS is sending confirmation emails even if error message is returned. ["error" => "domain busy"] As it's shown in picture, after Domain Registration Failed log, confirmation emails was sent to user. So, please help to find information about: functions synopsis and other useful information (https://developers.whmcs.com/domain-registrars/function-index/) orders processing flow. Order of functions/hooks called during orders processing Thank you in advance. 0 Quote Link to comment Share on other sites More sharing options...
RadWebHosting Posted Thursday at 04:03 PM Share Posted Thursday at 04:03 PM This sounds like it could be directly related to the associated registrar module. Which registrar module is processing the command when this error occurs? 0 Quote Link to comment Share on other sites More sharing options...
pocomd Posted Friday at 06:16 AM Author Share Posted Friday at 06:16 AM Hello, thank you very much for implication. It is custom registrar module. In registrar script, I suppose, registrar_RegisterDomain is related to my issue. Within this function external API is called and depending on response, function will return an array with [error => message] or string Successful Also InvoiceCreation, InvoicePaid, AfterRegistrarRegistration are defined in hooks script, but I can't find information about how/when they are called. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted Friday at 10:37 AM WHMCS Support Manager Share Posted Friday at 10:37 AM Hi @pocomd, The order was placed successfully, so the Order Confirmation email is sent. The domain registration failed, so the Domain Registration Confirmation email was not sent. This is the expected behaviour of the system in this situation. 0 Quote Link to comment Share on other sites More sharing options...
pocomd Posted Friday at 10:55 AM Author Share Posted Friday at 10:55 AM Hello John, thank you for hint. I'll investigate deeper. 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.