launcher: recognize edut_id error codes
Some checks are pending
check / launcher (push) Waiting to run

This commit is contained in:
Edut LLC 2026-02-20 16:03:53 -08:00
parent ce42646931
commit e94aca6283

View File

@ -239,6 +239,8 @@ const errorCodeHelp = {
wallet_session_expired: "Session expired. Refresh session or reconnect wallet.", wallet_session_expired: "Session expired. Refresh session or reconnect wallet.",
wallet_session_revoked: "Session revoked. Reconnect wallet to continue.", wallet_session_revoked: "Session revoked. Reconnect wallet to continue.",
wallet_session_mismatch: "Session does not match the active wallet.", wallet_session_mismatch: "Session does not match the active wallet.",
edut_id_required: "EDUT ID must be active before this action.",
edut_id_inactive: "EDUT ID is not active for this wallet.",
membership_required: "EDUT ID must be active before this action.", membership_required: "EDUT ID must be active before this action.",
membership_inactive: "EDUT ID is not active for this wallet.", membership_inactive: "EDUT ID is not active for this wallet.",
identity_assurance_insufficient: "This admin action requires on-ramp attestation.", identity_assurance_insufficient: "This admin action requires on-ramp attestation.",
@ -247,6 +249,7 @@ const errorCodeHelp = {
entitlement_inactive: "Entitlement is inactive for this action.", entitlement_inactive: "Entitlement is inactive for this action.",
entitlement_contract_unconfigured: "Checkout is temporarily unavailable (entitlement contract not configured).", entitlement_contract_unconfigured: "Checkout is temporarily unavailable (entitlement contract not configured).",
tx_verification_failed: "Transaction not yet verifiable. Wait for chain confirmation and retry.", tx_verification_failed: "Transaction not yet verifiable. Wait for chain confirmation and retry.",
edut_id_verification_failed: "EDUT ID proof not yet verifiable. Wait for chain confirmation and retry.",
membership_verification_failed: "EDUT ID proof not yet verifiable. Wait for chain confirmation and retry.", membership_verification_failed: "EDUT ID proof not yet verifiable. Wait for chain confirmation and retry.",
quote_expired: "Quote expired. Request a new quote.", quote_expired: "Quote expired. Request a new quote.",
quote_not_found: "Quote not found. Start a new quote flow.", quote_not_found: "Quote not found. Start a new quote flow.",
@ -1057,6 +1060,7 @@ async function onCheckoutQuote() {
org_root_id: orgRootID(), org_root_id: orgRootID(),
principal_id: principalID(), principal_id: principalID(),
principal_role: principalRole(), principal_role: principalRole(),
include_edut_id_if_missing: false,
include_membership_if_missing: false, include_membership_if_missing: false,
}; };
const payerWallet = $("payerWallet").value.trim(); const payerWallet = $("payerWallet").value.trim();