← All guides

Stores and SaaS · ~8 min

Connect payments so sales match visits

Three parts: tracking on your site, Connect in RevFast, then ros_visitor_id on checkout. Open the guide for your provider for exact dashboard clicks and code.

  1. 01

    1. Tracking before checkout

    Settings → Site → paste the snippet on every public page → publish → open your homepage once. The ros_uid cookie must exist before the buyer pays. Without it, webhooks still record revenue but cannot tie the sale to a journey.

  2. 02

    2. Pick your provider guide

    Settings → Payments → Connect, or open /guides from the Docs link. Each guide walks through keys, webhooks, and code: • Stripe — metadata + payment_intent_data.metadata on Checkout Session • Polar — checkout metadata → order.paid (Raw webhook) • Lemon Squeezy — checkout_data.custom • Dodo — checkout metadata → payment.succeeded • Razorpay — order notes + Checkout options.notes • Paytm — udf1 + Payment Status webhook (https:443) • Shopify — custom app; no manual ros_uid (app handles it)

  3. 03

    3. Webhook URL (unique to your workspace)

    After Connect, copy the full Webhook URL from RevFast — it includes ?site= and ?key=. Stripe, Polar, Lemon, Dodo, and Razorpay: we register it automatically on your public https URL. Paytm: you paste it in their dashboard every time.

  4. 04

    4. Test and confirm

    Run a test payment in the provider’s test mode. Within about a minute, RevFast → Revenue should show the order next to the pages that visitor viewed. If not, check the provider’s webhook delivery log (HTTP 200?) and that checkout sent ros_visitor_id.

Install with AI

Paste into Cursor or Copilot — swap in your real Site ID first.

Show me how to connect my payment provider to RevFast for last-touch attribution: tracker.js and ros_uid first, Settings → Payments Connect, full webhook URL, pass ros_visitor_id per provider guide, test order in Revenue.

Related

Stuck? Email hello@revfast.app or open onboarding → Need help?