Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => 
                    [Contact_First] => Brad
                    [Contact_Last] => Gregory
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 63105
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 163913
                    [mascustnum] => GRE6302
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 163913
                    [mas_cust_no] => GRE6302
                )

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

            [billing] => Array
                (
                    [Company] => 
                    [Contact_First] => Brad
                    [Contact_Last] => Gregory
                    [Address1] => 7225 Forsyth Blvd.
                    [Address2] => 
                    [Address3] => 
                    [City] => Clayton
                    [State] => MO
                    [Zip] => 63105
                    [Country] => USA
                    [Email] => bgregory17@gmail.com
                    [Phone] => (314) 285-3305
                )

            [shipping] => Array
                (
                    [ShipToName] => Brad Gregory
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => 
                    [State] => 
                    [Zip] => 
                    [Country] => USA
                    [Email] => bgregory17@gmail.com
                    [Phone] => (314) 285-3305
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0020
                    [ProductLine] => CL
                    [forecasting_likelihood] => medium
                    [forecasting_expected_close_date] => 03/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] => bgregory17@gmail.com
                    [template_id] => 489
                    [email_quote_subject] => Your CleanLeaf Quote 
                    [files] => 
                    [email_product_literature] => true
                    [includedPDFs] => Array
                        (
                            [0] => {QUOTE}
                            [1] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 163913
    [mas_cust_no] => GRE6302
    [mas_cust_exists] => true
    [exportid] => 67315
    [masquotenum] => Q046260
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0020
    [ProductLine] => CL
    [forecasting_likelihood] => medium
    [forecasting_expected_close_date] => 03/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] => bgregory17@gmail.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf Quote 
    [email_quote_body] => 

Hi Brad,

Attached is the quote for the stamp service. Please review and let me know if I can help get this completed for you.

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

Debug Data

start: 1.9073486328125E-6 secs since start
after getting new exportid ... 67315: 0.085908889770508 secs since start
Session ID: lsgegf4hfhqk5hjso4voenklfl
just before engaging cartlink ...: 0.086005926132202 secs since start
after most cartlink items ...: 0.086784839630127 secs since start
after getting new so num ...: 0.23125791549683 secs since start
after remaining cartlink items ...: 0.23130393028259 secs since start
SO Number: Q046260
just prior to terms gathering ...: 0.23132085800171 secs since start
after getting customer terms ...: 0.31627583503723 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => MISC PART CLEAN
            [name] => Engineers Stamp for odor mitigation plan
            [qty] => 1
            [price] => 1,000.00
            [cost] => 0.00
            [pdfFileURL] => 
        )

)

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q046260','MISC PART CLEAN','Engineers Stamp for odor mitigation plan','Y','0.00','1','1','1000.00','1000.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.33994197845459 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_1711135772_8298.pdf
after merging and generating email/quote PDFs ...: 3.8532259464264 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=67315"}}
    [to[0]] => bgregory17@gmail.com
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hi Brad,

Attached is the quote for the stamp service. Please review and let me know if I can help get this completed for you.

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] => Hi Brad,Attached is the quote for the stamp service. Please review and let me know if I can help get this completed for you.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_20240322142929_77073.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240322142929_77073.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] => 298
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.527802
    [namelookup_time] => 0.001635
    [connect_time] => 0.07421
    [pretransfer_time] => 0.23463
    [size_upload] => 54019
    [size_download] => 21
    [speed_download] => 39
    [speed_upload] => 102502
    [download_content_length] => 21
    [upload_content_length] => 54019
    [starttransfer_time] => 0.310209
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 48604
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 234499
    [connect_time_us] => 74210
    [namelookup_time_us] => 1635
    [pretransfer_time_us] => 234630
    [redirect_time_us] => 0
    [starttransfer_time_us] => 310209
    [total_time_us] => 527802
)
after sending email to customer ...: 6.3838369846344 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => dan@aircleaningspecialists.com
    [fromname] => Dan Schroeder
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hi Brad,

