Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Eastern Fence
                    [Contact_First] => Zach
                    [Contact_Last] => Reid
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 29708
                    [Email] => zachr@easternfence.com
                    [Phone] => 6319224624
                    [place_id] => 
                    [customerid] => 163592
                    [mascustnum] => EAS2814
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 163592
                    [mas_cust_no] => EAS2814
                )

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

            [billing] => Array
                (
                    [Company] => Eastern Fence
                    [Contact_First] => Zach
                    [Contact_Last] => Reid
                    [Address1] => 2764 Pleasant Rd St
                    [Address2] => Suite A PMB 11508
                    [Address3] => 
                    [City] => Fort Mill
                    [State] => SC
                    [Zip] => 29708
                    [Country] => USA
                    [Email] => zachr@easternfence.com
                    [Phone] => (631) 922-4624
                )

            [shipping] => Array
                (
                    [ShipToName] => Eastern Fence
                    [Address1] => 2764 Pleasant Rd St
                    [Address2] => Suite A PMB 11508
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Fort Mill
                    [State] => SC
                    [Zip] => 29708
                    [Country] => USA
                    [Email] => zachr@easternfence.com
                    [Phone] => (631) 922-4624
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0028
                    [ProductLine] => FX
                    [forecasting_likelihood] => high
                    [forecasting_expected_close_date] => 05/10/2024
                    [application] => Welding
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [lead_time] => Varies greatly based on product and stock availability.
                    [email_quote] => true
                    [email_quote_to] => zachr@easternfence.com
                    [template_id] => 446
                    [email_quote_subject] => Your FumeXtractors Quote - Replacement Part
                    [files] => 
                    [email_product_literature] => true
                    [includedPDFs] => Array
                        (
                            [0] => {QUOTE}
                            [1] => quote_bundle_separator
                            [2] => /mnt/product_media/fumextractors/pdfs/fumextractors-warranty.pdf
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 163592
    [mas_cust_no] => EAS2814
    [mas_cust_exists] => true
    [exportid] => 68852
    [masquotenum] => Q047048
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0028
    [ProductLine] => FX
    [forecasting_likelihood] => high
    [forecasting_expected_close_date] => 05/10/2024
    [application] => Welding
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [tax_free] => true
    [lead_time] => Varies greatly based on product and stock availability.
    [email_quote] => true
    [email_quote_to] => zachr@easternfence.com
    [template_id] => 446
    [email_quote_subject] => Your FumeXtractors Quote - Replacement Part
    [email_quote_body] => 

Hello Zach,

Please see the attached. If you have any questions or would like to place an order please don't hesitate to call or email. 


Sincerely,

<<&RepName>>

FumeXtractors
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 651-9762 Ext. <<&RepPhoneExt>>
866 422-4099 Fax
<<&RepEmail>>
https://fumextractors.com

FumeXtractors is a proud product of Air Cleaning Specialists, Inc.

[files] => [email_product_literature] => true [includedPDFs] => Array ( [0] => {QUOTE} [1] => quote_bundle_separator [2] => /mnt/product_media/fumextractors/pdfs/fumextractors-warranty.pdf ) [act] => submit_quote )

Debug Data

start: 1.9073486328125E-6 secs since start
after getting new exportid ... 68852: 0.099493026733398 secs since start
Session ID: e2oiaufss93apk9fnurnc2dk5m
just before engaging cartlink ...: 0.099570989608765 secs since start
after most cartlink items ...: 0.18147110939026 secs since start
after getting new so num ...: 0.33472204208374 secs since start
after remaining cartlink items ...: 0.33476591110229 secs since start
SO Number: Q047048
just prior to terms gathering ...: 0.33478999137878 secs since start
after getting customer terms ...: 0.42342400550842 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => FX-PT-CASTER-NL
            [name] => Non-Locking Caster for FumeXtractor Portable
            [qty] => 1
            [price] => 27.50
            [cost] => 11.00
            [pdfFileURL] => 
        )

)

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q047048','FX-PT-CASTER-NL','Non-Locking Caster for FumeXtractor Portable','Y','11.00','1','1','27.50','27.50','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 1.1117269992828 secs since start
generating quote pdf ...
Temp file doesn't exist ... adding the PDFs individually ...

