Jump to content

Issue with automatic domain registration and product setup


lmsoft_gabriel

Recommended Posts

Hi,

 

I'm having some issues getting automatic registration to work on our setup. Unfortunately, I just jumped into my company's customized WHMCS setup so I might not be able to answer every question you might have, but I'll try my best.

 

Basically, here's the setup we had when I started working on this:

We have one particular product that users purchase outside of WHMCS so we have our own little API to configure the required stuff in WHMCS. When the payment is received, we create a new user profile for our client. Then, they send us additional information, including the desired domain name. One of our employees runs a script that does three things, it creates an order for the domain registration and the product, it pays the invoice and then it accepts the order (using WHMCS external API commands). Finally, the same employee goes into WHMCS and manually accepts the order. All our tlds are setup to automatically get registered with our registrar and our product is set to automatically setup after we manually accept the order.

 

What we want to do now is basically offer this script as a form to our users, so that no action is required by our employees and everything gets set up automatically.

 

As I understand it, calling "Accept Order" through the WHMCS API doesn't have the same effect as manually accepting the order in the admin panel. Therefore, we changed the setting to automatically setup when first payment is received. However, after changing this setting, the domain now does not get automatically registered. When I check the domain in the client's profile, I see that the registrar is set to none. And here's where we're at now. I can't figure out why it does this.

 

We did some tests and as it works right now, we have two possible options with different outcomes:

Product is set to "Automatically setup after first payment" -> No pending order. Hosting setup automatically. Domain not registered and registrar is set to none.

Product is set to "Automatically setup after manually accepting the order" -> Pending order. Domain automatically registered before accepting the order (because the payment was still received). Hosting not setup automatically, but will set up after accepting the order.

 

How can we make it so that there are no pending orders, and both the domain registration and the hosting setup work as intended?

 

I appreciate any help you guys can offer and will provide additional information if needed at the best of my capacity.

 

Thanks

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi,

With WHMCS it's always necessary to manually approve pending orders even if all the services/domains have been provisioned automatically. This gives you an opportunity to keep track of new orders received and run any manual checks your business practices require. For more information please refer to our documentation: http://docs.whmcs.com/Order_Management

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