Code Monkey home page Code Monkey logo

whmcs-vultr's Introduction

whmcs-vultr's People

Contributors

afady avatar ddymko avatar jazz7381 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

whmcs-vultr's Issues

IS whmcs 7.9.2 Supported ?

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

[BUG] - Random password is set when the VPS is created

In the WHMCS order process, the client is asked to provide a password for the VPS.
When the VPS is created, some random password is set automatically.
The VPS password is different than the client provided password.

Bug na hora de finalizar pedido de VPS

Olá, boa tarde!

Na hora que vou finalizar um pedido de uma VPS, no pedido eu marco que eu não quero backup automático, mas por algum motivo quando eu pago o pedido e vou no serviço ele mostra que está com o backup automático ativado. Antes de atualizar ele para a versão 2.0.4 ele não fazia isso.

[BUG] - An error while trying to reboot an existing VPS from WHMCS admin area.

Describe the bug
I get an error while trying to reboot an existing VPS from the WHMCS admin area.
The Vultr VPS doesn't reboot.
The error is:

Module command error
VPS ID not found

To Reproduce
Steps to reproduce the behavior:

  1. Go to the WHMCS admin area.
  2. Click on the client.
  3. Click on the Vultr VPS product.
  4. Click reboot.

Expected behavior
The VPS should actually reboot without an error.

Screenshot

Annotation 2020-01-22 193127

  • OS: CentOS 7
  • Apache HTTP server 2.4
  • PHP 7.3
  • WHMCS 7.9.1
  • Vultr WHMCS Module 2.0.4

No Confirmation of Request when using STOP / START / REINSTALL buttons

Describe the bug

  • When using the STOP / START / REINSTALL buttons to control your VPS, there is no indication to the user that the action is in progress. You click the button and have to wait approx. 9 seconds for the banner to respond with a success/failure response.
  • This causes confusion for the user and also re-clicks as it looks like the process is not actioning.
  • You can see the issue in action using this video link. Not what happens when we click START.

Environment

  • Server PHP Version : PHP 7.3.17
  • Server Operating System and Version: Ubuntu 16.04
  • WHMCS Version: 7.10.1
  • Your desktop OS: Safari or Google Chrome on MAC

Detailed steps to reproduce error on fresh install

Please see screen video here.

Logs

This issue does not feature in the logs a its working. Its really an aesthetic issue to let the user know that the request is working.

Additional Logs and Extra Information

None.

Bug & Help

#Bug
Vultr module menu Server Location's font-awesome icon not showing correctly.
Please check this screenshot to better understand: https://prntscr.com/oqjohl

#Help
How DNS (nameservers) works? Have any problems because I have changed to my own domain nameservers?
Screenshot: https://prntscr.com/oqjqau

Block Storage + Firewall

Hello,

I am suggesting adding the block storage into the WHMCS module, so it can work exactly like vultr + Firewall

Question about Snapshot Limit

Hi,

Sorry, not exactly a bug or a feature request...

I have a question about the Snapshot Limit configurable option that the Vultr WHMCS module creates: There seems to be nothing about this in the vultr API, so I assume this is purely a WHMCS imposed limit for the number of snapshots a given server can create.

Could anyone let me know if it would be possible to remove the Snapshots Limit configurable option altogether, and somehow just set the "snapshots|Snapshots limit" field fixed to something like "2"?

Is this possible?

Thanks in advance for any help you can provide.

[Feature] - Costs for excess bandwidth

I really like this module, but what if the customer uses excess bandwidth. of course as a reseller I do not want to pay this excess if it is too expensive.

so is there a separate way to determine excess bandwidth? or if not, I hope this module provides support for paying the excess bandwidth.

[Feature] - cPanel dynamic pricing

cPanel changed their pricing to active accounts pricing.
The Vultr WHMCS Module allows only one price for the cPanel "application".
This should be updated to the current pricing and support over 100 accounts.
The pricing is available in the middle of the page on the following link:
https://www.vultr.com/apps/cpanel

[BUG] - USER CAN CREATE MULTIPLE VM

Hi , i found this bug on my whmcs

  1. After USER placing an order, ADMIN accept & mark to paid. But ADMIN can't create product / VM.
  2. After ADMIN accept an order, USER (my dummy user) can create VM multiple times (connect to Vultr). But there are no VM details in whmcs. See at attachment, button to CREATE vm still active after create a VM. So i can create VM again & again.
  3. After all, no email comes to the user after the VM has been installed.

Screenshots
WHMCS USER SCR

  • Browser Opera
  • WHMCS 7.8.3
  • PHP 7.2 (ea-php72)
  • Module v2.04
  • i've Enable API to all IPv4 & IPv6 to make sure my server can connect
  • i've read Vultr guide to install, it's very clear

[BUG] - Module settings tab is not working

