Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => WholesomeCo Cannabis
                    [Contact_First] => Dave
                    [Contact_Last] => Gess
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 84010
                    [Email] => william.gess@wholesome.co
                    [Phone] => 3858318887
                    [place_id] => 
                    [customerid] => 161588
                    [mascustnum] => WHO8401
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 161588
                    [mas_cust_no] => WHO8401
                )

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

            [billing] => Array
                (
                    [Company] => WholesomeCo Cannabis
                    [Contact_First] => Dave
                    [Contact_Last] => Gess
                    [Address1] => 580 W 100 N
                    [Address2] => 
                    [Address3] => 
                    [City] => Bountiful
                    [State] => UT
                    [Zip] => 84010
                    [Country] => USA
                    [Email] => william.gess@wholesome.co
                    [Phone] => (385) 831-8887
                )

            [shipping] => Array
                (
                    [ShipToName] => WholesomeCo Cannabis
                    [Address1] => 580 W 100 N
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Bountiful
                    [State] => UT
                    [Zip] => 84010
                    [Country] => USA
                    [Email] => william.gess@wholesome.co
                    [Phone] => (385) 831-8887
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0026
                    [ProductLine] => CL
                    [forecasting_likelihood] => medium
                    [forecasting_expected_close_date] => 02/25/2025
                    [application] => 
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [freight_estimate] => true
                    [freight_type] => manual-freight
                    [freight_estimate_value] => 305.89
                    [lead_time] => 1-2 Weeks, depending on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => william.gess@wholesome.co
                    [template_id] => 557
                    [email_quote_subject] => CleanLeaf Air Filtration Quote
                    [files] => 
                    [email_product_literature] => true
                    [includedPDFs] => Array
                        (
                            [0] => {QUOTE}
                            [1] => quote_bundle_separator
                            [2] => /mnt/product_media/acs/qq_option_pdfs/CC Authorization Form.pdf
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 161588
    [mas_cust_no] => WHO8401
    [mas_cust_exists] => true
    [exportid] => 81047
    [masquotenum] => Q053639
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0026
    [ProductLine] => CL
    [forecasting_likelihood] => medium
    [forecasting_expected_close_date] => 02/25/2025
    [application] => 
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [freight_estimate] => true
    [freight_type] => manual-freight
    [freight_estimate_value] => 305.89
    [lead_time] => 1-2 Weeks, depending on stock and availability.
    [email_quote] => true
    [email_quote_to] => william.gess@wholesome.co
    [template_id] => 557
    [email_quote_subject] => CleanLeaf Air Filtration Quote
    [email_quote_body] => 

Hello <<&dear>>

Thank you for reaching out to us, attached is our quote per your request.

Feel free to reach out with any questions you might have. To move forward with the order, you can either call me or complete and return the attached authorization form. Thank you for the opportunity!



Sincerely,

<<&RepName>>

CleanLeaf - a product of Air Cleaning Specialists, Inc.

11088 Gravois Industrial Ct. Saint Louis, MO.

Saint Louis, MO 63128

866 455-2132 Ext <<&RepPhoneExt>>

<<&RepEmail>>

https://cleanleaf.com/


[files] => [email_product_literature] => true [includedPDFs] => Array ( [0] => {QUOTE} [1] => quote_bundle_separator [2] => /mnt/product_media/acs/qq_option_pdfs/CC Authorization Form.pdf ) [act] => submit_quote )

Debug Data

start: 3.0994415283203E-6 secs since start
after getting new exportid ... 81047: 0.093477964401245 secs since start
Session ID: s6rg1bs0b3ohenrtolkemv45qi
just before engaging cartlink ...: 0.093548059463501 secs since start
after most cartlink items ...: 0.094223976135254 secs since start
after getting new so num ...: 0.24699091911316 secs since start
after remaining cartlink items ...: 0.24704194068909 secs since start
SO Number: Q053639
just prior to terms gathering ...: 0.24706792831421 secs since start
after getting customer terms ...: 0.33845400810242 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CLF-6604
            [name] => 26x26x4" Pleated Pre-Filter
Acutal: 26.25x26x4
Merv 10
Priced Each / Sold in Cartons of 6
Used in CL2500D-CF, FX-AC-2500D-CF, CL2500D-CCPHE, FX2500D-CCPHE, CL2500D-CCP, FX-AC-2500D-CCP, CL2500D-HE, and FX-AC-2500D-HE [qty] => 24 [price] => 36.00 [cost] => 23.90 [pdfFileURL] => ) [1] => Array ( [sku] => CLF-6602 [name] => 26x26x2 Exact Pleated Air Filter
(Priced Each / Sold in Cartons of 12)
Used in CL2500D-CCPHE, FX-AC-2500D-CCPHE, CL2500D-CCP, and FX-AC-2500D-CCP [qty] => 24 [price] => 18.00 [cost] => 11.95 [pdfFileURL] => ) [2] => Array ( [sku] => CLF-5502 [name] => 25x15x2" Pleated Prefilter
Actual: 25x14.75x2
(Priced Each / Sold Individually) [qty] => 12 [price] => 12.66 [cost] => 8.23 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q053639','CLF-6604','26x26x4" Pleated Pre-Filter Acutal: 26.25x26x4 Merv 10 Priced Each / Sold in Cartons of 6 Used in CL2500D-CF, FX-AC-2500D-CF, CL2500D-CCPHE, FX2500D-CCPHE, CL2500D-CCP, FX-AC-2500D-CCP, CL2500D-HE, and FX-AC-2500D-HE','Y','23.90','24','24','36.00','864.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q053639','CLF-6602','26x26x2 Exact Pleated Air Filter (Priced Each / Sold in Cartons of 12) Used in CL2500D-CCPHE, FX-AC-2500D-CCPHE, CL2500D-CCP, and FX-AC-2500D-CCP','Y','11.95','24','24','18.00','432.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q053639','CLF-5502','25x15x2" Pleated Prefilter Actual: 25x14.75x2 (Priced Each / Sold Individually)','Y','8.23','12','12','12.66','151.92','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.36155104637146 secs since start
generating quote pdf ...
Temp file doesn't exist ... adding the PDFs individually ...

ATTACHMENTS
arrPDFs:
Array
(
)
arrIndividualPDFs:
Array
(
    [0] => /mnt/product_media/acs/qq_option_pdfs/CC Authorization Form.pdf
)
temp_url:/tmp/merged-pdf_1739974809_1491.pdf
after merging and generating email/quote PDFs ...: 5.0291321277618 secs since start
email fields:
Array
(
    [from] => cpeanick@aircleaningspecialists.com
    [fromname] => Chris Peanick
    [headers] => {"Return-Receipt-To": ""Chris Peanick" ", "Disposition-Notification-To": ""Chris Peanick" "}
    [x-smtpapi] => {"unique_args":{"orderNumber":"exportid=81047"}}
    [to[0]] => william.gess@wholesome.co
    [subject] => CleanLeaf Air Filtration Quote
    [html] => 

Hello Dave

Thank you for reaching out to us, attached is our quote per your request.

Feel free to reach out with any questions you might have. To move forward with the order, you can either call me or complete and return the attached authorization form. Thank you for the opportunity!



Sincerely,

Chris Peanick

CleanLeaf - a product of Air Cleaning Specialists, Inc.

11088 Gravois Industrial Ct. Saint Louis, MO.

Saint Louis, MO 63128

866 455-2132 Ext 115

cpeanick@aircleaningspecialists.com

https://cleanleaf.com/


[text] => Hello DaveThank you for reaching out to us, attached is our quote per your request.Feel free to reach out with any questions you might have. To move forward with the order, you can either call me or complete and return the attached authorization form. Thank you for the opportunity!Sincerely,Chris PeanickCleanLeaf - a product of Air Cleaning Specialists, Inc.11088 Gravois Industrial Ct. Saint Louis, MO.Saint Louis, MO 63128866 455-2132 Ext 115cpeanick@aircleaningspecialists.comhttps://cleanleaf.com/ [files[Quote.pdf]] => @/tmp/tmp_quote_20250219082004_97477.pdf [files[CC Authorization Form.pdf]] => @/mnt/product_media/acs/qq_option_pdfs/CC Authorization Form.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20250219082004_97477.pdf
File: files[CC Authorization Form.pdf] => @/mnt/product_media/acs/qq_option_pdfs/CC Authorization Form.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] => 445
    [request_size] => 724
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.791823
    [namelookup_time] => 0.001659
    [connect_time] => 0.069467
    [pretransfer_time] => 0.22475
    [size_upload] => 1156059
    [size_download] => 21
    [speed_download] => 26
    [speed_upload] => 1461515
    [download_content_length] => 21
    [upload_content_length] => 1156059
    [starttransfer_time] => 0.300879
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 34.223.196.50
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 51588
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 224657
    [connect_time_us] => 69467
    [namelookup_time_us] => 1659
    [pretransfer_time_us] => 224750
    [redirect_time_us] => 0
    [starttransfer_time_us] => 300879
    [total_time_us] => 791823
)
after sending email to customer ...: 7.8272061347961 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => cpeanick@aircleaningspecialists.com
    [fromname] => Chris Peanick
    [subject] => CleanLeaf Air Filtration Quote
    [html] => 

