Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => MIVA LLC
                    [Contact_First] => Christian
                    [Contact_Last] => Lira
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 88063
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 162853
                    [mascustnum] => MIV8806
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 162853
                    [mas_cust_no] => MIV8806
                )

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

            [billing] => Array
                (
                    [Company] => MIVA LLC
                    [Contact_First] => Christian
                    [Contact_Last] => Lira
                    [Address1] => 136 Sierra Vista Dr. 
                    [Address2] => 
                    [Address3] => 
                    [City] => Sunland Park 
                    [State] => NM
                    [Zip] => 88063
                    [Country] => USA
                    [Email] => christian@christianlira.com
                    [Phone] => (915) 202-3232
                )

            [shipping] => Array
                (
                    [ShipToName] => MIVA LLC
                    [Address1] => 1500 Appaloosa Dr .
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Sunland Park
                    [State] => NM
                    [Zip] => 88063
                    [Country] => USA
                    [Email] => christian@christianlira.com
                    [Phone] => (915) 202-3232
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0060
                    [ProductLine] => CL
                    [forecasting_likelihood] => low
                    [forecasting_expected_close_date] => 01/11/2024
                    [generate_quote] => true
                    [keep_sonum] => Q043677
                    [change_notes] => changes 
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [freight_estimate] => true
                    [freight_type] => estimate
                    [freight_estimate_value] => 999.35
                    [lead_time] => 1-2 Weeks
                    [email_quote] => true
                    [email_quote_to] => christian@christianlira.com
                    [template_id] => 489
                    [email_quote_subject] => Your CleanLeaf Quote 
                    [files] => 
                    [email_product_literature] => true
                    [includedPDFs] => Array
                        (
                            [0] => {QUOTE}
                            [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-CF Specs 11-13-22.pdf
                            [2] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 162853
    [mas_cust_no] => MIV8806
    [mas_cust_exists] => true
    [exportid] => 63879
    [masquotenum] => Q043677
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0060
    [ProductLine] => CL
    [forecasting_likelihood] => low
    [forecasting_expected_close_date] => 01/11/2024
    [generate_quote] => true
    [keep_sonum] => Q043677
    [change_notes] => changes 
    [delivery_disclaimer] => true
    [tax_free] => true
    [freight_estimate] => true
    [freight_type] => estimate
    [freight_estimate_value] => 999.35
    [lead_time] => 1-2 Weeks
    [email_quote] => true
    [email_quote_to] => christian@christianlira.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf Quote 
    [email_quote_body] => 

Hello Christian,

Please see attached revised quote including freight and let me know if I can help get this ordered for you.

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-CF Specs 11-13-22.pdf [2] => quote_bundle_separator ) [act] => submit_quote [not_in_mas] => true )

Debug Data

start: 4.0531158447266E-6 secs since start
after getting new exportid ... 63879: 0.089334011077881 secs since start
Session ID: vf26o87j65cenlo3jlgas7g832
just before engaging cartlink ...: 0.089409112930298 secs since start
after most cartlink items ...: 0.090066909790039 secs since start
after getting new so num ...: 0.090079069137573 secs since start
after remaining cartlink items ...: 0.090094089508057 secs since start
SO Number: Q043677
just prior to terms gathering ...: 0.090101003646851 secs since start
after getting customer terms ...: 0.17432713508606 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL1250D-CF
            [name] => CleanLeaf Model CL1250D-CF, 1,000 CFM Self-Contained Odor Mitigation & Filtration System
Side Access Filter Housing with a year supply of filters, which includes:

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

-2x CLF-5502-CF (25x15x2" Honeycomb 75% Fill Carbon After-Filter; changed semi-annually)

Color: Grey [qty] => 1 [price] => 2,097.00 [cost] => 1,165.33 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q043677','CL1250D-CF','CleanLeaf Model CL1250D-CF, 1,000 CFM Self-Contained Odor Mitigation & Filtration System Side Access Filter Housing with a year supply of filters, which includes: -1x CLF-1250DCF-1YRPCK +4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly) +2x CLF-552898 (25x15x28" 95% 8 Pocket Bag Filter; changed semi-annually) -2x CLF-5502-CF (25x15x2" Honeycomb 75% Fill Carbon After-Filter; changed semi-annually) Color: Grey','Y','1165.33','1','1','2097.00','2097.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.19849300384521 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-CF Specs 11-13-22.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1705010588_2045.pdf
after merging and generating email/quote PDFs ...: 3.4702451229095 secs since start
email fields:
Array
(
    [from] => phillip@aircleaningspecialists.com
    [fromname] => Phillip Geraci
    [headers] => {"Return-Receipt-To": ""Phillip Geraci" ", "Disposition-Notification-To": ""Phillip Geraci" "}
    [x-smtpapi] => {"unique_args":{"orderNumber":"exportid=63879"}}
    [to[0]] => christian@christianlira.com
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hello Christian,

Please see attached revised quote including freight and let me know if I can help get this ordered for you.

Sincerely,


Phillip Geraci

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



[text] => Hello Christian,Please see attached revised quote including freight and let me know if I can help get this ordered for you.Sincerely,Phillip GeraciCleanLeaf11088 Gravois Industrial Ct.Saint Louis, MO 63128866 999-9008 Ext. 182866 422-4099 Faxphillip@aircleaningspecialists.comhttp://www.cleanleaf.com/ [files[Quote.pdf]] => @/tmp/tmp_quote_20240111160305_65099.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1705010588_2045.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240111160305_65099.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1705010588_2045.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] => 299
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.427686
    [namelookup_time] => 0.003575
    [connect_time] => 0.042912
    [pretransfer_time] => 0.133264
    [size_upload] => 722998
    [size_download] => 21
    [speed_download] => 49
    [speed_upload] => 1693203
    [download_content_length] => 21
    [upload_content_length] => 722998
    [starttransfer_time] => 0.175561
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.54
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 54734
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 133116
    [connect_time_us] => 42912
    [namelookup_time_us] => 3575
    [pretransfer_time_us] => 133264
    [redirect_time_us] => 0
    [starttransfer_time_us] => 175561
    [total_time_us] => 427686
)
after sending email to customer ...: 5.9011089801788 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => phillip@aircleaningspecialists.com
    [fromname] => Phillip Geraci
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hello Christian,

Please see attached revised quote including freight and let me know if I can help get this ordered for you.

Sincerely,


Phillip Geraci

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



[text] => Hello Christian,Please see attached revised quote including freight and let me know if I can help get this ordered for you.Sincerely,Phillip GeraciCleanLeaf11088 Gravois Industrial Ct.Saint Louis, MO 63128866 999-9008 Ext. 182866 422-4099 Faxphillip@aircleaningspecialists.comhttp://www.cleanleaf.com/ [files[Quote.pdf]] => CURLFile Object ( [name] => /tmp/tmp_quote_20240111160305_65099.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1705010588_2045.pdf [mime] => [postname] => Product_Literature.pdf ) [to[0]] => phillip@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] => 299
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.612871
    [namelookup_time] => 0.002027
    [connect_time] => 0.060398
    [pretransfer_time] => 0.185866
    [size_upload] => 722593
    [size_download] => 21
    [speed_download] => 34
    [speed_upload] => 1180707
    [download_content_length] => 21
    [upload_content_length] => 722593
    [starttransfer_time] => 0.254042
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 43278
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 185720
    [connect_time_us] => 60398
    [namelookup_time_us] => 2027
    [pretransfer_time_us] => 185866
    [redirect_time_us] => 0
    [starttransfer_time_us] => 254042
    [total_time_us] => 612871
)
after sending email to rep ...: 8.516184091568 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gQ2hyaXN0aWFuLDwvcD48cD5QbGVhc2Ugc2VlIGF0dGFjaGVkIHJldmlzZWQgcXVvdGUgaW5jbHVkaW5nIGZyZWlnaHQgYW5kIGxldCBtZSBrbm93IGlmIEkgY2FuIGhlbHAgZ2V0IHRoaXMgb3JkZXJlZCBmb3IgeW91LjwvcD48ZGl2PjxwPlNpbmNlcmVseSw8YnI+PC9wPjxwPjxicj5QaGlsbGlwIEdlcmFjaTxicj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij5DbGVhbkxlYWY8L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+MTEwODggR3Jhdm9pcyBJbmR1c3RyaWFsIEN0Ljwvc3Bhbj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij5TYWludCBMb3VpcywgTU8gNjMxMjg8L3NwYW4+PGJyPjg2NiA5OTktOTAwOCBFeHQuIDE4Mjxicj44NjYgNDIyLTQwOTkgRmF4PGJyPnBoaWxsaXBAYWlyY2xlYW5pbmdzcGVjaWFsaXN0cy5jb208YnI+PGEgaHJlZj0iaHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLyI+aHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLzwvYT48YSBocmVmPSJodHRwOi8vd3d3LmZ1bWVhdmVudC5jb20vIj48L2E+PC9wPjxwPjxicj48L3A+PC9kaXY+PGRpdj48YnI+PC9kaXY+PC9ib2R5PjwvaHRtbD4=
v2_mailid: 3030047
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Phillip Geraci 
    [recipient] => christian@christianlira.com
    [To] => christian@christianlira.com
    [Date] => 2024-01-11 16:03:13
    [subject] => Your CleanLeaf Quote 
    [mas-customer-no] => MIV8806
    [email-html] => 

