Session Data

Array
(
    [copy_from_salesorderno] => Q039310
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => VIBE Cannabis
                    [Contact_First] => Charles
                    [Contact_Last] => Allen
                    [Zip] => 63147
                    [Email] => nate@vibecanna.com
                    [Phone] => 3148145493
                    [customerid] => 154101
                    [Contact_Email] => charles@vibecanna.com
                    [Contact_Phone] => 3147534391
                    [contactid] => 128799
                    [place_id] => 
                    [mascustnum] => VIB6314
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 154101
                    [mas_cust_no] => VIB6314
                )

            [billing] => Array
                (
                    [Company] => VIBE Cannabis
                    [Contact_First] => Wes
                    [Contact_Last] => Greene
                    [Address1] => 7110 N. Broadway
                    [Address2] => 
                    [Address3] => 
                    [City] => Saint Louis
                    [State] => MO
                    [Zip] => 63147
                    [Country] => USA
                    [Email] => charles@vibecanna.com
                    [Phone] => 3148145493
                )

            [shipping] => Array
                (
                    [ShipToName] => VIBE Cannabis
                    [Address1] => 7110 N. Broadway
                    [Address2] => Charles 314-814-5493
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Saint Louis
                    [State] => MO
                    [Zip] => 63147
                    [Country] => USA
                    [Email] => charles@vibecanna.com
                    [Phone] => 3148145493
                )

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

            [leadid] => 0
            [summary] => Array
                (
                    [SalesPersonNo] => 0026
                    [ProductLine] => CL
                    [forecasting_likelihood] => medium
                    [forecasting_expected_close_date] => 07/02/2025
                    [application] => 
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [freight_estimate] => true
                    [freight_type] => api_freight
                    [freight_estimate_value] => 287.13
                    [lead_time] => 2-3 Weeks
                    [email_quote] => true
                    [email_quote_to] => charles@vibecanna.com
                    [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
                )

        )

    [gm_account_no] => 154101
    [mas_cust_no] => VIB6314
    [last_completed_step] => 5
    [copy_quote] => 1
    [mas_cust_exists] => true
    [exportid] => 86768
    [masquotenum] => Q056806
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0026
    [ProductLine] => CL
    [forecasting_likelihood] => medium
    [forecasting_expected_close_date] => 07/02/2025
    [application] => 
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [freight_estimate] => true
    [freight_type] => api_freight
    [freight_estimate_value] => 287.13
    [lead_time] => 2-3 Weeks
    [email_quote] => true
    [email_quote_to] => charles@vibecanna.com
    [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: 1.9073486328125E-6 secs since start
after getting new exportid ... 86768: 0.20195198059082 secs since start
Session ID: fmqr2ubt750sfcntm40gc1te47
just before engaging cartlink ...: 0.20203399658203 secs since start
after most cartlink items ...: 0.20282101631165 secs since start
after getting new so num ...: 0.54303884506226 secs since start
after remaining cartlink items ...: 0.54308891296387 secs since start
SO Number: Q056806
just prior to terms gathering ...: 0.5431079864502 secs since start
after getting customer terms ...: 0.73878002166748 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => 
            [name] => 
            [qty] => 0
            [price] => 0.00
            [cost] => 0.00
            [pdfFileURL] => 
        )

    [1] => Array
        (
            [sku] => CLF-661699-HHC
            [name] => 26x26x16" 99.99% DOP V-Bank Medical Grade HEPA Filter
            [qty] => 15
            [price] => 180.00
            [cost] => 103.31
            [pdfFileURL] => 
        )

)

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q056806','CLF-661699-HHC','26x26x16" 99.99% DOP V-Bank Medical Grade HEPA Filter','Y','103.31','15','15','180.00','2700.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.76344084739685 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_1751059577_4188.pdf
after merging and generating email/quote PDFs ...: 5.5753488540649 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=86768"}}
    [to[0]] => charles@vibecanna.com
    [subject] => CleanLeaf Air Filtration Quote
    [html] => 

Hello Wes

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 WesThank 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_20250627162612_96716.pdf [files[CC Authorization Form.pdf]] => @/mnt/product_media/acs/qq_option_pdfs/CC Authorization Form.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20250627162612_96716.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.637464
    [namelookup_time] => 0.001783
    [connect_time] => 0.056499
    [pretransfer_time] => 0.17573
    [size_upload] => 1174753
    [size_download] => 21
    [speed_download] => 32
    [speed_upload] => 1844196
    [download_content_length] => 21
    [upload_content_length] => 1174753
    [starttransfer_time] => 0.236264
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 33492
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 175608
    [connect_time_us] => 56499
    [namelookup_time_us] => 1783
    [pretransfer_time_us] => 175730
    [redirect_time_us] => 0
    [starttransfer_time_us] => 236264
    [total_time_us] => 637464
)
after sending email to customer ...: 8.2285850048065 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => cpeanick@aircleaningspecialists.com
    [fromname] => Chris Peanick
    [subject] => CleanLeaf Air Filtration Quote
    [html] => 