Hello Dave

Thank you for reaching out to us, attached is our quote per your request.

Feel free to reach out with any questions you might have. To move forward with the order, you can either call me or complete and return the attached authorization form. Thank you for the opportunity!



Sincerely,

Chris Peanick

CleanLeaf - a product of Air Cleaning Specialists, Inc.

11088 Gravois Industrial Ct. Saint Louis, MO.

Saint Louis, MO 63128

866 455-2132 Ext 115

cpeanick@aircleaningspecialists.com

https://cleanleaf.com/


[text] => Hello DaveThank you for reaching out to us, attached is our quote per your request.Feel free to reach out with any questions you might have. To move forward with the order, you can either call me or complete and return the attached authorization form. Thank you for the opportunity!Sincerely,Chris PeanickCleanLeaf - a product of Air Cleaning Specialists, Inc.11088 Gravois Industrial Ct. Saint Louis, MO.Saint Louis, MO 63128866 455-2132 Ext 115cpeanick@aircleaningspecialists.comhttps://cleanleaf.com/ [files[Quote.pdf]] => CURLFile Object ( [name] => /tmp/tmp_quote_20250219082004_97477.pdf [mime] => [postname] => Quote.pdf ) [files[CC Authorization Form.pdf]] => CURLFile Object ( [name] => /mnt/product_media/acs/qq_option_pdfs/CC Authorization Form.pdf [mime] => [postname] => CC Authorization Form.pdf ) [to[0]] => cpeanick@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] => 445
    [request_size] => 724
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.830728
    [namelookup_time] => 0.002008
    [connect_time] => 0.068717
    [pretransfer_time] => 0.212244
    [size_upload] => 1155657
    [size_download] => 21
    [speed_download] => 25
    [speed_upload] => 1392357
    [download_content_length] => 21
    [upload_content_length] => 1155657
    [starttransfer_time] => 0.281423
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 35980
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 212081
    [connect_time_us] => 68717
    [namelookup_time_us] => 2008
    [pretransfer_time_us] => 212244
    [redirect_time_us] => 0
    [starttransfer_time_us] => 281423
    [total_time_us] => 830728
)
after sending email to rep ...: 10.660120010376 secs since start
after inserting/updating customer in v2 ...: 10.745110034943 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+PC9wPjxkaXY+SGVsbG8gRGF2ZTwvZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+VGhhbmsgeW91IGZvciByZWFjaGluZyBvdXQgdG8gdXMsIGF0dGFjaGVkIGlzIG91ciBxdW90ZSBwZXIgeW91ciByZXF1ZXN0LjwvZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+PHAgY2xhc3M9Ik1zb05vcm1hbCIgc3R5bGU9ImxpbmUtaGVpZ2h0Om5vcm1hbCI+PGI+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZTogMTAuNXB0OyBmb250LWZhbWlseTogSGVsdmV0aWNhLCBzYW5zLXNlcmlmOyI+RmVlbCBmcmVlIHRvIHJlYWNoIG91dCB3aXRoIGFueQ0KcXVlc3Rpb25zIHlvdSBtaWdodCBoYXZlLiBUbyBtb3ZlIGZvcndhcmQgd2l0aCB0aGUgb3JkZXIsIHlvdSBjYW4gZWl0aGVyIGNhbGwNCm1lIG9yIGNvbXBsZXRlIGFuZCByZXR1cm4gdGhlIGF0dGFjaGVkIGF1dGhvcml6YXRpb24gZm9ybS4gVGhhbmsgeW91IGZvciB0aGUNCm9wcG9ydHVuaXR5ITwvc3Bhbj48L2I+PC9wPjwvZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+U2luY2VyZWx5LDwvZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+Q2hyaXMgUGVhbmljazwvZGl2Pjxicj5DbGVhbkxlYWYgLSBhIHByb2R1Y3Qgb2YgQWlyIENsZWFuaW5nIFNwZWNpYWxpc3RzLCBJbmMuPHA+PC9wPjxwPjExMDg4IEdyYXZvaXMgSW5kdXN0cmlhbCBDdC4gU2FpbnQgTG91aXMsIE1PLjwvcD48cD5TYWludCBMb3VpcywgTU8gNjMxMjg8L3A+PHA+ODY2IDQ1NS0yMTMyIEV4dCAxMTU8L3A+PHA+Y3BlYW5pY2tAYWlyY2xlYW5pbmdzcGVjaWFsaXN0cy5jb208L3A+PHA+aHR0cHM6Ly9jbGVhbmxlYWYuY29tLzxicj48L3A+PHA+PGJyPjwvcD48L2JvZHk+PC9odG1sPg==
v2_mailid: 3918928
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Chris Peanick 
    [recipient] => william.gess@wholesome.co
    [To] => william.gess@wholesome.co
    [Date] => 2025-02-19 08:20:15
    [subject] => CleanLeaf Air Filtration Quote
    [mas-customer-no] => WHO8401
    [email-html] => 

