Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => heirloom organics and hydropon
                    [Contact_First] => cory
                    [Contact_Last] => ferraez
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 39401
                    [Email] => grow@heirloomMS.com
                    [Phone] => 6013075161
                    [place_id] => 
                    [customerid] => 163745
                    [mascustnum] => HEI3940
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 163745
                    [mas_cust_no] => HEI3940
                )

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

            [billing] => Array
                (
                    [Company] => heirloom organics and hydropon
                    [Contact_First] => cory
                    [Contact_Last] => ferraez
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [City] => Hattiesburg
                    [State] => MS
                    [Zip] => 39401
                    [Country] => USA
                    [Email] => grow@heirloomMS.com
                    [Phone] => (601) 307-5161
                )

            [shipping] => Array
                (
                    [ShipToName] => heirloom organics and hydropon
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Hattiesburg
                    [State] => MS
                    [Zip] => 39401
                    [Country] => USA
                    [Email] => grow@heirloomMS.com
                    [Phone] => (601) 307-5161
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0064
                    [ProductLine] => CL
                    [forecasting_likelihood] => low
                    [forecasting_expected_close_date] => 01/18/2024
                    [customer_tags] => Array
                        (
                            [0] => 17
                            [1] => 7
                        )

                    [application] => Contaminants
                    [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] => grow@heirloomMS.com
                    [template_id] => 489
                    [email_quote_subject] => Your CleanLeaf Air Filtration Quote
                    [files] => 
                    [email_product_literature] => true
                    [includedPDFs] => Array
                        (
                            [0] => {QUOTE}
                            [1] => /mnt/product_media/cleanleaf/pdf/ed400_compressed.pdf
                            [2] => /mnt/product_media/cleanleaf/pdf/ed400-ownersmanual_compressed.pdf
                            [3] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 163745
    [mas_cust_no] => HEI3940
    [mas_cust_exists] => true
    [exportid] => 64137
    [masquotenum] => Q044653
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0064
    [ProductLine] => CL
    [forecasting_likelihood] => low
    [forecasting_expected_close_date] => 01/18/2024
    [customer_tags] => Array
        (
            [0] => 17
            [1] => 7
        )

    [application] => Contaminants
    [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] => grow@heirloomMS.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf Air Filtration Quote
    [email_quote_body] => 

Hello <<&dear>>,

Attached is your quote and product literature.

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/ed400_compressed.pdf [2] => /mnt/product_media/cleanleaf/pdf/ed400-ownersmanual_compressed.pdf [3] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 1.9073486328125E-6 secs since start
after getting new exportid ... 64137: 0.087829828262329 secs since start
Session ID: k4ft55b6qnirqga1flgmjbadev
just before engaging cartlink ...: 0.087897777557373 secs since start
after most cartlink items ...: 0.088550806045532 secs since start
after getting new so num ...: 0.23025298118591 secs since start
after remaining cartlink items ...: 0.23029398918152 secs since start
SO Number: Q044653
just prior to terms gathering ...: 0.23031091690063 secs since start
after getting customer terms ...: 0.3120539188385 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => ED400
            [name] => 400 CFM Portable Classroom HEPA Air Purifier
Dimensions: 14.5" x 14.5" x 23"
Weight: 45 lbs.
Color: Sandstone
Noise Level: 50dB (Low), 66dB (High)

Filter Assembly:
4 Stage Filtration
- Large particle pre-filter
- Medium particle pre-filter
- Carbon/zeolite odor absorbing filter
- 60 sq. ft. of true, medical grade HEPA filter media [qty] => 1 [price] => 750.00 [cost] => 429.00 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q044653','ED400','400 CFM Portable Classroom HEPA Air Purifier Dimensions: 14.5" x 14.5" x 23" Weight: 45 lbs. Color: Sandstone Noise Level: 50dB (Low), 66dB (High) Filter Assembly: 4 Stage Filtration - Large particle pre-filter - Medium particle pre-filter - Carbon/zeolite odor absorbing filter - 60 sq. ft. of true, medical grade HEPA filter media','Y','429.00','1','1','750.00','750.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.33627080917358 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/ed400_compressed.pdf
    [2] => /mnt/product_media/cleanleaf/pdf/ed400-ownersmanual_compressed.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1705597412_4155.pdf
after merging and generating email/quote PDFs ...: 4.5073058605194 secs since start
email fields:
Array
(
    [from] => keving@aircleaningspecialists.com
    [fromname] => Kevin Gallagher
    [headers] => {"Return-Receipt-To": ""Kevin Gallagher" ", "Disposition-Notification-To": ""Kevin Gallagher" "}
    [x-smtpapi] => {"unique_args":{"orderNumber":"exportid=64137"}}
    [to[0]] => grow@heirloomMS.com
    [subject] => Your CleanLeaf Air Filtration Quote
    [html] => 

Hello cory,

Attached is your quote and product literature.

If you have any questions, don't hesitate to contact me. 

Sincerely,


Kevin Gallagher

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



[text] => Hello cory,Attached is your quote and product literature.If you have any questions, don't hesitate to contact me. Sincerely,Kevin GallagherCleanLeaf11088 Gravois Industrial Ct.Saint Louis, MO 63128866 999-9008 Ext. 117866 422-4099 Faxkeving@aircleaningspecialists.comhttp://www.cleanleaf.com/ [files[Quote.pdf]] => @/tmp/tmp_quote_20240118110328_26407.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1705597412_4155.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240118110328_26407.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1705597412_4155.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.410155
    [namelookup_time] => 0.001687
    [connect_time] => 0.038962
    [pretransfer_time] => 0.125281
    [size_upload] => 638250
    [size_download] => 21
    [speed_download] => 51
    [speed_upload] => 1556707
    [download_content_length] => 21
    [upload_content_length] => 638250
    [starttransfer_time] => 0.170403
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.114
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 47130
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 125137
    [connect_time_us] => 38962
    [namelookup_time_us] => 1687
    [pretransfer_time_us] => 125281
    [redirect_time_us] => 0
    [starttransfer_time_us] => 170403
    [total_time_us] => 410155
)
after sending email to customer ...: 6.9207448959351 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => keving@aircleaningspecialists.com
    [fromname] => Kevin Gallagher
    [subject] => Your CleanLeaf Air Filtration Quote
    [html] => 

Hello cory,

Attached is your quote and product literature.

If you have any questions, don't hesitate to contact me. 

Sincerely,


Kevin Gallagher

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



[text] => Hello cory,Attached is your quote and product literature.If you have any questions, don't hesitate to contact me. Sincerely,Kevin GallagherCleanLeaf11088 Gravois Industrial Ct.Saint Louis, MO 63128866 999-9008 Ext. 117866 422-4099 Faxkeving@aircleaningspecialists.comhttp://www.cleanleaf.com/ [files[Quote.pdf]] => CURLFile Object ( [name] => /tmp/tmp_quote_20240118110328_26407.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1705597412_4155.pdf [mime] => [postname] => Product_Literature.pdf ) [to[0]] => keving@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.437077
    [namelookup_time] => 0.002171
    [connect_time] => 0.042508
    [pretransfer_time] => 0.137031
    [size_upload] => 637852
    [size_download] => 21
    [speed_download] => 48
    [speed_upload] => 1459615
    [download_content_length] => 21
    [upload_content_length] => 637852
    [starttransfer_time] => 0.182486
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.114
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 47144
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 136878
    [connect_time_us] => 42508
    [namelookup_time_us] => 2171
    [pretransfer_time_us] => 137031
    [redirect_time_us] => 0
    [starttransfer_time_us] => 182486
    [total_time_us] => 437077
)
after sending email to rep ...: 9.3600249290466 secs since start
after inserting/updating customer in v2 ...: 9.4415709972382 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gY29yeSw8L3A+PGRpdj48cD5BdHRhY2hlZCBpcyB5b3VyIHF1b3RlIGFuZCBwcm9kdWN0IGxpdGVyYXR1cmUuPC9wPjxwPklmIHlvdSBoYXZlIGFueSBxdWVzdGlvbnMsIGRvbid0IGhlc2l0YXRlIHRvIGNvbnRhY3QgbWUuJm5ic3A7PC9wPjxwPlNpbmNlcmVseSw8YnI+PC9wPjxwPjxicj5LZXZpbiBHYWxsYWdoZXI8YnI+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+Q2xlYW5MZWFmPC9zcGFuPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPjExMDg4IEdyYXZvaXMgSW5kdXN0cmlhbCBDdC48L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+U2FpbnQgTG91aXMsIE1PIDYzMTI4PC9zcGFuPjxicj44NjYgOTk5LTkwMDggRXh0LiAxMTc8YnI+ODY2IDQyMi00MDk5IEZheDxicj5rZXZpbmdAYWlyY2xlYW5pbmdzcGVjaWFsaXN0cy5jb208YnI+PGEgaHJlZj0iaHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLyI+aHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLzwvYT48YSBocmVmPSJodHRwOi8vd3d3LmZ1bWVhdmVudC5jb20vIj48L2E+PC9wPjxwPjxicj48L3A+PC9kaXY+PGRpdj48YnI+PC9kaXY+PC9ib2R5PjwvaHRtbD4=
v2_mailid: 3044327
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Kevin Gallagher 
    [recipient] => grow@heirloomMS.com
    [To] => grow@heirloomMS.com
    [Date] => 2024-01-18 11:03:37
    [subject] => Your CleanLeaf Air Filtration Quote
    [mas-customer-no] => HEI3940
    [email-html] => 

Hello cory,

Attached is your quote and product literature.

If you have any questions, don't hesitate to contact me. 

Sincerely,


Kevin Gallagher

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



[qq_from_repid] => 0064 [file_0] => CURLFile Object ( [name] => /tmp/tmp_quote_20240118110328_26407.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1705597412_4155.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] => 13.206345
    [namelookup_time] => 0.001718
    [connect_time] => 0.019902
    [pretransfer_time] => 0.055157
    [size_upload] => 637768
    [size_download] => 636653
    [speed_download] => 48209
    [speed_upload] => 48293
    [download_content_length] => -1
    [upload_content_length] => 637768
    [starttransfer_time] => 0.074566
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 52070
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 55081
    [connect_time_us] => 19902
    [namelookup_time_us] => 1718
    [pretransfer_time_us] => 55157
    [redirect_time_us] => 0
    [starttransfer_time_us] => 74566
    [total_time_us] => 13206345
)
after pushing email and files into v2/timeline ...: 24.650631904602 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 24.788657903671 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 26.813935995102 secs since start
strJSON:
{"exportid":"64137","import_result":null,"import_error":"","fileurl":"GMImport_64137_1705597434_65303.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"heirloom organics and hydropon","goldmine_email":"grow@heirloomMS.com","goldmine_phone":"(601) 307-5161","mas_quote_number":"Q044653","mas_customer_number":"HEI3940"}
end: 26.837272882462 secs since start