Introducing the Chargebee CLI

Apple Pay via Chargebee Pay

Chargebee Pay is available to pre-qualified Chargebee Billing customers. Request access to use Chargebee Pay.

Chargebee Pay lets you accept Apple Pay on Chargebee Hosted Pages and Payment Components. Customers pay with a card stored in Apple Wallet. Chargebee Pay processes the payment as a card-based wallet payment and stores the payment method for later renewals.

In Safari on iOS and macOS, the customer pays in the native Apple Pay sheet. On other desktop browsers, such as Chrome, Chargebee Pay still shows Apple Pay and the customer completes payment by scanning a QR code with an iPhone. Apple Pay is not shown on mobile browsers that do not support Apple Pay, and it is not available in the Chargebee Drop-in Script, because that script loads checkout in an iframe.

Supported features

  • One-time payments and subscription signups
  • Recurring billing after the first authenticated payment
  • Refunds (multiple, partial, and full)
  • Chargebacks

Card 3D Secure enforcement does not apply to Apple Pay.

Prerequisites

  • Chargebee Pay is enabled for the site.
  • Apple Pay is enabled for your Chargebee Pay account. It is not turned on with cards. Contact Support to enable it.
  • The checkout domain uses HTTPS.
  • The checkout domain is verified for Apple Pay. Only one payment gateway can own Apple Pay domain verification for a site.

Configure Apple Pay in Chargebee

  1. Go to Settings > Configure Chargebee > Payment Gateways > Chargebee Pay.
  1. Turn on Apple Pay.
  2. Select a Merchant Country Code, then click Save. Merchant Country Code is required.
  1. Configure Smart Routing so Chargebee Pay is the gateway for Apple Pay. Turn off Apple Pay on any other gateway. Apple allows only one gateway to verify the domain.

Chargebee hosts the domain association file at /.well-known/apple-developer-merchantid-domain-association on the checkout domain when Chargebee Pay is the gateway selected for Apple Pay domain verification. The Apple Pay payment option does not appear at checkout until that verification succeeds.

Checkout

  1. The customer selects Apple Pay.
  2. In Safari, the Apple Pay payment sheet opens. On another desktop browser, a QR code opens and the customer continues on an iPhone.
  3. The customer authenticates with Face ID, Touch ID, or a device passcode.
  4. Chargebee Pay processes the tokenized payment and stores the payment method.
  5. Later renewals are charged without the customer present.

Troubleshooting

Apple Pay is not visible

  • Confirm Support has enabled Apple Pay for Chargebee Pay, and that the Apple Pay toggle is on.
  • On a phone, open checkout in Safari. On a desktop, Apple Pay is also shown in other browsers and completed with a QR code. It is not shown inside the Drop-in Script.
  • Confirm the checkout domain is HTTPS and that domain verification is complete.
  • Confirm no other gateway is the active Apple Pay gateway for the site.

Payment fails

  • Confirm Merchant Country Code is saved on the Chargebee Pay gateway.
  • Review the transaction in the Chargebee Pay portal.

Limitations

  • Apple Pay is not available in the Chargebee Drop-in Script, because that script loads checkout in an iframe.
  • Apple Pay is not shown on mobile browsers that do not support Apple Pay.
  • Only one payment gateway can verify the Apple Pay domain for a site.
  • Card 3D Secure enforcement does not apply to Apple Pay.