Loading...
Add Google login, usage limits, and payments to any website in minutes — not days. No backend required.
Takes 5 minutes · No credit card required
Sign up, drop in 2 lines of code, start earning.
Sign in, fill in your app details and Dodo product IDs. Download your config file instantly.
Drop one script tag into your HTML. Attach MoneyBar to any button. Auth, limits, paywall — all handled.
Add your webhook URL in Dodo Payments. Users pay, MoneyBar grants access automatically.
One-click sign in. Premium status synced across devices.
Server-side counters. Works in incognito. Impossible to game.
Dodo Payments checkout. One-time or subscriptions. International.
Renewals, cancellations, resubscriptions — automatic.
5 minutes to your first paying customer.
Manage your MoneyBar integrations
Customize and preview. Each state shows what your users see and what MoneyBar does for you.
Shown as "PDF Exports: 2/3" in the bar
0 = always paywalled
Links appear in the bar. Use for Help, FAQ, Pricing, etc.
Add your Dodo Payments product IDs. You can find them in the Dodo dashboard.
Where to find product IDs: Dodo Payments dashboard → Products → click a product → copy the ID (starts with pdt_)
Add this code to your site, then continue to activate.
userContext fields you can use:
Dodo Payments → Webhooks → Add endpoint:
Subscribe to: payment.succeeded subscription.active subscription.renewed subscription.updated subscription.cancelled
Set your key validity and connect your webhook to generate your config file.
How long your security key stays valid before renewal.
Found in Dodo dashboard → Webhooks → your endpoint → Signing Secret.
Follow these steps to test MoneyBar on your site.
Copy the config file to your project
Place moneybar-config.js in the same folder as your HTML file.
Copy these into your HTML
Add the script tag and attach MoneyBar to your action button. The userContext object gives you live plan data from Dodo — use it to gate features or pass to your own backend.
</body>
Deploy to your domain
Both files must be served from — the domain you registered.
localhost for local testing.
Common errors & fixes
| Problem | Fix |
|---|---|
| MoneyBar not appearing | Missing type="module" on the script tag, or wrong path to moneybar-config.js. |
| Invalid key | Key expired or domain doesn't match. Check the domain or renew from My Apps. |
| Invalid domain | www.yoursite.com ≠ yoursite.com — must match exactly what you registered. |
| Paid but still Free | Webhook not set up or wrong signing secret. Add the webhook URL in Dodo and paste the signing secret in the Activate step. |
| attachToButton not firing | Script runs before moneybar:ready fires. Move your script tag below the MoneyBar <script> tag. |