payjp-react-native
v0.8.7
Published
A React Native plugin for PAY.JP SDK
Maintainers
Readme
React Native Plugin for PAY.JP SDK
オンライン決済サービス「PAY.JP」をReact Nativeアプリケーションに組み込むためのプラグインです。 このプラグインは以下の機能を提供します。
- クレジットカード決済のためのカードフォーム
- Apple Payアプリ内決済(iOSのみ)
詳細は公式オンラインドキュメントを確認ください。
サンプルコード
exampleをご覧ください。
※Android Emulator環境で3Dセキュア機能を動作させる場合、Chromeアプリが初期画面になっていると3Dセキュアの認証画面が立ち上がらない場合がありますのでご注意ください。 ref: https://github.com/payjp/payjp-android/pull/61
この事象が起こる場合、一度Chromeアプリを開き初期画面を完了しておくことで解決されます。
Compatible Platforms
|Platform|CardForm |ApplePay | |--------|------------------|------------------| |iOS |:white_check_mark:|:white_check_mark:| |Android |:white_check_mark:| |
API References
https://payjp.github.io/payjp-react-native-plugin/
License
React Native Plugin for PAY.JP SDK is available under the MIT license. See the LICENSE file for more info.
Development
yarn install
yarn buildcd example
yarn start
yarn ios or android