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

IS whmcs 7.9.2 Supported ?

Open asarwarkpsl opened this issue 4 years ago • 21 comments

I had setup vultr whmcs module previously and created vps successfuly & client area got option like stopping,starting server. After that I setup all my products for customers. Now as long as I create a server from client area, the panel does'nt give options to start/restart and stop server.( rather it remains same with create server option) One think I remember is that I had updated my whmcs to 7.9.2 in between my test run & actual run

Your Environment:

  • Server PHP Version 7.2
  • Server Operating System and Version CLOUDLINUX 7.7 (v84.0.22)
  • WHMCS Version 7.9.2
  • Your desktop OS: windows 10, chrome (Version 80.0.3987.163 (Official Build) (64-bit))

Detailed steps to reproduce error on fresh install Install WHMCS and the install vultr WHMCS module. All all IPv4 and IPv6 Create VPS "product" in whmcs using vultr Allow server IP in vultr api settings. Create VPS , Server will be created on vultr BUT client area is NOT updated with start/stop, restart option (rather it remains same with create server option)

All logs have http 200 status

asarwarkpsl avatar Apr 09 '20 09:04 asarwarkpsl

Hello everyone.

I have exactly the same problem. After upgrading to whmcs 7.9.2 he creates the instances in the vultr, however in the client area the screen for creating a VM remains.

  • PHP 7.3
  • CENTOS 7
  • WHMCS 7.9.2

Dionathan1425 avatar Apr 17 '20 11:04 Dionathan1425

Hello everyone, I can ensure you that this module 100% working with latest whmcs 7.10 & php 7.3, also it was working fine when i was using whmcs 7.9.2 & php 7.3/7.2 . If anyone have any problem that's may be your problem, so check your all setting.

wpexpertinbd avatar Apr 17 '20 12:04 wpexpertinbd

are you using version 2.0.4 of the module?

could you share your version?

Because with me the options for shutting down / restarting or managing the instance in the client area are not being presented, it only presents the option to create a new VM.

Dionathan1425 avatar Apr 17 '20 17:04 Dionathan1425

yes, I am using 2.0.4, auto or manually how you accept the order that does not matter you need to create vm from client area or create vm at vultr & insert Virtual machine ID: at admin panel at same client product details page then it will show all of the function like stop,restart e.t.c. This is how the module working. Automatic provision will not create the vm at vultr, it will give client permission to create vm from client area. So, you or your client need to hit create button from client area. To get virutal Machine Id, click your created VM & check url you can see SUBID=646423646, this number is your VM ID.

create-order-frontend

create-order-frontend-2

create-order-frontend-3

create-order-bacckend-1

virtual-machine id-product-details

wpexpertinbd avatar Apr 18 '20 04:04 wpexpertinbd

Yes I am using the v2.0.4 version .

asarwarkpsl avatar Apr 18 '20 11:04 asarwarkpsl

yes, I am using 2.0.4, auto or manually how you accept the order that does not matter you need to create vm from client area or create vm at vultr & insert Virtual machine ID: at admin panel at same client product details page then it will show all of the function like stop,restart e.t.c. This is how the module working. Automatic provision will not create the vm at vultr, it will give client permission to create vm from client area. So, you or your client need to hit create button from client area. To get virutal Machine Id, click your created VM & check url you can see SUBID=646423646, this number is your VM ID.

create-order-frontend

create-order-frontend-2

create-order-frontend-3

create-order-bacckend-1

virtual-machine id-product-details

I think I already discovered the problem.

For some reason my whmcs does not have this "VIRTUAL MACHINE ID" field.

How can I create or activate this field?

Dionathan1425 avatar Apr 18 '20 13:04 Dionathan1425

How can I create or activate this field?

@Dionathan1425, You can create it from product "module settings" page click "Generate Default" it will create all required custom fields. check attachment to better understand.

custom-fields-1

custom-fields-2

wpexpertinbd avatar Apr 18 '20 13:04 wpexpertinbd

@asarwar123, are you followed my before comments & still you have problem? If yes then remove IP restriction from vultr or whitelist your ipv4 & ipv6. if your whmcs have dedicated ip then whitelist whmcs ip plus server ip.

wpexpertinbd avatar Apr 18 '20 13:04 wpexpertinbd

