# First Time Click to Pay User Guide source: https://developer.mastercard.com/mastercard-checkout-solutions/documentation/tutorials-and-guides/first-time-ui-tutorial/index.md Consumers can enroll in Click to Pay during checkout by creating a profile or adding a Mastercard card at checkout wherever Click to Pay is accepted. Note: Consumers get the loading screen as the default experience. For detailed integration steps, see the [First Time User](https://developer.mastercard.com/mastercard-checkout-solutions/documentation/use-cases/click-to-pay/firsttimeuser_usecase/index.md) use case. ## Mastercard's DCF Screen {#mastercards-dcf-screen} The Mastercard Digital Card Facilitator (DCF) screen varies based on a combination of factors passed in the in [init()](https://developer.mastercard.com/mastercard-checkout-solutions/documentation/sdk-reference/init/index.md) or [checkout()](https://developer.mastercard.com/mastercard-checkout-solutions/documentation/sdk-reference/checkout-method/index.md) methods. | Parameter | Details | |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [customInputData](https://developer.mastercard.com/mastercard-checkout-solutions/documentation/sdk-reference/common-objects/index.md#custom-input-data) | Card enrollment options presented by Mastercard DCF: * `WITHIN_CHECKOUT` - This experience offers Click to Pay as a payment option to complete Checkout for an order. * `PAYMENT_SETTINGS` - This experience offers Click to Pay to enroll and add their cards for faster checkout. | | [confirmPayment](https://developer.mastercard.com/mastercard-checkout-solutions/documentation/sdk-reference/common-objects/index.md#dpa-transaction-options) | If explicitly set to `True`, Mastercard DCF prompts the consumer to confirm the payment before completing checkout. | | [dpaBillingPreference](https://developer.mastercard.com/mastercard-checkout-solutions/documentation/sdk-reference/common-objects/index.md#dpa-transaction-options) | Possible values are `FULL`/`POSTAL_COUNTRY`/`NONE` that impact the behavior of the DCF screen. | | [consumerEmailAddressRequested](https://developer.mastercard.com/mastercard-checkout-solutions/documentation/sdk-reference/common-objects/index.md#dpa-transaction-options) or [consumerPhoneNumberRequested](https://developer.mastercard.com/mastercard-checkout-solutions/documentation/sdk-reference/common-objects/index.md#dpa-transaction-options) or [consumerNameRequested](https://developer.mastercard.com/mastercard-checkout-solutions/documentation/sdk-reference/common-objects/index.md#dpa-transaction-options) | If consumer name, email address or mobile number are not passed in the checkout payload, DCF screen prompts consumer to enter them. | | [complianceSettings](https://developer.mastercard.com/mastercard-checkout-solutions/documentation/parameters/index.md#masked-consumer) | In case of [First Time User](https://developer.mastercard.com/mastercard-checkout-solutions/documentation/use-cases/click-to-pay/firsttimeuser_usecase/index.md) enrollment, Integrators must pass below static URLs for Terms and Privacy Notice: * * | ## Scenario 1: Alternate Guest Checkout Option {#scenario-1-alternate-guest-checkout-option} This experience provides consumer with a guest checkout option, if the user wishes to opt out of creating a Click to Pay profile during [First time](https://developer.mastercard.com/mastercard-checkout-solutions/documentation/use-cases/click-to-pay/firsttimeuser_usecase/index.md) checkout. ![First Time User](https://static.developer.mastercard.com/content/mastercard-checkout-solutions/documentation/tutorials-and-guides/ui-guide/img/fuu-img/default_new.png "First Time User IDLOOKUP ") ![First Time User](https://static.developer.mastercard.com/content/mastercard-checkout-solutions/documentation/tutorials-and-guides/ui-guide/img/fuu-img/1_new.png "First Time User checkout as guest") * During new user checkout flow , if the card entered is from a network that offer Click to Pay, the integrator initiates the [checkout()](https://developer.mastercard.com/mastercard-checkout-solutions/documentation/sdk-reference/checkout-method/index.md) method to trigger the Click to Pay logic as shown in **Screen 05**. * Click to Pay Mastercard DCF prompts the consumer to create a Click to Pay profile. * If the consumer chooses not to save their data, the Click to Pay profile is not created but consumer is still able to complete checkout and return to the integrator. > **Integration Notes** > > For this experience, integrators need to > > * Pass the value `WITHIN_CHECKOUT` as part of [customInputData](https://developer.mastercard.com/mastercard-checkout-solutions/documentation/sdk-reference/common-objects/index.md#custom-input-data). > * Ensure that **email** and **mobile number** are present as part of [consumer](https://developer.mastercard.com/mastercard-checkout-solutions/documentation/parameters/index.md#consumer). > * Ensure that `consumerName` is passed if requested in the [checkoutResponse](https://developer.mastercard.com/mastercard-checkout-solutions/documentation/sdk-reference/checkout-method/index.md#checkout-response). > * Ensure that [confirmPayment](https://developer.mastercard.com/mastercard-checkout-solutions/documentation/parameters/index.md#dpa-transaction-options) is set to `TRUE`. ## Scenario 2: First Time User Checkout While Adding New Card {#scenario-2-first-time-user-checkout-while-adding-new-card} With this experience, consumers can enroll with Click to Pay and add their cards for faster checkout. Integrators are not mandated to use the checkout payload returned by Click to Pay system. ![First Time User](https://static.developer.mastercard.com/content/mastercard-checkout-solutions/documentation/tutorials-and-guides/ui-guide/img/fuu-img/default_new.png "First Time User IDLOOKUP ") ![First Time User](https://static.developer.mastercard.com/content/mastercard-checkout-solutions/documentation/tutorials-and-guides/ui-guide/img/fuu-img/2_new.png "First Time User add card") * Click to Pay Mastercard DCF prompts the consumer to create a Click to Pay profile, enter new card details , complete checkout, and return to the integrator. > **Integration Notes** > > For this experience, Integrators need to: > > * Pass the value `PAYMENT_SETTINGS` as part of [customInputData](https://developer.mastercard.com/mastercard-checkout-solutions/documentation/sdk-reference/common-objects/index.md#custom-input-data). > * Ensure that **email** and **mobile number** are present as part of [consumer](https://developer.mastercard.com/mastercard-checkout-solutions/documentation/parameters/index.md#consumer). > * Ensure that `consumerName` is passed if requested in the [checkoutResponse](https://developer.mastercard.com/mastercard-checkout-solutions/documentation/sdk-reference/checkout-method/index.md#checkout-response). > * Ensure that [confirmPayment](https://developer.mastercard.com/mastercard-checkout-solutions/documentation/parameters/index.md#dpa-transaction-options) is set to `TRUE`. ## Scenario 3: Consumer's PII Data is Missing {#scenario-3-consumers-pii-data-is-missing} ![First Time User](https://static.developer.mastercard.com/content/mastercard-checkout-solutions/documentation/tutorials-and-guides/ui-guide/img/fuu-img/default_new.png "First Time User IDLOOKUP ") ![First Time User](https://static.developer.mastercard.com/content/mastercard-checkout-solutions/documentation/tutorials-and-guides/ui-guide/img/fuu-img/3_new.png "First Time User PII email or mobile") * Mastercard DCF screen asks consumers to fill up the missing data (email or mobile number or both) before finishing the checkout. * The payment information is secured, and the consumer is redirected back to the Integrator.
> **Integration Notes** > > In order for consumers to get this experience, integrators need to: > > * Pass either `PAYMENT_SETTINGS` OR `WITHIN_CHECKOUT` enum values as part of [customInputData](https://developer.mastercard.com/mastercard-checkout-solutions/documentation/sdk-reference/common-objects/index.md#custom-input-data). > * Optionally pass email or mobile number as part of [consumer](https://developer.mastercard.com/mastercard-checkout-solutions/documentation/parameters/index.md#consumer).