Passer à la navigation principale

Démarrage

GitHub
Fenêtre de terminal
bun add @capgo/capacitor-stripe-identity
bunx cap sync
import { StripeIdentity } from '@capgo/capacitor-stripe-identity';

Créez une session de vérification sur votre serveur backend, puis passez les ID au plugin :

await StripeIdentity.initialize({ publishableKey: 'pk_test_...' });
await StripeIdentity.create({
verificationId: 'vs_...',
ephemeralKeySecret: 'ek_...',
clientSecret: 'vs_..._secret_...', // web only
});
await StripeIdentity.present();
Onglet Terminal
git clone https://github.com/Cap-go/capacitor-stripe-identity.git
cd capacitor-stripe-identity/example-app
bun install
bun run start

This page documents the current public API from Cap-go/capacitor-stripe-identity.