We are using a custom registrar module to manage some domains.
Recently we added 3 options to the client area that allow customers directly accept, reject or cancel a domain transfer.
We would like to show to the customer in the client area the error returned from the registrar, so we´re using this:
Array
(
[result] => Array
(
=> 2301
[msg] => Array
(
[lang] => en-US
[$t] => Object not pending transfer
)
[value] => Array
(
[xmlns:oxrs] => urn:afilias:params:xml:ns:oxrs-1.1
[oxrs:xcp] => 2301:Object not pending transfer (domain.com)
)
)
but no message is returned in the client area. The idea is to show them the same message we get if we hit these buttons from the admin area, i e: Registrar Error
An error ocurred | CODE: 2301 | MESSAGE: | 2301:Object not pending transfer (domain.com)
We added this function to the registrar module:
function registrarmodule_ClientArea($params)
{
logModuleCall('registrarmodule', 'ClientArea', 'params', $params);
Question
iacaro
Hi,
We are using a custom registrar module to manage some domains.
Recently we added 3 options to the client area that allow customers directly accept, reject or cancel a domain transfer.
We would like to show to the customer in the client area the error returned from the registrar, so we´re using this:
Array
(
[result] => Array
(
[value] => Array
(
[xmlns:oxrs] => urn:afilias:params:xml:ns:oxrs-1.1
[oxrs:xcp] => 2301:Object not pending transfer (domain.com)
)
)
but no message is returned in the client area. The idea is to show them the same message we get if we hit these buttons from the admin area, i e: Registrar Error
An error ocurred | CODE: 2301 | MESSAGE: | 2301:Object not pending transfer (domain.com)
We added this function to the registrar module:
function registrarmodule_ClientArea($params)
{
logModuleCall('registrarmodule', 'ClientArea', 'params', $params);
$output = '';
return $output;
}
but its not returning anything.
Not sure where to turn here.
Thanks.
Link to comment
Share on other sites
1 answer to this question
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.