vultr / whmcs-vultr

Vultr Module for WHMCS
Apache License 2.0
95 stars 52 forks source link

IS whmcs 7.9.2 Supported ? #79

Open asarwarkpsl opened 4 years ago

asarwarkpsl commented 4 years ago

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:

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

Dionathan1425 commented 4 years ago

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.

wpexpertinbd commented 4 years ago

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.

Dionathan1425 commented 4 years ago

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.

wpexpertinbd commented 4 years ago

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

asarwarkpsl commented 4 years ago

Yes I am using the v2.0.4 version .

Dionathan1425 commented 4 years ago

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?

wpexpertinbd commented 4 years ago

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 commented 4 years ago

@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.

Dionathan1425 commented 4 years ago

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?

SaneChoice commented 4 years ago

Hi @Dionathan1425

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

mkhawarshahzad commented 3 years ago

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

wpexpertinbd commented 3 years ago

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.

mkhawarshahzad commented 3 years ago

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

mrburgercheese commented 3 years ago

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

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

mkhawarshahzad commented 3 years ago

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

On Sat, Feb 20, 2021, 1:13 PM Bakhtiyar notifications@github.com 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 .

wpexpertinbd commented 3 years ago

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

mkhawarshahzad commented 3 years ago

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 notifications@github.com 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 .

mrburgercheese commented 3 years ago

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.

mkhawarshahzad commented 3 years ago

Which api version you are using 1 or 2

On Mon, Mar 1, 2021, 6:02 AM Bakhtiyar notifications@github.com 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 .

mrburgercheese commented 3 years ago

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

mkhawarshahzad commented 3 years ago

Ok, i am developing with api 1 and 2

On Mon, Mar 1, 2021, 9:09 AM Bakhtiyar notifications@github.com wrote:

Which api version you are using 1 or 2 … <#m1252422729540148729> 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 .