Payback is an e-commerce site where people can buy and sell products. Users can communicate with each other using build-in messenger. To understand how reliable a seller is, users can view all reviews about that particular seller (a review can be left only after the product has been purchased).
Initially, access to the site is read-only. Users must authenticate in order to perform any actions, such as buying or selling products.
Disclaimer: Payback is a pet project. All users and products presented on the site are not real, their photos, descriptions, etc. are obtained from public APIs.
The payment system is working in test mode.
You can communicate with other users directly on the site.
- Sign in
- Go to the page of the user with whom you want to create a chat. Let's say it's user #11
- Click "Write a message"
If everything goes well, you will be redirected to the chat page
After that, you can type a message in the text field and click on the blue arrow to send it.
If your interlocutor writes a message, you will see it in real time.
A list of all chats is available on the chats page.
The payment system works in test mode, so the real payment won't be made. You can buy a product just for proof of concept.
- Sign in
- Go to the page of the product that you want to buy. Let's say it's product #35
- Click "Buy" and follow the instructions provided above the "Buy" button to make a test payment
If everything goes well, you will be prompted to leave a review. From now on, this product is sold. The balance of the user who put this product up for sale will be increased by the price of the product minus service charges.
You can put your own product up for sale so other users can buy it.
- Sign in
- Go to sell page
- Specify product information:
- Select a category by clicking on it
- Upload a photo of your product by clicking "Upload". After the photo uploads, a "Continue" button appears. Click it to proceed.
- Specify a title (optional), then click "Continue"
- Specify a description (optional), then click "Continue"
- Specify a price, then click "Continue"
- Select a product status by clicking on the appropriate button. If you want premium status, please refer to the buying products section for more information about how to make a payment
- Select a category by clicking on it
If everything goes well, you will be redirected to the profile page and your product will appear here. If your product has a premium status, it will also appear on the home page.
After buying a product, you can leave a review about it and about the seller.
- Buy a product
- After the review modal appears, enter your review text and select how many stars you want to give to the seller (for example, if I want to give 4 stars, I click on the fourth star)
- Click "Submit"
If everything goes well, the review will be created. You can find it by clicking the "reviews" link on the seller's page.
Anyone can view home page, category page, product page, user page and review page. But if you want to buy products, sell products or create a chat with someone, you first must sign in.
- Go to sign in page
- Click on one of the auth providers
- Follow the steps required to authenticate with the selected auth provider
If everything goes well, you will be redirected to the profile page.
- Go to profile page
- Click "Options"
- Click "Sign out"
Payback is available under the MIT license. Payback also includes external libraries that are available under a variety of licenses.