[2025-02-07 04:31:04] Production.INFO: Call prc_getBillingAccounts(1,2025-02-07,'','0') [2025-02-07 04:31:04] Production.INFO: Array ( [0] => stdClass Object ( [AccountID] => 26 [NextInvoiceDate] => 2025-02-07 [AccountName] => Chris Lumley [ServiceID] => 0 ) [1] => stdClass Object ( [AccountID] => 155 [NextInvoiceDate] => 2025-02-07 [AccountName] => Dominos 10388 (Sandeep Chaudhari) [ServiceID] => 0 ) [2] => stdClass Object ( [AccountID] => 157 [NextInvoiceDate] => 2025-02-07 [AccountName] => Dominos 10588 (Gurinder Saini) [ServiceID] => 0 ) [3] => stdClass Object ( [AccountID] => 232 [NextInvoiceDate] => 2025-02-07 [AccountName] => Jenopher Inc. [ServiceID] => 0 ) ) [2025-02-07 04:31:04] Production.INFO: AccountID =26 FirstInvoiceSend 0 [2025-02-07 04:31:04] Production.INFO: LastInvoiceDate 2025-01-07 NextInvoiceDate 2025-02-07 [2025-02-07 04:31:04] Production.INFO: LastChargeDate 2025-01-07 NextChargeDate 2025-02-06 [2025-02-07 04:31:04] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-02-07 04:31:04] Production.INFO: ========================== Invoice Send Start ============================= [2025-02-07 04:31:04] Production.INFO: Invoice::sendInvoice(1,26,2025-01-07,2025-02-07,billing@onswitchit.ca) [2025-02-07 04:31:04] Production.INFO: start Date =2025-01-07 EndDate =2025-02-06 23:59:59 [2025-02-07 04:31:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-02-07 04:31:04] Production.INFO: InvoiceTemplate->Terms =



This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.


