Introducing the Chargebee CLI

PayPay via Stripe

This feature is a Private Beta release. Contact Chargebee Support to enable PayPay via Stripe for your live and test sites.

Chargebee supports PayPay through the Stripe payment gateway, letting you offer your Japanese customers a familiar local payment experience at checkout.

When a customer selects PayPay during checkout:

  • They're redirected to a local processing partner (NICEPAY) to authenticate and authorize the payment.
  • After authorization, Stripe redirects the customer back to your Chargebee site.

This integration adds checkout flexibility and helps improve conversion for businesses on the Chargebee platform.

Key features

Prerequisites

Before you set up PayPay in Chargebee:

Configure PayPay via Stripe in Chargebee

To enable PayPay payments through Stripe in Chargebee:

  1. Log in to your Chargebee Billing site.
  2. Go to Settings > Configure Chargebee > Payment Gateway.
  3. Select Stripe from the list of configured gateways.
  4. On the Configure Stripe page, enable PayPay.
  5. Click Apply to save your changes.

Configuring webhooks

To keep your Chargebee–Stripe integration in sync, configure webhooks in Stripe. Webhooks let Chargebee receive real-time updates from Stripe when important events, such as refunds, occur.

For this integration to work correctly, enable the following event:

This event notifies Chargebee when a refund transaction is created, fails, or is updated in Stripe, so refunds are reflected accurately in your Chargebee account.

Payment workflow

Your customer completes the following steps at checkout when paying with PayPay via Stripe:

  1. The customer reviews the order details on the Your order page and selects Proceed To Checkout.
  2. The customer enters the billing address on the Add your billing address page and selects Next.
  3. On the Add your payment details page, the customer selects PayPay and selects Continue with PayPay. The transaction is processed through the local partner, NICEPAY.
  4. The customer reviews the order summary on the Complete your order page and selects Pay.
  5. On the PayPay payment page, the customer authorizes the payment.
  6. The customer is redirected back to Chargebee, where the transaction is processed.

The screenshots above show the PayPay authorization flow in Stripe's test environment. In production, customers complete the payment in the actual PayPay app or by scanning the live QR code.

Payment features

The following features are supported for PayPay via Stripe.

FeatureDescriptionSupportedDefault stateConfiguration or behavior
Integration sync modeDefines how payment requests are processed and statuses are communicated between Chargebee and Stripe.Yes (asynchronous)AsynchronousStripe processes PayPay payments asynchronously. Chargebee receives the final payment status through Stripe webhooks. Webhook configuration is mandatory and is used to receive refund updates through the charge.refund.updated event.
Capture settingsPayment processing involves two stages: authorization and capture. Capture settings determine when funds are collected after authorization.YesAuto captureAuto capture is the default and only supported capture setting for PayPay via Stripe. No additional configuration is required.
Verification modesDefines how payment methods are verified before processing.YesEnabledThe customer authorizes the payment in the PayPay app or by scanning the QR code on the redirect page. No separate verification configuration is required in Chargebee.
Statement descriptorDisplays the business name on the customer's bank or wallet statement, helping them recognize charges and reducing disputes.YesDisabledConfigure this under Settings > Configure Chargebee > Transaction Descriptor.
Chargeback managementHandles chargeback events and applies configured actions on invoices and subscriptions.NoNot applicablePayPay doesn't support chargebacks for this integration. Issue refunds manually if needed.
Fraud managementUses gateway fraud signals to identify and flag high-risk transactions.NoNot applicableNo PayPay-specific fraud configuration is available in Chargebee.
Transaction initiation typeIdentifies whether a transaction is customer-initiated (CIT) or merchant-initiated (MIT).NoNot applicablePayPay supports customer-initiated, one-time payments only. Merchant-initiated recurring charges aren't supported.
Error intelligenceProvides standardized categorization of payment failures.YesEnabledAvailable through Stripe payment responses. No configuration is required.
Gateway transaction detailsProvides access to raw gateway responses for transactions.YesEnabledAvailable on the transaction page under Error details. No configuration is required.
Adding payment methods in the Chargebee dashboardAllows a payment method to be added in Chargebee when details are collected outside checkout.NoNot applicableCustomers must complete the PayPay checkout flow. PayPay can't be added from the Chargebee dashboard.

Supported token formats

This section is relevant if you're building a custom checkout or migrating payment methods from another provider to Stripe.

Token typeDescriptionSupportedToken fieldToken format
Chargebee Payment IntentRecommended token format when building a custom checkout using Chargebee.js.Yespayment_intent[id]payment_intent_id
Chargebee tokenLegacy token format supported for selected payment methods and gateways with Chargebee.js. Not recommended for new implementations.Notoken_idNot applicable
Gateway permanent tokenPermanent reference provided by the gateway. Not applicable to PayPay because it doesn't support stored credentials.Nopayment_method[reference_id]Not applicable
Gateway temporary tokenShort-lived token format that can be converted to a permanent token.NoNot applicableNot applicable

Testing

Sandbox testing

Refer to Stripe's PayPay documentation for instructions on testing PayPay in the Stripe test environment. Make sure webhooks are configured to receive the charge.refund.updated event for refund settlement updates.

Production testing

Before you go live:

  • Make sure PayPay is enabled in your Stripe live account.
  • Verify that webhook configuration is complete (required for refund settlement updates).
  • Run end-to-end testing using a real PayPay-enabled wallet account and a mobile device with the PayPay app installed.

Reconciliation

For financial reconciliation between Chargebee and Stripe, use the Chargebee transaction field id_at_gateway, which maps to the Stripe PaymentIntent ID.

To reconcile transactions:

  1. Retrieve the id_at_gateway value from the Chargebee transaction details.
  2. Locate the corresponding transaction in your Stripe Dashboard or reports.
  3. Match transactions using this reference to keep your records consistent.

Limitations and important points

  • PayPay can't be added as a payment method through the customer portal or the Chargebee app. Customers must complete the PayPay checkout flow.
  • PayPay doesn't support storing payment methods for recurring billing. Each transaction requires explicit customer authorization in the PayPay app.
  • PayPay isn't suitable for automatic subscription renewals. To collect subscription payments with PayPay, send email notifications with a Pay Now link when a new invoice is generated.
  • PayPay doesn't support chargebacks. Issue refunds manually if needed.
  • PayPay is available only for JPY (Japanese Yen) transactions.