Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Pure n Natural Systems, Inc
                    [Contact_First] => Brenda
                    [Contact_Last] => Roy
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 90230
                    [Email] => purchasing@purennatural.com
                    [Phone] => 8002379199
                    [place_id] => 
                    [customerid] => 116783
                    [mascustnum] => PUR6010
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 116783
                    [mas_cust_no] => PUR6010
                )

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

            [billing] => Array
                (
                    [Company] => Pure n Natural Systems, Inc
                    [Contact_First] => Brenda
                    [Contact_Last] => Roy
                    [Address1] => 5625 Cambridge Way
                    [Address2] => PO# 1754
                    [Address3] => 
                    [City] => Culver City
                    [State] => CA
                    [Zip] => 90230
                    [Country] => USA
                    [Email] => purchasing@purennatural.com
                    [Phone] => (800) 237-9199
                )

            [shipping] => Array
                (
                    [ShipToName] => Pure n Natural Systems, Inc
                    [Address1] => 5625 Cambridge Way
                    [Address2] => PO# 1754
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Culver City
                    [State] => CA
                    [Zip] => 90230
                    [Country] => USA
                    [Email] => purchasing@purennatural.com
                    [Phone] => (800) 237-9199
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0076
                    [ProductLine] => CL
                    [forecasting_likelihood] => medium
                    [forecasting_expected_close_date] => 06/30/2025
                    [customer_tags] => Array
                        (
                            [0] => 17
                            [1] => 106
                        )

                    [application] => 
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [freight_estimate] => true
                    [freight_type] => call
                    [lead_time] => 3-5 Weeks, depending on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => purchasing@purennatural.com
                    [template_id] => 557
                    [email_quote_subject] => CleanLeaf Air Filtration Quote
                    [files] => 
                    [email_product_literature] => true
                    [includedPDFs] => Array
                        (
                            [0] => {QUOTE}
                            [1] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 116783
    [mas_cust_no] => PUR6010
    [mas_cust_exists] => true
    [exportid] => 85539
    [masquotenum] => Q055993
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0076
    [ProductLine] => CL
    [forecasting_likelihood] => medium
    [forecasting_expected_close_date] => 06/30/2025
    [customer_tags] => Array
        (
            [0] => 17
            [1] => 106
        )

    [application] => 
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [tax_free] => true
    [freight_estimate] => true
    [freight_type] => call
    [lead_time] => 3-5 Weeks, depending on stock and availability.
    [email_quote] => true
    [email_quote_to] => purchasing@purennatural.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 and literature per your request.

Please review and let me know if you have any questions or concerns.

***Shipping is not included and is billed separately at the time of delivery.


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 ) [act] => submit_quote )

Debug Data

start: 3.0994415283203E-6 secs since start
after getting new exportid ... 85539: 0.09807014465332 secs since start
Session ID: i26alhmnfrrs6jtbefmfbhti0h
just before engaging cartlink ...: 0.098194122314453 secs since start
after most cartlink items ...: 0.098942041397095 secs since start
after getting new so num ...: 0.25334310531616 secs since start
after remaining cartlink items ...: 0.25338506698608 secs since start
SO Number: Q055993
just prior to terms gathering ...: 0.25341296195984 secs since start
after getting customer terms ...: 0.34179902076721 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL1250D-CF
            [name] => CleanLeaf Model CL1250D-CF, 1,000 CFM Self-Contained Odor Mitigation & Filtration System
Side Access Filter Housing with a year supply of filters, which includes:

