Skip to main content

Documentation Index

Fetch the complete documentation index at: https://primer.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Set the PrimerHeadlessUniversalCheckoutUIDelegate in order to receive callbacks from Primer SDK about UI events.

primerHeadlessUniversalCheckoutUIDidStartPreparation

This method will be called when the SDK starts preparing to tokenize the payment method.
func primerHeadlessUniversalCheckoutUIDidStartPreparation(for paymentMethodType: String)

primerHeadlessUniversalCheckoutUIDidShowPaymentMethod

This method will be called when the payment method UI gets displayed.
func primerHeadlessUniversalCheckoutUIDidShowPaymentMethod(for paymentMethodType: String)