Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => CONNECTED INTERNATIONAL
                    [Contact_First] => Ryan
                    [Contact_Last] => MCKELLAR
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 95818
                    [Email] => tgalema@connectedca.com
                    [Phone] => 8053455129
                    [place_id] => 
                    [customerid] => 155352
                    [mascustnum] => CON958A
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 155352
                    [mas_cust_no] => CON958A
                )

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

            [billing] => Array
                (
                    [Company] => CONNECTED INTERNATIONAL
                    [Contact_First] => Ryan
                    [Contact_Last] => MCKELLAR
                    [Address1] => PO Box 189310
                    [Address2] => 
                    [Address3] => 
                    [City] => Sacramento
                    [State] => CA
                    [Zip] => 95818
                    [Country] => USA
                    [Email] => tgalema@connectedca.com
                    [Phone] => (916) 217-1893
                )

            [shipping] => Array
                (
                    [ShipToName] => CONNECTED INTERNATIONAL
                    [Address1] => PO Box 189310
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Sacramento
                    [State] => CA
                    [Zip] => 95818
                    [Country] => USA
                    [Email] => tgalema@connectedca.com
                    [Phone] => (916) 217-1893
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0076
                    [ProductLine] => CL
                    [forecasting_likelihood] => medium
                    [forecasting_expected_close_date] => 07/31/2025
                    [application] => 
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [freight_estimate] => true
                    [freight_type] => api_freight
                    [freight_estimate_value] => 2416.70
                    [lead_time] => 3-5 Weeks, depending on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => tgalema@connectedca.com
                    [template_id] => 482
                    [email_quote_subject] => Your CleanLeaf CCPHE Air Filtration Quote - Flowering Room
                    [files] => 
                    [email_product_literature] => true
                    [includedPDFs] => Array
                        (
                            [0] => {QUOTE}
                            [1] => /mnt/product_media/cleanleaf/pdf/CL2500D-HE Specs 11-13-22.pdf
                            [2] => /mnt/product_media/RM-2500D-INLET-18IN (RAW).pdf
                            [3] => /mnt/product_media/RM-2500D-OUTLET-18IN (QF).pdf
                            [4] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 155352
    [mas_cust_no] => CON958A
    [mas_cust_exists] => true
    [exportid] => 87304
    [masquotenum] => Q057199
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0076
    [ProductLine] => CL
    [forecasting_likelihood] => medium
    [forecasting_expected_close_date] => 07/31/2025
    [application] => 
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [tax_free] => true
    [freight_estimate] => true
    [freight_type] => api_freight
    [freight_estimate_value] => 2416.70
    [lead_time] => 3-5 Weeks, depending on stock and availability.
    [email_quote] => true
    [email_quote_to] => tgalema@connectedca.com
    [template_id] => 482
    [email_quote_subject] => Your CleanLeaf CCPHE Air Filtration Quote - Flowering Room
    [email_quote_body] => 

Hello <<&dear>>,

It was great speaking with you.

Attached is your quote and product literature.

Filter Change Schedule

Pre-filter:  2 Flower cycles
HEPA:      4-6 Flower cycles
Carbon:    4-6 Flower cycles (Sniff test)

If you have any questions, don't hesitate to contact me. 

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] => /mnt/product_media/RM-2500D-INLET-18IN (RAW).pdf [3] => /mnt/product_media/RM-2500D-OUTLET-18IN (QF).pdf [4] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 2.8610229492188E-6 secs since start
after getting new exportid ... 87304: 0.092922925949097 secs since start
Session ID: 9h7b5tt95igd923j8phalkarg2
just before engaging cartlink ...: 0.093021869659424 secs since start
after most cartlink items ...: 0.093748807907104 secs since start
after getting new so num ...: 0.24967885017395 secs since start
after remaining cartlink items ...: 0.24971199035645 secs since start
SO Number: Q057199
just prior to terms gathering ...: 0.24972891807556 secs since start
after getting customer terms ...: 0.92562699317932 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL2500D-HE
            [name] => CleanLeaf Model CL2500D-HE, 2,000 CFM Self-Contained Filtration System, Color: White 
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)

