React Native
Migrate from Stripe on your react native app
React Native - Node Backend and JS Frontend
$ npm install @juspay-tech/react-native-hyperswitch
$ npm install @juspay-tech/hyper-node --save-dev $ npm install react-native-code-push react-native-gesture-handler react-native-inappbrowser-reborn react-native-pager-view react-native-safe-area-context react-native-screens react-native-svg @sentry/react-native// from
const stripe = require("stripe")("your_stripe_api_key");
// to
const stripe = require("@juspay-tech/hyper-node")("your_hyperswitch_api_key");// from
import { StripeProvider } from "@stripe/stripe-react-native";
// to
import { HyperProvider } from "@juspay-tech/react-native-hyperswitch";
// from
import { useStripe } from "@stripe/stripe-react-native";
// to
import { useStripe } from "@juspay-tech/react-native-hyperswitch";Last updated
Was this helpful?

