Zum Inhalt springen

@capgo/capacitor-stripe-pay

Capacitor plugin for Stripe Payment Sheet, Apple Pay, and Google Pay.

Capacitor plugin for Stripe Payment Sheet, Apple Pay, and Google Pay.

Diese Plugins sind gepflegte Forks von @capacitor-community/stripe Capgo hat die Community-Projekt in fokussierte Pakete mit Dokumentation, Beispielanwendungen und CI für jede Stripe-Oberfläche aufgeteilt.

Capgo verfolgt offene Probleme und Pull-Anfragen in der Community-Repository, portiert relevante Fixes in unsere Repositories und schickt sie auf aktuellen Stripe-SDKs. Wir streben danach, reaktiver als die Community-Maintainer zu sein, wenn Fehler oder Plattformaktualisierungen landen.

Für Zahlungsblatt, Apple Pay und Google Pay @capgo/capacitor-stripe-pay ist der gepflegte Upgrade-Weg vom Community-Paket.

  • initialize - Setze den Stripe-Publish-Keys und optionalen Connect-Konto.
  • createPaymentSheet - Erstelle ein Zahlungsblatt von deinem Backend-Kunden-Schlüssel.
  • presentPaymentSheet - Präsentiere das native Stripe-Zahlungsblatt.
  • updateApplePaySheet - Apple Pay-Linieelemente nach Versandkontakt-Auswahl aktualisieren.
MethodeBeschreibung
initializeSetze die Stripe-Publishable-Schlüssel und optionalen Connect-Konto.
createPaymentSheetErstelle ein Zahlungsbildschirm aus deinem Backend-Klientensekret.
presentPaymentSheetPräsentiere das native Stripe-Zahlungsbildschirm.
updateApplePaySheetAktualisiere Apple Pay-Linieelemente nach Versandkontakt-Auswahl.
getPluginVersionErhalte die native Capacitor-Pluginversion.

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