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
  • 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
    • WorldPay Direct Integration
      • Apple Pay via WorldPay
      • Google Pay via WorldPay
    • Worldpay US eCom
    • Worldpay via Spreedly
  • 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

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
  • 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. Worldpay
  4. WorldPay Direct Integration
  5. Google Pay via WorldPay
  1. Payments
  2. Payment Gateways and Configuration
  3. Worldpay
  4. WorldPay Direct Integration
  5. Google Pay via WorldPay

Google Pay via WorldPay

This feature is currently a Private Beta release. Contact Chargebee Support to enable Google Pay via WorldPay for your live and test sites.

Google Pay is a digital wallet that lets customers make secure payments using credit or debit cards stored in their Google Account. Chargebee supports Google Pay through your WorldPay Direct (Worldwide Payment Gateway) account.

Supported countries and currencies

Use currencies that both Chargebee and WorldPay support for your site. See Currencies supported by Chargebee and confirm currency enablement with WorldPay for your WorldPay account.

Integration options

Google Pay via WorldPay is supported across the following Chargebee integration options:

Integration methodDescriptionSupported
Chargebee APIIntegrate directly with the Chargebee API to accept Google Pay payments.Yes
Chargebee hosted pagesAccept Google Pay through Chargebee's hosted checkout pages.Yes
Chargebee.jsBuild a custom checkout that accepts Google Pay using Chargebee.js.Yes

Prerequisites

  • Configure your WorldPay Direct payment gateway in Chargebee. When you connect, enter your 3DS credentials; they are required for Google Pay transactions. If the gateway is already configured with 3DS credentials, continue to configuration.

Configure Google Pay in Chargebee

Follow these steps to configure Google Pay via WorldPay in your Chargebee site:

  1. Click Settings > Configure Chargebee > Payment Gateways > WorldPay.
  2. Enable Google Pay.
    Enable Google Pay toggle on the Configure WorldPay payment methods page
  3. Enter your Gateway Merchant ID. WorldPay provides this value.
  4. Enter your Merchant Name.
  5. Select the Merchant Country Code. This is the country or region where the payment is processed.
    Google Pay configuration form for WorldPay Direct
  6. Click Save to complete the configuration.

Configure Smart Routing

When you enable Google Pay via WorldPay, configure Smart Routing so WorldPay is the preferred gateway for Google Pay. If another gateway is already configured for Google Pay, update the routing preferences on the Smart Routing page.

  1. In your Chargebee Billing site, go to Settings > Configure Chargebee > Payment Gateways.
  2. Click Manage Rules under Smart Routing.
    Manage Rules under Smart Routing
  3. Go to the Google Pay section and click Add a Gateway (or the Edit icon) for the relevant currency.
    Google Pay section in Smart Routing rules
  4. From the Choose a payment gateway dropdown, select the WorldPay gateway instance on your Chargebee site that has Google Pay enabled.
  5. Click Save.
    Choose a payment gateway dialog with Save

Checkout flow

The following steps describe what the customer does when they pay with Google Pay in Chargebee checkout:

  1. Click Proceed to Checkout from the Your Order page to start the purchase.
    Proceed to Checkout on the Your Order page
  2. Select the Google Pay tab from the Add your payment details window.
    Google Pay tab in the Add your payment details window
  3. Click GPay.
    GPay button in Chargebee checkout
  4. The Google Pay pop-up appears. The customer signs in to their Google Account and selects an existing card or adds a new card.
    Google Pay payment pop-up
  5. After the payment succeeds, the customer returns to Chargebee and the payment method is linked to the customer. Recurring payments use the selected card in Google Pay.

Supported token formats

This section applies if you are building a custom checkout or migrating payment methods from another provider to WorldPay.

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_idNA
Gateway permanent tokenPermanent reference provided by the gateway and used for future recurring payments or migrations from another PSP.Yespayment_method[reference_id]customer_id/payment_source_id

Payment features

The following table summarizes features for this integration:

FeatureDescriptionSupportedDefault stateConfiguration / behavior
Integration sync modeDefines how payment requests are processed and statuses are communicated between Chargebee and WorldPay.Yes (Synchronous)SynchronousWorldPay processes Google Pay payments synchronously. Chargebee receives the payment status in the gateway response.
Capture settingsPayment processing involves two stages: Authorization and Capture. Capture settings determine when funds are collected after authorization.YesAuto capture

Auto capture is the default and only supported capture setting for WorldPay.

Verification modesDefines how payment methods are verified before processing.YesEnabledThe Google Pay token is verified during payment processing. No additional configuration is required.
Statement descriptorDisplays the business name on the customer's bank or card 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.YesDisabledEnable Chargeback Management under Settings > Configure Chargebee > Billing LogIQ > Payments > Chargeback Management.
Fraud managementUses gateway fraud signals to identify and flag high-risk transactions.NoNANo Google Pay-specific fraud configuration is available in Chargebee.
Transaction initiation typeIdentifies whether a transaction is customer-initiated (CIT) or business-initiated (MIT).YesSupportedThe initial payment is customer-initiated through the Google Pay wallet. Subsequent recurring payments are business-initiated (MIT).
Error intelligenceProvides standardized categorization of payment failures.YesEnabledAvailable via WorldPay response codes. 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.
Addition of payment methods in Chargebee dashboardAllows a payment method to be added in Chargebee when details are collected outside the platform.NoNAGoogle Pay requires customer authorization through the wallet and cannot be added through the Chargebee dashboard.

Testing

Testing in sandbox

Use your WorldPay test account linked to your Chargebee test site to validate the Google Pay integration before you go live.

  • Sign in to a Google Account with a saved card (or add a card) on a supported device and complete a test checkout.
  • For gateway test scenarios, refer to the WorldPay testing documentation.

Testing in production

Before you move to live:

  • Ensure Google Pay is fully configured in WorldPay and Chargebee, including 3DS credentials on the WorldPay gateway connection.
  • Perform end-to-end testing with a real card to validate the complete payment flow.

Limitations and important points

  • Google Pay via WorldPay is a Private Beta feature and must be enabled by Chargebee Support.
  • WorldPay Google Pay requires 3DS credentials on your WorldPay gateway configuration in Chargebee.
  • WorldPay Google Pay supports Visa, Mastercard, and American Express only.
  • You cannot add a Google Pay payment method from the Chargebee dashboard; the customer must authorize the wallet.

Was this article helpful?