Jump to content

Filling our the Dedicated IP field


yswery

Recommended Posts

Hi guys and girls.

So I am a little new to WHMCS development but I have a small issue, I am trying to have my custom module populate the product details (in specific the "Dedicated IP" field)

I have this code:

 

$params['model']->serviceProperties->save([
    'Username'        => 'root',
    'Domain'          => $ipAddress,
    'Dedicated IP'    => $ipAddress,
    'Bandwidth Usage' => 0,
    'Bandwidth Limit' => $trafficLimit,
]);

 

Now the *Domain* and *Username* get filled out correctly, however the *Dedicated IP* doesnt seem to and instead it creates a new field al together. (see picture)

 

How do I fill out the Missing filed programmatically?

Screen Shot 2018-10-04 at 8.39.22 AM.jpg

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