From 25cf23dded31ce97b59d15f52ef4dd6647c5e79d Mon Sep 17 00:00:00 2001 From: justin Date: Mon, 8 Jun 2026 00:24:17 -0500 Subject: [PATCH] feat(orders): reduce friction & chargebacks across order flow 1. Email: add a 'Problem with your order? We're here to help' support band to the shared htmlEmail() footer, so EVERY transactional email (confirmation, portal link, receipts) has a prominent 'Get help with your order' button linking to /contact. Less silent frustration -> fewer chargebacks. 2. NPI order form: entering a 10-digit NPI now auto-fills provider name, practice state, and specialty from the live NPPES lookup (same API as the free compliance-check tool), with a 'Found: ' confirmation. Only fills empty fields so it never clobbers edits. 3. NPI order form: read ?npi= from the URL so the email 'Start my revalidation' click lands with the NPI prefilled and the rest auto-filled (was being ignored entirely before). 4. Support FAB: add the floating help button + panel to 27 static public pages that were missing it (order, portal, trucking, survey, upload pages), so help is one click away everywhere. --- api/src/email.ts | 14 +++ site/public/order/dot-compliance/index.html | 32 ++++++- site/public/order/fcc-499q/index.html | 33 ++++++- .../order/fcc-carrier-registration/index.html | 33 ++++++- .../public/order/identity-complete/index.html | 33 ++++++- site/public/order/neca-ocn/index.html | 33 ++++++- site/public/order/state-puc/index.html | 33 ++++++- .../order/trucking-new-carrier/index.html | 32 ++++++- site/public/portal/dashboard/index.html | 32 ++++++- site/public/portal/esign/index.html | 33 ++++++- site/public/portal/rmd-review/index.html | 33 ++++++- site/public/portal/upload-id/index.html | 33 ++++++- .../services/trucking/california/index.html | 32 ++++++- .../services/trucking/connecticut/index.html | 32 ++++++- .../trucking/drug-alcohol-program/index.html | 32 ++++++- .../services/trucking/florida/index.html | 32 ++++++- .../services/trucking/hazmat/index.html | 32 ++++++- site/public/services/trucking/index.html | 32 ++++++- .../services/trucking/irp-ifta/index.html | 32 ++++++- .../services/trucking/kentucky/index.html | 32 ++++++- .../services/trucking/new-carrier/index.html | 32 ++++++- .../services/trucking/new-mexico/index.html | 32 ++++++- .../services/trucking/new-york/index.html | 32 ++++++- .../services/trucking/oregon/index.html | 32 ++++++- .../public/services/trucking/texas/index.html | 32 ++++++- site/public/survey/index.html | 33 ++++++- .../public/tools/corporation-check/index.html | 33 ++++++- site/public/upload/id/index.html | 33 ++++++- .../intake/steps/NpiIntakeStep.astro | 86 ++++++++++++++++++- 29 files changed, 947 insertions(+), 28 deletions(-) diff --git a/api/src/email.ts b/api/src/email.ts index 23625f6..82f8b66 100644 --- a/api/src/email.ts +++ b/api/src/email.ts @@ -78,6 +78,20 @@ function htmlEmail(title: string, body: string): string { ${body} + + + + + +
+

Problem with your order? We're here to help.

+

Questions, a change, or something not right? Reach our team and we'll make it right, fast.

+ Get help with your order → +

Or email info@performancewest.net · call 1-888-411-0383

+
+ + diff --git a/site/public/order/dot-compliance/index.html b/site/public/order/dot-compliance/index.html index 44048fb..1641056 100644 --- a/site/public/order/dot-compliance/index.html +++ b/site/public/order/dot-compliance/index.html @@ -754,5 +754,35 @@ document.getElementById("pw-batch-form").addEventListener("submit", function(e) }); - +

How can we help?

Choose a category and tell us what you need.

