Weiter zum Inhalt
Konto erstellen
oder
anmelden
Das Logo der Stripe-Dokumentation
/
KI fragen
Konto erstellen
Anmelden
Jetzt starten
Zahlungen
Umsatz
Plattformen und Marktplätze
Geldmanagement
Entwicklerressourcen
Übersicht
Versionierung
Änderungsprotokoll
    Übersicht
    Clover
    Basilikum
    Acacia
    Vorherige Versionen
Aktualisieren Sie Ihre API-Version
Ihre SDK-Version aktualisieren
Essentials
SDKs
API
Tests
Stripe-CLI
Beispiel-Projekte
Tools
Stripe Dashboard
Workbench
Entwickler-Dashboard
Stripe Shell
Stripe für Visual Studio Code
Funktionen
Arbeitsabläufe
Ereignisziele
Stripe-StatuswarnungenHochgeladene Dateien
KI-Lösungen
Agent-Toolkit
Model Context ProtocolAgentische KI-SaaS-Billing-Workflows aufbauen
Sicherheit und Datenschutz
Sicherheit
Stripebot-Webcrawler
Datenschutz
Extend Stripe
Erstellen Sie Stripe-Apps
Verwenden Sie Apps von Stripe
Partner
Partner-Ecosystem
Partner-Zertifizierung
StartseiteEntwicklerressourcenChangelogClover2025-09-30.clover

Notiz

Bis jetzt ist diese Seite noch nicht in dieser Sprache verfügbar. Wir arbeiten aber verstärkt daran, unsere Dokumentation in weiteren Sprachen bereitzustellen, und werden die Übersetzung sofort anzeigen, sobald diese verfügbar ist.

Updates default behavior for saved payment methods in Elements with Checkout SessionsBreaking changes

What’s new

Updates Elements with Checkout Sessions to automatically enable saved payment method collection and redisplay the saved payment methods in the Payment Element by default. This change means you don’t need to explicitly configure these options in your client-side integration when a customer ID is passed to the Checkout Session (for redisplay) or when saved_payment_method_options.payment_method_save is enabled (for collection).

Why is this a breaking change?

Previously, to enable saved payment methods with Elements and Checkout Sessions, you had to configure saved payment methods both on the Checkout Session and explicitly in your client-side initCheckout() call. Now, when you enable saved payment methods on the Checkout Session, the Payment Element automatically enables collection and redisplay without requiring additional client-side configuration. This changes the default behavior for integrations that enabled saved payment methods on the Checkout Session but intentionally omitted the client-side configuration—those integrations will now have saved payment method collection and redisplay enabled automatically.

Impact

You can now integrate saved payment methods in Elements with Checkout Sessions with simplified client-side configuration. Previously, you had to enable saved payment methods both on the Checkout Session and explicitly in your initCheckout() call. Now, when you enable saved payment methods on the Checkout Session, the Payment Element automatically enables collection and redisplay of saved payment methods without requiring additional client-side configuration.

This reduces integration complexity and ensures consistent saved payment method behavior across your Elements with Checkout Sessions implementation. If you want to disable saved payment methods, you can still explicitly set enableSave and enableRedisplay to never in your elementsOptions.savedPaymentMethod configuration.

Related changes

  • Prevents reusing client secrets for Intents in certain states when initializing Elements
  • Removes deprecated messaging and bank elements that were replaced
War diese Seite hilfreich?
JaNein
  • Benötigen Sie Hilfe? Kontaktieren Sie den Kundensupport.
  • Nehmen Sie an unserem Programm für frühzeitigen Zugriff teil.
  • Schauen Sie sich unser Änderungsprotokoll an.
  • Fragen? Sales-Team kontaktieren.
  • LLM? Lesen Sie llms.txt.
  • Unterstützt von Markdoc