ガイド
Stripe Terminalのチュートリアル
@capgo/capacitor-stripe-terminalを使用
CapacitorのStripe Terminalの現地支払い用プラグイン
なぜCapgo?
Capgoは @capacitor-community/stripe__CAPGO_KEEP_0__はアップストリームの問題やプルリクエストを監視し、関連する修正をマージし、現在のStripe SDKのアップデートと例のアプリケーション、ドキュメントを配信します。
If you use the community package today, the Capgo Stripe plugins are the maintained path with faster turnaround on bugs and platform changes.
インストール
bun add @capgo/capacitor-stripe-terminal
bunx cap sync
What This Plugin Exposes
initialize- Terminalを初期化する接続トークンプロバイダエンドポイント。discoverReaders- Tap to Pay、Bluetooth、またはインターネットリーダーを発見する。cancelDiscoverReaders- 進行中のリーダー発見セッションをキャンセルする。connectReader- 発見されたリーダーに接続する。
フルリファレンス
- GitHub: https://github.com/Cap-go/capacitor-stripe-terminal/
- ドキュメント: /docs/plugins/stripe-terminal/
関連プラグイン
- サブスクリプション: @capgo/native-purchases
- ウォレットのみの決済: @capgo/capacitor-pay