Hello Dave

Thank you for reaching out to us, attached is our quote per your request.

Feel free to reach out with any questions you might have. To move forward with the order, you can either call me or complete and return the attached authorization form. Thank you for the opportunity!



Sincerely,

Chris Peanick

CleanLeaf - a product of Air Cleaning Specialists, Inc.

11088 Gravois Industrial Ct. Saint Louis, MO.

Saint Louis, MO 63128

866 455-2132 Ext 115

cpeanick@aircleaningspecialists.com

https://cleanleaf.com/


[qq_from_repid] => 0026 [file_0] => CURLFile Object ( [name] => /tmp/tmp_quote_20250219082004_97477.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /mnt/product_media/acs/qq_option_pdfs/CC Authorization Form.pdf [mime] => [postname] => CC Authorization Form.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] => 651
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.739596
    [namelookup_time] => 0.001676
    [connect_time] => 0.021072
    [pretransfer_time] => 0.055025
    [size_upload] => 1155373
    [size_download] => 1154009
    [speed_download] => 1561581
    [speed_upload] => 1563427
    [download_content_length] => -1
    [upload_content_length] => 1155373
    [starttransfer_time] => 0.076401
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 51182
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 54904
    [connect_time_us] => 21072
    [namelookup_time_us] => 1676
    [pretransfer_time_us] => 55025
    [redirect_time_us] => 0
    [starttransfer_time_us] => 76401
    [total_time_us] => 739596
)
after pushing email and files into v2/timeline ...: 13.48770904541 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 13.696855068207 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 15.72207403183 secs since start
strJSON:
{"exportid":"81047","import_result":null,"import_error":"","fileurl":"GMImport_81047_1739974820_78108.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"WholesomeCo Cannabis","goldmine_email":"william.gess@wholesome.co","goldmine_phone":"(385) 831-8887","mas_quote_number":"Q053639","mas_customer_number":"WHO8401"}
end: 15.743963956833 secs since start