Primer

The function showPaymentMethod(paymentMethodType: string, intent: PrimerSessionIntent, clientToken: string): Promise<void> gets removed. Use the relevant function on the Headless Universal Checkout

<aside> ⚠️ If no settings are provided, they SDK will get initialized with its default settings.

</aside>

HeadlessUniversalCheckout

PrimerSettings

Primer callbacks haven’t been modified, they were just moved within the primerCallbacks in the settings object.