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.
async showPaymentMethod(
paymentMethod: string,
intent: string,
clientToken: string
): Promise<Void>
Use this method to present the payment method user interface (UI) to the user.
import { Primer } from "@primer-io/react-native";
await Primer.showPaymentMethod(paymentMethod, intent, clientToken);
Note that there are more options which can be passed to Drop-In Checkout.
Please refer to the Configure call documentation.
Parameters
A unique string identifier for the payment method.
intent
PrimerSessionIntent
required
PrimerSessionIntent.CHECKOUT
PrimerSessionIntent.VAULT