#IvonneVargas
1 messages · Page 1 of 1 (latest)
Hi there
Hmm good question
I believe so, yes. StripeProvider doesn't require hooks
I am trying to use this example https://stripe.com/docs/payments/accept-a-payment?platform=react-native&ui=custom but to confirm payment use confirmPayment from useConfirmPayment hook
Ah right.
Let me see
Okay yeah we support this in our React library but not React-Native
You do need hooks for React Native
Actually!
https://github.com/stripe/stripe-react-native/issues/304 indicates otherwise @half cairn
Have you tested importing confirmPayment directly?
how directly?
import { confirmPayment } from '@stripe/stripe-react-native';
👍
