Skip to Content
BytePanelBytePanel

BytePay

Connect BytePanel to BytePay, NodeByte's billing platform.

With BytePay, customers sign in to the panel with their BytePay account, and BytePay creates and manages their servers. BytePay includes a BytePanel server module, so there's nothing to install.

Set it up

  1. In BytePay, create a confidential OAuth client with the redirect URI https://panel.example.com/api/auth/callback/bytepay.
  2. Set these in apps/web/.env and restart the panel:
BYTEPAY_URL=https://billing.example.com
BYTEPAY_API_URL=https://api.billing.example.com
BYTEPAY_CLIENT_ID=...
BYTEPAY_CLIENT_SECRET=...
  1. In the panel, go to Admin → Settings → Billing, choose BytePay, enter your store URL and generate an API key.
  2. In BytePay, add a BytePanel server with the panel's API URL and key, then create products that use it. Each product picks a plan, and optionally a game and location. You can let customers choose the game and location at checkout.

Customers then see BytePay's products on the panel's New server page, and finish their order in BytePay.

Staff accounts always sign in with their panel password. BytePay sign-in is only for customers.

Edit on GitHub

On this page