get_transfer_session_state does not return Failed.

Hsu Shih Yung

Registered
Oct 25, 2017
3
3
3
Taiwan
cPanel Access Level
Root Administrator
Hi, We recently try to transfer cPanel account using WHM API.
And we find out get_transfer_session_state always return Completed even transfer failed that is caused by user or domain existing.

Is this a bug or we missing something ?
Thanks for any help.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,911
2,234
363
Hello,

This is by design. This API function will output the status of the transfer itself (whether it completed or not), as opposed to an individual account's transfer status.

Thank you.
 

Hsu Shih Yung

Registered
Oct 25, 2017
3
3
3
Taiwan
cPanel Access Level
Root Administrator
Thanks for replying.
I think my question should be changed to "how can I know an individual account's transfer is succesd or failed?".

We already try to check before transfer, but domain (such as addon domain, subdomain ... etc) can not simply check which already exists.
 

shazde

Active Member
May 19, 2014
29
0
1
cPanel Access Level
Root Administrator
Hello,

We have a similar problem. What exactly are we looking for in the output?
Lets say we have enqueued 2 domains how can we monitor the process for each one of them?

Unfortunately the document doesn't seem to be that clear.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,911
2,234
363