GithubHelp home page GithubHelp logo

hotspotbilling / phpnuxbill Goto Github PK

View Code? Open in Web Editor NEW
112.0 9.0 87.0 59.57 MB

PHP Mikrotik Billing - Voucher management for Mikrotik Hotspot

Home Page: https://t.me/phpnuxbill

License: GNU General Public License v2.0

Shell 0.01% JavaScript 1.09% PHP 73.93% CSS 0.15% Hack 0.14% HTML 0.83% Smarty 23.86% Batchfile 0.01%
billing mikrotik php telegram vouchers whatsapp

phpnuxbill's People

Contributors

agstrxyz avatar ahmadhusein17 avatar alucard2303 avatar axmad386 avatar conradke avatar focuslinkstech avatar freeispradius avatar gerandonk avatar gogeldemiroren avatar ibnux avatar pro-cms avatar sabtech254 avatar siavashmirtaheri 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  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

phpnuxbill's Issues

Quick question

Hi,

Do you have any plans to support basic post paid model VS the current prepaid scenario?

Delete button

Kindly fix the delete button it is not working.
Thankyou.

Error facing in creating service plan After upgrade from 3.18. To 3.19

Please Remember, this project is free and open source, and @ibnux don't get any money from this project, and if you post something not a bug, just you dont understand how to install it, you will get blocked from this Repository.
Post it in Discussion if you don't understand. Except you pay for $50 for support

Describe the bug
A clear and concise description of what the bug is. Error connecting to router is not a bug, is your router port is not accessable, ask community for help, go to discussion or telegram group

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Payment Gateway Problem

Hey Boss, Assalamualaikum Warahmatullahi Wabarakatuh. I was facing a 2 problem on phpnuxbill, one is when i use bkash payment gateway first time there was no problem, problem shown when i want to create secend transection there is the problem transection failed massage is shown. 2nd one is if i host the application on cpanel api port not working. please give me some solution for this if u understand my massage.

Screenshot_64
Screenshot_65

Thanks,
Best Regurds,
Mohammad Raju.

Request for a fedapay payment gateway plugin for phpmixbill

Hello ibnux, I have been using phpmixbill for a few months and I can tell you that it is one of the best mikrotik managers in the world. Unfortunately in my country the Republic of Benin in West Africa, I cannot take advantage of the payment gateways already available. I wanted to use paymetrust but the conditions required for creating an account are exaggerated. So I would like to suggest you create a fedapay payment plugin. Fedapay is a payment gateway available in several French-speaking West African countries.
These links might help you https://github.com/fedapay/ or https://docs.fedapay.com/home
Apart from fedapay there is also feexpay which is a good payment gateway and whose link is https://docs.feexpay.me/
Thank you very much for the work you do

whatsapp notice error

Whatsapp Error
From: 628116801087
To: 082273309190
Message:
RF Intermedia
Dusun Mesjid lama
Keude Aceh
0822xxxxxxx

Error:
{
"status": false,
"code": 500,
"error": "failed to get device list: failed to send usync query: info query timed out"
}

Voucher not Activating Internet

Hello, Am creating Hotspot vouchers but once the user enters the voucher it says connected with no internet. butthe system has already indicated that the voucher is active. Another issue is i can enter more than 1 voucher to the same user and all will indicate they are active but none is working. kindly assist

Regards Bryan

Docs to add new payment Gateway(s)

Is there any wiki or Documentation which can help one with integration of new Payment Gateways? If there is please do let me know where to access them.

Customer Template enhancement

make the username field readonly, since the code intention is to sync PPPoE password only if the account is recharge, just my 0.2$

Tidak ada kolom E-Mail

Saat login sebagai admin, dan ingin menambahkan kontak pelanggan secara manual melalui Kontak Member >> Tambahkan Kontak, admin tidak bisa mengisi E-Mail untuk pelanggan baru karena tidak terdapat kolom E-Mail untuk diisi

database restore from UI

Database backup is available from UI Settings -> Backup/Restore but restore functionality is missing and that is candidate for enhancement ๐Ÿ’ฏ

Print a List Customers

"PRINT" a list of Customers, with options based on PROFILE or COMMENTS, to be used for tax reporting

Expired date not valid

Om, tanggal expired pada halaman user tidak valid.
jadi tanggal expired dengan tanggal aktif itu sama, saya test di paket 1 jam dan paket lain juga hasilnya sama tanggal aktif dan expire nya

No Verification code

Describe the bug
A clear and concise description of what the bug is. Error connecting to router is not a bug, is your router port is not accessable, ask community for help, go to discussion or telegram group

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Adding a business / personal account system.

Is your feature request related to a problem? Please describe.

ISP usualy deals with personal users(Pulic hotspot) and business users.
Describe the solution you'd like
It would be great if we could add to user table and plans table a personal / business column so that when a user is trying to buy package, they can only see packages depending on their acount category.

Error menambahkan Router di Network --> Router Baru

Mohon bantuannya pak, saya kendala tidak dapat menambahkan Router. Saya sudah coba menggunakan hosting rumahweb.com + hostingtermurah.com tidak bisa. Tapi saya coba di 000webhostapp normal .
Saya sudah rubah versi PHP 7.4 padahal tapi alhasil masih nihil. Saya tidak punya uang lebih untuk berlangganan di hosting mahal.
Berikut saya lampirkan hasil error nya
Screenshot_20230812-131117
72013

