fix(checkout): route dot-new-carrier-bundle on success page + worker pipeline

Follow-on to the trucking new-carrier slug fix:
- success page: add dot-new-carrier-bundle to DOT_SLUGS + NEW_CARRIER_SLUGS so
  the order-confirmation 'what to expect' messaging classifies it as trucking.
- pipeline_orchestrator: the trucking onboarding PIPELINE was keyed under the
  bare 'new-carrier-bundle' slug, which is the TELECOM bundle's slug (also a
  collision at the worker layer). Re-keyed to 'dot-new-carrier-bundle' so a
  trucking bundle never runs the telecom pipeline (and vice versa).
This commit is contained in:
justin 2026-06-08 23:48:56 -05:00
parent c6819371d8
commit 90bccfda32
2 changed files with 7 additions and 3 deletions

View file

@ -234,8 +234,8 @@ Send reset link
var params = new URLSearchParams(window.location.search);
var orderId = params.get("order_id") || params.get("session_id") || "";
var API = window.__PW_API || "https://api.performancewest.net";
var DOT_SLUGS = ["mcs150-update","ucr-registration","boc3-filing","dot-registration","mc-authority","dot-drug-alcohol","dot-audit-prep","dot-full-compliance","irp-registration","ifta-application","usdot-reactivation","emergency-temporary-authority","new-carrier-bundle"];
var NEW_CARRIER_SLUGS = ["new-carrier-bundle","dot-registration","mc-authority"];
var DOT_SLUGS = ["mcs150-update","ucr-registration","boc3-filing","dot-registration","mc-authority","dot-drug-alcohol","dot-audit-prep","dot-full-compliance","irp-registration","ifta-application","usdot-reactivation","emergency-temporary-authority","new-carrier-bundle","dot-new-carrier-bundle"];
var NEW_CARRIER_SLUGS = ["new-carrier-bundle","dot-new-carrier-bundle","dot-registration","mc-authority"];
// Fetch and render order timeline
function renderTimeline(orderId) {