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

Apple Pay via WorldPay

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

Apple Pay is a digital wallet that lets customers pay with cards stored in Apple Wallet. Chargebee supports Apple Pay through your WorldPay Direct (Worldwide Payment Gateway) account across Chargebee's API, hosted pages, and Chargebee.js.

Note

Apple Pay in Chargebee can be enabled for only one payment gateway at a time. Disable Apple Pay on any other gateway before you enable it for WorldPay.

Supported countries and currencies

Apple Pay via WorldPay is available when your business is located in one of the following countries:

AT, AU, AE, BE, BG, CH, CY, CZ, DE, DK, EE, ES, FI, FR, GB, GR, HK, HR, HU, IE, IS, IT, LI, LT, LU, LV, MT, NL, NO, PL, PT, RO, SA, SE, SG, SI, SK, and US.

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

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

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

Prerequisites

  • Configure your WorldPay Direct payment gateway in Chargebee. If it is already configured, continue to the next prerequisite.
  • Set up Apple Pay in your Apple Developer account and prepare the required Apple Pay ID, certificates, key, and domain association file before you configure Apple Pay in Chargebee. Follow Apple's Apple Pay setup documentation.

Configure Apple Pay in Chargebee

Follow these steps to configure Apple Pay payments via WorldPay:

  1. Click Settings > Configure Chargebee > Payment Gateways > WorldPay.
  2. Enable Apple Pay.
  3. Enter your Business Name.
  4. Enter your Merchant ID. Follow these steps to create or retrieve this value.
  5. Select the Merchant Country Code. This is the country or region where the payment is processed.
  6. Upload your Merchant Identity Certificate (.pem). Follow these steps to create or retrieve this file.
  7. Upload your Merchant Identity Key (.key). Follow these steps to create or retrieve this file.
  8. Upload your Domain Association File (.txt). Follow these steps to get this file.
  9. Under Choose mandatory information to collect from customers, select one or more of Shipping Address, Billing Address, or Email and Phone if you want Chargebee to require this information from Apple Pay.
    Apple Pay configuration form for WorldPay Direct
  10. Click Save to complete the configuration.

Configure Smart Routing

When you enable Apple Pay via WorldPay, configure Smart Routing so WorldPay is the preferred gateway for Apple Pay. If another gateway is already configured for Apple 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 Apple Pay section and click Add a Gateway (or the Edit icon) for the relevant currency.
    Apple 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 Apple Pay enabled.
  5. Click Save.
    Choose a payment gateway dialog with Save

Note

Apple Pay domain validation allows only one payment gateway to actively support Apple Pay at a time. Disable Apple Pay on other gateways such as Stripe or Braintree before you route Apple Pay to WorldPay.

Checkout flow

The following steps describe what the customer does when they pay with Apple 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. Click the Apple Pay button.
    Apple Pay button in Chargebee checkout
  3. The Apple Pay sheet appears. The customer authenticates with Face ID, Touch ID, or their passcode and selects a card to complete the payment.
    Apple Pay payment sheet
  4. 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 Apple 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 Apple 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 Apple 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 Apple 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 Apple 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.NoNAApple 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 Apple Pay integration before you go live.

  • Apple Pay is available only on iOS devices or the Safari browser on macOS. Run your tests on a supported device.
  • Add a test card to Apple Wallet using the Apple Pay sandbox testing guide, then complete a test checkout to validate the end-to-end flow.

Testing in production

Before you move to live:

  • Ensure Apple Pay is fully configured in WorldPay and Chargebee.
  • Perform end-to-end testing with a real card to validate the complete payment flow.

Limitations and important points

  • Apple Pay via WorldPay is a Private Beta feature and must be enabled by Chargebee Support.
  • Only one gateway on a Chargebee site can have Apple Pay enabled at a time because of Apple domain validation.
  • You cannot add an Apple Pay payment method from the Chargebee dashboard; the customer must authorize the wallet.
  • Apple Pay checkout testing requires a supported Apple device or Safari on macOS.

Was this article helpful?