Websites · Glossary

What is a billing portal?

A billing portal is a secure page, usually hosted by the payment provider, where a subscriber manages their own subscription: updating the card on file, switching plans, viewing and downloading invoices, changing billing details and cancelling. The business links to it from the customer's account, so routine billing changes happen without an email or a phone call.

A billing portal hands the routine parts of a subscription back to the customer. It is also where a fair cancel button lives, which matters as much to regulators as it does to customers.

· Co-founder

5 min read · Published

What a billing portal usually lets a customer do
ActionWhat it changesWhy it matters
Update cardThe payment method on filePrevents failed renewals when cards expire
Change planThe price and what the subscription includesUpgrades without a support request
CancelEnds the subscription, now or at period endFewer disputes and complaints
View invoicesNothing; shows past charges to downloadBusiness customers need them for tax
Billing detailsName, address and tax ID on invoicesCorrect invoices without reissuing

What a billing portal is

Any business that charges people on a schedule gets the same support requests: my card expired, I want the bigger plan, can I have last month's invoice, please cancel. A billing portal answers all of them with one page. The customer opens it from their account, usually through a Manage billing button, and sees their current plan, the next billing date and amount, the card on file and their past invoices. From there they can add a new card, move to another plan, update the business name or address that appears on invoices, and cancel. Payment providers such as Stripe offer hosted portals, which means the provider builds and secures the page, handles the card details and keeps everything in step with the subscription records. The business configures which actions are allowed and adds its name and colours. Because the card details never touch the business's own site, a hosted portal also keeps card handling off the business's plate.

How a hosted portal session works

The customer presses Manage billing on the business's site. The site's server asks the payment provider for a portal session for that customer, and the provider returns a short lived, single use address. The site sends the customer there, they make their changes on the provider's page, and a Return button brings them back to a page the business chose. The important design point is that the session is created by the server for the signed in customer, so nobody can open another customer's billing by guessing an address. Changes made in the portal, such as a plan switch or a cancellation, update the subscription at the provider, which then notifies the business's server, usually through a webhook. The site updates its own record of the subscription from that notice, so access to members only content, for example, follows the change automatically rather than waiting for someone to edit it by hand.

When a business needs one

As soon as a business sells anything recurring, such as memberships, subscription boxes, software, coaching packages or monthly donations, it needs a way for customers to update a card, or failed payments start eating revenue. Cards expire every few years and get replaced after fraud, so a share of subscribers will need to update one each year. A portal also makes cancelling easy, which sounds like a loss but tends to reduce chargebacks and complaints, because a customer who cannot find the cancel button often disputes the charge with their bank instead. Regulators in several countries have looked hard at subscriptions that are easy to start and hard to stop, and Australian consumer law already prohibits misleading conduct and unfair terms. A business with a handful of subscribers might manage billing by email for a while, but that stops scaling quickly and leaves card changes depending on a person being available.

Common mistakes

Hiding the Manage billing link several menus deep. Allowing sign up online but requiring a phone call to cancel. Building a home made card form instead of using the provider's hosted page, which brings card security obligations with it. Letting the portal and the site disagree, for example a cancelled subscription that still unlocks content because the site never read the provider's notice. Cutting access the moment someone cancels when they have paid until the end of the period. Offering plan changes in the portal without deciding how price differences are handled mid cycle. Forgetting invoices for business customers who need them for tax. And not checking which actions the portal allows: if customers can switch to a plan the business has retired, someone will, and support then has to untangle a subscription that should not exist.

Where it shows up in OneCraft

When a site is generated with subscriptions or paid memberships, the AI follows its payments and subscriptions guides: plans are rows in the site's own database with a name, price, currency and month or year interval, the price is read from that row rather than the browser, and a Manage billing button in the person's account opens the Stripe billing portal, where they can change their card or cancel. OneCraft's webhook keeps the site's subscriptions table up to date with each subscriber's status and period end, and visitors cannot write to it. Gated content checks that table, so access follows a cancellation automatically. Payments go to the owner's connected Stripe account, connected in account Settings, Payments, with a platform fee of 2, 1 or 0.5 percent by plan and Stripe's own fees on top. The free plan cannot take payments.

Questions people ask

Should I use a hosted billing portal or build my own?

For most small businesses, hosted. The payment provider builds, secures and maintains it, handles card details, and keeps it in step with the subscription. Building your own means more code to keep correct and more responsibility for card security. Build only if you need something the hosted version cannot be configured to do.

Should a cancellation take effect immediately or at period end?

At period end is the usual and fairer default: the customer has paid for the month, so they keep access until it ends and are not charged again. Immediate cancellation with a prorated refund suits some services. Whichever you choose, say it on the cancel screen so nobody is surprised.

Can a billing portal ask customers why they are cancelling?

Many hosted portals can show a short optional question with reasons such as too expensive or not using it enough. Keep it optional and quick. The answers are valuable, but making a reason compulsory or adding several screens before the cancel button works against the point of an easy cancellation.

Does a billing portal deal with failed card payments?

Indirectly. The payment provider retries failed renewals and can email the customer, and the portal is where the customer fixes the card. Link to Manage billing from any failed payment notice and from the account page, so the fix is one click away while the subscription is still in its retry period.

Can I put my own branding on a hosted billing portal?

Usually you can set the business name, logo, colours, and links to your terms and privacy policy, and choose which actions appear. The page still runs on the provider's address, which customers generally trust for card changes. Full control over layout requires building your own, with the extra work that brings.

Make one with websites

The button opens the generator with this use case already described. Change the wording to match your own.

Create a website with OneCraft

Related questions

Sources

Written and checked by the OneCraft team. Last checked .