Find Jobs
Hire Freelancers

Update this WHMCS module

£10-20 GBP

Cerrado
Publicado hace más de 3 años

£10-20 GBP

Pagado a la entrega
Hi We have this module which is no longer updated by the inital developer, we require this to run on the newer versions of PHP as this appears to be a very old PHP version if (!defined("WHMCS")) die("This file cannot be accessed directly"); use Illuminate\Database\Capsule\Manager as Capsule; function whmcs_module_cancel_invoices($vars) { $query = "SELECT [login to view URL],[login to view URL] FROM tblinvoices a, tblinvoiceitems b WHERE b.invoiceid=[login to view URL] and b.type='Hosting' and a.status='Unpaid' AND [login to view URL] IN (SELECT id from tblhosting where domainstatus='Terminated' OR domainstatus='Cancelled')"; $result = mysql_query($query) or die(mysql_error()); while($row = mysql_fetch_array($result)){ $query2 = "UPDATE `tblinvoices` SET `status` = 'Cancelled' WHERE `id` = '".$row['id']."'"; $result2 = mysql_query($query2) or die(mysql_error()); logactivity(" Hooks Cancelled Invoice - Invoice ID: ".$row['id'], $row['userid']); } } add_hook('DailyCronJob', 100, 'auto_cancel_invoices');
ID del proyecto: 26395292

Información sobre el proyecto

5 propuestas
Proyecto remoto
Activo hace 4 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
5 freelancers están ofertando un promedio de £27 GBP por este trabajo
Avatar del usuario
Hello, my name is Vladimir and i am Web Developer from Serbia. I can help you with completing your project.
£50 GBP en 1 día
5,0 (40 comentarios)
5,4
5,4
Avatar del usuario
Hello, I can modify the whmcs hook code to run on latest version of WHMCS and PHP 7.2 or 7.3. Let me know if you interested. Regards
£20 GBP en 1 día
4,8 (18 comentarios)
5,2
5,2
Avatar del usuario
Hello! I'm WHMCS admin user/developer already since v2.2 (somewhere in year 2006), did many template customization, hacks & hooks, provisioning modules and payment gateways (last was The Ethereum payment gateway & VPN account provisioning module for WHMCS 7.9). I would love to update your module to work on the latest WHMCS ad PHP 7.3. Looking forward working with you, Junell
£25 GBP en 1 día
5,0 (5 comentarios)
4,5
4,5
Avatar del usuario
I am ready to start now. I have 3+ years experience in web development. I am full stack developer. Discuss more about the project and I will be starting project asap. Thanks
£15 GBP en 1 día
4,0 (1 comentario)
1,5
1,5

Sobre este cliente

Bandera de UNITED KINGDOM
liverpool, United Kingdom
5,0
70
Forma de pago verificada
Miembro desde jul 18, 2015

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.