Describe the bug
Editing a product created by this extension does not work as expected (module settings).

To Reproduce
Steps to reproduce the behavior:

  1. Add a single Vultr product as instructed in https://www.vultr.com/docs/vultr-whmcs-module
  2. Setup -> Products/services -> Edit Vultr Product

Expected behavior
This should not get stuck / I should be able to generate the default configurable options for example.

Screenshots
Setup -> Products/services -> Edit Vultr Product: https://i.imgur.com/bjbgK3e.png
Chrome Inspect (shows errors): https://i.imgur.com/RQ4ujua.png

Windows 10 with Chrome

Server has Nginx 1.17.4, PHP 7.3.x, MariaDB 10.4.x, WHMCS 7.8.3, latest Vultr module as of today.

[BUG] - Unable to pull all Configurable Option, only some

Hello,

Glad to see this being developed.

When I generate defaults under product, then go to the auto-generated options, there is only 4 options which were imported.

image

I'm unable to get Regions and IP setting fields to propagate.

Issue - Not able to use vultr WHMCS

Not able to use vultr api from WHMCS.
Getting "HTTP Code: 403 Invalid API key" when debug mode in whmcs is "on".

I have white listed all ipv4 and also ipv6 in my vultr api setting.
IP key is correct and also tried generating new key
I have off firewall which may create issue.

Please help

[BUG] - OS Field Greyed Out In Client Area

I noticed that when one of my clients attempted to start a cloud server, he couldn't edit the OS dropdown menu.

I was eventually able to get CentOS to show up in the dropdown, but I still cannot change the OS option. I have generated the default fields and configurable options, along with updating my API key.

I can edit the OS in the admin panel, but that is the only way I am able to do so.

Screenshot:
3-8-20

[BUG] - In Service Destroy

When I destroy a machine and want to use the same request to create a new one, operating system selection doesn't work

vultr-min

Thanks

Stock Availability & Control

When certain instances are out of stock on the Vultr store front, there is currently no way of letting the reseller know about this. Later on, there is no way of letting the customers know which instances are out of stock on the reseller's store front.

This will result in customers ordering instances on the reseller's store front which they later can't deploy in their client area.

Kindly integrate the stock control aspect with WHMCS or at the least, send out alerts to resellers to let them know when instances go out of stock and when they are back in stock.

Is there anything being done about this issue?

[BUG] - Select OS Type Field Disabled During VPS Creation?

I don't think this is a bug, because I don't expect there to be a selection for Snapshots or ISOs that are non-existent.

However, the field doesn't display Vultr Applications or a list of all available OS Images.

I read this in the WHMCS module documentation at the bottom~

How do I update the applications in the configuration options?

"If you want to list all available applications, you can use this API Command and add the applications you want in the configurable options. Automatic synchronization does not exist in the module."

This implies to me that I need to connect to the vultr API to pull the 'Application' list into the 'Select OS Type' field??

I don't know, I'm not a developer.

And, perhaps the better question is.... why isn't this built into the module... if it is indeed true that you have to pull the application list from the API.

Also, this still doesn't explain it not listing the available OS Images by default.

Your Environment:

  • PHP Version 7.2.24
  • Ubuntu 0.18.04
  • WHMCS Version 7.9.2
  • Windows 10, Chrome

Detailed steps to reproduce error on fresh install
For example:

  1. Order a Vultr VPS as a client.
  2. During VPS creation, be mad that the 'Select OS type' field is disabled because you can't create a VPS.

Here's the field that stays disabled: http://prntscr.com/s34cpv

Stock Availability & Control

When certain instances are out of stock on the Vultr store front, there is currently no way of letting the reseller know about this. Later on, there is no way of letting the customers know which instances are out of stock on the reseller's store front.

This will result in customers ordering instances on the reseller's store front which they later can't deploy in their client area.

Kindly integrate the stock control aspect with WHMCS or at the least, send out alerts to resellers to let them know when instances go out of stock and when they are back in stock.

Is there anything being done about this issue?

[BUG] - Enter a descriptive title

I open VPS of vultr through WHMCS, and the host is open, but WHMCS shows that the host is not open, so it cannot be managed for the host. When we visit the vultr module, the overall speed of the website will be very slow, generally a visit takes more than 1 minute. I use version 7.9.1 of WHMCS.

SUPPORT LINK IN APPLICATION DETAILS

CHALLENGE
When a user signs up and sets up an instance, the Application Information is displayed in the client area. However, the support link that is indicated in the details point to Vultr support instead of the re-seller's support hub.

Is it possible to change this link to a custom link or totally conceal it from the client?

Kindly refer to the screenshot below in relation to a VPS with cPanel on CentOS 7.

App Details

[BUG] - Select OS Type

