> ## Documentation Index
> Fetch the complete documentation index at: https://docs.replit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Whop Payments Integration

> Learn how to sell digital products, memberships, and subscriptions in your app with Whop using Agent.

export const AiPrompt = ({children}) => {
  return <CodeBlock className="relative block font-sans whitespace-pre-wrap break-words">
      <div className="pr-7">
        {children}
      </div>
    </CodeBlock>;
};

With the Whop integration, Agent adds payments to your app in one conversation, with no external setup and no API keys. Agent creates a Whop account for you, wires up checkout, and builds the payment logic. Whop is the fastest way to start selling, so it's a good fit when you want to get to your first sale quickly.

## What you can build

* Paywalls and "unlock" flows for digital content
* Membership and community access
* Subscriptions and recurring plans
* One-time digital product sales

## How it works

When you ask for payments, Agent sets up Whop in the background: it creates a Whop account for your app, connects it, and builds the checkout into your project. You don't paste in any credentials, and you don't leave Replit to get started.

Whop is one of several payment providers Replit supports. Agent helps you pick the right one for what you're building:

|                    | Whop                                         | Stripe                                        | Shopify                                          | RevenueCat                      |
| ------------------ | :------------------------------------------- | :-------------------------------------------- | :----------------------------------------------- | :------------------------------ |
| **Best for**       | Fewest steps, fastest to first sale          | Flexibility and scale                         | Physical goods                                   | Native mobile apps              |
| **Sells**          | Digital products, memberships, subscriptions | One-time payments, subscriptions, storefronts | Physical products with inventory and fulfillment | In-app subscriptions            |
| **External setup** | None to start                                | None to start                                 | None to start                                    | None to start                   |
| **Go live**        | Verify identity (KYC)                        | Connect a live Stripe account                 | Claim store                                      | App Store or Google Play review |

If you don't name a provider, Agent recommends one based on what you describe and explains the tradeoffs.

## Get started

* **Ask Agent to add payments**
  * Use a slash command on the home screen, or ask directly:
    <AiPrompt>Add Whop payments so I can sell a membership in my app</AiPrompt>

<Note>
  Whop integration requires an App with backend functionality. Select **App** from the homepage to get started.
</Note>

## Test your payments

1. Open your app's **Preview** in a new tab.
2. Go through the checkout or unlock flow you built.
3. Confirm the buyer experience end to end before you share your app.

## Manage products and pricing

Manage your offering in two ways:

* **Ask Agent**: Describe the change—new plan, different price, additional product—and Agent updates your app and your Whop configuration.
* **Use the Whop dashboard**: Log in to [Whop](https://whop.com) with the email on your Replit account to manage products, pricing, and plans directly.

## Track your balance and get paid

Sales accumulate in your Whop account. To withdraw your earnings, complete Whop's identity verification (KYC) from the Whop dashboard. You can start selling before you finish verification, but you must verify your identity before you can cash out.

<Note>
  Whop owns checkout, payment processing, identity verification (KYC), and payouts. Replit never collects your banking details or tax information.
</Note>

## Manage the integration

* Go to **Integrations > Whop** to open the Whop connector.
* From there, you can view the connection status and manage settings.

## Frequently asked questions

### Do I need a Whop account before I start?

No. Agent creates a Whop account for your app as part of the setup. You log in to the Whop dashboard later—with the email on your Replit account—to manage products and withdraw earnings.

### When do I need to verify my identity?

You can build and start selling right away. Whop requires identity verification (KYC) before you can withdraw funds, which you complete in the Whop dashboard.

### How do I change my products or prices?

Ask Agent to make the change, or edit your products and plans directly in the [Whop dashboard](https://whop.com).

### Which payment provider should I use?

Whop is the fastest way to start selling digital products and memberships with no external setup. Choose [Stripe](/references/monetization/stripe-payments) for maximum flexibility on web apps, [Shopify](/references/integrations/shopify) for physical goods, or [RevenueCat](/references/monetization/revenuecat-subscriptions) for native mobile subscriptions. See the [Monetization overview](/references/monetization/overview) to compare.

## Related documentation

* [Monetization overview](/references/monetization/overview): Compare Replit's payment integrations
* [Stripe Payments](/references/monetization/stripe-payments): Add flexible payments and subscriptions to web apps
* [RevenueCat Subscriptions](/references/monetization/revenuecat-subscriptions): Add in-app subscriptions to mobile apps
* [Managing your connectors](/replitai/managing-connectors): Configure and manage connectors
