CreateYourVPN Academy

Monetization: accepting payments

The Monetization section in CreateYourVPN: connecting lava.top, automatic subscription grants after payment, and the payment journal.

In the previous lesson we put together a price list. The Monetization section turns it into a working shop: connect a payment provider — and a payment becomes a subscription on its own, without you in the loop.

How it works

Your clients' money goes directly to you: CreateYourVPN is not a middleman in the payments and takes no commission on your sales. You connect your own payment provider account, and the flow looks like this:

Client on the storefront → "Pay" → provider's page → payment
Provider → payment notification → CreateYourVPN → plan granted automatically

Payments are accepted through lava.top: cards, SBP and PayPal, in roubles, dollars and euros.

Accepting payments is part of the paid Max tier: it's what switches the storefront into selling mode. Max and platform pricing are covered in the final lesson.

Connecting lava.top

On the lava.top card press "Connect". The full walkthrough with screenshots is in the lava.top guide; in short, it's three steps:

Paste your lava.top API key. Create it in lava.top (Integrations → API), paste it into the "lava.top API key" field, and save. The key is checked right away.

Add the webhook in lava.top. After saving, the form shows a webhook URL and a webhook key. Add a webhook in lava.top with that URL, tick all the event types, and paste the webhook key as the API key of your service. Payment notifications now reach CreateYourVPN.

Link offers to your plans. In each plan, pick the matching lava.top offer and billing period.

What's left: make sure the "Accept payments" checkbox is on. The status is visible right on the provider card: "Connected", "Connected · paused", or "Not connected". If the webhook key may have leaked, the "Rotate webhook key" button issues a new one; "Rotate webhook URL" issues a new address, and the old one stops working immediately.

How a payment finds the client

The client presses "Pay" in their cabinet on your storefront. At that moment CreateYourVPN creates the payment in lava.top itself, so it already knows who is paying and for which plan: the client doesn't need to link anything. Once lava.top confirms the payment, the plan is granted, and the days are added on top of whatever the client still has left. With a subscription offer, lava.top charges the client automatically, and every renewal extends access by itself.

One payment is never granted twice: repeated and duplicated provider notifications are collapsed automatically.

The payment journal

Further down the page — the "Payment journal": every provider notification and every manual grant. Each event shows the amount, payer hints (such as email), the matched user, the plan, and a status:

StatusWhat it means
ProcessedThe payment was applied, the subscription granted
UnmatchedThe system couldn't tell whose payment it is or for which plan
Needs attentionE.g. a payment for a client you disabled manually
SkippedA test event — no real grant happened
FailedThe notification couldn't be parsed
ReceivedJust arrived, still being processed

"Unmatched" payments

"Unmatched" is your inbox: this is where, say, a purchase made straight from your lava.top page, bypassing the storefront, lands. Such payments aren't lost. Press "Match", pick the cluster, the user, and the plan — then "Match & grant". The system grants the subscription, and if it was a subscription payment, it remembers the pairing: the renewals of that subscription will match on their own.

Pausing and disconnecting

  • Untick "Accept payments" — acceptance pauses: new notifications are ignored, the payment buttons on the storefront go dark, and new registrations stop being paid — almost like disconnecting, only the settings and the journal stay put. Handy while you sort something out.
  • "Disconnect" removes the connection entirely. Clients and their subscriptions are unaffected, but the payment buttons on the storefront go dark, and the storefront falls back to open or manual mode (lesson 11). The payment journal is kept.

Remember

  • Money goes directly to you through lava.top; CreateYourVPN only grants subscriptions on payment notifications.
  • Connecting lava.top is three steps: paste the API key, add the webhook with the key from the cabinet, link offers to your plans.
  • The payment is created for a specific client and plan, so it finds the client by itself; the client links nothing.
  • The payment journal is the full history; "Unmatched" is fixed with the "Match" button, and a matched subscription renews on its own.
  • Disconnecting a provider doesn't touch clients — only the payment buttons go dark.

Next

One section remains — your settlement with the platform itself: balance, pricing, and Pro.

On this page