File: app/(merchant)/settings/page.tsx, lines 229-232
The "Save Fee Rules" button calls notify.success('Fee rules updated') but never sends the data to the backend. Implement the actual API call to PATCH /api/merchants/:id/fees with the fee type, rate, and threshold. Show a loading spinner during submission and disable the button to prevent double submission.
Labels: Pages
File:
app/(merchant)/settings/page.tsx, lines 229-232The "Save Fee Rules" button calls
notify.success('Fee rules updated')but never sends the data to the backend. Implement the actual API call toPATCH /api/merchants/:id/feeswith the fee type, rate, and threshold. Show a loading spinner during submission and disable the button to prevent double submission.Labels: Pages