Hello Christian,

Please see attached revised quote including freight and let me know if I can help get this ordered for you.

Sincerely,


Phillip Geraci

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



[qq_from_repid] => 0060 [file_0] => CURLFile Object ( [name] => /tmp/tmp_quote_20240111160305_65099.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1705010588_2045.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] => 226
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 14.860922
    [namelookup_time] => 0.002109
    [connect_time] => 0.020319
    [pretransfer_time] => 0.05588
    [size_upload] => 722520
    [size_download] => 721410
    [speed_download] => 48547
    [speed_upload] => 48621
    [download_content_length] => -1
    [upload_content_length] => 722520
    [starttransfer_time] => 0.075811
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 36916
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 55801
    [connect_time_us] => 20319
    [namelookup_time_us] => 2109
    [pretransfer_time_us] => 55880
    [redirect_time_us] => 0
    [starttransfer_time_us] => 75811
    [total_time_us] => 14860922
)
after pushing email and files into v2/timeline ...: 25.379619121552 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 25.573590040207 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 27.597363948822 secs since start
strJSON:
{"exportid":"63879","import_result":null,"import_error":"","fileurl":"GMImport_63879_1705010612_62986.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"MIVA LLC","goldmine_email":"christian@christianlira.com","goldmine_phone":"(915) 202-3232","mas_quote_number":"Q043677","mas_customer_number":"MIV8806"}
end: 27.625592947006 secs since start