ATTACHMENTS
arrPDFs:
Array
(
)
arrIndividualPDFs:
Array
(
    [0] => /mnt/product_media/fumextractors/pdfs/fumextractors-warranty.pdf
)
temp_url:/tmp/merged-pdf_1714061709_5001.pdf
after merging and generating email/quote PDFs ...: 6.5056829452515 secs since start
email fields:
Array
(
    [from] => stevel@aircleaningspecialists.com
    [fromname] => Steve with FumeXtractors.com
    [headers] => {"Return-Receipt-To": ""Steve Luttbeg" ", "Disposition-Notification-To": ""Steve Luttbeg" "}
    [x-smtpapi] => {"unique_args":{"orderNumber":"exportid=68852"}}
    [to[0]] => zachr@easternfence.com
    [subject] => Your FumeXtractors Quote - Replacement Part
    [html] => 

Hello Zach,

Please see the attached. If you have any questions or would like to place an order please don't hesitate to call or email. 


Sincerely,

Steve Luttbeg

FumeXtractors
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 651-9762 Ext. 109
866 422-4099 Fax
stevel@aircleaningspecialists.com
https://fumextractors.com

FumeXtractors is a proud product of Air Cleaning Specialists, Inc.

[text] => Hello Zach,Please see the attached. If you have any questions or would like to place an order please don't hesitate to call or email.  Sincerely, Steve Luttbeg FumeXtractors11088 Gravois Industrial Ct.Saint Louis, MO 63128 866 651-9762 Ext. 109 866 422-4099 Fax stevel@aircleaningspecialists.com https://fumextractors.comFumeXtractors is a proud product of Air Cleaning Specialists, Inc. [files[Quote.pdf]] => @/tmp/tmp_quote_20240425111504_39068.pdf [files[fumextractors-warranty.pdf]] => @/mnt/product_media/fumextractors/pdfs/fumextractors-warranty.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240425111504_39068.pdf
File: files[fumextractors-warranty.pdf] => @/mnt/product_media/fumextractors/pdfs/fumextractors-warranty.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] => 723
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.586643
    [namelookup_time] => 0.00193
    [connect_time] => 0.070325
    [pretransfer_time] => 0.218125
    [size_upload] => 129537
    [size_download] => 21
    [speed_download] => 35
    [speed_upload] => 221052
    [download_content_length] => 21
    [upload_content_length] => 129537
    [starttransfer_time] => 0.286
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 39400
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 217983
    [connect_time_us] => 70325
    [namelookup_time_us] => 1930
    [pretransfer_time_us] => 218125
    [redirect_time_us] => 0
    [starttransfer_time_us] => 286000
    [total_time_us] => 586643
)
after sending email to customer ...: 9.0987629890442 secs since start
QUOTE_ATTACHMENT_ID: 0
EMAILING INSIDE COPY:
Array
(
    [from] => stevel@aircleaningspecialists.com
    [fromname] => Steve with FumeXtractors.com
    [subject] => Your FumeXtractors Quote - Replacement Part
    [html] => 

Hello Zach,

Please see the attached. If you have any questions or would like to place an order please don't hesitate to call or email. 


Sincerely,

Steve Luttbeg

FumeXtractors
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 651-9762 Ext. 109
866 422-4099 Fax
stevel@aircleaningspecialists.com
https://fumextractors.com

FumeXtractors is a proud product of Air Cleaning Specialists, Inc.

[text] => Hello Zach,Please see the attached. If you have any questions or would like to place an order please don't hesitate to call or email.  Sincerely, Steve Luttbeg FumeXtractors11088 Gravois Industrial Ct.Saint Louis, MO 63128 866 651-9762 Ext. 109 866 422-4099 Fax stevel@aircleaningspecialists.com https://fumextractors.comFumeXtractors is a proud product of Air Cleaning Specialists, Inc. [files[Quote.pdf]] => CURLFile Object ( [name] => /tmp/tmp_quote_20240425111512_61239.pdf [mime] => [postname] => Quote.pdf ) [files[fumextractors-warranty.pdf]] => CURLFile Object ( [name] => /mnt/product_media/fumextractors/pdfs/fumextractors-warranty.pdf [mime] => [postname] => fumextractors-warranty.pdf ) [to[0]] => stevel@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] => 723
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.66221
    [namelookup_time] => 0.001872
    [connect_time] => 0.06973
    [pretransfer_time] => 0.216803
    [size_upload] => 129140
    [size_download] => 21
    [speed_download] => 31
    [speed_upload] => 195075
    [download_content_length] => 21
    [upload_content_length] => 129140
    [starttransfer_time] => 0.284005
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 35244
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 216672
    [connect_time_us] => 69730
    [namelookup_time_us] => 1872
    [pretransfer_time_us] => 216803
    [redirect_time_us] => 0
    [starttransfer_time_us] => 284005
    [total_time_us] => 662210
)
after sending email to rep ...: 16.41973900795 secs since start
after inserting/updating customer in v2 ...: 16.508162975311 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+SGVsbG8gWmFjaCw8L3A+PHA+UGxlYXNlIHNlZSB0aGUgYXR0YWNoZWQuIElmIHlvdSBoYXZlIGFueSBxdWVzdGlvbnMgb3Igd291bGQgbGlrZSB0byBwbGFjZSBhbiBvcmRlciBwbGVhc2UgZG9uJ3QgaGVzaXRhdGUgdG8gY2FsbCBvciBlbWFpbC4mbmJzcDs8L3A+PHA+PGJyPg0KU2luY2VyZWx5LDxicj4NCjxicj4NClN0ZXZlIEx1dHRiZWc8YnI+DQo8YnI+DQo8c3Ryb25nPkZ1bWVYdHJhY3RvcnM8L3N0cm9uZz48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij4xMTA4OCBHcmF2b2lzIEluZHVzdHJpYWwgQ3QuPC9zcGFuPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPlNhaW50IExvdWlzLCBNTyA2MzEyODwvc3Bhbj48YnI+DQo8YSBocmVmPSJ0ZWw6KzE4NjY2NTE5NzYyIj44NjYgNjUxLTk3NjI8L2E+IEV4dC4gMTA5PGJyPg0KODY2IDQyMi00MDk5IEZheDxicj4NCnN0ZXZlbEBhaXJjbGVhbmluZ3NwZWNpYWxpc3RzLmNvbTxicj4NCjxhIGhyZWY9Imh0dHBzOi8vZnVtZXh0cmFjdG9ycy5jb20iPmh0dHBzOi8vZnVtZXh0cmFjdG9ycy5jb208L2E+PGEgaHJlZj0iaHR0cHM6Ly9mdW1leHRyYWN0b3JzLmNvbSI+PC9hPjwvcD48cD48aT5GdW1lWHRyYWN0b3JzIGlzIGEgcHJvdWQgcHJvZHVjdCBvZiBBaXIgQ2xlYW5pbmcgU3BlY2lhbGlzdHMsIEluYy48L2k+PC9wPjwvYm9keT48L2h0bWw+
v2_mailid: 3249639
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Steve Luttbeg 
    [recipient] => zachr@easternfence.com
    [To] => zachr@easternfence.com
    [Date] => 2024-04-25 11:15:19
    [subject] => Your FumeXtractors Quote - Replacement Part
    [mas-customer-no] => EAS2814
    [email-html] => 