The operating system cannot be selected, it is not shown in the drop-down list and the consequence is that the VPS is not created in the vultr.

image

image

[BUG] - Undefined Error while generating default

undefined error while trying to generate default

  1. Setup -> Products/Services -> Products/Services -> Create New Product -> Module Settings -> Configurable Options -> Generate Default
  2. Setup -> Products/Services -> Products/Services -> Create New Product -> Module Settings -> Custom Fields -> Generate Default

WHMCS version : 7.7.1

  • PHP Version 7.0/7.3
  • Browser FIREFOX v.67.0.4 (64 bits), Chrome v.75.0.3770.100

[Feature] - Other Buttons Translation Option

I translate the file to my language, but I see many options in English, and it is possible to add these buttons to the translation.

\servers\vultr\template\controller\main\index.tpl

Line 253

<button class="btn btn-primary" type="submit">Update</button>

and 263

<button class="btn btn-default" type="button">Change</button>

Add example for 253

$_LANG['main']['index']['label_update'] = 'Update';

and

And use $_LANG['main']['index']['label_change'] = 'Change'; for 263

Thanks

Unable to enable iOS and Snapshot

I don't get to turn on iOS or snapshot, I have no choice where it says enable.

What can this come from? I've been to the product and Generate default - Configurable Options And Custom Fields, but don't have the option to enable anything.

Is there anyone who can help me here?

[Feature] - Baremetal Support

I have seen the bare-metal servers are not included, I believe it is because they are listed here https://www.vultr.com/api/#plans_plan_list_baremetal and not here https://www.vultr.com/api/#plans_plan_list

is it very hard to add bare metal support? Looks like the challenge is the bare-metal plans ID are 1XX and dedicated ones as well, the ID's are clashing.

Do we need to ask Vultro to assign other numbers? or maybe a patch that makes bare-metal Id 1xx0 instead of 1xx?

[BUG] - Label and Hostname

When creating the virtual machine has two options Label and Hostname, the label option is being used as hostname when it is sent to vultr and the hostname option as reverse DNS, I believe the information needs to be corrected.

Thanks

[BUG] - This plugin is incompatible with Fraud Protection, causing the check to be bypassed.

Describe the bug
This plugin is incompatible with Fraud Protection, causing the check to be bypassed.

Your Environment:

  • Server PHP Version [e.g. PHP7.3x]
  • Server Operating System and Version
  • WHMCS Version [7.9.2]
  • Your desktop OS: [Windows 10] + Browser version

Detailed steps to reproduce error on fresh install
For example:
This plugin is incompatible with Fraud Protection, causing the check to be bypassed. (New orders)

[BUG] - Does Not List Vultr Product After Installation

Describe the bug
After installing the module in a clean WHMCS and activating the API key it does not list the Vultr Product

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Addons > Vultr Module'
  2. Select on 'Vultr Product'
  3. See error: no products are displayed

Expected behavior
Display Vultr products to create them in my WHMCS

Screenshots
https://i.imgur.com/IQ9Loa5.png
https://i.imgur.com/iMhrCbG.png

