Skip to main content

Real-World Example

ABC Collections registers for YouNegotiate for the first time. The user enters their name, email address, password, accepts the Terms & Conditions, completes recaptcha verification, and submits the registration request. The system sends an email verification link to the provided email address. After the user verifies the email address, the system creates the initial company user account and grants access to the onboarding flow. The user completes the company profile, including company identity and business contact information. The platform submits the legal company name and Tax ID/TIN to Middesk for KYB verification. The company profile cannot proceed until Middesk confirms a valid verified match between the company name and TIN. Once the business identity is verified, the user selects a membership plan and submits billing information. After successful payment processing and membership activation, the user is redirected into the Set Up Wizard to complete required setup steps before file upload access and workflow processing are enabled.

Registration And Activation Flow

  1. Public registration request: The user submits their name, email address, password, recaptcha verification, and Terms & Conditions acceptance. Gate: registration request is accepted.
  2. Email verification: The platform sends an email verification link. Gate: the email address must be verified before onboarding access is granted.
  3. Initial account creation: After successful email verification, the system creates the initial company user account and starts the onboarding flow. Gate: authenticated onboarding session is established.
  4. Company profile setup: The user completes the company profile, including business identity, address, contact information, website, business category, and operational details. Gate: all required company profile fields are completed.
  5. Business verification (KYB): The platform submits the legal business name and Tax ID/TIN to Middesk for verification. Gate: Middesk must return a verified company name and TIN match before onboarding can continue.
  6. Membership plan selection: The user selects a membership plan. Gate: inactive membership record is created for the selected plan.
  7. Billing and payment activation: Payment details are tokenized through Basis Theory, payment is processed through Tilled, and membership is activated only after successful payment confirmation. Gate: active membership status is established.
  8. Set Up Wizard routing: After membership activation, the user is redirected to the Set Up Wizard to complete required setup items. Gate: required setup evaluation is completed.
  9. Required setup completion: The user completes required setup items such as merchant processing, pay terms, Terms & Conditions defaults, import headers, and About Us configuration. Gate: required setup steps are complete.
  10. Workflow access enabled: After all required setup steps are complete, the user receives file upload access and normal creditor workflow access.

Required Setup After Registration

Required before file upload access and workflow processing are enabled:
  • Merchant payment processor: The company must have an active or verified merchant processor configuration.
  • Pay Term Offers: Required pay-term percentages and first-payment timing must be configured.
  • Terms & Conditions: A default Terms & Conditions profile must exist.
  • Import Header Profiles: A CSV/import header profile must exist for account import mapping.
  • About Us Profile: A default About Us profile must exist for consumer-facing company information.
Optional setup items:
  • Sub Accounts.
  • SFTP.
  • Logo Profile & Embed Code.

Visual Flow

How It Should Work

  • A user should register using a valid name, email address, password, recaptcha verification, and Terms & Conditions acceptance.
  • The platform should require email verification before onboarding access is granted.
  • The system should create the initial company user only after successful email verification.
  • Company profile setup should collect required business identity and operational information.
  • The platform should verify the legal business name and Tax ID/TIN through Middesk before onboarding can continue.
  • Membership activation should occur only after successful Basis Theory tokenization and successful Tilled payment processing.
  • The user should be routed into the Set Up Wizard immediately after membership activation.
  • The user should not receive file upload access until all required setup steps are complete.
  • Returning users should resume onboarding at the next incomplete required step.
  • Returning users should only receive workflow access after all required onboarding and setup requirements are complete.

How It Should Not Work

  • It should not create an authenticated company account before email verification is completed.
  • It should not allow onboarding progression without verified email status.
  • It should not allow company profile completion when Middesk verification fails or returns an unverified TIN result.
  • It should not activate membership without successful payment processing.
  • It should not allow file uploads or account workflow processing before all required setup steps are complete.
  • It should not allow operational workflows before merchant processing, pay terms, import headers, Terms & Conditions, and About Us defaults are configured.
  • It should not allow users to access another creditor company’s data after authentication.

Developer Notes

  • RegisterPage should only create the onboarding request and initiate email verification before authenticated onboarding begins.
  • The initial company user account should only be created after successful email verification.
  • CheckProfileCompleted should redirect incomplete company profiles into the onboarding flow before protected workflow areas become available.
  • CompanyProfile should verify the legal business name and TIN through Middesk and only mark the company as verified after a successful verified match response.
  • MembershipPlan should create the inactive membership record.
  • BillingDetails should activate membership only after successful Basis Theory tokenization and successful Tilled payment processing.
  • SetupWizardService should determine whether required setup steps remain incomplete before workflow access is granted.
  • Returning authenticated users should resume onboarding at the next incomplete required step until onboarding and setup requirements are complete.
  • routes/creditor/auth.php
  • routes/creditor/index.php
  • app/Livewire/Creditor/Auth/RegisterPage.php
  • app/Livewire/Creditor/Auth/LoginPage.php
  • app/Livewire/Creditor/Forms/Auth/RegisterForm.php
  • app/Http/Controllers/RedirectIfAuthenticatedController.php
  • app/Http/Middleware/CheckProfileCompleted.php
  • app/Http/Middleware/ActivePlan.php
  • app/Livewire/Creditor/AccountProfile/CompanyProfile.php
  • app/Livewire/Creditor/AccountProfile/MembershipPlan.php
  • app/Livewire/Creditor/AccountProfile/BillingDetails.php
  • app/Services/SetupWizardService.php
  • app/Livewire/Creditor/SetupWizardPage.php
Last modified on May 27, 2026