Jump to content

Search the Community

Showing results for tags 'invoice'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


WHMCS.Community

  • The latest WHMCS Release
  • WHMCS Beta Program
    • WHMCS V8.0 Beta Discussion Board
    • WHMCS Mobile App Technical Preview Feedback
  • The Latest from the WHMCS Team
    • News, Announcements & Blogs from WHMCS
  • WHMCS.Community
    • Community Announcements
    • Introduce Yourself
  • Using WHMCS
    • Pre-Sales Questions
    • Admin & Configuration Questions
    • Installation, Upgrade, and Import Support
    • Using WHMCS
    • Troubleshooting Issues
    • Vendor Discussions
  • WHMCS Showcase
    • Showcase Your Site
    • Share Your Best Practices & Tips
  • Developing & Extending WHMCS
    • Third Party Add-ons
    • Service Offers & Requests
    • Developer Corner
    • Building Modules
    • Share Ideas for WHMCS Modules
  • Community Competitions
    • Competitions
  • General Discussions
    • General Discussion
  • General Feedback & Assistance
    • Feedback
    • WHMCS.Community Tips & Tricks
  • Third Party Developers's Topics
  • Turkish International Discussions's Topics
  • Russian International Discussions's Topics
  • Spanish International Discussions's Topics
  • Portuguese International Discussions's Topics
  • French International Discussions's Topics
  • Italian International Discussions's Topics
  • German International Discussions's Topics
  • WHMCS Brasil's Topics
  • WHMCS Brasil's Tópicos
  • ModulesGarden Club's Topics
  • Hungarian International Discussions's Segítség
  • ThemeMetro Club's Topics
  • WHMCS Services Club's Topics
  • SwiftModders Club's Topics
  • WHMCS Global Services Club's Topics
  • Zomex Club's Topics
  • 0100Dev Club's Topics

