Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => US Air Purifiers LLC
                    [Contact_First] => Barb
                    [Contact_Last] => Lulay
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 61615
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 138213
                    [mascustnum] => USA6161
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 138213
                    [mas_cust_no] => USA6161
                )

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

            [billing] => Array
                (
                    [Company] => US Air Purifiers LLC
                    [Contact_First] => Barb
                    [Contact_Last] => Lulay
                    [Address1] => 5221 Castleberry Dr.
                    [Address2] => 
                    [Address3] => 
                    [City] => Peoria
                    [State] => IL
                    [Zip] => 61615
                    [Country] => USA
                    [Email] => contactus@usairpurifiers.com
                    [Phone] => (888) 231-1463
                )

            [shipping] => Array
                (
                    [ShipToName] => TBD
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => 
                    [State] => 
                    [Zip] => 
                    [Country] => USA
                    [Email] => contactus@usairpurifiers.com
                    [Phone] => (888) 231-1463
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0020
                    [ProductLine] => CL
                    [forecasting_likelihood] => low
                    [forecasting_expected_close_date] => 01/22/2024
                    [application] => Odor
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [lead_time] => 1-2 Weeks, depending on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => contactus@usairpurifiers.com
                    [template_id] => 489
                    [email_quote_subject] => Your CleanLeaf Quote 
                    [files] => 
                    [email_product_literature] => true
                    [includedPDFs] => Array
                        (
                            [0] => {QUOTE}
                            [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-CCP Specs 11-13-22.pdf
                            [2] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 138213
    [mas_cust_no] => USA6161
    [mas_cust_exists] => true
    [exportid] => 64237
    [masquotenum] => Q044708
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0020
    [ProductLine] => CL
    [forecasting_likelihood] => low
    [forecasting_expected_close_date] => 01/22/2024
    [application] => Odor
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [tax_free] => true
    [lead_time] => 1-2 Weeks, depending on stock and availability.
    [email_quote] => true
    [email_quote_to] => contactus@usairpurifiers.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf Quote 
    [email_quote_body] => 

Hello Barb,

Attached is the quote and literature for (4) of our smaller CCP units. Please review and let me know if you have any questions or concerns. 

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/CL1250D-CCP Specs 11-13-22.pdf [2] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 4.0531158447266E-6 secs since start
after getting new exportid ... 64237: 0.088196992874146 secs since start
Session ID: ov8vqsld9foq0d0m59tt13l3ul
just before engaging cartlink ...: 0.088346004486084 secs since start
after most cartlink items ...: 0.089082002639771 secs since start
after getting new so num ...: 0.22932291030884 secs since start
after remaining cartlink items ...: 0.2293598651886 secs since start
SO Number: Q044708
just prior to terms gathering ...: 0.22937107086182 secs since start
after getting customer terms ...: 0.31432795524597 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL1250D-CCP
            [name] => CleanLeaf Model CL1250D-CCP, 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)
1x CLF-5502 (25x15x2 Pleated After-filter; changed annually)
8x CLF-C-100C (7 lb. Carbon Canister (56 lbs. total); changed annually)
8x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.) [qty] => 4 [price] => 2,209.00 [cost] => 1,380.73 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q044708','CL1250D-CCP','CleanLeaf Model CL1250D-CCP, 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) 1x CLF-5502 (25x15x2 Pleated After-filter; changed annually) 8x CLF-C-100C (7 lb. Carbon Canister (56 lbs. total); changed annually) 8x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.)','Y','1380.73','4','4','2209.00','8836.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.33481407165527 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-CCP Specs 11-13-22.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1705937585_7102.pdf
after merging and generating email/quote PDFs ...: 4.1113500595093 secs since start
email fields:
Array
(
    [from] => dan@aircleaningspecialists.com
    [fromname] => Dan Schroeder
    [headers] => {"Return-Receipt-To": ""Dan Schroeder" ", "Disposition-Notification-To": ""Dan Schroeder" "}
    [x-smtpapi] => {"unique_args":{"orderNumber":"exportid=64237"}}
    [to[0]] => contactus@usairpurifiers.com
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hello Barb,

Attached is the quote and literature for (4) of our smaller CCP units. Please review and let me know if you have any questions or concerns. 

Sincerely,


Dan Schroeder

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



[text] => Hello Barb,Attached is the quote and literature for (4) of our smaller CCP units. Please review and let me know if you have any questions or concerns. Sincerely,Dan SchroederCleanLeaf11088 Gravois Industrial Ct.Saint Louis, MO 63128866 999-9008 Ext. 111866 422-4099 Faxdan@aircleaningspecialists.comhttp://www.cleanleaf.com/ [files[Quote.pdf]] => @/tmp/tmp_quote_20240122093302_58545.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1705937585_7102.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240122093302_58545.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1705937585_7102.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] => 305
    [request_size] => 299
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.417769
    [namelookup_time] => 0.001813
    [connect_time] => 0.040944
    [pretransfer_time] => 0.130629
    [size_upload] => 584749
    [size_download] => 21
    [speed_download] => 50
    [speed_upload] => 1402275
    [download_content_length] => 21
    [upload_content_length] => 584749
    [starttransfer_time] => 0.172982
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.54
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 34222
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 130531
    [connect_time_us] => 40944
    [namelookup_time_us] => 1813
    [pretransfer_time_us] => 130629
    [redirect_time_us] => 0
    [starttransfer_time_us] => 172982
    [total_time_us] => 417769
)
after sending email to customer ...: 6.5324280261993 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => dan@aircleaningspecialists.com
    [fromname] => Dan Schroeder
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hello Barb,

