Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Riverbend Edge 
                    [Contact_First] => Nate
                    [Contact_Last] => Eastman 
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 57078
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 155374
                    [mascustnum] => RIV570A
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 155374
                    [mas_cust_no] => RIV570A
                )

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

            [billing] => Array
                (
                    [Company] => Riverbend Edge 
                    [Contact_First] => Nate
                    [Contact_Last] => Eastman 
                    [Address1] => 30991 434th Ave. 
                    [Address2] => 
                    [Address3] => 
                    [City] => Yankton
                    [State] => SD
                    [Zip] => 57078
                    [Country] => USA
                    [Email] => Riverbendedge@gmail.com
                    [Phone] => (605) 660-2418
                )

            [shipping] => Array
                (
                    [ShipToName] => Riverbend Edge 
                    [Address1] => 30991 434th Ave. 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Yankton
                    [State] => SD
                    [Zip] => 57078
                    [Country] => USA
                    [Email] => Riverbendedge@gmail.com
                    [Phone] => (605) 660-2418
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0020
                    [ProductLine] => CL
                    [forecasting_likelihood] => high
                    [forecasting_expected_close_date] => 02/15/2024
                    [generate_quote] => true
                    [keep_sonum] => Q037358
                    [change_notes] => changes 
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [lead_time] => Depends on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => Riverbendedge@gmail.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/cl400_compressed.pdf
                            [2] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 155374
    [mas_cust_no] => RIV570A
    [mas_cust_exists] => true
    [exportid] => 65473
    [masquotenum] => Q037358
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0020
    [ProductLine] => CL
    [forecasting_likelihood] => high
    [forecasting_expected_close_date] => 02/15/2024
    [generate_quote] => true
    [keep_sonum] => Q037358
    [change_notes] => changes 
    [delivery_disclaimer] => true
    [tax_free] => true
    [lead_time] => Depends on stock and availability.
    [email_quote] => true
    [email_quote_to] => Riverbendedge@gmail.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf Quote 
    [email_quote_body] => 

Hello Nate,

Attached is the revised quote including (2) CL400 units. Please verify that the billing and shipping address are correct and give me a call with credit card info when you're ready. 

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/cl400_compressed.pdf [2] => quote_bundle_separator ) [act] => submit_quote [not_in_mas] => true )

Debug Data

start: 4.0531158447266E-6 secs since start
after getting new exportid ... 65473: 0.092535018920898 secs since start
Session ID: fqsgt8h2398tpsa1tv0bbeg0r1
just before engaging cartlink ...: 0.092602968215942 secs since start
after most cartlink items ...: 0.093240976333618 secs since start
after getting new so num ...: 0.093251943588257 secs since start
after remaining cartlink items ...: 0.093260049819946 secs since start
SO Number: Q037358
just prior to terms gathering ...: 0.093269109725952 secs since start
after getting customer terms ...: 0.17405891418457 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL400
            [name] => CleanLeaf Model CL400, 400 CFM Self-Contained Odor Mitigation & Filtration System

Fully Portable unit with Casters

Filter Stage 1: 99.97 Round HEPA

Filter Stage 2: 15 lbs. of Carbon/Zeolite [qty] => 2 [price] => 615.00 [cost] => 429.00 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q037358','CL400','CleanLeaf Model CL400, 400 CFM Self-Contained Odor Mitigation & Filtration System Fully Portable unit with Casters Filter Stage 1: 99.97 Round HEPA Filter Stage 2: 15 lbs. of Carbon/Zeolite','Y','429.00','2','2','615.00','1230.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.19791007041931 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/cl400_compressed.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1708009034_3353.pdf
after merging and generating email/quote PDFs ...: 3.7725529670715 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=65473"}}
    [to[0]] => Riverbendedge@gmail.com
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hello Nate,

Attached is the revised quote including (2) CL400 units. Please verify that the billing and shipping address are correct and give me a call with credit card info when you're ready. 

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 Nate,Attached is the revised quote including (2) CL400 units. Please verify that the billing and shipping address are correct and give me a call with credit card info when you're ready. 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_20240215085710_49697.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1708009034_3353.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240215085710_49697.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1708009034_3353.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.40182
    [namelookup_time] => 0.001819
    [connect_time] => 0.043487
    [pretransfer_time] => 0.138911
    [size_upload] => 390598
    [size_download] => 21
    [speed_download] => 52
    [speed_upload] => 974059
    [download_content_length] => 21
    [upload_content_length] => 390598
    [starttransfer_time] => 0.184768
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.59
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 45564
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 138798
    [connect_time_us] => 43487
    [namelookup_time_us] => 1819
    [pretransfer_time_us] => 138911
    [redirect_time_us] => 0
    [starttransfer_time_us] => 184768
    [total_time_us] => 401820
)
after sending email to customer ...: 6.1775670051575 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => dan@aircleaningspecialists.com
    [fromname] => Dan Schroeder
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hello Nate,

