Whop Extension Starter
Guides

Checkout and billing

Selling access and managing subscriptions.

Checkout

Non-paying users are sent to the checkout page, which renders Whop's embedded checkout:

<WhopCheckoutEmbed planId={planId} />

The embed keeps the user on your page. If WHOP_PLAN_ID isn't set, the page shows a setup note instead, and a hosted-checkout link is always available as a fallback.

Billing

POST /api/extension/billing-portal looks up the user's active membership and returns its Whop manage_url, so the popup's "Manage billing" button opens Whop's hosted billing. If no membership is found, it falls back to the Whop memberships page.

On this page