Attached is the quote and literature for (4) of our smaller CCP units. Please review and let me know if you have any questions or concerns. 

Sincerely,


Dan Schroeder

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



[text] => Hello Barb,Attached is the quote and literature for (4) of our smaller CCP units. Please review and let me know if you have any questions or concerns. Sincerely,Dan SchroederCleanLeaf11088 Gravois Industrial Ct.Saint Louis, MO 63128866 999-9008 Ext. 111866 422-4099 Faxdan@aircleaningspecialists.comhttp://www.cleanleaf.com/ [files[Quote.pdf]] => CURLFile Object ( [name] => /tmp/tmp_quote_20240122093302_58545.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1705937585_7102.pdf [mime] => [postname] => Product_Literature.pdf ) [to[0]] => dan@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] => 305
    [request_size] => 299
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.677614
    [namelookup_time] => 0.001947
    [connect_time] => 0.061887
    [pretransfer_time] => 0.191309
    [size_upload] => 584349
    [size_download] => 21
    [speed_download] => 31
    [speed_upload] => 863144
    [download_content_length] => 21
    [upload_content_length] => 584349
    [starttransfer_time] => 0.25657
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 43972
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 191206
    [connect_time_us] => 61887
    [namelookup_time_us] => 1947
    [pretransfer_time_us] => 191309
    [redirect_time_us] => 0
    [starttransfer_time_us] => 256570
    [total_time_us] => 677614
)
after sending email to rep ...: 9.2121939659119 secs since start
after inserting/updating customer in v2 ...: 9.293338060379 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gQmFyYiw8L3A+PHA+QXR0YWNoZWQgaXMgdGhlIHF1b3RlIGFuZCBsaXRlcmF0dXJlIGZvciAoNCkgb2Ygb3VyIHNtYWxsZXIgQ0NQIHVuaXRzLiBQbGVhc2UgcmV2aWV3IGFuZCBsZXQgbWUga25vdyBpZiB5b3UgaGF2ZSBhbnkgcXVlc3Rpb25zIG9yIGNvbmNlcm5zLiZuYnNwOzwvcD48ZGl2PjxwPlNpbmNlcmVseSw8YnI+PC9wPjxwPjxicj5EYW4gU2Nocm9lZGVyPGJyPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPkNsZWFuTGVhZjwvc3Bhbj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij4xMTA4OCBHcmF2b2lzIEluZHVzdHJpYWwgQ3QuPC9zcGFuPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPlNhaW50IExvdWlzLCBNTyA2MzEyODwvc3Bhbj48YnI+ODY2IDk5OS05MDA4IEV4dC4gMTExPGJyPjg2NiA0MjItNDA5OSBGYXg8YnI+ZGFuQGFpcmNsZWFuaW5nc3BlY2lhbGlzdHMuY29tPGJyPjxhIGhyZWY9Imh0dHA6Ly93d3cuY2xlYW5sZWFmLmNvbS8iPmh0dHA6Ly93d3cuY2xlYW5sZWFmLmNvbS88L2E+PGEgaHJlZj0iaHR0cDovL3d3dy5mdW1lYXZlbnQuY29tLyI+PC9hPjwvcD48cD48YnI+PC9wPjwvZGl2PjxkaXY+PGJyPjwvZGl2PjwvYm9keT48L2h0bWw+
v2_mailid: 3050253
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Dan Schroeder 
    [recipient] => contactus@usairpurifiers.com
    [To] => contactus@usairpurifiers.com
    [Date] => 2024-01-22 09:33:10
    [subject] => Your CleanLeaf Quote 
    [mas-customer-no] => USA6161
    [email-html] => 

Hello Barb,

Attached is the quote and literature for (4) of our smaller CCP units. Please review and let me know if you have any questions or concerns. 

Sincerely,


Dan Schroeder

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



[qq_from_repid] => 0020 [file_0] => CURLFile Object ( [name] => /tmp/tmp_quote_20240122093302_58545.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1705937585_7102.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] => 404
    [request_size] => 226
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 12.708751
    [namelookup_time] => 0.002266
    [connect_time] => 0.020328
    [pretransfer_time] => 0.053234
    [size_upload] => 584254
    [size_download] => 583142
    [speed_download] => 45887
    [speed_upload] => 45975
    [download_content_length] => -1
    [upload_content_length] => 584254
    [starttransfer_time] => 0.073506
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 58324
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 53152
    [connect_time_us] => 20328
    [namelookup_time_us] => 2266
    [pretransfer_time_us] => 53234
    [redirect_time_us] => 0
    [starttransfer_time_us] => 73506
    [total_time_us] => 12708751
)
after pushing email and files into v2/timeline ...: 24.005168914795 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 24.142946958542 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 26.167638063431 secs since start
strJSON:
{"exportid":"64237","import_result":null,"import_error":"","fileurl":"GMImport_64237_1705937607_98911.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"US Air Purifiers LLC","goldmine_email":"contactus@usairpurifiers.com","goldmine_phone":"(888) 231-1463","mas_quote_number":"Q044708","mas_customer_number":"USA6161"}
end: 26.190633058548 secs since start