4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly)
2x CLF-552898 (25x15x28" 95% 8 Pocket Bag Filter; changed semi-annually)
2x CLF-5502-CF (25x15x2" Honeycomb 75% Fill Carbon After-Filter; changed semi-annually)

Color: Grey

*Ambient. Upgrade to DC motor available for ducted units; service charge applies. [qty] => 0 [price] => 2,792.00 [cost] => 1,111.72 [pdfFileURL] => ) [1] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [2] => Array ( [sku] => RM-DC-MTAS-SVAC-1250 [name] => Delta Motor assembly for 1250D units. Required for all ducted units and CCPHE configurations. [qty] => 1 [price] => 1,836.00 [cost] => 917.59 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q055993','CL1250D-CF','CleanLeaf Model CL1250D-CF, 1,000 CFM Self-Contained Odor Mitigation & Filtration System Side Access Filter Housing with a year supply of filters, which includes: 4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly) 2x CLF-552898 (25x15x28" 95% 8 Pocket Bag Filter; changed semi-annually) 2x CLF-5502-CF (25x15x2" Honeycomb 75% Fill Carbon After-Filter; changed semi-annually) Color: Grey *Ambient. Upgrade to DC motor available for ducted units; service charge applies.','Y','1111.72','0','0','2792.00','0.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q055993','RM-DC-MTAS-SVAC-1250','Delta Motor assembly for 1250D units. Required for all ducted units and CCPHE configurations.','Y','917.59','1','1','1836.00','1836.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.3649570941925 secs since start
generating quote pdf ...
Temp file doesn't exist ... adding the PDFs individually ...

ATTACHMENTS
arrPDFs:
Array
(
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1748546419_9278.pdf
after merging and generating email/quote PDFs ...: 6.1263539791107 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=85539"}}
    [to[0]] => purchasing@purennatural.com
    [subject] => CleanLeaf Air Filtration Quote
    [html] => 

Hello Brenda

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

Please review and let me know if you have any questions or concerns.

***Shipping is not included and is billed separately at the time of delivery.


Sincerely,


CleanLeaf - a product of Air Cleaning Specialists, Inc.

11088 Gravois Industrial Ct. Saint Louis, MO.

Saint Louis, MO 63128

866 455-2132 Ext

SITE_FROM_EMAIL

https://cleanleaf.com/


[text] => Hello BrendaThank you for reaching out to us, attached is our quote and literature per your request.Please review and let me know if you have any questions or concerns.***Shipping is not included and is billed separately at the time of delivery.Sincerely,CleanLeaf - a product of Air Cleaning Specialists, Inc.11088 Gravois Industrial Ct. Saint Louis, MO.Saint Louis, MO 63128866 455-2132 Ext SITE_FROM_EMAILhttps://cleanleaf.com/ [files[Quote.pdf]] => @/tmp/tmp_quote_20250529142013_82931.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20250529142013_82931.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] => 723
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.682555
    [namelookup_time] => 0.002141
    [connect_time] => 0.060759
    [pretransfer_time] => 0.194834
    [size_upload] => 353442
    [size_download] => 59
    [speed_download] => 86
    [speed_upload] => 518243
    [download_content_length] => 59
    [upload_content_length] => 353442
    [starttransfer_time] => 0.25647
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 44942
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 194723
    [connect_time_us] => 60759
    [namelookup_time_us] => 2141
    [pretransfer_time_us] => 194834
    [redirect_time_us] => 0
    [starttransfer_time_us] => 256470
    [total_time_us] => 682555
)
after sending email to customer ...: 8.8152761459351 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => SITE_FROM_EMAIL
    [fromname] => SITE_NAME
    [subject] => CleanLeaf Air Filtration Quote
    [html] => 

Hello Brenda

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

Please review and let me know if you have any questions or concerns.

***Shipping is not included and is billed separately at the time of delivery.


Sincerely,


CleanLeaf - a product of Air Cleaning Specialists, Inc.

11088 Gravois Industrial Ct. Saint Louis, MO.

Saint Louis, MO 63128

866 455-2132 Ext

SITE_FROM_EMAIL

https://cleanleaf.com/


[text] => Hello BrendaThank you for reaching out to us, attached is our quote and literature per your request.Please review and let me know if you have any questions or concerns.***Shipping is not included and is billed separately at the time of delivery.Sincerely,CleanLeaf - a product of Air Cleaning Specialists, Inc.11088 Gravois Industrial Ct. Saint Louis, MO.Saint Louis, MO 63128866 455-2132 Ext SITE_FROM_EMAILhttps://cleanleaf.com/ [files[Quote.pdf]] => CURLFile Object ( [name] => /tmp/tmp_quote_20250529142013_82931.pdf [mime] => [postname] => Quote.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] => 723
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.521712
    [namelookup_time] => 0.002287
    [connect_time] => 0.057262
    [pretransfer_time] => 0.182361
    [size_upload] => 353066
    [size_download] => 59
    [speed_download] => 113
    [speed_upload] => 677669
    [download_content_length] => 59
    [upload_content_length] => 353066
    [starttransfer_time] => 0.242714
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 45326
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 182213
    [connect_time_us] => 57262
    [namelookup_time_us] => 2287
    [pretransfer_time_us] => 182361
    [redirect_time_us] => 0
    [starttransfer_time_us] => 242714
    [total_time_us] => 521712
)
after sending email to rep ...: 11.339662075043 secs since start
after inserting/updating customer in v2 ...: 11.437938928604 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+PC9wPjxkaXY+SGVsbG8gQnJlbmRhPC9kaXY+PGRpdj48YnI+PC9kaXY+PGRpdj5UaGFuayB5b3UgZm9yIHJlYWNoaW5nIG91dCB0byB1cywgYXR0YWNoZWQgaXMgb3VyIHF1b3RlIGFuZCBsaXRlcmF0dXJlIHBlciB5b3VyIHJlcXVlc3QuPC9kaXY+PGRpdj48YnI+PC9kaXY+PGRpdj5QbGVhc2UgcmV2aWV3IGFuZCBsZXQgbWUga25vdyBpZiB5b3UgaGF2ZSBhbnkgcXVlc3Rpb25zIG9yIGNvbmNlcm5zLjwvZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+KioqU2hpcHBpbmcgaXMgbm90IGluY2x1ZGVkIGFuZCBpcyBiaWxsZWQgc2VwYXJhdGVseSBhdCB0aGUgdGltZSBvZiBkZWxpdmVyeS48L2Rpdj48ZGl2Pjxicj48L2Rpdj48ZGl2Pjxicj48L2Rpdj48ZGl2PlNpbmNlcmVseSw8L2Rpdj48ZGl2Pjxicj48L2Rpdj48ZGl2PjwvZGl2Pjxicj5DbGVhbkxlYWYgLSBhIHByb2R1Y3Qgb2YgQWlyIENsZWFuaW5nIFNwZWNpYWxpc3RzLCBJbmMuPHA+PC9wPjxwPjExMDg4IEdyYXZvaXMgSW5kdXN0cmlhbCBDdC4gU2FpbnQgTG91aXMsIE1PLjwvcD48cD5TYWludCBMb3VpcywgTU8gNjMxMjg8L3A+PHA+ODY2IDQ1NS0yMTMyIEV4dCA8L3A+PHA+U0lURV9GUk9NX0VNQUlMPC9wPjxwPmh0dHBzOi8vY2xlYW5sZWFmLmNvbS88YnI+PC9wPjxwPjxicj48L3A+PC9ib2R5PjwvaHRtbD4=
v2_mailid: 4184843
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => SITE_NAME 
    [recipient] => purchasing@purennatural.com
    [To] => purchasing@purennatural.com
    [Date] => 2025-05-29 14:20:24
    [subject] => CleanLeaf Air Filtration Quote
    [mas-customer-no] => PUR6010
    [email-html] => 

