Skip to content

React Native library for Apple Pay with Stripe

License

Notifications You must be signed in to change notification settings

team-blaze/stripe-react-native-apple-pay

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stripe-react-native-apple-pay

React Native wrapper around Stripe Apple Pay. Currently there are very limited configuration options. Feel free to open a PR to add more.

This is a fork of react-native-stripe-apple-pay with the addition of an ApplePayButton component and updates to the API to align more with @stripe/stripe-react-native

Installation

yarn add install stripe-react-native-apple-pay

Testing

Before including this library in your project you can test it by running the example app and example server.

Install dependencies

yarn

Run server

export SECRET_KEY=sk_test_...
export PUBLISHABLE_KEY=pk_test_...
yarn server
# or
SECRET_KEY=sk_test_... PUBLISHABLE_KEY=pk_test_... yarn server

Run example app

yarn example ios
# or select a simulator
yarn example ios --simulator "iPhone 15 Pro Max"

Usage

See example and server folder.

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

About

React Native library for Apple Pay with Stripe

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 39.1%
  • TypeScript 26.9%
  • Java 11.2%
  • JavaScript 7.0%
  • Ruby 6.6%
  • Objective-C 4.4%
  • Other 4.8%