Accéder directement au contenu
Créez un compte
ou
connectez-vous
Le logo de la documentation Stripe
/
Demander à l’IA
Créer un compte
Connectez-vous
Commencer
Paiements
Revenus
Plateformes et places de marché
Gestion des fonds
Ressources de développement
Aperçu
À propos des paiements Stripe
Mettre votre intégration à niveau
Analyses des paiements
Paiements en ligne
AperçuTrouver votre cas d'usageManaged Payments
Utiliser Payment Links
Créer une page de paiement
Développer une intégration avancée
Développer une intégration dans l'application
Moyens de paiement
Ajout de moyens de paiement
Gérer les moyens de paiement
Payer plus rapidement avec Link
Interfaces de paiement
Payment Links
Paiement
Web Elements
Elements dans l'application
Scénarios de paiement
Gérez plusieurs devises
Flux de paiement personnalisés
Acquisition flexible
Orchestration
Paiements en personne
Terminal
    Aperçu
    Accepter les paiements en personne
    Conception d'intégrations
    Choisir votre lecteur
    Créer une intégration
    Démarrage rapide
    Applications d'exemple
    Test
    Configuration de Terminal
    Configurer votre intégration
    Me connecter à un lecteur
    Acceptation d'un paiement
    Encaisser des paiements par carte
    Autres moyens de paiement
    Accepter les paiements hors ligne
    Paiement des commande par correspondance/téléphone
    Spécificités régionales
    Lors du paiement
    Collecter des pourboires
    Collecter et enregistrer des informations de paiement pour une utilisation ultérieure
    Autorisations flexibles
    Après le paiement
    Rembourser des transactions
    Fournir des reçus
    Personnalisez Checkout
    Affichage du panier
    Collecter les données saisies à l'écran
    Collecter les données des lectures de la piste magnétique
    Collecter les données des paiements NFC sans contact
    Applications sur des appareils
    Gérer les lecteurs
    Commander, renvoyer, remplacer des lecteurs
    Enregistrer des lecteurs
    Gérer les emplacements et les zones
    Configurer des lecteurs
    Contrôler les lecteurs
    Chiffrement
    Références
    Documentation sur les API
    Lecteurs mobiles
    Lecteurs intelligents
    Guide de migration du SDK
    Liste de vérification pour le déploiement
    Fiches produit du lecteur Stripe Terminal
Au-delà des paiements
Constituer son entreprise
Cryptomonnaie
Financial Connections
Climate
Comprendre la fraude
Radar pour la protection contre la fraude
Gérer les litiges
Vérifier l'identité
AccueilPaiementsTerminal

Display cart details

Dynamically update cart details on the reader screen.

The built-in screen of the Verifone P400, BBPOS WisePOS E and Stripe Reader S700 can display line items. During the checkout process, you can update the reader’s screen to show individual items in the transaction, along with the total price.

Cart details

Cart details screen

Set the reader display

SDK Reference

  • setReaderDisplay (iOS)
  • setReaderDisplay (Android)
  • setReaderDisplay (JavaScript)
  • setReaderDisplay (React Native)
  • setReaderDisplay (Java)

To display the line items and total on the reader, call setReaderDisplay before processing the payment and pass the information in the cart parameter.

The amounts passed to the setReaderDisplay method are only used for display purposes. The reader won’t automatically calculate tax or the total—your application must calculate the tax and total before displaying the values. You can use the Stripe Tax API to calculate taxes. Similarly, the total passed to setReaderDisplay doesn’t control the amount charged to the customer. Make sure the amount displayed on the reader matches the amount you’re charging your customer.

Command Line
cURL
Stripe CLI
Ruby
Python
PHP
Java
Node.js
Go
.NET
No results
curl https://api.stripe.com/v1/terminal/readers/tmr_xxx/set_reader_display \ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
\ -d type=cart \ -d "cart[line_items][0][description]"="Caramel latte" \ -d "cart[line_items][0][amount]"=659 \ -d "cart[line_items][0][quantity]"=1 \ -d "cart[line_items][1][description]"="Dozen donuts" \ -d "cart[line_items][1][amount]"=1239 \ -d "cart[line_items][1][quantity]"=1 \ -d "cart[currency]"=usd \ -d "cart[tax]"=100 \ -d "cart[total]"=1998

To clear reader display on the server-driven integration, call the cancel_action endpoint.

Pre-dip a card

Remarques

Pre-dipping a card is only supported for payments in the US.

The Verifone P400, BBPOS WisePOS E, and Stripe Reader S700 support the ability to present a card to the reader before the transaction amount is finalized.

This option—known as pre-dip, pre-tap, or pre-swipe—can help speed up transaction times by allowing a customer to present a payment method before the end of the transaction.

The setReaderDisplay method prepares the reader for pre-dipping. Your customer can present a payment method at any point after this method is called. You can call setReaderDisplay multiple times to update the information displayed without impacting the pre-dipping process. Updating the display doesn’t invalidate a pre-dip, if one has already occurred.

Pre-dipping only allows your customer to present a card early in the payment process, it doesn’t move the payment process forward. Your integration can’t tell if pre-dipping has occurred, and you must implement the full payment flow for all transactions, regardless of pre-dipping.

Pre-dip disabled

If pre-dip isn’t available in your country, the screen shows only the subtotal and line items.

Pre-dip disabled

Pre-dip disabled

Cette page vous a-t-elle été utile?
OuiNon
  • Besoin d'aide? Contactez le service d'assistance.
  • Rejoignez notre programme d'accès anticipé.
  • Consultez notre journal des modifications.
  • Des questions? Contactez l'équipe commerciale.
  • GML? Lire llms.txt.
  • Optimisé par Markdoc