ExperimentalOptional ExperimentalcustomerThe email of the user. If undefined, RevenueCat will ask the customer for their email.
Optional ExperimentaldefaultThe default locale to use if the selectedLocale is not available. Defaults to english.
ExperimentalhtmlThe HTML element where the express purchase button should be rendered.
Optional ExperimentallistenerOptional listener for purchase lifecycle events.
Optional ExperimentalmetadataThe purchase metadata to be passed to the backend. Any information provided here will be propagated to the payment gateway and to the RC transaction as metadata.
Optional ExperimentalonCallback to be called when the express purchase button is ready to be clicked.
Optional ExperimentalpurchaseThe option to be used for this purchase. If not specified or null the default one will be used.
ExperimentalrcThe package you want to purchase. Obtained from Purchases.getOfferings.
Optional ExperimentalselectedThe locale to use for the purchase flow. If not specified, English will be used
Optional ExperimentalwalletTheme for the Stripe wallet button appearance. Matches Apple Pay button styles: 'black', 'white', or 'white-outline' Defaults to "black".
Parameters for the Purchases.presentExpressPurchaseButton method.
Example