Repository navigation
v8.3.0
v8.3.0 adds delayed payment methods to native PaymentSheet and PaymentFlow, improves Apple Pay shipping updates, and fixes the web payment confirmation flow. It also updates the native Stripe SDKs while keeping the existing Capacitor 8 toolchain and minimum OS requirements.
Highlights
Delayed payment methods on iOS and Android
PaymentSheet and PaymentFlow now accept allowsDelayedPaymentMethods, enabling eligible methods such as ACH and SEPA Debit. The option defaults to false and is native-only. Enable the relevant methods in Stripe and configure your Intent accordingly.
await Stripe.createPaymentSheet({
paymentIntentClientSecret,
merchantDisplayName: 'My Store',
allowsDelayedPaymentMethods: true,
});The same option is available in createPaymentFlow. Delayed payments can still be processing when the UI reports Completed; fulfill orders only after your server verifies payment success through Stripe webhooks. See Stripe's post-payment guidance.
More reliable Apple Pay shipping updates
On iOS, shipping-contact updates now validate summary items, reject stale or duplicate updates, and preserve the current shipping methods. If JavaScript does not respond, a 25-second fallback completes the pending update using the latest accepted summary items.
Passing paymentSummaryItems: [] continues to acknowledge a selection without replacing the existing totals, preserving the previous behavior. See #525 and #535.
Correct web confirmation and modal behavior
Web PaymentFlow now separates payment-method collection from confirmation: presentPaymentFlow() collects card details, and confirmPaymentFlow() confirms the PaymentIntent or SetupIntent. Failed confirmation returns Failed instead of also reporting Completed. PaymentSheet and PaymentFlow also share a fix for displaying the stripe-pwa-elements card modal. See #534.
Stripe Terminal reader discovery
Android now maps the STRIPE_U200 reader type correctly, fixing a discovery crash, including in test mode. Thanks to @matthew-tyler for #505!
Native SDK updates
The dependency updates in #538 were validated with:
| Package | Stripe iOS SDK | Stripe Android SDK |
|---|---|---|
| Payment | 26.12.1 | 23.21.0 |
| Identity | 26.12.1 | 23.21.0 |
| Terminal | 5.8.0 | 5.8.2 |
The resolved SDK versions depend on the package manager, dependency ranges, and your lockfiles. This release does not require a Gradle, Android Gradle Plugin, or Kotlin upgrade from the existing Capacitor 8 setup. Minimum OS requirements remain iOS 15, Android API 24 for Payment/Identity, and Android API 26 for Terminal.
Upgrading from v8.2.1
Install the packages your application uses and synchronize native projects:
npm install @capacitor-community/stripe@8.3.0
# Optional packages:
npm install @capacitor-community/stripe-identity@8.3.0
npm install @capacitor-community/stripe-terminal@8.3.0
npx cap syncWeb integrations should review these corrected behaviors:
- Call
confirmPaymentFlow()after successful collection when the customer is ready to pay. Do not rely onpresentPaymentFlow()to charge the customer. - Check
confirmPaymentFlow().paymentResultforFailedas well asCompleted. - Web PaymentSheet cancellation resolves with
paymentResult: PaymentSheetEventsEnum.Canceled. Handle that result; do not rely only oncatchfor cancellation.
These web fixes do not change native presentation, confirmation, or cancellation handling. Delayed payment methods remain opt-in. Stripe.js v9 support is not part of this release.
Documentation and demos
- Centralized guides now cover setup, platform differences, server integration, event handling, and iOS redirect-based payment methods: Payment, Identity, and Terminal.
- The React demo now uses Vite; Angular demos have updated tooling, and the main Angular demo uses signals for reliable view updates.
- Native demos use Capacitor 8.5 and Swift Package Manager. Angular and React payment examples follow the corrected collection/confirmation flow.
- The demo backend is now available at
https://capacitor-stripe-demo-server.rdlabo.dev.
Thank you
Welcome and thank you to first-time contributors @benluria and @matthew-tyler! Thanks also to @rdlabo and everyone who reported issues and helped verify the changes.
Full changelog: v8.2.1...v8.3.0