Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Filtersource.com Inc
                    [Contact_First] => Brian
                    [Contact_Last] => Roberts
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 10003-1502
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 150007
                    [mascustnum] => FIL100A
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 150007
                    [mas_cust_no] => FIL100A
                )

            [mas_search] => Array
                (
                    [mas_cust_no] => FIL100A
                    [mas_cust_exists] => true
                )

            [billing] => Array
                (
                    [Company] => Filtersource.com Inc
                    [Contact_First] => Brian
                    [Contact_Last] => Roberts
                    [Address1] => 228 Park Ave South PMB 39157
                    [Address2] => 
                    [Address3] => 
                    [City] => New York
                    [State] => NY
                    [Zip] => 10003-1502
                    [Country] => USA
                    [Email] => brian@filtersource.com
                    [Phone] => (888) 968-3458
                )

            [shipping] => Array
                (
                    [ShipToName] => TBD
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => 
                    [State] => 
                    [Zip] => 
                    [Country] => USA
                    [Email] => brian@filtersource.com
                    [Phone] => (888) 968-3458
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0020
                    [ProductLine] => CL
                    [forecasting_likelihood] => low
                    [forecasting_expected_close_date] => 11/15/2023
                    [application] => Contaminants
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [lead_time] => 1-2 Weeks, depending on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => dan@aircleaningspecialists.com
                    [template_id] => 489
                    [email_quote_subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
                    [files] => 
                    [email_product_literature] => true
                    [includedPDFs] => Array
                        (
                            [0] => {QUOTE}
                            [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-HE Specs 11-13-22.pdf
                            [2] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 150007
    [mas_cust_no] => FIL100A
    [mas_cust_exists] => true
    [exportid] => 61496
    [masquotenum] => Q043243
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0020
    [ProductLine] => CL
    [forecasting_likelihood] => low
    [forecasting_expected_close_date] => 11/15/2023
    [application] => Contaminants
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [tax_free] => true
    [lead_time] => 1-2 Weeks, depending on stock and availability.
    [email_quote] => true
    [email_quote_to] => dan@aircleaningspecialists.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
    [email_quote_body] => 


Sincerely,


<<&RepName>>

CleanLeaf
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 999-9008 Ext. <<&RepPhoneExt>>
866 422-4099 Fax
<<&RepEmail>>
http://www.cleanleaf.com/



[files] => [email_product_literature] => true [includedPDFs] => Array ( [0] => {QUOTE} [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-HE Specs 11-13-22.pdf [2] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 3.0994415283203E-6 secs since start
after getting new exportid ... 61496: 0.085304021835327 secs since start
Session ID: v1mvglat7ae1dmi8er212v2k12
just before engaging cartlink ...: 0.085397005081177 secs since start
after most cartlink items ...: 0.086152076721191 secs since start
after getting new so num ...: 0.22547698020935 secs since start
after remaining cartlink items ...: 0.22550702095032 secs since start
SO Number: Q043243
just prior to terms gathering ...: 0.22551608085632 secs since start
after getting customer terms ...: 0.30712199211121 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL1250D-HE
            [name] => CleanLeaf Model CL1250D-HE, 1,000 CFM Self-Contained Filtration System
Side Access Filter Housing with a year supply of filters, which includes:

-1x CLF-1250DHE-1YRPCK
+4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly)
+2x CLF-551298 (25x15x12" 95% 8 Pocket Bag Filter; changed semi-annually)

1x CLF-552099-HHC (25x15x20" 99.99% DOP V-Bank Medical Grade HEPA Filter; changed every two years) [qty] => 1 [price] => 2,236.00 [cost] => 1,903.96 [pdfFileURL] => ) [1] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [2] => Array ( [sku] => CLF-1250DHE-1YRPCK [name] => 1 year pack of filters for CL1250D-HE
Includes:
4x CLF-5502 (25x15x2 Pleated Prefilter; changed quarterly)
2x CLF-551298 (25x15x12" 95% 8 Pocket Bag Filter; changed semi-annually)
*Filter configurations and change-out times are based on standard recommendations.  Yours may vary, if unsure, please contact your salesperson. [qty] => 0 [price] => 125.00 [cost] => 75.32 [pdfFileURL] => ) [3] => Array ( [sku] => CLF-552099-HHC [name] => 25x15x20" 99.99% DOP V-Bank Medical Grade HEPA Filter
Used in CL1250D-HE and FX-AC-1250D-HE [qty] => 0 [price] => 256.00 [cost] => 179.75 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q043243','CL1250D-HE','CleanLeaf Model CL1250D-HE, 1,000 CFM Self-Contained Filtration System Side Access Filter Housing with a year supply of filters, which includes: -1x CLF-1250DHE-1YRPCK +4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly) +2x CLF-551298 (25x15x12" 95% 8 Pocket Bag Filter; changed semi-annually) 1x CLF-552099-HHC (25x15x20" 99.99% DOP V-Bank Medical Grade HEPA Filter; changed every two years)','Y','1903.96','1','1','2236.00','2236.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q043243','CLF-1250DHE-1YRPCK','1 year pack of filters for CL1250D-HE Includes: 4x CLF-5502 (25x15x2 Pleated Prefilter; changed quarterly) 2x CLF-551298 (25x15x12" 95% 8 Pocket Bag Filter; changed semi-annually) *Filter configurations and change-out times are based on standard recommendations.  Yours may vary, if unsure, please contact your salesperson.','Y','75.32','0','0','125.00','0.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q043243','CLF-552099-HHC','25x15x20" 99.99% DOP V-Bank Medical Grade HEPA Filter Used in CL1250D-HE and FX-AC-1250D-HE','Y','179.75','0','0','256.00','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.33642101287842 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-HE Specs 11-13-22.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1700078946_2488.pdf
after merging and generating email/quote PDFs ...: 4.7949180603027 secs since start
email fields:
Array
(
    [from] => dan@aircleaningspecialists.com
    [fromname] => Dan Schroeder
    [headers] => {"Return-Receipt-To": ""Dan Schroeder" ", "Disposition-Notification-To": ""Dan Schroeder" "}
    [x-smtpapi] => {"unique_args":{"orderNumber":"exportid=61496"}}
    [to[0]] => dan@aircleaningspecialists.com
    [subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
    [html] => 


Sincerely,


Dan Schroeder

CleanLeaf
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 999-9008 Ext. 111
866 422-4099 Fax
dan@aircleaningspecialists.com
http://www.cleanleaf.com/



[text] => Sincerely,Dan SchroederCleanLeaf11088 Gravois Industrial Ct.Saint Louis, MO 63128866 999-9008 Ext. 111866 422-4099 Faxdan@aircleaningspecialists.comhttp://www.cleanleaf.com/ [files[Quote.pdf]] => @/tmp/tmp_quote_20231115140902_38075.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1700078946_2488.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20231115140902_38075.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1700078946_2488.pdf
email result: {"message":"success"}
arr email result: Array ( [message] => success )
email curl info:
Array
(
    [url] => https://api.sendgrid.com/api/mail.send.json
    [content_type] => application/json
    [http_code] => 200
    [header_size] => 305
    [request_size] => 300
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.578439
    [namelookup_time] => 0.001677
    [connect_time] => 0.037376
    [pretransfer_time] => 0.119764
    [size_upload] => 1639234
    [size_download] => 21
    [speed_download] => 36
    [speed_upload] => 2836044
    [download_content_length] => 21
    [upload_content_length] => 1639234
    [starttransfer_time] => 0.156384
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.59
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 44150
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 119671
    [connect_time_us] => 37376
    [namelookup_time_us] => 1677
    [pretransfer_time_us] => 119764
    [redirect_time_us] => 0
    [starttransfer_time_us] => 156384
    [total_time_us] => 578439
)
after sending email to customer ...: 7.3762400150299 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => dan@aircleaningspecialists.com
    [fromname] => Dan Schroeder
    [subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
    [html] => 


Sincerely,


Dan Schroeder

CleanLeaf
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 999-9008 Ext. 111
866 422-4099 Fax
dan@aircleaningspecialists.com
http://www.cleanleaf.com/



[text] => Sincerely,Dan SchroederCleanLeaf11088 Gravois Industrial Ct.Saint Louis, MO 63128866 999-9008 Ext. 111866 422-4099 Faxdan@aircleaningspecialists.comhttp://www.cleanleaf.com/ [files[Quote.pdf]] => CURLFile Object ( [name] => /tmp/tmp_quote_20231115140902_38075.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1700078946_2488.pdf [mime] => [postname] => Product_Literature.pdf ) [to[0]] => dan@aircleaningspecialists.com )
to rep email result: {"message":"success"}
arr email result: Array ( [message] => success )
email curl info:
Array
(
    [url] => https://api.sendgrid.com/api/mail.send.json
    [content_type] => application/json
    [http_code] => 200
    [header_size] => 305
    [request_size] => 300
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.491712
    [namelookup_time] => 0.001792
    [connect_time] => 0.040559
    [pretransfer_time] => 0.130547
    [size_upload] => 1638832
    [size_download] => 21
    [speed_download] => 42
    [speed_upload] => 3337743
    [download_content_length] => 21
    [upload_content_length] => 1638832
    [starttransfer_time] => 0.176348
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.54
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 34180
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 130391
    [connect_time_us] => 40559
    [namelookup_time_us] => 1792
    [pretransfer_time_us] => 130547
    [redirect_time_us] => 0
    [starttransfer_time_us] => 176348
    [total_time_us] => 491712
)
after sending email to rep ...: 9.869973897934 secs since start
after inserting/updating customer in v2 ...: 9.9506199359894 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+PGJyPjwvcD48ZGl2PjxwPlNpbmNlcmVseSw8YnI+PC9wPjxwPjxicj5EYW4gU2Nocm9lZGVyPGJyPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPkNsZWFuTGVhZjwvc3Bhbj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij4xMTA4OCBHcmF2b2lzIEluZHVzdHJpYWwgQ3QuPC9zcGFuPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPlNhaW50IExvdWlzLCBNTyA2MzEyODwvc3Bhbj48YnI+ODY2IDk5OS05MDA4IEV4dC4gMTExPGJyPjg2NiA0MjItNDA5OSBGYXg8YnI+ZGFuQGFpcmNsZWFuaW5nc3BlY2lhbGlzdHMuY29tPGJyPjxhIGhyZWY9Imh0dHA6Ly93d3cuY2xlYW5sZWFmLmNvbS8iPmh0dHA6Ly93d3cuY2xlYW5sZWFmLmNvbS88L2E+PGEgaHJlZj0iaHR0cDovL3d3dy5mdW1lYXZlbnQuY29tLyI+PC9hPjwvcD48cD48YnI+PC9wPjwvZGl2PjxkaXY+PGJyPjwvZGl2PjwvYm9keT48L2h0bWw+
v2_mailid: 2913083
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Dan Schroeder 
    [recipient] => dan@aircleaningspecialists.com
    [To] => dan@aircleaningspecialists.com
    [Date] => 2023-11-15 14:09:12
    [subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
    [mas-customer-no] => FIL100A
    [email-html] => 


Sincerely,


Dan Schroeder

CleanLeaf
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 999-9008 Ext. 111
866 422-4099 Fax
dan@aircleaningspecialists.com
http://www.cleanleaf.com/



[qq_from_repid] => 0020 [file_0] => CURLFile Object ( [name] => /tmp/tmp_quote_20231115140902_38075.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1700078946_2488.pdf [mime] => [postname] => Product_Literature.pdf ) )
acsopav2 mailgun/newmail.php curl info:
Array
(
    [url] => https://acs-web.acsopav2.com:7443/providers/mailgun/newmail.php
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 404
    [request_size] => 227
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 5.393727
    [namelookup_time] => 0.001554
    [connect_time] => 0.019615
    [pretransfer_time] => 0.054213
    [size_upload] => 1638897
    [size_download] => 1637743
    [speed_download] => 303679
    [speed_upload] => 303893
    [download_content_length] => -1
    [upload_content_length] => 1638897
    [starttransfer_time] => 0.074165
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 47132
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 54136
    [connect_time_us] => 19615
    [namelookup_time_us] => 1554
    [pretransfer_time_us] => 54213
    [redirect_time_us] => 0
    [starttransfer_time_us] => 74165
    [total_time_us] => 5393727
)
after pushing email and files into v2/timeline ...: 17.346754074097 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 17.52320599556 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 19.547497987747 secs since start
strJSON:
{"exportid":"61496","import_result":null,"import_error":"","fileurl":"GMImport_61496_1700078961_83562.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Filtersource.com Inc","goldmine_email":"brian@filtersource.com","goldmine_phone":"(888) 968-3458","mas_quote_number":"Q043243","mas_customer_number":"FIL100A"}
end: 19.568109035492 secs since start