[2025-01-30 04:31:03] Production.INFO: Call prc_getBillingAccounts(1,2025-01-30,'','0') [2025-01-30 04:31:03] Production.INFO: Array ( [0] => stdClass Object ( [AccountID] => 165 [NextInvoiceDate] => 2025-01-30 [AccountName] => PharmaSave (Oak Tree Medical) [ServiceID] => 0 ) [1] => stdClass Object ( [AccountID] => 205 [NextInvoiceDate] => 2025-01-30 [AccountName] => Dominos 10459 (Sandeep Chaudhari) [ServiceID] => 0 ) ) [2025-01-30 04:31:03] Production.INFO: AccountID =165 FirstInvoiceSend 0 [2025-01-30 04:31:03] Production.INFO: LastInvoiceDate 2024-12-30 NextInvoiceDate 2025-01-30 [2025-01-30 04:31:03] Production.INFO: LastChargeDate 2024-12-30 NextChargeDate 2025-01-29 [2025-01-30 04:31:03] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-01-30 04:31:03] Production.INFO: ========================== Invoice Send Start ============================= [2025-01-30 04:31:03] Production.INFO: Invoice::sendInvoice(1,165,2024-12-30,2025-01-30,billing@onswitchit.ca) [2025-01-30 04:31:03] Production.INFO: start Date =2024-12-30 EndDate =2025-01-29 23:59:59 [2025-01-30 04:31:03] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-01-30 04:31:03] 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-01-30 04:31:03] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-01-30 04:31:03] Production.INFO: AlreadyBilled [2025-01-30 04:31:03] Production.INFO: Reseller ==> 0 [2025-01-30 04:31:03] Production.INFO: original start date ==>2024-12-30 changed start date ==>2024-12-30 00:00:00 original end date ==>2025-01-29 23:59:59 changed end date ==>2025-01-29 23:59:59 [2025-01-30 04:31:03] Production.INFO: Invoice::getAccountUsageTotal(1,165,2024-12-30,2025-01-29 23:59:59) [2025-01-30 04:31:03] Production.INFO: TotalCharges - 0 [2025-01-30 04:31:03] Production.INFO: TotalUsageCharges - 0.00 [2025-01-30 04:31:04] Production.INFO: Usage Over [2025-01-30 04:31:04] Production.INFO: Call prc_getAccountSubscription(165,0) [2025-01-30 04:31:04] Production.INFO: SUBSCRIPTION 3 [2025-01-30 04:31:04] Production.INFO: ============================Subscription Start ================= [2025-01-30 04:31:04] Production.INFO: SubscriptionID - 5 [2025-01-30 04:31:04] Production.INFO: isAdvanceSubscription - 5 [2025-01-30 04:31:04] Production.INFO: SubscriptionStartDate =2025-01-30 - SubscriptionEndDate = 2025-03-01 [2025-01-30 04:31:04] Production.INFO: NewNextChargeDate =2025-03-01 00:00:00 [2025-01-30 04:31:04] Production.INFO: EndDate =2025-01-29 00:00:00 [2025-01-30 04:31:04] Production.INFO: NewEndDate1 =2025-01-30 [2025-01-30 04:31:04] Production.INFO: SubscriptionDate [2025-01-30 04:31:04] Production.INFO: Array ( [StartDate] => 2025-01-30 [EndDate] => 2025-03-01 00:00:00 [AlreadyCharged] => 0 ) [2025-01-30 04:31:04] Production.INFO: AccountSubscription StartDate 2022-03-22 StartDate 2024-12-30 [2025-01-30 04:31:04] Production.INFO: SubscriptionID - 2025-01-30=====2025-03-01 00:00:00 [2025-01-30 04:31:04] Production.INFO: AccountSubscriptionID - 645 === 2022-03-22=====2026-01-30 [2025-01-30 04:31:04] Production.INFO: regular Advance Subscription [2025-01-30 04:31:04] Production.INFO: First Time False 2022-03-22 2025-01-30 [2025-01-30 04:31:04] Production.INFO: StartDate 2025-01-30 AccountSubscription->StartDate 2022-03-22 EndDate 2025-03-01 00:00:00 AccountSubscription->EndDate 2026-01-30 [2025-01-30 04:31:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-30 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(645,2025-01-30,2025-03-01 00:00:00,,0) [2025-01-30 04:31:04] Production.INFO: SubscriptionCharge - 75 [2025-01-30 04:31:04] Production.INFO: Already Invoice Subscription 0 [2025-01-30 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(165,1,5,2025-01-30,2025-03-01 00:00:00,Retail Phone Service - 3 Channels Dedicated/Burst to 5 Channels,75,75,1,645) [2025-01-30 04:31:04] Production.INFO: DiscountAmount 0.000000 [2025-01-30 04:31:04] Production.INFO: DiscountType Flat [2025-01-30 04:31:04] Production.INFO: SubscriptionCharge 75 [2025-01-30 04:31:04] Production.INFO: New SubscriptionCharge 75 [2025-01-30 04:31:04] Production.INFO: TotalSubscriptionCharge - 75.00 [2025-01-30 04:31:04] Production.INFO: ============================Subscription End ================= [2025-01-30 04:31:04] Production.INFO: ============================Subscription Start ================= [2025-01-30 04:31:04] Production.INFO: SubscriptionID - 4 [2025-01-30 04:31:04] Production.INFO: isAdvanceSubscription - 4 [2025-01-30 04:31:04] Production.INFO: SubscriptionStartDate =2025-01-30 - SubscriptionEndDate = 2025-03-01 [2025-01-30 04:31:04] Production.INFO: NewNextChargeDate =2025-03-01 00:00:00 [2025-01-30 04:31:04] Production.INFO: EndDate =2025-01-29 00:00:00 [2025-01-30 04:31:04] Production.INFO: NewEndDate1 =2025-01-30 [2025-01-30 04:31:04] Production.INFO: SubscriptionDate [2025-01-30 04:31:04] Production.INFO: Array ( [StartDate] => 2025-01-30 [EndDate] => 2025-03-01 00:00:00 [AlreadyCharged] => 0 ) [2025-01-30 04:31:04] Production.INFO: AccountSubscription StartDate 2022-03-22 StartDate 2024-12-30 [2025-01-30 04:31:04] Production.INFO: SubscriptionID - 2025-01-30=====2025-03-01 00:00:00 [2025-01-30 04:31:04] Production.INFO: AccountSubscriptionID - 646 === 2022-03-22=====2026-01-30 [2025-01-30 04:31:04] Production.INFO: regular Advance Subscription [2025-01-30 04:31:04] Production.INFO: First Time False 2022-03-22 2025-01-30 [2025-01-30 04:31:04] Production.INFO: StartDate 2025-01-30 AccountSubscription->StartDate 2022-03-22 EndDate 2025-03-01 00:00:00 AccountSubscription->EndDate 2026-01-30 [2025-01-30 04:31:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-30 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(646,2025-01-30,2025-03-01 00:00:00,,0) [2025-01-30 04:31:04] Production.INFO: SubscriptionCharge - 2.5 [2025-01-30 04:31:04] Production.INFO: Already Invoice Subscription 0 [2025-01-30 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(165,1,4,2025-01-30,2025-03-01 00:00:00,e911 address registration (9058521007 - 4B Campbell Drive, Unit 1, Uxbridge, ON L9P1H6),2.5,2.5,1,646) [2025-01-30 04:31:04] Production.INFO: DiscountAmount 0.000000 [2025-01-30 04:31:04] Production.INFO: DiscountType Flat [2025-01-30 04:31:04] Production.INFO: SubscriptionCharge 2.5 [2025-01-30 04:31:04] Production.INFO: New SubscriptionCharge 2.5 [2025-01-30 04:31:04] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-01-30 04:31:04] Production.INFO: ============================Subscription End ================= [2025-01-30 04:31:04] Production.INFO: ============================Subscription Start ================= [2025-01-30 04:31:04] Production.INFO: SubscriptionID - 24 [2025-01-30 04:31:04] Production.INFO: SubscriptionID - 2024-12-30=====2025-01-29 [2025-01-30 04:31:04] Production.INFO: AccountSubscriptionID - 647 === 2022-03-22=====2026-01-30 [2025-01-30 04:31:04] Production.INFO: regular Subscription [2025-01-30 04:31:04] Production.INFO: First Time False 2022-03-22 2024-12-30 [2025-01-30 04:31:04] Production.INFO: StartDate 2024-12-30 AccountSubscription->StartDate 2022-03-22 EndDate 2025-01-29 AccountSubscription->EndDate 2026-01-30 [2025-01-30 04:31:04] Production.INFO: days diff - 31 subscription days 31 quarter days 92 [2025-01-30 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(647,2024-12-30,2025-01-29,,0) [2025-01-30 04:31:04] Production.INFO: SubscriptionCharge - -45 [2025-01-30 04:31:04] Production.INFO: Already Invoice Subscription 0 [2025-01-30 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(165,1,24,2024-12-30,2025-01-29,Discount - Friends and Family (Doug Geary referral),-45,-45,1,647) [2025-01-30 04:31:04] Production.INFO: DiscountAmount 0.000000 [2025-01-30 04:31:04] Production.INFO: DiscountType Flat [2025-01-30 04:31:04] Production.INFO: SubscriptionCharge -45 [2025-01-30 04:31:04] Production.INFO: New SubscriptionCharge -45 [2025-01-30 04:31:04] Production.INFO: TotalSubscriptionCharge - -45.00 [2025-01-30 04:31:04] Production.INFO: ============================Subscription End ================= [2025-01-30 04:31:04] Production.INFO: SUBSCRIPTION Over [2025-01-30 04:31:04] Production.INFO: Call prc_getAccountOneOffCharge(165,0,2024-12-30,2025-01-30 23:59:59) [2025-01-30 04:31:04] Production.INFO: AccountOneOffCharge 0 [2025-01-30 04:31:04] Production.INFO: AccountOneOffCharge Over [2025-01-30 04:31:04] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-01-30 04:31:04] Production.INFO: New UsageDates 2024-12-30 - 2025-01-29 23:59:59 [2025-01-30 04:31:04] Production.INFO: SubTotal 32.5 [2025-01-30 04:31:04] Production.INFO: SubTotalWithouttaxTotal 0 [2025-01-30 04:31:04] Production.INFO: AccountOneOffCharge Tax Over [2025-01-30 04:31:04] Production.INFO: TotalTax 4.225 [2025-01-30 04:31:04] Production.INFO: InvoiceGrandTotal 36.725 [2025-01-30 04:31:04] Production.INFO: InvoiceTaxAmount 4.23 [2025-01-30 04:31:04] Production.INFO: GrandTotal 36.73 [2025-01-30 04:31:04] Production.INFO: SubTotal 32.50 [2025-01-30 04:31:04] Production.INFO: TotalDue 36.73 [2025-01-30 04:31:04] Production.INFO: Reseller ==> 0 [2025-01-30 04:31:04] Production.INFO: original start date ==>2024-12-30 changed start date ==>2024-12-30 00:00:00 original end date ==>2025-01-29 23:59:59 changed end date ==>2025-01-29 23:59:59 [2025-01-30 04:31:04] Production.INFO: CALL prc_getInvoiceUsage(1,'165','0','1','2024-12-30 00:00:00','2025-01-29 23:59:59',0) [2025-01-30 04:31:04] Production.INFO: PDF Generation start [2025-01-30 04:31:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/165/Invoices/2025/01/30/Invoice-pharmasave-oak-tree-medical-inv11433-from-12-30-2024-to-01-29-2025-10364.pdf [2025-01-30 04:31:05] Production.INFO: On Linux [2025-01-30 04:31: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/165/Invoices/2025/01/30/footer-pharmasave-oak-tree-medical-inv11433-from-12-30-2024-to-01-29-2025-10364.html" "/var/www/tmp/1/165/Invoices/2025/01/30/Invoice-pharmasave-oak-tree-medical-inv11433-from-12-30-2024-to-01-29-2025-10364.html" "/var/www/tmp/1/165/Invoices/2025/01/30/Invoice-pharmasave-oak-tree-medical-inv11433-from-12-30-2024-to-01-29-2025-10364.pdf" [2025-01-30 04:31:07] Production.INFO: [2025-01-30 04:31:07] Production.INFO: /var/www/tmp/1/165/Invoices/2025/01/30/Invoice-pharmasave-oak-tree-medical-inv11433-from-12-30-2024-to-01-29-2025-10364.html [2025-01-30 04:31:07] Production.INFO: /var/www/tmp/1/165/Invoices/2025/01/30/header-pharmasave-oak-tree-medical-inv11433-from-12-30-2024-to-01-29-2025-10364.html [2025-01-30 04:31:07] Production.INFO: /var/www/tmp/1/165/Invoices/2025/01/30/footer-pharmasave-oak-tree-medical-inv11433-from-12-30-2024-to-01-29-2025-10364.html [2025-01-30 04:31:07] Production.INFO: Invoice generation PDF path [2025-01-30 04:31:07] Production.INFO: PDF fullPath 1/165/Invoices/2025/01/30/Invoice-pharmasave-oak-tree-medical-inv11433-from-12-30-2024-to-01-29-2025-10364.pdf [2025-01-30 04:31:07] Production.INFO: Generate Usage File Start [2025-01-30 04:31:07] Production.INFO: Usage File fullPath 1/165/InvoiceUsageFile/2025/01/30/pharmasave-oak-tree-medical-30-12-2024-00-00-00-TO-29-01-2025-23-59-59_9237__eed175f0-deec-11ef-b2d7-69f3d9590538.csv [2025-01-30 04:31:07] 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-01-30 04:31:07] Production.INFO: Sending Email to Staff over [2025-01-30 04:31:07] Production.INFO: Email Status failure [2025-01-30 04:31:07] Production.INFO: Sending Email to Customer [2025-01-30 04:31:08] Production.INFO: Email Try 10364 1 [2025-01-30 04:31:08] Production.INFO: =========== Email Sending over =========== [2025-01-30 04:31:08] Production.INFO: =========== Returning as Success =========== AccountID 165 [2025-01-30 04:31:08] Production.INFO: Invoice::sendInvoice done [2025-01-30 04:31:08] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-01-30 04:31:08] Production.INFO: Invoice Committed AccountID = 165 [2025-01-30 04:31:08] Production.INFO: =========== Updating InvoiceDate =========== [2025-01-30 04:31:08] Production.INFO: NextInvoice 2025-01-30 2025-03-01 [2025-01-30 04:31:08] Production.INFO: new dates [2025-01-30 04:31:08] Production.INFO: LastInvoiceDate 2025-01-30 NextInvoiceDate 2025-03-02 [2025-01-30 04:31:08] Production.INFO: LastChargeDate 2025-01-30 NextChargeDate 2025-03-01 [2025-01-30 04:31:08] Production.INFO: =========== Updated InvoiceDate =========== [2025-01-30 04:31:09] Production.INFO: ========================== Invoice Send End ============================= [2025-01-30 04:31:09] Production.INFO: AccountID =205 FirstInvoiceSend 0 [2025-01-30 04:31:09] Production.INFO: LastInvoiceDate 2024-12-30 NextInvoiceDate 2025-01-30 [2025-01-30 04:31:09] Production.INFO: LastChargeDate 2024-12-30 NextChargeDate 2025-01-29 [2025-01-30 04:31:09] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-01-30 04:31:09] Production.INFO: ========================== Invoice Send Start ============================= [2025-01-30 04:31:09] Production.INFO: Invoice::sendInvoice(1,205,2024-12-30,2025-01-30,billing@onswitchit.ca) [2025-01-30 04:31:09] Production.INFO: start Date =2024-12-30 EndDate =2025-01-29 23:59:59 [2025-01-30 04:31:09] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-01-30 04:31:09] 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-01-30 04:31:09] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-01-30 04:31:09] Production.INFO: AlreadyBilled [2025-01-30 04:31:09] Production.INFO: Reseller ==> 0 [2025-01-30 04:31:09] Production.INFO: original start date ==>2024-12-30 changed start date ==>2024-12-30 00:00:00 original end date ==>2025-01-29 23:59:59 changed end date ==>2025-01-29 23:59:59 [2025-01-30 04:31:09] Production.INFO: Invoice::getAccountUsageTotal(1,205,2024-12-30,2025-01-29 23:59:59) [2025-01-30 04:31:09] Production.INFO: TotalCharges - 0 [2025-01-30 04:31:09] Production.INFO: TotalUsageCharges - 0.00 [2025-01-30 04:31:09] Production.INFO: Usage Over [2025-01-30 04:31:09] Production.INFO: Call prc_getAccountSubscription(205,0) [2025-01-30 04:31:09] Production.INFO: SUBSCRIPTION 3 [2025-01-30 04:31:09] Production.INFO: ============================Subscription Start ================= [2025-01-30 04:31:09] Production.INFO: SubscriptionID - 5 [2025-01-30 04:31:09] Production.INFO: isAdvanceSubscription - 5 [2025-01-30 04:31:09] Production.INFO: SubscriptionStartDate =2025-01-30 - SubscriptionEndDate = 2025-03-01 [2025-01-30 04:31:09] Production.INFO: NewNextChargeDate =2025-03-01 00:00:00 [2025-01-30 04:31:09] Production.INFO: EndDate =2025-01-29 00:00:00 [2025-01-30 04:31:09] Production.INFO: NewEndDate1 =2025-01-30 [2025-01-30 04:31:09] Production.INFO: SubscriptionDate [2025-01-30 04:31:09] Production.INFO: Array ( [StartDate] => 2025-01-30 [EndDate] => 2025-03-01 00:00:00 [AlreadyCharged] => 0 ) [2025-01-30 04:31:09] Production.INFO: AccountSubscription StartDate 2023-08-14 StartDate 2024-12-30 [2025-01-30 04:31:09] Production.INFO: SubscriptionID - 2025-01-30=====2025-03-01 00:00:00 [2025-01-30 04:31:09] Production.INFO: AccountSubscriptionID - 698 === 2023-08-14=====2026-01-30 [2025-01-30 04:31:09] Production.INFO: regular Advance Subscription [2025-01-30 04:31:09] Production.INFO: First Time False 2023-08-14 2025-01-30 [2025-01-30 04:31:09] Production.INFO: StartDate 2025-01-30 AccountSubscription->StartDate 2023-08-14 EndDate 2025-03-01 00:00:00 AccountSubscription->EndDate 2026-01-30 [2025-01-30 04:31:09] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-30 04:31:09] Production.INFO: AccountSubscription::getSubscriptionAmount(698,2025-01-30,2025-03-01 00:00:00,,0) [2025-01-30 04:31:09] Production.INFO: SubscriptionCharge - 75 [2025-01-30 04:31:09] Production.INFO: Already Invoice Subscription 0 [2025-01-30 04:31:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(205,1,5,2025-01-30,2025-03-01 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,698) [2025-01-30 04:31:09] Production.INFO: DiscountAmount 0.000000 [2025-01-30 04:31:09] Production.INFO: DiscountType Flat [2025-01-30 04:31:09] Production.INFO: SubscriptionCharge 75 [2025-01-30 04:31:09] Production.INFO: New SubscriptionCharge 75 [2025-01-30 04:31:09] Production.INFO: TotalSubscriptionCharge - 75.00 [2025-01-30 04:31:09] Production.INFO: ============================Subscription End ================= [2025-01-30 04:31:09] Production.INFO: ============================Subscription Start ================= [2025-01-30 04:31:09] Production.INFO: SubscriptionID - 4 [2025-01-30 04:31:09] Production.INFO: isAdvanceSubscription - 4 [2025-01-30 04:31:09] Production.INFO: SubscriptionStartDate =2025-01-30 - SubscriptionEndDate = 2025-03-01 [2025-01-30 04:31:09] Production.INFO: NewNextChargeDate =2025-03-01 00:00:00 [2025-01-30 04:31:09] Production.INFO: EndDate =2025-01-29 00:00:00 [2025-01-30 04:31:09] Production.INFO: NewEndDate1 =2025-01-30 [2025-01-30 04:31:09] Production.INFO: SubscriptionDate [2025-01-30 04:31:09] Production.INFO: Array ( [StartDate] => 2025-01-30 [EndDate] => 2025-03-01 00:00:00 [AlreadyCharged] => 0 ) [2025-01-30 04:31:09] Production.INFO: AccountSubscription StartDate 2023-08-14 StartDate 2024-12-30 [2025-01-30 04:31:09] Production.INFO: SubscriptionID - 2025-01-30=====2025-03-01 00:00:00 [2025-01-30 04:31:09] Production.INFO: AccountSubscriptionID - 699 === 2023-08-14=====2026-01-30 [2025-01-30 04:31:09] Production.INFO: regular Advance Subscription [2025-01-30 04:31:09] Production.INFO: First Time False 2023-08-14 2025-01-30 [2025-01-30 04:31:09] Production.INFO: StartDate 2025-01-30 AccountSubscription->StartDate 2023-08-14 EndDate 2025-03-01 00:00:00 AccountSubscription->EndDate 2026-01-30 [2025-01-30 04:31:09] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-30 04:31:09] Production.INFO: AccountSubscription::getSubscriptionAmount(699,2025-01-30,2025-03-01 00:00:00,,0) [2025-01-30 04:31:09] Production.INFO: SubscriptionCharge - 2.5 [2025-01-30 04:31:09] Production.INFO: Already Invoice Subscription 0 [2025-01-30 04:31:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(205,1,4,2025-01-30,2025-03-01 00:00:00,e911 address registration (5194424400 - 308 Grand River Street North 3 Paris, ON N3L 3R7 Canada),2.5,2.5,1,699) [2025-01-30 04:31:09] Production.INFO: DiscountAmount 0.000000 [2025-01-30 04:31:09] Production.INFO: DiscountType Flat [2025-01-30 04:31:09] Production.INFO: SubscriptionCharge 2.5 [2025-01-30 04:31:09] Production.INFO: New SubscriptionCharge 2.5 [2025-01-30 04:31:09] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-01-30 04:31:09] Production.INFO: ============================Subscription End ================= [2025-01-30 04:31:09] Production.INFO: ============================Subscription Start ================= [2025-01-30 04:31:09] Production.INFO: SubscriptionID - 28 [2025-01-30 04:31:09] Production.INFO: isAdvanceSubscription - 28 [2025-01-30 04:31:09] Production.INFO: SubscriptionStartDate =2025-01-30 - SubscriptionEndDate = 2025-03-01 [2025-01-30 04:31:09] Production.INFO: NewNextChargeDate =2025-03-01 00:00:00 [2025-01-30 04:31:09] Production.INFO: EndDate =2025-01-29 00:00:00 [2025-01-30 04:31:09] Production.INFO: NewEndDate1 =2025-01-30 [2025-01-30 04:31:09] Production.INFO: SubscriptionDate [2025-01-30 04:31:09] Production.INFO: Array ( [StartDate] => 2025-01-30 [EndDate] => 2025-03-01 00:00:00 [AlreadyCharged] => 0 ) [2025-01-30 04:31:09] Production.INFO: AccountSubscription StartDate 2023-08-14 StartDate 2024-12-30 [2025-01-30 04:31:09] Production.INFO: SubscriptionID - 2025-01-30=====2025-03-01 00:00:00 [2025-01-30 04:31:09] Production.INFO: AccountSubscriptionID - 700 === 2023-08-14=====2026-01-30 [2025-01-30 04:31:09] Production.INFO: regular Advance Subscription [2025-01-30 04:31:09] Production.INFO: First Time False 2023-08-14 2025-01-30 [2025-01-30 04:31:09] Production.INFO: StartDate 2025-01-30 AccountSubscription->StartDate 2023-08-14 EndDate 2025-03-01 00:00:00 AccountSubscription->EndDate 2026-01-30 [2025-01-30 04:31:09] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-30 04:31:09] Production.INFO: AccountSubscription::getSubscriptionAmount(700,2025-01-30,2025-03-01 00:00:00,,0) [2025-01-30 04:31:09] Production.INFO: SubscriptionCharge - -25 [2025-01-30 04:31:09] Production.INFO: Already Invoice Subscription 0 [2025-01-30 04:31:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(205,1,28,2025-01-30,2025-03-01 00:00:00,Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service,-25,-25,1,700) [2025-01-30 04:31:09] Production.INFO: DiscountAmount 0.000000 [2025-01-30 04:31:09] Production.INFO: DiscountType Flat [2025-01-30 04:31:09] Production.INFO: SubscriptionCharge -25 [2025-01-30 04:31:09] Production.INFO: New SubscriptionCharge -25 [2025-01-30 04:31:09] Production.INFO: TotalSubscriptionCharge - -25.00 [2025-01-30 04:31:09] Production.INFO: ============================Subscription End ================= [2025-01-30 04:31:09] Production.INFO: SUBSCRIPTION Over [2025-01-30 04:31:09] Production.INFO: Call prc_getAccountOneOffCharge(205,0,2024-12-30,2025-01-30 23:59:59) [2025-01-30 04:31:09] Production.INFO: AccountOneOffCharge 0 [2025-01-30 04:31:09] Production.INFO: AccountOneOffCharge Over [2025-01-30 04:31:09] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-01-30 04:31:09] Production.INFO: New UsageDates 2024-12-30 - 2025-01-29 23:59:59 [2025-01-30 04:31:09] Production.INFO: SubTotal 52.5 [2025-01-30 04:31:09] Production.INFO: SubTotalWithouttaxTotal 0 [2025-01-30 04:31:09] Production.INFO: AccountOneOffCharge Tax Over [2025-01-30 04:31:09] Production.INFO: TotalTax 6.825 [2025-01-30 04:31:09] Production.INFO: InvoiceGrandTotal 59.325 [2025-01-30 04:31:09] Production.INFO: InvoiceTaxAmount 6.83 [2025-01-30 04:31:09] Production.INFO: GrandTotal 59.33 [2025-01-30 04:31:09] Production.INFO: SubTotal 52.50 [2025-01-30 04:31:09] Production.INFO: TotalDue 59.33 [2025-01-30 04:31:09] Production.INFO: Reseller ==> 0 [2025-01-30 04:31:09] Production.INFO: original start date ==>2024-12-30 changed start date ==>2024-12-30 00:00:00 original end date ==>2025-01-29 23:59:59 changed end date ==>2025-01-29 23:59:59 [2025-01-30 04:31:09] Production.INFO: CALL prc_getInvoiceUsage(1,'205','0','1','2024-12-30 00:00:00','2025-01-29 23:59:59',0) [2025-01-30 04:31:09] Production.INFO: PDF Generation start [2025-01-30 04:31:09] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/205/Invoices/2025/01/30/Invoice-dominos-10459-sandeep-chaudhari-inv11434-from-12-30-2024-to-01-29-2025-10365.pdf [2025-01-30 04:31:09] Production.INFO: On Linux [2025-01-30 04:31:11] 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/205/Invoices/2025/01/30/footer-dominos-10459-sandeep-chaudhari-inv11434-from-12-30-2024-to-01-29-2025-10365.html" "/var/www/tmp/1/205/Invoices/2025/01/30/Invoice-dominos-10459-sandeep-chaudhari-inv11434-from-12-30-2024-to-01-29-2025-10365.html" "/var/www/tmp/1/205/Invoices/2025/01/30/Invoice-dominos-10459-sandeep-chaudhari-inv11434-from-12-30-2024-to-01-29-2025-10365.pdf" [2025-01-30 04:31:11] Production.INFO: [2025-01-30 04:31:11] Production.INFO: /var/www/tmp/1/205/Invoices/2025/01/30/Invoice-dominos-10459-sandeep-chaudhari-inv11434-from-12-30-2024-to-01-29-2025-10365.html [2025-01-30 04:31:11] Production.INFO: /var/www/tmp/1/205/Invoices/2025/01/30/header-dominos-10459-sandeep-chaudhari-inv11434-from-12-30-2024-to-01-29-2025-10365.html [2025-01-30 04:31:11] Production.INFO: /var/www/tmp/1/205/Invoices/2025/01/30/footer-dominos-10459-sandeep-chaudhari-inv11434-from-12-30-2024-to-01-29-2025-10365.html [2025-01-30 04:31:11] Production.INFO: Invoice generation PDF path [2025-01-30 04:31:11] Production.INFO: PDF fullPath 1/205/Invoices/2025/01/30/Invoice-dominos-10459-sandeep-chaudhari-inv11434-from-12-30-2024-to-01-29-2025-10365.pdf [2025-01-30 04:31:11] Production.INFO: Generate Usage File Start [2025-01-30 04:31:11] Production.INFO: Usage File fullPath 1/205/InvoiceUsageFile/2025/01/30/dominos-10459-sandeep-chaudhari-30-12-2024-00-00-00-TO-29-01-2025-23-59-59_824__f16bdcd0-deec-11ef-8f88-27cf163fd2c5.csv [2025-01-30 04:31:11] 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-01-30 04:31:11] Production.INFO: Sending Email to Staff over [2025-01-30 04:31:11] Production.INFO: Email Status failure [2025-01-30 04:31:11] Production.INFO: Sending Email to Customer [2025-01-30 04:31:12] Production.INFO: Email Try 10365 1 [2025-01-30 04:31:15] Production.INFO: Email Try 10365 2 [2025-01-30 04:31:15] Production.INFO: Email Try 10365 1 [2025-01-30 04:31:18] Production.INFO: Email Try 10365 2 [2025-01-30 04:31:18] Production.INFO: =========== Email Sending over =========== [2025-01-30 04:31:18] Production.INFO: =========== Returning as Success =========== AccountID 205 [2025-01-30 04:31:18] Production.INFO: Invoice::sendInvoice done [2025-01-30 04:31:18] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-01-30 04:31:18] Production.INFO: Invoice Committed AccountID = 205 [2025-01-30 04:31:18] Production.INFO: =========== Updating InvoiceDate =========== [2025-01-30 04:31:18] Production.INFO: NextInvoice 2025-01-30 2025-03-01 [2025-01-30 04:31:18] Production.INFO: new dates [2025-01-30 04:31:18] Production.INFO: LastInvoiceDate 2025-01-30 NextInvoiceDate 2025-03-02 [2025-01-30 04:31:18] Production.INFO: LastChargeDate 2025-01-30 NextChargeDate 2025-03-01 [2025-01-30 04:31:18] Production.INFO: =========== Updated InvoiceDate =========== [2025-01-30 04:31:18] Production.INFO: ========================== Invoice Send End ============================= [2025-01-30 04:31:18] Production.INFO: ========================== Recurring invoice Start ============================= [2025-01-30 04:31:18] Production.INFO: recurring invoices ID [2025-01-30 04:31:18] Production.INFO: [2025-01-30 04:31:18] Production.INFO: recurring errorsArray ( ) [2025-01-30 04:31:18] Production.INFO: ========================== Recurring invoice End ============================= [2025-01-30 04:31:18] Production.INFO: ========================== Job Updated ============================= [2025-01-30 04:31:19] Production.INFO: ========================== Job Email Sent ============================= [2025-01-30 04:31:19] Production.ERROR: **Email Sent Status 0 [2025-01-30 04:31:19] Production.ERROR: **Email Sent message Something wrong with sending mail.SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting ( Email Address: billing@onswitchit.ca) [2025-01-30 04:31:19] Production.ERROR: CronJobId end6 [2025-01-30 04:31:19] Production.INFO: ==16877== Releasing lock... [2025-01-30 04:31:19] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops# [2025-01-30 04:31:19] Production.INFO: 38.5 MB #Memory Used#