Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Zen Barn
                    [Contact_First] => Stephen
                    [Contact_Last] => Steve
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 05602
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 163750
                    [mascustnum] => ZEN0560
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 163750
                    [mas_cust_no] => ZEN0560
                )

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

            [billing] => Array
                (
                    [Company] => Zen Barn
                    [Contact_First] => Stephen 
                    [Contact_Last] => Steve
                    [Address1] => 58 Center Rd.
                    [Address2] => 
                    [Address3] => 
                    [City] => Middlesex
                    [State] => VT
                    [Zip] => 05602
                    [Country] => USA
                    [Email] => stephen@zenbarnvt.com
                    [Phone] => 802-282-3886
                )

            [shipping] => Array
                (
                    [ShipToName] => Zen Barn
                    [Address1] => 58 Center Dr. 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Middlesex 
                    [State] => VT
                    [Zip] => 05602
                    [Country] => USA
                    [Email] => stephen@zenbarnvt.com
                    [Phone] => 802-282-3886
                )

            [leadid] => 160042
            [summary] => Array
                (
                    [SalesPersonNo] => 0020
                    [ProductLine] => CL
                    [forecasting_likelihood] => low
                    [forecasting_expected_close_date] => 01/18/2024
                    [generate_quote] => true
                    [keep_sonum] => Q044655
                    [change_notes] => changes 
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [freight_estimate] => true
                    [freight_type] => estimate
                    [freight_estimate_value] => 2175.94
                    [lead_time] => 1-2 Weeks, depending on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => stephen@zenbarnvt.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/CL2500D-HE Specs 11-13-22.pdf
                            [2] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 163750
    [mas_cust_no] => ZEN0560
    [mas_cust_exists] => true
    [exportid] => 64172
    [masquotenum] => Q044655
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0020
    [ProductLine] => CL
    [forecasting_likelihood] => low
    [forecasting_expected_close_date] => 01/18/2024
    [generate_quote] => true
    [keep_sonum] => Q044655
    [change_notes] => changes 
    [delivery_disclaimer] => true
    [tax_free] => true
    [freight_estimate] => true
    [freight_type] => estimate
    [freight_estimate_value] => 2175.94
    [lead_time] => 1-2 Weeks, depending on stock and availability.
    [email_quote] => true
    [email_quote_to] => stephen@zenbarnvt.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf Quote 
    [email_quote_body] => 

Hello Stephen,

Attached is the revised quote that we discussed today including shipping costs. Please review and let me know if I can help you with anything further. 

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

Debug Data

start: 3.814697265625E-6 secs since start
after getting new exportid ... 64172: 0.092252969741821 secs since start
Session ID: pojac8lclkbha9tv61dcc7sjti
just before engaging cartlink ...: 0.092327833175659 secs since start
after most cartlink items ...: 0.093053817749023 secs since start
after getting new so num ...: 0.093065977096558 secs since start
after remaining cartlink items ...: 0.093074798583984 secs since start
SO Number: Q044655
just prior to terms gathering ...: 0.093080997467041 secs since start
after getting customer terms ...: 0.17565894126892 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL2500D-HE
            [name] => CleanLeaf Model CL2500D-HE, 2,000 CFM Self-Contained Filtration System Side Access Filter Housing with a year supply of filters, which includes:

-1x CLF-2500DHE-1YRPCK
+4x CLF-6604 (26x26x4 Pleated Pre-filter; changed quarterly)
+2x CLF-661698 (26x26x16" 95% 8 Pocket Bag Filter; changed semi-annually)

1x CLF-661699-HHC (26x26x16" 99.99% DOP V-Bank Medical Grade HEPA Filter; changed every 2 years) [qty] => 8 [price] => 3,300.00 [cost] => 1,959.94 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q044655','CL2500D-HE','CleanLeaf Model CL2500D-HE, 2,000 CFM Self-Contained Filtration System Side Access Filter Housing with a year supply of filters, which includes: -1x CLF-2500DHE-1YRPCK +4x CLF-6604 (26x26x4 Pleated Pre-filter; changed quarterly) +2x CLF-661698 (26x26x16" 95% 8 Pocket Bag Filter; changed semi-annually) 1x CLF-661699-HHC (26x26x16" 99.99% DOP V-Bank Medical Grade HEPA Filter; changed every 2 years)','Y','1959.94','8','8','3300.00','26400.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.20018982887268 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL2500D-HE Specs 11-13-22.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1705613307_6920.pdf
after merging and generating email/quote PDFs ...: 6.0628528594971 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=64172"}}
    [to[0]] => stephen@zenbarnvt.com
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hello Stephen,

Attached is the revised quote that we discussed today including shipping costs. Please review and let me know if I can help you with anything further. 

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] => Hello Stephen,Attached is the revised quote that we discussed today including shipping costs. Please review and let me know if I can help you with anything further. 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_20240118152821_79050.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1705613307_6920.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240118152821_79050.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1705613307_6920.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.478121
    [namelookup_time] => 0.001876
    [connect_time] => 0.04015
    [pretransfer_time] => 0.130227
    [size_upload] => 1781662
    [size_download] => 21
    [speed_download] => 43
    [speed_upload] => 3727326
    [download_content_length] => 21
    [upload_content_length] => 1781662
    [starttransfer_time] => 0.168186
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.114
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 33090
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 130076
    [connect_time_us] => 40150
    [namelookup_time_us] => 1876
    [pretransfer_time_us] => 130227
    [redirect_time_us] => 0
    [starttransfer_time_us] => 168186
    [total_time_us] => 478121
)
after sending email to customer ...: 8.5441899299622 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => dan@aircleaningspecialists.com
    [fromname] => Dan Schroeder
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hello Stephen,

Attached is the revised quote that we discussed today including shipping costs. Please review and let me know if I can help you with anything further. 

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] => Hello Stephen,Attached is the revised quote that we discussed today including shipping costs. Please review and let me know if I can help you with anything further. 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_20240118152821_79050.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1705613307_6920.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.451325
    [namelookup_time] => 0.002007
    [connect_time] => 0.037766
    [pretransfer_time] => 0.121901
    [size_upload] => 1781269
    [size_download] => 21
    [speed_download] => 46
    [speed_upload] => 3949598
    [download_content_length] => 21
    [upload_content_length] => 1781269
    [starttransfer_time] => 0.166221
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.59
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 59840
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 121779
    [connect_time_us] => 37766
    [namelookup_time_us] => 2007
    [pretransfer_time_us] => 121901
    [redirect_time_us] => 0
    [starttransfer_time_us] => 166221
    [total_time_us] => 451325
)
after sending email to rep ...: 10.997980833054 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gU3RlcGhlbiw8L3A+PHA+QXR0YWNoZWQgaXMgdGhlIHJldmlzZWQgcXVvdGUgdGhhdCB3ZSBkaXNjdXNzZWQgdG9kYXkgaW5jbHVkaW5nIHNoaXBwaW5nIGNvc3RzLiBQbGVhc2UgcmV2aWV3IGFuZCBsZXQgbWUga25vdyBpZiBJIGNhbiBoZWxwIHlvdSB3aXRoIGFueXRoaW5nIGZ1cnRoZXIuJm5ic3A7PC9wPjxkaXY+PHA+U2luY2VyZWx5LDxicj48L3A+PHA+PGJyPkRhbiBTY2hyb2VkZXI8YnI+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+Q2xlYW5MZWFmPC9zcGFuPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPjExMDg4IEdyYXZvaXMgSW5kdXN0cmlhbCBDdC48L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+U2FpbnQgTG91aXMsIE1PIDYzMTI4PC9zcGFuPjxicj44NjYgOTk5LTkwMDggRXh0LiAxMTE8YnI+ODY2IDQyMi00MDk5IEZheDxicj5kYW5AYWlyY2xlYW5pbmdzcGVjaWFsaXN0cy5jb208YnI+PGEgaHJlZj0iaHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLyI+aHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLzwvYT48YSBocmVmPSJodHRwOi8vd3d3LmZ1bWVhdmVudC5jb20vIj48L2E+PC9wPjxwPjxicj48L3A+PC9kaXY+PGRpdj48YnI+PC9kaXY+PC9ib2R5PjwvaHRtbD4=
v2_mailid: 3045466
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Dan Schroeder 
    [recipient] => stephen@zenbarnvt.com
    [To] => stephen@zenbarnvt.com
    [Date] => 2024-01-18 15:28:32
    [subject] => Your CleanLeaf Quote 
    [mas-customer-no] => ZEN0560
    [email-html] => 

