Apply sms cost to client - deduct from savings account

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
backend, payments

Research direction

No files, tests, or entry points are identified in the issue. Start by locating the successful SMS-send flow and the client's savings, overdraft, and GL-account handling; done means charging only successful sends while enforcing the stated balance rules and recording the fee against an income account.

Written by the indexing model from the issue text.

Description

As a system admin, i would like to charge clients to whom message is sent some small fees to buy credits with gateway providers.

This fees should be charged (deducted from client's account) only on successful sending of sms. And if a client is enabled for sms, then the system should first check if the client has enough savings balance from which the sms charge will be deducted. The system should be possible to deduct charge even if the client has only the minimum balance for savings account maintenance. And if overdraft is enabled for the client's savings account then it can deduct at any time as long as overdraft limit is not reached.

This charge should be able to map with a GL Account for record - which is an Income Account

Dominant language
Java
Stars
28
Forks
84
Avg merge
6m
Merged PRs (30d)
1

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openMF/message-gateway

All issues in openMF/message-gateway

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.