가이드
__CAPGO_KEEP_0__에 대한 튜토리얼
@capgo/capacitor-stripe-pay 사용하기
Capacitor는 Stripe Payment Sheet, Apple Pay, 및 Google Pay를 위한 플러그인입니다.
왜 Capgo인가?
Capgo는 공식적인 Stripe SDK의 fork을 유지합니다. @capacitor-community/stripe우리는 업스트림 이슈와 Pull Request를 모니터링하고, 관련된 수정을 병합하고, 현재 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-pay
bunx cap sync
What This Plugin Exposes
initialize- Stripe 발행 가능 키 및 선택적 Connect 계정 설정createPaymentSheet- 백엔드 클라이언트 시크릿으로 결제 시트 생성presentPaymentSheet- 원시 Stripe 결제 시트 표시updateApplePaySheet- Apple Pay 라인 아이템 업데이트 (배송 연락처 선택 후)
Full Reference
- GitHub: https://github.com/Cap-go/capacitor-stripe-pay/
- Docs: /docs/plugins/stripe-pay/
관련 플러그인
- 구독: @capgo/native-purchases
- 지갑 전용 결제: @capgo/capacitor-pay