Billing.js
  • Introduction
  • Features
  • Getting started
    • Installation
    • Add to your app
      • Wrap your app
      • Setup Pricing page
      • Setup Customer Portal
    • Configure Webhooks and Triggers
      • Subscription webhook
      • Customer Webhook
      • New user trigger
  • Guides
    • Single Sign-On
    • Shared subscriptions
    • Local currency support
    • Automatic Dispute Response
  • Components
    • <BillingProvider />
    • Pricing Page
      • <PaymentField />
      • <PaymentSummary />
      • <PromotionCode />
      • <PaymentModal />
    • Customer Portal
      • <CustomerProfile />
      • <Subcriptions />
      • <ManageSharedSubscriptionModal />
      • <PaymentMethods />
      • <Invoices />
  • Hooks
    • useAuth
    • useProducts
  • Methods
    • Product
      • getProducts
    • Customer
      • getCustomerSubscriptions
      • getCustomerPaymentMethods
      • getCustomerInvoices
    • Subscription
      • addSubscription
      • cancelSubscription
      • updateSubscription
    • Payment Method
      • attachPaymentMethodToCustomer
      • detachPaymentMethodFromCustomer
      • setPaymentMethodAsDefault
    • Shared Subscription
      • getSharedSubscription
      • getSharedSubscriptionUsers
      • updateSharedSubscriptionUsers
Powered by GitBook
On this page
  • Visual
  • Import
  • Props

Was this helpful?

  1. Components
  2. Customer Portal

<CustomerProfile />

PreviousCustomer PortalNext<Subcriptions />

Last updated 2 years ago

Was this helpful?

This component will render the profile informations in a panel.

It allows the customer to edit its own details, such as billing address, name, and tax ids.

Visual

Import

import { CustomerProfile } from "@billing-js/react-billing-js"

Props

interface Props {
    // allow users to transfer their subscription  
    // aka update the email address associated with their subscription
    // You will need to configure the Customer webhook to support this feature
    enableSubscriptionTransfer?: boolean // default false
}

You will need to configure the to support the subscription transfer feature

Customer webhook
Stripe Customer