Store connections
Set up ROASaurus on Whop
Paste a Whop company API key in ROASaurus and paid payments are fetched every 5 minutes as orders, then sent to your ad platforms as purchases. A payment.succeeded webhook makes them arrive within seconds.
Before you start
- Whop access to Developer › API keys and Webhooks.
- Your storefront or landing page where you can add a script.
Steps
Add the store
In ROASaurus, open the store menu at the top of the sidebar, choose Add a store, then Whop. Enter the address your customers visit and click Continue.
You should see: Connect Whop, with Last order received: none yet, Last sync: never, the numbered setup steps and the credential fields.
Add the tracking script
Copy the script tag from step 1 of the connection page. It contains your store key. Add it to every page of your storefront or landing pages, where the ad clicks land.
You should see: Open your shop with
?roasaurus=connectedat the end of the address: the browser says "ROASaurus is connected."Paste the API key
Whop › Developer › API keys: a company API key with the permissions
payment:basic:readandmember:email:read. Paste it in API key, save and click Test connection.You should see: "Connected to Whop."
Optional: create the webhook
Whop › Developer › Webhooks: URL Your webhook URL, event payment.succeeded. Paste the secret it shows in Webhook secret and save.
Add the thank-you page snippet
The connection page shows a snippet that fires the browser purchase with the order id. Fill in the payment id and total where your confirmation page can run code. It links the order to the visitor and their ad click exactly; without it, ROASaurus matches by email or by IP address and browser.
Fetch the first orders
Press Fetch orders now. The first fetch reads the last 3 days of paid orders; after that ROASaurus fetches every 5 minutes by itself.
You should see: "Fetched n paid orders, m new." and Last sync with the time. On Getting started, Connect the store turns green.
What you should see
Paid Whop orders appear under Profit › Orders with their channel, and purchases go out to the ad platforms you connected (Data quality › Deliveries). Getting started shows Connected on with the date.
How orders arrive
Each succeeded Whop payment becomes one order. ROASaurus fetches payments created since the last check every 5 minutes, and with the webhook receives each payment at once, checking its signature with the secret.
What ROASaurus reads
Only paid orders, with their products, totals, currency, customer contact details and address. Contact details are hashed before they go to an ad platform. Refunds follow where the platform reports them. Your shop is never changed.
Common problems
"Connection failed: … Save your credentials first, then test."
"Sync failed: …" or the Connect the store step turns red
"A webhook from … arrived with a wrong token or signature."
Next step
Next: connect your ad platforms and add your costs.
Continue with Getting startedStill stuck? Email us.