Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => MAtt Kretsinger
                    [Contact_First] => MAtt
                    [Contact_Last] => Kretsinger
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 63128
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 191
                    [mascustnum] => AIR6302
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 191
                    [mas_cust_no] => AIR6302
                )

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

            [billing] => Array
                (
                    [Company] => MAtt Kretsinger
                    [Contact_First] => MAtt
                    [Contact_Last] => Kretsinger
                    [Address1] => 11088 Gravois Industrial Ct
                    [Address2] => 
                    [Address3] => 
                    [City] => Saint Louis
                    [State] => MI
                    [Zip] => 63128
                    [Country] => USA
                    [Email] => matt@aircleaningspecialists.com
                    [Phone] => 
                )

            [shipping] => Array
                (
                    [ShipToName] => MAtt Kretsinger
                    [Address1] => 11088 Gravois Industrial Ct
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Saint Louis
                    [State] => MI
                    [Zip] => 63128
                    [Country] => USA
                    [Email] => matt@aircleaningspecialists.com
                    [Phone] => 
                )

            [leadid] => 1430
            [summary] => Array
                (
                    [SalesPersonNo] => 0024
                    [ProductLine] => FX
                    [forecasting_likelihood] => low
                    [forecasting_expected_close_date] => 12/01/2023
                    [application] => 
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [lead_time] => Varies greatly based on product and stock availability.
                    [email_quote] => true
                    [email_quote_to] => matt@aircleaningspecialists.com
                    [template_id] => 627
                    [email_quote_subject] => Testing Email Dynamics
                    [files] => 
                    [email_product_literature] => true
                    [includedPDFs] => Array
                        (
                            [0] => {QUOTE}
                            [1] => /mnt/product_media/blueox/pdf/OX3000_Series.pdf
                            [2] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 191
    [mas_cust_no] => AIR6302
    [mas_cust_exists] => true
    [exportid] => 62216
    [masquotenum] => Q043598
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0024
    [ProductLine] => FX
    [forecasting_likelihood] => low
    [forecasting_expected_close_date] => 12/01/2023
    [application] => 
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [lead_time] => Varies greatly based on product and stock availability.
    [email_quote] => true
    [email_quote_to] => matt@aircleaningspecialists.com
    [template_id] => 627
    [email_quote_subject] => Testing Email Dynamics
    [email_quote_body] => 
Don't delete or use this template, I'm playing ... this is my playground ... :)

<<&quote_link>>

<<CTA>>

[Signature:ACS] [files] => [email_product_literature] => true [includedPDFs] => Array ( [0] => {QUOTE} [1] => /mnt/product_media/blueox/pdf/OX3000_Series.pdf [2] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 4.0531158447266E-6 secs since start
after getting new exportid ... 62216: 0.084569931030273 secs since start
Session ID: iplpfhakfnbj3a27288eojcqql
just before engaging cartlink ...: 0.084641933441162 secs since start
after most cartlink items ...: 0.14884805679321 secs since start
after getting new so num ...: 0.29024314880371 secs since start
after remaining cartlink items ...: 0.29027414321899 secs since start
SO Number: Q043598
just prior to terms gathering ...: 0.29028511047363 secs since start
after getting customer terms ...: 0.37436413764954 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => OX3000
            [name] => Blue Ox Model OX3000, 3,000 CFM Media Filtration System.
Cabinet: 24"W x 24"T x 72" Long - 16GA CRS
Power: 115V 60Hz Single Phase 10.2 Amps
Filter Stage 1: (2) Pleated Pre Filters 24" x 24" x 4" 35%
Filter Stage 2: (2) Primary Filters 24" x 24" x 22" 65% 8 Pocket Bag Filter [qty] => 1 [price] => 3,195.00 [cost] => 1,533.54 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q043598','OX3000','Blue Ox Model OX3000, 3,000 CFM Media Filtration System. Cabinet: 24"W x 24"T x 72" Long - 16GA CRS Power: 115V 60Hz Single Phase 10.2 Amps Filter Stage 1: (2) Pleated Pre Filters 24" x 24" x 4" 35% Filter Stage 2: (2) Primary Filters 24" x 24" x 22" 65% 8 Pocket Bag Filter','Y','1533.54','1','1','3195.00','3195.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.90747809410095 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/blueox/pdf/OX3000_Series.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1701612333_6370.pdf
after merging and generating email/quote PDFs ...: 4.2907099723816 secs since start
email fields:
Array
(
    [from] => matt@aircleaningspecialists.com
    [fromname] => Matt with FumeXtractors.com
    [headers] => {"Return-Receipt-To": ""Matt Kretsinger" ", "Disposition-Notification-To": ""Matt Kretsinger" "}
    [x-smtpapi] => {"unique_args":{"orderNumber":"exportid=62216"}}
    [to[0]] => matt@aircleaningspecialists.com
    [subject] => Testing Email Dynamics
    [html] => 
Don't delete or use this template, I'm playing ... this is my playground ... :)

View Your Quote

<<CTA>>

[Signature:ACS] [text] => Don't delete or use this template, I'm playing ... this is my playground ... :)View Your Quote<<CTA>>[Signature:ACS] [files[Quote.pdf]] => @/tmp/tmp_quote_20231203080530_77809.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1701612333_6370.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20231203080530_77809.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1701612333_6370.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.578265
    [namelookup_time] => 0.001972
    [connect_time] => 0.037931
    [pretransfer_time] => 0.123207
    [size_upload] => 500850
    [size_download] => 21
    [speed_download] => 36
    [speed_upload] => 866522
    [download_content_length] => 21
    [upload_content_length] => 500850
    [starttransfer_time] => 0.159646
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.54
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 44052
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 123100
    [connect_time_us] => 37931
    [namelookup_time_us] => 1972
    [pretransfer_time_us] => 123207
    [redirect_time_us] => 0
    [starttransfer_time_us] => 159646
    [total_time_us] => 578265
)
after sending email to customer ...: 6.8726420402527 secs since start
QUOTE_ATTACHMENT_ID: 0
EMAILING INSIDE COPY:
Array
(
    [from] => matt@aircleaningspecialists.com
    [fromname] => Matt with FumeXtractors.com
    [subject] => Testing Email Dynamics
    [html] => 
Don't delete or use this template, I'm playing ... this is my playground ... :)

