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
Entwickler-Tools
Übersicht
Versionierung
Änderungsprotokoll
    Übersicht
    Basilikum
    Acacia
    Vorherige Versionen
Aktualisieren Sie Ihre API-Version
Ihre SDK-Version aktualisieren
Entwickler-Tools
SDKs
API
Tests
Workbench
Ereignisziele
Arbeitsabläufe
Stripe-CLI
Stripe Shell
Entwickler-Dashboard
Agent-Toolkit
Mit LLMs entwickelnStripe für Visual Studio CodeStripe-StatuswarnungenHochgeladene Dateien
Sicherheit und Datenschutz
Sicherheit
Datenschutz
Extend Stripe
Stripe-Apps
Stripe Connectors
Partner
Partner-Ecosystem
Partner-Zertifizierung
StartseiteEntwickler-ToolsChangelogAcacia2024-09-30.acacia

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 consent modeling for saving cards with TerminalBreaking changes

What’s new

Removes the customer_consent_collected parameter and replaces it with allow_redisplay.

Requires allow_redisplay when using setup_future_usage.

Entfernt
customer_consent_collectedboolean

Indicates whether customer consent has been collected to redisplay the payment method.

Hinzugefügt
allow_redisplayenum

This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to unspecified.

Why is this a breaking change?

This is a breaking change because it requires allow_redisplay when saving card details with Terminal. For SetupIntents, customer_consent_collected has been removed and replaced with allow_redisplay. For PaymentIntents that specify setup_future_usage, then allow_redisplay must also be passed before collecting card details. With the new version, you must use allow_redisplay to control whether a payment can be shown to a customer again.

Impact

Lets you save cards in more regions using Terminal, expanding your service coverage. Additionally, the improved alignment with industry requirements for customer consent collection ensures regulatory compliance.

You must add the new parameter to your integration before March 31, 2025 and ensure that it’s set to always or limited on all Setup Intents transactions and Payment Intents that specify setup_future_usage.

Changes

ParameterÄndernRessourcen oder Endpoints
allow_redisplayHinzugefügt
Terminal.Reader#process_payment_intent.process_configTerminal.Reader#process_setup_intent
customer_consent_collectedEntfernt
Terminal.Reader#process_setup_intent

Upgrade

  1. View your current API version in Workbench.
  2. If you use an SDK, upgrade to the corresponding SDK version for this API version.
    • If you don’t use an SDK, update your API requests to include Stripe-Version: 2024-09-30.acacia
  3. Upgrade the API version used for webhook endpoints.
  4. Test your integration against the new version.
  5. If you use Connect, test your Connect integration.
  6. In Workbench, perform the upgrade. You can roll back the version for 72 hours.

Learn more about Stripe API upgrades.

Related changes

  • Adds support for configuring the reboot time setting
  • Adds the Stripe S700 reader as a valid device type
  • Adds details about offline collection on card_present PaymentMethod objects
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