WHMCS Version

  • V7.10.x Hotfixes
  • V7.9.x Hotfixes
  • V7.8.x Hotfixes

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 58 results

  1. hello thanks for reading my text. i have whmcs latest version and what is the issue is i can see the cron not generating the monthly invoice. i have a customer who have an active product due at 08/08/2020 but i cant understand why the cron is not generating the invoice when its suppose to be generate 14 days earlier. but if i click on the customer dashboard generate due invoice i can see system create the invoice for that client. so can someone guide me what can be issue?? i can see in the logs but i can't find any issue at all 😞 dont know what to do just to let you know i have customized pdf invoice . is that giving any issue? thanks a million in advance. please stay safe
  2. Hello everyone Can you help me something on this please. In my invoice list I have changed the button name from Unpaid to Make-Payment. Because what I want is when my customer click on this make payment button it will be take them direct to payment page instead of viewinvoice page.. Because I have put a button to download the pdf invoice so my customer can download the pdf invoice if they want to see it. But I really need to skip the viewinvoice page. So if I have PayPal as a payment method for that invoice then when client click on that Make-Payment button it will be take them to PayPal directly. Can someone help me with the code in the template file. Thanks a million in advance Please see the current invoice list page
  3. Hello everyone. i hope everyone is doing great. i need again some help from the community. hope someone correct my invoicepdf tpl file so it can complete my demand. i have done some modify but i can't understand how to fix some more. i want to make my invoice like this and this is my current code. its already modified mostly <?php # Logo $logoFilename = 'placeholder.png'; if (file_exists(ROOTDIR . '/assets/img/logo.png')) { $logoFilename = 'logo.png'; } elseif (file_exists(ROOTDIR . '/assets/img/logo.jpg')) { $logoFilename = 'logo.jpg'; } $pdf->Ln(5); $pdf->SetFont($pdfFont, 'B', 15); $pdf->SetFillColor(255); $pdf->SetFont($pdfFont, '', 16); $pdf->Cell(100, 6, "My Bill Summary", 0, 1, 'L', '1'); $pdf->Image(ROOTDIR . '/assets/img/' . $logoFilename, 120, 25, 75); # Company Details $pdf->SetXY(15, 70); $pdf->SetFont($pdfFont, '', 13); foreach ($companyaddress as $addressLine) { $pdf->Cell(180, 4, trim($addressLine), 0, 1, 'R'); $pdf->SetFont($pdfFont, '', 9); } if ($taxCode) { $pdf->Cell(180, 4, $taxIdLabel . ': ' . trim($taxCode), 0, 1, 'R'); } $pdf->Ln(5); # Clients Details $pdf->SetXY(15, 70); $pdf->SetFont($pdfFont, 'B', 10); $pdf->SetFont($pdfFont, '', 9); if ($clientsdetails["companyname"]) { $pdf->Cell(0, 4, $clientsdetails["companyname"], 0, 1, 'L'); $pdf->Cell(0, 4, Lang::trans('invoicesattn') . ': ' . $clientsdetails["firstname"] . ' ' . $clientsdetails["lastname"], 0, 1, 'L'); } else { $pdf->Cell(0, 4, $clientsdetails["firstname"] . " " . $clientsdetails["lastname"], 0, 1, 'L'); } $pdf->Cell(0, 4, $clientsdetails["address1"], 0, 1, 'L'); if ($clientsdetails["address2"]) { $pdf->Cell(0, 4, $clientsdetails["address2"], 0, 1, 'L'); } $pdf->Cell(0, 4, $clientsdetails["city"] . ", " . $clientsdetails["postcode"], 0, 1, 'L'); $pdf->Cell(0, 4, $clientsdetails["country"], 0, 1, 'L'); if (array_key_exists('tax_id', $clientsdetails) && $clientsdetails['tax_id']) { $pdf->Cell(0, 4, $taxIdLabel . ': ' . $clientsdetails['tax_id'], 0, 1, 'L'); } $pdf->Ln(10); $pdf->Ln(10); $pdf->Ln(10); # Header Bar /** * Invoice header * * You can optionally define a header/footer in a way that is repeated across page breaks. * For more information, see http://docs.whmcs.com/PDF_Invoice#Header.2FFooter */ $pdf->SetFont($pdfFont, 'B', 15); $pdf->SetFillColor(239); $pdf->SetFont($pdfFont, '', 12); if ($customfields) { foreach ($customfields as $customfield) { $pdf->Cell(125, 6, $customfield['fieldname'] . ': ' . $customfield['value'], 0, 1, 'L', '1'); } } $pdf->Cell(125, 6, "Invoice Number " . ': ' . $invoiceid, 0, 1, 'L', '1'); $pdf->Cell(125, 6, "Bill Issue Date" . ': ' . $datecreated, 0, 1, 'L', '1'); $pdf->Cell(125, 6, "Billing Period" . ': ' . $datecreated, 0, 1, 'L', '1'); $pdf->Ln(10); $startpage = $pdf->GetPage(); # Invoice Items $tblhtml = '<table width="70%" bgcolor="#ccc" cellspacing="1" cellpadding="2" border="0"> <tr height="30" bgcolor="#efefef" style="font-weight:bold;text-align:center;"> <td width="80%">' . Lang::trans('invoicesdescription') . '</td> <td width="20%">' . Lang::trans('quotelinetotal') . '</td> </tr>'; foreach ($invoiceitems as $item) { $tblhtml .= ' <tr bgcolor="#fff"> <td align="left">' . nl2br($item['description']) . '<br /></td> <td align="center">' . $item['amount'] . '</td> </tr>'; } $tblhtml .= ' <tr height="30" bgcolor="#efefef" style="font-weight:bold;"> <td align="right">' . Lang::trans('invoicessubtotal') . '</td> <td align="center">' . $subtotal . '</td> </tr>'; if ($taxname) { $tblhtml .= ' <tr height="30" bgcolor="#efefef" style="font-weight:bold;"> <td align="right">' . $taxrate . '% ' . $taxname . '</td> <td align="center">' . $tax . '</td> </tr>'; } if ($taxname2) { $tblhtml .= ' <tr height="30" bgcolor="#efefef" style="font-weight:bold;"> <td align="right">' . $taxrate2 . '% ' . $taxname2 . '</td> <td align="center">' . $tax2 . '</td> </tr>'; } $tblhtml .= ' <tr height="30" bgcolor="#efefef" style="font-weight:bold;"> <td align="right">' . Lang::trans('invoicescredit') . '</td> <td align="center">' . $credit . '</td> </tr> <tr height="30" bgcolor="#efefef" style="font-weight:bold;font-size:14px;"> <td align="right">' . "Total Amount Due" . '</td> <td align="center">' . $total . '</td> </tr> </table>'; $pdf->writeHTML($tblhtml, true, false, false, false, ''); $pdf->Ln(5); if ($status == 'Unpaid'){ $html = "<h2 style=\"color:red;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Please pay by ${duedate} </h2>"; $pdf->writeHTML($html, true, false, false, false, ''); $pdf->Ln(10); $pdf->SetFont($pdfFont, 'B', 15); $pdf->SetFillColor(239); $pdf->SetFont($pdfFont, '', 10); $pdf->Cell(125, 6, "Failure to pay your account in full may result in loss of service.", 0, 1, 'L', '1'); $pdf->Cell(125, 6, "Reactivation of your service could take up to 7 days and will incur a fee. ", 0, 1, 'L', '1'); $pdf->Ln(10); } # Notes if ($notes) { $pdf->Ln(5); $pdf->SetFont($pdfFont, '', 8); $pdf->MultiCell(170, 5, Lang::trans('invoicesnotes') . ': ' . $notes); } /** * Invoice footer */ ============================ can someone please correct the code so my pdf invoice will be looks same like the image i provide thanks everyone and plesae stay safe
  4. I have two accounts that don't have a credit card on file. (They were lost during a migration somehow). And I don't know what's causing those accounts to be delivered an email EVERY day that says "We tried to bill your card but you don't have one on file." What is the setting that's causing this? The only things I suspect are 2 settings in automation. 1. "Retry every week for..." was set to 0 (but I thought that meant disable not every day. 2. The "Send invoice payment reminder" for 2nd and 3rd were both set to 0 also. But those specifically say 0 to disable. I don't feel like either of those should behave that way though.
  5. Hi Client charged 2nd time even if invoice is paid, Client paying using PayPal subscription. BUT In previous two months it was normal and charging only once per invoice. Invoice 1: https://nimb.ws/J2Apmk Invoice 2: https://nimb.ws/W1ci0K Log: https://nimb.ws/gdYsqv Is this setting from PayPal Subscription or anything else in Product setup? Thanks in advance kan
  6. Hi Community, Anyone help me regard this when our client is the visit our invoice in our website prohosty.com then Rupees Symbol is working Fine See this screenshot http://prntscr.com/myl1j4 and if client download invoices then rupees symbols change into "?" symbol see this screenshot http://prntscr.com/myl1r8 Please help to fix it
  7. I need to add Restitution (one time) item with minus value if there's subscription that didn't meet the SLA from last month on the Invoice generate on the next month. I know it should need manual admin intervention. Is there any idea where I should implement it ? Use the billiable item or maybe is there any suggestion ?
  8. So far I've hooked dedicated ip from tblhosting to viewinvoice.tpl and is assigned to paid services accordingly. What I'm trying to figure out : -> To show dedicated ip assigned in WHMCS Billing for -> Where you can view dedicated ip in the description as well. ( To help our billing member search for dedicated ip to be cancelled at ease by looking at customer's invoice items in WHMCS->Billing) For example : What is in my mind : How do I query the database tblhosting [dedicatedip] into WHMC->Billing->Invoices->Any customer's Invoice id description as shown above ? As far as I know, WHMCS admin .php file is encoded where we do not able to edit. Hopefully and I believe there is a way to append to show the dedicated ip !
  9. We have introduced our new module in WHMCS Market, Recurring Invoice Management Module allows WHMCS admin to create custom recurring invoices without creating new products and services. In short, our module bypasses the product creation process while generating recurring invoices to the clients. You can use this module well when you want to generate custom recurring subscriptions for custom tasks to your clients. Here is how you can generate a recurring invoice: Buy module here: https://whmcsglobalservices.com/whmcs-recurring-invoice-management-module/
  10. Hi, I want to perform some tasks that require the service id on a hook(specifically invoice creation) the paramters there are limited all I get is the invoice id. Is there a way to fetch service id using that invoice id any indication/help/solution would be highly appreciated. The hook must trigger either before or after invoice generation. Thanks. 👍
  11. Certain companies have different departments. In this case, there is a gentleman who bought our product in his name for the company, so his account is set up on WHMCS, he now receives all emails and invoices. How does one set that the invoices get sent to a separate email? Like the accounts department. I see there is a tab where you can add a sub contact in the contact itself but i do not know how to use it. Would that be the solution?
  12. Is there a way to send recurring invoice (quarterly) X days in advance before its invoice date?
  13. Hi everyone, sorry for the noob question. I noticed after a customer notified me this, that last year, the domain didn't sync and was marked as expired, so the new invoice was generated only for one service and the domain was not charged. For now, I manually marked it as active because on her profile was "Expired" but on Resellerclub, the domain is still active and being used and also tied to the same customer. So my question would be, what can I do so after I manually renew it this year, it also starts to be a billable item for the customer from now on as it was before something happened? Thanks in advance!
  14. Good morning community How do I make all the services to be renewed appear on the "Customer Invoice"? In all "Customer Invoice" emails I only see that the hosting service appears and does not add the domain, both services were purchased the same day. The domain renewal is sent in different mail. I will greatly appreciate your help Greetings.
  15. Hello! For some reasons sometimes our banks don't accept invoice from customers without stamp, name of CEO and signature. Is there any way that when the user chooses payment via a Bank under the invoice had the name of the Director signature and stamp. Thank you!
  16. Hello community... I came back again. Can someone help me with my system. What happened is.. We sell yearly service. Let's say client bought service 01/04/2018 And his next due date is 31/03/2019. Now system generate invoice on 15/03/209 But he didn't paid. He decide to pay on may.. I knw the service will be suspended. But it's not a problem. Now if he pay on may .. I see his next due date will be 31/03/2020 not 01/05/2020 So he is loosing a month when he didn't used the service in April. Can we have a hook to update the next invoice date the customer paid+365 days? Please help me
  17. Im trying to use Githubs version of AutoAuth: https://github.com/JonTheWong/whmcs-autoauth-invoice I've followed the steps in the description, but are getting wrong login credentials error. Below you can see the different steps and the code that i have; To install this script you need to place all files in your root directory of WHMCS example: /home/user/public_html/domain/whmcs/ Generate a hash and enter it in configuration.php above the last ?> $autoauthkey = "REPLACE-WITH-SYSTEM-KEY"; Also include it into the script. You can generate a hash using; openssl rand -hex 32 on linux. Then add this value to the top of your email template; {assign var='hash' value=$client_email|cat:"REPLACE-THIS-PART-WITH-SECRET-KEY"} Then add this link anywhere in your email template. Login Auth: {$whmcs_url}lauth.php?email={$client_email}&zmkey={$hash|md5} Invoice Auth: {$whmcs_url}iauth.php?email={$client_email}&invoice={$invoice_num}&zmkey={$hash|md5} Quote Auth: {$whmcs_url}qauth.php?email={$client_email}&quote={$quote_number}&zmkey={$zmkey|md5} Notes Quick not for version 7+ Due to security settings, you have to modify configuration.php and add the following code to the bottom, above the last ?> $smarty_security_policy = array( 'mail' => array( 'php_modifiers' => array( 'md5', 'time', 'sha1', 'urlencode', 'header', ), ), ); In the config file: $hash = "302BEA0FDBC6ADB8F8A25919318B532D"; $autoauthkey = "Correct_password"; $smarty_security_policy = array( 'mail' => array( 'php_modifiers' => array( 'md5', 'time', 'sha1', 'urlencode', 'header', ), ), ); ?> In the iauth file: <?php /* Created by JonTheWong @ Zenith Media Canada - www.zenithmedia.ca Visit our public repo - https://github.com/JonTheWong/whmcs-autoauth-invoice */ $whmcsurl = "https://www.webbsnacks.se/whmcs/dologin.php"; /* replace with your url */ $autoauthkey = "Correct_password"; /* same as in configuration.php */ $secretkey = "A_new_key_generated"; /* generate a new key for this script */ if (md5($_GET['email'].$secretkey) != $_GET['zmkey']) die('Något fel har skett, vänligen kontakta oss på info@webbsnacks.se för att gå vidare.'); $email = $_GET['email']; $timestamp = time(); $hash = sha1($email.$timestamp.$autoauthkey); $goto = "viewinvoice.php?id=".$_GET['invoice']; $url = $whmcsurl."?email=$email&timestamp=$timestamp&hash=$hash&goto=".urlencode($goto); header("Location: $url"); exit; ?> Do anyone know what the issue might be? Since im not getting the "die" text, there should be nothing wrong with the hash, correct?
  18. I'm using WHMCS 7.7.1 & WordPress. I have integrate WordPress with WHMCS using whmcs-bridge. Problem is, a client register for hosting and domain & complete the payment for the invoice but after his payment the invoice still showing unpaid. Note that: After payment client redirecting to client area this one working fine. Only invoice showing unpaid Please help me to solve it
  19. Hi all i need to solve a problem with a wrong invoice ( obv paid from my client ) due a wrong data insert in registration from client. in my 7.5 whmcs version there's checked "Store Client Data Snapshot" option and it's working correctly, i need so ( i think that is the only way ) modify wrong data from db table mod_invoicedata.customfields and mod_invoicedata.clientdetails but value that i need to change is into a big array and i don't know how touch correctly it. Someone has some suggestions or workaround to solve this problem that i think could be really common after whmcs upgrade system and changing ? Thank you so much. Regards
  20. Hello everyone, Well i forget to put the Cron Job task in my Cpanel runing every 5 minutes so, and now after 2 month many invoices as not sent and not due or generated automatically ,the right question is how can i generate all the invoices the cron task usually create for all clients ? Because now all the 2 month automatic invoices is not here only the transaction ID from PayPal and CoinGate, but the invoice is not created/generated by the automatic system and i have more than two thousand clients so how can i generate again all invoice and put all has payed marked pay and others unpaid if unpaid ? I only found this issue after 2 month so now i many "automatic" invoice is not here, there is a way to generate all invoice again ? and mark payed if the transaction is on that month, or a smiliar way ? Very Important Regards Screamfox
  21. Hello Quick question... in the backend/admin area of WHMCS, where can I edit the invoice and the invoice logo that is attached to an email that is sent. I have installed an Invoice Style add-on, however, it seems to not be affecting the attachment invoice that is sent to clients. Where can I edit that logo and where does it take the logo from? Thank you
  22. Original invoice amount is $100 Payment of $50 applied But the invoice amount still stay $100 on notices, admin and client area etc even while the amount due is now $50 and correct in all calculations. While not a problem by itself it cause unnecessry support calls and misunderstandings when the invoice is still for $100 and not $50 Even if the PDF invoice can't be changed, surely the notices and outstanding invoices can show the DUE AMOUNT for that invoice instead than original invoice amount?
  23. Hi All, Has anyone had any experience with a hook updating an invoice? I want to use InvoicePaidPreEmail to append a credit card fee to the invoice. I understand WHMCS is not willing to budge on per Gateway charges, but I can disclose to my customers that there is a credit card fee of x% and then send the right payment value to the bank, once it returns as approved I can then append it to the invoice and prior to the email being sent it will now include the charge on the invoice. Any help with this is appreciated.
  24. Hi Guys, A much asked for feature over the last few years for API users has been the ability to retrieve PDF Invoices from the system. I stumbled across a link from The Wandering System Admin who has done a great job at dissecting the system and getting it to spit out a PDF invoice. (http://thewanderingsysadmin.net/?p=35) However I'm having a bit of trouble getting it working. I've created the request and passed it $username,$password & a static invoice ID of 10 however I'm getting a response of, I've created the api request file in /includes/api/genpdffile.php however it's still not working. Happy to drop the working code once I get it, because I know a few people are looking for it on here, and WHMCS support are yet to implement this natively. Thanks to anyone with any ideas. Anyone can follow the ticket if they want to keep updated on the issue.
  25. How do I add 2CO recurring payment (subscribed without WHMCS) to WHMCS invoice?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated