openMF / openMF/message-gateway

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.

Dominant language
Java
Stars
28
Forks
84
PR merge metrics
No merged PRs in 30d

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

Contributor guide

No contributing guide indexed for this repository

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.