error adding routeros

#0 /home/mediailm/billing.mediailmu.cloud/system/autoload/PEAR2/Net/RouterOS/Client.php(157): PEAR2\Net\RouterOS\Communicator->__construct()
#1 /home/mediailm/billing.mediailmu.cloud/system/autoload/Mikrotik.php(21): PEAR2\Net\RouterOS\Client->__construct()
#2 /home/mediailm/billing.mediailmu.cloud/system/controllers/routers.php(98): Mikrotik::getClient()
#3 /home/mediailm/billing.mediailmu.cloud/system/boot.php(344): include('/home/mediailm/...')
#4 /home/mediailm/billing.mediailmu.cloud/index.php(22): require_once('/home/mediailm/...')
#5 {main}

Bkash Payment Gatwey

assalamu alaikum sir
how do add Bkash Payment Gatwey (BD Payment System)
i'will provide "Bkash" all file with demo sandbox.....
Please Help....

PPPoE Service Plans

It's not desirable to set the "local address" of PPPoE Profile in Mikrotik = whatever value assigned to the remote address pool

e.g

Underisable though it's working but the remote address is magically set from one of the free address from the pool

Local Address = POOL1
Remote Address = POOL1

Desirable

Local Address = Static IP supplied by the user (I assumed the user know what he's doing) and set
Remote Address = POOL1

I think this is enhancement not a bug per se

Search customer di menu recahrge account

Search customer pada menu recahrge account di versi android/mobile tidak muncul...
Membuat kesulitan untuk memilih customer yang akan di recharge account.. karna harus men scroll ke bawah....

Error 500 on Editing Customers with Recharge Account

I track down the issue with this I think this is a copy paste error

originally
$printRequest->setQuery(RouterOS\Query::where('name', $user['username']));
it should be change into
$printRequest->setQuery(RouterOS\Query::where('name', $user));

public static function setPpoeUser($client, $user, $pass, $nuser= null){

        $printRequest = new RouterOS\Request('/ppp/secret/print');
        $printRequest->setArgument('.proplist', '.id');
        $printRequest->setQuery(RouterOS\Query::where('name', $user));
        $id = $client->sendSync($printRequest)->getProperty('.id');
        $setRequest = new RouterOS\Request('/ppp/secret/set');
        $setRequest->setArgument('numbers', $id);
        $setRequest->setArgument('password', $pass);
        $client->sendSync($setRequest);
    }
 

user delete bug

When deleting a user a dialog box appear when you click cancel the user still being deleted, i believed bootbox is not loaded properly.
potential replacement https://bootstrap-confirmation.js.org/

 $(document).on("click", ".cdelete", function(e) {
            e.preventDefault();
                        var id = this.id;
                        bootbox.confirm("Are you sure?", function(result) {
                                if(result){
                                        window.location.href = "index.php?_route=settings/users-delete/" + id;
                                }
                        });
        });

anyway all delete function from various forms exhibit this behavior not only a delete function under the customer template

I liked the project, congratulations!

I liked the project, congratulations.
I'm studying the project and I've seen that it can be improved in:

The customer's account does not need to add an address, the address is in the services contract for the customer, in which case they may have several services with speed plans for different addresses, in the services they can add geolocation which can enable them to find the address faster if they need support.

example:

tbl_customers
tbl_customers_services
tbl_customers_address

In this case, there would be small changes but it would be very good for better control of payments and well organized to legalize the project in the future, so it would go head to head with paid projects.

I hope my ideas are welcome, I really liked the project.

Cannot add new router on new version Router OS

Describe the bug
Cannot add Router with valid data on Newer version of RouterOS

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Network->Router->New Router'
  2. Fill valid router data
  3. Save
  4. Error will shown
Invalid username or password supplied.

#0 /home/dmuggle/FL/phpnuxbill/system/autoload/Mikrotik.php(24): PEAR2\Net\RouterOS\Client->__construct()
#1 /home/dmuggle/FL/phpnuxbill/system/controllers/routers.php(159): Mikrotik::getClient()
#2 /home/dmuggle/FL/phpnuxbill/system/boot.php(337): include('...')
#3 /home/dmuggle/FL/phpnuxbill/index.php(22): require_once('...')
#4 {main}

Expected behavior
New Router is saved

Additional context
Router OS version: v6.42.12.

Workaround
Just update Client.php to dev branch
https://github.com/pear2/Net_RouterOS/blob/develop/src/PEAR2/Net/RouterOS/Client.php
See this related issue pear2/Net_RouterOS#37

PHP ZIP extension is not available

When Trying to Install a Payment Gateway it says PHP ZIP extension not available. I was Install Docker Container in my Mikrotik router and then install phpnuxbill image in this container. everything works fine without installing payment gateway . please help me
Screenshot 2023-08-08 162629

Penambahan fitur Notifikasi Whatsapp

Penambahan Fitur Notifikasi Whatsapp/pemberitahuan ke pelanggan ketika sudah jatuh tempo pembayaran (setelah Cron berjalan dan pelanggan status off)

No Verification code

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Payment gateway Failed to create transaction

Payment gateway duitku Failed to create transaction
Untuk kode merchant dan api key sudah sesuai namun selalu gagal membuat transaksi

atau ada rekomendasi lainnya untuk payment gateway yang dipergunakan ?

User Creation Error 500

User creation error 500 if the username is > 15 characters, please fix and make it longer like 50 characters please

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.