New in Chargebee: Explore Reveal and understand your payment performance end-to-end.Try Now
Docschargebee docs
HomeBillingCPQPaymentsRevRecGrowthReveal
Support

Product Updates


  • Release Notes

Payment Methods


  • Payment Methods Overview
  • Cards
  • Direct Debit
  • Bank Based Payments
  • Wallets
  • Vouchers
  • Articles and FAQ

Payment Gateways and Configuration


  • Payment Gateways Overview
  • Chargebee Test Gateway
  • Stripe
    • ACH Credit Transfer via Stripe
    • ACH Payments via Stripe
    • Alipay via Stripe
    • Amazon Pay via Stripe
    • Apple Pay via Stripe
    • Automated Bank Transfer via Stripe
    • BACS via Stripe
    • Bancontact via Stripe
    • BECS via Stripe
    • BECS NZ via Stripe
    • Boleto Payments via Stripe
    • Cartes Bancaires
    • Cash App Pay via Stripe
    • Google Pay via Stripe
    • iDEAL via Stripe
    • Kakao Pay via Stripe
    • Klarna via Stripe
    • Naver Pay via Stripe
    • Revolut Pay via Stripe
    • SEPA Payments via Stripe
    • Sofort via Stripe
    • Stablecoin via Stripe
    • Stripe RBI e-Mandate Impacts
    • Wechat Pay via Stripe
    • PayPay via Stripe
    • South Korean Cards via Stripe
    • Bizum via Stripe
    • Pay by Bank via Stripe
    • PromptPay via Stripe
    • PayNow via Stripe
    • PayTo via Stripe
    • Pix via Stripe
    • UPI via Stripe
  • PayPal Payment Services
  • Chargebee Pay
  • Adyen
  • Authorize.net
  • Bambora (formerly Beanstream)
  • Bank of America
  • BluePay
  • BlueSnap
  • Braintree
  • Checkout.com
  • CyberSource
  • dLocal
  • EBANX
  • Ecentric
  • Elavon
  • E-xact Direct Integration
  • eWay Rapid
  • Global Payments
  • GoCardless
  • J.P. Morgan Mobility Payment Solutions
  • Metrics Global
  • Mollie
  • Moneris
  • Network Merchants Incorporated (NMI)
  • Nuvei
  • Orbital (Chase Paymentech)
  • Pay.com
  • Paymill
  • Paystack
  • Pin Payments
  • QuickBooks Payments
  • Razorpay
  • Sage Pay
  • Solidgate
  • Tempus
  • Twikey
  • Windcave
  • Worldline Online Payments(formerly Ingenico)
  • Worldpay
  • Articles and FAQ

Level 2/3 Data Support


  • Level 2/3 Data Support

Payment Optimization Engine


  • Overview
  • Defaults
  • Advanced Setup
  • Payment Method Display Rules
  • Verification Rules
  • Routing Rules

Dunning


  • Dunning
  • Articles and FAQ

Payment Components


  • Overview
  • Use Cases
  • Troubleshooting

Offline Checkout


  • Offline Checkout
  • Articles and FAQ

Transaction Sync & Invoice Mapping


  • Transaction Sync and Invoice Mapping

Fraud Management


  • Fraud Management

Error Handling


  • Errors with Root Cause and Troubleshooting

Payment Lifecycle Logs


  • Payment Intents
  • Transactions
  • Gateway Activity Logs
  • Gateway Webhook Logs
  • Retries
  • Articles and FAQ

Others


  • Reach (Merchant of Record)
  • Bulk Deletion of Payment Methods
  • Custom Payment Methods
  • Payment Initiator Parameter
  • PSD2 and Strong Customer Authentication
  • RBI e-Mandate
  • RBI Tokenization Regulations
  • Chargeback Management
  • Transaction Descriptors
  • Payment Preferences
  • Visa Trial Rules
  • Mastercard Trial Rules
  • Co-badged Card Compliance
  • Articles and FAQ
  1. Payments
  2. Payment Gateways and Configuration
  3. Stripe
  4. PromptPay via Stripe
  1. Payments
  2. Payment Gateways and Configuration
  3. Stripe
  4. PromptPay via Stripe

PromptPay via Stripe

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

Chargebee supports PromptPay through the Stripe payment gateway, letting you offer Thai customers a familiar local payment experience at checkout.

PromptPay is Thailand's national electronic payment system that enables instant transfers using mobile numbers or a national ID.

When a customer selects PromptPay during checkout:

  • They're shown a QR code and authenticate and authorize the payment through their banking app.
  • After authorization, Stripe redirects the customer back to your Chargebee site.

Supported countries and currencies

CountrySupported currency
ThailandTHB (Thai Baht)

