whmcs-vultr icon indicating copy to clipboard operation
whmcs-vultr copied to clipboard

After Creating Server, Serve Not Showed in WHMCS

Open shahidmalla1337sm opened this issue 3 years ago • 11 comments

  1. Login to to client area
  2. click on my service
  3. select location after that server created but now in whmcs
  4. See error in screenshot when server already created in server but not show in whmcs

https://prnt.sc/17c09zh https://prnt.sc/17c0gfx

shahidmalla1337sm avatar Jun 28 '21 19:06 shahidmalla1337sm

I am now running in to the same issue, It appears the update to WHCMS 8.2 broke the API again.

Anubianhost avatar Jul 02 '21 11:07 Anubianhost

i am trying to fix the issue, please let me know if you found any solution

shahidmalla1337sm avatar Jul 04 '21 07:07 shahidmalla1337sm

https://www.vultr.com/api/#operation/list-instances

shahidmalla1337sm avatar Jul 04 '21 07:07 shahidmalla1337sm

check my fork and release https://github.com/meramsey/whmcs-vultr/releases/tag/2.0.5

meramsey avatar Jul 06 '21 22:07 meramsey

Thanks so much @meramsey Tested and this is working again with Version: 8.2.0 of WHMCS again!

Anubianhost avatar Jul 08 '21 12:07 Anubianhost

@meramsey Not sure what happened. My test went through and the Virtual Machine ID loaded in WHMCS but just sold a New VPS today and the user created it and WHCS never got it and it allowed the user to try again.

Anubianhost avatar Jul 10 '21 00:07 Anubianhost

Yeah i think ive seen that happen once due to it letting clients click create multiple times if they do that vs being patient and waiting for it to complete. Was an issue before too afaik. Can report a bug on my fork if you would like not sure how much time ill have to look into it just yet. When this happens i usually delete the duplicates and just enter the first uuid/subid and save in the product to link it back.

In reality i feel like this module could/should probably be rewritten from scratch at for some sections as there are some really weird issues at times that shouldn't really be possible.

meramsey avatar Jul 12 '21 16:07 meramsey

Yeah I have to manually go in and update the VM ID when this happens but that was really the only issue I was having.

We just updated to WHMCS 8.2.1. I'll try a couple tests runs and see if it continues to do it again.

Anubianhost avatar Jul 17 '21 19:07 Anubianhost

still not fixed I update a lot of things but still not reliable even after creating server-client don't see manage server

shahidmallaofficial avatar Jul 27 '21 12:07 shahidmallaofficial

Same, I had a new order come in and it worked but one other one didn't seems random.

Anubianhost avatar Jul 27 '21 12:07 Anubianhost

Advise looking into this maintained product which is what I switched too. https://www.modulesgarden.com/products/whmcs/vultr-vps

This made it finally possible to transition the existing clients in place by adding a new customfield to all existing Vultr Products "instanceId|Instance ID" text admin only. I then went and populated all existing orders with their V2 API instance id which you can get from visiting the server in the my.vultr.com dashboard and noting the string from url or via the V1/V2 list servers/instances API "v2_id": field. I then was able to just switch the products Module from Vultr to Vultr VPS and all the existing server's connections remain working.

meramsey avatar Jan 02 '22 20:01 meramsey