Express SDK

Speed up the checkout process with Apple Pay, Google Pay, PayPal and the customer's billing & shipping information.

Quick demo

Check out our demo page to see the flow in action.

This is a checkout page example with the Express SDK with the billing & shipping information filled and the order is ready to place.

The payment options responded with the customer's information used to speed up the checkout process.


Configuration

You can copy-paste the (relevant) following HTML code to your checkout page to get going.

  • Note that the current widget configuration is set up to use the mock client-id - and replace it with yours.


Payment Data

Example of a response after paying with Google Pay

Customization

This code sample demonstrates how to customize the appearance of the Express Widget's payment buttons. Save & link this file in your HTML after the widget's script to ensure styles are applied.

The widget's internal CSS provides basic styling. This file allows you to override and enhance it.

Key selectors:

  • .payment-btn: The main button element.

  • .payment-logo: The tag for the payment method logo.

  • .payment-label: The tag for the payment method text label.

You can also target specific payment methods using the part attribute:

  • [part="paypal"]

  • [part="applepay"]

  • [part="googlepay"]

Last updated

Was this helpful?