My friend, thank you very much for your help. After the adjustments you gave me, the module started to work perfectly. I have u. The last doubt. Does the module support the creation of dedicated servers?

Dionathan1425 avatar Apr 20 '20 16:04 Dionathan1425

Hi @Dionathan1425

The module does not support dedicated servers as far as I can tell.

SaneChoice avatar Apr 27 '20 18:04 SaneChoice

yes, I am using 2.0.4, auto or manually how you accept the order that does not matter you need to create vm from client area or create vm at vultr & insert Virtual machine ID: at admin panel at same client product details page then it will show all of the function like stop,restart e.t.c. This is how the module working. Automatic provision will not create the vm at vultr, it will give client permission to create vm from client area. So, you or your client need to hit create button from client area. To get virutal Machine Id, click your created VM & check url you can see SUBID=646423646, this number is your VM ID.

create-order-frontend

create-order-frontend-2

create-order-frontend-3

create-order-bacckend-1

virtual-machine id-product-details

I solved the issue and now vultr vps auto created using whmcs after payments and also manual option exist in whmcs which is created by me

mkhawarshahzad avatar Feb 13 '21 22:02 mkhawarshahzad

Hi whmsols , Nice to hear & if you don't mind you can share your code with us to take the benefit of your code. Thanks.

wpexpertinbd avatar Feb 13 '21 23:02 wpexpertinbd

why not, but code have some static values and its completed in 3 days. i tested last night which is working fine. image

mkhawarshahzad avatar Feb 14 '21 04:02 mkhawarshahzad

hii. today i use sub id like this but not work? any body help?

https://i.imgur.com/t0Njhd5.jpg

mrburgercheese avatar Feb 20 '21 08:02 mrburgercheese

Vultr module is incomplete due to this I redeveloped vultr module which is fully automated

On Sat, Feb 20, 2021, 1:13 PM Bakhtiyar [email protected] wrote:

hii. today i use sub id like this but not work? any body help?

https://i.imgur.com/t0Njhd5.jpg

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vultr/whmcs-vultr/issues/79#issuecomment-782584227, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM5VHVZBNVBHDFYNEL4OUL3S75VJBANCNFSM4MESQ3BQ .

mkhawarshahzad avatar Feb 20 '21 08:02 mkhawarshahzad

@bakhtiyarsierad , only use id number not with id= id

wpexpertinbd avatar Feb 22 '21 13:02 wpexpertinbd

dear, i know that but i am developing new module using vultr api from scratch which is 80 % completed and working perfectly and its take 1 week more for completion then i send u the link of this module then you can use for your services

Best Regards: Khawar Shazhad Hostarina.com

On Mon, Feb 22, 2021 at 6:54 PM Benjamin Biswas [email protected] wrote:

@bakhtiyarsierad https://github.com/bakhtiyarsierad , only use id number not with id= [image: id] https://user-images.githubusercontent.com/26407345/108717697-c4370500-7547-11eb-8068-39fe75b68074.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vultr/whmcs-vultr/issues/79#issuecomment-783392098, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM5VHV2GTTBPRSIC2CDREI3TAJO2LANCNFSM4MESQ3BQ .

mkhawarshahzad avatar Feb 22 '21 14:02 mkhawarshahzad

dear, i know that but i am developing new module using vultr api from scratch which is 80 % completed and working perfectly and its take 1 week more for completion then i send u the link of this module then you can use for your services Best Regards: Khawar Shazhad Hostarina.com On Mon, Feb 22, 2021 at 6:54 PM Benjamin Biswas @.***> wrote: @bakhtiyarsierad https://github.com/bakhtiyarsierad , only use id number not with id= [image: id] https://user-images.githubusercontent.com/26407345/108717697-c4370500-7547-11eb-8068-39fe75b68074.png — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#79 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM5VHV2GTTBPRSIC2CDREI3TAJO2LANCNFSM4MESQ3BQ .

thanks before i still waiting for it. whwn i contact vultr support he they not send subid an tell using new method.

mrburgercheese avatar Mar 01 '21 01:03 mrburgercheese

Which api version you are using 1 or 2

On Mon, Mar 1, 2021, 6:02 AM Bakhtiyar [email protected] wrote:

