Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
July 21, 2022 05:02 pm GMT

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

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To