pocomd Posted May 22 Share Posted May 22 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 May 22 Share Posted May 22 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 May 23 Author Share Posted May 23 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 May 23 WHMCS Support Manager Share Posted May 23 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 May 23 Author Share Posted May 23 Hello John, thank you for hint. I'll investigate deeper. 0 Quote Link to comment Share on other sites More sharing options...
pocomd Posted May 28 Author Share Posted May 28 Hello , I've added registrar_CheckAvailability method from https://developers.whmcs.com/domain-registrars/availability-checks/ expecting its call during domain check from WHMCS customer web interface. It wasn't. Could you please provide the flow(registrar functions / hooks ) related to domain check and registration ? Thank you in advance. 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.