+ diff --git a/site/public/order/fcc-499q/index.html b/site/public/order/fcc-499q/index.html index 49c8bfe..1f3b37b 100644 --- a/site/public/order/fcc-499q/index.html +++ b/site/public/order/fcc-499q/index.html @@ -232,5 +232,36 @@ input:focus{outline:none;border-color:#1e3a5f;box-shadow:0 0 0 2px rgba(30,58,95 })(); - +

How can we help?

Choose a category and tell us what you need.

+ + diff --git a/site/public/order/fcc-carrier-registration/index.html b/site/public/order/fcc-carrier-registration/index.html index 26c3168..5578a3b 100644 --- a/site/public/order/fcc-carrier-registration/index.html +++ b/site/public/order/fcc-carrier-registration/index.html @@ -1051,5 +1051,36 @@ select:focus,input:focus{outline:none;border-color:#1e3a5f;box-shadow:0 0 0 2px })(); - +

How can we help?

Choose a category and tell us what you need.

+ + diff --git a/site/public/order/identity-complete/index.html b/site/public/order/identity-complete/index.html index 6875a2a..5deca1d 100644 --- a/site/public/order/identity-complete/index.html +++ b/site/public/order/identity-complete/index.html @@ -2,4 +2,35 @@

Returning to your order...

Processing your verification result. Please wait.

- \ No newline at end of file +

How can we help?

Choose a category and tell us what you need.

+ + \ No newline at end of file diff --git a/site/public/order/neca-ocn/index.html b/site/public/order/neca-ocn/index.html index 6bbccd7..776e1cb 100644 --- a/site/public/order/neca-ocn/index.html +++ b/site/public/order/neca-ocn/index.html @@ -317,5 +317,36 @@ select:focus,input:focus{outline:none;border-color:#1e3a5f;box-shadow:0 0 0 2px })(); - +

How can we help?

Choose a category and tell us what you need.

+ + diff --git a/site/public/order/state-puc/index.html b/site/public/order/state-puc/index.html index a944c8c..a094286 100644 --- a/site/public/order/state-puc/index.html +++ b/site/public/order/state-puc/index.html @@ -497,5 +497,36 @@ select:focus,input:focus{outline:none;border-color:#1e3a5f;box-shadow:0 0 0 2px })(); - +

How can we help?

Choose a category and tell us what you need.

+ + diff --git a/site/public/order/trucking-new-carrier/index.html b/site/public/order/trucking-new-carrier/index.html index 871219f..6d0ba59 100644 --- a/site/public/order/trucking-new-carrier/index.html +++ b/site/public/order/trucking-new-carrier/index.html @@ -1306,5 +1306,35 @@ document.getElementById("pw-batch-form").addEventListener("submit", function(e) }); - +

How can we help?

Choose a category and tell us what you need.

+ diff --git a/site/public/portal/dashboard/index.html b/site/public/portal/dashboard/index.html index da60d14..d7b79c5 100644 --- a/site/public/portal/dashboard/index.html +++ b/site/public/portal/dashboard/index.html @@ -459,5 +459,35 @@ })(); - +

How can we help?

Choose a category and tell us what you need.

+ diff --git a/site/public/portal/esign/index.html b/site/public/portal/esign/index.html index 06b8acc..8e0ff0f 100644 --- a/site/public/portal/esign/index.html +++ b/site/public/portal/esign/index.html @@ -417,5 +417,36 @@ body{font-family:'Inter',system-ui,sans-serif;color:#1f2937;background:#f1f5f9;l }); })(); - +

How can we help?

Choose a category and tell us what you need.

+ + diff --git a/site/public/portal/rmd-review/index.html b/site/public/portal/rmd-review/index.html index f0fd848..97f0ae4 100644 --- a/site/public/portal/rmd-review/index.html +++ b/site/public/portal/rmd-review/index.html @@ -346,4 +346,35 @@ fetch(API + "/api/v1/portal/rmd-review", {headers: headers}) }); })(); - +

How can we help?

Choose a category and tell us what you need.

