React Native
Migrate from Stripe on your react native app
Last updated
Was this helpful?
Migrate from Stripe on your react native app
Last updated
Was this helpful?
If you are already integrated with Stripe as your payment processor, we have made migrating to Hyperswitch much simpler for you. And we will be adding quick migration support for more leading payment processors in the near future. And once you migrate, get immediate access to 40+ payment processors and features such as Smart Router, Digital Payments Manager and many more.
The code from your Stripe integration to be removed and replaced is explained below in a step by step manner.
Step 1: Install Hyperswitch’s SDK and server side dependencies from npm
Install peer dependencies:
Step 2: Change the API key on the server side and modify the paymentIntent endpoint from your server side. You can get the API key from page on the dashboard.
Step 3: Call useStripe() with your Hyperswitch publishable key to configure the SDK library, from your website
Step 4: Configure your checkout form to import from Hyperswitch
Step 5: Run your application to make a test payment. And verify the status of the transaction on Hyperswitch Dashboard and Stripe Dashboard. Congratulations ! You have successfully integrated Hyperswitch to your payments stack and you now have access to a suite of 40+ payment processors and acquirers.