SweetPayments is a payment gateway targeted for Counter-Strike: Global Offensive game servers. It allows server owners to monetize their servers by selling premium subscriptions to players. Game server integration is performed via a sourcemod plugin that server owners download through the dashboard¹.
Each subscription can be customized (duration, sourcemod flags, etc) and can be purchased by players at an online shop accessible by an URL like shop_name.sweetpayments.com
Features Paypal payments and Steam authentication.
Built with Laravel 5.8 and Bootstrap 4.
¹ You can view the source code for the sourcemod plugin in the /storage/plugin/ folder of this repository.
Public
Dashboard
- Dashboard
- Servers
- Servers (add)
- Subscriptions
- Subscriptions (edit)
- Sales
- View specific sale
- Withdrawls
- Settings
Example Webshop
Requires:
- PHP 7.1+
- Composer
Steps:
- Clone this repository.
- Run composer install.
- Rename .env.example to .env
- Run php artisan key:generate
- Open .env and fill the following entries:
- DB_CONNECTION (Enter your database managment system here: mysql, pgsql, etc)
- RDS_HOSTNAME, RDS_HOSTNAME, RDS_PORT, RDS_USERNAME, RDS_PASSWORD (Database credentials)
- STEAM_API_KEY (Insert your steam API key, you can it from here)
- ADMIN_STEAMID64 (Insert your SteamID64; you can find yours using a service like steamid.io/lookup)
- Create database tables: php artisan migrate:refresh
- Start development server: php artisan serve
- Access project at localhost:8000
⚠️ This project is not complete (although it is pretty close to being so) and was never meant to be made public. No support will be provided and there will be no further development from my end.
This project is being released under the MIT license meaning you can use it for commercial purposes.
- Administrator dashboard
- Client ticket support
- Paysafecard integration
SweetPayments is not meant to be self-hosted by clients. The business plan I had in mind was taking a cut in each payment processed and providing the infrastructure needed (akin to a SaaS model).