__CAPGO_KEEP_2__

はじめに

GitHub
ターミナル画面
bun add @capgo/capacitor-stripe-pay
bunx cap sync
import { Stripe } from '@capgo/capacitor-stripe-pay';

サブスクリプションとインアプリ購入

「サブスクリプションとインアプリ購入」のセクション

App Store / Play Store のサブスクリプションとエンタイトメントの場合、使用します。 @capgo/native-purchases このプラグインの代わりに。

await Stripe.initialize({ publishableKey: 'pk_test_...' });
await Stripe.createPaymentSheet({
paymentIntentClientSecret: 'pi_..._secret_...',
merchantDisplayName: 'My Store',
});
const result = await Stripe.presentPaymentSheet();

ストリーピー コネクトによる直接請求

セクション「ストリーピー コネクトによる直接請求」

パス stripeAccount オン initialize() または createPaymentSheet() パー

ターミナル画面
git clone https://github.com/Cap-go/capacitor-stripe-pay.git
cd capacitor-stripe-pay/example-app
bun install
bun run start

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