@capgo/capacitor-stripe-pay
Capacitor plugin for Stripe Payment Sheet, Apple Pay, and Google Pay.
Overview
Section titled “Overview”Capacitor plugin for Stripe Payment Sheet, Apple Pay, and Google Pay.
Why Capgo?
Section titled “Why Capgo?”These plugins are maintained forks of @capacitor-community/stripe. Capgo split the community project into focused packages with docs, example apps, and CI for each Stripe surface.
Capgo tracks open issues and pull requests in the community repository, ports relevant fixes into our repos, and ships them on current Stripe SDKs. We aim to be more reactive than the community maintainers when bugs or platform updates land.
For Payment Sheet, Apple Pay, and Google Pay, @capgo/capacitor-stripe-pay is the maintained upgrade path from the community package.
Core Capabilities
Section titled “Core Capabilities”initialize- Set the Stripe publishable key and optional Connect account.createPaymentSheet- Create a Payment Sheet from your backend client secret.presentPaymentSheet- Present the native Stripe Payment Sheet.updateApplePaySheet- Update Apple Pay line items after shipping contact selection.
Public API
Section titled “Public API”| Method | Description |
|---|---|
initialize | Set the Stripe publishable key and optional Connect account. |
createPaymentSheet | Create a Payment Sheet from your backend client secret. |
presentPaymentSheet | Present the native Stripe Payment Sheet. |
updateApplePaySheet | Update Apple Pay line items after shipping contact selection. |
getPluginVersion | Get the native Capacitor plugin version. |
Source Of Truth
Section titled “Source Of Truth”This reference is synced from src/definitions.ts in capacitor-stripe-pay.
Related plugins
Section titled “Related plugins”- @capgo/native-purchases for App Store and Play Store subscriptions
- @capgo/capacitor-pay for wallet-only Apple Pay / Google Pay without Stripe Payment Sheet