Attached is the revised quote including (2) CL400 units. Please verify that the billing and shipping address are correct and give me a call with credit card info when you're ready. 

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 Nate,Attached is the revised quote including (2) CL400 units. Please verify that the billing and shipping address are correct and give me a call with credit card info when you're ready. 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_20240215085710_49697.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1708009034_3353.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.406867
    [namelookup_time] => 0.002002
    [connect_time] => 0.043938
    [pretransfer_time] => 0.139728
    [size_upload] => 390203
    [size_download] => 21
    [speed_download] => 51
    [speed_upload] => 961091
    [download_content_length] => 21
    [upload_content_length] => 390203
    [starttransfer_time] => 0.185834
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.54
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 55354
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 139618
    [connect_time_us] => 43938
    [namelookup_time_us] => 2002
    [pretransfer_time_us] => 139728
    [redirect_time_us] => 0
    [starttransfer_time_us] => 185834
    [total_time_us] => 406867
)
after sending email to rep ...: 8.5867869853973 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gTmF0ZSw8L3A+PHA+QXR0YWNoZWQgaXMgdGhlIHJldmlzZWQgcXVvdGUgaW5jbHVkaW5nICgyKSBDTDQwMCB1bml0cy4gUGxlYXNlIHZlcmlmeSB0aGF0IHRoZSBiaWxsaW5nIGFuZCBzaGlwcGluZyBhZGRyZXNzIGFyZSBjb3JyZWN0IGFuZCBnaXZlIG1lIGEgY2FsbCB3aXRoIGNyZWRpdCBjYXJkIGluZm8gd2hlbiB5b3UncmUgcmVhZHkuJm5ic3A7PC9wPjxkaXY+PHA+U2luY2VyZWx5LDxicj48L3A+PHA+PGJyPkRhbiBTY2hyb2VkZXI8YnI+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+Q2xlYW5MZWFmPC9zcGFuPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPjExMDg4IEdyYXZvaXMgSW5kdXN0cmlhbCBDdC48L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+U2FpbnQgTG91aXMsIE1PIDYzMTI4PC9zcGFuPjxicj44NjYgOTk5LTkwMDggRXh0LiAxMTE8YnI+ODY2IDQyMi00MDk5IEZheDxicj5kYW5AYWlyY2xlYW5pbmdzcGVjaWFsaXN0cy5jb208YnI+PGEgaHJlZj0iaHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLyI+aHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLzwvYT48YSBocmVmPSJodHRwOi8vd3d3LmZ1bWVhdmVudC5jb20vIj48L2E+PC9wPjxwPjxicj48L3A+PC9kaXY+PGRpdj48YnI+PC9kaXY+PC9ib2R5PjwvaHRtbD4=
v2_mailid: 3101980
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Dan Schroeder 
    [recipient] => Riverbendedge@gmail.com
    [To] => Riverbendedge@gmail.com
    [Date] => 2024-02-15 08:57:19
    [subject] => Your CleanLeaf Quote 
    [mas-customer-no] => RIV570A
    [email-html] => 

Hello Nate,

Attached is the revised quote including (2) CL400 units. Please verify that the billing and shipping address are correct and give me a call with credit card info when you're ready. 

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_20240215085710_49697.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1708009034_3353.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] => 5.693663
    [namelookup_time] => 0.002137
    [connect_time] => 0.020355
    [pretransfer_time] => 0.052019
    [size_upload] => 390057
    [size_download] => 388955
    [speed_download] => 68321
    [speed_upload] => 68515
    [download_content_length] => -1
    [upload_content_length] => 390057
    [starttransfer_time] => 0.071508
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 59052
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 51945
    [connect_time_us] => 20355
    [namelookup_time_us] => 2137
    [pretransfer_time_us] => 52019
    [redirect_time_us] => 0
    [starttransfer_time_us] => 71508
    [total_time_us] => 5693663
)
after pushing email and files into v2/timeline ...: 16.282819986343 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 16.456047058105 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 18.479803085327 secs since start
strJSON:
{"exportid":"65473","import_result":null,"import_error":"","fileurl":"GMImport_65473_1708009049_26022.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Riverbend Edge ","goldmine_email":"Riverbendedge@gmail.com","goldmine_phone":"(605) 660-2418","mas_quote_number":"Q037358","mas_customer_number":"RIV570A"}
end: 18.507385015488 secs since start