Skip to main content

Web Paywall Links

⚠️Beta Feature

RevenueCat Billing, the RevenueCat Web SDK, and Web Paywall Links are currently in beta.

Overview

Use Web Paywall Links to allow customers to purchase a RevenueCat Billing subscription directly without having to write any code. Simply append a customer's App User ID to the provided URL and share the link with the customer.

Get Started

  1. Create a RevenueCat Billing App
  2. Add the RevenueCat Billing Products you want to serve through your Web Paywall Link
  3. Create an Offering with those Products
  4. Visit that Offering's details page and click on the Web Paywall Link tab
  5. Finally, click on the Create a Web Paywall Link for this Offering button

Choose a RevenueCat Billing app from the dropdown if you have more than one

Package Selection page

The first page your customers will see when accessing your Web Paywall Link is the Package selection page. In this page your customers can select one of the products included in your offering.

Here is an example:

You can customize the:

  • The header
  • The subheader
  • Choose to show or not the product description (check the product setup step for more info)
  • The terms and conditions URL

Success page

After subscribing the Web Paywall Link allows you to congratulate the user in 2 ways:

  • Show a download page hosted by RevenueCat
  • Redirect to any URL you like

Show a download page

If you choose to show a download page here's how it will look like:

You can customize the:

  • The header
  • The subheader
  • Choose to show or not the app download buttons
  • Configure the links for
    • App Store
    • Play Store

Redirect to a custom URL

In this case, right after purchasing your product, the customer will be redirected to the URL that you specify in the Web Paywall Link configuration.

Once you are ready, click Save and your changes will be applied immediately.

⚠️Immediate apply

As soon as you click save, any subscriber visiting your Web Paywall Link will see the changes immediately.

You can always run tests by creating a Web Paywall Link for another offering.

Once you finalize your setup you will receive 2 links:

  • A production URL that looks like https://pay.rev.cat/<someProductionTokenWeGenerate>/<yourAppUserId>
  • A sandbox URL that looks like https://pay.rev.cat/<someSandboxTokenWeGenerate>/<yourAppUserId>
❗️Do not send the sandbox URL to customers

The Sandbox URL allows you to test purchases using Stripe test card numbers. Do not distribute this link or whoever will use it will be able to subscribe to your application for free using one of the Stripe testing cards.

⚠️Use one unique App User ID per customer

RevenueCat Billing works with identified customers. You need to specify a unique app user id for each one of the subscribers you want to reach with this link. You can read more about this requirement here.

If you don't add an App User ID to the link it will redirect to https://www.revenuecat.com/.

URL parameters

If you already have your customer's email address, use email to preset an email address on the payment page: https://pay.rev.cat/<someProductionTokenWeGenerate>/<yourAppUserId>?email=<customerEmail>