1. Get the SDK

The React Native SDK is hosted on npm.org you can get the sdk here.
The example app is located here.

Requirements

Our React Native SDK supports Android SDK version 19 and above and iOS minimum deployment target of 10.3 and above

Installation

Navigate to your project and run the following command.

npm install react-native-cashfree-pg-sdk

iOS

Add this to your application's info.plist file

📘

Migrating to 2.0.0

Replace "paytm" with "paytmmp"

<key>LSApplicationCategoryType</key>
<string></string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>phonepe</string>
<string>tez</string>
<string>paytmmp</string>
<string>bhim</string>
<string>credpay</string>
</array>
cd ios
pod install --repo-update

Package Whitelisting

The newest versions of our React Native SDK(2.0.0 and newer) will require your app package/bundle to be whitelisted in cashfree's system to use the SDK Checkout. Whitelisting request can be made from Developers>Whitelisting

You can check step-by-step process of making whitelisting request here.

📘

Note

Please ensure you enter correct package for the whitelisting.
Package name example -
com.cashfree.merchant (correct)