How to add Stripe Payment in react native app

Aneeqa Khan
3 min readApr 18, 2022

Hi folks, today I want to share the procedure of payment integration in react native app through Stripe

Registration

First, you have to create your account on the Stripe dashboard.
Stripe dashboard in test mode will look like this.

Installation

For server-side installation, you can refer to this link
For the react-native side, run this command in terminal

yarn add @stripe/stripe-react-native

And to install the required native dependencies, run this command in the ios folder. Android doesn’t require any additional steps.

pod install

Configuration

Now wrap your <App/> in <StripeProvider> tag and pass your account publishable key to it. You…

--

--

Aneeqa Khan
Aneeqa Khan

Written by Aneeqa Khan

I’m a frontend web and mobile developer specialized in web/mobile designs and frontend frameworks. I usually work with React, React Native, Next and TypeScript.