[2025-06-19 04:30:04] Production.INFO: Call prc_getBillingAccounts(1,2025-06-19,'','0')
[2025-06-19 04:30:04] Production.INFO: Array
(
[0] => stdClass Object
(
[AccountID] => 23
[NextInvoiceDate] => 2025-06-19
[AccountName] => Dominos 10295 & 10516 (Werner Lomker)
[ServiceID] => 0
)
[1] => stdClass Object
(
[AccountID] => 67
[NextInvoiceDate] => 2025-06-19
[AccountName] => Stars & Maple Tours
[ServiceID] => 0
)
[2] => stdClass Object
(
[AccountID] => 78
[NextInvoiceDate] => 2025-06-19
[AccountName] => Halcyon Travel
[ServiceID] => 0
)
[3] => stdClass Object
(
[AccountID] => 102
[NextInvoiceDate] => 2025-06-19
[AccountName] => Dominos 39013 (Mudassar Zia)
[ServiceID] => 0
)
[4] => stdClass Object
(
[AccountID] => 108
[NextInvoiceDate] => 2025-06-19
[AccountName] => Jamie Lauer
[ServiceID] => 0
)
[5] => stdClass Object
(
[AccountID] => 143
[NextInvoiceDate] => 2025-06-19
[AccountName] => Orange Contracting
[ServiceID] => 0
)
[6] => stdClass Object
(
[AccountID] => 258
[NextInvoiceDate] => 2025-03-10
[AccountName] => Lion Motors
[ServiceID] => 0
)
)
[2025-06-19 04:30:04] Production.INFO: AccountID =23 FirstInvoiceSend 0
[2025-06-19 04:30:04] Production.INFO: LastInvoiceDate 2025-05-19 NextInvoiceDate 2025-06-19
[2025-06-19 04:30:04] Production.INFO: LastChargeDate 2025-05-19 NextChargeDate 2025-06-18
[2025-06-19 04:30:04] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-06-19 04:30:04] Production.INFO: ========================== Invoice Send Start =============================
[2025-06-19 04:30:04] Production.INFO: Invoice::sendInvoice(1,23,2025-05-19,2025-06-19,billing@onswitchit.ca)
[2025-06-19 04:30:04] Production.INFO: start Date =2025-05-19 EndDate =2025-06-18 23:59:59
[2025-06-19 04:30:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-06-19 04:30: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-06-19 04:30:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-06-19 04:30:04] Production.INFO: AlreadyBilled
[2025-06-19 04:30:04] Production.INFO: Reseller ==> 0
[2025-06-19 04:30:04] Production.INFO: original start date ==>2025-05-19 changed start date ==>2025-05-19 00:00:00 original end date ==>2025-06-18 23:59:59 changed end date ==>2025-06-18 23:59:59
[2025-06-19 04:30:04] Production.INFO: Invoice::getAccountUsageTotal(1,23,2025-05-19,2025-06-18 23:59:59)
[2025-06-19 04:30:04] Production.INFO: TotalCharges - 0
[2025-06-19 04:30:04] Production.INFO: TotalUsageCharges - 0.00
[2025-06-19 04:30:04] Production.INFO: Usage Over
[2025-06-19 04:30:04] Production.INFO: Call prc_getAccountSubscription(23,0)
[2025-06-19 04:30:04] Production.INFO: SUBSCRIPTION 5
[2025-06-19 04:30:04] Production.INFO: ============================Subscription Start =================
[2025-06-19 04:30:04] Production.INFO: SubscriptionID - 5
[2025-06-19 04:30:04] Production.INFO: isAdvanceSubscription - 5
[2025-06-19 04:30:04] Production.INFO: SubscriptionStartDate =2025-06-19 - SubscriptionEndDate = 2025-07-18
[2025-06-19 04:30:04] Production.INFO: NewNextChargeDate =2025-07-18 00:00:00
[2025-06-19 04:30:05] Production.INFO: EndDate =2022-03-18 00:00:00
[2025-06-19 04:30:05] Production.INFO: NewEndDate1 =2022-03-19
[2025-06-19 04:30:05] Production.INFO: SubscriptionDate
[2025-06-19 04:30:05] Production.INFO: Array
(
[StartDate] => 2022-03-19
[EndDate] => 2025-07-18 00:00:00
[AlreadyCharged] => 0
)
[2025-06-19 04:30:05] Production.INFO: AccountSubscription StartDate 2017-05-18 StartDate 2025-05-19
[2025-06-19 04:30:05] Production.INFO: SubscriptionID - 2022-03-19=====2025-07-18 00:00:00
[2025-06-19 04:30:05] Production.INFO: AccountSubscriptionID - 33 === 2017-05-18=====2021-11-30
[2025-06-19 04:30:05] Production.INFO: ============================Subscription End =================
[2025-06-19 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-06-19 04:30:05] Production.INFO: SubscriptionID - 5
[2025-06-19 04:30:05] Production.INFO: isAdvanceSubscription - 5
[2025-06-19 04:30:05] Production.INFO: SubscriptionStartDate =2025-06-19 - SubscriptionEndDate = 2025-07-18
[2025-06-19 04:30:05] Production.INFO: NewNextChargeDate =2025-07-18 00:00:00
[2025-06-19 04:30:05] Production.INFO: EndDate =2022-03-18 00:00:00
[2025-06-19 04:30:05] Production.INFO: NewEndDate1 =2022-03-19
[2025-06-19 04:30:05] Production.INFO: SubscriptionDate
[2025-06-19 04:30:05] Production.INFO: Array
(
[StartDate] => 2022-03-19
[EndDate] => 2025-07-18 00:00:00
[AlreadyCharged] => 0
)
[2025-06-19 04:30:05] Production.INFO: AccountSubscription StartDate 2017-05-18 StartDate 2025-05-19
[2025-06-19 04:30:05] Production.INFO: SubscriptionID - 2022-03-19=====2025-07-18 00:00:00
[2025-06-19 04:30:05] Production.INFO: AccountSubscriptionID - 34 === 2017-05-18=====2021-11-30
[2025-06-19 04:30:05] Production.INFO: ============================Subscription End =================
[2025-06-19 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-06-19 04:30:05] Production.INFO: SubscriptionID - 4
[2025-06-19 04:30:05] Production.INFO: isAdvanceSubscription - 4
[2025-06-19 04:30:05] Production.INFO: SubscriptionStartDate =2025-06-19 - SubscriptionEndDate = 2025-07-18
[2025-06-19 04:30:05] Production.INFO: NewNextChargeDate =2025-07-18 00:00:00
[2025-06-19 04:30:05] Production.INFO: EndDate =2022-03-18 00:00:00
[2025-06-19 04:30:05] Production.INFO: NewEndDate1 =2022-03-19
[2025-06-19 04:30:05] Production.INFO: SubscriptionDate
[2025-06-19 04:30:05] Production.INFO: Array
(
[StartDate] => 2022-03-19
[EndDate] => 2025-07-18 00:00:00
[AlreadyCharged] => 0
)
[2025-06-19 04:30:05] Production.INFO: AccountSubscription StartDate 2017-05-18 StartDate 2025-05-19
[2025-06-19 04:30:05] Production.INFO: SubscriptionID - 2022-03-19=====2025-07-18 00:00:00
[2025-06-19 04:30:05] Production.INFO: AccountSubscriptionID - 35 === 2017-05-18=====2021-11-30
[2025-06-19 04:30:05] Production.INFO: ============================Subscription End =================
[2025-06-19 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-06-19 04:30:05] Production.INFO: SubscriptionID - 4
[2025-06-19 04:30:05] Production.INFO: isAdvanceSubscription - 4
[2025-06-19 04:30:05] Production.INFO: SubscriptionStartDate =2025-06-19 - SubscriptionEndDate = 2025-07-18
[2025-06-19 04:30:05] Production.INFO: NewNextChargeDate =2025-07-18 00:00:00
[2025-06-19 04:30:05] Production.INFO: EndDate =2022-03-18 00:00:00
[2025-06-19 04:30:05] Production.INFO: NewEndDate1 =2022-03-19
[2025-06-19 04:30:05] Production.INFO: SubscriptionDate
[2025-06-19 04:30:05] Production.INFO: Array
(
[StartDate] => 2022-03-19
[EndDate] => 2025-07-18 00:00:00
[AlreadyCharged] => 0
)
[2025-06-19 04:30:05] Production.INFO: AccountSubscription StartDate 2017-05-18 StartDate 2025-05-19
[2025-06-19 04:30:05] Production.INFO: SubscriptionID - 2022-03-19=====2025-07-18 00:00:00
[2025-06-19 04:30:05] Production.INFO: AccountSubscriptionID - 36 === 2017-05-18=====2021-11-30
[2025-06-19 04:30:05] Production.INFO: ============================Subscription End =================
[2025-06-19 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-06-19 04:30:05] Production.INFO: SubscriptionID - 11
[2025-06-19 04:30:05] Production.INFO: isAdvanceSubscription - 11
[2025-06-19 04:30:05] Production.INFO: SubscriptionStartDate =2025-06-19 - SubscriptionEndDate = 2025-07-18
[2025-06-19 04:30:05] Production.INFO: NewNextChargeDate =2025-07-18 00:00:00
[2025-06-19 04:30:05] Production.INFO: EndDate =2022-03-18 00:00:00
[2025-06-19 04:30:05] Production.INFO: NewEndDate1 =2022-03-19
[2025-06-19 04:30:05] Production.INFO: SubscriptionDate
[2025-06-19 04:30:05] Production.INFO: Array
(
[StartDate] => 2022-03-19
[EndDate] => 2025-07-18 00:00:00
[AlreadyCharged] => 0
)
[2025-06-19 04:30:05] Production.INFO: AccountSubscription StartDate 2018-02-07 StartDate 2025-05-19
[2025-06-19 04:30:05] Production.INFO: SubscriptionID - 2022-03-19=====2025-07-18 00:00:00
[2025-06-19 04:30:05] Production.INFO: AccountSubscriptionID - 219 === 2018-02-07=====2021-11-30
[2025-06-19 04:30:05] Production.INFO: ============================Subscription End =================
[2025-06-19 04:30:05] Production.INFO: SUBSCRIPTION Over
[2025-06-19 04:30:05] Production.INFO: Call prc_getAccountOneOffCharge(23,0,2025-05-19,2025-06-19 23:59:59)
[2025-06-19 04:30:05] Production.INFO: AccountOneOffCharge 0
[2025-06-19 04:30:05] Production.INFO: AccountOneOffCharge Over
[2025-06-19 04:30:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-06-19 04:30:05] Production.INFO: New UsageDates 2025-05-19 - 2025-06-18 23:59:59
[2025-06-19 04:30:05] Production.INFO: SubTotal 0
[2025-06-19 04:30:05] Production.INFO: SubTotalWithouttaxTotal 0
[2025-06-19 04:30:05] Production.INFO: AccountOneOffCharge Tax Over
[2025-06-19 04:30:05] Production.INFO: TotalTax 0
[2025-06-19 04:30:05] Production.INFO: InvoiceGrandTotal 0
[2025-06-19 04:30:05] Production.INFO: InvoiceTaxAmount 0
[2025-06-19 04:30:05] Production.INFO: GrandTotal 0
[2025-06-19 04:30:05] Production.INFO: SubTotal 0.00
[2025-06-19 04:30:05] Production.INFO: TotalDue 0.00
[2025-06-19 04:30:05] Production.INFO: Reseller ==> 0
[2025-06-19 04:30:05] Production.INFO: original start date ==>2025-05-19 changed start date ==>2025-05-19 00:00:00 original end date ==>2025-06-18 23:59:59 changed end date ==>2025-06-18 23:59:59
[2025-06-19 04:30:05] Production.INFO: CALL prc_getInvoiceUsage(1,'23','0','1','2025-05-19 00:00:00','2025-06-18 23:59:59',0)
[2025-06-19 04:30:05] Production.INFO: PDF Generation start
[2025-06-19 04:30:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/23/Invoices/2025/06/19/Invoice-dominos-10295-10516-werner-lomker-inv12230-from-05-19-2025-to-06-18-2025-11188.pdf
[2025-06-19 04:30:05] Production.INFO: On Linux
[2025-06-19 04:30:07] 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/23/Invoices/2025/06/19/footer-dominos-10295-10516-werner-lomker-inv12230-from-05-19-2025-to-06-18-2025-11188.html" "/var/www/tmp/1/23/Invoices/2025/06/19/Invoice-dominos-10295-10516-werner-lomker-inv12230-from-05-19-2025-to-06-18-2025-11188.html" "/var/www/tmp/1/23/Invoices/2025/06/19/Invoice-dominos-10295-10516-werner-lomker-inv12230-from-05-19-2025-to-06-18-2025-11188.pdf"
[2025-06-19 04:30:07] Production.INFO:
[2025-06-19 04:30:07] Production.INFO: /var/www/tmp/1/23/Invoices/2025/06/19/Invoice-dominos-10295-10516-werner-lomker-inv12230-from-05-19-2025-to-06-18-2025-11188.html
[2025-06-19 04:30:07] Production.INFO: /var/www/tmp/1/23/Invoices/2025/06/19/header-dominos-10295-10516-werner-lomker-inv12230-from-05-19-2025-to-06-18-2025-11188.html
[2025-06-19 04:30:07] Production.INFO: /var/www/tmp/1/23/Invoices/2025/06/19/footer-dominos-10295-10516-werner-lomker-inv12230-from-05-19-2025-to-06-18-2025-11188.html
[2025-06-19 04:30:07] Production.INFO: Invoice generation PDF path
[2025-06-19 04:30:07] Production.INFO: PDF fullPath 1/23/Invoices/2025/06/19/Invoice-dominos-10295-10516-werner-lomker-inv12230-from-05-19-2025-to-06-18-2025-11188.pdf
[2025-06-19 04:30:07] Production.INFO: Generate Usage File Start
[2025-06-19 04:30:07] Production.INFO: Usage File fullPath 1/23/InvoiceUsageFile/2025/06/19/dominos-10295-10516-werner-lomker-19-05-2025-00-00-00-TO-18-06-2025-23-59-59_202__9b6454f0-4ce7-11f0-8892-fd82e60bf26b.csv
[2025-06-19 04:30:12] Production.INFO: Sending Email to Staff over
[2025-06-19 04:30:12] Production.INFO: Email Status 1
[2025-06-19 04:30:12] Production.INFO: Sending Email to Customer
[2025-06-19 04:30:12] Production.INFO: =========== Email Sending over ===========
[2025-06-19 04:30:12] Production.INFO: =========== Returning as Success =========== AccountID 23
[2025-06-19 04:30:12] Production.INFO: Invoice::sendInvoice done
[2025-06-19 04:30:12] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-06-19 04:30:12] Production.INFO: Invoice Committed AccountID = 23
[2025-06-19 04:30:12] Production.INFO: =========== Updating InvoiceDate ===========
[2025-06-19 04:30:12] Production.INFO: NextInvoice 2025-06-19 2025-07-18
[2025-06-19 04:30:12] Production.INFO: new dates
[2025-06-19 04:30:12] Production.INFO: LastInvoiceDate 2025-06-19 NextInvoiceDate 2025-07-19
[2025-06-19 04:30:12] Production.INFO: LastChargeDate 2025-06-19 NextChargeDate 2025-07-18
[2025-06-19 04:30:12] Production.INFO: =========== Updated InvoiceDate ===========
[2025-06-19 04:30:12] Production.INFO: ========================== Invoice Send End =============================
[2025-06-19 04:30:12] Production.INFO: AccountID =67 FirstInvoiceSend 0
[2025-06-19 04:30:12] Production.INFO: LastInvoiceDate 2025-05-19 NextInvoiceDate 2025-06-19
[2025-06-19 04:30:12] Production.INFO: LastChargeDate 2025-05-19 NextChargeDate 2025-06-18
[2025-06-19 04:30:12] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-06-19 04:30:12] Production.INFO: ========================== Invoice Send Start =============================
[2025-06-19 04:30:12] Production.INFO: Invoice::sendInvoice(1,67,2025-05-19,2025-06-19,billing@onswitchit.ca)
[2025-06-19 04:30:12] Production.INFO: start Date =2025-05-19 EndDate =2025-06-18 23:59:59
[2025-06-19 04:30:12] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-06-19 04:30:12] 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-06-19 04:30:12] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-06-19 04:30:12] Production.INFO: AlreadyBilled
[2025-06-19 04:30:13] Production.INFO: Reseller ==> 0
[2025-06-19 04:30:13] Production.INFO: original start date ==>2025-05-19 changed start date ==>2025-05-19 00:00:00 original end date ==>2025-06-18 23:59:59 changed end date ==>2025-06-18 23:59:59
[2025-06-19 04:30:13] Production.INFO: CompanyGatewayID 1 TotalCharges ==>0.18000000
[2025-06-19 04:30:13] Production.INFO: Invoice::getAccountUsageTotal(1,67,2025-05-19,2025-06-18 23:59:59)
[2025-06-19 04:30:13] Production.INFO: TotalCharges - 0.18
[2025-06-19 04:30:13] Production.INFO: TotalUsageCharges - 0.18
[2025-06-19 04:30:13] Production.INFO: Usage Over
[2025-06-19 04:30:13] Production.INFO: Call prc_getAccountSubscription(67,0)
[2025-06-19 04:30:13] Production.INFO: SUBSCRIPTION 8
[2025-06-19 04:30:13] Production.INFO: ============================Subscription Start =================
[2025-06-19 04:30:13] Production.INFO: SubscriptionID - 2
[2025-06-19 04:30:13] Production.INFO: isAdvanceSubscription - 2
[2025-06-19 04:30:13] Production.INFO: SubscriptionStartDate =2025-06-19 - SubscriptionEndDate = 2025-07-18
[2025-06-19 04:30:13] Production.INFO: NewNextChargeDate =2025-07-18 00:00:00
[2025-06-19 04:30:13] Production.INFO: EndDate =2025-06-18 00:00:00
[2025-06-19 04:30:13] Production.INFO: NewEndDate1 =2025-06-19
[2025-06-19 04:30:13] Production.INFO: SubscriptionDate
[2025-06-19 04:30:13] Production.INFO: Array
(
[StartDate] => 2025-06-19
[EndDate] => 2025-07-18 00:00:00
[AlreadyCharged] => 0
)
[2025-06-19 04:30:13] Production.INFO: AccountSubscription StartDate 2018-03-15 StartDate 2025-05-19
[2025-06-19 04:30:13] Production.INFO: SubscriptionID - 2025-06-19=====2025-07-18 00:00:00
[2025-06-19 04:30:13] Production.INFO: AccountSubscriptionID - 238 === 2018-03-15=====2026-06-19
[2025-06-19 04:30:13] Production.INFO: regular Advance Subscription
[2025-06-19 04:30:13] Production.INFO: First Time False 2018-03-15 2025-06-19
[2025-06-19 04:30:13] Production.INFO: StartDate 2025-06-19 AccountSubscription->StartDate 2018-03-15 EndDate 2025-07-18 00:00:00 AccountSubscription->EndDate 2026-06-19
[2025-06-19 04:30:13] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-06-19 04:30:13] Production.INFO: AccountSubscription::getSubscriptionAmount(238,2025-06-19,2025-07-18 00:00:00,,0)
[2025-06-19 04:30:13] Production.INFO: SubscriptionCharge - 5
[2025-06-19 04:30:13] Production.INFO: Already Invoice Subscription 0
[2025-06-19 04:30:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(67,1,2,2025-06-19,2025-07-18 00:00:00,License for an Unlimited Canada/US Cloud Phone extension,25,5,5,238)
[2025-06-19 04:30:13] Production.INFO: DiscountAmount 0.000000
[2025-06-19 04:30:13] Production.INFO: DiscountType
[2025-06-19 04:30:13] Production.INFO: SubscriptionCharge 25
[2025-06-19 04:30:13] Production.INFO: New SubscriptionCharge 25
[2025-06-19 04:30:13] Production.INFO: TotalSubscriptionCharge - 25.00
[2025-06-19 04:30:13] Production.INFO: ============================Subscription End =================
[2025-06-19 04:30:13] Production.INFO: ============================Subscription Start =================
[2025-06-19 04:30:13] Production.INFO: SubscriptionID - 24
[2025-06-19 04:30:13] Production.INFO: SubscriptionID - 2025-05-19=====2025-06-18
[2025-06-19 04:30:13] Production.INFO: AccountSubscriptionID - 476 === 2020-03-17=====2020-08-31
[2025-06-19 04:30:13] Production.INFO: ============================Subscription End =================
[2025-06-19 04:30:13] Production.INFO: ============================Subscription Start =================
[2025-06-19 04:30:13] Production.INFO: SubscriptionID - 8
[2025-06-19 04:30:13] Production.INFO: isAdvanceSubscription - 8
[2025-06-19 04:30:13] Production.INFO: SubscriptionStartDate =2025-06-19 - SubscriptionEndDate = 2025-07-18
[2025-06-19 04:30:13] Production.INFO: NewNextChargeDate =2025-07-18 00:00:00
[2025-06-19 04:30:13] Production.INFO: EndDate =2025-06-18 00:00:00
[2025-06-19 04:30:13] Production.INFO: NewEndDate1 =2025-06-19
[2025-06-19 04:30:13] Production.INFO: SubscriptionDate
[2025-06-19 04:30:13] Production.INFO: Array
(
[StartDate] => 2025-06-19
[EndDate] => 2025-07-18 00:00:00
[AlreadyCharged] => 0
)
[2025-06-19 04:30:13] Production.INFO: AccountSubscription StartDate 2020-06-18 StartDate 2025-05-19
[2025-06-19 04:30:13] Production.INFO: SubscriptionID - 2025-06-19=====2025-07-18 00:00:00
[2025-06-19 04:30:13] Production.INFO: AccountSubscriptionID - 493 === 2020-06-18=====2026-06-19
[2025-06-19 04:30:13] Production.INFO: regular Advance Subscription
[2025-06-19 04:30:13] Production.INFO: First Time False 2020-06-18 2025-06-19
[2025-06-19 04:30:13] Production.INFO: StartDate 2025-06-19 AccountSubscription->StartDate 2020-06-18 EndDate 2025-07-18 00:00:00 AccountSubscription->EndDate 2026-06-19
[2025-06-19 04:30:13] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-06-19 04:30:13] Production.INFO: AccountSubscription::getSubscriptionAmount(493,2025-06-19,2025-07-18 00:00:00,,0)
[2025-06-19 04:30:13] Production.INFO: SubscriptionCharge - 12
[2025-06-19 04:30:13] Production.INFO: Already Invoice Subscription 0
[2025-06-19 04:30:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(67,1,8,2025-06-19,2025-07-18 00:00:00,Additional DID (611800431330) - Australia Toll Free,12,12,1,493)
[2025-06-19 04:30:13] Production.INFO: DiscountAmount 0.000000
[2025-06-19 04:30:13] Production.INFO: DiscountType
[2025-06-19 04:30:13] Production.INFO: SubscriptionCharge 12
[2025-06-19 04:30:13] Production.INFO: New SubscriptionCharge 12
[2025-06-19 04:30:13] Production.INFO: TotalSubscriptionCharge - 12.00
[2025-06-19 04:30:13] Production.INFO: ============================Subscription End =================
[2025-06-19 04:30:13] Production.INFO: ============================Subscription Start =================
[2025-06-19 04:30:13] Production.INFO: SubscriptionID - 8
[2025-06-19 04:30:13] Production.INFO: isAdvanceSubscription - 8
[2025-06-19 04:30:13] Production.INFO: SubscriptionStartDate =2025-06-19 - SubscriptionEndDate = 2025-07-18
[2025-06-19 04:30:13] Production.INFO: NewNextChargeDate =2025-07-18 00:00:00
[2025-06-19 04:30:13] Production.INFO: EndDate =2025-06-18 00:00:00
[2025-06-19 04:30:13] Production.INFO: NewEndDate1 =2025-06-19
[2025-06-19 04:30:13] Production.INFO: SubscriptionDate
[2025-06-19 04:30:13] Production.INFO: Array
(
[StartDate] => 2025-06-19
[EndDate] => 2025-07-18 00:00:00
[AlreadyCharged] => 0
)
[2025-06-19 04:30:13] Production.INFO: AccountSubscription StartDate 2020-06-18 StartDate 2025-05-19
[2025-06-19 04:30:13] Production.INFO: SubscriptionID - 2025-06-19=====2025-07-18 00:00:00
[2025-06-19 04:30:13] Production.INFO: AccountSubscriptionID - 494 === 2020-06-18=====2026-06-19
[2025-06-19 04:30:13] Production.INFO: regular Advance Subscription
[2025-06-19 04:30:13] Production.INFO: First Time False 2020-06-18 2025-06-19
[2025-06-19 04:30:13] Production.INFO: StartDate 2025-06-19 AccountSubscription->StartDate 2020-06-18 EndDate 2025-07-18 00:00:00 AccountSubscription->EndDate 2026-06-19
[2025-06-19 04:30:13] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-06-19 04:30:13] Production.INFO: AccountSubscription::getSubscriptionAmount(494,2025-06-19,2025-07-18 00:00:00,,0)
[2025-06-19 04:30:13] Production.INFO: SubscriptionCharge - 5
[2025-06-19 04:30:13] Production.INFO: Already Invoice Subscription 0
[2025-06-19 04:30:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(67,1,8,2025-06-19,2025-07-18 00:00:00,Additional DID (18772928528) - North America Toll Free,5,5,1,494)
[2025-06-19 04:30:13] Production.INFO: DiscountAmount 0.000000
[2025-06-19 04:30:13] Production.INFO: DiscountType
[2025-06-19 04:30:13] Production.INFO: SubscriptionCharge 5
[2025-06-19 04:30:13] Production.INFO: New SubscriptionCharge 5
[2025-06-19 04:30:13] Production.INFO: TotalSubscriptionCharge - 5.00
[2025-06-19 04:30:13] Production.INFO: ============================Subscription End =================
[2025-06-19 04:30:13] Production.INFO: ============================Subscription Start =================
[2025-06-19 04:30:13] Production.INFO: SubscriptionID - 12
[2025-06-19 04:30:13] Production.INFO: isAdvanceSubscription - 12
[2025-06-19 04:30:13] Production.INFO: SubscriptionStartDate =2025-06-19 - SubscriptionEndDate = 2025-07-18
[2025-06-19 04:30:13] Production.INFO: NewNextChargeDate =2025-07-18 00:00:00
[2025-06-19 04:30:13] Production.INFO: EndDate =2025-06-18 00:00:00
[2025-06-19 04:30:13] Production.INFO: NewEndDate1 =2025-06-19
[2025-06-19 04:30:13] Production.INFO: SubscriptionDate
[2025-06-19 04:30:13] Production.INFO: Array
(
[StartDate] => 2025-06-19
[EndDate] => 2025-07-18 00:00:00
[AlreadyCharged] => 0
)
[2025-06-19 04:30:13] Production.INFO: AccountSubscription StartDate 2020-06-18 StartDate 2025-05-19
[2025-06-19 04:30:13] Production.INFO: SubscriptionID - 2025-06-19=====2025-07-18 00:00:00
[2025-06-19 04:30:13] Production.INFO: AccountSubscriptionID - 495 === 2020-06-18=====2026-06-19
[2025-06-19 04:30:13] Production.INFO: regular Advance Subscription
[2025-06-19 04:30:13] Production.INFO: First Time False 2020-06-18 2025-06-19
[2025-06-19 04:30:13] Production.INFO: StartDate 2025-06-19 AccountSubscription->StartDate 2020-06-18 EndDate 2025-07-18 00:00:00 AccountSubscription->EndDate 2026-06-19
[2025-06-19 04:30:13] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-06-19 04:30:13] Production.INFO: AccountSubscription::getSubscriptionAmount(495,2025-06-19,2025-07-18 00:00:00,,0)
[2025-06-19 04:30:13] Production.INFO: SubscriptionCharge - 0
[2025-06-19 04:30:13] Production.INFO: Already Invoice Subscription 0
[2025-06-19 04:30:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(67,1,12,2025-06-19,2025-07-18 00:00:00,Included DID (14074567067),0,0,1,495)
[2025-06-19 04:30:13] Production.INFO: DiscountAmount 0.000000
[2025-06-19 04:30:13] Production.INFO: DiscountType
[2025-06-19 04:30:13] Production.INFO: SubscriptionCharge 0
[2025-06-19 04:30:13] Production.INFO: New SubscriptionCharge 0
[2025-06-19 04:30:13] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-06-19 04:30:13] Production.INFO: ============================Subscription End =================
[2025-06-19 04:30:13] Production.INFO: ============================Subscription Start =================
[2025-06-19 04:30:13] Production.INFO: SubscriptionID - 12
[2025-06-19 04:30:13] Production.INFO: isAdvanceSubscription - 12
[2025-06-19 04:30:13] Production.INFO: SubscriptionStartDate =2025-06-19 - SubscriptionEndDate = 2025-07-18
[2025-06-19 04:30:13] Production.INFO: NewNextChargeDate =2025-07-18 00:00:00
[2025-06-19 04:30:13] Production.INFO: EndDate =2025-06-18 00:00:00
[2025-06-19 04:30:13] Production.INFO: NewEndDate1 =2025-06-19
[2025-06-19 04:30:13] Production.INFO: SubscriptionDate
[2025-06-19 04:30:13] Production.INFO: Array
(
[StartDate] => 2025-06-19
[EndDate] => 2025-07-18 00:00:00
[AlreadyCharged] => 0
)
[2025-06-19 04:30:13] Production.INFO: AccountSubscription StartDate 2020-06-03 StartDate 2025-05-19
[2025-06-19 04:30:13] Production.INFO: SubscriptionID - 2025-06-19=====2025-07-18 00:00:00
[2025-06-19 04:30:13] Production.INFO: AccountSubscriptionID - 498 === 2020-06-03=====2026-06-19
[2025-06-19 04:30:13] Production.INFO: regular Advance Subscription
[2025-06-19 04:30:13] Production.INFO: First Time False 2020-06-03 2025-06-19
[2025-06-19 04:30:13] Production.INFO: StartDate 2025-06-19 AccountSubscription->StartDate 2020-06-03 EndDate 2025-07-18 00:00:00 AccountSubscription->EndDate 2026-06-19
[2025-06-19 04:30:13] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-06-19 04:30:13] Production.INFO: AccountSubscription::getSubscriptionAmount(498,2025-06-19,2025-07-18 00:00:00,,0)
[2025-06-19 04:30:13] Production.INFO: SubscriptionCharge - 0
[2025-06-19 04:30:13] Production.INFO: Already Invoice Subscription 0
[2025-06-19 04:30:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(67,1,12,2025-06-19,2025-07-18 00:00:00,Included DID (16477944040),0,0,1,498)
[2025-06-19 04:30:13] Production.INFO: DiscountAmount 0.000000
[2025-06-19 04:30:13] Production.INFO: DiscountType
[2025-06-19 04:30:13] Production.INFO: SubscriptionCharge 0
[2025-06-19 04:30:13] Production.INFO: New SubscriptionCharge 0
[2025-06-19 04:30:13] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-06-19 04:30:13] Production.INFO: ============================Subscription End =================
[2025-06-19 04:30:13] Production.INFO: ============================Subscription Start =================
[2025-06-19 04:30:13] Production.INFO: SubscriptionID - 24
[2025-06-19 04:30:13] Production.INFO: SubscriptionID - 2025-05-19=====2025-06-18
[2025-06-19 04:30:13] Production.INFO: AccountSubscriptionID - 570 === 2021-01-14=====2022-01-14
[2025-06-19 04:30:13] Production.INFO: ============================Subscription End =================
[2025-06-19 04:30:13] Production.INFO: ============================Subscription Start =================
[2025-06-19 04:30:13] Production.INFO: SubscriptionID - 24
[2025-06-19 04:30:13] Production.INFO: SubscriptionID - 2025-05-19=====2025-06-18
[2025-06-19 04:30:13] Production.INFO: AccountSubscriptionID - 571 === 2021-01-14=====2026-06-19
[2025-06-19 04:30:13] Production.INFO: regular Subscription
[2025-06-19 04:30:13] Production.INFO: First Time False 2021-01-14 2025-05-19
[2025-06-19 04:30:13] Production.INFO: StartDate 2025-05-19 AccountSubscription->StartDate 2021-01-14 EndDate 2025-06-18 AccountSubscription->EndDate 2026-06-19
[2025-06-19 04:30:13] Production.INFO: days diff - 31 subscription days 31 quarter days 91
[2025-06-19 04:30:13] Production.INFO: AccountSubscription::getSubscriptionAmount(571,2025-05-19,2025-06-18,,0)
[2025-06-19 04:30:13] Production.INFO: SubscriptionCharge - -10
[2025-06-19 04:30:13] Production.INFO: Already Invoice Subscription 0
[2025-06-19 04:30:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(67,1,24,2025-05-19,2025-06-18,Loyalty discount - $10/month - No expiry (XR),-10,-10,1,571)
[2025-06-19 04:30:13] Production.INFO: DiscountAmount 0.000000
[2025-06-19 04:30:13] Production.INFO: DiscountType
[2025-06-19 04:30:13] Production.INFO: SubscriptionCharge -10
[2025-06-19 04:30:13] Production.INFO: New SubscriptionCharge -10
[2025-06-19 04:30:13] Production.INFO: TotalSubscriptionCharge - -10.00
[2025-06-19 04:30:13] Production.INFO: ============================Subscription End =================
[2025-06-19 04:30:13] Production.INFO: SUBSCRIPTION Over
[2025-06-19 04:30:13] Production.INFO: Call prc_getAccountOneOffCharge(67,0,2025-05-19,2025-06-19 23:59:59)
[2025-06-19 04:30:13] Production.INFO: AccountOneOffCharge 0
[2025-06-19 04:30:13] Production.INFO: AccountOneOffCharge Over
[2025-06-19 04:30:13] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-06-19 04:30:13] Production.INFO: New UsageDates 2025-05-19 - 2025-06-18 23:59:59
[2025-06-19 04:30:13] Production.INFO: SubTotal 32.18
[2025-06-19 04:30:13] Production.INFO: SubTotalWithouttaxTotal 0
[2025-06-19 04:30:13] Production.INFO: AccountOneOffCharge Tax Over
[2025-06-19 04:30:13] Production.INFO: TotalTax 4.1834
[2025-06-19 04:30:13] Production.INFO: InvoiceGrandTotal 36.3634
[2025-06-19 04:30:13] Production.INFO: InvoiceTaxAmount 4.18
[2025-06-19 04:30:13] Production.INFO: GrandTotal 36.36
[2025-06-19 04:30:13] Production.INFO: SubTotal 32.18
[2025-06-19 04:30:13] Production.INFO: TotalDue 36.36
[2025-06-19 04:30:13] Production.INFO: Reseller ==> 0
[2025-06-19 04:30:13] Production.INFO: original start date ==>2025-05-19 changed start date ==>2025-05-19 00:00:00 original end date ==>2025-06-18 23:59:59 changed end date ==>2025-06-18 23:59:59
[2025-06-19 04:30:13] Production.INFO: CALL prc_getInvoiceUsage(1,'67','0','1','2025-05-19 00:00:00','2025-06-18 23:59:59',0)
[2025-06-19 04:30:13] Production.INFO: PDF Generation start
[2025-06-19 04:30:13] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/67/Invoices/2025/06/19/Invoice-stars-maple-tours-inv12231-from-05-19-2025-to-06-18-2025-11189.pdf
[2025-06-19 04:30:13] Production.INFO: On Linux
[2025-06-19 04:30:15] 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/67/Invoices/2025/06/19/footer-stars-maple-tours-inv12231-from-05-19-2025-to-06-18-2025-11189.html" "/var/www/tmp/1/67/Invoices/2025/06/19/Invoice-stars-maple-tours-inv12231-from-05-19-2025-to-06-18-2025-11189.html" "/var/www/tmp/1/67/Invoices/2025/06/19/Invoice-stars-maple-tours-inv12231-from-05-19-2025-to-06-18-2025-11189.pdf"
[2025-06-19 04:30:15] Production.INFO:
[2025-06-19 04:30:15] Production.INFO: /var/www/tmp/1/67/Invoices/2025/06/19/Invoice-stars-maple-tours-inv12231-from-05-19-2025-to-06-18-2025-11189.html
[2025-06-19 04:30:15] Production.INFO: /var/www/tmp/1/67/Invoices/2025/06/19/header-stars-maple-tours-inv12231-from-05-19-2025-to-06-18-2025-11189.html
[2025-06-19 04:30:15] Production.INFO: /var/www/tmp/1/67/Invoices/2025/06/19/footer-stars-maple-tours-inv12231-from-05-19-2025-to-06-18-2025-11189.html
[2025-06-19 04:30:15] Production.INFO: Invoice generation PDF path
[2025-06-19 04:30:15] Production.INFO: PDF fullPath 1/67/Invoices/2025/06/19/Invoice-stars-maple-tours-inv12231-from-05-19-2025-to-06-18-2025-11189.pdf
[2025-06-19 04:30:15] Production.INFO: Generate Usage File Start
[2025-06-19 04:30:15] Production.INFO: Usage File fullPath 1/67/InvoiceUsageFile/2025/06/19/stars-maple-tours-19-05-2025-00-00-00-TO-18-06-2025-23-59-59_5824__9fe77d40-4ce7-11f0-b7f1-45783846455e.csv
[2025-06-19 04:30:16] Production.INFO: Sending Email to Staff over
[2025-06-19 04:30:16] Production.INFO: Email Status 1
[2025-06-19 04:30:16] Production.INFO: Sending Email to Customer
[2025-06-19 04:30:16] Production.INFO: =========== Email Sending over ===========
[2025-06-19 04:30:16] Production.INFO: =========== Returning as Success =========== AccountID 67
[2025-06-19 04:30:16] Production.INFO: Invoice::sendInvoice done
[2025-06-19 04:30:16] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-06-19 04:30:16] Production.INFO: Invoice Committed AccountID = 67
[2025-06-19 04:30:16] Production.INFO: =========== Updating InvoiceDate ===========
[2025-06-19 04:30:16] Production.INFO: NextInvoice 2025-06-19 2025-07-18
[2025-06-19 04:30:16] Production.INFO: new dates
[2025-06-19 04:30:16] Production.INFO: LastInvoiceDate 2025-06-19 NextInvoiceDate 2025-07-19
[2025-06-19 04:30:16] Production.INFO: LastChargeDate 2025-06-19 NextChargeDate 2025-07-18
[2025-06-19 04:30:16] Production.INFO: =========== Updated InvoiceDate ===========
[2025-06-19 04:30:16] Production.INFO: ========================== Invoice Send End =============================
[2025-06-19 04:30:16] Production.INFO: AccountID =78 FirstInvoiceSend 0
[2025-06-19 04:30:16] Production.INFO: LastInvoiceDate 2025-05-19 NextInvoiceDate 2025-06-19
[2025-06-19 04:30:16] Production.INFO: LastChargeDate 2025-05-19 NextChargeDate 2025-06-18
[2025-06-19 04:30:16] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-06-19 04:30:16] Production.INFO: ========================== Invoice Send Start =============================
[2025-06-19 04:30:16] Production.INFO: Invoice::sendInvoice(1,78,2025-05-19,2025-06-19,billing@onswitchit.ca)
[2025-06-19 04:30:16] Production.INFO: start Date =2025-05-19 EndDate =2025-06-18 23:59:59
[2025-06-19 04:30:16] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-06-19 04:30:16] 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-06-19 04:30:16] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-06-19 04:30:16] Production.INFO: AlreadyBilled
[2025-06-19 04:30:16] Production.INFO: Reseller ==> 0
[2025-06-19 04:30:16] Production.INFO: original start date ==>2025-05-19 changed start date ==>2025-05-19 00:00:00 original end date ==>2025-06-18 23:59:59 changed end date ==>2025-06-18 23:59:59
[2025-06-19 04:30:16] Production.INFO: CompanyGatewayID 1 TotalCharges ==>3.67000000
[2025-06-19 04:30:16] Production.INFO: Invoice::getAccountUsageTotal(1,78,2025-05-19,2025-06-18 23:59:59)
[2025-06-19 04:30:16] Production.INFO: TotalCharges - 3.67
[2025-06-19 04:30:16] Production.INFO: TotalUsageCharges - 3.67
[2025-06-19 04:30:16] Production.INFO: Usage Over
[2025-06-19 04:30:16] Production.INFO: Call prc_getAccountSubscription(78,0)
[2025-06-19 04:30:16] Production.INFO: SUBSCRIPTION 3
[2025-06-19 04:30:16] Production.INFO: ============================Subscription Start =================
[2025-06-19 04:30:16] Production.INFO: SubscriptionID - 1
[2025-06-19 04:30:16] Production.INFO: isAdvanceSubscription - 1
[2025-06-19 04:30:16] Production.INFO: SubscriptionStartDate =2025-06-19 - SubscriptionEndDate = 2025-07-18
[2025-06-19 04:30:16] Production.INFO: NewNextChargeDate =2025-07-18 00:00:00
[2025-06-19 04:30:16] Production.INFO: EndDate =2025-06-18 00:00:00
[2025-06-19 04:30:16] Production.INFO: NewEndDate1 =2025-06-19
[2025-06-19 04:30:16] Production.INFO: SubscriptionDate
[2025-06-19 04:30:16] Production.INFO: Array
(
[StartDate] => 2025-06-19
[EndDate] => 2025-07-18 00:00:00
[AlreadyCharged] => 0
)
[2025-06-19 04:30:16] Production.INFO: AccountSubscription StartDate 2018-07-19 StartDate 2025-05-19
[2025-06-19 04:30:16] Production.INFO: SubscriptionID - 2025-06-19=====2025-07-18 00:00:00
[2025-06-19 04:30:16] Production.INFO: AccountSubscriptionID - 314 === 2018-07-19=====2026-06-19
[2025-06-19 04:30:16] Production.INFO: regular Advance Subscription
[2025-06-19 04:30:16] Production.INFO: First Time False 2018-07-19 2025-06-19
[2025-06-19 04:30:16] Production.INFO: StartDate 2025-06-19 AccountSubscription->StartDate 2018-07-19 EndDate 2025-07-18 00:00:00 AccountSubscription->EndDate 2026-06-19
[2025-06-19 04:30:16] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-06-19 04:30:16] Production.INFO: AccountSubscription::getSubscriptionAmount(314,2025-06-19,2025-07-18 00:00:00,,0)
[2025-06-19 04:30:16] Production.INFO: SubscriptionCharge - 10
[2025-06-19 04:30:16] Production.INFO: Already Invoice Subscription 0
[2025-06-19 04:30:16] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(78,1,1,2025-06-19,2025-07-18 00:00:00,License for a Pay As You Go Cloud Phone extension,10,10,1,314)
[2025-06-19 04:30:16] Production.INFO: DiscountAmount 0.000000
[2025-06-19 04:30:16] Production.INFO: DiscountType
[2025-06-19 04:30:16] Production.INFO: SubscriptionCharge 10
[2025-06-19 04:30:16] Production.INFO: New SubscriptionCharge 10
[2025-06-19 04:30:16] Production.INFO: TotalSubscriptionCharge - 10.00
[2025-06-19 04:30:16] Production.INFO: ============================Subscription End =================
[2025-06-19 04:30:16] Production.INFO: ============================Subscription Start =================
[2025-06-19 04:30:16] Production.INFO: SubscriptionID - 4
[2025-06-19 04:30:16] Production.INFO: isAdvanceSubscription - 4
[2025-06-19 04:30:16] Production.INFO: SubscriptionStartDate =2025-06-19 - SubscriptionEndDate = 2025-07-18
[2025-06-19 04:30:16] Production.INFO: NewNextChargeDate =2025-07-18 00:00:00
[2025-06-19 04:30:16] Production.INFO: EndDate =2025-06-18 00:00:00
[2025-06-19 04:30:16] Production.INFO: NewEndDate1 =2025-06-19
[2025-06-19 04:30:16] Production.INFO: SubscriptionDate
[2025-06-19 04:30:16] Production.INFO: Array
(
[StartDate] => 2025-06-19
[EndDate] => 2025-07-18 00:00:00
[AlreadyCharged] => 0
)
[2025-06-19 04:30:16] Production.INFO: AccountSubscription StartDate 2018-07-19 StartDate 2025-05-19
[2025-06-19 04:30:16] Production.INFO: SubscriptionID - 2025-06-19=====2025-07-18 00:00:00
[2025-06-19 04:30:16] Production.INFO: AccountSubscriptionID - 315 === 2018-07-19=====2026-06-19
[2025-06-19 04:30:16] Production.INFO: regular Advance Subscription
[2025-06-19 04:30:16] Production.INFO: First Time False 2018-07-19 2025-06-19
[2025-06-19 04:30:16] Production.INFO: StartDate 2025-06-19 AccountSubscription->StartDate 2018-07-19 EndDate 2025-07-18 00:00:00 AccountSubscription->EndDate 2026-06-19
[2025-06-19 04:30:16] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-06-19 04:30:16] Production.INFO: AccountSubscription::getSubscriptionAmount(315,2025-06-19,2025-07-18 00:00:00,,0)
[2025-06-19 04:30:16] Production.INFO: SubscriptionCharge - 2.5
[2025-06-19 04:30:16] Production.INFO: Already Invoice Subscription 0
[2025-06-19 04:30:16] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(78,1,4,2025-06-19,2025-07-18 00:00:00,e911 address registration (19052019009 - 50 Anderson Ave., Markham, ON L6E 1A6 Canada),2.5,2.5,1,315)
[2025-06-19 04:30:16] Production.INFO: DiscountAmount 0.000000
[2025-06-19 04:30:16] Production.INFO: DiscountType
[2025-06-19 04:30:16] Production.INFO: SubscriptionCharge 2.5
[2025-06-19 04:30:16] Production.INFO: New SubscriptionCharge 2.5
[2025-06-19 04:30:16] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-06-19 04:30:16] Production.INFO: ============================Subscription End =================
[2025-06-19 04:30:16] Production.INFO: ============================Subscription Start =================
[2025-06-19 04:30:16] Production.INFO: SubscriptionID - 71
[2025-06-19 04:30:16] Production.INFO: isAdvanceSubscription - 71
[2025-06-19 04:30:16] Production.INFO: SubscriptionStartDate =2025-06-19 - SubscriptionEndDate = 2025-07-18
[2025-06-19 04:30:16] Production.INFO: NewNextChargeDate =2025-07-18 00:00:00
[2025-06-19 04:30:16] Production.INFO: EndDate =2025-06-16 00:00:00
[2025-06-19 04:30:16] Production.INFO: NewEndDate1 =2025-06-17
[2025-06-19 04:30:16] Production.INFO: SubscriptionDate
[2025-06-19 04:30:16] Production.INFO: Array
(
[StartDate] => 2025-06-17
[EndDate] => 2025-07-18 00:00:00
[AlreadyCharged] => 0
)
[2025-06-19 04:30:16] Production.INFO: AccountSubscription StartDate 2025-04-17 StartDate 2025-05-19
[2025-06-19 04:30:16] Production.INFO: SubscriptionID - 2025-06-17=====2025-07-18 00:00:00
[2025-06-19 04:30:16] Production.INFO: AccountSubscriptionID - 1325 === 2025-04-17=====2025-06-16
[2025-06-19 04:30:16] Production.INFO: ============================Subscription End =================
[2025-06-19 04:30:16] Production.INFO: SUBSCRIPTION Over
[2025-06-19 04:30:16] Production.INFO: Call prc_getAccountOneOffCharge(78,0,2025-05-19,2025-06-19 23:59:59)
[2025-06-19 04:30:16] Production.INFO: AccountOneOffCharge 0
[2025-06-19 04:30:16] Production.INFO: AccountOneOffCharge Over
[2025-06-19 04:30:16] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-06-19 04:30:16] Production.INFO: New UsageDates 2025-05-19 - 2025-06-18 23:59:59
[2025-06-19 04:30:16] Production.INFO: SubTotal 16.17
[2025-06-19 04:30:16] Production.INFO: SubTotalWithouttaxTotal 0
[2025-06-19 04:30:16] Production.INFO: AccountOneOffCharge Tax Over
[2025-06-19 04:30:16] Production.INFO: TotalTax 2.1021
[2025-06-19 04:30:16] Production.INFO: InvoiceGrandTotal 18.2721
[2025-06-19 04:30:16] Production.INFO: InvoiceTaxAmount 2.1
[2025-06-19 04:30:16] Production.INFO: GrandTotal 18.27
[2025-06-19 04:30:16] Production.INFO: SubTotal 16.17
[2025-06-19 04:30:16] Production.INFO: TotalDue 15.53
[2025-06-19 04:30:16] Production.INFO: Reseller ==> 0
[2025-06-19 04:30:16] Production.INFO: original start date ==>2025-05-19 changed start date ==>2025-05-19 00:00:00 original end date ==>2025-06-18 23:59:59 changed end date ==>2025-06-18 23:59:59
[2025-06-19 04:30:16] Production.INFO: CALL prc_getInvoiceUsage(1,'78','0','1','2025-05-19 00:00:00','2025-06-18 23:59:59',0)
[2025-06-19 04:30:16] Production.INFO: PDF Generation start
[2025-06-19 04:30:17] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/78/Invoices/2025/06/19/Invoice-halcyon-travel-inv12232-from-05-19-2025-to-06-18-2025-11190.pdf
[2025-06-19 04:30:17] Production.INFO: On Linux
[2025-06-19 04:30:18] 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/78/Invoices/2025/06/19/footer-halcyon-travel-inv12232-from-05-19-2025-to-06-18-2025-11190.html" "/var/www/tmp/1/78/Invoices/2025/06/19/Invoice-halcyon-travel-inv12232-from-05-19-2025-to-06-18-2025-11190.html" "/var/www/tmp/1/78/Invoices/2025/06/19/Invoice-halcyon-travel-inv12232-from-05-19-2025-to-06-18-2025-11190.pdf"
[2025-06-19 04:30:18] Production.INFO:
[2025-06-19 04:30:18] Production.INFO: /var/www/tmp/1/78/Invoices/2025/06/19/Invoice-halcyon-travel-inv12232-from-05-19-2025-to-06-18-2025-11190.html
[2025-06-19 04:30:18] Production.INFO: /var/www/tmp/1/78/Invoices/2025/06/19/header-halcyon-travel-inv12232-from-05-19-2025-to-06-18-2025-11190.html
[2025-06-19 04:30:18] Production.INFO: /var/www/tmp/1/78/Invoices/2025/06/19/footer-halcyon-travel-inv12232-from-05-19-2025-to-06-18-2025-11190.html
[2025-06-19 04:30:18] Production.INFO: Invoice generation PDF path
[2025-06-19 04:30:18] Production.INFO: PDF fullPath 1/78/Invoices/2025/06/19/Invoice-halcyon-travel-inv12232-from-05-19-2025-to-06-18-2025-11190.pdf
[2025-06-19 04:30:18] Production.INFO: Generate Usage File Start
[2025-06-19 04:30:18] Production.INFO: Usage File fullPath 1/78/InvoiceUsageFile/2025/06/19/halcyon-travel-19-05-2025-00-00-00-TO-18-06-2025-23-59-59_3168__a2015340-4ce7-11f0-ae77-af399ece941d.csv
[2025-06-19 04:30:20] Production.INFO: Sending Email to Staff over
[2025-06-19 04:30:20] Production.INFO: Email Status 1
[2025-06-19 04:30:20] Production.INFO: Sending Email to Customer
[2025-06-19 04:30:20] Production.INFO: =========== Email Sending over ===========
[2025-06-19 04:30:20] Production.INFO: =========== Returning as Success =========== AccountID 78
[2025-06-19 04:30:20] Production.INFO: Invoice::sendInvoice done
[2025-06-19 04:30:20] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-06-19 04:30:20] Production.INFO: Invoice Committed AccountID = 78
[2025-06-19 04:30:20] Production.INFO: =========== Updating InvoiceDate ===========
[2025-06-19 04:30:20] Production.INFO: NextInvoice 2025-06-19 2025-07-18
[2025-06-19 04:30:20] Production.INFO: new dates
[2025-06-19 04:30:20] Production.INFO: LastInvoiceDate 2025-06-19 NextInvoiceDate 2025-07-19
[2025-06-19 04:30:20] Production.INFO: LastChargeDate 2025-06-19 NextChargeDate 2025-07-18
[2025-06-19 04:30:20] Production.INFO: =========== Updated InvoiceDate ===========
[2025-06-19 04:30:20] Production.INFO: ========================== Invoice Send End =============================
[2025-06-19 04:30:20] Production.INFO: AccountID =102 FirstInvoiceSend 0
[2025-06-19 04:30:20] Production.INFO: LastInvoiceDate 2025-05-19 NextInvoiceDate 2025-06-19
[2025-06-19 04:30:20] Production.INFO: LastChargeDate 2025-05-19 NextChargeDate 2025-06-18
[2025-06-19 04:30:20] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-06-19 04:30:20] Production.INFO: ========================== Invoice Send Start =============================
[2025-06-19 04:30:20] Production.INFO: Invoice::sendInvoice(1,102,2025-05-19,2025-06-19,billing@onswitchit.ca)
[2025-06-19 04:30:20] Production.INFO: start Date =2025-05-19 EndDate =2025-06-18 23:59:59
[2025-06-19 04:30:20] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-06-19 04:30:20] 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-06-19 04:30:20] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-06-19 04:30:20] Production.INFO: AlreadyBilled
[2025-06-19 04:30:20] Production.INFO: Reseller ==> 0
[2025-06-19 04:30:20] Production.INFO: original start date ==>2025-05-19 changed start date ==>2025-05-19 02:00:00 original end date ==>2025-06-18 23:59:59 changed end date ==>2025-06-19 01:59:59
[2025-06-19 04:30:20] Production.INFO: Invoice::getAccountUsageTotal(1,102,2025-05-19,2025-06-18 23:59:59)
[2025-06-19 04:30:20] Production.INFO: TotalCharges - 0
[2025-06-19 04:30:20] Production.INFO: TotalUsageCharges - 0.00
[2025-06-19 04:30:20] Production.INFO: Usage Over
[2025-06-19 04:30:20] Production.INFO: Call prc_getAccountSubscription(102,0)
[2025-06-19 04:30:20] Production.INFO: SUBSCRIPTION 3
[2025-06-19 04:30:20] Production.INFO: ============================Subscription Start =================
[2025-06-19 04:30:20] Production.INFO: SubscriptionID - 5
[2025-06-19 04:30:20] Production.INFO: isAdvanceSubscription - 5
[2025-06-19 04:30:20] Production.INFO: SubscriptionStartDate =2025-06-19 - SubscriptionEndDate = 2025-07-18
[2025-06-19 04:30:20] Production.INFO: NewNextChargeDate =2025-07-18 00:00:00
[2025-06-19 04:30:20] Production.INFO: EndDate =2025-06-18 00:00:00
[2025-06-19 04:30:20] Production.INFO: NewEndDate1 =2025-06-19
[2025-06-19 04:30:20] Production.INFO: SubscriptionDate
[2025-06-19 04:30:20] Production.INFO: Array
(
[StartDate] => 2025-06-19
[EndDate] => 2025-07-18 00:00:00
[AlreadyCharged] => 0
)
[2025-06-19 04:30:20] Production.INFO: AccountSubscription StartDate 2018-12-17 StartDate 2025-05-19
[2025-06-19 04:30:20] Production.INFO: SubscriptionID - 2025-06-19=====2025-07-18 00:00:00
[2025-06-19 04:30:20] Production.INFO: AccountSubscriptionID - 350 === 2018-12-17=====2026-06-19
[2025-06-19 04:30:20] Production.INFO: regular Advance Subscription
[2025-06-19 04:30:20] Production.INFO: First Time False 2018-12-17 2025-06-19
[2025-06-19 04:30:20] Production.INFO: StartDate 2025-06-19 AccountSubscription->StartDate 2018-12-17 EndDate 2025-07-18 00:00:00 AccountSubscription->EndDate 2026-06-19
[2025-06-19 04:30:20] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-06-19 04:30:20] Production.INFO: AccountSubscription::getSubscriptionAmount(350,2025-06-19,2025-07-18 00:00:00,,0)
[2025-06-19 04:30:20] Production.INFO: SubscriptionCharge - 75
[2025-06-19 04:30:20] Production.INFO: Already Invoice Subscription 0
[2025-06-19 04:30:20] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(102,1,5,2025-06-19,2025-07-18 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,350)
[2025-06-19 04:30:20] Production.INFO: DiscountAmount 0.000000
[2025-06-19 04:30:20] Production.INFO: DiscountType
[2025-06-19 04:30:20] Production.INFO: SubscriptionCharge 75
[2025-06-19 04:30:20] Production.INFO: New SubscriptionCharge 75
[2025-06-19 04:30:20] Production.INFO: TotalSubscriptionCharge - 75.00
[2025-06-19 04:30:20] Production.INFO: ============================Subscription End =================
[2025-06-19 04:30:20] Production.INFO: ============================Subscription Start =================
[2025-06-19 04:30:20] Production.INFO: SubscriptionID - 4
[2025-06-19 04:30:20] Production.INFO: isAdvanceSubscription - 4
[2025-06-19 04:30:20] Production.INFO: SubscriptionStartDate =2025-06-19 - SubscriptionEndDate = 2025-07-18
[2025-06-19 04:30:20] Production.INFO: NewNextChargeDate =2025-07-18 00:00:00
[2025-06-19 04:30:20] Production.INFO: EndDate =2025-06-18 00:00:00
[2025-06-19 04:30:20] Production.INFO: NewEndDate1 =2025-06-19
[2025-06-19 04:30:20] Production.INFO: SubscriptionDate
[2025-06-19 04:30:20] Production.INFO: Array
(
[StartDate] => 2025-06-19
[EndDate] => 2025-07-18 00:00:00
[AlreadyCharged] => 0
)
[2025-06-19 04:30:20] Production.INFO: AccountSubscription StartDate 2018-12-17 StartDate 2025-05-19
[2025-06-19 04:30:20] Production.INFO: SubscriptionID - 2025-06-19=====2025-07-18 00:00:00
[2025-06-19 04:30:20] Production.INFO: AccountSubscriptionID - 351 === 2018-12-17=====2026-06-19
[2025-06-19 04:30:20] Production.INFO: regular Advance Subscription
[2025-06-19 04:30:20] Production.INFO: First Time False 2018-12-17 2025-06-19
[2025-06-19 04:30:20] Production.INFO: StartDate 2025-06-19 AccountSubscription->StartDate 2018-12-17 EndDate 2025-07-18 00:00:00 AccountSubscription->EndDate 2026-06-19
[2025-06-19 04:30:20] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-06-19 04:30:20] Production.INFO: AccountSubscription::getSubscriptionAmount(351,2025-06-19,2025-07-18 00:00:00,,0)
[2025-06-19 04:30:20] Production.INFO: SubscriptionCharge - 0
[2025-06-19 04:30:20] Production.INFO: Already Invoice Subscription 0
[2025-06-19 04:30:20] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(102,1,4,2025-06-19,2025-07-18 00:00:00,e911 address registration (15876007700 - 2700 Main Street SE 360 Airdrie, AB T4B 2Y1 Canada),0,0,1,351)
[2025-06-19 04:30:20] Production.INFO: DiscountAmount 0.000000
[2025-06-19 04:30:20] Production.INFO: DiscountType
[2025-06-19 04:30:20] Production.INFO: SubscriptionCharge 0
[2025-06-19 04:30:20] Production.INFO: New SubscriptionCharge 0
[2025-06-19 04:30:20] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-06-19 04:30:20] Production.INFO: ============================Subscription End =================
[2025-06-19 04:30:20] Production.INFO: ============================Subscription Start =================
[2025-06-19 04:30:20] Production.INFO: SubscriptionID - 11
[2025-06-19 04:30:20] Production.INFO: isAdvanceSubscription - 11
[2025-06-19 04:30:20] Production.INFO: SubscriptionStartDate =2025-06-19 - SubscriptionEndDate = 2025-07-18
[2025-06-19 04:30:20] Production.INFO: NewNextChargeDate =2025-07-18 00:00:00
[2025-06-19 04:30:20] Production.INFO: EndDate =2025-06-18 00:00:00
[2025-06-19 04:30:20] Production.INFO: NewEndDate1 =2025-06-19
[2025-06-19 04:30:20] Production.INFO: SubscriptionDate
[2025-06-19 04:30:20] Production.INFO: Array
(
[StartDate] => 2025-06-19
[EndDate] => 2025-07-18 00:00:00
[AlreadyCharged] => 0
)
[2025-06-19 04:30:20] Production.INFO: AccountSubscription StartDate 2019-05-20 StartDate 2025-05-19
[2025-06-19 04:30:20] Production.INFO: SubscriptionID - 2025-06-19=====2025-07-18 00:00:00
[2025-06-19 04:30:20] Production.INFO: AccountSubscriptionID - 419 === 2019-05-20=====2026-06-19
[2025-06-19 04:30:20] Production.INFO: regular Advance Subscription
[2025-06-19 04:30:20] Production.INFO: First Time False 2019-05-20 2025-06-19
[2025-06-19 04:30:20] Production.INFO: StartDate 2025-06-19 AccountSubscription->StartDate 2019-05-20 EndDate 2025-07-18 00:00:00 AccountSubscription->EndDate 2026-06-19
[2025-06-19 04:30:20] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-06-19 04:30:20] Production.INFO: AccountSubscription::getSubscriptionAmount(419,2025-06-19,2025-07-18 00:00:00,,0)
[2025-06-19 04:30:20] Production.INFO: SubscriptionCharge - -5
[2025-06-19 04:30:20] Production.INFO: Already Invoice Subscription 0
[2025-06-19 04:30:20] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(102,1,11,2025-06-19,2025-07-18 00:00:00,Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service,-15,-5,3,419)
[2025-06-19 04:30:20] Production.INFO: DiscountAmount 0.000000
[2025-06-19 04:30:20] Production.INFO: DiscountType
[2025-06-19 04:30:20] Production.INFO: SubscriptionCharge -15
[2025-06-19 04:30:20] Production.INFO: New SubscriptionCharge -15
[2025-06-19 04:30:20] Production.INFO: TotalSubscriptionCharge - -15.00
[2025-06-19 04:30:20] Production.INFO: ============================Subscription End =================
[2025-06-19 04:30:20] Production.INFO: SUBSCRIPTION Over
[2025-06-19 04:30:20] Production.INFO: Call prc_getAccountOneOffCharge(102,0,2025-05-19,2025-06-19 23:59:59)
[2025-06-19 04:30:20] Production.INFO: AccountOneOffCharge 0
[2025-06-19 04:30:20] Production.INFO: AccountOneOffCharge Over
[2025-06-19 04:30:20] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-06-19 04:30:20] Production.INFO: New UsageDates 2025-05-19 - 2025-06-18 23:59:59
[2025-06-19 04:30:20] Production.INFO: SubTotal 60
[2025-06-19 04:30:20] Production.INFO: SubTotalWithouttaxTotal 0
[2025-06-19 04:30:20] Production.INFO: AccountOneOffCharge Tax Over
[2025-06-19 04:30:20] Production.INFO: TotalTax 3
[2025-06-19 04:30:20] Production.INFO: InvoiceGrandTotal 63
[2025-06-19 04:30:20] Production.INFO: InvoiceTaxAmount 3
[2025-06-19 04:30:20] Production.INFO: GrandTotal 63
[2025-06-19 04:30:20] Production.INFO: SubTotal 60.00
[2025-06-19 04:30:20] Production.INFO: TotalDue 63.00
[2025-06-19 04:30:20] Production.INFO: Reseller ==> 0
[2025-06-19 04:30:20] Production.INFO: original start date ==>2025-05-19 changed start date ==>2025-05-19 02:00:00 original end date ==>2025-06-18 23:59:59 changed end date ==>2025-06-19 01:59:59
[2025-06-19 04:30:20] Production.INFO: CALL prc_getInvoiceUsage(1,'102','0','1','2025-05-19 02:00:00','2025-06-19 01:59:59',0)
[2025-06-19 04:30:20] Production.INFO: PDF Generation start
[2025-06-19 04:30:20] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/102/Invoices/2025/06/19/Invoice-dominos-39013-mudassar-zia-inv12233-from-05-19-2025-to-06-18-2025-11191.pdf
[2025-06-19 04:30:20] Production.INFO: On Linux
[2025-06-19 04:30:21] 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/102/Invoices/2025/06/19/footer-dominos-39013-mudassar-zia-inv12233-from-05-19-2025-to-06-18-2025-11191.html" "/var/www/tmp/1/102/Invoices/2025/06/19/Invoice-dominos-39013-mudassar-zia-inv12233-from-05-19-2025-to-06-18-2025-11191.html" "/var/www/tmp/1/102/Invoices/2025/06/19/Invoice-dominos-39013-mudassar-zia-inv12233-from-05-19-2025-to-06-18-2025-11191.pdf"
[2025-06-19 04:30:21] Production.INFO:
[2025-06-19 04:30:21] Production.INFO: /var/www/tmp/1/102/Invoices/2025/06/19/Invoice-dominos-39013-mudassar-zia-inv12233-from-05-19-2025-to-06-18-2025-11191.html
[2025-06-19 04:30:21] Production.INFO: /var/www/tmp/1/102/Invoices/2025/06/19/header-dominos-39013-mudassar-zia-inv12233-from-05-19-2025-to-06-18-2025-11191.html
[2025-06-19 04:30:21] Production.INFO: /var/www/tmp/1/102/Invoices/2025/06/19/footer-dominos-39013-mudassar-zia-inv12233-from-05-19-2025-to-06-18-2025-11191.html
[2025-06-19 04:30:21] Production.INFO: Invoice generation PDF path
[2025-06-19 04:30:21] Production.INFO: PDF fullPath 1/102/Invoices/2025/06/19/Invoice-dominos-39013-mudassar-zia-inv12233-from-05-19-2025-to-06-18-2025-11191.pdf
[2025-06-19 04:30:21] Production.INFO: Generate Usage File Start
[2025-06-19 04:30:21] Production.INFO: Usage File fullPath 1/102/InvoiceUsageFile/2025/06/19/dominos-39013-mudassar-zia-19-05-2025-00-00-00-TO-18-06-2025-23-59-59_2125__a3c0c9e0-4ce7-11f0-b98c-d345e047d13f.csv
[2025-06-19 04:30:23] Production.INFO: Sending Email to Staff over
[2025-06-19 04:30:23] Production.INFO: Email Status 1
[2025-06-19 04:30:23] Production.INFO: Sending Email to Customer
[2025-06-19 04:30:23] Production.INFO: =========== Email Sending over ===========
[2025-06-19 04:30:23] Production.INFO: =========== Returning as Success =========== AccountID 102
[2025-06-19 04:30:23] Production.INFO: Invoice::sendInvoice done
[2025-06-19 04:30:23] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-06-19 04:30:23] Production.INFO: Invoice Committed AccountID = 102
[2025-06-19 04:30:23] Production.INFO: =========== Updating InvoiceDate ===========
[2025-06-19 04:30:23] Production.INFO: NextInvoice 2025-06-19 2025-07-18
[2025-06-19 04:30:23] Production.INFO: new dates
[2025-06-19 04:30:23] Production.INFO: LastInvoiceDate 2025-06-19 NextInvoiceDate 2025-07-19
[2025-06-19 04:30:23] Production.INFO: LastChargeDate 2025-06-19 NextChargeDate 2025-07-18
[2025-06-19 04:30:23] Production.INFO: =========== Updated InvoiceDate ===========
[2025-06-19 04:30:23] Production.INFO: ========================== Invoice Send End =============================
[2025-06-19 04:30:23] Production.INFO: AccountID =108 FirstInvoiceSend 0
[2025-06-19 04:30:23] Production.INFO: LastInvoiceDate 2025-05-19 NextInvoiceDate 2025-06-19
[2025-06-19 04:30:23] Production.INFO: LastChargeDate 2025-05-19 NextChargeDate 2025-06-18
[2025-06-19 04:30:23] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-06-19 04:30:23] Production.INFO: ========================== Invoice Send Start =============================
[2025-06-19 04:30:23] Production.INFO: Invoice::sendInvoice(1,108,2025-05-19,2025-06-19,billing@onswitchit.ca)
[2025-06-19 04:30:23] Production.INFO: start Date =2025-05-19 EndDate =2025-06-18 23:59:59
[2025-06-19 04:30:23] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-06-19 04:30: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-06-19 04:30:23] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-06-19 04:30:23] Production.INFO: AlreadyBilled
[2025-06-19 04:30:23] Production.INFO: Reseller ==> 0
[2025-06-19 04:30:23] Production.INFO: original start date ==>2025-05-19 changed start date ==>2025-05-19 00:00:00 original end date ==>2025-06-18 23:59:59 changed end date ==>2025-06-18 23:59:59
[2025-06-19 04:30:23] Production.INFO: Invoice::getAccountUsageTotal(1,108,2025-05-19,2025-06-18 23:59:59)
[2025-06-19 04:30:23] Production.INFO: TotalCharges - 0
[2025-06-19 04:30:23] Production.INFO: TotalUsageCharges - 0.00
[2025-06-19 04:30:23] Production.INFO: Usage Over
[2025-06-19 04:30:23] Production.INFO: Call prc_getAccountSubscription(108,0)
[2025-06-19 04:30:23] Production.INFO: SUBSCRIPTION 2
[2025-06-19 04:30:23] Production.INFO: ============================Subscription Start =================
[2025-06-19 04:30:23] Production.INFO: SubscriptionID - 1
[2025-06-19 04:30:23] Production.INFO: isAdvanceSubscription - 1
[2025-06-19 04:30:23] Production.INFO: SubscriptionStartDate =2025-06-19 - SubscriptionEndDate = 2025-07-18
[2025-06-19 04:30:23] Production.INFO: NewNextChargeDate =2025-07-18 00:00:00
[2025-06-19 04:30:23] Production.INFO: EndDate =2025-06-18 00:00:00
[2025-06-19 04:30:23] Production.INFO: NewEndDate1 =2025-06-19
[2025-06-19 04:30:23] Production.INFO: SubscriptionDate
[2025-06-19 04:30:23] Production.INFO: Array
(
[StartDate] => 2025-06-19
[EndDate] => 2025-07-18 00:00:00
[AlreadyCharged] => 0
)
[2025-06-19 04:30:23] Production.INFO: AccountSubscription StartDate 2019-02-12 StartDate 2025-05-19
[2025-06-19 04:30:23] Production.INFO: SubscriptionID - 2025-06-19=====2025-07-18 00:00:00
[2025-06-19 04:30:23] Production.INFO: AccountSubscriptionID - 375 === 2019-02-12=====2026-06-19
[2025-06-19 04:30:23] Production.INFO: regular Advance Subscription
[2025-06-19 04:30:23] Production.INFO: First Time False 2019-02-12 2025-06-19
[2025-06-19 04:30:23] Production.INFO: StartDate 2025-06-19 AccountSubscription->StartDate 2019-02-12 EndDate 2025-07-18 00:00:00 AccountSubscription->EndDate 2026-06-19
[2025-06-19 04:30:23] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-06-19 04:30:23] Production.INFO: AccountSubscription::getSubscriptionAmount(375,2025-06-19,2025-07-18 00:00:00,,0)
[2025-06-19 04:30:23] Production.INFO: SubscriptionCharge - 10
[2025-06-19 04:30:23] Production.INFO: Already Invoice Subscription 0
[2025-06-19 04:30:23] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(108,1,1,2025-06-19,2025-07-18 00:00:00,License for a Pay As You Go Cloud Phone extension,10,10,1,375)
[2025-06-19 04:30:23] Production.INFO: DiscountAmount 0.000000
[2025-06-19 04:30:23] Production.INFO: DiscountType
[2025-06-19 04:30:23] Production.INFO: SubscriptionCharge 10
[2025-06-19 04:30:23] Production.INFO: New SubscriptionCharge 10
[2025-06-19 04:30:23] Production.INFO: TotalSubscriptionCharge - 10.00
[2025-06-19 04:30:23] Production.INFO: ============================Subscription End =================
[2025-06-19 04:30:23] Production.INFO: ============================Subscription Start =================
[2025-06-19 04:30:23] Production.INFO: SubscriptionID - 24
[2025-06-19 04:30:23] Production.INFO: SubscriptionID - 2025-05-19=====2025-06-18
[2025-06-19 04:30:23] Production.INFO: AccountSubscriptionID - 547 === 2020-10-08=====2026-06-19
[2025-06-19 04:30:23] Production.INFO: regular Subscription
[2025-06-19 04:30:23] Production.INFO: First Time False 2020-10-08 2025-05-19
[2025-06-19 04:30:23] Production.INFO: StartDate 2025-05-19 AccountSubscription->StartDate 2020-10-08 EndDate 2025-06-18 AccountSubscription->EndDate 2026-06-19
[2025-06-19 04:30:23] Production.INFO: days diff - 31 subscription days 31 quarter days 91
[2025-06-19 04:30:23] Production.INFO: AccountSubscription::getSubscriptionAmount(547,2025-05-19,2025-06-18,,0)
[2025-06-19 04:30:23] Production.INFO: SubscriptionCharge - -10
[2025-06-19 04:30:23] Production.INFO: Already Invoice Subscription 0
[2025-06-19 04:30:23] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(108,1,24,2025-05-19,2025-06-18,Discount - 100% (Approved by Xander Robar),-10,-10,1,547)
[2025-06-19 04:30:23] Production.INFO: DiscountAmount 0.000000
[2025-06-19 04:30:23] Production.INFO: DiscountType
[2025-06-19 04:30:23] Production.INFO: SubscriptionCharge -10
[2025-06-19 04:30:23] Production.INFO: New SubscriptionCharge -10
[2025-06-19 04:30:23] Production.INFO: TotalSubscriptionCharge - -10.00
[2025-06-19 04:30:23] Production.INFO: ============================Subscription End =================
[2025-06-19 04:30:23] Production.INFO: SUBSCRIPTION Over
[2025-06-19 04:30:23] Production.INFO: Call prc_getAccountOneOffCharge(108,0,2025-05-19,2025-06-19 23:59:59)
[2025-06-19 04:30:23] Production.INFO: AccountOneOffCharge 0
[2025-06-19 04:30:23] Production.INFO: AccountOneOffCharge Over
[2025-06-19 04:30:23] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-06-19 04:30:23] Production.INFO: New UsageDates 2025-05-19 - 2025-06-18 23:59:59
[2025-06-19 04:30:23] Production.INFO: SubTotal 0
[2025-06-19 04:30:23] Production.INFO: SubTotalWithouttaxTotal 0
[2025-06-19 04:30:23] Production.INFO: AccountOneOffCharge Tax Over
[2025-06-19 04:30:23] Production.INFO: TotalTax 0
[2025-06-19 04:30:23] Production.INFO: InvoiceGrandTotal 0
[2025-06-19 04:30:23] Production.INFO: InvoiceTaxAmount 0
[2025-06-19 04:30:23] Production.INFO: GrandTotal 0
[2025-06-19 04:30:23] Production.INFO: SubTotal 0.00
[2025-06-19 04:30:23] Production.INFO: TotalDue 0.00
[2025-06-19 04:30:23] Production.INFO: Reseller ==> 0
[2025-06-19 04:30:23] Production.INFO: original start date ==>2025-05-19 changed start date ==>2025-05-19 00:00:00 original end date ==>2025-06-18 23:59:59 changed end date ==>2025-06-18 23:59:59
[2025-06-19 04:30:23] Production.INFO: CALL prc_getInvoiceUsage(1,'108','0','1','2025-05-19 00:00:00','2025-06-18 23:59:59',0)
[2025-06-19 04:30:23] Production.INFO: PDF Generation start
[2025-06-19 04:30:23] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/108/Invoices/2025/06/19/Invoice-jamie-lauer-inv12234-from-05-19-2025-to-06-18-2025-11192.pdf
[2025-06-19 04:30:23] Production.INFO: On Linux
[2025-06-19 04:30:24] 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/108/Invoices/2025/06/19/footer-jamie-lauer-inv12234-from-05-19-2025-to-06-18-2025-11192.html" "/var/www/tmp/1/108/Invoices/2025/06/19/Invoice-jamie-lauer-inv12234-from-05-19-2025-to-06-18-2025-11192.html" "/var/www/tmp/1/108/Invoices/2025/06/19/Invoice-jamie-lauer-inv12234-from-05-19-2025-to-06-18-2025-11192.pdf"
[2025-06-19 04:30:24] Production.INFO:
[2025-06-19 04:30:24] Production.INFO: /var/www/tmp/1/108/Invoices/2025/06/19/Invoice-jamie-lauer-inv12234-from-05-19-2025-to-06-18-2025-11192.html
[2025-06-19 04:30:24] Production.INFO: /var/www/tmp/1/108/Invoices/2025/06/19/header-jamie-lauer-inv12234-from-05-19-2025-to-06-18-2025-11192.html
[2025-06-19 04:30:24] Production.INFO: /var/www/tmp/1/108/Invoices/2025/06/19/footer-jamie-lauer-inv12234-from-05-19-2025-to-06-18-2025-11192.html
[2025-06-19 04:30:24] Production.INFO: Invoice generation PDF path
[2025-06-19 04:30:24] Production.INFO: PDF fullPath 1/108/Invoices/2025/06/19/Invoice-jamie-lauer-inv12234-from-05-19-2025-to-06-18-2025-11192.pdf
[2025-06-19 04:30:24] Production.INFO: Generate Usage File Start
[2025-06-19 04:30:24] Production.INFO: Usage File fullPath 1/108/InvoiceUsageFile/2025/06/19/jamie-lauer-19-05-2025-00-00-00-TO-18-06-2025-23-59-59_9967__a5619b10-4ce7-11f0-9633-cd9b6ed5e677.csv
[2025-06-19 04:30:25] Production.INFO: Sending Email to Staff over
[2025-06-19 04:30:25] Production.INFO: Email Status 1
[2025-06-19 04:30:25] Production.INFO: Sending Email to Customer
[2025-06-19 04:30:25] Production.INFO: =========== Email Sending over ===========
[2025-06-19 04:30:25] Production.INFO: =========== Returning as Success =========== AccountID 108
[2025-06-19 04:30:25] Production.INFO: Invoice::sendInvoice done
[2025-06-19 04:30:25] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-06-19 04:30:25] Production.INFO: Invoice Committed AccountID = 108
[2025-06-19 04:30:25] Production.INFO: =========== Updating InvoiceDate ===========
[2025-06-19 04:30:25] Production.INFO: NextInvoice 2025-06-19 2025-07-18
[2025-06-19 04:30:25] Production.INFO: new dates
[2025-06-19 04:30:25] Production.INFO: LastInvoiceDate 2025-06-19 NextInvoiceDate 2025-07-19
[2025-06-19 04:30:25] Production.INFO: LastChargeDate 2025-06-19 NextChargeDate 2025-07-18
[2025-06-19 04:30:25] Production.INFO: =========== Updated InvoiceDate ===========
[2025-06-19 04:30:25] Production.INFO: ========================== Invoice Send End =============================
[2025-06-19 04:30:25] Production.INFO: AccountID =143 FirstInvoiceSend 0
[2025-06-19 04:30:25] Production.INFO: LastInvoiceDate 2025-05-19 NextInvoiceDate 2025-06-19
[2025-06-19 04:30:25] Production.INFO: LastChargeDate 2025-05-19 NextChargeDate 2025-06-18
[2025-06-19 04:30:25] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-06-19 04:30:25] Production.INFO: ========================== Invoice Send Start =============================
[2025-06-19 04:30:25] Production.INFO: Invoice::sendInvoice(1,143,2025-05-19,2025-06-19,billing@onswitchit.ca)
[2025-06-19 04:30:25] Production.INFO: start Date =2025-05-19 EndDate =2025-06-18 23:59:59
[2025-06-19 04:30:25] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-06-19 04:30:25] 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-06-19 04:30:25] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-06-19 04:30:25] Production.INFO: AlreadyBilled
[2025-06-19 04:30:25] Production.INFO: Reseller ==> 0
[2025-06-19 04:30:25] Production.INFO: Invoice::getAccountUsageTotal(1,143,2025-05-19,2025-06-18 23:59:59)
[2025-06-19 04:30:25] Production.INFO: TotalCharges - 0
[2025-06-19 04:30:25] Production.INFO: TotalUsageCharges - 0.00
[2025-06-19 04:30:25] Production.INFO: Usage Over
[2025-06-19 04:30:25] Production.INFO: Call prc_getAccountSubscription(143,0)
[2025-06-19 04:30:25] Production.INFO: SUBSCRIPTION 1
[2025-06-19 04:30:25] Production.INFO: ============================Subscription Start =================
[2025-06-19 04:30:25] Production.INFO: SubscriptionID - 7
[2025-06-19 04:30:25] Production.INFO: isAdvanceSubscription - 7
[2025-06-19 04:30:25] Production.INFO: SubscriptionStartDate =2025-06-19 - SubscriptionEndDate = 2025-07-18
[2025-06-19 04:30:25] Production.INFO: NewNextChargeDate =2025-07-18 00:00:00
[2025-06-19 04:30:25] Production.INFO: EndDate =2025-02-28 00:00:00
[2025-06-19 04:30:25] Production.INFO: NewEndDate1 =2025-03-01
[2025-06-19 04:30:25] Production.INFO: SubscriptionDate
[2025-06-19 04:30:25] Production.INFO: Array
(
[StartDate] => 2025-03-01
[EndDate] => 2025-07-18 00:00:00
[AlreadyCharged] => 0
)
[2025-06-19 04:30:25] Production.INFO: New Account Subscription Start
[2025-06-19 04:30:25] Production.INFO: AccountSubscription StartDate 2020-12-19 StartDate 2025-05-19
[2025-06-19 04:30:25] Production.INFO: SubscriptionID - 2025-03-01=====2025-07-18 00:00:00
[2025-06-19 04:30:25] Production.INFO: AccountSubscriptionID - 558 === 2020-12-19=====2025-02-28
[2025-06-19 04:30:25] Production.INFO: ============================Subscription End =================
[2025-06-19 04:30:25] Production.INFO: SUBSCRIPTION Over
[2025-06-19 04:30:25] Production.INFO: Call prc_getAccountOneOffCharge(143,0,2025-05-19,2025-06-19 23:59:59)
[2025-06-19 04:30:25] Production.INFO: AccountOneOffCharge 0
[2025-06-19 04:30:25] Production.INFO: AccountOneOffCharge Over
[2025-06-19 04:30:25] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-06-19 04:30:25] Production.INFO: New UsageDates 2025-05-19 - 2025-06-18 23:59:59
[2025-06-19 04:30:25] Production.INFO: SubTotal 0
[2025-06-19 04:30:25] Production.INFO: SubTotalWithouttaxTotal 0
[2025-06-19 04:30:25] Production.INFO: AccountOneOffCharge Tax Over
[2025-06-19 04:30:25] Production.INFO: TotalTax 0
[2025-06-19 04:30:25] Production.INFO: InvoiceGrandTotal 0
[2025-06-19 04:30:25] Production.INFO: InvoiceTaxAmount 0
[2025-06-19 04:30:25] Production.INFO: GrandTotal 0
[2025-06-19 04:30:25] Production.INFO: SubTotal 0.00
[2025-06-19 04:30:25] Production.INFO: TotalDue 64.07
[2025-06-19 04:30:25] Production.INFO: Reseller ==> 0
[2025-06-19 04:30:25] Production.INFO: PDF Generation start
[2025-06-19 04:30:25] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/143/Invoices/2025/06/19/Invoice-orange-contracting-inv12235-from-05-19-2025-to-06-18-2025-11193.pdf
[2025-06-19 04:30:25] Production.INFO: On Linux
[2025-06-19 04:30:26] 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/143/Invoices/2025/06/19/footer-orange-contracting-inv12235-from-05-19-2025-to-06-18-2025-11193.html" "/var/www/tmp/1/143/Invoices/2025/06/19/Invoice-orange-contracting-inv12235-from-05-19-2025-to-06-18-2025-11193.html" "/var/www/tmp/1/143/Invoices/2025/06/19/Invoice-orange-contracting-inv12235-from-05-19-2025-to-06-18-2025-11193.pdf"
[2025-06-19 04:30:26] Production.INFO:
[2025-06-19 04:30:26] Production.INFO: /var/www/tmp/1/143/Invoices/2025/06/19/Invoice-orange-contracting-inv12235-from-05-19-2025-to-06-18-2025-11193.html
[2025-06-19 04:30:26] Production.INFO: /var/www/tmp/1/143/Invoices/2025/06/19/header-orange-contracting-inv12235-from-05-19-2025-to-06-18-2025-11193.html
[2025-06-19 04:30:26] Production.INFO: /var/www/tmp/1/143/Invoices/2025/06/19/footer-orange-contracting-inv12235-from-05-19-2025-to-06-18-2025-11193.html
[2025-06-19 04:30:27] Production.INFO: Invoice generation PDF path
[2025-06-19 04:30:27] Production.INFO: PDF fullPath 1/143/Invoices/2025/06/19/Invoice-orange-contracting-inv12235-from-05-19-2025-to-06-18-2025-11193.pdf
[2025-06-19 04:30:27] Production.INFO: Generate Usage File Start
[2025-06-19 04:30:27] Production.INFO: Usage File fullPath 1/143/InvoiceUsageFile/2025/06/19/orange-contracting-19-05-2025-00-00-00-TO-18-06-2025-23-59-59_6921__a6ebfb60-4ce7-11f0-b472-07992875c22a.csv
[2025-06-19 04:30:28] Production.INFO: Sending Email to Staff over
[2025-06-19 04:30:28] Production.INFO: Email Status 1
[2025-06-19 04:30:28] Production.INFO: Sending Email to Customer
[2025-06-19 04:30:28] Production.INFO: =========== Email Sending over ===========
[2025-06-19 04:30:28] Production.INFO: =========== Returning as Success =========== AccountID 143
[2025-06-19 04:30:28] Production.INFO: Invoice::sendInvoice done
[2025-06-19 04:30:28] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-06-19 04:30:28] Production.INFO: Invoice Committed AccountID = 143
[2025-06-19 04:30:28] Production.INFO: =========== Updating InvoiceDate ===========
[2025-06-19 04:30:28] Production.INFO: NextInvoice 2025-06-19 2025-07-18
[2025-06-19 04:30:28] Production.INFO: new dates
[2025-06-19 04:30:28] Production.INFO: LastInvoiceDate 2025-06-19 NextInvoiceDate 2025-07-19
[2025-06-19 04:30:28] Production.INFO: LastChargeDate 2025-06-19 NextChargeDate 2025-07-18
[2025-06-19 04:30:28] Production.INFO: =========== Updated InvoiceDate ===========
[2025-06-19 04:30:28] Production.INFO: ========================== Invoice Send End =============================
[2025-06-19 04:30:28] Production.INFO: AccountID =258 FirstInvoiceSend 0
[2025-06-19 04:30:28] Production.INFO: LastInvoiceDate 2025-02-10 NextInvoiceDate 2025-03-10
[2025-06-19 04:30:28] Production.INFO: LastChargeDate 2025-02-10 NextChargeDate 2025-03-09
[2025-06-19 04:30:28] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-06-19 04:30:28] Production.INFO: ========================== Invoice Send Start =============================
[2025-06-19 04:30:28] Production.INFO: Invoice::sendInvoice(1,258,2025-02-10,2025-03-10,billing@onswitchit.ca)
[2025-06-19 04:30:28] Production.INFO: start Date =2025-02-10 EndDate =2025-03-09 23:59:59
[2025-06-19 04:30:28] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-06-19 04:30:28] 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-06-19 04:30:28] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-06-19 04:30:28] Production.INFO: Invoice::sendInvoice done
[2025-06-19 04:30:28] Production.INFO: Invoice rollback AccountID = 258
[2025-06-19 04:30:28] Production.INFO: ========================== Error =============================
[2025-06-19 04:30:28] Production.INFO: Invoice with Error - Array
(
[status] => failure
[message] => Lion Motors Account is already billed on this duration
)
[2025-06-19 04:30:28] Production.INFO: ========================== Invoice Send End =============================
[2025-06-19 04:30:28] Production.INFO: ========================== Recurring invoice Start =============================
[2025-06-19 04:30:28] Production.INFO: recurring invoices ID
[2025-06-19 04:30:28] Production.INFO:
[2025-06-19 04:30:28] Production.INFO: recurring errorsArray
(
)
[2025-06-19 04:30:28] Production.INFO: ========================== Recurring invoice End =============================
[2025-06-19 04:30:28] Production.INFO: ========================== Job Updated =============================
[2025-06-19 04:30:30] Production.INFO: ========================== Job Email Sent =============================
[2025-06-19 04:30:31] Production.ERROR: **Email Sent Status 1
[2025-06-19 04:30:31] Production.ERROR: **Email Sent message Email has been sent
[2025-06-19 04:30:31] Production.ERROR: CronJobId end6
[2025-06-19 04:30:31] Production.INFO: ==29439== Releasing lock...
[2025-06-19 04:30:31] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops#
[2025-06-19 04:30:31] Production.INFO: 38.5 MB #Memory Used#