Click here (ACS)

<<CTA>>

[Signature:ACS] [text] => Don't delete or use this template, I'm playing ... this is my playground ... :)View Your Quote<<CTA>>[Signature:ACS] [files[Quote.pdf]] => CURLFile Object ( [name] => /tmp/tmp_quote_20231203080536_49190.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1701612333_6370.pdf [mime] => [postname] => Product_Literature.pdf ) [to[0]] => matt@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.724634
    [namelookup_time] => 0.002066
    [connect_time] => 0.059572
    [pretransfer_time] => 0.184744
    [size_upload] => 500311
    [size_download] => 21
    [speed_download] => 29
    [speed_upload] => 691037
    [download_content_length] => 21
    [upload_content_length] => 500311
    [starttransfer_time] => 0.244639
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 33360
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 184640
    [connect_time_us] => 59572
    [namelookup_time_us] => 2066
    [pretransfer_time_us] => 184744
    [redirect_time_us] => 0
    [starttransfer_time_us] => 244639
    [total_time_us] => 724634
)
after sending email to rep ...: 13.280898094177 secs since start
after inserting/updating customer in v2 ...: 13.359938144684 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PGRpdj5Eb24ndCBkZWxldGUgb3IgdXNlIHRoaXMgdGVtcGxhdGUsIEknbSBwbGF5aW5nIC4uLiB0aGlzIGlzIG15IHBsYXlncm91bmQgLi4uIDopPC9kaXY+PGRpdj48YnI+PC9kaXY+PGRpdj48YSBocmVmPSJodHRwczovL2Z1bWV4dHJhY3RvcnMuY29tL3F1b3RlL2luZGV4LnBocD9hY3Q9bG9naW4mcXVvdGVfbnVtPVEwNDM1OTgmY3VzdF9udW09QUlSNjMwMiIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICM0Q0FGNTA7IGNvbG9yOiB3aGl0ZTsgcGFkZGluZzogMTBweCAyMHB4OyB0ZXh0LWFsaWduOiBjZW50ZXI7IHRleHQtZGVjb3JhdGlvbjogbm9uZTsgZGlzcGxheTogaW5saW5lLWJsb2NrOyBib3JkZXItcmFkaXVzOiA1cHg7IiBjb2xvcj0iYmx1ZSIgdGFyZ2V0PSJfYmxhbmsiPlZpZXcgWW91ciBRdW90ZTwvYT48YnI+PC9kaXY+PGRpdj48YnI+PC9kaXY+PGRpdj48c3BhbiBpZD0iZW1sQmxvY2tDVEEiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiByZ2IoMjU1LCAyNTUsIDApOyI+Jmx0OyZsdDtDVEEmZ3Q7Jmd0Ozwvc3Bhbj48L2Rpdj48YnI+W1NpZ25hdHVyZTpBQ1NdPC9ib2R5PjwvaHRtbD4=
v2_mailid: 2947115
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Matt Kretsinger 
    [recipient] => matt@aircleaningspecialists.com
    [To] => matt@aircleaningspecialists.com
    [Date] => 2023-12-03 08:05:43
    [subject] => Testing Email Dynamics
    [mas-customer-no] => AIR6302
    [email-html] => 
Don't delete or use this template, I'm playing ... this is my playground ... :)

Click here (ACS)

<<CTA>>

[Signature:ACS] [qq_from_repid] => 0024 [file_0] => CURLFile Object ( [name] => /tmp/tmp_quote_20231203080536_49190.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1701612333_6370.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] => 4.536261
    [namelookup_time] => 0.001747
    [connect_time] => 0.01985
    [pretransfer_time] => 0.051155
    [size_upload] => 500412
    [size_download] => 499143
    [speed_download] => 110040
    [speed_upload] => 110320
    [download_content_length] => -1
    [upload_content_length] => 500412
    [starttransfer_time] => 0.07034
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 43820
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 51081
    [connect_time_us] => 19850
    [namelookup_time_us] => 1747
    [pretransfer_time_us] => 51155
    [redirect_time_us] => 0
    [starttransfer_time_us] => 70340
    [total_time_us] => 4536261
)
after pushing email and files into v2/timeline ...: 19.898644924164 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 20.03405213356 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 22.078622102737 secs since start
strJSON:
{"exportid":"62216","import_result":null,"import_error":"","fileurl":"GMImport_62216_1701612351_57458.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"MAtt Kretsinger","goldmine_email":"matt@aircleaningspecialists.com","goldmine_phone":"","mas_quote_number":"Q043598","mas_customer_number":"AIR6302"}
end: 22.097654104233 secs since start