Jump to content

bug in 5.1 api for domainregister command, can someone please confirm


Recommended Posts

For some reason WHMCS support doesn't believe me that there is a bug in the API in 5.1 with the domainregister command even though this works in 5.0.3 but not in 5.1. If someone can please verify this for me, that would be a big help or even better if Matt could look at this :)

 

Here is how to quickly test the issue.

 

-Setup a new domain order in WHMCS but leave as pending.

-Edit the php below and change the 'domain' line to the domain you setup as pending and put in your whmcs admin username and save it in your whmcs directory as domainregistertest.php

-execute the script, php domainregistertest.php and you will see it always returns NULL and the RegisterDomain function never gets called. If you check the activity log there is no indication that the register command was executed.

 

Also, I've tried this via the normal api and the local api with the same results and it works fine in 5.0.3.

 

<?php

require("dbconnect.php");

require("includes/functions.php");

 

$command = 'domainregister';

$admin_username = "admin";

$values = array( 'domain' => "testdomain.com");

$results = localAPI($command,$values,$admin_username);

echo var_dump($results);

 

 

?>

 

Thanks,

Link to comment
Share on other sites

HI I confirm with ENOM Register

 

Today I receive 2 order for a new domains. This are the first new order before the upgrade to 5.1.2

 

1) Both order are pending, because not paid. THen, when I accept the 2 orden by ckecking in pendig order list, and press de accept botton, both order are accepted, but not are send the registration command to ENOM register.

2) Both order are for 1 new domain with ID Protecion And DNS management

3) I try again change the order status a Pending, and choose ENOM Registran.

4) Then I try again accept on one of the order, the same issue. Accept the order bur not make the register domain in ENOM.

5) If I see my log, not show that WHMCS send the register command to ENOM.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated