TS
showUniversalCheckout(
    clientToken: string
): Promise<Void>

Showing Drop-in Checkout is the simplest way to integrate with Primer. With just a few lines of code, you can display a fully in-context checkout UI with all your payment methods.

Using Drop-In Checkout is as easy as implementing one line of code.

TS
import { Primer } from "@primer-io/react-native";

Primer.showUniversalCheckout(clientToken);

Note that there are more options which can be passed to Drop-In Checkout. Please refer to the Configure call documentation.

Parameters