Payments & Monetization

Turn your chat platform into a revenue-generating business with ChatNet's built-in monetization features. This section explains how to configure Stripe and PayPal payment gateways, set up the Membership Plans plugin to create tiered subscription levels with different feature access, and implement the Wallet plugin for a virtual currency system. Learn how to create premium features that users pay to access.

Stripe Integration

Navigate to Admin > Wallet Settings or the Wallet plugin settings

API Keys Setup

  1. Create account at Stripe Dashboard
  2. Navigate to Developers > API Keys
  3. Copy Publishable Key and Secret Key
  4. For production, use live keys
SettingDescription
Stripe EnabledYes
Publishable Keypk_live_... or pk_test_...
Secret Keysk_live_... or sk_test_...

PayPal Integration

Navigate to Admin > Wallet Settings or the Wallet plugin settings

Client ID & Secret

  1. Log in to PayPal Developer
  2. Create a new app
  3. Copy Client ID and Secret
SettingDescription
PayPal EnabledYes
Client IDYour PayPal Client ID
Client SecretYour PayPal Secret
ModeSandbox (testing) or Live

Membership Plans Plugin

The Membership plugin allows you to create tiered access levels.

Installing the Plugin

  1. Navigate to Plugins > Marketplace
  2. Find "Membership Plans" in the marketplace
  3. Click Install
  4. Activate the plugin

Creating Membership Plans

Navigate to Admin > Membership > Plans

FieldDescription
Plan NameDisplay name (e.g., "Premium")
PriceMonthly price
CurrencyPayment currency
FeaturesJSON object of enabled features
StatusActive or Inactive
DefaultSet as default for new users

Feature Limits Per Plan

FeatureDescription
can_send_imagesAllow image uploads
can_send_gifAllow GIF sharing
can_send_filesAllow file attachments
can_send_videosAllow video uploads
can_send_stickersAllow stickers
can_send_codesAllow code snippets
can_send_audiosAllow audio clips
can_start_video_callsAllow video/audio calls
can_start_private_messagesAllow DMs
upload_file_size_limitMax file size in MB
message_lengthMax message characters
room_creation_limitMax rooms user can create
disable_adsHide advertisements

Managing Subscriptions

Navigate to Admin > Membership > Subscribers

Wallet Plugin

The Wallet plugin enables a virtual currency system.

Enabling Wallet System

  1. Install and activate the Wallet plugin
  2. Configure payment providers (Stripe/PayPal)
  3. Set minimum deposit/withdrawal amounts

User Features

FeatureDescription
DepositAdd funds via Stripe/PayPal
BalanceView current balance
TransactionsView transaction history
Membership RenewalPay for plans with wallet

Admin Features

FeatureDescription
View BalancesSee all user balances
Add CreditsManually credit users
WithdrawalsProcess withdrawal requests
Transaction LogComplete transaction history