Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => F & G Mechanical
                    [Contact_First] => Jay
                    [Contact_Last] => Jay
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 07746
                    [Email] => jay@fgmech.com
                    [Phone] => 2012229375
                    [place_id] => 
                    [customerid] => 172720
                    [mascustnum] => FGM0774
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 172720
                    [mas_cust_no] => FGM0774
                )

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

            [billing] => Array
                (
                    [Company] => F & G Mechanical
                    [Contact_First] => Jay
                    [Contact_Last] => Jay
                    [Address1] => 159 2nd St
                    [Address2] => 
                    [Address3] => 
                    [City] => Marlboro
                    [State] => NJ
                    [Zip] => 07746
                    [Country] => USA
                    [Email] => jay@fgmech.com
                    [Phone] => (201) 422-8211
                )

            [shipping] => Array
                (
                    [ShipToName] => F & G Mechanical
                    [Address1] => 159 2nd St
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Marlboro
                    [State] => NJ
                    [Zip] => 07746
                    [Country] => USA
                    [Email] => jay@fgmech.com
                    [Phone] => (201) 422-8211
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0076
                    [ProductLine] => CL
                    [forecasting_likelihood] => medium
                    [forecasting_expected_close_date] => 06/27/2025
                    [generate_quote] => true
                    [keep_sonum] => Q055926
                    [change_notes] => 
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [freight_estimate] => true
                    [freight_type] => api_freight
                    [freight_estimate_value] => 1216.8
                    [lead_time] => 3-5 Weeks, depending on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => jay@fgmech.com
                    [template_id] => 489
                    [email_quote_subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
                    [files] => 
                    [email_product_literature] => true
                    [includedPDFs] => Array
                        (
                            [0] => {QUOTE}
                            [1] => /mnt/product_media/cleanleaf/pdf/CL2500D-CCPHE 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] => 172720
    [mas_cust_no] => FGM0774
    [mas_cust_exists] => true
    [exportid] => 85414
    [masquotenum] => Q055926
    [not_in_mas] => 1
    [originalFreight] => 1216.80
    [manual_freight_override] => 1216.80
    [freight_estimate_value] => 1216.80
    [freight_type] => api_freight
)

POST Data

Array
(
    [SalesPersonNo] => 0076
    [ProductLine] => CL
    [forecasting_likelihood] => medium
    [forecasting_expected_close_date] => 06/27/2025
    [generate_quote] => true
    [keep_sonum] => Q055926
    [change_notes] => 
    [delivery_disclaimer] => true
    [tax_free] => true
    [freight_estimate] => true
    [freight_type] => api_freight
    [freight_estimate_value] => 1216.8
    [lead_time] => 3-5 Weeks, depending on stock and availability.
    [email_quote] => true
    [email_quote_to] => jay@fgmech.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf CL3000-CF 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
Bag:      6 Flower cycles
Carbon:    6 Flower cycles

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-CCPHE 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 [not_in_mas] => true )

Debug Data

start: 3.0994415283203E-6 secs since start
after getting new exportid ... 85414: 0.094854116439819 secs since start
Session ID: npm3clf9rka2u6b23pdsocpe08
just before engaging cartlink ...: 0.094931125640869 secs since start
after most cartlink items ...: 0.095667123794556 secs since start
after getting new so num ...: 0.095683097839355 secs since start
after remaining cartlink items ...: 0.095698118209839 secs since start
SO Number: Q055926
just prior to terms gathering ...: 0.095710039138794 secs since start
after getting customer terms ...: 0.1867880821228 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL2500D-CCPHE
            [name] => CleanLeaf Model CL2500D-CCPHE, 2,000 CFM Self-Contained Odor Mitigation & Filtration 
System Side Access Filter Housing with a year supply of filters, which includes:

4x CLF-6604 (26x26x4 Pleated Pre-filter; changed quarterly)
1x CLF-6604-HHC (26X26X4 Ultrafine Glass Fiber Filter; changed annually)
1x CLF-6602 (26x26x2" Pleated After-Filter; changed annually)
16x CLF-C-100C (100% Activated Carbon Canister; changed annually)

*Ambient/Ductable [qty] => 1 [price] => 4,855.00 [cost] => 1,716.52 [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-2500DCCPHE-1YRKIT [name] => 1 year kit of filters for CL2500D-CCPHE Includes:

4x CLF-6604 (26x26x4 Pleated Prefilter; changed quarterly)
1x CLF-6604-HHC (26X26X4 Ultrafine Glass Fiber Filter; changed annually)
1x CLF-6602 (26x26x2" Pleated After-Filter; changed annually)
16x CLF-C-100C (100% Activated Carbon Canister; changed annually)

*Filter configurations and change-out times are based on standard recommendations. Yours may vary, if unsure, please contact your salesperson. [qty] => 0 [price] => 1,224.00 [cost] => 450.02 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q055926','CL2500D-CCPHE','CleanLeaf Model CL2500D-CCPHE, 2,000 CFM Self-Contained Odor Mitigation & Filtration System Side Access Filter Housing with a year supply of filters, which includes: 4x CLF-6604 (26x26x4 Pleated Pre-filter; changed quarterly) 1x CLF-6604-HHC (26X26X4 Ultrafine Glass Fiber Filter; changed annually) 1x CLF-6602 (26x26x2" Pleated After-Filter; changed annually) 16x CLF-C-100C (100% Activated Carbon Canister; changed annually) *Ambient/Ductable','Y','1716.52','1','1','4855.00','4855.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q055926','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 ('Q055926','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 ('Q055926','CLF-2500DCCPHE-1YRKIT','1 year kit of filters for CL2500D-CCPHE Includes: 4x CLF-6604 (26x26x4 Pleated Prefilter; changed quarterly) 1x CLF-6604-HHC (26X26X4 Ultrafine Glass Fiber Filter; changed annually) 1x CLF-6602 (26x26x2" Pleated After-Filter; changed annually) 16x CLF-C-100C (100% Activated Carbon Canister; changed annually) *Filter configurations and change-out times are based on standard recommendations. Yours may vary, if unsure, please contact your salesperson.','Y','450.02','0','0','1224.00','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.21532416343689 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL2500D-CCPHE 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_1748368273_2353.pdf
after merging and generating email/quote PDFs ...: 4.8465211391449 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=85414"}}
    [to[0]] => jay@fgmech.com
    [subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
    [html] => 

Hello Jay,

It was great speaking with you.

Attached is your quote and product literature.

Filter Change Schedule

Pre-filter:  2 Flower cycles
Bag:      6 Flower cycles
Carbon:    6 Flower cycles

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 Jay,It was great speaking with you.Attached is your quote and product literature.Filter Change SchedulePre-filter:  2 Flower cyclesBag:      6 Flower cyclesCarbon:    6 Flower cyclesIf 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_20250527125108_16016.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1748368273_2353.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20250527125108_16016.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1748368273_2353.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.989942
    [namelookup_time] => 0.002248
    [connect_time] => 0.05856
    [pretransfer_time] => 0.183947
    [size_upload] => 2131528
    [size_download] => 59
    [speed_download] => 59
    [speed_upload] => 2155235
    [download_content_length] => 59
    [upload_content_length] => 2131528
    [starttransfer_time] => 0.245381
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 34.223.196.50
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 34424
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 183776
    [connect_time_us] => 58560
    [namelookup_time_us] => 2248
    [pretransfer_time_us] => 183947
    [redirect_time_us] => 0
    [starttransfer_time_us] => 245381
    [total_time_us] => 989942
)
after sending email to customer ...: 7.8433940410614 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => SITE_FROM_EMAIL
    [fromname] => SITE_NAME
    [subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
    [html] => 

Hello Jay,

It was great speaking with you.

Attached is your quote and product literature.

Filter Change Schedule

Pre-filter:  2 Flower cycles
Bag:      6 Flower cycles
Carbon:    6 Flower cycles

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 Jay,It was great speaking with you.Attached is your quote and product literature.Filter Change SchedulePre-filter:  2 Flower cyclesBag:      6 Flower cyclesCarbon:    6 Flower cyclesIf 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_20250527125108_16016.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1748368273_2353.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.98368
    [namelookup_time] => 0.002009
    [connect_time] => 0.057967
    [pretransfer_time] => 0.185162
    [size_upload] => 2131165
    [size_download] => 59
    [speed_download] => 60
    [speed_upload] => 2168021
    [download_content_length] => 59
    [upload_content_length] => 2131165
    [starttransfer_time] => 0.240109
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 44594
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 185023
    [connect_time_us] => 57967
    [namelookup_time_us] => 2009
    [pretransfer_time_us] => 185162
    [redirect_time_us] => 0
    [starttransfer_time_us] => 240109
    [total_time_us] => 983680
)
after sending email to rep ...: 10.829267978668 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gSmF5LDwvcD48ZGl2PjxwPkl0IHdhcyBncmVhdCBzcGVha2luZyB3aXRoIHlvdS48L3A+PHA+QXR0YWNoZWQgaXMgeW91ciBxdW90ZSBhbmQgcHJvZHVjdCBsaXRlcmF0dXJlLjwvcD48cD48Yj5GaWx0ZXIgQ2hhbmdlIFNjaGVkdWxlPC9iPjwvcD48cD5QcmUtZmlsdGVyOiZuYnNwOyAyIEZsb3dlciBjeWNsZXM8YnI+QmFnOiZuYnNwOyAmbmJzcDsgJm5ic3A7IDYgRmxvd2VyIGN5Y2xlczxicj5DYXJib246Jm5ic3A7ICZuYnNwOyA2IEZsb3dlciBjeWNsZXM8L3A+PHA+SWYgeW91IGhhdmUgYW55IHF1ZXN0aW9ucywgZG9uJ3QgaGVzaXRhdGUgdG8gY29udGFjdCBtZS4mbmJzcDs8L3A+PHA+U2luY2VyZWx5LDxicj48L3A+PHA+PGJyPjxicj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij5DbGVhbkxlYWY8L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+MTEwODggR3Jhdm9pcyBJbmR1c3RyaWFsIEN0Ljwvc3Bhbj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij5TYWludCBMb3VpcywgTU8gNjMxMjg8L3NwYW4+PGJyPjg2NiA5OTktOTAwOCBFeHQuIDxicj44NjYgNDIyLTQwOTkgRmF4PGJyPlNJVEVfRlJPTV9FTUFJTDxicj48YSBocmVmPSJodHRwOi8vd3d3LmNsZWFubGVhZi5jb20vIj5odHRwOi8vd3d3LmNsZWFubGVhZi5jb20vPC9hPjxhIGhyZWY9Imh0dHA6Ly93d3cuZnVtZWF2ZW50LmNvbS8iPjwvYT48L3A+PHA+PGJyPjwvcD48L2Rpdj48ZGl2Pjxicj48L2Rpdj48L2JvZHk+PC9odG1sPg==
v2_mailid: 4177339
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => SITE_NAME 
    [recipient] => jay@fgmech.com
    [To] => jay@fgmech.com
    [Date] => 2025-05-27 12:51:19
    [subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
    [mas-customer-no] => FGM0774
    [email-html] => 

Hello Jay,

It was great speaking with you.

Attached is your quote and product literature.

Filter Change Schedule

Pre-filter:  2 Flower cycles
Bag:      6 Flower cycles
Carbon:    6 Flower cycles

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_20250527125108_16016.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1748368273_2353.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.465963
    [namelookup_time] => 0.00204
    [connect_time] => 0.021817
    [pretransfer_time] => 0.057532
    [size_upload] => 2130964
    [size_download] => 2129805
    [speed_download] => 1453791
    [speed_upload] => 1454582
    [download_content_length] => -1
    [upload_content_length] => 2130964
    [starttransfer_time] => 0.079117
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 36962
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 57414
    [connect_time_us] => 21817
    [namelookup_time_us] => 2040
    [pretransfer_time_us] => 57532
    [redirect_time_us] => 0
    [starttransfer_time_us] => 79117
    [total_time_us] => 1465963
)
after pushing email and files into v2/timeline ...: 14.299093008041 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 14.574041128159 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 16.599286079407 secs since start
strJSON:
{"exportid":"85414","import_result":null,"import_error":"","fileurl":"GMImport_85414_1748368285_12076.acsopa","email_result":"error","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"F & G Mechanical","goldmine_email":"jay@fgmech.com","goldmine_phone":"(201) 422-8211","mas_quote_number":"Q055926","mas_customer_number":"FGM0774"}
end: 16.623610973358 secs since start