Hello Stephen,

Attached is the revised quote that we discussed today including shipping costs. Please review and let me know if I can help you with anything further. 

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_20240118152821_79050.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1705613307_6920.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] => 13.159277
    [namelookup_time] => 0.002033
    [connect_time] => 0.020333
    [pretransfer_time] => 0.054568
    [size_upload] => 1781146
    [size_download] => 1780048
    [speed_download] => 135272
    [speed_upload] => 135355
    [download_content_length] => -1
    [upload_content_length] => 1781146
    [starttransfer_time] => 0.073734
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 48364
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 54457
    [connect_time_us] => 20333
    [namelookup_time_us] => 2033
    [pretransfer_time_us] => 54568
    [redirect_time_us] => 0
    [starttransfer_time_us] => 73734
    [total_time_us] => 13159277
)
after pushing email and files into v2/timeline ...: 26.161281824112 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 26.353047847748 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 28.395516872406 secs since start
strJSON:
{"exportid":"64172","import_result":null,"import_error":"","fileurl":"GMImport_64172_1705613329_16653.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Zen Barn","goldmine_email":"stephen@zenbarnvt.com","goldmine_phone":"802-282-3886","mas_quote_number":"Q044655","mas_customer_number":"ZEN0560"}
end: 28.424518823624 secs since start