+ + diff --git a/site/public/portal/upload-id/index.html b/site/public/portal/upload-id/index.html index 2752da5..3aa570a 100644 --- a/site/public/portal/upload-id/index.html +++ b/site/public/portal/upload-id/index.html @@ -255,5 +255,36 @@ if (!orderNumber) { uploadSection.innerHTML = '

Invalid link — no order number found. Please use the link from your email.

'; } - +

How can we help?

Choose a category and tell us what you need.

+ + diff --git a/site/public/services/trucking/california/index.html b/site/public/services/trucking/california/index.html index 740a202..05605fe 100644 --- a/site/public/services/trucking/california/index.html +++ b/site/public/services/trucking/california/index.html @@ -224,5 +224,35 @@ - +

How can we help?

Choose a category and tell us what you need.

+ diff --git a/site/public/services/trucking/connecticut/index.html b/site/public/services/trucking/connecticut/index.html index 3d19693..89e9b23 100644 --- a/site/public/services/trucking/connecticut/index.html +++ b/site/public/services/trucking/connecticut/index.html @@ -228,5 +228,35 @@ - +

How can we help?

Choose a category and tell us what you need.

+ diff --git a/site/public/services/trucking/drug-alcohol-program/index.html b/site/public/services/trucking/drug-alcohol-program/index.html index 0c86663..97c65e8 100644 --- a/site/public/services/trucking/drug-alcohol-program/index.html +++ b/site/public/services/trucking/drug-alcohol-program/index.html @@ -216,5 +216,35 @@ - +

How can we help?

Choose a category and tell us what you need.

+ diff --git a/site/public/services/trucking/florida/index.html b/site/public/services/trucking/florida/index.html index 85e54f3..cceeb29 100644 --- a/site/public/services/trucking/florida/index.html +++ b/site/public/services/trucking/florida/index.html @@ -234,5 +234,35 @@ - +

How can we help?

Choose a category and tell us what you need.

+ diff --git a/site/public/services/trucking/hazmat/index.html b/site/public/services/trucking/hazmat/index.html index 16acf46..40cfc18 100644 --- a/site/public/services/trucking/hazmat/index.html +++ b/site/public/services/trucking/hazmat/index.html @@ -216,5 +216,35 @@ - +

How can we help?

Choose a category and tell us what you need.

+ diff --git a/site/public/services/trucking/index.html b/site/public/services/trucking/index.html index e262f7e..16c28c9 100644 --- a/site/public/services/trucking/index.html +++ b/site/public/services/trucking/index.html @@ -303,5 +303,35 @@ - +

How can we help?

Choose a category and tell us what you need.

+ diff --git a/site/public/services/trucking/irp-ifta/index.html b/site/public/services/trucking/irp-ifta/index.html index 51ee972..d1127d8 100644 --- a/site/public/services/trucking/irp-ifta/index.html +++ b/site/public/services/trucking/irp-ifta/index.html @@ -216,5 +216,35 @@ - +

How can we help?

Choose a category and tell us what you need.

+ diff --git a/site/public/services/trucking/kentucky/index.html b/site/public/services/trucking/kentucky/index.html index b415603..c62529b 100644 --- a/site/public/services/trucking/kentucky/index.html +++ b/site/public/services/trucking/kentucky/index.html @@ -228,5 +228,35 @@ - +

How can we help?

Choose a category and tell us what you need.

+ diff --git a/site/public/services/trucking/new-carrier/index.html b/site/public/services/trucking/new-carrier/index.html index 3f674d7..a3aa532 100644 --- a/site/public/services/trucking/new-carrier/index.html +++ b/site/public/services/trucking/new-carrier/index.html @@ -216,5 +216,35 @@ - +

How can we help?

Choose a category and tell us what you need.

+ diff --git a/site/public/services/trucking/new-mexico/index.html b/site/public/services/trucking/new-mexico/index.html index e5ce28d..6008e62 100644 --- a/site/public/services/trucking/new-mexico/index.html +++ b/site/public/services/trucking/new-mexico/index.html @@ -228,5 +228,35 @@ - +

How can we help?

Choose a category and tell us what you need.

+ diff --git a/site/public/services/trucking/new-york/index.html b/site/public/services/trucking/new-york/index.html index 0cd8c64..4f3f30e 100644 --- a/site/public/services/trucking/new-york/index.html +++ b/site/public/services/trucking/new-york/index.html @@ -234,5 +234,35 @@ - +

How can we help?

Choose a category and tell us what you need.

+ diff --git a/site/public/services/trucking/oregon/index.html b/site/public/services/trucking/oregon/index.html index feb42e8..270be75 100644 --- a/site/public/services/trucking/oregon/index.html +++ b/site/public/services/trucking/oregon/index.html @@ -228,5 +228,35 @@ - +

How can we help?

Choose a category and tell us what you need.

+ diff --git a/site/public/services/trucking/texas/index.html b/site/public/services/trucking/texas/index.html index 024aaee..01b189e 100644 --- a/site/public/services/trucking/texas/index.html +++ b/site/public/services/trucking/texas/index.html @@ -228,5 +228,35 @@ - +

How can we help?

Choose a category and tell us what you need.

+ diff --git a/site/public/survey/index.html b/site/public/survey/index.html index e890fd3..046b62d 100644 --- a/site/public/survey/index.html +++ b/site/public/survey/index.html @@ -168,5 +168,36 @@ submitBtn.addEventListener("click", function() { }); }); - +

How can we help?

Choose a category and tell us what you need.

+ + diff --git a/site/public/tools/corporation-check/index.html b/site/public/tools/corporation-check/index.html index 205b4c6..5f16562 100644 --- a/site/public/tools/corporation-check/index.html +++ b/site/public/tools/corporation-check/index.html @@ -227,4 +227,35 @@ function renderResult(data, state) { })(); - +

How can we help?

Choose a category and tell us what you need.

+ + diff --git a/site/public/upload/id/index.html b/site/public/upload/id/index.html index a99ead6..99f5624 100644 --- a/site/public/upload/id/index.html +++ b/site/public/upload/id/index.html @@ -199,4 +199,35 @@ Performance West Inc. — Secure ID verification showState("error"); }); })(); - \ No newline at end of file +

How can we help?

Choose a category and tell us what you need.

+ + \ No newline at end of file diff --git a/site/src/components/intake/steps/NpiIntakeStep.astro b/site/src/components/intake/steps/NpiIntakeStep.astro index 27bad03..c0aa564 100644 --- a/site/src/components/intake/steps/NpiIntakeStep.astro +++ b/site/src/components/intake/steps/NpiIntakeStep.astro @@ -16,7 +16,8 @@ + +