dear, i know that but i am developing new module using vultr api from scratch which is 80 % completed and working perfectly and its take 1 week more for completion then i send u the link of this module then you can use for your services Best Regards: Khawar Shazhad Hostarina.com … <#m_-8624316244678637952_> On Mon, Feb 22, 2021 at 6:54 PM Benjamin Biswas @.***> wrote: @bakhtiyarsierad https://github.com/bakhtiyarsierad https://github.com/bakhtiyarsierad , only use id number not with id= [image: id] https://user-images.githubusercontent.com/26407345/108717697-c4370500-7547-11eb-8068-39fe75b68074.png — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#79 (comment) https://github.com/vultr/whmcs-vultr/issues/79#issuecomment-783392098>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM5VHV2GTTBPRSIC2CDREI3TAJO2LANCNFSM4MESQ3BQ .

thanks before i still waiting for it. whwn i contact vultr support he they not send subid an tell using new method.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vultr/whmcs-vultr/issues/79#issuecomment-787568277, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM5VHV7VDPHVFY7ZQC4ISITTBLRTLANCNFSM4MESQ3BQ .

mkhawarshahzad avatar Mar 01 '21 04:03 mkhawarshahzad

Which api version you are using 1 or 2 On Mon, Mar 1, 2021, 6:02 AM Bakhtiyar @.> wrote: dear, i know that but i am developing new module using vultr api from scratch which is 80 % completed and working perfectly and its take 1 week more for completion then i send u the link of this module then you can use for your services Best Regards: Khawar Shazhad Hostarina.com … <#m_-8624316244678637952_> On Mon, Feb 22, 2021 at 6:54 PM Benjamin Biswas @.> wrote: @bakhtiyarsierad https://github.com/bakhtiyarsierad https://github.com/bakhtiyarsierad , only use id number not with id= [image: id] https://user-images.githubusercontent.com/26407345/108717697-c4370500-7547-11eb-8068-39fe75b68074.png — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#79 (comment) <#79 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM5VHV2GTTBPRSIC2CDREI3TAJO2LANCNFSM4MESQ3BQ . thanks before i still waiting for it. whwn i contact vultr support he they not send subid an tell using new method. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#79 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM5VHV7VDPHVFY7ZQC4ISITTBLRTLANCNFSM4MESQ3BQ .

i using version 2

mrburgercheese avatar Mar 01 '21 04:03 mrburgercheese

Ok, i am developing with api 1 and 2

On Mon, Mar 1, 2021, 9:09 AM Bakhtiyar [email protected] wrote:

Which api version you are using 1 or 2 … <#m_1252422729540148729_> On Mon, Mar 1, 2021, 6:02 AM Bakhtiyar @.> wrote: dear, i know that but i am developing new module using vultr api from scratch which is 80 % completed and working perfectly and its take 1 week more for completion then i send u the link of this module then you can use for your services Best Regards: Khawar Shazhad Hostarina.com … <#m_-8624316244678637952_> On Mon, Feb 22, 2021 at 6:54 PM Benjamin Biswas @.> wrote: @bakhtiyarsierad https://github.com/bakhtiyarsierad https://github.com/bakhtiyarsierad https://github.com/bakhtiyarsierad , only use id number not with id= [image: id] https://user-images.githubusercontent.com/26407345/108717697-c4370500-7547-11eb-8068-39fe75b68074.png — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#79 https://github.com/vultr/whmcs-vultr/issues/79 (comment) <#79 (comment) https://github.com/vultr/whmcs-vultr/issues/79#issuecomment-783392098>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM5VHV2GTTBPRSIC2CDREI3TAJO2LANCNFSM4MESQ3BQ . thanks before i still waiting for it. whwn i contact vultr support he they not send subid an tell using new method. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#79 (comment) https://github.com/vultr/whmcs-vultr/issues/79#issuecomment-787568277>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM5VHV7VDPHVFY7ZQC4ISITTBLRTLANCNFSM4MESQ3BQ .

i using version 2

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vultr/whmcs-vultr/issues/79#issuecomment-787621779, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM5VHV3G3AM327TNK7DBTU3TBMHRNANCNFSM4MESQ3BQ .

mkhawarshahzad avatar Mar 01 '21 04:03 mkhawarshahzad