Modules@revojs/billing

Payments without touching card data.

Take one-time payments and subscriptions through hosted checkouts, hand customers the provider portal and react to verified webhooks with typed hooks. Providers are declared like databases, Stripe ships as one of them.

Open on npm

What it handles

Pluggable payment providers
Hosted checkout and portal
Verified, refetched webhooks
Payment lifecycle hooks
Start here
import { useBilling } from "@revojs/billing";

const { stripe } = useBilling(scope, "pilot-app");

const { url } = await stripe.createCheckout({
    reference: organization.id,
    email: account.email,
    mode: "payment",
    items: [{ price: "price_report", quantity: 3 }],
    successUrl,
    cancelUrl,
});

Keep exploring

Related modules

@revojs/vue

Bring Vue rendering, nested layouts, client navigation and server-aware data loading into the revojs route system.

@revojs/ui

A compact Vue component library with semantic themes, Iconify integration and accessible primitives designed to be composed.

@revojs/translate

Localize copy and route paths together, with locale detection and generated types shared across server and client rendering.