Skip to main content
Get your self-hosted payment gateway running in 5 minutes. This guide covers the fastest path from zero to processing payments with OwnPay.
This guide assumes basic familiarity with web hosting. Developers looking to integrate the API should see the Developer Quickstart.

Prerequisites

Before you begin, make sure you have:
  • PHP 8.3+ with required extensions
  • MySQL 5.7+ or MariaDB 10.3+
  • Web server (Apache or Nginx)
  • SSL certificate (required for production)
Don’t have a server? Skip to Shared Hosting for cPanel/DirectAdmin installation, or VPS for Ubuntu/Debian.

Installation

A quick way to get started. Works with hosts like Hostinger, Namecheap, and SiteGround.
1

Download OwnPay

Go to the GitHub Releases page and download the latest .zip file.
2

Upload to hosting

Upload the .zip file to your web root (public_html/) using File Manager or FTP.
3

Extract and set PHP

Extract the ZIP file. Set PHP version to 8.3 in your hosting control panel.
4

Create MySQL database

Create a new database and user with All Privileges. Note the database name, username, and password.
5

Run the installer

Visit https://yourdomain.com/install and follow the 4-step wizard:
  • Requirements check
  • Database configuration
  • Admin account creation
  • Application settings
6

Set up cron job

Add a cron job to run every minute:

First login

Navigate to https://yourdomain.com/login and log in with the admin credentials you created during installation.
Change your default password immediately after first login. Enable Two-Factor Authentication under your profile for security.

Create your first brand

1

Navigate to Brands

Go to People > Brands in the admin sidebar.
2

Create a brand

Click Add Brand and fill in:
  • Brand name and slug
  • Default currency
  • Timezone
  • Contact email
3

Configure a gateway

Go to Gateways and activate a payment gateway. Enter your provider’s API credentials.
4

Test a payment

Create a payment link and complete a test transaction to verify everything works.

What’s next?

For brand owners

Multi-brand setup

Configure multiple brands with isolated data and custom domains.

Production deployment

Optimize OwnPay for production with Redis, SSL, and monitoring.

For developers

API integration

Integrate OwnPay with your applications via REST API.

Gateway plugins

Build custom payment gateway plugins.
Need help? Check our Troubleshooting guide or open an issue on GitHub.
Last modified on July 15, 2026