Click to Pay
UI Examples

This section contains UI examples of how you should display
Click to Pay
on your payment page. For information about how to display the UI, see JavaScript API Reference.

Click to Pay
Replaces PAN Capture

Click to Pay
is the card entry payment option within your payment page.

Figure:

Click to Pay
Replaces PAN Capture UI Example 1

Figure:

Click to Pay
Replaces PAN Capture UI Example 2
For information about how to configure this UI, see Loading the JavaScript Library and Invoking the Accept Function.

Click to Pay
as Radio Button

Click to Pay
is a radio button for the card entry payment option within your payment page. When the cardholder selects this option, the
Click to Pay
payment flow is loaded.

Figure:

Click to Pay
Radio Button Example UI

Click to Pay
Icon on Radio Button

You can host the radio selection option for card payment with the
Click to Pay
icon displayed on the payment label. The
Unified Checkout
flow loads when the cardholder selects this option. For information about customizing how to trigger
Unified Checkout
, see JavaScript Example: Client-Defined Trigger for Click to Pay or PAN Entry.

Figure:

Click to Pay
Icon on Radio Button Example UI

Load
Click to Pay
Automatically From Trigger

You can load the
Unified Checkout
JavaScript flow within your payment page without requiring the cardholder to select a card payment option. This example shows a recognized user payment flow where the cardholder's information is shown automatically next to the other payment methods hosted within your payment page. For information about customizing how to trigger
Unified Checkout
, see JavaScript Example: Client-Defined Trigger for Click to Pay or PAN Entry.

Figure:

Click to Pay
Loaded Automatically From Trigger UI

Card Payment Options with
Click to Pay
in UI

Do not present the
Unified Checkout
payment button as a separate payment method from the card payment button. If you do this, the cardholder is not prompted with their
Click to Pay
cards and must manually enter their payment details. They will also not have the option to store their card within
Click to Pay
for future use.
These examples show multiple card payment options and
Click to Pay
in a UI:

Figure:

Multiple Card Payment Options in UI Example 1

Figure:

Multiple Card Payment Options in UI Example 2

Figure:

Multiple Card Payment Options in UI Example 3