1

Sign in

The app has to know who is buying before it sells anything. Enter any email, and the app gives your demo account a user ID.

This stands in for a real sign-in. There is no password, and no email is sent.
2

Pick a plan

The app's server asks Whop to start a checkout for the plan you pick. It adds your user ID to the checkout, so the app can tell later who paid.

3

Pay with a test card

You pay in Whop's checkout form, which loads inside this page. Your card details go straight to Whop and never reach this app.

4

Come back from Whop

After the payment, Whop sends you back to this app with the result in the address bar. The page only shows a message and changes nothing.

5

Whop tells the server

Whop sends the app's server a message about the payment, called a webhook. The server checks the message really came from Whop, finds your user ID in it, and saves that you are on Pro.