Skip to content

fix: make daily penalty selectable and finalize payment on confirm#48

Merged
Takeru-Habu merged 6 commits intodevelopfrom
fix/issue-47-daily-penalty-selector
Feb 21, 2026
Merged

fix: make daily penalty selectable and finalize payment on confirm#48
Takeru-Habu merged 6 commits intodevelopfrom
fix/issue-47-daily-penalty-selector

Conversation

@Takeru-Habu
Copy link
Copy Markdown
Contributor

What

  • Change contract flow to PickApps -> CreateContract -> Payment -> ConfirmContract -> Dashboard
  • Add selectable daily penalty (500-2000, step 100) and compute deposit as penalty * 7
  • Execute Stripe payment and contract creation only on final confirmation
  • Update create-contract Edge Function to accept/validate/persist penaltyPerDay
  • Merge latest develop documentation updates and align design doc with current flow

Why

  • Users need to choose their daily penalty amount instead of fixed 500
  • Payment should be finalized only when the user confirms contract details
  • Keep branch up to date with latest docs structure merged into develop

Check Lists

[x] Worked well on local environment
[x] Tests passed

ScreenShot (if you need)

Related Issues

Closes #47

@Takeru-Habu Takeru-Habu merged commit c70d215 into develop Feb 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[P1] Make daily penalty user-selectable (500-2000, step 100)

1 participant