Hello Zach,

Please see the attached. If you have any questions or would like to place an order please don't hesitate to call or email. 


Sincerely,

Steve Luttbeg

FumeXtractors
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 651-9762 Ext. 109
866 422-4099 Fax
stevel@aircleaningspecialists.com
https://fumextractors.com

FumeXtractors is a proud product of Air Cleaning Specialists, Inc.

[qq_from_repid] => 0028 [file_0] => CURLFile Object ( [name] => /tmp/tmp_quote_20240425111512_61239.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /mnt/product_media/fumextractors/pdfs/fumextractors-warranty.pdf [mime] => [postname] => fumextractors-warranty.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] => 650
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.365557
    [namelookup_time] => 0.001819
    [connect_time] => 0.02109
    [pretransfer_time] => 0.054175
    [size_upload] => 128939
    [size_download] => 127827
    [speed_download] => 350210
    [speed_upload] => 353257
    [download_content_length] => -1
    [upload_content_length] => 128939
    [starttransfer_time] => 0.075075
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 55256
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 54086
    [connect_time_us] => 21090
    [namelookup_time_us] => 1819
    [pretransfer_time_us] => 54175
    [redirect_time_us] => 0
    [starttransfer_time_us] => 75075
    [total_time_us] => 365557
)
after pushing email and files into v2/timeline ...: 18.876446008682 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 19.021567106247 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 21.048176050186 secs since start
strJSON:
{"exportid":"68852","import_result":null,"import_error":"","fileurl":"GMImport_68852_1714061724_44179.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Eastern Fence","goldmine_email":"zachr@easternfence.com","goldmine_phone":"(631) 922-4624","mas_quote_number":"Q047048","mas_customer_number":"EAS2814"}
end: 21.076206922531 secs since start