/sspanel-deposit

A deposit project using alipay

Primary LanguageCSSGNU Lesser General Public License v3.0LGPL-3.0

Shadowsocks Panel Deposit

An Panel to auto-progress shadowsocks panel deposit.

Support

ss-panel-v3-moded

金沙江 API

Usage

Run with source code

  1. Frist, Install python-pip and git
# CentOS
yum install epel-release -y
yum install git python-pip -y
  1. Run
git clone https://github.com/Indexyz/sspanel-deposit.git
cd sspanel-deposit
pip install -r requirements.txt
  1. Config your setting (like mail key and apiid)
nano Config.py

Config Values

DB_HOST         // MySQL Host
DB_PORT         // MySQL Port
DB_USER         // MySQL User
DB_PASS         // MySQL User Password
DB_BASE         // sspanel's database
DB_PAYBASE      // deposit event's database

SITE_ADDR       // Your site address (For callback)
ALIPAY_ID       // Payment API ID
ALIPAY_KEY      // Payment API Key
MAIL_KEY        // Mail key (Mailgun)
MAIL_DOAM       // The domain you want to send mail
  1. Run server
python Alipay-Panel.py

Run with docker

# Using -e to set your config
docker run -p 8080:5000 \
       indexyz/sspanel-deposit