Key features

  • QR-based payment method. The customer completes the payment by scanning a QR code with their banking app.
  • Supports one-time payments (one-time charges) only.
  • Supports THB (Thai Baht) as the payment currency.
  • Available for customers with Thai bank accounts that support PromptPay only.

Prerequisites

Before you set up PromptPay in Chargebee:

  • Stripe is configured as a payment gateway in Chargebee.
  • PromptPay is enabled in your Stripe account.
  • The customer has a mobile number or Thai national ID registered with PromptPay.

Integration options

You can integrate PromptPay via Stripe using the following methods.

Integration methodDescription
Chargebee Hosted Pages (in-app checkout)Accept PromptPay payments using Chargebee's in-app hosted checkout with minimal integration effort.
Chargebee Hosted Pages (full-page checkout)Accept PromptPay payments using Chargebee's full-page hosted checkout.
Chargebee.jsEmbed PromptPay as a payment method in your custom checkout using Chargebee.js.
API (Payment Intent)Process PromptPay payments using Chargebee APIs for a fully custom checkout and payment flow.

Configure PromptPay via Stripe in Chargebee

To enable PromptPay 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, turn on PromptPay.
    Configure Stripe page with the PromptPay payment method enabled
  5. Click Apply to save your changes.
    Configure Stripe page with the Apply button to save PromptPay settings

Configure Smart Routing

After you turn on PromptPay, follow these steps to configure Smart Routing for it:

  1. Go to Settings > Configure Chargebee > Payment Gateways.
  2. Click Manage Rules under Smart Routing.
  3. Under the For PromptPay section, set the rule to route THB payments to your Stripe account, then click Save.
    Smart Routing rule that routes PromptPay THB payments to a Stripe account

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:

  • charge.refund.updated

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 PromptPay via Stripe:

  1. The customer reviews the order details on the Your order page and clicks Proceed To Checkout.
    Your order page with the Proceed To Checkout button
  2. On the Add your account details page, the customer enters their name, email, and phone number, then clicks Next.
    Add your account details page during checkout
  3. The customer enters their billing address on the Add your billing address page and clicks Next.
    Add your billing address page during checkout
  4. On the Add your payment details page, the customer selects PromptPay and clicks Continue with PromptPay.
    Add your payment details page with PromptPay selected as the payment method
  5. The customer reviews the order summary on the Complete your order page and clicks Pay.
    Complete your order page with the Pay button
  6. The customer scans the displayed PromptPay QR code with their bank or payment app to complete the payment.
    PromptPay QR code page used to authorize the payment
  7. The customer authorizes the payment through their banking app.
    PromptPay payment page used to authorize the payment
  8. Once the payment is authorized, the page automatically closes and the customer is redirected back to Chargebee.
    Payment page automatically closing after the PromptPay payment is authorized

Note

These screenshots show the PromptPay checkout flow in Stripe's test environment. In production, customers complete the payment by scanning the live QR code with their banking app.

Payment features

The following features are supported for PromptPay 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 PromptPay 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 PromptPay via Stripe. No additional configuration is required.
Verification modesDefines how payment methods are verified before processing.YesEnabledThe customer authorizes the payment through their banking app. No separate verification configuration is required in Chargebee.
Statement descriptorDisplays the business name on the customer's bank statement, helping them recognize charges and reducing disputes.NoNot applicableNot applicable to PromptPay via Stripe.
Chargeback managementHandles chargeback events and applies configured actions on invoices and subscriptions.NoNot applicableStripe does not provide a chargeback process for PromptPay. Issue refunds manually if needed.
Fraud managementUses gateway fraud signals to identify and flag high-risk transactions.NoNot applicableNo PromptPay-specific fraud configuration is available in Chargebee.
Transaction initiation typeIdentifies whether a transaction is customer-initiated (CIT) or merchant-initiated (MIT).NoNot applicablePromptPay 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 PromptPay checkout flow. PromptPay 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 PromptPay 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 PromptPay documentation for instructions on testing PromptPay 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 PromptPay 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 Thai bank account that supports PromptPay.

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

  • PromptPay can't be added as a payment method through the customer portal or the Chargebee app. Customers must complete the PromptPay checkout flow.
  • PromptPay doesn't support storing payment methods for recurring billing. Each transaction requires explicit customer authentication.
  • PromptPay isn't suitable for automatic subscription renewals. To collect subscription payments with PromptPay, send email notifications with a Pay Now link when a new invoice is generated.
  • PromptPay is available only to customers with a Thai bank account that supports PromptPay.
  • Stripe does not provide a chargeback process for PromptPay. Issue refunds manually if needed.
  • Transaction amounts must be between 20.00 THB and 2,000,000.00 THB.
  • PromptPay is available only for THB (Thai Baht) transactions.

Was this article helpful?