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