Desktop (please complete the following information where applicable:

  • OS: Windows 10
  • Language Version [PHP 7.1 / WHMCS: 7.8.3]
  • Browser [google chrome / firefox]
  • Version [whmcs-vultr-2.0.4]

Additional context
I already checked the Vultr API key and the ips release of my hosting server in Vultr api, if I choose Multiple Product Creator, it displays a message saying that created the products, but when going to the Products tab nothing is listed if I try to register The simple product even without being able to select the vultr product displays an error (print 2).

I need this feature working, thank you who can help.

[BUG] - Server not available to be deployed

what will happen if somebody will buy a server from me using WHMCS and you guys do not have it ?

**Greetings,

If the host node is out of capacity, no one will be able to deploy large instances there. This is true regardless of how the deployment is attempted (Vultr control panel, Vultr API, cPanel, WHMCS API, or any other methods).**

================================================================
The process is the following

New Server Scenario:

  1. Customer goes on my WHMCS page -sees a server he can buy
  2. He selects the Application - let's say WordPress
  3. He is redirected to checkout - pays.
  4. After he pays he can deploy the server from the Vultr Module - client side ( API Request )
  5. It won't work to deploy ( Customer thinks is a scam or wants a refund ) - Big Issue.

2 Options:

Option 1
If this is automatic and the server is not available to be deployed at point 5 ( Client receives an error from API )
Client wants a package is not existent - cannot be deployed. ( He cannot see this )
Client already paid so I have to issue refund.

Option 2
If this is manual, first I have to let the client choose his package & location - do not pay for it. I receive the order, I check in Vultr if the server can be bought, I let the user to pay, if is available. If it isn't I have to contact the client tell him is out of stock then I may lose that client or convince him to choose a location where the server is available.

Option 2 Defeats the purpose of the Vultr WHMCS module. ( Automation )

Upgrade Server Scenario:
If client bought first package and after some time, wants to upgrade to a bigger package, It will be an issue again cause the same, he will pay first then upgrade.

URL Hide on Console window

hello, is there a way to mask or hide the url on the client side consule window ?

im trying to implement this module for my whmcs panel but testing out the functions i find out that my clients can guess that im using vultr as provider just looking at the consule popup window url bar

image

Not Generating Configurable Options

I've installed the WHMCS module & from what I've read it is supposed to generate configurable options on its own. None are being generated.
When I add a VPS service to a user & go to create an instance, the ISO drop-down is grayed out. I'm able to select everything but that & does not allow me to proceed further.

[BUG] - Enter a descriptive title

Steps to reproduce the behavior:

  1. Go to 'After purchasing and opening VPS service through WHMCS, fill in hostname, password and NS1 / 2, the order will arrive as soon as the payment is completed (Figure 01), continue to fill in hostname information and create.'
  2. Click on 'Until receiving the email from vultr, VPS has been opened, but the service has been purchased by WHMCS, which is still not opened after purchase. You can continue to open VPS after filling in hostname.(Figure 02 03)'
  3. Scroll down to 'According to https://www.vultr.com/api/ test, it is proved that API is OK. My server has been migrated to Hong Kong, China, and the speed of arriving at vultr is very stable. (Figure 04)'

Operating system: Ubuntu server 18.04
Server physical address: Hong Kong, China
WHMCS version: 7.9.1
PHP version: 7.3.14

01

02

003

Not able to use vultr WHMCS

Its a fresh whmcs installation and no other module is present in WHMCS.

Connection to vultr api is not able to be made with WHMCS vultr module.

The issue is that the module is not getting connected with Vultr with whmcs vultr module.
Fixes I tried:

Regenerated API key from vultr and updated api key in WHMCS.
Allowed all IPv4 and IPv6 connections from Vultr api settings and also tried only allowing server IPv4 and IPv6
Verified if there is any firewall issue by disabling server and other firewall
Tired to connect with vultr module from "ssh" and the connection was 'successful'
Enabled Debugging in WHMCS and in error log I got message "HTTP Code: 403 Invalid API key" however the same key was working when tried in SSH.
Your Environment:

Server PHP Version 7.4
CloudLinux 7.7
WHMCS Version 7.9
Your desktop OS: Windows 10 + Google Chrome: Version 80.0.3987.132 (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 and the connection won't be made.
Enable debugging.
See error (Add screenshots and logs that may help explain your problem)
Logs
"HTTP Code: 403 Invalid API key"
75963285-35bb1500-5eeb-11ea-8de6-67d1b15cfdb3

[BUG] - Disabled Input Fields

Describe the bug
OS Type & Auto backups Dropdown Fields Disabled in both Admin & Clientarea.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'My Services' from your WHMCS client area
  2. Click on 'Click on your Active VPS service'
  3. Scroll down to down
  4. See error

Expected behavior

  1. The "OS TYPE" drop-down field should show a list of Operating systems available thus allowing the client to choose their preferred operating system.

  2. The "AUTO BACKUPS" field should show the options "YES/NO" when clicked on providing the user to choose whether to enable or disable auto backups.

Screenshots
Screenshot of the issue in the client area - VM Setup Client Area
Screenshot of the affected fields in admin back-end - VM Setup Admin Area

Desktop (please complete the following information where applicable:

  • CentOS 7.7
  • PHP7.3, MySQL 5.6 & 5.7
  • Google Chrome & Mozilla Firefox
  • WHMCS Version 7.8.3
  • Vultr WHMCS module v2.0.4

Additional context
I also fount this piece of code in public_html/whmcs/modules/servers/vultr/template/controller/main/create.tpl . Could this have anything to do with my issue?
See screenshot.

Code snippet of vultrOSID

I can provide login details to my fresh install of WHMCS admin dashboard if reproduction of the issue fails on your end.

[BUG] -Unable to select os - resulting OSID error on creation

from the client's panel trying to set up a new VPS
The OS selection box is unavailable which results in not being able to set up the server.
WHMCS V.7.8.3
PHP V 7.2
FireFox Version 71.0 (64-bit)
NO IPV6
IPV4 - whitelisted
vultr-error1
vultr-error2

Any help would be greatly apreciated.

cannot list OSID

hi
on Whmcs 7.7 and php 7.3 we have problem
in client area location listed but client cannot select os type
vultr2

[BUG] - username field missing

Describe the bug
The username field is missing inside whmcs.

To Reproduce
Create a server. (windows example)
Open the server information inside whmcs as a client.
Notice there is no username field

Expected behavior
That the username is present inside the server details information.

Add any other context about the problem here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.