Zum Inhalt springen

@capgo/capacitor-stripe-pay

Capacitor Plugin für Stripe Payment Sheet, Apple Pay und Google Pay

Capacitor Plugin für Stripe Payment Sheet, Apple Pay und Google Pay

Starte mit initialize() und den anderen unten aufgeführten Core-Methoden.

PlattformSupportNotizen
iOSJaNativ
AndroidJaNativ
WebNeinAbsichern mit Capacitor.getPlatform()

Diese Plugins sind gepflegte Forks von @capacitor-community/stripe. Capgo hat das Community-Projekt in spezialisierte Pakete mit Docs, Beispiel-Apps und CI für jede Stripe-Oberfläche aufgeteilt.

Capgo verfolgt Open Issues und Pull Requests im Community-Repo, portiert relevante Fixes in unsere Repos und veröffentlicht sie auf Basis aktueller Stripe SDKs. Bei Bugs oder Plattform-Updates wollen wir schneller reagieren als die Community-Maintainer.

Für Payment Sheet, Apple Pay und Google Pay: @capgo/capacitor-stripe-pay ist der gepflegte Upgrade-Pfad vom Community-Paket.

  • initialize - Stripe Publishable Key und optionales Connect-Konto setzen.
  • createPaymentSheet - Payment Sheet aus dem Backend Client Secret erstellen.
  • presentPaymentSheet - Das native Stripe Payment Sheet anzeigen.
  • updateApplePaySheet - Apple Pay Line Items nach der Versandadresse-Auswahl aktualisieren.
MethodeBeschreibung
initializeSetze den Stripe Publishable Key und optional das Connect-Konto.
createPaymentSheetErstelle ein Payment Sheet aus deinem Backend Client Secret.
presentPaymentSheetZeige das native Stripe Payment Sheet an.
updateApplePaySheetAktualisiere Apple Pay Line Items nach der Auswahl der Versandadresse.
getPluginVersionDie native Capacitor Plugin-Version abrufen.

Diese Referenz wird synchronisiert von src/definitions.ts in einem capacitor-stripe-pay.