*Ambient/Ductable [qty] => 2 [price] => 3,441.00 [cost] => 1,369.19 [pdfFileURL] => ) [1] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [2] => Array ( [sku] => RM-2500D-INLET-18IN [name] => Inlet for 2500D series air cleaners [qty] => 0 [price] => 723.58 [cost] => 416.06 [pdfFileURL] => ) [3] => Array ( [sku] => RM-2500D-OUTLET-18IN [name] => Outlet for 2500D series air cleaners [qty] => 0 [price] => 252.56 [cost] => 145.22 [pdfFileURL] => ) [4] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [5] => Array ( [sku] => CLF-2500DHE-1YRPCK [name] => 1 year pack of filters for CL2500D-HE
Includes:
4x CLF-6604 (26x26x4 Pleated Prefilter; changed quarterly)
2x CLF-661698 (26x26x16" 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] => 271.96 [cost] => 135.98 [pdfFileURL] => ) [6] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [7] => Array ( [sku] => CLF-661699-HHC [name] => 26x26x16" 99.99% DOP V-Bank Medical Grade HEPA Filter [qty] => 0 [price] => 259.00 [cost] => 103.31 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q057199','CL2500D-HE','CleanLeaf Model CL2500D-HE, 2,000 CFM Self-Contained Filtration System, Color: White 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) *Ambient/Ductable','Y','1369.19','2','2','3441.00','6882.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q057199','RM-2500D-INLET-18IN','Inlet for 2500D series air cleaners','Y','416.06','0','0','723.58','0.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q057199','RM-2500D-OUTLET-18IN','Outlet for 2500D series air cleaners','Y','145.22','0','0','252.56','0.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q057199','CLF-2500DHE-1YRPCK','1 year pack of filters for CL2500D-HE Includes: 4x CLF-6604 (26x26x4 Pleated Prefilter; changed quarterly) 2x CLF-661698 (26x26x16" 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','135.98','0','0','271.96','0.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q057199','CLF-661699-HHC','26x26x16" 99.99% DOP V-Bank Medical Grade HEPA Filter','Y','103.31','0','0','259.00','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.95129799842834 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL2500D-HE Specs 11-13-22.pdf
    [2] => /mnt/product_media/RM-2500D-INLET-18IN (RAW).pdf
    [3] => /mnt/product_media/RM-2500D-OUTLET-18IN (QF).pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1752241853_6433.pdf
after merging and generating email/quote PDFs ...: 6.7014818191528 secs since start
email fields:
Array
(
    [from] => SITE_FROM_EMAIL
    [fromname] => SITE_NAME
    [headers] => {"Return-Receipt-To": ""SITE_NAME" ", "Disposition-Notification-To": ""SITE_NAME" "}
    [x-smtpapi] => {"unique_args":{"orderNumber":"exportid=87304"}}
    [to[0]] => tgalema@connectedca.com
    [subject] => Your CleanLeaf CCPHE Air Filtration Quote - Flowering Room
    [html] => 

Hello Ryan,

It was great speaking with you.

Attached is your quote and product literature.

Filter Change Schedule

Pre-filter:  2 Flower cycles
HEPA:      4-6 Flower cycles
Carbon:    4-6 Flower cycles (Sniff test)

If you have any questions, don't hesitate to contact me. 

Sincerely,




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



[text] => Hello Ryan,It was great speaking with you.Attached is your quote and product literature.Filter Change SchedulePre-filter:  2 Flower cyclesHEPA:      4-6 Flower cyclesCarbon:    4-6 Flower cycles (Sniff test)If you have any questions, don't hesitate to contact me. Sincerely,CleanLeaf11088 Gravois Industrial Ct.Saint Louis, MO 63128866 999-9008 Ext. 866 422-4099 FaxSITE_FROM_EMAILhttp://www.cleanleaf.com/ [files[Quote.pdf]] => @/tmp/tmp_quote_20250711085047_93954.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1752241853_6433.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20250711085047_93954.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1752241853_6433.pdf
email result: {"errors":["Invalid from email address"],"message":"error"}
arr email result: Array ( [errors] => Array ( [0] => Invalid from email address ) [message] => error )
email curl info:
Array
(
    [url] => https://api.sendgrid.com/api/mail.send.json
    [content_type] => application/json
    [http_code] => 400
    [header_size] => 403
    [request_size] => 724
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.861071
    [namelookup_time] => 0.001824
    [connect_time] => 0.056299
    [pretransfer_time] => 0.177197
    [size_upload] => 3063798
    [size_download] => 59
    [speed_download] => 68
    [speed_upload] => 3558418
    [download_content_length] => 59
    [upload_content_length] => 3063798
    [starttransfer_time] => 0.234562
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 34.223.196.50
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 51882
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 177057
    [connect_time_us] => 56299
    [namelookup_time_us] => 1824
    [pretransfer_time_us] => 177197
    [redirect_time_us] => 0
    [starttransfer_time_us] => 234562
    [total_time_us] => 861071
)
after sending email to customer ...: 9.5718569755554 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => SITE_FROM_EMAIL
    [fromname] => SITE_NAME
    [subject] => Your CleanLeaf CCPHE Air Filtration Quote - Flowering Room
    [html] => 

Hello Ryan,

It was great speaking with you.

Attached is your quote and product literature.

Filter Change Schedule

Pre-filter:  2 Flower cycles
HEPA:      4-6 Flower cycles
Carbon:    4-6 Flower cycles (Sniff test)

If you have any questions, don't hesitate to contact me. 

Sincerely,




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



[text] => Hello Ryan,It was great speaking with you.Attached is your quote and product literature.Filter Change SchedulePre-filter:  2 Flower cyclesHEPA:      4-6 Flower cyclesCarbon:    4-6 Flower cycles (Sniff test)If you have any questions, don't hesitate to contact me. Sincerely,CleanLeaf11088 Gravois Industrial Ct.Saint Louis, MO 63128866 999-9008 Ext. 866 422-4099 FaxSITE_FROM_EMAILhttp://www.cleanleaf.com/ [files[Quote.pdf]] => CURLFile Object ( [name] => /tmp/tmp_quote_20250711085047_93954.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1752241853_6433.pdf [mime] => [postname] => Product_Literature.pdf ) [to[0]] => SITE_FROM_EMAIL )
to rep email result: {"errors":["Invalid from email address"],"message":"error"}
arr email result: Array ( [errors] => Array ( [0] => Invalid from email address ) [message] => error )
email curl info:
Array
(
    [url] => https://api.sendgrid.com/api/mail.send.json
    [content_type] => application/json
    [http_code] => 400
    [header_size] => 403
    [request_size] => 724
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.938772
    [namelookup_time] => 0.002457
    [connect_time] => 0.060625
    [pretransfer_time] => 0.189171
    [size_upload] => 3063426
    [size_download] => 59
    [speed_download] => 62
    [speed_upload] => 3265912
    [download_content_length] => 59
    [upload_content_length] => 3063426
    [starttransfer_time] => 0.249935
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 53144
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 189021
    [connect_time_us] => 60625
    [namelookup_time_us] => 2457
    [pretransfer_time_us] => 189171
    [redirect_time_us] => 0
    [starttransfer_time_us] => 249935
    [total_time_us] => 938772
)
after sending email to rep ...: 12.512631893158 secs since start
after inserting/updating customer in v2 ...: 12.604354858398 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gUnlhbiw8L3A+PGRpdj48cD5JdCB3YXMgZ3JlYXQgc3BlYWtpbmcgd2l0aCB5b3UuPC9wPjxwPkF0dGFjaGVkIGlzIHlvdXIgcXVvdGUgYW5kIHByb2R1Y3QgbGl0ZXJhdHVyZS48L3A+PHA+PGI+RmlsdGVyIENoYW5nZSBTY2hlZHVsZTwvYj48L3A+PHA+UHJlLWZpbHRlcjombmJzcDsgMiBGbG93ZXIgY3ljbGVzPGJyPkhFUEE6Jm5ic3A7ICZuYnNwOyAmbmJzcDsgNC02IEZsb3dlciBjeWNsZXM8YnI+Q2FyYm9uOiZuYnNwOyAmbmJzcDsgNC02IEZsb3dlciBjeWNsZXMgKFNuaWZmIHRlc3QpPC9wPjxwPklmIHlvdSBoYXZlIGFueSBxdWVzdGlvbnMsIGRvbid0IGhlc2l0YXRlIHRvIGNvbnRhY3QgbWUuJm5ic3A7PC9wPjxwPlNpbmNlcmVseSw8YnI+PC9wPjxwPjxicj48YnI+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+Q2xlYW5MZWFmPC9zcGFuPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPjExMDg4IEdyYXZvaXMgSW5kdXN0cmlhbCBDdC48L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+U2FpbnQgTG91aXMsIE1PIDYzMTI4PC9zcGFuPjxicj44NjYgOTk5LTkwMDggRXh0LiA8YnI+ODY2IDQyMi00MDk5IEZheDxicj5TSVRFX0ZST01fRU1BSUw8YnI+PGEgaHJlZj0iaHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLyI+aHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLzwvYT48YSBocmVmPSJodHRwOi8vd3d3LmZ1bWVhdmVudC5jb20vIj48L2E+PC9wPjxwPjxicj48L3A+PC9kaXY+PGRpdj48YnI+PC9kaXY+PC9ib2R5PjwvaHRtbD4=
v2_mailid: 4283567
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => SITE_NAME 
    [recipient] => tgalema@connectedca.com
    [To] => tgalema@connectedca.com
    [Date] => 2025-07-11 08:50:59
    [subject] => Your CleanLeaf CCPHE Air Filtration Quote - Flowering Room
    [mas-customer-no] => CON958A
    [email-html] => 

Hello Ryan,

It was great speaking with you.

Attached is your quote and product literature.

Filter Change Schedule

Pre-filter:  2 Flower cycles
HEPA:      4-6 Flower cycles
Carbon:    4-6 Flower cycles (Sniff test)

If you have any questions, don't hesitate to contact me. 

Sincerely,




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



[qq_from_repid] => 0076 [file_0] => CURLFile Object ( [name] => /tmp/tmp_quote_20250711085047_93954.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1752241853_6433.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] => 449
    [request_size] => 651
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 1.508148
    [namelookup_time] => 0.001872
    [connect_time] => 0.021177
    [pretransfer_time] => 0.058209
    [size_upload] => 3063224
    [size_download] => 3062051
    [speed_download] => 2030537
    [speed_upload] => 2031315
    [download_content_length] => -1
    [upload_content_length] => 3063224
    [starttransfer_time] => 0.079608
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 53726
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 58128
    [connect_time_us] => 21177
    [namelookup_time_us] => 1872
    [pretransfer_time_us] => 58209
    [redirect_time_us] => 0
    [starttransfer_time_us] => 79608
    [total_time_us] => 1508148
)
after pushing email and files into v2/timeline ...: 16.116808891296 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 16.370560884476 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 18.397398948669 secs since start
strJSON:
{"exportid":"87304","import_result":null,"import_error":"","fileurl":"GMImport_87304_1752241864_24466.acsopa","email_result":"error","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"CONNECTED INTERNATIONAL","goldmine_email":"tgalema@connectedca.com","goldmine_phone":"(916) 217-1893","mas_quote_number":"Q057199","mas_customer_number":"CON958A"}
end: 18.47855591774 secs since start