Download OwnPay
Install the self-hosted payment gateway on your own server. No vendor lock-in, no transaction fees, no recurring costs.
Get running in three steps
OwnPay runs on any PHP 8.3+ server with MariaDB 10.6+. Shared hosting, VPS, Docker, or bare metal - your choice.
Download & Extract
Clone the repository or download the ZIP archive and extract it to your web server.
git clone https://github.com/own-pay/ownpay.git
cd ownpay
composer install --no-dev --optimize-autoloaderConfigure Environment
Copy the example environment file and configure your database, SMTP, and gateway credentials.
cp .env.example .env
# Edit .env with your database credentials
# DB_HOST=127.0.0.1
# DB_DATABASE=ownpay
# DB_USERNAME=your_user
# DB_PASSWORD=your_passInitialize & Launch
Import the database schema, create your admin account, and point your web server to the public/ directory.
# Import the database schema
mysql -u root ownpay < database/schema.sql
# Create admin account
php database/seeds/admin.php
# Point your web root to the public/ directoryServer Requirements
OwnPay is designed to run on affordable shared hosting or a small VPS. No special hardware required.
PHP 8.3+
With extensions: PDO, pdo_mysql, mbstring, json, openssl, bcmath, gd (optional for OG images), curl.
MariaDB 10.6+
Or MySQL 8.0+. A single database with the op_ table prefix. InnoDB engine, utf8mb4 charset.
Web Server
Apache with mod_rewrite or Nginx. Point document root to the public/ directory. HTTPS strongly recommended.
Composer
PHP dependency manager for installing phpdotenv and PHPMailer. Run composer install after cloning.
Choose your preferred method
Git Clone
Clone directly from GitHub. Easy to update with git pull.
git clone https://github.com/own-pay/ownpay.git
cd ownpay && composer install --no-devZIP Archive
Download the latest release as a ZIP file. Extract and upload to your server.
Download ZIPDocker (Coming Soon)
Run OwnPay in a Docker container for quick local testing and deployment.
# Docker support planned for v0.2.0
# Follow the repo for updates