Attached is the quote for the stamp service. Please review and let me know if I can help get this completed for you.

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] => Hi Brad,Attached is the quote for the stamp service. Please review and let me know if I can help get this completed for you.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_20240322142929_77073.pdf [mime] => [postname] => Quote.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] => 298
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.502441
    [namelookup_time] => 0.002007
    [connect_time] => 0.069751
    [pretransfer_time] => 0.216204
    [size_upload] => 53627
    [size_download] => 21
    [speed_download] => 41
    [speed_upload] => 106826
    [download_content_length] => 21
    [upload_content_length] => 53627
    [starttransfer_time] => 0.297778
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 34994
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 216066
    [connect_time_us] => 69751
    [namelookup_time_us] => 2007
    [pretransfer_time_us] => 216204
    [redirect_time_us] => 0
    [starttransfer_time_us] => 297778
    [total_time_us] => 502441
)
after sending email to rep ...: 8.888524055481 secs since start
after inserting/updating customer in v2 ...: 8.9773609638214 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGkgQnJhZCw8L3A+PHA+QXR0YWNoZWQgaXMgdGhlIHF1b3RlIGZvciB0aGUgc3RhbXAgc2VydmljZS4gUGxlYXNlIHJldmlldyBhbmQgbGV0IG1lIGtub3cgaWYgSSBjYW4gaGVscCBnZXQgdGhpcyBjb21wbGV0ZWQgZm9yIHlvdS48L3A+PGRpdj48cD5TaW5jZXJlbHksPGJyPjwvcD48cD48YnI+RGFuIFNjaHJvZWRlcjxicj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij5DbGVhbkxlYWY8L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+MTEwODggR3Jhdm9pcyBJbmR1c3RyaWFsIEN0Ljwvc3Bhbj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij5TYWludCBMb3VpcywgTU8gNjMxMjg8L3NwYW4+PGJyPjg2NiA5OTktOTAwOCBFeHQuIDExMTxicj44NjYgNDIyLTQwOTkgRmF4PGJyPmRhbkBhaXJjbGVhbmluZ3NwZWNpYWxpc3RzLmNvbTxicj48YSBocmVmPSJodHRwOi8vd3d3LmNsZWFubGVhZi5jb20vIj5odHRwOi8vd3d3LmNsZWFubGVhZi5jb20vPC9hPjxhIGhyZWY9Imh0dHA6Ly93d3cuZnVtZWF2ZW50LmNvbS8iPjwvYT48L3A+PHA+PGJyPjwvcD48L2Rpdj48ZGl2Pjxicj48L2Rpdj48L2JvZHk+PC9odG1sPg==
v2_mailid: 3179693
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Dan Schroeder 
    [recipient] => bgregory17@gmail.com
    [To] => bgregory17@gmail.com
    [Date] => 2024-03-22 14:29:37
    [subject] => Your CleanLeaf Quote 
    [mas-customer-no] => GRE6302
    [email-html] => 

Hi Brad,

Attached is the quote for the stamp service. Please review and let me know if I can help get this completed for you.

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_20240322142929_77073.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] => 404
    [request_size] => 225
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.200125
    [namelookup_time] => 0.001701
    [connect_time] => 0.019834
    [pretransfer_time] => 0.053648
    [size_upload] => 53571
    [size_download] => 52560
    [speed_download] => 262800
    [speed_upload] => 267855
    [download_content_length] => -1
    [upload_content_length] => 53571
    [starttransfer_time] => 0.073344
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 32992
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 53577
    [connect_time_us] => 19834
    [namelookup_time_us] => 1701
    [pretransfer_time_us] => 53648
    [redirect_time_us] => 0
    [starttransfer_time_us] => 73344
    [total_time_us] => 200125
)
after pushing email and files into v2/timeline ...: 11.179947853088 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 11.315665960312 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 13.341073036194 secs since start
strJSON:
{"exportid":"67315","import_result":null,"import_error":"","fileurl":"GMImport_67315_1711135782_81986.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"","goldmine_email":"bgregory17@gmail.com","goldmine_phone":"(314) 285-3305","mas_quote_number":"Q046260","mas_customer_number":"GRE6302"}
end: 13.362421989441 secs since start