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] => 626
[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] => 62215
[masquotenum] => Q043597
[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] => 626
[email_quote_subject] => Testing Email Dynamics
[email_quote_body] =>
Don't delete or use this template, I'm playing ... this is my playground ... :)
<<"e_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: 2.8610229492188E-6 secs since start
after getting new exportid ... 62215: 0.085970878601074 secs since start
Session ID: iplpfhakfnbj3a27288eojcqql
just before engaging cartlink ...: 0.086033821105957 secs since start
after most cartlink items ...: 0.15198183059692 secs since start
after getting new so num ...: 0.29311585426331 secs since start
after remaining cartlink items ...: 0.29315280914307 secs since start
SO Number: Q043597
just prior to terms gathering ...: 0.29316377639771 secs since start
after getting customer terms ...: 0.37705898284912 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 ('Q043597','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.90731287002563 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_1701611508_4108.pdf
after merging and generating email/quote PDFs ...: 4.3536479473114 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=62215"}}
[to[0]] => matt@aircleaningspecialists.com
[subject] => Testing Email Dynamics
[html] =>
Don't delete or use this template, I'm playing ... this is my playground ... :)
<<CTA>>
[Signature:ACS]
[text] =>
.button {
display: inline-block;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
text-align: center;
text-decoration: none;
outline: none;
color: #fff;
background-color: #4CAF50;
border: none;
border-radius: 5px;
box-shadow: 0 9px #999;
}
.button:hover {background-color: #3e8e41}
.button:active {
background-color: #3e8e41;
box-shadow: 0 5px #666;
transform: translateY(4px);
}
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_20231203075145_86228.pdf
[files[Product_Literature.pdf]] => @/tmp/merged-pdf_1701611508_4108.pdf
)
File: files[Quote.pdf] => @/tmp/tmp_quote_20231203075145_86228.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1701611508_4108.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.763729
[namelookup_time] => 0.001802
[connect_time] => 0.05771
[pretransfer_time] => 0.181437
[size_upload] => 501618
[size_download] => 21
[speed_download] => 27
[speed_upload] => 657428
[download_content_length] => 21
[upload_content_length] => 501618
[starttransfer_time] => 0.239784
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 54.213.76.12
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 104.239.145.129
[local_port] => 33756
[http_version] => 2
[protocol] => 2
[ssl_verifyresult] => 0
[scheme] => HTTPS
[appconnect_time_us] => 181305
[connect_time_us] => 57710
[namelookup_time_us] => 1802
[pretransfer_time_us] => 181437
[redirect_time_us] => 0
[starttransfer_time_us] => 239784
[total_time_us] => 763729
)
after sending email to customer ...: 7.1204078197479 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 ... :)
<<CTA>>
[Signature:ACS]
[text] =>
.button {
display: inline-block;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
text-align: center;
text-decoration: none;
outline: none;
color: #fff;
background-color: #4CAF50;
border: none;
border-radius: 5px;
box-shadow: 0 9px #999;
}
.button:hover {background-color: #3e8e41}
.button:active {
background-color: #3e8e41;
box-shadow: 0 5px #666;
transform: translateY(4px);
}
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_20231203075151_75540.pdf
[mime] =>
[postname] => Quote.pdf
)
[files[Product_Literature.pdf]] => CURLFile Object
(
[name] => /tmp/merged-pdf_1701611508_4108.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.821503
[namelookup_time] => 0.001771
[connect_time] => 0.070164
[pretransfer_time] => 0.217125
[size_upload] => 501212
[size_download] => 21
[speed_download] => 25
[speed_upload] => 610489
[download_content_length] => 21
[upload_content_length] => 501212
[starttransfer_time] => 0.287865
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 44.233.221.190
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 104.239.145.129
[local_port] => 41780
[http_version] => 2
[protocol] => 2
[ssl_verifyresult] => 0
[scheme] => HTTPS
[appconnect_time_us] => 216988
[connect_time_us] => 70164
[namelookup_time_us] => 1771
[pretransfer_time_us] => 217125
[redirect_time_us] => 0
[starttransfer_time_us] => 287865
[total_time_us] => 821503
)
after sending email to rep ...: 13.181792974472 secs since start
after inserting/updating customer in v2 ...: 13.25951385498 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHN0eWxlPg0KLmJ1dHRvbiB7DQogIGRpc3BsYXk6IGlubGluZS1ibG9jazsNCiAgcGFkZGluZzogMTBweCAyMHB4Ow0KICBmb250LXNpemU6IDE2cHg7DQogIGN1cnNvcjogcG9pbnRlcjsNCiAgdGV4dC1hbGlnbjogY2VudGVyOw0KICB0ZXh0LWRlY29yYXRpb246IG5vbmU7DQogIG91dGxpbmU6IG5vbmU7DQogIGNvbG9yOiAjZmZmOw0KICBiYWNrZ3JvdW5kLWNvbG9yOiAjNENBRjUwOw0KICBib3JkZXI6IG5vbmU7DQogIGJvcmRlci1yYWRpdXM6IDVweDsNCiAgYm94LXNoYWRvdzogMCA5cHggIzk5OTsNCn0NCg0KLmJ1dHRvbjpob3ZlciB7YmFja2dyb3VuZC1jb2xvcjogIzNlOGU0MX0NCg0KLmJ1dHRvbjphY3RpdmUgew0KICBiYWNrZ3JvdW5kLWNvbG9yOiAjM2U4ZTQxOw0KICBib3gtc2hhZG93OiAwIDVweCAjNjY2Ow0KICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVkoNHB4KTsNCn0NCjwvc3R5bGU+DQo8ZGl2PkRvbid0IGRlbGV0ZSBvciB1c2UgdGhpcyB0ZW1wbGF0ZSwgSSdtIHBsYXlpbmcgLi4uIHRoaXMgaXMgbXkgcGxheWdyb3VuZCAuLi4gOik8L2Rpdj48ZGl2Pjxicj48L2Rpdj48ZGl2PjxhIGhyZWY9Imh0dHBzOi8vZnVtZXh0cmFjdG9ycy5jb20vcXVvdGUvaW5kZXgucGhwP2FjdD1sb2dpbiZxdW90ZV9udW09UTA0MzU5NyZjdXN0X251bT1BSVI2MzAyIiBjbGFzcz0iYnV0dG9uIiBjb2xvcj0iYmx1ZSIgdGFyZ2V0PSJfYmxhbmsiPjx1PlZpZXcgWW91ciBRdW90ZTwvdT48L2E+PGJyPjwvZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+PHNwYW4gaWQ9ImVtbEJsb2NrQ1RBIiBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjogcmdiKDI1NSwgMjU1LCAwKTsiPiZsdDsmbHQ7Q1RBJmd0OyZndDs8L3NwYW4+PC9kaXY+PGJyPltTaWduYXR1cmU6QUNTXTwvYm9keT48L2h0bWw+
v2_mailid: 2947098
acsopav2 mailgun/newmail.php curl info: Array
(
[from] => Matt Kretsinger
[recipient] => matt@aircleaningspecialists.com
[To] => matt@aircleaningspecialists.com
[Date] => 2023-12-03 07:51:57
[subject] => Testing Email Dynamics
[mas-customer-no] => AIR6302
[email-html] =>
Don't delete or use this template, I'm playing ... this is my playground ... :)
<<CTA>>
[Signature:ACS]
[qq_from_repid] => 0024
[file_0] => CURLFile Object
(
[name] => /tmp/tmp_quote_20231203075151_75540.pdf
[mime] =>
[postname] => Quote.pdf
)
[file_1] => CURLFile Object
(
[name] => /tmp/merged-pdf_1701611508_4108.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.563662
[namelookup_time] => 0.001748
[connect_time] => 0.019787
[pretransfer_time] => 0.051048
[size_upload] => 500870
[size_download] => 499559
[speed_download] => 109480
[speed_upload] => 109767
[download_content_length] => -1
[upload_content_length] => 500870
[starttransfer_time] => 0.070212
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 71.91.252.131
[certinfo] => Array
(
)
[primary_port] => 7443
[local_ip] => 104.239.145.129
[local_port] => 33614
[http_version] => 2
[protocol] => 2
[ssl_verifyresult] => 0
[scheme] => HTTPS
[appconnect_time_us] => 50979
[connect_time_us] => 19787
[namelookup_time_us] => 1748
[pretransfer_time_us] => 51048
[redirect_time_us] => 0
[starttransfer_time_us] => 70212
[total_time_us] => 4563662
)
after pushing email and files into v2/timeline ...: 19.82546377182 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 19.960305929184 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 22.003670930862 secs since start
strJSON: {"exportid":"62215","import_result":null,"import_error":"","fileurl":"GMImport_62215_1701611526_77426.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":"Q043597","mas_customer_number":"AIR6302"}
end: 22.025644779205 secs since start