Introducing the Chargebee CLI

Alipay via Stripe

Introduction

Alipay is a wallet-based payment method that requires your customer's authentication. Alipay also supports recurring payments, which require approval from Stripe.

Customers are redirected from your website or app to Alipay to authorize the payment. After authentication, customers return to your site, where you receive immediate notification of whether the payment succeeded or failed.

This integration enhances checkout flexibility and improves conversion for businesses using the Chargebee platform.

Key Features

Following are the key features of Alipay via Stripe integration:

Prerequisites

Before configuring Alipay via Stripe in Chargebee:

Configure Alipay via Stripe in Chargebee

Follow the steps below to enable Alipay in your Chargebee site:

  1. Log in to your Chargebee Billing site.
  2. Navigate to Settings > Configure Chargebee > Payment Gateway.
  3. Select Stripe from the list of configured gateways.
  4. On the Configure Stripe page, enable Alipay to configure payments for Chinese customers.
  5. Click Apply to save your changes.

Configuring Webhooks

To ensure your Chargebee–Stripe integration works as expected, you must configure webhooks in Stripe to listen for specific events.

Webhooks allow Chargebee to receive real-time updates from Stripe when actions such as refunds occur.

For this integration to function correctly, the following event must be enabled:

These events notify Chargebee about the creation, failure, or update of a refund transaction in Stripe, ensuring accurate reflection within your Chargebee account.