An Interest In:
Web News this Week
- April 19, 2024
- April 18, 2024
- April 17, 2024
- April 16, 2024
- April 15, 2024
- April 14, 2024
- April 13, 2024
Tools for a B2B App?!
Hi, i have an idea of building a B2B app where a person can go to the website, submit a job, and then have other people (workers) complete the job and get paid for it. So the employee would have to deposit his money, and on the job details ask how much he wants to pay each worker, now he can choose to give him a satisfied rating and pay him, non-satisfied rating and not pay him, or ask the worker to revise ( re-do what he did wrong ), now my problem is, how would i go about handling the payments, i have an idea of each user have is own wallet and when depositing into the platform, i would add that amount to that wallet where he could spend the money, now how would i go about charging from his wallet every time he gives a satisfied rating, should i just have a function where when he gives a satisfied it immediately updates his wallet balance charging for that job the worker did and then update the worker wallet balance with his payment? or should i do it in another way?
I am going to use React & Next Js
and for database storage and user handling ( auth ) i was thinking of Supabase, since i have done an App with it and loved it.
Original Link: https://dev.to/diogovski/tools-for-a-b2b-app-2fae
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To