[2025-02-07 04:31:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-02-07 04:31:04] Production.INFO: AlreadyBilled [2025-02-07 04:31:04] Production.INFO: Reseller ==> 0 [2025-02-07 04:31:04] Production.INFO: original start date ==>2025-01-07 changed start date ==>2025-01-07 00:00:00 original end date ==>2025-02-06 23:59:59 changed end date ==>2025-02-06 23:59:59 [2025-02-07 04:31:04] Production.INFO: Invoice::getAccountUsageTotal(1,26,2025-01-07,2025-02-06 23:59:59) [2025-02-07 04:31:04] Production.INFO: TotalCharges - 0 [2025-02-07 04:31:04] Production.INFO: TotalUsageCharges - 0.00 [2025-02-07 04:31:04] Production.INFO: Usage Over [2025-02-07 04:31:04] Production.INFO: Call prc_getAccountSubscription(26,0) [2025-02-07 04:31:04] Production.INFO: SUBSCRIPTION 2 [2025-02-07 04:31:04] Production.INFO: ============================Subscription Start ================= [2025-02-07 04:31:04] Production.INFO: SubscriptionID - 1 [2025-02-07 04:31:04] Production.INFO: isAdvanceSubscription - 1 [2025-02-07 04:31:04] Production.INFO: SubscriptionStartDate =2025-02-07 - SubscriptionEndDate = 2025-03-06 [2025-02-07 04:31:04] Production.INFO: NewNextChargeDate =2025-03-06 00:00:00 [2025-02-07 04:31:04] Production.INFO: EndDate =2024-05-06 00:00:00 [2025-02-07 04:31:04] Production.INFO: NewEndDate1 =2024-05-07 [2025-02-07 04:31:04] Production.INFO: SubscriptionDate [2025-02-07 04:31:04] Production.INFO: Array ( [StartDate] => 2024-05-07 [EndDate] => 2025-03-06 00:00:00 [AlreadyCharged] => 0 ) [2025-02-07 04:31:04] Production.INFO: AccountSubscription StartDate 2017-06-06 StartDate 2025-01-07 [2025-02-07 04:31:04] Production.INFO: SubscriptionID - 2024-05-07=====2025-03-06 00:00:00 [2025-02-07 04:31:04] Production.INFO: AccountSubscriptionID - 43 === 2017-06-06=====2024-04-29 [2025-02-07 04:31:04] Production.INFO: ============================Subscription End ================= [2025-02-07 04:31:04] Production.INFO: ============================Subscription Start ================= [2025-02-07 04:31:04] Production.INFO: SubscriptionID - 4 [2025-02-07 04:31:04] Production.INFO: isAdvanceSubscription - 4 [2025-02-07 04:31:04] Production.INFO: SubscriptionStartDate =2025-02-07 - SubscriptionEndDate = 2025-03-06 [2025-02-07 04:31:04] Production.INFO: NewNextChargeDate =2025-03-06 00:00:00 [2025-02-07 04:31:04] Production.INFO: EndDate =2024-05-06 00:00:00 [2025-02-07 04:31:04] Production.INFO: NewEndDate1 =2024-05-07 [2025-02-07 04:31:04] Production.INFO: SubscriptionDate [2025-02-07 04:31:04] Production.INFO: Array ( [StartDate] => 2024-05-07 [EndDate] => 2025-03-06 00:00:00 [AlreadyCharged] => 0 ) [2025-02-07 04:31:04] Production.INFO: AccountSubscription StartDate 2017-06-06 StartDate 2025-01-07 [2025-02-07 04:31:04] Production.INFO: SubscriptionID - 2024-05-07=====2025-03-06 00:00:00 [2025-02-07 04:31:04] Production.INFO: AccountSubscriptionID - 44 === 2017-06-06=====2024-04-29 [2025-02-07 04:31:04] Production.INFO: ============================Subscription End ================= [2025-02-07 04:31:04] Production.INFO: SUBSCRIPTION Over [2025-02-07 04:31:04] Production.INFO: Call prc_getAccountOneOffCharge(26,0,2025-01-07,2025-02-07 23:59:59) [2025-02-07 04:31:04] Production.INFO: AccountOneOffCharge 0 [2025-02-07 04:31:04] Production.INFO: AccountOneOffCharge Over [2025-02-07 04:31:04] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-02-07 04:31:04] Production.INFO: New UsageDates 2025-01-07 - 2025-02-06 23:59:59 [2025-02-07 04:31:04] Production.INFO: SubTotal 0 [2025-02-07 04:31:04] Production.INFO: SubTotalWithouttaxTotal 0 [2025-02-07 04:31:04] Production.INFO: AccountOneOffCharge Tax Over [2025-02-07 04:31:04] Production.INFO: TotalTax 0 [2025-02-07 04:31:04] Production.INFO: InvoiceGrandTotal 0 [2025-02-07 04:31:04] Production.INFO: InvoiceTaxAmount 0 [2025-02-07 04:31:04] Production.INFO: GrandTotal 0 [2025-02-07 04:31:04] Production.INFO: SubTotal 0.00 [2025-02-07 04:31:04] Production.INFO: TotalDue 0.00 [2025-02-07 04:31:04] Production.INFO: Reseller ==> 0 [2025-02-07 04:31:04] Production.INFO: original start date ==>2025-01-07 changed start date ==>2025-01-07 00:00:00 original end date ==>2025-02-06 23:59:59 changed end date ==>2025-02-06 23:59:59 [2025-02-07 04:31:04] Production.INFO: CALL prc_getInvoiceUsage(1,'26','0','1','2025-01-07 00:00:00','2025-02-06 23:59:59',0) [2025-02-07 04:31:04] Production.INFO: PDF Generation start [2025-02-07 04:31:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/26/Invoices/2025/02/07/Invoice-chris-lumley-inv11477-from-01-07-2025-to-02-06-2025-10411.pdf [2025-02-07 04:31:05] Production.INFO: On Linux [2025-02-07 04:31:06] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/26/Invoices/2025/02/07/footer-chris-lumley-inv11477-from-01-07-2025-to-02-06-2025-10411.html" "/var/www/tmp/1/26/Invoices/2025/02/07/Invoice-chris-lumley-inv11477-from-01-07-2025-to-02-06-2025-10411.html" "/var/www/tmp/1/26/Invoices/2025/02/07/Invoice-chris-lumley-inv11477-from-01-07-2025-to-02-06-2025-10411.pdf" [2025-02-07 04:31:06] Production.INFO: [2025-02-07 04:31:06] Production.INFO: /var/www/tmp/1/26/Invoices/2025/02/07/Invoice-chris-lumley-inv11477-from-01-07-2025-to-02-06-2025-10411.html [2025-02-07 04:31:06] Production.INFO: /var/www/tmp/1/26/Invoices/2025/02/07/header-chris-lumley-inv11477-from-01-07-2025-to-02-06-2025-10411.html [2025-02-07 04:31:06] Production.INFO: /var/www/tmp/1/26/Invoices/2025/02/07/footer-chris-lumley-inv11477-from-01-07-2025-to-02-06-2025-10411.html [2025-02-07 04:31:06] Production.INFO: Invoice generation PDF path [2025-02-07 04:31:06] Production.INFO: PDF fullPath 1/26/Invoices/2025/02/07/Invoice-chris-lumley-inv11477-from-01-07-2025-to-02-06-2025-10411.pdf [2025-02-07 04:31:06] Production.INFO: Generate Usage File Start [2025-02-07 04:31:06] Production.INFO: Usage File fullPath 1/26/InvoiceUsageFile/2025/02/07/chris-lumley-07-01-2025-00-00-00-TO-06-02-2025-23-59-59_9906__41dec6d0-e536-11ef-a435-c5d2e924a6c5.csv [2025-02-07 04:31:07] Production.INFO: Sending Email to Staff over [2025-02-07 04:31:07] Production.INFO: Email Status 1 [2025-02-07 04:31:07] Production.INFO: Sending Email to Customer [2025-02-07 04:31:07] Production.INFO: =========== Email Sending over =========== [2025-02-07 04:31:07] Production.INFO: =========== Returning as Success =========== AccountID 26 [2025-02-07 04:31:07] Production.INFO: Invoice::sendInvoice done [2025-02-07 04:31:07] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-02-07 04:31:07] Production.INFO: Invoice Committed AccountID = 26 [2025-02-07 04:31:08] Production.INFO: =========== Updating InvoiceDate =========== [2025-02-07 04:31:08] Production.INFO: NextInvoice 2025-02-07 2025-03-06 [2025-02-07 04:31:08] Production.INFO: new dates [2025-02-07 04:31:08] Production.INFO: LastInvoiceDate 2025-02-07 NextInvoiceDate 2025-03-07 [2025-02-07 04:31:08] Production.INFO: LastChargeDate 2025-02-07 NextChargeDate 2025-03-06 [2025-02-07 04:31:08] Production.INFO: =========== Updated InvoiceDate =========== [2025-02-07 04:31:08] Production.INFO: ========================== Invoice Send End ============================= [2025-02-07 04:31:08] Production.INFO: AccountID =155 FirstInvoiceSend 0 [2025-02-07 04:31:08] Production.INFO: LastInvoiceDate 2025-01-07 NextInvoiceDate 2025-02-07 [2025-02-07 04:31:08] Production.INFO: LastChargeDate 2025-01-07 NextChargeDate 2025-02-06 [2025-02-07 04:31:08] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-02-07 04:31:08] Production.INFO: ========================== Invoice Send Start ============================= [2025-02-07 04:31:08] Production.INFO: Invoice::sendInvoice(1,155,2025-01-07,2025-02-07,billing@onswitchit.ca) [2025-02-07 04:31:08] Production.INFO: start Date =2025-01-07 EndDate =2025-02-06 23:59:59 [2025-02-07 04:31:08] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-02-07 04:31:08] Production.INFO: InvoiceTemplate->Terms =



This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.


[2025-02-07 04:31:08] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-02-07 04:31:08] Production.INFO: AlreadyBilled [2025-02-07 04:31:08] Production.INFO: Reseller ==> 0 [2025-02-07 04:31:08] Production.INFO: original start date ==>2025-01-07 changed start date ==>2025-01-07 00:00:00 original end date ==>2025-02-06 23:59:59 changed end date ==>2025-02-06 23:59:59 [2025-02-07 04:31:08] Production.INFO: Invoice::getAccountUsageTotal(1,155,2025-01-07,2025-02-06 23:59:59) [2025-02-07 04:31:08] Production.INFO: TotalCharges - 0 [2025-02-07 04:31:08] Production.INFO: TotalUsageCharges - 0.00 [2025-02-07 04:31:08] Production.INFO: Usage Over [2025-02-07 04:31:08] Production.INFO: Call prc_getAccountSubscription(155,0) [2025-02-07 04:31:08] Production.INFO: SUBSCRIPTION 3 [2025-02-07 04:31:08] Production.INFO: ============================Subscription Start ================= [2025-02-07 04:31:08] Production.INFO: SubscriptionID - 5 [2025-02-07 04:31:08] Production.INFO: isAdvanceSubscription - 5 [2025-02-07 04:31:08] Production.INFO: SubscriptionStartDate =2025-02-07 - SubscriptionEndDate = 2025-03-06 [2025-02-07 04:31:08] Production.INFO: NewNextChargeDate =2025-03-06 00:00:00 [2025-02-07 04:31:08] Production.INFO: EndDate =2025-02-06 00:00:00 [2025-02-07 04:31:08] Production.INFO: NewEndDate1 =2025-02-07 [2025-02-07 04:31:08] Production.INFO: SubscriptionDate [2025-02-07 04:31:08] Production.INFO: Array ( [StartDate] => 2025-02-07 [EndDate] => 2025-03-06 00:00:00 [AlreadyCharged] => 0 ) [2025-02-07 04:31:08] Production.INFO: AccountSubscription StartDate 2021-05-18 StartDate 2025-01-07 [2025-02-07 04:31:08] Production.INFO: SubscriptionID - 2025-02-07=====2025-03-06 00:00:00 [2025-02-07 04:31:08] Production.INFO: AccountSubscriptionID - 613 === 2021-05-18=====2026-02-07 [2025-02-07 04:31:08] Production.INFO: regular Advance Subscription [2025-02-07 04:31:08] Production.INFO: First Time False 2021-05-18 2025-02-07 [2025-02-07 04:31:08] Production.INFO: StartDate 2025-02-07 AccountSubscription->StartDate 2021-05-18 EndDate 2025-03-06 00:00:00 AccountSubscription->EndDate 2026-02-07 [2025-02-07 04:31:08] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-07 04:31:08] Production.INFO: AccountSubscription::getSubscriptionAmount(613,2025-02-07,2025-03-06 00:00:00,,0) [2025-02-07 04:31:08] Production.INFO: SubscriptionCharge - 75 [2025-02-07 04:31:08] Production.INFO: Already Invoice Subscription 0 [2025-02-07 04:31:08] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(155,1,5,2025-02-07,2025-03-06 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,613) [2025-02-07 04:31:08] Production.INFO: DiscountAmount 0.000000 [2025-02-07 04:31:08] Production.INFO: DiscountType [2025-02-07 04:31:08] Production.INFO: SubscriptionCharge 75 [2025-02-07 04:31:08] Production.INFO: New SubscriptionCharge 75 [2025-02-07 04:31:08] Production.INFO: TotalSubscriptionCharge - 75.00 [2025-02-07 04:31:08] Production.INFO: ============================Subscription End ================= [2025-02-07 04:31:08] Production.INFO: ============================Subscription Start ================= [2025-02-07 04:31:08] Production.INFO: SubscriptionID - 4 [2025-02-07 04:31:08] Production.INFO: isAdvanceSubscription - 4 [2025-02-07 04:31:08] Production.INFO: SubscriptionStartDate =2025-02-07 - SubscriptionEndDate = 2025-03-06 [2025-02-07 04:31:08] Production.INFO: NewNextChargeDate =2025-03-06 00:00:00 [2025-02-07 04:31:08] Production.INFO: EndDate =2025-02-06 00:00:00 [2025-02-07 04:31:08] Production.INFO: NewEndDate1 =2025-02-07 [2025-02-07 04:31:08] Production.INFO: SubscriptionDate [2025-02-07 04:31:08] Production.INFO: Array ( [StartDate] => 2025-02-07 [EndDate] => 2025-03-06 00:00:00 [AlreadyCharged] => 0 ) [2025-02-07 04:31:08] Production.INFO: AccountSubscription StartDate 2021-05-18 StartDate 2025-01-07 [2025-02-07 04:31:08] Production.INFO: SubscriptionID - 2025-02-07=====2025-03-06 00:00:00 [2025-02-07 04:31:08] Production.INFO: AccountSubscriptionID - 614 === 2021-05-18=====2026-02-07 [2025-02-07 04:31:08] Production.INFO: regular Advance Subscription [2025-02-07 04:31:08] Production.INFO: First Time False 2021-05-18 2025-02-07 [2025-02-07 04:31:08] Production.INFO: StartDate 2025-02-07 AccountSubscription->StartDate 2021-05-18 EndDate 2025-03-06 00:00:00 AccountSubscription->EndDate 2026-02-07 [2025-02-07 04:31:08] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-07 04:31:08] Production.INFO: AccountSubscription::getSubscriptionAmount(614,2025-02-07,2025-03-06 00:00:00,,0) [2025-02-07 04:31:08] Production.INFO: SubscriptionCharge - 2.5 [2025-02-07 04:31:08] Production.INFO: Already Invoice Subscription 0 [2025-02-07 04:31:08] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(155,1,4,2025-02-07,2025-03-06 00:00:00,e911 address registration (15197463900 - 65 University Ave E Waterloo, ON N2J 2V9 Canada),2.5,2.5,1,614) [2025-02-07 04:31:08] Production.INFO: DiscountAmount 0.000000 [2025-02-07 04:31:08] Production.INFO: DiscountType [2025-02-07 04:31:08] Production.INFO: SubscriptionCharge 2.5 [2025-02-07 04:31:08] Production.INFO: New SubscriptionCharge 2.5 [2025-02-07 04:31:08] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-02-07 04:31:08] Production.INFO: ============================Subscription End ================= [2025-02-07 04:31:08] Production.INFO: ============================Subscription Start ================= [2025-02-07 04:31:08] Production.INFO: SubscriptionID - 11 [2025-02-07 04:31:08] Production.INFO: isAdvanceSubscription - 11 [2025-02-07 04:31:08] Production.INFO: SubscriptionStartDate =2025-02-07 - SubscriptionEndDate = 2025-03-06 [2025-02-07 04:31:08] Production.INFO: NewNextChargeDate =2025-03-06 00:00:00 [2025-02-07 04:31:08] Production.INFO: EndDate =2025-02-06 00:00:00 [2025-02-07 04:31:08] Production.INFO: NewEndDate1 =2025-02-07 [2025-02-07 04:31:08] Production.INFO: SubscriptionDate [2025-02-07 04:31:08] Production.INFO: Array ( [StartDate] => 2025-02-07 [EndDate] => 2025-03-06 00:00:00 [AlreadyCharged] => 0 ) [2025-02-07 04:31:08] Production.INFO: AccountSubscription StartDate 2021-05-18 StartDate 2025-01-07 [2025-02-07 04:31:08] Production.INFO: SubscriptionID - 2025-02-07=====2025-03-06 00:00:00 [2025-02-07 04:31:08] Production.INFO: AccountSubscriptionID - 615 === 2021-05-18=====2026-02-07 [2025-02-07 04:31:08] Production.INFO: regular Advance Subscription [2025-02-07 04:31:08] Production.INFO: First Time False 2021-05-18 2025-02-07 [2025-02-07 04:31:08] Production.INFO: StartDate 2025-02-07 AccountSubscription->StartDate 2021-05-18 EndDate 2025-03-06 00:00:00 AccountSubscription->EndDate 2026-02-07 [2025-02-07 04:31:08] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-07 04:31:08] Production.INFO: AccountSubscription::getSubscriptionAmount(615,2025-02-07,2025-03-06 00:00:00,,0) [2025-02-07 04:31:08] Production.INFO: SubscriptionCharge - -5 [2025-02-07 04:31:08] Production.INFO: Already Invoice Subscription 0 [2025-02-07 04:31:08] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(155,1,11,2025-02-07,2025-03-06 00:00:00,Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service,-25,-5,5,615) [2025-02-07 04:31:08] Production.INFO: DiscountAmount 0.000000 [2025-02-07 04:31:08] Production.INFO: DiscountType [2025-02-07 04:31:08] Production.INFO: SubscriptionCharge -25 [2025-02-07 04:31:08] Production.INFO: New SubscriptionCharge -25 [2025-02-07 04:31:08] Production.INFO: TotalSubscriptionCharge - -25.00 [2025-02-07 04:31:08] Production.INFO: ============================Subscription End ================= [2025-02-07 04:31:08] Production.INFO: SUBSCRIPTION Over [2025-02-07 04:31:08] Production.INFO: Call prc_getAccountOneOffCharge(155,0,2025-01-07,2025-02-07 23:59:59) [2025-02-07 04:31:08] Production.INFO: AccountOneOffCharge 0 [2025-02-07 04:31:08] Production.INFO: AccountOneOffCharge Over [2025-02-07 04:31:08] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-02-07 04:31:08] Production.INFO: New UsageDates 2025-01-07 - 2025-02-06 23:59:59 [2025-02-07 04:31:08] Production.INFO: SubTotal 52.5 [2025-02-07 04:31:08] Production.INFO: SubTotalWithouttaxTotal 0 [2025-02-07 04:31:08] Production.INFO: AccountOneOffCharge Tax Over [2025-02-07 04:31:08] Production.INFO: TotalTax 6.825 [2025-02-07 04:31:08] Production.INFO: InvoiceGrandTotal 59.325 [2025-02-07 04:31:08] Production.INFO: InvoiceTaxAmount 6.83 [2025-02-07 04:31:08] Production.INFO: GrandTotal 59.33 [2025-02-07 04:31:08] Production.INFO: SubTotal 52.50 [2025-02-07 04:31:08] Production.INFO: TotalDue 59.33 [2025-02-07 04:31:08] Production.INFO: Reseller ==> 0 [2025-02-07 04:31:08] Production.INFO: original start date ==>2025-01-07 changed start date ==>2025-01-07 00:00:00 original end date ==>2025-02-06 23:59:59 changed end date ==>2025-02-06 23:59:59 [2025-02-07 04:31:08] Production.INFO: CALL prc_getInvoiceUsage(1,'155','0','1','2025-01-07 00:00:00','2025-02-06 23:59:59',0) [2025-02-07 04:31:08] Production.INFO: PDF Generation start [2025-02-07 04:31:09] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/155/Invoices/2025/02/07/Invoice-dominos-10388-sandeep-chaudhari-inv11478-from-01-07-2025-to-02-06-2025-10412.pdf [2025-02-07 04:31:09] Production.INFO: On Linux [2025-02-07 04:31:10] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/155/Invoices/2025/02/07/footer-dominos-10388-sandeep-chaudhari-inv11478-from-01-07-2025-to-02-06-2025-10412.html" "/var/www/tmp/1/155/Invoices/2025/02/07/Invoice-dominos-10388-sandeep-chaudhari-inv11478-from-01-07-2025-to-02-06-2025-10412.html" "/var/www/tmp/1/155/Invoices/2025/02/07/Invoice-dominos-10388-sandeep-chaudhari-inv11478-from-01-07-2025-to-02-06-2025-10412.pdf" [2025-02-07 04:31:10] Production.INFO: [2025-02-07 04:31:10] Production.INFO: /var/www/tmp/1/155/Invoices/2025/02/07/Invoice-dominos-10388-sandeep-chaudhari-inv11478-from-01-07-2025-to-02-06-2025-10412.html [2025-02-07 04:31:10] Production.INFO: /var/www/tmp/1/155/Invoices/2025/02/07/header-dominos-10388-sandeep-chaudhari-inv11478-from-01-07-2025-to-02-06-2025-10412.html [2025-02-07 04:31:10] Production.INFO: /var/www/tmp/1/155/Invoices/2025/02/07/footer-dominos-10388-sandeep-chaudhari-inv11478-from-01-07-2025-to-02-06-2025-10412.html [2025-02-07 04:31:10] Production.INFO: Invoice generation PDF path [2025-02-07 04:31:10] Production.INFO: PDF fullPath 1/155/Invoices/2025/02/07/Invoice-dominos-10388-sandeep-chaudhari-inv11478-from-01-07-2025-to-02-06-2025-10412.pdf [2025-02-07 04:31:10] Production.INFO: Generate Usage File Start [2025-02-07 04:31:10] Production.INFO: Usage File fullPath 1/155/InvoiceUsageFile/2025/02/07/dominos-10388-sandeep-chaudhari-07-01-2025-00-00-00-TO-06-02-2025-23-59-59_6975__444aec00-e536-11ef-a696-192c14bfc5e0.csv [2025-02-07 04:31:11] Production.INFO: Sending Email to Staff over [2025-02-07 04:31:11] Production.INFO: Email Status 1 [2025-02-07 04:31:11] Production.INFO: Sending Email to Customer [2025-02-07 04:31:12] Production.INFO: Email Try 10412 1 [2025-02-07 04:31:14] Production.INFO: Email Try 10412 2 [2025-02-07 04:31:17] Production.INFO: Email Try 10412 3 [2025-02-07 04:31:17] Production.INFO: Email Try 10412 1 [2025-02-07 04:31:17] Production.INFO: =========== Email Sending over =========== [2025-02-07 04:31:17] Production.INFO: =========== Returning as Success =========== AccountID 155 [2025-02-07 04:31:17] Production.INFO: Invoice::sendInvoice done [2025-02-07 04:31:17] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-02-07 04:31:17] Production.INFO: Invoice Committed AccountID = 155 [2025-02-07 04:31:17] Production.INFO: =========== Updating InvoiceDate =========== [2025-02-07 04:31:17] Production.INFO: NextInvoice 2025-02-07 2025-03-06 [2025-02-07 04:31:17] Production.INFO: new dates [2025-02-07 04:31:17] Production.INFO: LastInvoiceDate 2025-02-07 NextInvoiceDate 2025-03-07 [2025-02-07 04:31:17] Production.INFO: LastChargeDate 2025-02-07 NextChargeDate 2025-03-06 [2025-02-07 04:31:17] Production.INFO: =========== Updated InvoiceDate =========== [2025-02-07 04:31:17] Production.INFO: ========================== Invoice Send End ============================= [2025-02-07 04:31:17] Production.INFO: AccountID =157 FirstInvoiceSend 0 [2025-02-07 04:31:17] Production.INFO: LastInvoiceDate 2025-01-07 NextInvoiceDate 2025-02-07 [2025-02-07 04:31:17] Production.INFO: LastChargeDate 2025-01-07 NextChargeDate 2025-02-06 [2025-02-07 04:31:17] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-02-07 04:31:17] Production.INFO: ========================== Invoice Send Start ============================= [2025-02-07 04:31:17] Production.INFO: Invoice::sendInvoice(1,157,2025-01-07,2025-02-07,billing@onswitchit.ca) [2025-02-07 04:31:17] Production.INFO: start Date =2025-01-07 EndDate =2025-02-06 23:59:59 [2025-02-07 04:31:17] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-02-07 04:31:17] Production.INFO: InvoiceTemplate->Terms =



