Setting up Payments (OxaPay)
Cyrus Panel includes a built-in billing system supporting crypto payments through OxaPay, allowing users to top up credits and purchase server resources automatically.
1. Get your OxaPay Merchant Key
- Sign up at OxaPay.
- Go to your Merchant Dashboard.
- Create a new Merchant and copy your Merchant API Key.
2. Configure Billing in Cyrus Panel
Update your .env configuration file:
# Enable Payments
PAYMENTS_ENABLED=true
# Set price per 10 credits in USD (e.g., $0.20 per 10 credits)
CREDITS_PRICE_PER_10=0.2000
# OxaPay Gateway Configuration
PROVIDER_OXAPAY_ENABLED=true
OXAPAY_API_KEY=your_oxapay_merchant_api_key_here
Restart Cyrus Panel to enable payment checkout buttons in the user dashboard.