# Payment Components ✨

Early Access

The Payment Components feature is in early access. To request access, write to eap@chargebee.com.

Payment Components are pre-built UI components that support multiple payment methods in a single, seamless integration. They offer input fields and buttons for securely collecting payment information from your customers.

Compatibility

The Payment Components feature is compatible with both Product Catalog 1.0 (opens new window) and 2.0 (opens new window) in Chargebee Billing.

# Examples

The following screenshots show Payment Components configured in different layouts with various payment methods selected:

# Tab layout

Card

Chargebee Payment Components showing the card payment method selected

PayPal

Chargebee Payment Components showing the PayPal payment method selected

Direct Debit

Chargebee Payment Components showing the Direct Debit payment method selected

# Accordion layout

Card

Chargebee Payment Components showing the card payment method selected

PayPal

Chargebee Payment Components showing the PayPal payment method selected

Direct Debit

Chargebee Payment Components showing the Direct Debit payment method selected

# Key benefits

  • Simple integration: Integrate just once to support multiple payment methods across various payment gateways. This helps you expand globally and increase revenue, without additional development cost.
  • PCI compliant: The Payment Components securely handle card data within an iframe hosted on Chargebee's domain, ensuring that your servers never process or store your customers' payment information. This reduces your PCI compliance requirements significantly.
  • Customizable UI and branding: Easily tailor the user interface, layout, and styling to match your website's design, creating a seamless and branded payment experience that reduces friction and increases conversion.
  • Responsive: Payment Components are responsive across devices and screen sizes.
  • Payment submission button: Includes an optional pre-built button that securely processes payments. You can place it anywhere in the UI layout and it dynamically adapts to the selected payment method.
  • Additional form fields: Add extra form fields to collect more information during payment collection.

# Quickstart

Download a sample app (opens new window) and refer to its code walkthrough to quickly implement Payment Components.

# Who should use Payment Components?

Payment Components are ideal if you:

  • Build your in-house checkout experience but are looking for a partner to manage the payment experience securely and efficiently.
  • Integrate directly with payment gateways and need a unified solution for handling payments.

You can also upgrade to Payment Components if you:

# Use case demos

The Chargebee Payment Components can be customized to suit different business needs. Some common business use cases are demonstrated below.

# Style customizations

Payment Components offers granular styling and layout options to match your website design.

Styling API

To customize the styling, use the style parameter in the following scenarios:

  • When creating the Components object. (This styling is inherited by all Payment Components and Payment Button Components associated with this object.)
  • When creating or updating a Payment Component.
  • When creating or updating a Payment Button Component.
Style customizations

Some style customization examples for Payment Components

# Show payment methods based on cart value

Below is a checkout page where the Chargebee Payment Component is rendered in the lower left quadrant under the heading Payment. In this demo, the available payment methods and their sort order change based on the cart value.

Cart value-based payment methods

Payment methods shown according to the cart value

# Show payment methods based on region

In this demo, the available payment methods and their sort order change based on the country selected by the user.

Region-based payment methods

Payment Component showing payment methods changing according to the country selected

# More use cases

Ready to go beyond the basics? Check out Payment Components Use Cases for more scenarios using Payment Components.

# Supported payment methods

Payment Components currently support the following payment methods:

# Cards

Payment Components support card payments (opens new window).

Non-3D Secure Payments

Among the gateways (opens new window) that support non-3D Secure (opens new window) payment flows, the following are not yet supported: Authorize.net (opens new window), Sage Pay (opens new window), Vantiv (opens new window), and all gateways integrated via Spreedly.

# Direct Debit

All direct debit payment methods (opens new window), except ACH via QuickBooks Payments (opens new window), are supported by Payment Components.

# Wallets

# Bank-Based Payments

# Open Banking Private Beta

The following payment methods are supported through Open Banking via GoCardless (opens new window).

  • PayTo
  • SEPA Instant Transfer
  • Faster Payments