https://github.com/influxow/xsolla-marketplace
https://github.com/influxow/xsolla-marketplace
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/influxow/xsolla-marketplace
- Owner: InfluxOW
- Created: 2020-08-22T15:39:28.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-08T03:51:10.000Z (over 4 years ago)
- Last Synced: 2025-01-13T16:47:50.374Z (4 months ago)
- Language: PHP
- Size: 506 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

[](https://codeclimate.com/github/InfluxOW/XSolla-Marketplace/maintainability)
[](https://codecov.io/gh/InfluxOW/XSolla-Marketplace)## Xsolla Marketplace
This is a final project of Xsolla Summer 2020 Backend School.\
Task: https://github.com/p-sanachev/summer-school-be-2020-finalhttp://influx-marketplace.herokuapp.com
## Requirements
You can check PHP dependencies with the `composer check-platform-reqs` command.* PHP ^7.4
* Extensions:
* mbstring
* curl
* dom
* xml
* zip
* sqlite
* json
## Development Setup
1. Run `make setup` to setup the project.
2. Run `make seed` to seed the database with fake data.
3. Run `make test` to run tests.## Seller steps
1. Register an account with "seller" role.
2. Check if there is a game you want to sell keys for. If no, then store it.
3. Add new keys for an existing game at one of the available distributors.
4. Wait. Check your balance after a while. You will also receive a message to your server (when I'll implement feature to customize it LULW).## Buyer steps
1. Register an account with "buyer' role.
2. Select a game you want to buy a key for and a distributor. Send request to purchase endpoint, it'll make key reserved for you.
3. You will receive your key after payment confirmation. To confirm it, send received token and your credit card number to the specified billing provider.
4. If you won't confirm your purchase within 1 hour, key will become available for purchase to another users again.
5. If your data was correct then you'll receive an email with the key.## Additional information
There's also separate requests to check available platforms and distributors for them.