This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.


[2025-02-07 04:31:17] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-02-07 04:31:17] Production.INFO: AlreadyBilled [2025-02-07 04:31:17] Production.INFO: Reseller ==> 0 [2025-02-07 04:31:17] Production.INFO: original start date ==>2025-01-07 changed start date ==>2025-01-07 00:00:00 original end date ==>2025-02-06 23:59:59 changed end date ==>2025-02-06 23:59:59 [2025-02-07 04:31:17] Production.INFO: Invoice::getAccountUsageTotal(1,157,2025-01-07,2025-02-06 23:59:59) [2025-02-07 04:31:17] Production.INFO: TotalCharges - 0 [2025-02-07 04:31:17] Production.INFO: TotalUsageCharges - 0.00 [2025-02-07 04:31:17] Production.INFO: Usage Over [2025-02-07 04:31:17] Production.INFO: Call prc_getAccountSubscription(157,0) [2025-02-07 04:31:17] Production.INFO: SUBSCRIPTION 3 [2025-02-07 04:31:17] Production.INFO: ============================Subscription Start ================= [2025-02-07 04:31:17] Production.INFO: SubscriptionID - 5 [2025-02-07 04:31:17] Production.INFO: isAdvanceSubscription - 5 [2025-02-07 04:31:17] Production.INFO: SubscriptionStartDate =2025-02-07 - SubscriptionEndDate = 2025-03-06 [2025-02-07 04:31:17] Production.INFO: NewNextChargeDate =2025-03-06 00:00:00 [2025-02-07 04:31:17] Production.INFO: EndDate =2025-02-06 00:00:00 [2025-02-07 04:31:17] Production.INFO: NewEndDate1 =2025-02-07 [2025-02-07 04:31:17] Production.INFO: SubscriptionDate [2025-02-07 04:31:17] Production.INFO: Array ( [StartDate] => 2025-02-07 [EndDate] => 2025-03-06 00:00:00 [AlreadyCharged] => 0 ) [2025-02-07 04:31:17] Production.INFO: AccountSubscription StartDate 2021-08-06 StartDate 2025-01-07 [2025-02-07 04:31:17] Production.INFO: SubscriptionID - 2025-02-07=====2025-03-06 00:00:00 [2025-02-07 04:31:17] Production.INFO: AccountSubscriptionID - 619 === 2021-08-06=====2026-02-07 [2025-02-07 04:31:17] Production.INFO: regular Advance Subscription [2025-02-07 04:31:17] Production.INFO: First Time False 2021-08-06 2025-02-07 [2025-02-07 04:31:17] Production.INFO: StartDate 2025-02-07 AccountSubscription->StartDate 2021-08-06 EndDate 2025-03-06 00:00:00 AccountSubscription->EndDate 2026-02-07 [2025-02-07 04:31:17] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-07 04:31:17] Production.INFO: AccountSubscription::getSubscriptionAmount(619,2025-02-07,2025-03-06 00:00:00,,0) [2025-02-07 04:31:17] Production.INFO: SubscriptionCharge - 75 [2025-02-07 04:31:17] Production.INFO: Already Invoice Subscription 0 [2025-02-07 04:31:17] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(157,1,5,2025-02-07,2025-03-06 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,619) [2025-02-07 04:31:17] Production.INFO: DiscountAmount 0.000000 [2025-02-07 04:31:17] Production.INFO: DiscountType [2025-02-07 04:31:17] Production.INFO: SubscriptionCharge 75 [2025-02-07 04:31:17] Production.INFO: New SubscriptionCharge 75 [2025-02-07 04:31:17] Production.INFO: TotalSubscriptionCharge - 75.00 [2025-02-07 04:31:17] Production.INFO: ============================Subscription End ================= [2025-02-07 04:31:17] Production.INFO: ============================Subscription Start ================= [2025-02-07 04:31:17] Production.INFO: SubscriptionID - 4 [2025-02-07 04:31:17] Production.INFO: isAdvanceSubscription - 4 [2025-02-07 04:31:17] Production.INFO: SubscriptionStartDate =2025-02-07 - SubscriptionEndDate = 2025-03-06 [2025-02-07 04:31:17] Production.INFO: NewNextChargeDate =2025-03-06 00:00:00 [2025-02-07 04:31:17] Production.INFO: EndDate =2025-02-06 00:00:00 [2025-02-07 04:31:17] Production.INFO: NewEndDate1 =2025-02-07 [2025-02-07 04:31:17] Production.INFO: SubscriptionDate [2025-02-07 04:31:17] Production.INFO: Array ( [StartDate] => 2025-02-07 [EndDate] => 2025-03-06 00:00:00 [AlreadyCharged] => 0 ) [2025-02-07 04:31:17] Production.INFO: AccountSubscription StartDate 2021-08-06 StartDate 2025-01-07 [2025-02-07 04:31:17] Production.INFO: SubscriptionID - 2025-02-07=====2025-03-06 00:00:00 [2025-02-07 04:31:17] Production.INFO: AccountSubscriptionID - 620 === 2021-08-06=====2026-02-07 [2025-02-07 04:31:17] Production.INFO: regular Advance Subscription [2025-02-07 04:31:17] Production.INFO: First Time False 2021-08-06 2025-02-07 [2025-02-07 04:31:17] Production.INFO: StartDate 2025-02-07 AccountSubscription->StartDate 2021-08-06 EndDate 2025-03-06 00:00:00 AccountSubscription->EndDate 2026-02-07 [2025-02-07 04:31:17] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-07 04:31:17] Production.INFO: AccountSubscription::getSubscriptionAmount(620,2025-02-07,2025-03-06 00:00:00,,0) [2025-02-07 04:31:17] Production.INFO: SubscriptionCharge - 2.5 [2025-02-07 04:31:17] Production.INFO: Already Invoice Subscription 0 [2025-02-07 04:31:17] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(157,1,4,2025-02-07,2025-03-06 00:00:00,e911 address registration (12268873030 - 23 Wellington St 23 Guelph, ON N1H 3R7 Canada),2.5,2.5,1,620) [2025-02-07 04:31:17] Production.INFO: DiscountAmount 0.000000 [2025-02-07 04:31:17] Production.INFO: DiscountType [2025-02-07 04:31:17] Production.INFO: SubscriptionCharge 2.5 [2025-02-07 04:31:17] Production.INFO: New SubscriptionCharge 2.5 [2025-02-07 04:31:17] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-02-07 04:31:17] Production.INFO: ============================Subscription End ================= [2025-02-07 04:31:17] Production.INFO: ============================Subscription Start ================= [2025-02-07 04:31:17] Production.INFO: SubscriptionID - 11 [2025-02-07 04:31:17] Production.INFO: isAdvanceSubscription - 11 [2025-02-07 04:31:17] Production.INFO: SubscriptionStartDate =2025-02-07 - SubscriptionEndDate = 2025-03-06 [2025-02-07 04:31:17] Production.INFO: NewNextChargeDate =2025-03-06 00:00:00 [2025-02-07 04:31:17] Production.INFO: SubscriptionDate [2025-02-07 04:31:17] Production.INFO: Array ( [StartDate] => 2025-02-07 [EndDate] => 2025-03-06 00:00:00 [AlreadyCharged] => 0 ) [2025-02-07 04:31:17] Production.INFO: AccountSubscription StartDate 2021-08-06 StartDate 2025-01-07 [2025-02-07 04:31:17] Production.INFO: SubscriptionID - 2025-02-07=====2025-03-06 00:00:00 [2025-02-07 04:31:17] Production.INFO: AccountSubscriptionID - 621 === 2021-08-06=====2026-02-07 [2025-02-07 04:31:17] Production.INFO: regular Advance Subscription [2025-02-07 04:31:17] Production.INFO: First Time False 2021-08-06 2025-02-07 [2025-02-07 04:31:17] Production.INFO: StartDate 2025-02-07 AccountSubscription->StartDate 2021-08-06 EndDate 2025-03-06 00:00:00 AccountSubscription->EndDate 2026-02-07 [2025-02-07 04:31:17] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-07 04:31:17] Production.INFO: AccountSubscription::getSubscriptionAmount(621,2025-02-07,2025-03-06 00:00:00,,0) [2025-02-07 04:31:17] Production.INFO: SubscriptionCharge - -5 [2025-02-07 04:31:17] Production.INFO: Already Invoice Subscription 0 [2025-02-07 04:31:17] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(157,1,11,2025-02-07,2025-03-06 00:00:00,Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service,-15,-5,3,621) [2025-02-07 04:31:17] Production.INFO: DiscountAmount 0.000000 [2025-02-07 04:31:17] Production.INFO: DiscountType [2025-02-07 04:31:17] Production.INFO: SubscriptionCharge -15 [2025-02-07 04:31:17] Production.INFO: New SubscriptionCharge -15 [2025-02-07 04:31:17] Production.INFO: TotalSubscriptionCharge - -15.00 [2025-02-07 04:31:17] Production.INFO: ============================Subscription End ================= [2025-02-07 04:31:17] Production.INFO: SUBSCRIPTION Over [2025-02-07 04:31:17] Production.INFO: Call prc_getAccountOneOffCharge(157,0,2025-01-07,2025-02-07 23:59:59) [2025-02-07 04:31:17] Production.INFO: AccountOneOffCharge 0 [2025-02-07 04:31:17] Production.INFO: AccountOneOffCharge Over [2025-02-07 04:31:17] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-02-07 04:31:17] Production.INFO: New UsageDates 2025-01-07 - 2025-02-06 23:59:59 [2025-02-07 04:31:17] Production.INFO: SubTotal 62.5 [2025-02-07 04:31:17] Production.INFO: SubTotalWithouttaxTotal 0 [2025-02-07 04:31:18] Production.INFO: AccountOneOffCharge Tax Over [2025-02-07 04:31:18] Production.INFO: TotalTax 8.125 [2025-02-07 04:31:18] Production.INFO: InvoiceGrandTotal 70.625 [2025-02-07 04:31:18] Production.INFO: InvoiceTaxAmount 8.13 [2025-02-07 04:31:18] Production.INFO: GrandTotal 70.63 [2025-02-07 04:31:18] Production.INFO: SubTotal 62.50 [2025-02-07 04:31:18] Production.INFO: TotalDue 70.63 [2025-02-07 04:31:18] Production.INFO: Reseller ==> 0 [2025-02-07 04:31:18] Production.INFO: original start date ==>2025-01-07 changed start date ==>2025-01-07 00:00:00 original end date ==>2025-02-06 23:59:59 changed end date ==>2025-02-06 23:59:59 [2025-02-07 04:31:18] Production.INFO: CALL prc_getInvoiceUsage(1,'157','0','1','2025-01-07 00:00:00','2025-02-06 23:59:59',0) [2025-02-07 04:31:18] Production.INFO: PDF Generation start [2025-02-07 04:31:18] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/157/Invoices/2025/02/07/Invoice-dominos-10588-gurinder-saini-inv11479-from-01-07-2025-to-02-06-2025-10413.pdf [2025-02-07 04:31:18] Production.INFO: On Linux [2025-02-07 04:31:19] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/157/Invoices/2025/02/07/footer-dominos-10588-gurinder-saini-inv11479-from-01-07-2025-to-02-06-2025-10413.html" "/var/www/tmp/1/157/Invoices/2025/02/07/Invoice-dominos-10588-gurinder-saini-inv11479-from-01-07-2025-to-02-06-2025-10413.html" "/var/www/tmp/1/157/Invoices/2025/02/07/Invoice-dominos-10588-gurinder-saini-inv11479-from-01-07-2025-to-02-06-2025-10413.pdf" [2025-02-07 04:31:19] Production.INFO: [2025-02-07 04:31:19] Production.INFO: /var/www/tmp/1/157/Invoices/2025/02/07/Invoice-dominos-10588-gurinder-saini-inv11479-from-01-07-2025-to-02-06-2025-10413.html [2025-02-07 04:31:19] Production.INFO: /var/www/tmp/1/157/Invoices/2025/02/07/header-dominos-10588-gurinder-saini-inv11479-from-01-07-2025-to-02-06-2025-10413.html [2025-02-07 04:31:19] Production.INFO: /var/www/tmp/1/157/Invoices/2025/02/07/footer-dominos-10588-gurinder-saini-inv11479-from-01-07-2025-to-02-06-2025-10413.html [2025-02-07 04:31:19] Production.INFO: Invoice generation PDF path [2025-02-07 04:31:19] Production.INFO: PDF fullPath 1/157/Invoices/2025/02/07/Invoice-dominos-10588-gurinder-saini-inv11479-from-01-07-2025-to-02-06-2025-10413.pdf [2025-02-07 04:31:19] Production.INFO: Generate Usage File Start [2025-02-07 04:31:19] Production.INFO: Usage File fullPath 1/157/InvoiceUsageFile/2025/02/07/dominos-10588-gurinder-saini-07-01-2025-00-00-00-TO-06-02-2025-23-59-59_2760__492c1780-e536-11ef-aafa-3100e86db61d.csv [2025-02-07 04:31:19] Production.INFO: Email Sending Failed to Staff Array ( [status] => failure [message] => Something wrong with sending mail.SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting ( Email Address: billing@onswitchit.ca) ) [2025-02-07 04:31:19] Production.INFO: Sending Email to Staff over [2025-02-07 04:31:19] Production.INFO: Email Status failure [2025-02-07 04:31:19] Production.INFO: Sending Email to Customer [2025-02-07 04:31:19] Production.INFO: Email Try 10413 1 [2025-02-07 04:31:21] Production.INFO: Email Try 10413 2 [2025-02-07 04:31:23] Production.INFO: Email Try 10413 3 [2025-02-07 04:31:23] Production.INFO: =========== Email Sending over =========== [2025-02-07 04:31:23] Production.INFO: =========== Returning as Success =========== AccountID 157 [2025-02-07 04:31:23] Production.INFO: Invoice::sendInvoice done [2025-02-07 04:31:23] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-02-07 04:31:23] Production.INFO: Invoice Committed AccountID = 157 [2025-02-07 04:31:23] Production.INFO: =========== Updating InvoiceDate =========== [2025-02-07 04:31:23] Production.INFO: NextInvoice 2025-02-07 2025-03-06 [2025-02-07 04:31:23] Production.INFO: new dates [2025-02-07 04:31:23] Production.INFO: LastInvoiceDate 2025-02-07 NextInvoiceDate 2025-03-07 [2025-02-07 04:31:23] Production.INFO: LastChargeDate 2025-02-07 NextChargeDate 2025-03-06 [2025-02-07 04:31:23] Production.INFO: =========== Updated InvoiceDate =========== [2025-02-07 04:31:23] Production.INFO: ========================== Invoice Send End ============================= [2025-02-07 04:31:23] Production.INFO: AccountID =232 FirstInvoiceSend 0 [2025-02-07 04:31:23] Production.INFO: LastInvoiceDate 2025-01-07 NextInvoiceDate 2025-02-07 [2025-02-07 04:31:23] Production.INFO: LastChargeDate 2025-01-07 NextChargeDate 2025-02-06 [2025-02-07 04:31:23] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-02-07 04:31:23] Production.INFO: ========================== Invoice Send Start ============================= [2025-02-07 04:31:23] Production.INFO: Invoice::sendInvoice(1,232,2025-01-07,2025-02-07,billing@onswitchit.ca) [2025-02-07 04:31:23] Production.INFO: start Date =2025-01-07 EndDate =2025-02-06 23:59:59 [2025-02-07 04:31:23] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-02-07 04:31:23] Production.INFO: InvoiceTemplate->Terms =



