I'm working on shopping mobile application. The application is similar to ebay it have customer and seller. When user create account they can either create account as seller or customer. The payment will be by paypal each user need to provide their paypal account
(Seller Paypal & customer PayPal) so the money can be trasfared from the customer to the seller. While I was creating my database I got abit confused at the payment part and how to create database for it. Should I create two diffrenet payment tables one for customer and one for seller?
luckyme_
0
Newbie Poster
Recommended Answers
Jump to PostI'm not an expert in the requirements of recording financial transactions but I wonder why two tables would be needed, they'd each mostly be a duplication of the other.
One table listing buyer, seller, date, auction, sale amount and whatever other details are needed would seem adequate.
All 3 Replies
hericles
289
Master Poster
Featured Poster
luckyme_
0
Newbie Poster
hericles
289
Master Poster
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.