Skip to content

topdev0929/react-native-payments

Repository files navigation

react-native-payments

Codeship Status for freeman-industries/react-native-payments

🚨 Important notice 🚨

This project is no longer maintained. The good news is that the landscape of payments on React Native has massively changed in the last few years. There is still room for this repo to evolve which I'll detail below, but first I would like to direct your attention to well-funded and well-maintained alternatives that will give you fewer grey hairs.

Stripe

  • Stripe has released an official React Native SDK supporting Apple Pay that has a huge team of paid engineers behind it.
  • It has also been included in the Expo managed environment, which means it works on Expo Go. Huge achievement.
  • For a bug free experience and easy integration I strongly recommend you use @stripe/stripe-react-native on any new projects.
  • More information and discussion in this issue: naoufal/react-native-payments#335

Introduction

Welcome to the best and most comprehensive library for integrating payments like Apple Pay and Google Pay into your React Native app.

This library is designed to be fully compatible with React Native 0.61 and onwards.

Installation

npm install --save react-native-payments

You'll need to autolink on each platform:

Android

npx jetify

iOS

cd ios
pod install

Guides

Example projects

API Spec

Down below we have a detailed specification for PaymentRequest and instructions for configuring Apple Pay and Google Pay, which is hopefully enough to get you started.

We also have some legacy example projects in the examples directory that will be rewritten soon and linked above.

Bear with us while we organize things a bit.

Roadmap

Completed

  • Apple Pay Stripe

Completed, untested

  • Apple Pay Braintree
  • Google Pay (Stripe, Braintree)
  • Web

In progress

  • Stripe: Payment Intents (for SCA)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published