Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

get_transfer_session_state does not return Failed.

Discussion in 'cPanel Developers' started by Hsu Shih Yung, Oct 25, 2017.

Tags:
  1. Hsu Shih Yung

    Hsu Shih Yung Registered

    Joined:
    Oct 25, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,396
    Likes Received:
    1,605
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
  3. Hsu Shih Yung

    Hsu Shih Yung Registered

    Joined:
    Oct 25, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,396
    Likes Received:
    1,605
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page