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:
parent
c6819371d8
commit
90bccfda32
2 changed files with 7 additions and 3 deletions
|
|
@ -45,7 +45,11 @@ DB_URL = os.getenv("DATABASE_URL", "")
|
|||
# (e.g. MC authority needs an *active* USDOT; UCR/D&A need an active USDOT).
|
||||
# `activation_target` names what must be active at FMCSA: "usdot" | "authority".
|
||||
PIPELINES = {
|
||||
"new-carrier-bundle": [
|
||||
# Trucking/DOT new-carrier onboarding pipeline. Keyed by the DOT-specific
|
||||
# slug (dot-new-carrier-bundle); the bare "new-carrier-bundle" slug is the
|
||||
# TELECOM VoIP bundle, handled by NewCarrierBundleHandler -- they must not
|
||||
# share a key here or trucking orders would run the telecom pipeline.
|
||||
"dot-new-carrier-bundle": [
|
||||
{"slug": "llc-formation", "name": "LLC Formation", "wait_for": None},
|
||||
{"slug": "ein-application", "name": "EIN Application", "wait_for": "llc-formation"},
|
||||
{"slug": "dot-registration", "name": "USDOT Registration", "wait_for": "ein-application"},
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue