Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => J and J Enterprise
                    [Contact_First] => John
                    [Contact_Last] => Nocar
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 26845
                    [Email] => john67end@yahoo.com
                    [Phone] => 3048512055
                    [place_id] => 
                    [customerid] => 164664
                    [mascustnum] => JJE2684
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 164664
                    [mas_cust_no] => JJE2684
                )

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

            [billing] => Array
                (
                    [Company] => J and J Enterprise
                    [Contact_First] => John
                    [Contact_Last] => Nocar
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [City] => Old Fields
                    [State] => WV
                    [Zip] => 26845
                    [Country] => USA
                    [Email] => john67end@yahoo.com
                    [Phone] => (304) 851-2055
                )

            [shipping] => Array
                (
                    [ShipToName] => J and J Enterprise
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Old Fields
                    [State] => WV
                    [Zip] => 26845
                    [Country] => USA
                    [Email] => john67end@yahoo.com
                    [Phone] => (304) 851-2055
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0064
                    [ProductLine] => CL
                    [forecasting_likelihood] => medium
                    [forecasting_expected_close_date] => 02/26/2024
                    [customer_tags] => Array
                        (
                            [0] => 264
                            [1] => 17
                            [2] => 7
                        )

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

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 164664
    [mas_cust_no] => JJE2684
    [mas_cust_exists] => true
    [exportid] => 65978
    [masquotenum] => Q045602
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0064
    [ProductLine] => CL
    [forecasting_likelihood] => medium
    [forecasting_expected_close_date] => 02/26/2024
    [customer_tags] => Array
        (
            [0] => 264
            [1] => 17
            [2] => 7
        )

    [application] => 
    [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] => john67end@yahoo.com
    [template_id] => 489
    [email_quote_subject] => Your Air Filtration Quote
    [email_quote_body] => 

Hello <<&dear>>,

Thank you for your interest in our air cleaning solutions! 

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

Debug Data

start: 3.0994415283203E-6 secs since start
after getting new exportid ... 65978: 0.085798025131226 secs since start
Session ID: s63ibfk3m6lio1juol8id6jjhm
just before engaging cartlink ...: 0.08590292930603 secs since start
after most cartlink items ...: 0.086640119552612 secs since start
after getting new so num ...: 0.2287290096283 secs since start
after remaining cartlink items ...: 0.2287609577179 secs since start
SO Number: Q045602
just prior to terms gathering ...: 0.22879505157471 secs since start
after getting customer terms ...: 0.30949306488037 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => 
            [name] => 10 X 10 X 7 = 700 Cubic Feet 
700 X 12 (Air Changes Per Hour) = 8400 Total Cubic Feet Of Air In Need Of Filtration Per Hour
8400/ 60 = 140 CFM Needed
1 Unit Needed [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [1] => Array ( [sku] => ED400 [name] => 400 CFM Portable 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] => ) [2] => Array ( [sku] => [name] => FIRST FILTERS PROVIDED WITH UNIT. COST BELOW IS FOR REPLACEMENT [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [3] => Array ( [sku] => CL400-HCR [name] => CleanLeaf HEPA/Carbon/Zeolite

Complete Filter Replacement

Color:White

Average Life: 2 - 4 Years

*** USE P/N: ED400-HCR *** [qty] => 0 [price] => 289.99 [cost] => 174.00 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q045602','ED400','400 CFM Portable 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')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q045602','CL400-HCR','CleanLeaf HEPA/Carbon/Zeolite Complete Filter Replacement Color:White Average Life: 2 - 4 Years *** USE P/N: ED400-HCR ***','Y','174.00','0','0','289.99','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.3324990272522 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/ed400_compressed.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1708959996_1900.pdf
after merging and generating email/quote PDFs ...: 4.1375250816345 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=65978"}}
    [to[0]] => john67end@yahoo.com
    [subject] => Your Air Filtration Quote
    [html] => 

Hello John,

Thank you for your interest in our air cleaning solutions! 

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 John,Thank you for your interest in our air cleaning solutions! 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_20240226090633_24438.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1708959996_1900.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240226090633_24438.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1708959996_1900.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.377815
    [namelookup_time] => 0.00157
    [connect_time] => 0.04112
    [pretransfer_time] => 0.131815
    [size_upload] => 248460
    [size_download] => 21
    [speed_download] => 55
    [speed_upload] => 659045
    [download_content_length] => 21
    [upload_content_length] => 248460
    [starttransfer_time] => 0.174683
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.54
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 56800
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 131675
    [connect_time_us] => 41120
    [namelookup_time_us] => 1570
    [pretransfer_time_us] => 131815
    [redirect_time_us] => 0
    [starttransfer_time_us] => 174683
    [total_time_us] => 377815
)
after sending email to customer ...: 6.5181090831757 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => keving@aircleaningspecialists.com
    [fromname] => Kevin Gallagher
    [subject] => Your Air Filtration Quote
    [html] => 

Hello John,

Thank you for your interest in our air cleaning solutions! 

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 John,Thank you for your interest in our air cleaning solutions! 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_20240226090633_24438.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1708959996_1900.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.46943
    [namelookup_time] => 0.001921
    [connect_time] => 0.052229
    [pretransfer_time] => 0.163434
    [size_upload] => 248062
    [size_download] => 21
    [speed_download] => 44
    [speed_upload] => 528916
    [download_content_length] => 21
    [upload_content_length] => 248062
    [starttransfer_time] => 0.216258
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 49690
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 163342
    [connect_time_us] => 52229
    [namelookup_time_us] => 1921
    [pretransfer_time_us] => 163434
    [redirect_time_us] => 0
    [starttransfer_time_us] => 216258
    [total_time_us] => 469430
)
after sending email to rep ...: 8.9897720813751 secs since start
after inserting/updating customer in v2 ...: 9.0700600147247 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gSm9obiw8L3A+PGRpdj48cD5UaGFuayB5b3UgZm9yIHlvdXIgaW50ZXJlc3QgaW4gb3VyIGFpciBjbGVhbmluZyBzb2x1dGlvbnMhJm5ic3A7PC9wPjxwPkF0dGFjaGVkIGlzIHlvdXIgcXVvdGUgYW5kIHByb2R1Y3QgbGl0ZXJhdHVyZS48L3A+PHA+SWYgeW91IGhhdmUgYW55IHF1ZXN0aW9ucywgZG9uJ3QgaGVzaXRhdGUgdG8gY29udGFjdCBtZS4mbmJzcDs8L3A+PHA+U2luY2VyZWx5LDxicj48L3A+PHA+PGJyPktldmluIEdhbGxhZ2hlcjxicj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij5DbGVhbkxlYWY8L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+MTEwODggR3Jhdm9pcyBJbmR1c3RyaWFsIEN0Ljwvc3Bhbj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij5TYWludCBMb3VpcywgTU8gNjMxMjg8L3NwYW4+PGJyPjg2NiA5OTktOTAwOCBFeHQuIDExNzxicj44NjYgNDIyLTQwOTkgRmF4PGJyPmtldmluZ0BhaXJjbGVhbmluZ3NwZWNpYWxpc3RzLmNvbTxicj48YSBocmVmPSJodHRwOi8vd3d3LmNsZWFubGVhZi5jb20vIj5odHRwOi8vd3d3LmNsZWFubGVhZi5jb20vPC9hPjxhIGhyZWY9Imh0dHA6Ly93d3cuZnVtZWF2ZW50LmNvbS8iPjwvYT48L3A+PHA+PGJyPjwvcD48L2Rpdj48ZGl2Pjxicj48L2Rpdj48L2JvZHk+PC9odG1sPg==
v2_mailid: 3122564
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Kevin Gallagher 
    [recipient] => john67end@yahoo.com
    [To] => john67end@yahoo.com
    [Date] => 2024-02-26 09:06:41
    [subject] => Your Air Filtration Quote
    [mas-customer-no] => JJE2684
    [email-html] => 

Hello John,

Thank you for your interest in our air cleaning solutions! 

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_20240226090633_24438.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1708959996_1900.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] => 6.661329
    [namelookup_time] => 0.001522
    [connect_time] => 0.019384
    [pretransfer_time] => 0.053307
    [size_upload] => 247914
    [size_download] => 246802
    [speed_download] => 37051
    [speed_upload] => 37218
    [download_content_length] => -1
    [upload_content_length] => 247914
    [starttransfer_time] => 0.07223
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 57518
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 53235
    [connect_time_us] => 19384
    [namelookup_time_us] => 1522
    [pretransfer_time_us] => 53307
    [redirect_time_us] => 0
    [starttransfer_time_us] => 72230
    [total_time_us] => 6661329
)
after pushing email and files into v2/timeline ...: 17.733633041382 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 17.890244960785 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 19.914535045624 secs since start
strJSON:
{"exportid":"65978","import_result":null,"import_error":"","fileurl":"GMImport_65978_1708960012_99812.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"J and J Enterprise","goldmine_email":"john67end@yahoo.com","goldmine_phone":"(304) 851-2055","mas_quote_number":"Q045602","mas_customer_number":"JJE2684"}
end: 19.936471939087 secs since start