Skip to main content
ArcenEmbed is a drop-in billing surface that renders checkout, portal, plan management, and payment flows. Configure it in the dashboard and render it anywhere in your React app.

Props

Views

Portal (initialView="portal")

The default view. Shows the customer’s active plan, usage meters, add-on status, and invoice history. From here, customers can upgrade, downgrade, cancel, or pay invoices.

Checkout (initialView="checkout")

Shows plan selection and payment flow for new subscriptions or upgrades. Use when a new customer needs to pick a plan:

Unsubscribe (initialView="unsubscribe")

Shows the self-serve cancellation flow with confirmation:

Payment (initialView="payment")

Shows the payment confirmation and token approval screen. Typically used when you need to pre-select a plan and skip the selection step:
When mode="modal", ArcenEmbed renders as a full-screen overlay automatically — no separate open prop is needed. Render it conditionally when the customer should see it:

Inline mode

When mode="inline", ArcenEmbed renders as part of the page layout:

Server-issued tokens

For stronger security, mint a token on your backend and pass it to ArcenEmbed. When accessToken is set, the embed uses it directly — no ArcenPayProvider session is needed for this instance:

Handling success

Watch the view change to "success" to run logic after a payment or activation completes:
Last modified on September 9, 2026