Hello Brenda

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

Please review and let me know if you have any questions or concerns.

***Shipping is not included and is billed separately at the time of delivery.


Sincerely,


CleanLeaf - a product of Air Cleaning Specialists, Inc.

11088 Gravois Industrial Ct. Saint Louis, MO.

Saint Louis, MO 63128

866 455-2132 Ext

SITE_FROM_EMAIL

https://cleanleaf.com/


[qq_from_repid] => 0076 [file_0] => CURLFile Object ( [name] => /tmp/tmp_quote_20250529142013_82931.pdf [mime] => [postname] => Quote.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] => 650
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.573832
    [namelookup_time] => 0.001881
    [connect_time] => 0.021241
    [pretransfer_time] => 0.058133
    [size_upload] => 352908
    [size_download] => 351749
    [speed_download] => 613872
    [speed_upload] => 615895
    [download_content_length] => -1
    [upload_content_length] => 352908
    [starttransfer_time] => 0.07962
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 40802
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 58044
    [connect_time_us] => 21241
    [namelookup_time_us] => 1881
    [pretransfer_time_us] => 58133
    [redirect_time_us] => 0
    [starttransfer_time_us] => 79620
    [total_time_us] => 573832
)
after pushing email and files into v2/timeline ...: 14.014944076538 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 14.207077980042 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 16.23509311676 secs since start
strJSON:
{"exportid":"85539","import_result":null,"import_error":"","fileurl":"GMImport_85539_1748546429_68993.acsopa","email_result":"error","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Pure n Natural Systems, Inc","goldmine_email":"purchasing@purennatural.com","goldmine_phone":"(800) 237-9199","mas_quote_number":"Q055993","mas_customer_number":"PUR6010"}
end: 16.255623102188 secs since start