Guide
Stripe에 대한 튜토리얼
Stripe 결제 시트, Apple Pay, Google Pay를 위한 @capgo/capacitor-stripe-pay 사용
Capacitor 플러그인: Stripe 결제 시트, Apple Pay, Google Pay
왜 Capgo일까?
Capgo는 공식적인 @capacitor-community/stripe우리는 upstream 이슈 및 Pull Request를 모니터링하고, 관련된 수정 사항을 병합하고, 현재 Stripe SDK와 예시 앱 및 문서를 통해 업데이트를 제공합니다.
현재 community 패키지를 사용하고 있다면, Capgo Stripe 플러그인은 버그 및 플랫폼 변경에 대한 빠른 반응을 제공하는 유지 보수 경로입니다.
설치
bun add @capgo/capacitor-stripe-pay
bunx cap sync
이 플러그인은 노출합니다.
initialize- Stripe 발행 가능 키를 설정하고 선택적 Connect 계정.createPaymentSheet- 클라이언트 secret를 사용하여 백엔드에서 Payment Sheet를 생성합니다.presentPaymentSheet- 원시 Stripe Payment Sheet를 표시합니다.updateApplePaySheet- 배송 연락처 선택 후 Apple Pay 라인 아이템을 업데이트합니다.
전체 참조
- GitHub: https://github.com/Cap-go/capacitor-stripe-pay/
- 문서: /docs/plugins/stripe-pay/
관련 플러그인
- 구독: @capgo/native-purchases
- 지갑 전용 결제: @capgo/capacitor-pay