Use this boolean to present a spinner or other similar loading screen. true
if the SDK is currently processing, false
if it is not.
Check if the relevant native wallet (Apple Pay on iOS, Google Pay on Android) is supported.
Launches the relevant native wallet sheet (Apple Pay on iOS, Google Pay on Android) in order to confirm a Stripe SetupIntent.
Launches the relevant native wallet sheet (Apple Pay on iOS, Google Pay on Android) in order to confirm a Stripe PaymentIntent.
Launches the relevant native wallet sheet (Apple Pay on iOS, Google Pay on Android) in order to create a Stripe PaymentMethod and token.
The Tokens API is deprecated, you should use Payment Methods and createPlatformPayPaymentMethod
instead. Launches the relevant native wallet sheet (Apple Pay on iOS, Google Pay on Android) in order to create a Stripe token.
Dismiss the Apple Pay sheet if it is open. iOS only, this is a no-op on Android.
Update different items on the Apple Pay sheet, including the summary items, the shipping methods, and any errors shown. iOS only, this is a no-op on Android.
Check if the app & device support adding this card to the native wallet.
iOS only, this is a no-op on Android. Use this method to move users to the interface for adding credit cards. This method transfers control to the Wallet app on iPhone or to the Settings app on iPad. For devices that don’t support Apple Pay, this method does nothing.
usePlatformPay hook. Access all Apple and Google Pay functionality with this hook.