This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.


[2025-02-07 04:31:23] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-02-07 04:31:23] Production.INFO: AlreadyBilled [2025-02-07 04:31:23] Production.INFO: Reseller ==> 0 [2025-02-07 04:31:23] Production.INFO: original start date ==>2025-01-07 changed start date ==>2025-01-07 00:00:00 original end date ==>2025-02-06 23:59:59 changed end date ==>2025-02-06 23:59:59 [2025-02-07 04:31:23] Production.INFO: Invoice::getAccountUsageTotal(1,232,2025-01-07,2025-02-06 23:59:59) [2025-02-07 04:31:23] Production.INFO: TotalCharges - 0 [2025-02-07 04:31:23] Production.INFO: TotalUsageCharges - 0.00 [2025-02-07 04:31:23] Production.INFO: Usage Over [2025-02-07 04:31:23] Production.INFO: Call prc_getAccountSubscription(232,0) [2025-02-07 04:31:23] Production.INFO: SUBSCRIPTION 3 [2025-02-07 04:31:23] Production.INFO: ============================Subscription Start ================= [2025-02-07 04:31:23] Production.INFO: SubscriptionID - 2 [2025-02-07 04:31:23] Production.INFO: isAdvanceSubscription - 2 [2025-02-07 04:31:24] Production.INFO: SubscriptionStartDate =2025-02-07 - SubscriptionEndDate = 2025-03-06 [2025-02-07 04:31:24] Production.INFO: NewNextChargeDate =2025-03-06 00:00:00 [2025-02-07 04:31:24] Production.INFO: EndDate =2025-02-06 00:00:00 [2025-02-07 04:31:24] Production.INFO: NewEndDate1 =2025-02-07 [2025-02-07 04:31:24] Production.INFO: SubscriptionDate [2025-02-07 04:31:24] Production.INFO: Array ( [StartDate] => 2025-02-07 [EndDate] => 2025-03-06 00:00:00 [AlreadyCharged] => 0 ) [2025-02-07 04:31:24] Production.INFO: AccountSubscription StartDate 2024-06-05 StartDate 2025-01-07 [2025-02-07 04:31:24] Production.INFO: SubscriptionID - 2025-02-07=====2025-03-06 00:00:00 [2025-02-07 04:31:24] Production.INFO: AccountSubscriptionID - 1125 === 2024-06-05=====2026-02-07 [2025-02-07 04:31:24] Production.INFO: regular Advance Subscription [2025-02-07 04:31:24] Production.INFO: First Time False 2024-06-05 2025-02-07 [2025-02-07 04:31:24] Production.INFO: StartDate 2025-02-07 AccountSubscription->StartDate 2024-06-05 EndDate 2025-03-06 00:00:00 AccountSubscription->EndDate 2026-02-07 [2025-02-07 04:31:24] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-07 04:31:24] Production.INFO: AccountSubscription::getSubscriptionAmount(1125,2025-02-07,2025-03-06 00:00:00,,0) [2025-02-07 04:31:24] Production.INFO: SubscriptionCharge - 12.99 [2025-02-07 04:31:24] Production.INFO: Already Invoice Subscription 0 [2025-02-07 04:31:24] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(232,1,2,2025-02-07,2025-03-06 00:00:00,License for an Unlimited Canada/US Cloud Phone extension (discounted - utility phone/low call volume),64.95,12.99,5,1125) [2025-02-07 04:31:24] Production.INFO: DiscountAmount 90.000000 [2025-02-07 04:31:24] Production.INFO: DiscountType Percentage [2025-02-07 04:31:24] Production.INFO: SubscriptionCharge 64.95 [2025-02-07 04:31:24] Production.INFO: New SubscriptionCharge 6.495 [2025-02-07 04:31:24] Production.INFO: TotalSubscriptionCharge - 6.50 [2025-02-07 04:31:24] Production.INFO: ============================Subscription End ================= [2025-02-07 04:31:24] Production.INFO: ============================Subscription Start ================= [2025-02-07 04:31:24] Production.INFO: SubscriptionID - 12 [2025-02-07 04:31:24] Production.INFO: isAdvanceSubscription - 12 [2025-02-07 04:31:24] Production.INFO: SubscriptionStartDate =2025-02-07 - SubscriptionEndDate = 2025-03-06 [2025-02-07 04:31:24] Production.INFO: NewNextChargeDate =2025-03-06 00:00:00 [2025-02-07 04:31:24] Production.INFO: EndDate =2025-02-06 00:00:00 [2025-02-07 04:31:24] Production.INFO: NewEndDate1 =2025-02-07 [2025-02-07 04:31:24] Production.INFO: SubscriptionDate [2025-02-07 04:31:24] Production.INFO: Array ( [StartDate] => 2025-02-07 [EndDate] => 2025-03-06 00:00:00 [AlreadyCharged] => 0 ) [2025-02-07 04:31:24] Production.INFO: AccountSubscription StartDate 2024-06-05 StartDate 2025-01-07 [2025-02-07 04:31:24] Production.INFO: SubscriptionID - 2025-02-07=====2025-03-06 00:00:00 [2025-02-07 04:31:24] Production.INFO: AccountSubscriptionID - 1135 === 2024-06-05=====2026-02-07 [2025-02-07 04:31:24] Production.INFO: regular Advance Subscription [2025-02-07 04:31:24] Production.INFO: First Time False 2024-06-05 2025-02-07 [2025-02-07 04:31:24] Production.INFO: StartDate 2025-02-07 AccountSubscription->StartDate 2024-06-05 EndDate 2025-03-06 00:00:00 AccountSubscription->EndDate 2026-02-07 [2025-02-07 04:31:24] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-07 04:31:24] Production.INFO: AccountSubscription::getSubscriptionAmount(1135,2025-02-07,2025-03-06 00:00:00,,0) [2025-02-07 04:31:24] Production.INFO: SubscriptionCharge - 0 [2025-02-07 04:31:24] Production.INFO: Already Invoice Subscription 0 [2025-02-07 04:31:24] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(232,1,12,2025-02-07,2025-03-06 00:00:00,Included DID (416-244-6155),0,0,1,1135) [2025-02-07 04:31:24] Production.INFO: DiscountAmount 0.000000 [2025-02-07 04:31:24] Production.INFO: DiscountType Flat [2025-02-07 04:31:24] Production.INFO: SubscriptionCharge 0 [2025-02-07 04:31:24] Production.INFO: New SubscriptionCharge 0 [2025-02-07 04:31:24] Production.INFO: TotalSubscriptionCharge - 0.00 [2025-02-07 04:31:24] Production.INFO: ============================Subscription End ================= [2025-02-07 04:31:24] Production.INFO: ============================Subscription Start ================= [2025-02-07 04:31:24] Production.INFO: SubscriptionID - 7 [2025-02-07 04:31:24] Production.INFO: isAdvanceSubscription - 7 [2025-02-07 04:31:24] Production.INFO: SubscriptionStartDate =2025-02-07 - SubscriptionEndDate = 2025-03-06 [2025-02-07 04:31:24] Production.INFO: NewNextChargeDate =2025-03-06 00:00:00 [2025-02-07 04:31:24] Production.INFO: SubscriptionDate [2025-02-07 04:31:24] Production.INFO: Array ( [StartDate] => 2025-02-07 [EndDate] => 2025-03-06 00:00:00 [AlreadyCharged] => 0 ) [2025-02-07 04:31:24] Production.INFO: AccountSubscription StartDate 2024-10-01 StartDate 2025-01-07 [2025-02-07 04:31:24] Production.INFO: SubscriptionID - 2025-02-07=====2025-03-06 00:00:00 [2025-02-07 04:31:24] Production.INFO: AccountSubscriptionID - 1173 === 2024-10-01=====2026-02-07 [2025-02-07 04:31:24] Production.INFO: regular Advance Subscription [2025-02-07 04:31:24] Production.INFO: First Time False 2024-10-01 2025-02-07 [2025-02-07 04:31:24] Production.INFO: StartDate 2025-02-07 AccountSubscription->StartDate 2024-10-01 EndDate 2025-03-06 00:00:00 AccountSubscription->EndDate 2026-02-07 [2025-02-07 04:31:24] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-07 04:31:24] Production.INFO: AccountSubscription::getSubscriptionAmount(1173,2025-02-07,2025-03-06 00:00:00,,0) [2025-02-07 04:31:24] Production.INFO: SubscriptionCharge - 8.1 [2025-02-07 04:31:24] Production.INFO: Already Invoice Subscription 0 [2025-02-07 04:31:24] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(232,2,7,2025-02-07,2025-03-06 00:00:00,Microsoft 365 Business Essentials subscription. Collaboration and productivity suite, managed by OnSwitch.,64.8,8.1,8,1173) [2025-02-07 04:31:24] Production.INFO: DiscountAmount 0.000000 [2025-02-07 04:31:24] Production.INFO: DiscountType Flat [2025-02-07 04:31:24] Production.INFO: SubscriptionCharge 64.8 [2025-02-07 04:31:24] Production.INFO: New SubscriptionCharge 64.8 [2025-02-07 04:31:24] Production.INFO: TotalSubscriptionCharge - 64.80 [2025-02-07 04:31:24] Production.INFO: ============================Subscription End ================= [2025-02-07 04:31:24] Production.INFO: SUBSCRIPTION Over [2025-02-07 04:31:24] Production.INFO: Call prc_getAccountOneOffCharge(232,0,2025-01-07,2025-02-07 23:59:59) [2025-02-07 04:31:24] Production.INFO: AccountOneOffCharge 0 [2025-02-07 04:31:24] Production.INFO: AccountOneOffCharge Over [2025-02-07 04:31:24] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-02-07 04:31:24] Production.INFO: New UsageDates 2025-01-07 - 2025-02-06 23:59:59 [2025-02-07 04:31:24] Production.INFO: SubTotal 71.295 [2025-02-07 04:31:24] Production.INFO: SubTotalWithouttaxTotal 0 [2025-02-07 04:31:24] Production.INFO: AccountOneOffCharge Tax Over [2025-02-07 04:31:24] Production.INFO: TotalTax 9.26835 [2025-02-07 04:31:24] Production.INFO: InvoiceGrandTotal 80.56335 [2025-02-07 04:31:24] Production.INFO: InvoiceTaxAmount 9.27 [2025-02-07 04:31:24] Production.INFO: GrandTotal 80.57 [2025-02-07 04:31:24] Production.INFO: SubTotal 71.30 [2025-02-07 04:31:24] Production.INFO: TotalDue 80.57 [2025-02-07 04:31:24] Production.INFO: Reseller ==> 0 [2025-02-07 04:31:24] Production.INFO: original start date ==>2025-01-07 changed start date ==>2025-01-07 00:00:00 original end date ==>2025-02-06 23:59:59 changed end date ==>2025-02-06 23:59:59 [2025-02-07 04:31:24] Production.INFO: CALL prc_getInvoiceUsage(1,'232','0','1','2025-01-07 00:00:00','2025-02-06 23:59:59',0) [2025-02-07 04:31:24] Production.INFO: PDF Generation start [2025-02-07 04:31:24] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/232/Invoices/2025/02/07/Invoice-jenopher-inc-inv11480-from-01-07-2025-to-02-06-2025-10414.pdf [2025-02-07 04:31:24] Production.INFO: On Linux [2025-02-07 04:31:25] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/232/Invoices/2025/02/07/footer-jenopher-inc-inv11480-from-01-07-2025-to-02-06-2025-10414.html" "/var/www/tmp/1/232/Invoices/2025/02/07/Invoice-jenopher-inc-inv11480-from-01-07-2025-to-02-06-2025-10414.html" "/var/www/tmp/1/232/Invoices/2025/02/07/Invoice-jenopher-inc-inv11480-from-01-07-2025-to-02-06-2025-10414.pdf" [2025-02-07 04:31:25] Production.INFO: [2025-02-07 04:31:25] Production.INFO: /var/www/tmp/1/232/Invoices/2025/02/07/Invoice-jenopher-inc-inv11480-from-01-07-2025-to-02-06-2025-10414.html [2025-02-07 04:31:25] Production.INFO: /var/www/tmp/1/232/Invoices/2025/02/07/header-jenopher-inc-inv11480-from-01-07-2025-to-02-06-2025-10414.html [2025-02-07 04:31:25] Production.INFO: /var/www/tmp/1/232/Invoices/2025/02/07/footer-jenopher-inc-inv11480-from-01-07-2025-to-02-06-2025-10414.html [2025-02-07 04:31:25] Production.INFO: Invoice generation PDF path [2025-02-07 04:31:25] Production.INFO: PDF fullPath 1/232/Invoices/2025/02/07/Invoice-jenopher-inc-inv11480-from-01-07-2025-to-02-06-2025-10414.pdf [2025-02-07 04:31:25] Production.INFO: Generate Usage File Start [2025-02-07 04:31:25] Production.INFO: Usage File fullPath 1/232/InvoiceUsageFile/2025/02/07/jenopher-inc-07-01-2025-00-00-00-TO-06-02-2025-23-59-59_2665__4ccfb340-e536-11ef-bb4a-2b730c80548c.csv [2025-02-07 04:31:25] Production.INFO: Sending Email to Staff over [2025-02-07 04:31:25] Production.INFO: Email Status 1 [2025-02-07 04:31:25] Production.INFO: Sending Email to Customer [2025-02-07 04:31:26] Production.INFO: Email Try 10414 1 [2025-02-07 04:31:26] Production.INFO: =========== Email Sending over =========== [2025-02-07 04:31:26] Production.INFO: =========== Returning as Success =========== AccountID 232 [2025-02-07 04:31:26] Production.INFO: Invoice::sendInvoice done [2025-02-07 04:31:26] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-02-07 04:31:26] Production.INFO: Invoice Committed AccountID = 232 [2025-02-07 04:31:26] Production.INFO: =========== Updating InvoiceDate =========== [2025-02-07 04:31:26] Production.INFO: NextInvoice 2025-02-07 2025-03-06 [2025-02-07 04:31:26] Production.INFO: new dates [2025-02-07 04:31:26] Production.INFO: LastInvoiceDate 2025-02-07 NextInvoiceDate 2025-03-07 [2025-02-07 04:31:26] Production.INFO: LastChargeDate 2025-02-07 NextChargeDate 2025-03-06 [2025-02-07 04:31:26] Production.INFO: =========== Updated InvoiceDate =========== [2025-02-07 04:31:26] Production.INFO: ========================== Invoice Send End ============================= [2025-02-07 04:31:26] Production.INFO: ========================== Recurring invoice Start ============================= [2025-02-07 04:31:26] Production.INFO: recurring invoices ID [2025-02-07 04:31:26] Production.INFO: [2025-02-07 04:31:26] Production.INFO: recurring errorsArray ( ) [2025-02-07 04:31:26] Production.INFO: ========================== Recurring invoice End ============================= [2025-02-07 04:31:26] Production.INFO: ========================== Job Updated ============================= [2025-02-07 04:31:27] Production.INFO: ========================== Job Email Sent ============================= [2025-02-07 04:31:28] Production.ERROR: **Email Sent Status 1 [2025-02-07 04:31:28] Production.ERROR: **Email Sent message Email has been sent [2025-02-07 04:31:28] Production.ERROR: CronJobId end6 [2025-02-07 04:31:28] Production.INFO: ==28774== Releasing lock... [2025-02-07 04:31:28] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops# [2025-02-07 04:31:28] Production.INFO: 38.5 MB #Memory Used#