スタートガイド
インストール手順とこのプラグインのフル マークダウン ガイドを含むセットアップ コマンドをコピーします。
Set up this Capacitor plugin in the project.
Use the package manager already used by the project.
Install these package(s): `@capgo/capacitor-stripe-identity`
Run the required Capacitor sync/update step after installation.
Read this markdown guide for the full setup steps: https://raw.githubusercontent.com/Cap-go/website/refs/heads/main/apps/docs/src/content/docs/docs/plugins/stripe-identity/getting-started.mdx
Use that guide for platform-specific steps, native file edits, permissions, config changes, imports, and usage setup.
If that guide references other docs pages, read them too.
インストール
「インストール」のセクションbun add @capgo/capacitor-stripe-identitybunx cap sync__CAPGO_KEEP_1__
「__CAPGO_KEEP_1__」セクションimport { StripeIdentity } from '@capgo/capacitor-stripe-identity';__CAPGO_KEEP_2__
「__CAPGO_KEEP_2__」セクションバックエンドでVerificationSessionを作成し、IDをプラグインに渡します:
await StripeIdentity.initialize({ publishableKey: 'pk_test_...' });
await StripeIdentity.create({ verificationId: 'vs_...', ephemeralKeySecret: 'ek_...', clientSecret: 'vs_..._secret_...', // web only});
await StripeIdentity.present();__CAPGO_KEEP_3__
「__CAPGO_KEEP_3__」セクションgit clone https://github.com/Cap-go/capacitor-stripe-identity.gitcd capacitor-stripe-identity/example-appbun installbun run startSource Of Truth
Section titled “Source Of Truth”This page documents the current public API from Cap-go/capacitor-stripe-identity.