Payment Widget
Find the demo app here
1. Basic Usage
1.1 Install the react native sdk
npm install @juspay-tech/react-native-hyperswitch
# or
yarn add @juspay-tech/react-native-hyperswitch1.1.1 Install Peer Dependencies
yarn add react-native-inappbrowser-reborn
yarn add react-native-svg
yarn add @sentry/react-native
# or
npm install react-native-inappbrowser-reborn
npm install react-native-svg
npm install @sentry/react-native1.2 Wrap your app with HyperProvider
HyperProvider1.3 Fetch the PaymentIntent client Secret
1.4 Render your Payment widget
1.5 onPaymentResult Callback
onPaymentResult CallbackCongratulations! You have successfully integrated the Payment Widget into your application.
Props
Last updated
Was this helpful?

