Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • A Ahad Mobile
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • holatech
  • Ahad Mobile
  • Merge requests
  • !65

fix(lending): block pay-now repay above the quoted maximum

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Khanh Pham requested to merge lending-local into develop Sep 15, 2026
  • Overview 0
  • Commits 5
  • Pipelines 3
  • Changes 56

The Pay-now screen only checked that the typed repay amount was a positive decimal, so a customer could submit more than they owe and receive a raw REPAY_EXCEEDS_DEBT 409 from the server. Cap the typed amount at the quote's maxAmount, disable Confirm, and show an inline hint. MAX is unaffected: it is a mode the server floors to the live debt, not a number typed against the quote.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: lending-local