시작하기
설치
Set up this Capacitor plugin in the project.
Use the package manager already used by the project.
Install these package(s): `@capgo/capacitor-stripe-pay`
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-pay/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-paybunx cap syncimport
구독 및 앱 내 구매import { Stripe } from '@capgo/capacitor-stripe-pay';구독 및 앱 내 구매
애플 스토어 / 플레이 스토어 구독 및 권한을 사용하려면앱 스토어 / 플레이 스토어 구독 및 권한을 사용할 때 @capgo/자연스러운 구매 이 대신 사용하세요.
결제 시트 흐름
결제 시트 흐름await Stripe.initialize({ publishableKey: 'pk_test_...' });
await Stripe.createPaymentSheet({ paymentIntentClientSecret: 'pi_..._secret_...', merchantDisplayName: 'My Store',});
const result = await Stripe.presentPaymentSheet();직접 청구 (Stripe Connect)
섹션 제목 “직접 청구 (Stripe Connect)”Pass stripeAccount on initialize() 또는 per createPaymentSheet() 계정에 연결된 계정에서 PaymentIntents를 생성할 때.
예제 앱
예제 앱git clone https://github.com/Cap-go/capacitor-stripe-pay.gitcd capacitor-stripe-pay/example-appbun installbun run start실질적 진실
실질적 진실현재 공개 버전 API을 설명하는 문서입니다. Cap-go/ capacitor - Stripe 결제.