Jump to content

WHMCS API: How to override domain price?


namhost

Recommended Posts

When you do a call to WHMCS, you can override prices for products:

 

"priceoverride[0]" = 333;

 

However, this does not work for domains. The documentation states:

 

"priceoverride - allows you to pass in a custom price override for the product (domains are not products)"

 

So, how is one supposed to override the domain price. I have certain "premium domains" that cost most than normal domains and I need to be able to include them on an order with their own price.

 

Therefore... this wont work:

- Creating an invoice for the domain only means there will be two invoices

- Merging the invoices without sending them sounds like a lot of effort for a field that should just be supported for domains as well

 

How can I get around this?

Link to comment
Share on other sites

  • 5 years later...

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