#235 — Implement Virtual terminal / Subscription widget
Repo: Twill-AI/twill-ai-ui State: closed | Status: done Assignee: raymondehizoba
Created: 2025-03-14 · Updated: 2025-04-04
Description
Implement Single Payment/Subscription flow from low-fidelity design with direct interactions with PayEngine (no need for storing/interacting with db):
AC:
Transaction Tab:
- Add a customer
- Empty state for customer selection
- Create/Tokenize Payment method
- Empty state for Payment method selection
- Interactive Buttons
- Success/failure toast notifications
Subscriptions Tab:
- Create plan
- Select plan (get list from PayEngine)
- Set/Preview details
- Submit subscription creation
Error handling (toast notifications):
- Invalid amounts
- Failed tokenization (+Reason)
- Failed transactions (+Reason)
- Network errors
Notes
Add implementation notes, blockers, and context here
Related
Add wikilinks to related people, meetings, or other tickets