Let customers manage their subscription with the customer portal

Short answer

Let customers manage their subscription through Ruba’s hosted customer portal: they can see invoices and receipts, replace a payment method, and schedule a cancellation without emailing you. Link to it at getruba.com/<your-shop>/portal, or send signed-in users there with a short-lived customer session. Ruba pays you to your own bank.

Fewer support emails

On Ruba, a hosted portal lets a buyer update a card or cancel without emailing you. Every subscription seller gets the same emails: “Can I get an invoice?”, “My card changed”, “Please cancel”. A hosted portal answers them without you. It is a self-service page that exposes customer billing records and recovery actions without giving the browser an organization credential.

Hyderabad · Priya
RenewalPast due
Plan$12 a month
StatusCard declined

Priya in Hyderabad subscribes to a design tool. Her card expires next month.

  1. Priya in Hyderabad subscribes to a design tool. Her card expires next month.
  2. Ruba emails her a link to payment-method management in the customer portal.
  3. She replaces her card herself. The seller does not have to touch card data.
Figure 1An example story based on Ruba’s portal and failed-payment docs. Tap the arrows, or wait.

Three ways to reach it

Stable addressEasiest
Addressgetruba.com/<slug>/portal
Sign inEmail and a one-time code
Code lasts30 minutes
Best forHelp menus and articles

Great for Any site or help page. No code needed.

Watch for The buyer signs in with the purchase email.

Figure 2From Ruba’s portal navigation docs.

For the handoff, create a customer session on your server and redirect to its URL.

TypeScript
import { Ruba } from "@getruba/sdk";

const ruba = new Ruba({ accessToken: process.env.RUBA_ACCESS_TOKEN ?? "" });
const session = await ruba.customerSessions.create({
  customerId: "<customer_id>",
});

redirect(session.customerPortalUrl);
Figure 3From Ruba’s docs.

For subscriptions, Ruba offers 7, 14 or 30-day trials that save the card without charging it, retries a declined renewal over about 21 days, and gives customers a hosted portal to see invoices, replace a card and cancel.

What customers can and cannot do

Customers can
See orders, invoices and receipts
Replace the default payment method
Schedule cancellation at period end
See usage, change seats, switch plans (settings)
Stays with you
Refunds and disputes
Prices and products
Changing email, unless you turn it on
Figure 4From Ruba’s portal docs. Settings are under Settings, then General, then Customer account.

Seeing usage, changing seats and switching plans are on by default, and changing email is off. If your own backend must approve plan changes, turn the plan switch off.

What to do next

Put your portal address in your footer and your help page. See the early-access deal. Ruba charges 4% + $0.50 per sale, plus 0.5% on subscriptions, with no monthly fee. Related: accepting subscription payments.

A portal lets buyers cancel or update a card without emailing you. Neither a company nor a monthly fee stands in your way. For your subscribers, an early-access approval means 4% + $0.50 per sale, locked while your account is open and in good standing. If Ruba ever charges a fee it never told you about, it refunds the fee and pays you $100. Terms apply. See the early-access deal.

Questions people ask

Where is the customer portal?

Every organization has a stable portal address of the form getruba.com/<organization-slug>/portal. The customer enters the email used for purchase and completes a one-time code sent by Ruba.

How long do codes and sessions last?

The email sign-in uses a six-digit code valid for 30 minutes, and a portal session lasts one hour.

What can customers do there?

Owners and billing managers can see purchase history, invoices, receipts and active subscriptions, schedule cancellation at period end and replace the default payment method. Other members see their overview, usage and benefits.

Which settings can I change?

Under Settings, then General, then Customer account: seeing usage, changing seats and switching plans are on by default, and changing email is off. You can turn each on or off.

How do I link to the portal from my app?

When the customer is signed into your product, create a short-lived customer session on your server and redirect to its customer portal URL. Create it at click time, and do not store it as a permanent link.

Sources

We check these when we update this guide. Rules can change, so check them yourself before you decide.

A note from FaizanHi, I’m Faizan, the founder of Ruba. I built it so people anywhere, from Pakistan, India and Bangladesh to the UK, the EU and the US, can sell software to the world and get paid at home.I wrote these guides to be as fair as I can. But I built Ruba, so I’m about as neutral as a parent at a school play. That’s why every fact has a source you can check.
Early access is live.

Sellers approved now keep 4% + $0.50 per sale locked for as long as they sell, plus +$100 if we ever charge a fee we never told you about. No company and no monthly fee. You are paid to a bank in your own name, in PKR, INR, BDT or 51 other currencies, whenever you ask, from $10. A payout costs $2 up to $200.

Applying is not approval. Terms apply.
All guides

Can’t find your country or currency? Email support@getruba.com.

This guide is general information, not legal, tax or financial advice. Other companies named here set their own rules, which can change. Check their websites before you decide.