#1130 — Updates the fees and pricing section

Repo: Twill-AI/twill-ai-ui State: open | Status: open Assignee: raymondehizoba

Created: 2026-03-05 · Updated: 2026-03-19

Description

Context

Pricing is currently a single wizard step that bundles statement analysis, processing rates/fees, and equipment selection. This ticket cleans up the pricing step and extracts equipment into its own step.


1. Extract Equipment into its own wizard step

Move EquipmentSoftware and EquipmentSoftwareSummary out of the pricing step entirely.

  • Create domains/merchant/components/MerchantApplicationForm/EquipmentStep/EquipmentStep.tsx
  • Move PricingStepContext (equipments state) into EquipmentStep — rename to EquipmentStepContext
  • Register the new step in MerchantApplicationForm.tsx after pricing: name="equipment" label="Equipment"
  • Remove the role-based name={merchant ? 'equipments' : 'pricing'} hack — pricing is always “Pricing”, equipment is always “Equipment”
  • Add equipmentStepValidators using createStepValidators scoped to ['inventory']

2. Rebuild ProcessingRatesFees

Replace the current 4-tab structure (Templates / Flat Rate / Interchange+ / Surcharge / Tiered) with:

Top of form:

  • Template selector — loads an existing FeeConfigEntity into the form fields
  • Save Template button — accessible to partner and master

Application Type dropdown — 8 options: Interchange · Cash Discount · Flat Rate · Surcharge · Tiered · Dual Pricing with PIN Debit Pass-through · Dual Pricing with PIN Debit Flat Rate · CNP v CP

Discount Duration dropdownDaily / Monthly, labeled “(Luqra only)”

**Dynam

Notes

Add implementation notes, blockers, and context here

Add wikilinks to related people, meetings, or other tickets