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] => high
                    [forecasting_expected_close_date] => 06/30/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] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 172720
    [mas_cust_no] => FGM0774
    [mas_cust_exists] => true
    [exportid] => 86474
    [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] => high
    [forecasting_expected_close_date] => 06/30/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] => quote_bundle_separator ) [act] => submit_quote [not_in_mas] => true )

Debug Data

start: 3.0994415283203E-6 secs since start
after getting new exportid ... 86474: 0.20309114456177 secs since start
Session ID: 3229piakvb9dd3qia2qb1lkpd0
just before engaging cartlink ...: 0.20317506790161 secs since start
after most cartlink items ...: 0.2039749622345 secs since start
after getting new so num ...: 0.20399498939514 secs since start
after remaining cartlink items ...: 0.20400810241699 secs since start
SO Number: Q055926
just prior to terms gathering ...: 0.20402097702026 secs since start
after getting customer terms ...: 0.39881491661072 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] => ) )

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')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.43015909194946 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL2500D-CCPHE Specs 11-13-22.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1750429899_6276.pdf
after merging and generating email/quote PDFs ...: 5.7103309631348 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=86474"}}
    [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_20250620093134_15045.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1750429899_6276.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20250620093134_15045.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1750429899_6276.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.855063
    [namelookup_time] => 0.001874
    [connect_time] => 0.056579
    [pretransfer_time] => 0.175591
    [size_upload] => 1707601
    [size_download] => 59
    [speed_download] => 69
    [speed_upload] => 1997194
    [download_content_length] => 59
    [upload_content_length] => 1707601
    [starttransfer_time] => 0.238399
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 56878
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 175470
    [connect_time_us] => 56579
    [namelookup_time_us] => 1874
    [pretransfer_time_us] => 175591
    [redirect_time_us] => 0
    [starttransfer_time_us] => 238399
    [total_time_us] => 855063
)
after sending email to customer ...: 8.5717890262604 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_20250620093134_15045.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1750429899_6276.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.861687
    [namelookup_time] => 0.001891
    [connect_time] => 0.059906
    [pretransfer_time] => 0.186934
    [size_upload] => 1707238
    [size_download] => 59
    [speed_download] => 68
    [speed_upload] => 1982854
    [download_content_length] => 59
    [upload_content_length] => 1707238
    [starttransfer_time] => 0.247995
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 34.223.196.50
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 38306
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 186793
    [connect_time_us] => 59906
    [namelookup_time_us] => 1891
    [pretransfer_time_us] => 186934
    [redirect_time_us] => 0
    [starttransfer_time_us] => 247995
    [total_time_us] => 861687
)
after sending email to rep ...: 11.435565948486 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: 4239273
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => SITE_NAME 
    [recipient] => jay@fgmech.com
    [To] => jay@fgmech.com
    [Date] => 2025-06-20 09:31:45
    [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_20250620093134_15045.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1750429899_6276.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] => 2.41362
    [namelookup_time] => 0.002432
    [connect_time] => 0.048705
    [pretransfer_time] => 0.116674
    [size_upload] => 1707037
    [size_download] => 1705878
    [speed_download] => 706953
    [speed_upload] => 707433
    [download_content_length] => -1
    [upload_content_length] => 1707037
    [starttransfer_time] => 0.166373
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 54378
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 116583
    [connect_time_us] => 48705
    [namelookup_time_us] => 2432
    [pretransfer_time_us] => 116674
    [redirect_time_us] => 0
    [starttransfer_time_us] => 166373
    [total_time_us] => 2413620
)
after pushing email and files into v2/timeline ...: 15.852546930313 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 16.327320098877 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 18.379245996475 secs since start
strJSON:
{"exportid":"86474","import_result":null,"import_error":"","fileurl":"GMImport_86474_1750429912_17768.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: 18.403865098953 secs since start