Hello Wes

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 WesThank 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_20250627162612_96716.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.648952
    [namelookup_time] => 0.00214
    [connect_time] => 0.058678
    [pretransfer_time] => 0.18263
    [size_upload] => 1174355
    [size_download] => 21
    [speed_download] => 32
    [speed_upload] => 1812276
    [download_content_length] => 21
    [upload_content_length] => 1174355
    [starttransfer_time] => 0.242032
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 42342
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 182517
    [connect_time_us] => 58678
    [namelookup_time_us] => 2140
    [pretransfer_time_us] => 182630
    [redirect_time_us] => 0
    [starttransfer_time_us] => 242032
    [total_time_us] => 648952
)
after sending email to rep ...: 10.880300998688 secs since start
after inserting/updating customer in v2 ...: 11.052678823471 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+PC9wPjxkaXY+SGVsbG8gV2VzPC9kaXY+PGRpdj48YnI+PC9kaXY+PGRpdj5UaGFuayB5b3UgZm9yIHJlYWNoaW5nIG91dCB0byB1cywgYXR0YWNoZWQgaXMgb3VyIHF1b3RlIHBlciB5b3VyIHJlcXVlc3QuPC9kaXY+PGRpdj48YnI+PC9kaXY+PGRpdj48ZGl2PjxwIGNsYXNzPSJNc29Ob3JtYWwiIHN0eWxlPSJsaW5lLWhlaWdodDpub3JtYWwiPjxiPjxzcGFuIHN0eWxlPSJmb250LXNpemU6IDEwLjVwdDsgZm9udC1mYW1pbHk6IEhlbHZldGljYSwgc2Fucy1zZXJpZjsiPkZlZWwgZnJlZSB0byByZWFjaCBvdXQgd2l0aCBhbnkNCnF1ZXN0aW9ucyB5b3UgbWlnaHQgaGF2ZS4gVG8gbW92ZSBmb3J3YXJkIHdpdGggdGhlIG9yZGVyLCB5b3UgY2FuIGVpdGhlciBjYWxsDQptZSBvciBjb21wbGV0ZSBhbmQgcmV0dXJuIHRoZSBhdHRhY2hlZCBhdXRob3JpemF0aW9uIGZvcm0uIFRoYW5rIHlvdSBmb3IgdGhlDQpvcHBvcnR1bml0eSE8bzpwPjwvbzpwPjwvc3Bhbj48L2I+PC9wPjwvZGl2PjwvZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+U2luY2VyZWx5LDwvZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+Q2hyaXMgUGVhbmljazwvZGl2Pjxicj5DbGVhbkxlYWYgLSBhIHByb2R1Y3Qgb2YgQWlyIENsZWFuaW5nIFNwZWNpYWxpc3RzLCBJbmMuPHA+PC9wPjxwPjExMDg4IEdyYXZvaXMgSW5kdXN0cmlhbCBDdC4gU2FpbnQgTG91aXMsIE1PLjwvcD48cD5TYWludCBMb3VpcywgTU8gNjMxMjg8L3A+PHA+ODY2IDQ1NS0yMTMyIEV4dCAxMTU8L3A+PHA+Y3BlYW5pY2tAYWlyY2xlYW5pbmdzcGVjaWFsaXN0cy5jb208L3A+PHA+aHR0cHM6Ly9jbGVhbmxlYWYuY29tLzxicj48L3A+PHA+PGJyPjwvcD48L2JvZHk+PC9odG1sPg==
v2_mailid: 4256694
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Chris Peanick 
    [recipient] => charles@vibecanna.com
    [To] => charles@vibecanna.com
    [Date] => 2025-06-27 16:26:22
    [subject] => CleanLeaf Air Filtration Quote
    [mas-customer-no] => VIB6314
    [email-html] => 

Hello Wes

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_20250627162612_96716.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] => 449
    [request_size] => 651
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.908544
    [namelookup_time] => 0.001878
    [connect_time] => 0.048031
    [pretransfer_time] => 0.108025
    [size_upload] => 1174064
    [size_download] => 1172701
    [speed_download] => 1291520
    [speed_upload] => 1293022
    [download_content_length] => -1
    [upload_content_length] => 1174064
    [starttransfer_time] => 0.156184
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 57754
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 107945
    [connect_time_us] => 48031
    [namelookup_time_us] => 1878
    [pretransfer_time_us] => 108025
    [redirect_time_us] => 0
    [starttransfer_time_us] => 156184
    [total_time_us] => 908544
)
after pushing email and files into v2/timeline ...: 13.964215993881 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 14.344871997833 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 16.396952867508 secs since start
strJSON:
{"exportid":"86768","import_result":null,"import_error":"","fileurl":"GMImport_86768_1751059587_46374.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"VIBE Cannabis","goldmine_email":"charles@vibecanna.com","goldmine_phone":"3148145493","mas_quote_number":"Q056806","mas_customer_number":"VIB6314"}
end: 16.420869827271 secs since start